Form 表单的手机、税号验证
ruleValidate: { salesmanPhone: [ { required: true, message: '手机号不能为空!', trigger: 'blur' }, { type: 'string', pattern: /^1[3456789]d{9}$/, message: '手机号格式有误', trigger: 'blur' } ],
ghdwsbh: [
{required: true, message: '税号不能为空', trigger: 'blur'},
{type: 'string', pattern:/^[a-zA-Z0-9]{15}$|^[a-zA-Z0-9]{17}$|^[a-zA-Z0-9]{18}$|^[a-zA-Z0-9]{20}$/, message: '15/17/18或20位的数字和字母', trigger: 'blur'}
],
},