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 @@ - + - +