From a5604d778ca31451a95d8dabdf94f7ebc78e5c55 Mon Sep 17 00:00:00 2001 From: zhaoxiaoqiang <287285524@qq.com> Date: Fri, 14 Apr 2023 11:24:10 +0800 Subject: [PATCH] v-console --- 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