优化商品条码的格式
This commit is contained in:
@@ -337,8 +337,8 @@
|
||||
{
|
||||
title: '条码', key: 'barCode', width: '15%', type: FormTypes.input, defaultValue: '', placeholder: '请输入${title}',
|
||||
validateRules: [{ required: true, message: '${title}不能为空' },
|
||||
{ pattern: /^[1-9]\d*$/, message: '请输入零以上的正整数' },
|
||||
{ pattern: /^\d{4,13}$/, message: '4到13位数字' },
|
||||
{ pattern: /[^%&',;=?$x22]+$/, message: '含有%&\',;=?$"等字符' },
|
||||
{ pattern: /^.{4,40}$/, message: '长度为4到40位' },
|
||||
{ handler: this.validateBarCode}]
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user