From bad1e31e6cd2b08c97f5900e7bfdb034a9625b37 Mon Sep 17 00:00:00 2001 From: qiezi <15576055375@163.com> Date: Mon, 17 Mar 2025 15:38:33 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BF=94=E5=B7=A5=E8=BF=94=E4=BF=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/SmartTable.vue | 52 ++++++++ src/views/modules/production/bagLabels.vue | 9 +- src/views/modules/production/bagLabelsTCP.vue | 1 + .../modules/production/liuhuaProductView.vue | 123 +++++++++++------- 4 files changed, 136 insertions(+), 49 deletions(-) create mode 100644 src/components/SmartTable.vue diff --git a/src/components/SmartTable.vue b/src/components/SmartTable.vue new file mode 100644 index 0000000..ecf5c75 --- /dev/null +++ b/src/components/SmartTable.vue @@ -0,0 +1,52 @@ + + + diff --git a/src/views/modules/production/bagLabels.vue b/src/views/modules/production/bagLabels.vue index 553dd11..5033d8f 100644 --- a/src/views/modules/production/bagLabels.vue +++ b/src/views/modules/production/bagLabels.vue @@ -129,6 +129,10 @@ export default { }) }, printLabel() { + if (!this.searchData.seqNo){ + this.$message.warning("请先扫描派工单号"); + return; + } if (!this.soScheduleRouting.site) { this.$message.warning("请先扫描派工单号") return @@ -140,7 +144,8 @@ export default { let params = { previousSeqNo: this.soScheduleRouting.previousSeqNo, site: this.soScheduleRouting.site, - orderNo: this.soScheduleRouting.orderNo + orderNo: this.soScheduleRouting.orderNo, + seqNo:this.searchData.seqNo } if (this.searchData.flag === 'Y') { this.flag = true; @@ -242,7 +247,7 @@ export default { v-model="searchData.seqNo" @keyup.enter.native="selectBySeqNo"> - + diff --git a/src/views/modules/production/bagLabelsTCP.vue b/src/views/modules/production/bagLabelsTCP.vue index fde5eff..c79e31a 100644 --- a/src/views/modules/production/bagLabelsTCP.vue +++ b/src/views/modules/production/bagLabelsTCP.vue @@ -172,6 +172,7 @@ export default { previousSeqNo: this.soScheduleRouting.previousSeqNo, site: this.soScheduleRouting.site, orderNo: this.soScheduleRouting.orderNo, + seqNo:this.searchData.seqNo } if (!params) { return diff --git a/src/views/modules/production/liuhuaProductView.vue b/src/views/modules/production/liuhuaProductView.vue index d7c6120..5509f3e 100644 --- a/src/views/modules/production/liuhuaProductView.vue +++ b/src/views/modules/production/liuhuaProductView.vue @@ -1,52 +1,80 @@