diff --git a/src/views/wms/productionManage/productredress/productredressRequestMain/productredressRequestMain.data.ts b/src/views/wms/productionManage/productredress/productredressRequestMain/productredressRequestMain.data.ts index c7bbc07da..a49fe6d9c 100644 --- a/src/views/wms/productionManage/productredress/productredressRequestMain/productredressRequestMain.data.ts +++ b/src/views/wms/productionManage/productredress/productredressRequestMain/productredressRequestMain.data.ts @@ -422,6 +422,9 @@ export const ProductredressRequestMain = useCrudSchemas(reactive([ // 表单校验 export const ProductredressRequestDetailRules = reactive({ + workStationCode: [ + { required: true, message: '请选择工位代码', trigger: 'change' } + ], }) export const ProductredressRequestDetail = useCrudSchemas(reactive([ @@ -499,7 +502,7 @@ export const ProductredressRequestDetail = useCrudSchemas(reactive isMainValue: false, // 拼接条件必须要 false 同时不能与 isMainValue: true 同用 isFormModel:true, // filters中添加筛选的数据--取于formModel required:true, // 前置添加必有,和isFormModel结合使用 - message: '请选择客户代码!', // 前置添加没填的提示语 + message: '请选择生产线代码!', // 前置添加没填的提示语 } ]