Browse Source

Merge branch 'intex' of http://dev.ccwin-in.com:3000/sfms3.0/sfms3.0-ui into intex

intex_online20241228
songguoqiang 2 months ago
parent
commit
3910a8f8d0
  1. 8
      src/views/wms/moveManage/inventorymove/inventorymoveRequestMainMOVE/index.vue

8
src/views/wms/moveManage/inventorymove/inventorymoveRequestMainMOVE/index.vue

@ -349,7 +349,7 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) =>
if (toManagementPrecision.value == 'BY_BATCH') {
if(row['fromBatch']==''){
row['fromBatchFormItemType'] = 'FormDate'
row['disabled_fromBatch'] = false
row['disabled_fromBatch'] = true
}
} else if (toManagementPrecision.value == 'BY_QUANTITY') {
@ -728,9 +728,9 @@ const submitForm = async (formType, submitData) => {
return
}
let batchList = tableData.value.filter(item=>item.fromBatchFormItemType&&item.fromBatchFormItemType == 'FormDate' && item.toManagementPrecision == 'BY_BATCH')
let noBatch = batchList.find(item => !item.fromBatch)
if(noBatch){
message.warning(`${noBatch.itemCode}没有填写批次,请填写`)
let noToBatch = batchList.find(item => !item.toBatch)
if(noToBatch){
message.warning(`${noToBatch.itemCode}没有填写批次,请填写`)
return
}
data.subList = tableData.value //

Loading…
Cancel
Save