Commit d1d1522b authored by liudong1993's avatar liudong1993
parents a8280e99 cdf36de0
...@@ -1576,7 +1576,7 @@ ...@@ -1576,7 +1576,7 @@
this.msg && this.msg.detailList && this.msg.detailList.forEach((item, i) => { this.msg && this.msg.detailList && this.msg.detailList.forEach((item, i) => {
yballPrice += Number(item.UnitPrice) yballPrice += Number(item.UnitPrice)
}) })
this.yballPriceTo = yballPrice this.yballPriceTo = this.RoundItUp(parseFloat(yballPrice).toFixed(2))
if(this.orderObj.Money&&this.orderObj.Money2){ if(this.orderObj.Money&&this.orderObj.Money2){
let Money = ((this.orderObj.Money*100)+(this.orderObj.Money2*100))/100 let Money = ((this.orderObj.Money*100)+(this.orderObj.Money2*100))/100
if (Money != this.yballPriceTo) { if (Money != this.yballPriceTo) {
......
...@@ -122,8 +122,8 @@ ...@@ -122,8 +122,8 @@
</td> </td>
<td> <td>
<template v-if="EditBtn||LineId==90"> <template v-if="EditBtn||LineId==90">
<el-input class='w135' v-model='childItem.UsePeopleNum' <el-input class='w135' v-model='childItem.UsePeopleNum' @input='calculationPrice(subItem)'
@keyup.native="checkInteger(childItem,'UsePeopleNum')" type="text"></el-input> @keyup.native="checkInteger(childItem,'UsePeopleNum')" type="text"></el-input>
</template> </template>
<template v-else> <template v-else>
{{childItem.UsePeopleNum}} {{childItem.UsePeopleNum}}
...@@ -131,7 +131,7 @@ ...@@ -131,7 +131,7 @@
</td> </td>
<td> <td>
<template v-if="EditBtn||LineId==90"> <template v-if="EditBtn||LineId==90">
<el-input class='w135' v-model='childItem.PeoplePrice' <el-input class='w135' v-model='childItem.PeoplePrice' @input='calculationPrice(subItem)'
@keyup.native="checkPrice(childItem,'PeoplePrice')" type="text"></el-input> @keyup.native="checkPrice(childItem,'PeoplePrice')" type="text"></el-input>
</template> </template>
<template v-else> <template v-else>
......
...@@ -215,17 +215,29 @@ ...@@ -215,17 +215,29 @@
<span title="点击跳转到团控列表" :class="item.TCID>0?'RS_RedType PingFangSC Order_RS':'Order_RS'" <span title="点击跳转到团控列表" :class="item.TCID>0?'RS_RedType PingFangSC Order_RS':'Order_RS'"
@click="goUrlTCList(item)">{{item.TCID}}</span> @click="goUrlTCList(item)">{{item.TCID}}</span>
<br /> <br />
<template v-if="item.TeamType==0"> <template v-if="item.PriceTeamTypeName&&item.PriceTeamTypeName!=''">
<span style="font-weight:blod;">散拼(<template v-if="item.OrderLeaderGuestNum>0">V</template><template <span style="font-weight:blod;">{{item.PriceTeamTypeName}}(<template v-if="item.OrderLeaderGuestNum>0">
v-else>S</template>)</span> <el-tooltip class="item" effect="dark" content="需要领队" placement="top">
<font>V</font>
</el-tooltip>
</template><template v-else>
<el-tooltip class="item" effect="dark" content="不需要领队" placement="top">
<font>S</font>
</el-tooltip>
</template>)</span>
</template> </template>
<template v-if="item.TeamType==1"> <template v-else>
<span style="font-weight:blod;">小包团(<template v-if="item.OrderLeaderGuestNum>0">V</template><template <span style="font-weight:blod;">{{item.TeamTypeName}}(<template v-if="item.OrderLeaderGuestNum>0">
v-else>S</template>)</span> <el-tooltip class="item" effect="dark" content="需要领队" placement="top">
</template> <font>V</font>
<template v-if="item.TeamType==2"> </el-tooltip>
<span style="font-weight:blod;">当地游(<template v-if="item.OrderLeaderGuestNum>0">V</template><template </template>
v-else>S</template>)</span> <template v-else>
<el-tooltip class="item" effect="dark" content="不需要领队" placement="top">
<font>S</font>
</el-tooltip>
</template>)
</span>
</template> </template>
</td> </td>
<td>{{item.InOut}}</td> <td>{{item.InOut}}</td>
......
...@@ -195,14 +195,29 @@ ...@@ -195,14 +195,29 @@
<td> <td>
<span>{{item.TCNUM}}({{item.TCID}})</span> <span>{{item.TCNUM}}({{item.TCID}})</span>
<br /> <br />
<template v-if="item.TeamType==0"> <template v-if="item.PriceTeamTypeName&&item.PriceTeamTypeName!=''">
<span style="font-weight:blod;">散拼</span> <span style="font-weight:blod;">{{item.PriceTeamTypeName}}(<template v-if="item.OrderLeaderGuestNum>0">
<el-tooltip class="item" effect="dark" content="需要领队" placement="top">
<font>V</font>
</el-tooltip>
</template><template v-else>
<el-tooltip class="item" effect="dark" content="不需要领队" placement="top">
<font>S</font>
</el-tooltip>
</template>)</span>
</template> </template>
<template v-if="item.TeamType==1"> <template v-else>
<span style="font-weight:blod;">小包团</span> <span style="font-weight:blod;">{{item.TeamTypeName}}(<template v-if="item.OrderLeaderGuestNum>0">
</template> <el-tooltip class="item" effect="dark" content="需要领队" placement="top">
<template v-if="item.TeamType==2"> <font>V</font>
<span style="font-weight:blod;">当地游</span> </el-tooltip>
</template>
<template v-else>
<el-tooltip class="item" effect="dark" content="不需要领队" placement="top">
<font>S</font>
</el-tooltip>
</template>)
</span>
</template> </template>
</td> </td>
<td>{{item.StartDateStr}}</td> <td>{{item.StartDateStr}}</td>
......
...@@ -100,7 +100,7 @@ ...@@ -100,7 +100,7 @@
<td> <td>
<template v-if="EditBtn||LineId==90"> <template v-if="EditBtn||LineId==90">
<el-input class='w135' v-model='childItem.PeoplePrice' <el-input class='w135' v-model='childItem.PeoplePrice'
@keyup.native="checkPrice(childItem,'PeoplePrice')" type="text"></el-input> @keyup.native="checkPrice(childItem,'PeoplePrice')" @input='calculationPrice(subItem)' type="text"></el-input>
</template> </template>
<template v-else> <template v-else>
<span class="spanlink" v-if='childItem.PeoplePrice==0' <span class="spanlink" v-if='childItem.PeoplePrice==0'
...@@ -116,7 +116,7 @@ ...@@ -116,7 +116,7 @@
<td> <td>
<template v-if="EditBtn||LineId==90"> <template v-if="EditBtn||LineId==90">
<el-input class='w135' v-model='childItem.DiscountPrice' <el-input class='w135' v-model='childItem.DiscountPrice'
@keyup.native="checkPrice(childItem,'DiscountPrice')" type="text"></el-input> @keyup.native="checkPrice(childItem,'DiscountPrice')" @input='calculationPrice(subItem)' type="text"></el-input>
</template> </template>
<template v-else> <template v-else>
<span class="spanlink" v-if='childItem.DiscountPrice==0' <span class="spanlink" v-if='childItem.DiscountPrice==0'
......
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