From b95f325b3e634bd4fb3b2a2aa64a58837ac7656f Mon Sep 17 00:00:00 2001 From: zhoulinf <2507241354@qq.com> Date: Mon, 20 Jul 2026 15:30:31 +0800 Subject: [PATCH] =?UTF-8?q?=E6=BD=9C=E5=9C=A8=E6=9C=8D=E5=8A=A1=E5=95=86?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/index/addWechat.vue | 7 +++++-- src/views/index/supplierAdd.vue | 1 + 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/views/index/addWechat.vue b/src/views/index/addWechat.vue index 9ff076c4..98870105 100644 --- a/src/views/index/addWechat.vue +++ b/src/views/index/addWechat.vue @@ -41,6 +41,7 @@ const cached = localStorage.getItem('supplierAddForm'); if (cached) { this.formPayload = JSON.parse(cached); + this.wechatId = this.formPayload.wechatId; this.name = this.formPayload.name; } if (this.name) { @@ -70,8 +71,10 @@ }, async nextStep() { if (!this.clickFlag) return; - let res = await getContactQrCodeResult({ configId: this.configId }); - this.wechatId = res?.data?.wechatId; + if(!this.wechatId) { + let res = await getContactQrCodeResult({ configId: this.configId }); + this.wechatId = res?.data?.wechatId; + } if (!this.wechatId) { Toast('请先添加企微再继续'); return; diff --git a/src/views/index/supplierAdd.vue b/src/views/index/supplierAdd.vue index f507ba8f..cf38de4e 100644 --- a/src/views/index/supplierAdd.vue +++ b/src/views/index/supplierAdd.vue @@ -312,6 +312,7 @@ accountUrl: this.licensePhoto, service: this.$refs.tree.getCheckedKeys().join(','), serviceAreaCode: checkArr.join(','), + wechatId: this.wechatId, }; localStorage.setItem('supplierAddForm', JSON.stringify(payload)); this.goPage('addWechat', { potentialFlag: 1 });