|
|
@ -364,9 +364,10 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) => |
|
|
|
newRow['itemCode'] = item['itemCode'] |
|
|
|
if (item['batch'] != '') { |
|
|
|
newRow['fromBatch'] = item['batch'] |
|
|
|
}else{ |
|
|
|
newRow['fromBatch'] = getFormattedDate(); // 获取 YYYYMMDD 格式的日期 |
|
|
|
} |
|
|
|
// else{ |
|
|
|
// newRow['fromBatch'] = getFormattedDate(); // 获取 YYYYMMDD 格式的日期 |
|
|
|
// } |
|
|
|
await ruleApi.getManagementPrecision({ |
|
|
|
itemCodes: [item['itemCode']], |
|
|
|
locationCode:val[0]['locationCode'] |
|
|
|