diff --git a/src/views/wms/inventoryjobManage/unplannedissue/unplannedissueRequestMain/index.vue b/src/views/wms/inventoryjobManage/unplannedissue/unplannedissueRequestMain/index.vue index 3049ec147..55b13a0a2 100644 --- a/src/views/wms/inventoryjobManage/unplannedissue/unplannedissueRequestMain/index.vue +++ b/src/views/wms/inventoryjobManage/unplannedissue/unplannedissueRequestMain/index.vue @@ -114,8 +114,8 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) => if (type == 'tableForm') { // 明细查询页赋值 if(formField === 'itemCode'){ - let newRow = JSON.parse(JSON.stringify(tableFormKeys)) val.forEach(item=>{ + let newRow = JSON.parse(JSON.stringify(tableFormKeys)) newRow[formField] =item[searchField] newRow['packingNumber'] = item['packingNumber'] newRow['containerNumber'] = item['containerNumber']