Commit 2c99ba55 authored by 黄媛媛's avatar 黄媛媛

update

parent e0e1767d
......@@ -616,6 +616,7 @@ tr._item_list td:last-child {
:footer="footer"
:footer-row-height="33"
:multiple-sort="multipleSort"
:row-click="rowClick"
>
<!-- 多个排序 -->
</v-table>
......@@ -1795,6 +1796,20 @@ export default {
this.getPageList();
},
methods: {
rowClick(rowIndex,rowData,column){
let path='RegistrationList';
if(this.msg.DataType==1 || this.msg.DataType=='1'){
if(column.title=="待收金额" || column.title=="溢收金额"){
this.$router.push({
name: path,
query: {
id: rowData.TCID,
blank: "y",
}
});
}
}
},
//获取目的地列表
getLinePlaceList(lineId) {
let msg = {
......
......@@ -124,10 +124,11 @@
</ul>
</div>
<div style=" padding-bottom: 10px;">
<div style="padding-bottom: 10px;">
<span>应收总额:{{moneyFormat(PreferPrice)}}</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<span>实收:{{moneyFormat(IncomePrice)}}</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<span>待收:<span :class="{color_red:(PreferPrice-IncomePrice)!==0}">{{moneyFormat(PreferPrice-IncomePrice)}}</span></span>
<span>优惠:{{moneyFormat(DiscountMoneyAll)}}</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<span>待收:<span :class="{color_red:(PreferPrice-IncomePrice-DiscountMoneyAll)!==0}">{{moneyFormat(PreferPrice-IncomePrice-DiscountMoneyAll)}}</span></span>
</div>
<table class="VisaProductTable" border="0" cellspacing="0" cellpadding="0" v-loading='loading'>
<tr>
......@@ -321,6 +322,7 @@ export default {
isShow:0,
PreferPrice:0,
IncomePrice:0,
DiscountMoneyAll:0,
EmployeeId:0,
EditVisible:false,
EditMsg:{
......@@ -400,8 +402,9 @@ export default {
},
getList(){ // 获取列表数据
this.apipost('dmc_get_visa_GetVisaOrderList',this.msg,res=>{
this.PreferPrice=0;
this.IncomePrice=0;
this.PreferPrice=0;
this.IncomePrice=0;
this.DiscountMoneyAll=0;
if(res.data.resultCode==0){
this.loading = false;
this.dataList=[]
......@@ -412,8 +415,11 @@ export default {
this.dataList.forEach(x=>{
if(x.VisaOrderStatus!=2){
this.PreferPrice+=x.TotalPrice;
this.DiscountMoneyAll+=x.DiscountMoney;
this.IncomePrice+=(x.Income+x.PlatformTax-x.RefundMoney);
}
this.IncomePrice+=(x.Income+x.PlatformTax-x.RefundMoney);
})
}
},err=>{})
......
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