|
@@ -10,7 +10,7 @@
|
|
|
</el-tabs>
|
|
|
|
|
|
<div v-show="step == 'first'">
|
|
|
- <el-form class="my-form" ref="step1Form" :model="step1Form" label-width="100px" label-position="right">
|
|
|
+ <el-form class="my-form" ref="step1Form" :model="step1Form" label-width="130px" label-position="right">
|
|
|
<el-form-item label="商户账号" prop="account">
|
|
|
<el-input v-model="step1Form.account" disabled></el-input>
|
|
|
</el-form-item>
|
|
@@ -57,6 +57,10 @@
|
|
|
<el-switch v-model="step1Form.moduleWb" active-color="#13ce66" inactive-color="#ff4949">
|
|
|
</el-switch>
|
|
|
</el-form-item>
|
|
|
+ <el-form-item label="是否允许到店支付" prop="storePay">
|
|
|
+ <el-switch v-model="step1Form.storePay" active-color="#13ce66" inactive-color="#ff4949">
|
|
|
+ </el-switch>
|
|
|
+ </el-form-item>
|
|
|
<!-- <el-form-item class="tr">
|
|
|
<el-button type="primary" @click="submitStep1Form">保存</el-button>
|
|
|
</el-form-item> -->
|
|
@@ -422,6 +426,7 @@ export default {
|
|
|
billTitle: '',
|
|
|
moduleYb: '',
|
|
|
moduleWb: '',
|
|
|
+ storePay: '',
|
|
|
},
|
|
|
|
|
|
passwordType1: 'password',
|
|
@@ -555,6 +560,7 @@ export default {
|
|
|
this.step1Form.billTitle = res.data.billTitle
|
|
|
this.step1Form.moduleYb = res.data.moduleYb
|
|
|
this.step1Form.moduleWb = res.data.moduleWb
|
|
|
+ this.step1Form.storePay = res.data.storePay
|
|
|
|
|
|
this.img1_url = res.data.minLogo1;
|
|
|
this.img2_url = res.data.minLogo2;
|
|
@@ -695,6 +701,7 @@ export default {
|
|
|
billTitle: this.step1Form.billTitle,
|
|
|
moduleYb: this.step1Form.moduleYb,
|
|
|
moduleWb: this.step1Form.moduleWb,
|
|
|
+ storePay: this.step1Form.storePay,
|
|
|
}
|
|
|
editAccount(params).then(res => {
|
|
|
this.$successMsg('保存成功');
|