|
@@ -154,13 +154,13 @@ export default {
|
|
|
desc: [{ validator: lengthValidator, max: 256, message: '长度在 1 到 256 个字符', trigger: ['change', 'blur'] }],
|
|
|
oneCode: [
|
|
|
{ required: true, message: "请输入组织名称", trigger: "blur" },
|
|
|
- { validator: lengthValidator, min: 2, max: 2, message: '长度在 2 个字符', trigger: ['change', 'blur'] }],
|
|
|
- twoCode: [{ validator: lengthValidator, min: 4, max: 4, message: '长度在 4 个字符', trigger: ['change', 'blur'] }],
|
|
|
- threeCode: [{ validator: lengthValidator, min: 4, max: 4, message: '长度在 4 个字符', trigger: ['change', 'blur'] }],
|
|
|
- fourCode: [{ validator: lengthValidator, min: 4, max: 4, message: '长度在 4 个字符', trigger: ['change', 'blur'] }],
|
|
|
- fiveCode: [{ validator: lengthValidator, min: 4, max: 4, message: '长度在 4 个字符', trigger: ['change', 'blur'] }],
|
|
|
- sixCode: [{ validator: lengthValidator, min: 2, max: 2, message: '长度在 2 个字符', trigger: ['change', 'blur'] }],
|
|
|
- sevenCode: [{ validator: lengthValidator, min: 2, max: 2, message: '长度在 2 个字符', trigger: ['change', 'blur'] }],
|
|
|
+ { validator: lengthValidator, max: 2, message: '长度在 2 个字符', trigger: ['change', 'blur'] }],
|
|
|
+ twoCode: [{ validator: lengthValidator, max: 4, message: '长度在 4 个字符', trigger: ['change', 'blur'] }],
|
|
|
+ threeCode: [{ validator: lengthValidator, max: 4, message: '长度在 4 个字符', trigger: ['change', 'blur'] }],
|
|
|
+ fourCode: [{ validator: lengthValidator, max: 4, message: '长度在 4 个字符', trigger: ['change', 'blur'] }],
|
|
|
+ fiveCode: [{ validator: lengthValidator, max: 4, message: '长度在 4 个字符', trigger: ['change', 'blur'] }],
|
|
|
+ sixCode: [{ validator: lengthValidator, max: 2, message: '长度在 2 个字符', trigger: ['change', 'blur'] }],
|
|
|
+ sevenCode: [{ validator: lengthValidator, max: 2, message: '长度在 2 个字符', trigger: ['change', 'blur'] }],
|
|
|
bmCode: [
|
|
|
{ required: true, message: "请输入编码类型", trigger: ['change', 'blur'] },
|
|
|
{ validator: lengthValidator, max: 1, message: '长度在 1 个字符', trigger: ['change', 'blur'] },
|