From 3464070bd4195f68927e0cd89784f0807eac65f7 Mon Sep 17 00:00:00 2001 From: yanyizhou <2311759275@qq.com> Date: Sun, 12 Dec 2021 15:19:38 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9B=BD=E5=86=85=E5=85=B3=E8=81=94=E4=BF=A1?= =?UTF-8?q?=E6=81=AF=E5=9B=9B=E9=A1=B9=E5=8E=BB=E9=99=A4100=E9=99=90?= =?UTF-8?q?=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../domesticStandardsAndRegulations/index.vue | 21 ++++++++++--------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue b/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue index 52208b187..39a624470 100644 --- a/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue +++ b/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue @@ -5185,16 +5185,17 @@ export default { rules.issueTime = [{required: false, message: '发布日期不能为空', trigger: 'change'}] } if (item.attrLen && item.attrType !== 'INPUT_NUM' && item.attrType !== 'DATE_PICKER' && item.attrType !== 'SEL_OPTION' && item.attrType !== 'SEL_OPTS' && item.attrType !== 'DATE_PIC_OPTS') { - if (item.attrField === 'DTBJH' || item.attrField === 'YYBJ') { - rule.push({type: 'string', max: 100, message: `${item.attrName}不能超过100个字符`, trigger: 'blur'}) - } else { - rule.push({ - type: 'string', - max: item.attrLen, - message: `${item.attrName}不能超过${item.attrLen}个字符`, - trigger: 'blur' - }) - } + + // if (item.attrField === 'DTBJH' || item.attrField === 'YYBJ') { + // rule.push({type: 'string', max: 100, message: `${item.attrName}不能超过100个字符`, trigger: 'blur'}) + // } else { + // rule.push({ + // type: 'string', + // max: item.attrLen, + // message: `${item.attrName}不能超过${item.attrLen}个字符`, + // trigger: 'blur' + // }) + // } } if (item.attrField === 'DTBJH' || item.attrField === 'YYBJ' || item.attrField === 'BYYBJ' || item.attrField === 'CBBH') { // rule.push({validator: this.verify.validateStandardItem, trigger: 'blur'})