diff --git a/src/views/wms/issueManage/issue/issueRequestMain/issueRequestMain.data.ts b/src/views/wms/issueManage/issue/issueRequestMain/issueRequestMain.data.ts index 0ddecfede..c9c0f809f 100644 --- a/src/views/wms/issueManage/issue/issueRequestMain/issueRequestMain.data.ts +++ b/src/views/wms/issueManage/issue/issueRequestMain/issueRequestMain.data.ts @@ -436,34 +436,9 @@ export const IssueRequestMainRules = reactive({ dueTime: [ { required: true, message: '请选择截止时间', trigger: 'change' } ], - - // fromLocationTypes: [ - // { required: true, message: '请选择从库位类型范围', trigger: 'change' } - // ], - // toWarehouseCode: [ - // { required: true, message: '请输入到仓库代码', trigger: 'blur' } - // ], - // toLocationTypes: [ - // { required: true, message: '请选择到库位类型范围', trigger: 'change' } - // ], - // departmentCode: [ - // { required: true, message: '请输入部门', trigger: 'blur' } - // ], - // autoCommit: [ - // { required: true, message: '请选择是否自动提交', trigger: 'change' } - // ], - // autoAgree: [ - // { required: true, message: '请选择是否自动通过', trigger: 'change' } - // ], - // autoExecute: [ - // { required: true, message: '请选择是否自动执行', trigger: 'change' } - // ], - // directCreateRecord: [ - // { required: true, message: '请选择是否跳过任务直接生成记录', trigger: 'change' } - // ], - // businessType: [ - // { required: true, message: '请输入业务类型', trigger: 'blur' } - // ], + remark: [ + { max: 50, message: '不得超过50个字符', trigger: 'blur' } + ], }) /** @@ -868,4 +843,7 @@ export const IssueRequestDetailRules = reactive({ uom: [ { required: true, message: '请选择单位', trigger: 'change' } ], + remark: [ + { max: 50, message: '不得超过50个字符', trigger: 'blur' } + ], }) \ No newline at end of file diff --git a/src/views/wms/issueManage/preparetoissueplan/preparetoissueMain/preparetoissueMain.data.ts b/src/views/wms/issueManage/preparetoissueplan/preparetoissueMain/preparetoissueMain.data.ts index 745739c0f..c984c0959 100644 --- a/src/views/wms/issueManage/preparetoissueplan/preparetoissueMain/preparetoissueMain.data.ts +++ b/src/views/wms/issueManage/preparetoissueplan/preparetoissueMain/preparetoissueMain.data.ts @@ -370,6 +370,9 @@ export const PreparetoissueMainRules = reactive({ businessType: [ { required: true, message: '请输入业务类型', trigger: 'blur' } ], + remark: [ + { max: 50, message: '不得超过50个字符', trigger: 'blur' } + ], }) /** @@ -685,4 +688,7 @@ export const PreparetoissueDetailRules = reactive({ workStation: [ { required: true, message: '请选择工位', trigger: 'change' } ], + remark: [ + { max: 50, message: '不得超过50个字符', trigger: 'blur' } + ], }) \ No newline at end of file diff --git a/src/views/wms/issueManage/productionreturn/productionreturnRequestMain/productionreturnRequestMain.data.ts b/src/views/wms/issueManage/productionreturn/productionreturnRequestMain/productionreturnRequestMain.data.ts index 0a89586e8..85692c117 100644 --- a/src/views/wms/issueManage/productionreturn/productionreturnRequestMain/productionreturnRequestMain.data.ts +++ b/src/views/wms/issueManage/productionreturn/productionreturnRequestMain/productionreturnRequestMain.data.ts @@ -388,21 +388,12 @@ export const ProductionreturnRequestMain = useCrudSchemas(reactive //表单校验 export const ProductionreturnRequestMainRules = reactive({ - // fromWarehouseCode: [ - // { required: true, message: '请输入从仓库代码', trigger: 'blur' } - // ], - // fromLocationTypes: [ - // { required: true, message: '请选择从库位类型范围', trigger: 'change' } - // ], - // toWarehouseCode: [ - // { required: true, message: '请输入到仓库代码', trigger: 'blur' } - // ], - // toLocationTypes: [ - // { required: true, message: '请选择到库位类型范围', trigger: 'change' } - // ], departmentCode: [ { required: true, message: '请输入部门', trigger: 'blur' } ], + remark: [ + { max: 50, message: '不得超过50个字符', trigger: 'blur' } + ], autoCommit: [ { required: true, message: '请选择是否自动提交', trigger: 'change' } ], @@ -415,9 +406,6 @@ export const ProductionreturnRequestMainRules = reactive({ directCreateRecord: [ { required: true, message: '请选择是否跳过任务直接生成记录', trigger: 'change' } ], - // businessType: [ - // { required: true, message: '请输入业务类型', trigger: 'blur' } - // ], }) /** @@ -877,6 +865,9 @@ export const ProductionreturnRequestDetailRules = reactive({ itemCode: [ { required: true, message: '请输入物品代码', trigger: 'blur' } ], + remark: [ + { max: 50, message: '不得超过50个字符', trigger: 'blur' } + ], }) /** diff --git a/src/views/wms/issueManage/productionreturn/productionreturnRequestMainNo/productionreturnRequestMainNo.data.ts b/src/views/wms/issueManage/productionreturn/productionreturnRequestMainNo/productionreturnRequestMainNo.data.ts index 8004cd788..75805af52 100644 --- a/src/views/wms/issueManage/productionreturn/productionreturnRequestMainNo/productionreturnRequestMainNo.data.ts +++ b/src/views/wms/issueManage/productionreturn/productionreturnRequestMainNo/productionreturnRequestMainNo.data.ts @@ -386,18 +386,6 @@ export const ProductionreturnRequestMain = useCrudSchemas(reactive //表单校验 export const ProductionreturnRequestMainRules = reactive({ - // fromWarehouseCode: [ - // { required: true, message: '请输入从仓库代码', trigger: 'blur' } - // ], - // fromLocationTypes: [ - // { required: true, message: '请选择从库位类型范围', trigger: 'change' } - // ], - // toWarehouseCode: [ - // { required: true, message: '请输入到仓库代码', trigger: 'blur' } - // ], - // toLocationTypes: [ - // { required: true, message: '请选择到库位类型范围', trigger: 'change' } - // ], departmentCode: [ { required: true, message: '请输入部门', trigger: 'blur' } ], @@ -413,9 +401,9 @@ export const ProductionreturnRequestMainRules = reactive({ directCreateRecord: [ { required: true, message: '请选择是否跳过任务直接生成记录', trigger: 'change' } ], - // businessType: [ - // { required: true, message: '请输入业务类型', trigger: 'blur' } - // ], + remark: [ + { max: 50, message: '不得超过50个字符', trigger: 'blur' } + ], }) /** @@ -807,6 +795,9 @@ export const ProductionreturnRequestDetailRules = reactive({ itemCode: [ { required: true, message: '请输入物品代码', trigger: 'blur' } ], + remark: [ + { max: 50, message: '不得超过50个字符', trigger: 'blur' } + ], }) /** diff --git a/src/views/wms/issueManage/repleinsh/repleinshRequestMain/repleinshRequestMain.data.ts b/src/views/wms/issueManage/repleinsh/repleinshRequestMain/repleinshRequestMain.data.ts index e4850dfdc..0f378d2c0 100644 --- a/src/views/wms/issueManage/repleinsh/repleinshRequestMain/repleinshRequestMain.data.ts +++ b/src/views/wms/issueManage/repleinsh/repleinshRequestMain/repleinshRequestMain.data.ts @@ -384,6 +384,9 @@ export const RepleinshRequestMainRules = reactive({ businessType: [ { required: true, message: '请输入业务类型', trigger: 'blur' } ], + remark: [ + { max: 50, message: '不得超过50个字符', trigger: 'blur' } + ], }) /** @@ -692,4 +695,7 @@ export const RepleinshRequestDetailRules = reactive({ itemCode: [ { required: true, message: '请输入物品代码', trigger: 'blur' } ], + remark: [ + { max: 50, message: '不得超过50个字符', trigger: 'blur' } + ], }) \ No newline at end of file diff --git a/src/views/wms/productionManage/productdismantle/productdismantleRequestMain/productdismantleRequestMain.data.ts b/src/views/wms/productionManage/productdismantle/productdismantleRequestMain/productdismantleRequestMain.data.ts index e114b857b..43ab785cb 100644 --- a/src/views/wms/productionManage/productdismantle/productdismantleRequestMain/productdismantleRequestMain.data.ts +++ b/src/views/wms/productionManage/productdismantle/productdismantleRequestMain/productdismantleRequestMain.data.ts @@ -415,15 +415,6 @@ export const ProductdismantleRequestMain = useCrudSchemas(reactive //表单校验 export const ProductdismantleRequestMainRules = reactive({ - // fromWarehouseCode: [ - // { required: true, message: '请选择从仓库代码', trigger: 'change' } - // ], - // fromLocationTypes: [ - // { required: true, message: '请选择从库位类型范围', trigger: 'change' } - // ], - // fromAreaCodes: [ - // { required: true, message: '请选择从库区代码范围', trigger: 'change' } - // ], dueTime: [ { required: true, message: '请选择截止时间', trigger: 'change' } ], @@ -436,6 +427,9 @@ export const ProductdismantleRequestMainRules = reactive({ shift: [ { required: true, message: '请选择班次', trigger: 'change' } ], + remark: [ + { max: 50, message: '不得超过50个字符', trigger: 'blur' } + ], }) /** @@ -1021,6 +1015,9 @@ export const ProductdismantleRequestDetailaRules = reactive({ bomVersion: [ { required: true, message: '请选择Bom版本', trigger: 'change' } ], + remark: [ + { max: 50, message: '不得超过50个字符', trigger: 'blur' } + ], }) /** diff --git a/src/views/wms/productionManage/productionplan/productionMain/productionMain.data.ts b/src/views/wms/productionManage/productionplan/productionMain/productionMain.data.ts index 993b7005b..e24e42dd7 100644 --- a/src/views/wms/productionManage/productionplan/productionMain/productionMain.data.ts +++ b/src/views/wms/productionManage/productionplan/productionMain/productionMain.data.ts @@ -428,7 +428,8 @@ export const ProductionMain = useCrudSchemas(reactive([ //表单校验 export const ProductionMainRules = reactive({ displayOrder: [ - { required: true, message: '请输入顺序', trigger: 'blur' } + { required: true, message: '请输入顺序', trigger: 'blur' }, + { max: 50, message: '不得超过50个字符', trigger: 'blur' } ], workshop: [ { required: true, message: '请选择车间', trigger: 'change' } @@ -457,9 +458,9 @@ export const ProductionMainRules = reactive({ endTime: [ { required: true, message: '请输入结束日期', trigger: 'blur' } ], - // businessType: [ - // { required: true, message: '请输入业务类型', trigger: 'blur' } - // ], + remark: [ + { max: 50, message: '不得超过50个字符', trigger: 'blur' } + ], }) /** @@ -785,4 +786,7 @@ export const ProductionDetailRules = reactive({ itemCode: [ { required: true, message: '请选择物品代码', trigger: 'change' } ], + remark: [ + { max: 50, message: '不得超过50个字符', trigger: 'blur' } + ], }) \ No newline at end of file diff --git a/src/views/wms/productionManage/productputaway/productputawayRequestMain/productputawayRequestMain.data.ts b/src/views/wms/productionManage/productputaway/productputawayRequestMain/productputawayRequestMain.data.ts index 5108e12b1..d325fbadd 100644 --- a/src/views/wms/productionManage/productputaway/productputawayRequestMain/productputawayRequestMain.data.ts +++ b/src/views/wms/productionManage/productputaway/productputawayRequestMain/productputawayRequestMain.data.ts @@ -359,18 +359,9 @@ export const ProductputawayRequestMain = useCrudSchemas(reactive([ //表单校验 export const ProductputawayRequestMainRules = reactive({ - // fromWarehouseCode: [ - // { required: true, message: '请输入从仓库代码', trigger: 'blur' } - // ], - // fromLocationTypes: [ - // { required: true, message: '请选择从库位类型范围', trigger: 'change' } - // ], - // toWarehouseCode: [ - // { required: true, message: '请输入到仓库代码', trigger: 'blur' } - // ], - // toLocationTypes: [ - // { required: true, message: '请选择到库位类型范围', trigger: 'change' } - // ], + remark: [ + { max: 50, message: '不得超过50个字符', trigger: 'blur' } + ], departmentCode: [ { required: true, message: '请输入部门', trigger: 'blur' } ], @@ -386,9 +377,6 @@ export const ProductputawayRequestMainRules = reactive({ directCreateRecord: [ { required: true, message: '请选择是否跳过任务直接生成记录', trigger: 'change' } ], - businessType: [ - { required: true, message: '请输入业务类型', trigger: 'blur' } - ], }) /** diff --git a/src/views/wms/productionManage/productreceipt/productreceiptRequestMain/productreceiptRequestMain.data.ts b/src/views/wms/productionManage/productreceipt/productreceiptRequestMain/productreceiptRequestMain.data.ts index 67dbf484b..78568f05e 100644 --- a/src/views/wms/productionManage/productreceipt/productreceiptRequestMain/productreceiptRequestMain.data.ts +++ b/src/views/wms/productionManage/productreceipt/productreceiptRequestMain/productreceiptRequestMain.data.ts @@ -449,9 +449,9 @@ export const ProductreceiptRequestMainRules = reactive({ directCreateRecord: [ { required: true, message: '请选择是否跳过任务直接生成记录', trigger: 'change' } ], - // businessType: [ - // { required: true, message: '请输入业务类型', trigger: 'blur' } - // ], + remark: [ + { max: 50, message: '不得超过50个字符', trigger: 'blur' } + ], }) /** @@ -1003,35 +1003,15 @@ export const ProductreceiptRequestDetail = useCrudSchemas(reactive //表单校验 export const ProductreceiptRequestDetailRules = reactive({ - // productionLineCode: [ - // { required: true, message: '请选择生产线代码', trigger: 'change' } - // ], - // packingNumber: [ - // { required: true, message: '请输入包装号', trigger: 'change' } - // ], produceDate: [ { required: true, message: '请选择生产日期', trigger: 'change' } ], expireDate: [ { required: true, message: '请选择过期日期', trigger: 'change' } ], - // inventoryStatus: [ - // { required: true, message: '请选择库存状态', trigger: 'change' } - // ], - // woNumber: [ - // { required: true, message: '请输入订单号', trigger: 'blur' } - // ], - // woLine: [ - // { required: true, message: '请输入订单行', trigger: 'blur' } - // ], - // stdPackQty: [ - // { required: true, message: '请输入标包数量', trigger: 'blur' } - // ], - // stdPackUnit: [ - // { required: true, message: '请选择标包单位', trigger: 'change' } - // ], batch: [ - { required: true, message: '请输入批次', trigger: 'blur' } + { required: true, message: '请输入批次', trigger: 'blur' }, + { max: 50, message: '不得超过50个字符', trigger: 'blur' } ], itemCode: [ { required: true, message: '请选择物品代码', trigger: 'change' } @@ -1048,6 +1028,9 @@ export const ProductreceiptRequestDetailRules = reactive({ productionLineCode: [ { required: true, message: '请选择生产线代码', trigger: 'change' } ], + remark: [ + { max: 50, message: '不得超过50个字符', trigger: 'blur' } + ], }) /** diff --git a/src/views/wms/productionManage/productrepair/productrepairRequestMain/productrepairRequestMain.data.ts b/src/views/wms/productionManage/productrepair/productrepairRequestMain/productrepairRequestMain.data.ts index a2e9b0218..54a887515 100644 --- a/src/views/wms/productionManage/productrepair/productrepairRequestMain/productrepairRequestMain.data.ts +++ b/src/views/wms/productionManage/productrepair/productrepairRequestMain/productrepairRequestMain.data.ts @@ -421,15 +421,6 @@ export const ProductrepairRequestMainRules = reactive({ dueTime: [ { required: true, message: '请选择截止时间', trigger: 'change' } ], - fromWarehouseCode: [ - { required: true, message: '请选择从仓库代码', trigger: 'change' } - ], - fromLocationTypes: [ - { required: true, message: '请选择从库位类型范围', trigger: 'change' } - ], - fromAreaCodes: [ - { required: true, message: '请选择从库区代码范围', trigger: 'change' } - ], departmentCode: [ { required: true, message: '请输入部门', trigger: 'blur' } ], @@ -445,8 +436,8 @@ export const ProductrepairRequestMainRules = reactive({ directCreateRecord: [ { required: true, message: '请选择是否跳过任务直接生成记录', trigger: 'change' } ], - businessType: [ - { required: true, message: '请输入业务类型', trigger: 'blur' } + remark: [ + { max: 50, message: '不得超过50个字符', trigger: 'blur' } ], }) @@ -946,6 +937,9 @@ export const ProductrepairRequestDetailaRules = reactive({ itemCode: [ { required: true, message: '请选择物品代码', trigger: 'change' } ], + remark: [ + { max: 50, message: '不得超过50个字符', trigger: 'blur' } + ], }) /** diff --git a/src/views/wms/productionManage/productscrap/productscrapRequestMain/productscrapRequestMain.data.ts b/src/views/wms/productionManage/productscrap/productscrapRequestMain/productscrapRequestMain.data.ts index fda7d92ec..3ddedcefb 100644 --- a/src/views/wms/productionManage/productscrap/productscrapRequestMain/productscrapRequestMain.data.ts +++ b/src/views/wms/productionManage/productscrap/productscrapRequestMain/productscrapRequestMain.data.ts @@ -423,15 +423,6 @@ export const ProductscrapRequestMainRules = reactive({ dueTime: [ { required: true, message: '请选择截止时间', trigger: 'change' } ], - fromWarehouseCode: [ - { required: true, message: '请选择从仓库代码', trigger: 'change' } - ], - fromLocationTypes: [ - { required: true, message: '请选择从库位类型范围', trigger: 'change' } - ], - fromAreaCodes: [ - { required: true, message: '请选择从库区代码范围', trigger: 'change' } - ], departmentCode: [ { required: true, message: '请输入部门', trigger: 'blur' } ], @@ -450,8 +441,8 @@ export const ProductscrapRequestMainRules = reactive({ directCreateRecord: [ { required: true, message: '请选择是否跳过任务直接生成记录', trigger: 'change' } ], - businessType: [ - { required: true, message: '请输入业务类型', trigger: 'blur' } + remark: [ + { max: 50, message: '不得超过50个字符', trigger: 'blur' } ], }) @@ -948,6 +939,9 @@ export const ProductscrapRequestDetailRules = reactive({ itemCode: [ { required: true, message: '请选择物品代码', trigger: 'change' } ], + remark: [ + { max: 50, message: '不得超过50个字符', trigger: 'blur' } + ], }) /**