|
|
@ -241,6 +241,8 @@ const submitForm = async (formType, submitData) => { |
|
|
|
item.toBatch = item.fromBatch |
|
|
|
item.fromLocationCode = data.fromLocationCode |
|
|
|
item.toLocationCode = data.toLocationCode |
|
|
|
item.toInventoryStatus = data.toInventoryStatus |
|
|
|
|
|
|
|
if(item.qty == 0){ |
|
|
|
message.error(`到数量不能为0!`) |
|
|
|
flag.value = true |
|
|
@ -276,6 +278,7 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) => |
|
|
|
val.forEach(item=>{ |
|
|
|
const newRow = JSON.parse(JSON.stringify({...tableFormKeys,...item})) |
|
|
|
newRow['fromPackingNumber'] = item['packingNumber'] |
|
|
|
newRow['toPackingNumber'] = item['packingNumber'] |
|
|
|
newRow['fromContainerNumber'] = item['containerNumber'] |
|
|
|
newRow['itemCode'] = item['itemCode'] |
|
|
|
newRow['fromBatch'] = item['batch'] |
|
|
|