Commit 68e26117 authored by dragondean@qq.com's avatar dragondean@qq.com

订单费用汇总

parent 43798160
...@@ -253,7 +253,7 @@ ...@@ -253,7 +253,7 @@
<el-button v-hasPermi="['ecw:order:show_customs']" type="text" @click="showDeclaration=true">{{$t('查看报关资料')}}</el-button> <el-button v-hasPermi="['ecw:order:show_customs']" type="text" @click="showDeclaration=true">{{$t('查看报关资料')}}</el-button>
</el-tab-pane> </el-tab-pane>
<el-tab-pane :label="$t('费用明细')" name="four"> <el-tab-pane :label="$t('费用明细')" name="four">
<el-button type="primary" @click="showFeeDetail=true">{{$t('费用汇总')}}</el-button> <el-button type="primary" @click="showFeeSummary=true">{{$t('费用汇总')}}</el-button>
<el-table :data="feeList"> <el-table :data="feeList">
<el-table-column :label="$t('订单号')" prop="orderNo"> <el-table-column :label="$t('订单号')" prop="orderNo">
<template slot-scope="{row}"> <template slot-scope="{row}">
...@@ -425,10 +425,10 @@ ...@@ -425,10 +425,10 @@
<declaration-documents v-if="showDeclaration" :order-id="order.orderId" :order-no="order.orderNo" @close="showDeclaration=false" /> <declaration-documents v-if="showDeclaration" :order-id="order.orderId" :order-no="order.orderNo" @close="showDeclaration=false" />
<!--费用汇总--> <!--费用汇总-->
<fee-detail <fee-detail
v-if="showFeeDetail" v-if="showFeeSummary"
:order-id="order.orderId" :order-id="order.orderId"
:currency-map="currencyMap" :currency-map="currencyMap"
@close="showFeeDetail=false" /> @close="showFeeSummary=false" />
</div> </div>
</template> </template>
...@@ -503,7 +503,7 @@ export default { ...@@ -503,7 +503,7 @@ export default {
consigneeText:this.$t('更多'), consigneeText:this.$t('更多'),
showLogDetailId: null, // 显示日志详情的ID, showLogDetailId: null, // 显示日志详情的ID,
showDeclaration:false, //显示报关资料 showDeclaration:false, //显示报关资料
showFeeDetail: false, // 是否显示费用汇总 showFeeSummary: false, // 是否显示费用汇总
} }
}, },
computed:{ computed:{
...@@ -559,14 +559,6 @@ export default { ...@@ -559,14 +559,6 @@ export default {
}) })
this.region = region this.region = region
}) })
},
showFeeDetail(){
if(!this.orderSummary){
this.getOrderSummary()
}
if(!this.orderDetailSummary){
this.getOrderDetailSummary()
}
} }
}, },
created() { created() {
......
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