Commit 1d895b63 by 胡悦

禁用商户名称

1 parent 58eecb22
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<el-row> <el-row>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="商户名称" prop="merchantName"> <el-form-item label="商户名称" prop="merchantName">
<el-input size="small" v-model="accountAddForm.merchantName" placeholder="请输入商户名称"></el-input> <el-input size="small" v-model="accountAddForm.merchantName" :disabled="isEdit" placeholder="请输入商户名称"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
...@@ -158,6 +158,10 @@ export default { ...@@ -158,6 +158,10 @@ export default {
}, },
businessScopeCustomize: { businessScopeCustomize: {
type: Array type: Array
},
isEdit: {
type: Boolean,
value: false
} }
}, },
data() { data() {
......
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
<el-row> <el-row>
<el-col :span="12"> <el-col :span="12">
<el-form-item size="small" label="登录密码" prop="merchantLoginPassword" class="form-row"> <el-form-item size="small" label="登录密码" prop="merchantLoginPassword" class="form-row">
<el-input type="password" maxlength="20" :readonly="pwdStatus ? 'readonly' : false" v-model="accountInfoForm.merchantLoginPassword" placeholder="请输入登录密码(必须包含6-20个字母+数字)" show-password></el-input> <el-input type="password" maxlength="20" :readonly="pwdStatus ? 'readonly' : false" v-model="accountInfoForm.merchantLoginPassword" placeholder="请输入登录密码(必须包含6-20个字母+数字)" show-password></el-input>
<el-button <el-button
type="primary" type="primary"
class="form-btn" class="form-btn"
...@@ -56,7 +56,7 @@ ...@@ -56,7 +56,7 @@
</div> </div>
<div class="account-body scrm-box-f"> <div class="account-body scrm-box-f">
<div class="form-title">修改企业信息</div> <div class="form-title">修改企业信息</div>
<base-info ref="baseInfoForm" :brandData="brandData" :accountAddForm="accountAddForm" :businessScopeCustomize="businessScopeCustomize" :businessOption="businessOption"></base-info> <base-info ref="baseInfoForm" :brandData="brandData" :isEdit="true" :accountAddForm="accountAddForm" :businessScopeCustomize="businessScopeCustomize" :businessOption="businessOption"></base-info>
</div> </div>
</div> </div>
<div v-show="step == 'first'"> <div v-show="step == 'first'">
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!