Commit b12c170d authored by 罗超's avatar 罗超
parents aa3be541 87395c92
...@@ -132,10 +132,10 @@ ...@@ -132,10 +132,10 @@
</table> </table>
<table class="leaderReimbursementTable" border="0" cellspacing="1" cellpadding="0"> <table class="leaderReimbursementTable" border="0" cellspacing="1" cellpadding="0">
<tr> <tr>
<th colspan="23" class="bgwhite">酒店使用 </th> <th colspan="24" class="bgwhite">酒店使用 </th>
</tr> </tr>
<tr> <tr>
<th colspan="23" class="bgwhite"> <th colspan="24" class="bgwhite">
税别计算: 单价 * (预订人数-免减人数) * (1 + 0.08 - 返佣比例 / 100) <br /> 税别计算: 单价 * (预订人数-免减人数) * (1 + 0.08 - 返佣比例 / 100) <br />
税入计算: 单价 * (预订人数-免减人数) * (1 - 返佣比例 / 100)<br /> 税入计算: 单价 * (预订人数-免减人数) * (1 - 返佣比例 / 100)<br />
司导间【月结】不计入总金额 司导间【月结】不计入总金额
...@@ -144,6 +144,7 @@ ...@@ -144,6 +144,7 @@
<tr class="title"> <tr class="title">
<th width="90">使用时间</th> <th width="90">使用时间</th>
<th width="150">酒店名称</th> <th width="150">酒店名称</th>
<th width="150">更换酒店</th>
<th width="70">占床<br />不占床</th> <th width="70">占床<br />不占床</th>
<th width="70">实际<br />用房数</th> <th width="70">实际<br />用房数</th>
<th width="70">房间<br />类型</th> <th width="70">房间<br />类型</th>
...@@ -172,10 +173,16 @@ ...@@ -172,10 +173,16 @@
<td v-if="childIndex==0&&subIndex==0" :rowspan="6*outItem.HotelOrderList.length" <td v-if="childIndex==0&&subIndex==0" :rowspan="6*outItem.HotelOrderList.length"
style="white-space:nowrap; ">{{outItem.UseTimeStr}} style="white-space:nowrap; ">{{outItem.UseTimeStr}}
</td> </td>
<td v-if="childIndex==0" :rowspan="6" style="text-align:left; ">{{subItem.HotelName}} <td v-if="childIndex==0" :rowspan="6" style="text-align:left; ">
<p class="cursorpointer" style="margin-top:5px;color: blue;"> <template v-if="subItem.HotelName!=subItem.NewHotelName && subItem.NewHotelName!=''">
<a v-if="subItem.ContractUrl" target="_blank" :href="subItem.ContractUrl">手配书</a> <span style="text-decoration:line-through"> {{subItem.HotelName}}</span>
</p> </template>
<template v-else>
{{subItem.HotelName}}
</template>
</td>
<td v-if="childIndex==0" :rowspan="6" style="text-align:left;color:red; ">
{{subItem.HotelName!=subItem.NewHotelName?""+subItem.NewHotelName:""}}
</td> </td>
<td v-if="childIndex==0" :rowspan="6"> <td v-if="childIndex==0" :rowspan="6">
{{subItem.HouseStatistics.NeedBed}}/{{subItem.HouseStatistics.NoNeedBed}} {{subItem.HouseStatistics.NeedBed}}/{{subItem.HouseStatistics.NoNeedBed}}
...@@ -317,7 +324,7 @@ ...@@ -317,7 +324,7 @@
</template> </template>
<tr v-if="TotalNav.reimburseTotalPrice"> <tr v-if="TotalNav.reimburseTotalPrice">
<td>总金额</td> <td>总金额</td>
<td colspan="22"> <td colspan="23">
{{moneyFormat(TotalNav.reimburseTotalPrice.ExpendTotalPrice)}} {{moneyFormat(TotalNav.reimburseTotalPrice.ExpendTotalPrice)}}
</td> </td>
</tr> </tr>
......
...@@ -3,9 +3,14 @@ ...@@ -3,9 +3,14 @@
<div class="query-box" style="border-bottom: none;"> <div class="query-box" style="border-bottom: none;">
<ul> <ul>
<li> <li>
<input v-if="IsOperation !=1" type="button" class="fr normalBtn mb30" value="保存" @click="saveList(1)" /> <template v-if="IsOperation !=1">
<input type="button" class="fr normalBtn mb30" value="保存" @click="saveList(1)" />
<input type="button" class="fr normalBtn mb30" value="保存草稿" @click="saveList(0)" />
</template>
<template v-else>
<span style="color:red;font-size:14px;">已制单,不能在修改!</span>
</template>
<input style="display:none;" type="button" class="fr normalBtn mb30" value="保存" @click="saveList(1)" /> <input style="display:none;" type="button" class="fr normalBtn mb30" value="保存" @click="saveList(1)" />
<input v-if="IsOperation !=1" type="button" class="fr normalBtn mb30" value="保存草稿" @click="saveList(0)" />
</li> </li>
</ul> </ul>
</div> </div>
...@@ -75,7 +80,7 @@ ...@@ -75,7 +80,7 @@
{{childItem.PeopleNum}} {{childItem.PeopleNum}}
</td> </td>
<td> <td>
<el-input class='w50 tcenter' v-model='childItem.UsePeopleNum' type="number" <el-input class='w50 tcenter' v-model='childItem.UsePeopleNum' type="number"
@input='calculationPrice(subItem)' @keyup.native="checkInteger(childItem,'UsePeopleNum')"></el-input> @input='calculationPrice(subItem)' @keyup.native="checkInteger(childItem,'UsePeopleNum')"></el-input>
</td> </td>
<td> <td>
...@@ -86,7 +91,12 @@ ...@@ -86,7 +91,12 @@
<span class="spanlink" v-if='childItem.PeoplePrice==0' <span class="spanlink" v-if='childItem.PeoplePrice==0'
@click="goUrl('ticketManagement',subItem,'门票管理')">设置</span> @click="goUrl('ticketManagement',subItem,'门票管理')">设置</span>
<span v-else> <span v-else>
{{childItem.PeoplePrice}} <template v-if="CurrentUserInfo.EmployeeId==615">
<el-input class='w135' v-model='childItem.PeoplePrice' @keyup.native="checkPrice(childItem,'PeoplePrice')" type="text"></el-input>
</template>
<template v-else>
{{childItem.PeoplePrice}}
</template>
</span> </span>
</td> </td>
<td> <td>
...@@ -127,8 +137,8 @@ ...@@ -127,8 +137,8 @@
</tr> </tr>
</table> </table>
</td> </td>
<td v-if="childIndex==0" :rowspan="3" > <td v-if="childIndex==0" :rowspan="3">
<el-input type='textarea' rows="4" class='w170' v-model='subItem.Remarks'></el-input> <el-input type='textarea' rows="4" class='w170' v-model='subItem.Remarks'></el-input>
</td> </td>
</tr> </tr>
</template> </template>
...@@ -148,7 +158,9 @@ ...@@ -148,7 +158,9 @@
flightTotal: 0, flightTotal: 0,
GuestNum: 0, GuestNum: 0,
loading: false, loading: false,
IsOperation:'', IsOperation: '',
//当前登录人信息
CurrentUserInfo:{},
} }
}, },
methods: { methods: {
...@@ -209,9 +221,8 @@ ...@@ -209,9 +221,8 @@
if (!subItem.Discount) { if (!subItem.Discount) {
subItem.Discount = 0; subItem.Discount = 0;
} }
if(!subItem.UsePeopleNum) if (!subItem.UsePeopleNum) {
{ subItem.UsePeopleNum = 0;
subItem.UsePeopleNum=0;
} }
}); });
}) })
...@@ -225,9 +236,8 @@ ...@@ -225,9 +236,8 @@
if (!subItem.Discount) { if (!subItem.Discount) {
subItem.Discount = 0; subItem.Discount = 0;
} }
if(!subItem.UsePeopleNum) if (!subItem.UsePeopleNum) {
{ subItem.UsePeopleNum = 0;
subItem.UsePeopleNum=0;
} }
}); });
}) })
...@@ -244,6 +254,8 @@ ...@@ -244,6 +254,8 @@
}, },
}, },
mounted() { mounted() {
let userInfo = this.getLocalStorage();
this.CurrentUserInfo = userInfo;
this.TCNUM = this.$route.query.TCNUM; this.TCNUM = this.$route.query.TCNUM;
this.flightTotal = this.$route.query.flightTotal; this.flightTotal = this.$route.query.flightTotal;
this.GuestNum = this.$route.query.GuestNum; this.GuestNum = this.$route.query.GuestNum;
......
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