Commit b5fdc1b8 authored by dragondean@qq.com's avatar dragondean@qq.com

空运拆单审核

parent bbbc310b
...@@ -158,12 +158,7 @@ export default { ...@@ -158,12 +158,7 @@ export default {
}, },
async created(){ async created(){
if(this.id){ if(this.id){
await this.getData() this.getData()
if([3, 4].indexOf(this.order.transportId) > -1){
getCurrencyList().then(res => this.currencyList = res.data)
getUnitList().then(res => this.unitList = res.data)
}
} }
}, },
methods:{ methods:{
...@@ -181,6 +176,10 @@ export default { ...@@ -181,6 +176,10 @@ export default {
getOrder(){ getOrder(){
getOrder(this.detail.orderId).then(res => { getOrder(this.detail.orderId).then(res => {
this.order = res.data this.order = res.data
if([3, 4].indexOf(this.order.transportId) > -1){
getCurrencyList().then(res => this.currencyList = res.data)
getUnitList().then(res => this.unitList = res.data)
}
}) })
}, },
getChannel(){ getChannel(){
......
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