This commit is contained in:
faiz 2024-04-25 09:14:59 +08:00
parent d82f1069fe
commit afb4afee31
1 changed files with 4 additions and 4 deletions

View File

@ -35,7 +35,7 @@
</el-row> </el-row>
<el-row :gutter="24" class="mt20"> <el-row :gutter="24" class="mt20">
<el-col :span="12"> <el-col :span="12">
<el-form-item label="企业名称:" prop="ext.com.contact" v-if="merData.ext&&merData.ext.com"> <el-form-item label="企业名称:" prop="ext.com.name" v-if="merData.ext&&merData.ext.com">
<el-input <el-input
size="small" size="small"
v-model="merData.ext.com.name" v-model="merData.ext.com.name"
@ -543,7 +543,7 @@ export default {
activeName: 'detail', activeName: 'detail',
ruleValidate: { ruleValidate: {
mer_name: [ mer_name: [
{ required: true, message: '请输入商户名称', trigger: 'blur' } { required: true, message: '请输入店铺名称', trigger: 'change' }
], ],
'ext.com.contact': [ 'ext.com.contact': [
{ required: true, message: '请输入企业名称', trigger: 'blur' } { required: true, message: '请输入企业名称', trigger: 'blur' }
@ -608,10 +608,10 @@ export default {
}); });
} else { } else {
if(!this.merData.mer_name)return this.$message.error('请填写基本信息-商户名称'); if(!this.merData.mer_name)return this.$message.error('请填写基本信息-商户名称');
if(!this.merData.category_id)return this.$message.error('请选择基本信息-商户分类'); // if(!this.merData.category_id)return this.$message.error('-');
if(!this.merData.type_id)return this.$message.error('请选择基本信息-店铺类型'); if(!this.merData.type_id)return this.$message.error('请选择基本信息-店铺类型');
if(!this.merData.mer_account)return this.$message.error('请填写账号信息-商户账号'); if(!this.merData.mer_account)return this.$message.error('请填写账号信息-商户账号');
if(!this.merData.mer_phone)return this.$message.error('请填写账号信息-联系电话'); // if(!this.merData.mer_phone)return this.$message.error('-');
} }
}); });
} }