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'){