国内关联信息四项去除100限制
This commit is contained in:
@@ -5185,16 +5185,17 @@ export default {
|
|||||||
rules.issueTime = [{required: false, message: '发布日期不能为空', trigger: 'change'}]
|
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.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'})
|
// if (item.attrField === 'DTBJH' || item.attrField === 'YYBJ') {
|
||||||
} else {
|
// rule.push({type: 'string', max: 100, message: `${item.attrName}不能超过100个字符`, trigger: 'blur'})
|
||||||
rule.push({
|
// } else {
|
||||||
type: 'string',
|
// rule.push({
|
||||||
max: item.attrLen,
|
// type: 'string',
|
||||||
message: `${item.attrName}不能超过${item.attrLen}个字符`,
|
// max: item.attrLen,
|
||||||
trigger: 'blur'
|
// message: `${item.attrName}不能超过${item.attrLen}个字符`,
|
||||||
})
|
// trigger: 'blur'
|
||||||
}
|
// })
|
||||||
|
// }
|
||||||
}
|
}
|
||||||
if (item.attrField === 'DTBJH' || item.attrField === 'YYBJ' || item.attrField === 'BYYBJ' || item.attrField === 'CBBH') {
|
if (item.attrField === 'DTBJH' || item.attrField === 'YYBJ' || item.attrField === 'BYYBJ' || item.attrField === 'CBBH') {
|
||||||
// rule.push({validator: this.verify.validateStandardItem, trigger: 'blur'})
|
// rule.push({validator: this.verify.validateStandardItem, trigger: 'blur'})
|
||||||
|
|||||||
Reference in New Issue
Block a user