提交 c6f71814 编写于 作者: 张磊's avatar 张磊

store id

上级 6d70476a
......@@ -1748,21 +1748,13 @@ export default {
storejs.remove('store_info');
this.curmbSecond = "新建店铺";
this.isDisabled = false;
// if(s){
// // 存在数据 就反现
// this.formData = s;
// const {areaStr} = s.certifyReq;
// const v = areaStr.map(i => {return i.label;}).join('/');
// this.orgRegionValueFirst = v;
// this.orgDateReverse();
// }
}
}
},
//日期 设置
orgDateReverse () {
const {licenseValidDateBegin,licenseValidDateEnd,legalValidDateBegin, legalValidDateEnd, assignorValidDateBegin, assignorValidDateEnd} = this.formData.certifyReq;
const {certifyLicenseImgList, certifyReportImgList} = this.formData.certifyReq;
const {certifyLicenseImgList, certifyReportImgList, bizScope} = this.formData.certifyReq;
this.formData.imgUrlC1Date = [licenseValidDateBegin, licenseValidDateEnd];
this.formData.imgUrlC5Date = [assignorValidDateBegin, assignorValidDateEnd];
this.formData.imgUrlC3Date = [legalValidDateBegin, legalValidDateEnd];
......@@ -1773,7 +1765,14 @@ export default {
const m = `imgUrlP${i.imageType}`;
this.formData[n] = [i.validDateBegin, i.validDateEnd];
this.formData[m] = i.url;
})
});
if(bizScope){
const j = [];
bizScope.map( i => {
i.type && j.push(String(i.type) + '__' + i.id,)
})
this.controlLicense = j;
}
},
resetImgUrl () {
// 营业执照 legalCertBackUrl legalCertFrontUrl
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册