修复编辑商户入驻申请时没有合同的bug
This commit is contained in:
parent
33b08c8074
commit
7dfa103d12
@ -574,7 +574,6 @@
|
||||
// 获取历史提交数据详情
|
||||
getGoodsDetails(id) {
|
||||
getGoodsDetails(id).then(res => {
|
||||
console.log(res);
|
||||
let arr = Object.keys(this.merchantData)
|
||||
let resData = res.data
|
||||
arr.map(item => {
|
||||
@ -596,6 +595,11 @@
|
||||
this.pics = resData.images
|
||||
this.mer_classification = this.getCategoryName(resData.merchant_category_id, this.array)
|
||||
this.mer_storeType = this.getStoreTypeName(resData.mer_type_id, this.storeTypeArr)
|
||||
if(resData.mer_type_id!=12){
|
||||
this.shoplist('mer_services_agree')
|
||||
}else{
|
||||
this.shoplist('mer_supply_agree')
|
||||
}
|
||||
uni.hideLoading();
|
||||
})
|
||||
},
|
||||
@ -638,13 +642,11 @@
|
||||
let idx = e.target.value
|
||||
this.merchantData.mer_type = this.storeTypeArr[idx]['mer_type_id']
|
||||
this.mer_storeType = this.storeTypeArr[idx]['type_name']
|
||||
// console.log(this.storeTypeArr[idx]['type_code'] == "TypeStore")
|
||||
// console.log(this.merchantData.mer_type)
|
||||
if(this.storeTypeArr[idx]['type_code']== 'TypeStore'&&this.merchantData.mer_type){
|
||||
this.shoplist('mer_services_agree')
|
||||
}else{
|
||||
this.shoplist('mer_supply_agree')
|
||||
|
||||
}
|
||||
this.validateBtn()
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user