Commit 4b63779d authored by youjie's avatar youjie

no message

parent 82ea94ea
......@@ -872,7 +872,6 @@ export default {
id: obj.Id,
branchId: obj.RB_Branch_Id,
blank: "y",
TrafficToll: obj.TrafficToll?obj.TrafficToll:0,
tab: "结算列表"
}
});
......
......@@ -866,7 +866,10 @@
<span>实收:{{moneyFormat(IncomePrice)}}</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<span>优惠:{{moneyFormat(DiscountMoneyAll)}}</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<span>待收:<span
:class="{color_red:(PreferPrice-IncomePrice-DiscountMoneyAll)!==0}">{{moneyFormat(PreferPrice-IncomePrice-DiscountMoneyAll)}}</span></span>
:class="{color_red:(PreferPrice-IncomePrice-DiscountMoneyAll)!==0}">
{{moneyFormat(PreferPrice-IncomePrice-DiscountMoneyAll)}}</span>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>
<span>成本:{{moneyFormat(CostMoney)}}</span>
</div>
<table class="VisaProductTable" border="0" cellspacing="0" cellpadding="0" v-loading='loading'>
<tr>
......@@ -1137,6 +1140,7 @@
isShow: 0,
PreferPrice: 0,
IncomePrice: 0,
CostMoney: 0,
DiscountMoneyAll: 0,
EmployeeId: 0,
EditVisible: false,
......@@ -1291,6 +1295,7 @@
this.apipost('dmc_get_visa_GetVisaOrderList', this.msg, res => {
this.PreferPrice = 0;
this.IncomePrice = 0;
this.CostMoney = 0;
this.DiscountMoneyAll = 0;
if (res.data.resultCode == 0) {
this.loading = false;
......@@ -1304,6 +1309,7 @@
this.PreferPrice += x.TotalPrice;
this.DiscountMoneyAll += x.DiscountMoney;
this.IncomePrice += (x.Income + x.PlatformTax - x.RefundMoney);
this.CostMoney += x.CostMoney;
}
})
}
......
......@@ -24,7 +24,7 @@
<div class="fl meta mg0">
成本
</div>
<input v-if="$route.query.TrafficToll>0||seeDes" type="button"
<input v-if="TrafficToll>0||seeDes" type="button"
class="normalBtn fr" value="新增车费成本" @click="goUrl()"/>
</div>
<table class="saleOrderSettlementTable" border="0" cellspacing="0" cellpadding="0">
......@@ -184,6 +184,7 @@
:page-size="this.CollectMsg.pageSize"
:total="total1">
</el-pagination>
<!--
<div style="margin: 20px 0; overflow: hidden;">
<div class="fl meta mg0">
提成核算
......@@ -208,7 +209,7 @@
暂无提成发放
</td>
</tr>
</table>
</table> -->
</div>
</template>
......@@ -216,6 +217,7 @@
export default {
data(){
return{
TrafficToll: 0,//交通费用
isDisabled: true,
OrderIds:[],
total: 0,
......@@ -248,6 +250,23 @@
}
},
methods:{
// 请求签证产品详情
GetVisaProductDetails(){
this.apipost(
"dmc_get_visa_GetVisaProductInfo_V1",
{Pid:this.PayMsg.TCID},
res => {
if (res.data.resultCode == 1) {
let data=res.data.data;
this.TrafficToll = res.data.data.TrafficToll
} else {
this.Error(res.data.message);
}
},
err => {}
);
},
goUrlUpdatePay(obj,type){ //付款单
this.$router.push(
{
......@@ -372,6 +391,7 @@
this.getPayList()
this.getTicheng()
this.getCollectList()
this.GetVisaProductDetails()
}
}
</script>
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