潜在服务商修改
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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 });
|
||||
|
||||
Reference in New Issue
Block a user