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