|
|
@ -727,7 +727,7 @@ const submitForm = async (formType, submitData) => { |
|
|
|
message.warning('从库位和到库位不能相同') |
|
|
|
return |
|
|
|
} |
|
|
|
let batchList = tableData.value.filter(item=>item.fromBatchFormItemType&&item.fromBatchFormItemType == 'FormDate' && item.toManagementPrecision == 'BY_BATCH') |
|
|
|
let batchList = tableData.value.filter(item=>item.toManagementPrecision == 'BY_BATCH') |
|
|
|
let noToBatch = batchList.find(item => !item.toBatch) |
|
|
|
if(noToBatch){ |
|
|
|
message.warning(`${noToBatch.itemCode}没有填写到批次,请填写`) |
|
|
|