From 794cb2e42f8e64fb38a55d4a6cdbbc43bddf4c78 Mon Sep 17 00:00:00 2001 From: "songnan.zhang" Date: Wed, 22 Dec 2021 14:50:27 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E7=82=B9=E5=87=BB=E6=89=93?= =?UTF-8?q?=E5=8D=B0=E6=8C=89=E9=92=AE=EF=BC=8C=E8=87=AA=E5=8A=A8=E5=88=B7?= =?UTF-8?q?=E6=96=B0=E5=88=97=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../basedate/m100Online/RepetitionMB.vue | 90 +++++++++++++++---- .../basedate/m100Online/RepetitionZHB.vue | 32 ++++--- .../pg-fis/basedate/m100Online/ScrapMB.vue | 4 +- .../pg-fis/basedate/m100Online/ScrapZHB.vue | 4 +- 4 files changed, 96 insertions(+), 34 deletions(-) diff --git a/vue/src/views/pg-fis/basedate/m100Online/RepetitionMB.vue b/vue/src/views/pg-fis/basedate/m100Online/RepetitionMB.vue index 8933b981..0f10550b 100644 --- a/vue/src/views/pg-fis/basedate/m100Online/RepetitionMB.vue +++ b/vue/src/views/pg-fis/basedate/m100Online/RepetitionMB.vue @@ -63,7 +63,7 @@ --> - + + - + { + let id = element.id; + MBVin1.push(id); + }); + myalert = "选中项"; + } + // let MBVin1 = this.multipleSelection[0].id; + let MBId = MBVin1; var params = { printType: 1, productLine: this.customerInfo.productLine, @@ -581,10 +585,64 @@ export default { .then((response) => { this.printpdf(response); //打印我文件流 }); + this.getList(); } }) .catch(() => {}); - } + + + // this.isEdit = true; + // if (this.multipleSelection.length != 1) { + // this.$message({ + // message: "重新打印必须选择单行,不能多选!", + // type: "warning", + // }); + // return; + // } else { + // //this.fetchData(this.multipleSelection[0].id); + // //重新打印方法 + // let MBVin1 = this.multipleSelection[0].id; + // let MBId = [MBVin1]; + // var params = { + // printType: 1, + // productLine: this.customerInfo.productLine, + // reportIdList: MBId, + // }; + // console.log("门板打印-主界面传过来的值:" + JSON.stringify(params)); + // this.$axios + // .posts("/api/newjit/bill-m100/print-menban-packing-list", params) + // .then((response) => { + // //alert(response.status); + // const index = this.list.indexOf(row); + // if (response.status === false) { + // this.$message({ + // message: response.message, + // type: "error", + // }); + // return; + // } else { + // this.fileQuery.dataname = JSON.stringify(response.item); + // console.log( + // "门板-调用Handlers/Handler1.ashx?report=menban传的值:" + + // JSON.stringify(this.fileQuery.dataname) + // ); + // this.$axios + // .posts( + // "/Handlers/Handler1.ashx?report=menban", + // qs.stringify(this.fileQuery) + // ) + // .then((response) => { + // this.printpdf(response); //打印我文件流 + // }); + // this.getList(); + // } + // }) + // .catch(() => {}); + + + // } + + }, //作废操作,支持批量操作-门板 handleDelete(row) { diff --git a/vue/src/views/pg-fis/basedate/m100Online/RepetitionZHB.vue b/vue/src/views/pg-fis/basedate/m100Online/RepetitionZHB.vue index 27f82b43..ea70478e 100644 --- a/vue/src/views/pg-fis/basedate/m100Online/RepetitionZHB.vue +++ b/vue/src/views/pg-fis/basedate/m100Online/RepetitionZHB.vue @@ -49,7 +49,7 @@ - + { + let id = element.id; + beginVin1.push(id); + }); + myalert = "选中项"; + } + //let beginVin1 = this.multipleSelection[0].id; + let ZHBId = beginVin1; var params = { printType: "1", productLine: this.customerInfo.productLine, @@ -536,10 +540,10 @@ export default { .then((response) => { this.printpdf(response); //打印我文件流 }); + this.getList(); } }) .catch(() => {}); - } }, //作废操作,支持批量操作-门板 handleDelete(row) { diff --git a/vue/src/views/pg-fis/basedate/m100Online/ScrapMB.vue b/vue/src/views/pg-fis/basedate/m100Online/ScrapMB.vue index 93058c13..cd8a206a 100644 --- a/vue/src/views/pg-fis/basedate/m100Online/ScrapMB.vue +++ b/vue/src/views/pg-fis/basedate/m100Online/ScrapMB.vue @@ -50,7 +50,7 @@ - + - +