From b36475bc6d9ad02d7f48b72d9288cf68d20fe655 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=A3=E5=9C=A3=E5=8D=8E?= <752718920@qq.com> Date: Thu, 15 Sep 2022 22:55:26 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=8D=95=E6=8D=AE=EF=BC=9A?= =?UTF-8?q?=E7=BB=99=E5=BA=8F=E5=88=97=E5=8F=B7=E5=BD=95=E5=85=A5=E6=A1=86?= =?UTF-8?q?=E7=9A=84=E6=A0=A1=E9=AA=8C=E8=BF=9B=E8=A1=8C=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jshERP-web/src/views/bill/modules/OtherInModal.vue | 2 +- jshERP-web/src/views/bill/modules/PurchaseInModal.vue | 2 +- jshERP-web/src/views/bill/modules/RetailBackModal.vue | 2 +- jshERP-web/src/views/bill/modules/SaleBackModal.vue | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) 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 },