|
|
@ -245,18 +245,18 @@ export const BomRules = reactive({ |
|
|
|
], |
|
|
|
processCode: [ |
|
|
|
{ required: true, message: '请输入工序代码', trigger: 'blur' }, |
|
|
|
{ max: 50, message: '不得超过50个字符', trigger: 'blur' }, |
|
|
|
{ max: 50, message: '不得超过50个字符', trigger: 'change' }, |
|
|
|
], |
|
|
|
version: [ |
|
|
|
{ required: true, message: '请输入版本', trigger: 'blur' }, |
|
|
|
{ max: 50, message: '不得超过50个字符', trigger: 'blur' } |
|
|
|
{ max: 50, message: '不得超过50个字符', trigger: 'change' } |
|
|
|
], |
|
|
|
layer: [ |
|
|
|
{ required: true, message: '请输入层级', trigger: 'blur' }, |
|
|
|
{ max: 50, message: '不得超过50个字符', trigger: 'blur' } |
|
|
|
{ max: 50, message: '不得超过50个字符', trigger: 'change' } |
|
|
|
], |
|
|
|
remark: [ |
|
|
|
{ max: 50, message: '不得超过50个字符', trigger: 'blur' } |
|
|
|
{ max: 50, message: '不得超过50个字符', trigger: 'change' } |
|
|
|
], |
|
|
|
available: [ |
|
|
|
{ required: true, message: '请选择是否可用', trigger: 'change' } |
|
|
|