验证
2020-11-10 本文已影响0人
流泪手心_521
spCode: [
{required: true, message: '供应商编号不能为空', trigger: 'change'},
{min: 1, max: 32, message: '供应商编号在1到32个字符之间'},
{pattern: /^[^\u4e00-\u9fa5\s]{1,32}$/, message: '只允许数字、字母、特殊字符'},
],
spCode: [
{required: true, message: '供应商编号不能为空', trigger: 'change'},
{min: 1, max: 32, message: '供应商编号在1到32个字符之间'},
{pattern: /^[^\u4e00-\u9fa5\s]{1,32}$/, message: '只允许数字、字母、特殊字符'},
],