From 1ec69e80e5a111389f58156b4cd15721733337a0 Mon Sep 17 00:00:00 2001 From: "songnan.zhang" Date: Wed, 22 Dec 2021 13:48:12 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=AD=A3=E5=B8=B8=E6=89=93=E5=8D=B0?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=96=AD=E5=8F=B7=E9=AA=8C=E8=AF=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../basedate/m100Online/normalPritIndex.vue | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/vue/src/views/pg-fis/basedate/m100Online/normalPritIndex.vue b/vue/src/views/pg-fis/basedate/m100Online/normalPritIndex.vue index b6db8ffd..d79a1489 100644 --- a/vue/src/views/pg-fis/basedate/m100Online/normalPritIndex.vue +++ b/vue/src/views/pg-fis/basedate/m100Online/normalPritIndex.vue @@ -327,7 +327,11 @@ 取消 - 确认 @@ -637,6 +641,9 @@ export default { ...mapGetters(["userInfo"]), //获取当前用户信息 }, methods: { + debounceClick() { + console.log("2秒内点击无数次,都只会触发一次"); + }, //大众顺序号起止事件改变 beginHostSNChange(val) { if (this.listQuery.productType === 1) { @@ -1251,6 +1258,10 @@ export default { if (this.listQuery.productType === 1) { //门板-打印 + this.hostCheckQuery.beginHostSN = parseInt(this.form.beginHostSN); + this.hostCheckQuery.endHostSN = parseInt(this.form.endHostSN); + this.hostCheckQuery.productLine = this.listQuery.productLine; + this.$axios .posts( "/api/newjit/bill-m100/check-mb-hostsn-break-num", @@ -1368,6 +1379,10 @@ export default { }); } else if (this.listQuery.productType === 2) { //柱护板 + + this.hostCheckQuery.beginHostSN = parseInt(this.form.beginHostSN); + this.hostCheckQuery.endHostSN = parseInt(this.form.endHostSN); + this.hostCheckQuery.productLine = this.listQuery.productLine; this.$axios .posts( "/api/newjit/bill-m100/check-zhb-hostsn-break-num", From 794cb2e42f8e64fb38a55d4a6cdbbc43bddf4c78 Mon Sep 17 00:00:00 2001 From: "songnan.zhang" Date: Wed, 22 Dec 2021 14:50:27 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E7=82=B9=E5=87=BB?= =?UTF-8?q?=E6=89=93=E5=8D=B0=E6=8C=89=E9=92=AE=EF=BC=8C=E8=87=AA=E5=8A=A8?= =?UTF-8?q?=E5=88=B7=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 @@ - + - +