潜在服务商修改

This commit is contained in:
zlf
2026-07-20 15:30:40 +08:00
parent 1001244f38
commit b95f325b3e
2 changed files with 6 additions and 2 deletions
+5 -2
View File
@@ -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;