提交 09c15d60 编写于 作者: shuang.zhou's avatar shuang.zhou

Merge branch 'testing/3.29.0' of...

Merge branch 'testing/3.29.0' of 192.168.110.53:com.pica.cloud.education.frontend/pica.cloud.web-education-admin into feature/med-goods-zs
此差异已折叠。
...@@ -1935,6 +1935,7 @@ export default { ...@@ -1935,6 +1935,7 @@ export default {
}, },
completeWholeForm() { completeWholeForm() {
console.log(this.controlLicense,this.formData); console.log(this.controlLicense,this.formData);
this.formData.certifyReq.certifyLicenseImgList = this.formData.certifyReq.certifyLicenseImgList || [];
if(!this.imgUrlP7Show){ if(!this.imgUrlP7Show){
this.formData.imgUrlP7 = '' this.formData.imgUrlP7 = ''
this.formData.certifyReq.certifyLicenseImgList.forEach((v,i)=>{ this.formData.certifyReq.certifyLicenseImgList.forEach((v,i)=>{
...@@ -1975,6 +1976,7 @@ export default { ...@@ -1975,6 +1976,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 +2009,8 @@ export default { ...@@ -2007,8 +2009,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 +2887,22 @@ export default { ...@@ -2885,6 +2887,22 @@ 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.assignorCertBackUrl = '';
this.formData.certifyReq.assignorCertFrontUrl = '';
this.formData.certifyReq.assignorLetterUrl = '';
this.formData.certifyReq.assignorName = '';
this.formData.certifyReq.assignorCertNo = '';
this.formData.imgUrlC5Date = '';
this.formData.imgUrlP5 = '';
}
},
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 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册