Commit dddeae2b03307a27f5b9b2b78cafabd57622cce1

Authored by 李泰瑜
1 parent a637fac3

报表打印更改

jeecg-boot-master/ant-design-vue-jeecg/src/views/system/config/ContainerList.vue
@@ -287,10 +287,8 @@ @@ -287,10 +287,8 @@
287 for (var a = 0; a < this.selectedRowKeys.length; a++) { 287 for (var a = 0; a < this.selectedRowKeys.length; a++) {
288 ids += this.selectedRowKeys[a] + ","; 288 ids += this.selectedRowKeys[a] + ",";
289 } 289 }
290 - console.log(ids);  
291 - this.$refs.modalPrintForm.edit(ids);  
292 - this.$refs.modalPrintForm.title = "打印容器编码";  
293 - this.$refs.modalPrintForm.disableSubmit = false; 290 + window.open(window._CONFIG['domianURL']+"/jmreport/view/768644669245833216/?id="+ids, "newWindow", "toolbar=no,scrollbars=no,menubar=no,screenX=100,screenY=100");
  291 +
294 } 292 }
295 }, 293 },
296 loadFrom() { 294 loadFrom() {
jeecg-boot-master/ant-design-vue-jeecg/src/views/system/config/LocationList.vue
@@ -399,10 +399,7 @@ @@ -399,10 +399,7 @@
399 for (var a = 0; a < this.selectedRowKeys.length; a++) { 399 for (var a = 0; a < this.selectedRowKeys.length; a++) {
400 ids += this.selectedRowKeys[a] + ","; 400 ids += this.selectedRowKeys[a] + ",";
401 } 401 }
402 - console.log(ids);  
403 - this.$refs.locationPrintForm.edit(ids);  
404 - this.$refs.locationPrintForm.title = "打印库位编码";  
405 - this.$refs.locationPrintForm.disableSubmit = false; 402 + window.open(window._CONFIG['domianURL']+"/jmreport/view/768700106074832896/?id="+ids, "newWindow", "toolbar=no,scrollbars=no,menubar=no,screenX=100,screenY=100");
406 } 403 }
407 }, 404 },
408 solutionZoneCode(value) { 405 solutionZoneCode(value) {
jeecg-boot-master/ant-design-vue-jeecg/src/views/system/config/MaterialList.vue
@@ -280,6 +280,7 @@ @@ -280,6 +280,7 @@
280 this.superFieldList = fieldList 280 this.superFieldList = fieldList
281 }, 281 },
282 batchPrint() { 282 batchPrint() {
  283 +
283 if (this.selectedRowKeys.length <= 0) { 284 if (this.selectedRowKeys.length <= 0) {
284 this.$message.warning('请选择一条记录!'); 285 this.$message.warning('请选择一条记录!');
285 return; 286 return;
@@ -288,10 +289,7 @@ @@ -288,10 +289,7 @@
288 for (var a = 0; a < this.selectedRowKeys.length; a++) { 289 for (var a = 0; a < this.selectedRowKeys.length; a++) {
289 ids += this.selectedRowKeys[a] + ","; 290 ids += this.selectedRowKeys[a] + ",";
290 } 291 }
291 - console.log(ids);  
292 - this.$refs.modalPrintForm.edit(ids);  
293 - this.$refs.modalPrintForm.title = "打印物料编码";  
294 - this.$refs.modalPrintForm.disableSubmit = false; 292 + window.open(window._CONFIG['domianURL']+"/jmreport/view/768639966038540288/?id="+ids, "newWindow", "toolbar=no,scrollbars=no,menubar=no,screenX=100,screenY=100");
295 } 293 }
296 }, 294 },
297 } 295 }