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'})