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 287 for (var a = 0; a < this.selectedRowKeys.length; a++) {
288 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 294 loadFrom() {
... ...
jeecg-boot-master/ant-design-vue-jeecg/src/views/system/config/LocationList.vue
... ... @@ -399,10 +399,7 @@
399 399 for (var a = 0; a < this.selectedRowKeys.length; a++) {
400 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 405 solutionZoneCode(value) {
... ...
jeecg-boot-master/ant-design-vue-jeecg/src/views/system/config/MaterialList.vue
... ... @@ -280,6 +280,7 @@
280 280 this.superFieldList = fieldList
281 281 },
282 282 batchPrint() {
  283 +
283 284 if (this.selectedRowKeys.length <= 0) {
284 285 this.$message.warning('请选择一条记录!');
285 286 return;
... ... @@ -288,10 +289,7 @@
288 289 for (var a = 0; a < this.selectedRowKeys.length; a++) {
289 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 }
... ...