From 0220b14907612615d13e03ab865eb3d9a2a58f10 Mon Sep 17 00:00:00 2001 From: DouDou <877258667@qq.com> Date: Mon, 18 Aug 2025 13:46:00 +0800 Subject: [PATCH] =?UTF-8?q?=E5=87=BA=E8=B4=A7=E6=A0=87=E7=AD=BE=E6=89=93?= =?UTF-8?q?=E5=8D=B0BUG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../finshProduct/outWarehouse/com_print_pick_list.vue | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/views/modules/finshProduct/outWarehouse/com_print_pick_list.vue b/src/views/modules/finshProduct/outWarehouse/com_print_pick_list.vue index 290454f..650ab67 100644 --- a/src/views/modules/finshProduct/outWarehouse/com_print_pick_list.vue +++ b/src/views/modules/finshProduct/outWarehouse/com_print_pick_list.vue @@ -141,10 +141,10 @@ export default { this.batchNos = []; //打开显示 this.visible = true; - //刷新列表信息 - this.initShipmentBatchNos(); //赋值 this.printRow = JSON.parse(JSON.stringify(row)); + //刷新列表信息 + this.initShipmentBatchNos(); //自动获取焦点 this.$nextTick(() => { if (this.$refs.partNo) { @@ -196,6 +196,12 @@ export default { this.$message.warning(`装箱数量不能大于${maxQty}`); return; } + if (this.formData.batchNo == null || this.formData.batchNo === ''){ + this.$message.warning('批次号不能为空!'); + return; + }else { + this.printRow.batchNo = this.formData.batchNo; + } //设置参数 this.printRow.boxQty = boxQty; getPrintShipment(this.printRow).then(({data})=>{