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