提交 6aee4f5c 编写于 作者: changdi.hao's avatar changdi.hao

认证类型优化

上级 bffb6e82
...@@ -1975,6 +1975,7 @@ export default { ...@@ -1975,6 +1975,7 @@ export default {
} }
}) })
} }
this.resetCertType();
let flag = this.submitForm(); let flag = this.submitForm();
if (flag && this.certifyStatus == 3) { if (flag && this.certifyStatus == 3) {
this.$confirm('您的店铺已经审核通过,重新提交后需要重新审核。', '确认重新提交店铺信息吗?', { this.$confirm('您的店铺已经审核通过,重新提交后需要重新审核。', '确认重新提交店铺信息吗?', {
...@@ -2007,8 +2008,8 @@ export default { ...@@ -2007,8 +2008,8 @@ export default {
}); });
}); });
}else if(flag) { }else if(flag) {
this.formData.storeType = Number(this.formData.storeType); this.formData.storeType = Number(this.formData.storeType);
this.formData.storeEntry = "PCKAIDIAN"; // 添加店铺渠道 this.formData.storeEntry = "PCKAIDIAN"; // 添加店铺渠道
const {bizScope, areaStr} = this.formData.certifyReq; const {bizScope, areaStr} = this.formData.certifyReq;
const result = deepCopy(this.formData); const result = deepCopy(this.formData);
result.certifyReq.areaStr = JSON.stringify(areaStr); result.certifyReq.areaStr = JSON.stringify(areaStr);
...@@ -2885,6 +2886,19 @@ export default { ...@@ -2885,6 +2886,19 @@ export default {
const s = {...query, currentTab: this.activeTabName}; const s = {...query, currentTab: this.activeTabName};
vm.$router.push({ path: "create-shop", query: s}); vm.$router.push({ path: "create-shop", query: s});
}, },
resetCertType() {
console.log('this.formData.certifyReq.certType == 1');
console.log(this.formData.certifyReq.certType == 1);
if(this.formData.certifyReq.certType == 1) {
console.log('papsdpapspd');
this.formData.imgUrlC4 = '';
this.formData.imgUrlC5 = '';
this.formData.certifyReq.assignorName = '';
this.formData.certifyReq.assignorCertNo = '';
this.formData.imgUrlC5Date = '';
this.formData.imgUrlP5 = null;
}
},
handleRegionChange(v) { handleRegionChange(v) {
const checkedNodes = this.$refs['regionCascader'].getCheckedNodes()[0]; const checkedNodes = this.$refs['regionCascader'].getCheckedNodes()[0];
const n = []; const n = [];
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册