认证管理-参数项列表-新增,编辑 编号校验修改

This commit is contained in:
zyx.net
2022-07-15 16:18:56 +08:00
parent 81f79f6d1e
commit b87288c9d1
6 changed files with 11 additions and 12 deletions
@@ -376,7 +376,7 @@ export default {
{ required: true, message: this.$t('PleaseEnter')+this.$t('NiONumber'), trigger: 'blur' },
{ min:1, max: 15, message: this.$t('cantExeed')+'15'+this.$t('characters'), trigger: 'blur' },
{
pattern: /^[0-9a-zA-Z-]{1,}$/,
pattern: /^[0-9a-zA-Z-/. ]{1,}$/,
message: this.$t('onlyThree'),
trigger: 'blur'
}
@@ -669,7 +669,7 @@ export default {
}
let falg = 1
this.contentList.forEach((item,index) => {
let reg = /^[0-9a-zA-Z-]{1,}$/
let reg = /^[0-9a-zA-Z-/. ]{1,}$/
// 编号的限制
if(item.paramsNumber == '' || item.paramsNumber === undefined) {
this.$message.warning(this.$t('standard')+this.$t('cannotEmpty'))
@@ -170,13 +170,11 @@ export default {
{
title: this.$t('standard'),
align: 'center',
width: '10%',
dataIndex: 'standard'
},
{
title: this.$t('title'),
align: 'center',
width: '10%',
dataIndex: 'title'
},
{
@@ -184,11 +182,11 @@ export default {
align: 'center',
dataIndex: 'status'
},
{
title: this.$t('category'),
align: 'center',
dataIndex: 'category'
},
// {
// title: this.$t('category'),
// align: 'center',
// dataIndex: 'category'
// },
{
title: this.$t('technicalField'),
align: 'center',