diff --git a/jshERP-web/src/views/bill/modules/OtherInModal.vue b/jshERP-web/src/views/bill/modules/OtherInModal.vue index 80b578c2..1aaf4ec0 100644 --- a/jshERP-web/src/views/bill/modules/OtherInModal.vue +++ b/jshERP-web/src/views/bill/modules/OtherInModal.vue @@ -173,7 +173,7 @@ { title: '库存', key: 'stock', width: '5%', type: FormTypes.normal }, { title: '单位', key: 'unit', width: '4%', type: FormTypes.normal }, { title: '序列号', key: 'snList', width: '12%', type: FormTypes.input, placeholder: '多个序列号用逗号隔开', - validateRules: [{ pattern: /^\S{1,100}$/, message: '请小于100位字符' }] + validateRules: [{ pattern: /^.{1,100}$/, message: '请小于100位字符' }] }, { title: '批号', key: 'batchNumber', width: '7%', type: FormTypes.input }, { title: '有效期', key: 'expirationDate',width: '7%', type: FormTypes.date }, diff --git a/jshERP-web/src/views/bill/modules/PurchaseInModal.vue b/jshERP-web/src/views/bill/modules/PurchaseInModal.vue index ab710ce8..edd14a53 100644 --- a/jshERP-web/src/views/bill/modules/PurchaseInModal.vue +++ b/jshERP-web/src/views/bill/modules/PurchaseInModal.vue @@ -270,7 +270,7 @@ { title: '库存', key: 'stock', width: '5%', type: FormTypes.normal }, { title: '单位', key: 'unit', width: '4%', type: FormTypes.normal }, { title: '序列号', key: 'snList', width: '12%', type: FormTypes.input, placeholder: '多个序列号用逗号隔开', - validateRules: [{ pattern: /^\S{1,100}$/, message: '请小于100位字符' }] + validateRules: [{ pattern: /^.{1,100}$/, message: '请小于100位字符' }] }, { title: '批号', key: 'batchNumber', width: '7%', type: FormTypes.input }, { title: '有效期', key: 'expirationDate',width: '7%', type: FormTypes.date }, diff --git a/jshERP-web/src/views/bill/modules/RetailBackModal.vue b/jshERP-web/src/views/bill/modules/RetailBackModal.vue index 9390dd51..75e3154c 100644 --- a/jshERP-web/src/views/bill/modules/RetailBackModal.vue +++ b/jshERP-web/src/views/bill/modules/RetailBackModal.vue @@ -232,7 +232,7 @@ { title: '库存', key: 'stock', width: '5%', type: FormTypes.normal }, { title: '单位', key: 'unit', width: '5%', type: FormTypes.normal }, { title: '序列号', key: 'snList', width: '12%', type: FormTypes.input, placeholder: '多个序列号用逗号隔开', - validateRules: [{ pattern: /^\S{1,100}$/, message: '请小于100位字符' }] + validateRules: [{ pattern: /^.{1,100}$/, message: '请小于100位字符' }] }, { title: '批号', key: 'batchNumber', width: '8%', type: FormTypes.input }, { title: '有效期', key: 'expirationDate',width: '9%', type: FormTypes.date }, diff --git a/jshERP-web/src/views/bill/modules/SaleBackModal.vue b/jshERP-web/src/views/bill/modules/SaleBackModal.vue index ecb60d93..7da8ceeb 100644 --- a/jshERP-web/src/views/bill/modules/SaleBackModal.vue +++ b/jshERP-web/src/views/bill/modules/SaleBackModal.vue @@ -248,7 +248,7 @@ { title: '库存', key: 'stock', width: '5%', type: FormTypes.normal }, { title: '单位', key: 'unit', width: '4%', type: FormTypes.normal }, { title: '序列号', key: 'snList', width: '12%', type: FormTypes.input, placeholder: '多个序列号用逗号隔开', - validateRules: [{ pattern: /^\S{1,100}$/, message: '请小于100位字符' }] + validateRules: [{ pattern: /^.{1,100}$/, message: '请小于100位字符' }] }, { title: '批号', key: 'batchNumber', width: '7%', type: FormTypes.input }, { title: '有效期', key: 'expirationDate',width: '7%', type: FormTypes.date },