diff --git a/src/views/wms/productionManage/productreceipt/productreceiptRequestMain/productreceiptRequestMain.data.ts b/src/views/wms/productionManage/productreceipt/productreceiptRequestMain/productreceiptRequestMain.data.ts index 78568f05e..47fa4bbbb 100644 --- a/src/views/wms/productionManage/productreceipt/productreceiptRequestMain/productreceiptRequestMain.data.ts +++ b/src/views/wms/productionManage/productreceipt/productreceiptRequestMain/productreceiptRequestMain.data.ts @@ -1022,6 +1022,9 @@ export const ProductreceiptRequestDetailRules = reactive({ workStationCode: [ { required: true, message: '请选择工位代码', trigger: 'change' } ], + qty:[ + { min: 0.000001, message: '数量不能为0', trigger: 'blur' } + ], uom: [ { required: true, message: '请选择计量单位', trigger: 'change' } ], @@ -1368,4 +1371,4 @@ export const BackflushDetailRequest = useCrudSchemas(reactive([ isTableForm: false, isForm: false }, -])) \ No newline at end of file +]))