Browse Source

HL-6307

hella_online_20241024
yufei_wang 1 month ago
parent
commit
3abc51f46e
  1. 5
      src/views/wms/deliversettlementManage/saleShipmentMainRequest/index.vue

5
src/views/wms/deliversettlementManage/saleShipmentMainRequest/index.vue

@ -131,6 +131,7 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) =>
newRow['projectCode'] = item['projectCode']
newRow['uom'] = item['uom']
newRow['subSettleQty'] = item['subSettleQty']
newRow['ship'] = item['ship']
tableData.value.push(newRow)
})
@ -390,6 +391,10 @@ const submitForm = async (formType, submitData) => {
basicFormRef.value.formLoading = false
return;
}
if(tableData.value.find(item=>item['ship']!=tableData.value[0]['ship'])){
message.warning(`相同客户代码不同发货至地点不允许混合创建,请单独创建`)
return
}
await SaleShipmentMainApi.createSaleShipmentMain(data)
message.success(t('common.createSuccess'))
} else {

Loading…
Cancel
Save