From b68359eceae3ce3060e7733586501f1b9a82c42e Mon Sep 17 00:00:00 2001
From: zhouhao <787329763@qq.com>
Date: Thu, 04 Nov 2021 18:20:15 +0800
Subject: [PATCH] 解决商户查询问题
---
src/views/mine/stores/stores-detail.vue | 24 +++++++++++++++---------
1 files changed, 15 insertions(+), 9 deletions(-)
diff --git a/src/views/mine/stores/stores-detail.vue b/src/views/mine/stores/stores-detail.vue
index d786e69..7b0cd86 100644
--- a/src/views/mine/stores/stores-detail.vue
+++ b/src/views/mine/stores/stores-detail.vue
@@ -16,10 +16,10 @@
</div>
<div class="cell-group">
- <v-cell v-model="form.priName" :max="6" label="负责人姓名" :readonly="true" placeholder="负责人姓名"></v-cell>
- <v-cell v-model="form.priMblNo" :max="11" type="tel" label="负责人手机号" :readonly="true" placeholder="负责人手机号"></v-cell>
- <v-cell v-model="form.priEmail" :max="50" label="联系邮箱" :readonly="true" placeholder="联系邮箱"></v-cell>
- <v-cell v-model="form.priIdNo" :max="18" label="负责人身份证号" :readonly="true" placeholder="负责人身份证号"></v-cell>
+ <v-cell v-model="form.priName" :max="6" label="负责人姓名" placeholder="负责人姓名"></v-cell>
+ <v-cell v-model="form.priMblNo" :max="11" type="tel" label="负责人手机号" placeholder="负责人手机号"></v-cell>
+ <v-cell v-model="form.priEmail" :max="50" label="联系邮箱" placeholder="联系邮箱"></v-cell>
+ <v-cell v-model="form.priIdNo" :max="18" label="负责人身份证号" placeholder="负责人身份证号"></v-cell>
<v-cell v-model="form.outChanNo" :max="18" label="渠道编码" :readonly="true" placeholder="渠道编码"></v-cell>
</div>
@@ -125,10 +125,10 @@
// 保存门店
Save() {
- if (this.Btn) {
- return;
- }
- this.Btn = true;
+ // if (this.Btn) {
+ // return;
+ // }
+ // this.Btn = true;
let list = {
addr: {
province: {
@@ -145,6 +145,10 @@
},
dtlAddr: this.form.dtlAddr,
},
+ priEmail:this.form.priEmail,
+ priIdNo:this.form.priIdNo,
+ priMblNo:this.form.priMblNo,
+ priName:this.form.priName,
storeId: this.$route.query.storeId,
};
@@ -156,7 +160,9 @@
this.$api.storeEdit(list).then((res) => {
this.Btn = false;
this.$notify_success("保存成功!");
- });
+ }).catch(err=>{
+ this.Btn = false;
+ })
}
},
--
Gitblit v1.8.0