Browse Source

隔离转报废申请,添加明细时物料是没有批次的,从批次也应该为空 YT-948

intex_online20241228
叶佳兴 3 months ago
parent
commit
c2e3f611c1
  1. 5
      src/views/wms/moveManage/inventorymove/inventorymoveRequestMain/index.vue

5
src/views/wms/moveManage/inventorymove/inventorymoveRequestMain/index.vue

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

Loading…
Cancel
Save