潜在服务商修改
This commit is contained in:
@ -151,9 +151,16 @@
|
||||
this.$toast('请输入不通过原因')
|
||||
return
|
||||
}
|
||||
if( this.form.state == 1 && !this.form.abbr ) {
|
||||
this.$toast('请输入服务商简称')
|
||||
return
|
||||
if( this.form.state == 1 ) {
|
||||
const reg = /^[\u4e00-\u9fa5]{2}$/;
|
||||
if(!this.form.abbr) {
|
||||
this.$toast('请输入服务商简称')
|
||||
return
|
||||
}
|
||||
if(!(reg.test(this.form.abbr))) {
|
||||
this.$toast('服务商简称请输入两位汉字')
|
||||
return
|
||||
}
|
||||
}
|
||||
try {
|
||||
await auditSupplier({
|
||||
|
||||
Reference in New Issue
Block a user