Commit 61d00de3 authored by dragondean@qq.com's avatar dragondean@qq.com

修复编辑订单原路线回填失败

parent e1f7daf0
...@@ -725,7 +725,7 @@ export default { ...@@ -725,7 +725,7 @@ export default {
'form.objectiveId'(){ 'form.objectiveId'(){
this.getOpenedRouterList() this.getOpenedRouterList()
}, },
'form.transportId'(){ 'form.transportId'(transportId){
// 海运拼柜给表单默认值 // 海运拼柜给表单默认值
if(this.form.transportId == 4){ if(this.form.transportId == 4){
this.$nextTick(() => { this.$nextTick(() => {
...@@ -738,7 +738,10 @@ export default { ...@@ -738,7 +738,10 @@ export default {
}) })
} }
// 更换运输方式之后,之前选择的路线会失效,需要重新选择 // 更换运输方式之后,之前选择的路线会失效,需要重新选择
this.$set(this.form, 'lineId', undefined) if(transportId != this.selectedRouter?.transportType){
this.$set(this.form, 'lineId', undefined)
}
this.getOpenedRouterList() this.getOpenedRouterList()
}, },
'form.channelId'(){ 'form.channelId'(){
......
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