|
|
@ -39,6 +39,11 @@ export const ProductionMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
form: { |
|
|
|
componentProps: { |
|
|
|
maxlength: 50 |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '车间', |
|
|
@ -429,7 +434,7 @@ export const ProductionMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
export const ProductionMainRules = reactive({ |
|
|
|
displayOrder: [ |
|
|
|
{ required: true, message: '请输入顺序', trigger: 'blur' }, |
|
|
|
{ max: 50, message: '不得超过50个字符', trigger: 'blur' } |
|
|
|
// { max: 50, message: '不得超过50个字符', trigger: 'blur' }
|
|
|
|
], |
|
|
|
workshop: [ |
|
|
|
{ required: true, message: '请选择车间', trigger: 'change' } |
|
|
|