Commit 06850ede authored by zhengyi's avatar zhengyi

编辑订单是否有收货人逻辑修改

parent cda238a7
...@@ -1996,15 +1996,6 @@ ...@@ -1996,15 +1996,6 @@
} }
that.getOffData() that.getOffData()
// // 没有收货人信息
// if(!that.params.consigneeVO){
// that.hasConsignee = false
// }
// 如果用户当前不支持无收货人,则强制显示收货人信息
// if(that.noConsignee){
// that.hasConsignee = true
// }
// 回显目的城市和目的国 // 回显目的城市和目的国
const dstCityIndex = this.filteredDstCityList.findIndex(item => item.shi === that.params.objectiveId) const dstCityIndex = this.filteredDstCityList.findIndex(item => item.shi === that.params.objectiveId)
if(dstCityIndex > -1){ if(dstCityIndex > -1){
...@@ -2039,7 +2030,10 @@ ...@@ -2039,7 +2030,10 @@
this.currentHarvestIndex = harvestIndex this.currentHarvestIndex = harvestIndex
} }
// this.hasConsignee = res.data.hasConsignee this.hasConsignee = res.data.hasConsignee
if (!that.noConsignee){
this.hasConsignee = true
}
} }
}) })
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment