From 19f1b5b20c327ba7e3ec99165fb5202e58a7a097 Mon Sep 17 00:00:00 2001 From: wangyufei <2267742828@qq.com> Date: Sat, 10 Aug 2024 10:38:53 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8C=85=E8=A3=85=E8=A7=84=E6=A0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../inventorymove/inventorymoveRecordMainNew/index.vue | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/views/wms/moveManage/inventorymove/inventorymoveRecordMainNew/index.vue b/src/views/wms/moveManage/inventorymove/inventorymoveRecordMainNew/index.vue index 06ffa0745..8c7802185 100644 --- a/src/views/wms/moveManage/inventorymove/inventorymoveRecordMainNew/index.vue +++ b/src/views/wms/moveManage/inventorymove/inventorymoveRecordMainNew/index.vue @@ -286,8 +286,13 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) => newRow['origin_fromLocationCode'] = item['locationCode'] newRow['uom'] = item['uom'] newRow['qty'] = item['qty'] - newRow['packUnit'] = '' - newRow['packQty'] = '' + if(item['packingNumber']&&item['packingNumber'].length>0){ + newRow['packUnit'] = item['packUnit'] + newRow['packQty'] = item['packQty'] + }else{ + newRow['packUnit'] = '' + newRow['packQty'] = '' + } tableData.value.push(newRow) }) }else if(formField == 'packUnit'){