Commit ef4f1219 authored by 华国豪's avatar 华国豪 🙄

优化领队用款计划 车资显示!

parent ae595af7
......@@ -59,7 +59,7 @@
<span v-if='index==list.BusList.length-1'>送机</span>
</td>
<td>
{{ item.PayType === 1 ? moneyFormat(item.CostPrice) : 0}}
{{item.CostPrice >= 0 && item.CostPrice !== null && item.PayType > 0 ? (item.PayType === 1 ? moneyFormat(item.CostPrice) : 0) : ''}}
</td>
<td>
<span v-if="item.PayType === 1">现付</span>
......@@ -71,7 +71,7 @@
<span v-show="item.PayType==6">付款团号:{{item.PayTypeTCNUM}}</span>
</td>
<td>
{{item.HighSpeedPayType === 1 ? moneyFormat(item.HighSpeedPrice) : 0}}
{{item.HighSpeedPrice >= 0 && item.HighSpeedPrice !== null && item.HighSpeedPayType > 0 ? (item.HighSpeedPayType === 1 ? moneyFormat(item.HighSpeedPrice) : 0) : ''}}
</td>
<td>
<span v-if="item.HighSpeedPayType === 1">现付</span>
......@@ -83,10 +83,10 @@
<span v-show="item.HighSpeedPayType==6">付款团号:{{item.PayTypeTCNUM}}</span>
</td>
<td>
{{item.PayType === 1 ? moneyFormat(item.StopPrice) : 0}}
{{item.StopPrice >= 0 && item.StopPrice !== null && item.PayType > 0 ? (item.PayType === 1 ? moneyFormat(item.StopPrice) : 0): ''}}
</td>
<td>
{{moneyFormat((item.PayType === 1 ? (item.HighSpeedPayType === 1 ? item.HighSpeedPrice + Number(item.CostPrice) : Number(item.CostPrice)) : 0) + Number(item.StopPrice))}}
{{Number(moneyFormat((item.PayType === 1 ? Number(item.CostPrice) : 0) + (item.PayType === 1 ? Number(item.StopPrice) : 0) + (item.HighSpeedPayType === 1 ? Number(item.HighSpeedPrice) : 0))) <= 0 ? '' : moneyFormat((item.PayType === 1 ? Number(item.CostPrice) : 0) + (item.PayType === 1 ? Number(item.StopPrice) : 0) + (item.HighSpeedPayType === 1 ? Number(item.HighSpeedPrice) : 0))}}
</td>
<td v-if='index==0' :rowspan='list.BusList.length'>
{{busTotalPrice(list.BusList)}}
......@@ -104,7 +104,7 @@
</tr>
<tr v-if="TotalNav.reimburseTotalPrice">
<td>总金额</td>
<td colspan="13">
<td colspan="14">
{{moneyFormat(TotalNav.reimburseTotalPrice.SelfPayingExpendTotalPrice)}}
</td>
<!-- <td>签单/预付/抵扣总金额</td>
......
......@@ -316,17 +316,11 @@ export default {
let previousPathInfo = localStorage.previousPathInfo ? JSON.parse(localStorage.previousPathInfo) : ''
if (previousPathInfo) {
let path = previousPathInfo.path.indexOf('login') === -1 ? previousPathInfo.path : 'index'
let query = previousPathInfo.query ? previousPathInfo.query : {}
if (path!== 'index') {
this.$router.push({ path: "/"+ path, query: query });
} else {
this.$router.push({ path: "/index" });
}
let query = previousPathInfo.query ? previousPathInfo.query : {}
this.$router.push({ path: "/"+ path, query: query });
}else {
this.$router.push({ path: "/index" });
}
this.$router.push({ path: "/index" });
}
//登录成功后跳转页面
// this.$notify.success({
// title:'提示',
......
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