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 @@ - + - + 取消 - 确认 @@ -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",