Browse Source

库存修改申请-库存余额负数情况,到数量为0的问题

hella_online_20241107
yufei_wang 4 weeks ago
parent
commit
4ba18d2770
  1. 8
      src/views/wms/moveManage/inventorychange/inventorychangeRequestMain/index.vue
  2. 2
      src/views/wms/moveManage/inventorychange/inventorychangeRequestMain/inventorychangeRequestMain.data.ts

8
src/views/wms/moveManage/inventorychange/inventorychangeRequestMain/index.vue

@ -453,10 +453,10 @@ const submitForm = async (formType, submitData) => {
message.warning('请选择到库存状态')
return
}
if(tableData.value.find(item=>!item.toQty||item.toQty==0)){
message.warning('请填写到数量')
return
}
// if(tableData.value.find(item=>!item.toQty||item.toQty==0)){
// message.warning('')
// return
// }
if(tableData.value.find(item=>!item.toExpireDate)){
message.warning('请选择到过期日期')
return

2
src/views/wms/moveManage/inventorychange/inventorychangeRequestMain/inventorychangeRequestMain.data.ts

@ -565,14 +565,12 @@ export const InventorychangeRequestDetail = useCrudSchemas(reactive<CrudSchema[]
component: 'InputNumber',
componentProps: {
disabled:true,
min:0,
precision: 6
}
},
tableForm: {
disabled:true,
type: 'InputNumber',
min:0,
precision: 6
},
},

Loading…
Cancel
Save