diff --git a/src/views/wms/productionManage/productrepair/productrepairRequestMain/productrepairRequestMain.data.ts b/src/views/wms/productionManage/productrepair/productrepairRequestMain/productrepairRequestMain.data.ts index 382a6af95..d48a6349e 100644 --- a/src/views/wms/productionManage/productrepair/productrepairRequestMain/productrepairRequestMain.data.ts +++ b/src/views/wms/productionManage/productrepair/productrepairRequestMain/productrepairRequestMain.data.ts @@ -415,6 +415,12 @@ export const ProductrepairRequestMain = useCrudSchemas(reactive([ //表单校验 export const ProductrepairRequestMainRules = reactive({ + workshopCode: [ + { required: true, message: '请选择车间代码', trigger: 'change' } + ], + dueTime: [ + { required: true, message: '请选择截止时间', trigger: 'change' } + ], fromWarehouseCode: [ { required: true, message: '请选择从仓库代码', trigger: 'change' } ], diff --git a/src/views/wms/productionManage/productscrap/productscrapRequestMain/productscrapRequestMain.data.ts b/src/views/wms/productionManage/productscrap/productscrapRequestMain/productscrapRequestMain.data.ts index c89848dce..78324cd84 100644 --- a/src/views/wms/productionManage/productscrap/productscrapRequestMain/productscrapRequestMain.data.ts +++ b/src/views/wms/productionManage/productscrap/productscrapRequestMain/productscrapRequestMain.data.ts @@ -417,6 +417,12 @@ export const ProductscrapRequestMain = useCrudSchemas(reactive([ //表单校验 export const ProductscrapRequestMainRules = reactive({ + workshopCode: [ + { required: true, message: '请选择车间代码', trigger: 'change' } + ], + dueTime: [ + { required: true, message: '请选择截止时间', trigger: 'change' } + ], fromWarehouseCode: [ { required: true, message: '请选择从仓库代码', trigger: 'change' } ],