Browse Source

结算出库申请--更换提示

hella_online_20241017
yufei_wang 1 month ago
parent
commit
49a15d8cc4
  1. 4
      src/views/wms/deliversettlementManage/saleShipmentMainRequest/index.vue

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

@ -349,7 +349,7 @@ const openForm = (type: string, row?: any) => {
const inputNumberChange = (field, val,row, index) => {
if(field=='qty'){
if(row['subSettleQty']!=null&&row['qty']>row['subSettleQty']){
message.error(`物料${row['itemCode']}大数量${row['subSettleQty']}`)
message.error(`${row['itemCode']}物料开票数量${row['qty']}于库存数量${row['subSettleQty']}`)
}
}
console.log('inputNumberChange',field, val,row, index)
@ -364,7 +364,7 @@ const submitForm = async (formType, submitData) => {
tableData.value.forEach(item=>{
if(item['subSettleQty']!=null&&item['qty']>item['subSettleQty']){
flag = false
message.error(`物料${item['itemCode']}大数量${item['subSettleQty']}`)
message.error(`${item['itemCode']}物料开票数量${item['qty']}于库存数量${item['subSettleQty']}`)
}
})
if(!flag){

Loading…
Cancel
Save