Commit f42727b2 authored by 黄媛媛's avatar 黄媛媛
parents 1dc73813 fed140d8
...@@ -323,7 +323,7 @@ ...@@ -323,7 +323,7 @@
<tr v-if="isShowMoney"> <tr v-if="isShowMoney">
<td>赔偿金额:</td> <td>赔偿金额:</td>
<td> <td>
<el-input type="text" v-model="EditMsg.CompensateMoney" class="w160"></el-input> <el-input type="text" v-model="EditMsg.CompensateMoney" class="w160" @keyup.native="checkPrice(EditMsg,'CompensateMoney')"></el-input>
</td> </td>
</tr> </tr>
<tr v-if="isShowNextPersion"> <tr v-if="isShowNextPersion">
...@@ -363,7 +363,7 @@ ...@@ -363,7 +363,7 @@
<tr> <tr>
<td>赔偿金额:</td> <td>赔偿金额:</td>
<td> <td>
<el-input type="text" v-model="CompensateMoney" class="w160"></el-input> <el-input type="text" v-model="ZuiMsg.CompensateMoney" class="w160" @keyup.native="checkPrice(ZuiMsg,'CompensateMoney')"></el-input>
</td> </td>
</tr> </tr>
</table> </table>
...@@ -452,7 +452,9 @@ ...@@ -452,7 +452,9 @@
DealEmpName: '', DealEmpName: '',
ishowBtn: true, ishowBtn: true,
showAppendMoney: false, showAppendMoney: false,
CompensateMoney: 0,//赔偿金额 ZuiMsg:{
CompensateMoney: 0,//赔偿金额
},
ComplainCompensation: [],//赔款列表 ComplainCompensation: [],//赔款列表
authority: [], authority: [],
} }
...@@ -691,16 +693,16 @@ ...@@ -691,16 +693,16 @@
}, },
//追加赔偿金额 //追加赔偿金额
appendCompensateMoney () { appendCompensateMoney () {
if (!(this.CompensateMoney > 0)) { if (!(this.ZuiMsg.CompensateMoney > 0)) {
this.Error('赔偿金额必须大于0') this.Error('赔偿金额必须大于0')
return false return false
} }
let msg = {ID: this.queryMsg.ID, CompensateMoney: this.CompensateMoney} let msg = {ID: this.queryMsg.ID, CompensateMoney: this.ZuiMsg.CompensateMoney}
this.apipost('conplain_post_AppendCompensateMoney', msg, res => { this.apipost('conplain_post_AppendCompensateMoney', msg, res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.Success('追加赔偿成功') this.Success('追加赔偿成功')
this.showAppendMoney = false this.showAppendMoney = false
this.CompensateMoney = 0 this.ZuiMsg.CompensateMoney = 0
this.getDetial() this.getDetial()
} else { } else {
this.Error(res.data.message) this.Error(res.data.message)
...@@ -729,7 +731,7 @@ ...@@ -729,7 +731,7 @@
this.ComplainCompensation.forEach(x => { this.ComplainCompensation.forEach(x => {
money += x.CompensateMoney money += x.CompensateMoney
}) })
return money return money.toFixed(2);
}, },
//已赔金额 //已赔金额
getBackMoney () { getBackMoney () {
......
...@@ -690,16 +690,16 @@ ...@@ -690,16 +690,16 @@
<!-- <span class="cursorpointer text-decoratio" @click="godetailAll('zifeizhiS')">明细</span> --> <!-- <span class="cursorpointer text-decoratio" @click="godetailAll('zifeizhiS')">明细</span> -->
</td> </td>
</tr> </tr>
<tr v-show="(totalList.ExpendTotalPrice-totalScenicPrice-totalTrafficPrice-totalDinnerPrice-totalHotelPrice)>0"> <!-- <tr v-show="(totalList.ExpendTotalPrice-totalScenicPrice-totalTrafficPrice-totalDinnerPrice-totalHotelPrice)>0">
<td>其他费用</td> <td>其他费用</td>
<td>0</td> <td>0</td>
<td> <td>
{{moneyFormat(totalList.ExpendTotalPrice-totalScenicPrice-totalTrafficPrice-totalDinnerPrice-totalHotelPrice)}} {{moneyFormat(totalList.ExpendTotalPrice-totalScenicPrice-totalTrafficPrice-totalDinnerPrice-totalHotelPrice)}}
</td> </td>
<td> <td>
<!-- <span class="cursorpointer text-decoratio" @click="godetailAll('qitaF')">明细</span> -->
</td> </td>
</tr> </tr> -->
<tr v-for="item in planPriceList"> <tr v-for="item in planPriceList">
<td> <td>
<span v-if="item.UserType==3">景点门票</span> <span v-if="item.UserType==3">景点门票</span>
...@@ -1140,7 +1140,7 @@ ...@@ -1140,7 +1140,7 @@
methods: { methods: {
getOrderType(type) { getOrderType(type) {
// 1-其他订单,2-小费收入,3-团费小计,4-自费收入,5-自费支出 // 1-其他订单,2-小费收入,3-团费小计,4-自费收入,5-自费支出
if (type == 1) return '其他订单' if (type == 1) return '其他费用'
else if (type == 2) return '小费收入' else if (type == 2) return '小费收入'
else if (type == 3) return '团费小计' else if (type == 3) return '团费小计'
else if (type == 4) return '自费收入' else if (type == 4) return '自费收入'
......
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