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('请选择到库存状态') message.warning('请选择到库存状态')
return return
} }
if(tableData.value.find(item=>!item.toQty||item.toQty==0)){ // if(tableData.value.find(item=>!item.toQty||item.toQty==0)){
message.warning('请填写到数量') // message.warning('')
return // return
} // }
if(tableData.value.find(item=>!item.toExpireDate)){ if(tableData.value.find(item=>!item.toExpireDate)){
message.warning('请选择到过期日期') message.warning('请选择到过期日期')
return return

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

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

Loading…
Cancel
Save