潜在服务商修改
This commit is contained in:
@@ -41,6 +41,7 @@
|
|||||||
const cached = localStorage.getItem('supplierAddForm');
|
const cached = localStorage.getItem('supplierAddForm');
|
||||||
if (cached) {
|
if (cached) {
|
||||||
this.formPayload = JSON.parse(cached);
|
this.formPayload = JSON.parse(cached);
|
||||||
|
this.wechatId = this.formPayload.wechatId;
|
||||||
this.name = this.formPayload.name;
|
this.name = this.formPayload.name;
|
||||||
}
|
}
|
||||||
if (this.name) {
|
if (this.name) {
|
||||||
@@ -70,8 +71,10 @@
|
|||||||
},
|
},
|
||||||
async nextStep() {
|
async nextStep() {
|
||||||
if (!this.clickFlag) return;
|
if (!this.clickFlag) return;
|
||||||
let res = await getContactQrCodeResult({ configId: this.configId });
|
if(!this.wechatId) {
|
||||||
this.wechatId = res?.data?.wechatId;
|
let res = await getContactQrCodeResult({ configId: this.configId });
|
||||||
|
this.wechatId = res?.data?.wechatId;
|
||||||
|
}
|
||||||
if (!this.wechatId) {
|
if (!this.wechatId) {
|
||||||
Toast('请先添加企微再继续');
|
Toast('请先添加企微再继续');
|
||||||
return;
|
return;
|
||||||
|
|||||||
@@ -312,6 +312,7 @@
|
|||||||
accountUrl: this.licensePhoto,
|
accountUrl: this.licensePhoto,
|
||||||
service: this.$refs.tree.getCheckedKeys().join(','),
|
service: this.$refs.tree.getCheckedKeys().join(','),
|
||||||
serviceAreaCode: checkArr.join(','),
|
serviceAreaCode: checkArr.join(','),
|
||||||
|
wechatId: this.wechatId,
|
||||||
};
|
};
|
||||||
localStorage.setItem('supplierAddForm', JSON.stringify(payload));
|
localStorage.setItem('supplierAddForm', JSON.stringify(payload));
|
||||||
this.goPage('addWechat', { potentialFlag: 1 });
|
this.goPage('addWechat', { potentialFlag: 1 });
|
||||||
|
|||||||
Reference in New Issue
Block a user