Commit 5bf2d4a9 authored by 邓春圆's avatar 邓春圆

为空运时加上channelId

parent 3364b41b
...@@ -330,7 +330,8 @@ export default { ...@@ -330,7 +330,8 @@ export default {
}) */ }) */
// 查询渠道 // 查询渠道
getChannelList().then((res) => (this.channelList = res.data)); getChannelList().then((res) => (
this.channelList = res.data));
/* this.transportTypes = this.getDictDatas( /* this.transportTypes = this.getDictDatas(
this.DICT_TYPE.ECW_TRANSPORT_TYPE this.DICT_TYPE.ECW_TRANSPORT_TYPE
).filter((item) => item.value == "1" || item.value == "2"); */ ).filter((item) => item.value == "1" || item.value == "2"); */
...@@ -379,7 +380,7 @@ export default { ...@@ -379,7 +380,7 @@ export default {
objectiveId: this.form.destWarehouseId objectiveId: this.form.destWarehouseId
} }
// 空运才需要渠道 // 空运才需要渠道
if(data.transportId == 4){ if(data.transportId == 4 || data.transportId == 3){
data.channelId = this.form.shippingChannelId data.channelId = this.form.shippingChannelId
} }
// 获得已封柜方数 // 获得已封柜方数
......
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