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

Loading…
Cancel
Save