Commit adead566 authored by 罗超's avatar 罗超
parents 8c2d4644 4fee25bb
......@@ -299,20 +299,20 @@
<div class="_conten">
<template v-if="!otherTable">
<template v-if="GetDetail.Type!==1 && GetDetail.Type!==7 && GetDetail.Type!=4 && showModel">
<my-Bill :GetDetail="GetDetail" v-on:headCallBack="headCall" :width="widthSon" :color="colorSon"></my-Bill>
<my-Bill :ID="FrID" :GetDetail="GetDetail" v-on:headCallBack="headCall" :width="widthSon" :color="colorSon"></my-Bill>
</template>
<template v-else-if="GetDetail.Type===4 && showModel">
<new-Bill :GetDetail="GetDetail"></new-Bill>
<new-Bill :ID="FrID" :GetDetail="GetDetail"></new-Bill>
</template>
<template v-else-if="GetDetail.Type===1 && GetDetail.Type!==7 && showModel">
<my-RVB-Bill :GetDetail="GetDetail" :width="widthSon" :color="colorSon"></my-RVB-Bill>
<my-RVB-Bill :ID="FrID" :GetDetail="GetDetail" :width="widthSon" :color="colorSon"></my-RVB-Bill>
</template>
<template v-else-if="GetDetail.Type===7 && showModel">
<my-GZ-Bill :GetDetail="GetDetail" :width="widthSon" :color="colorSon"></my-GZ-Bill>
<my-GZ-Bill :ID="FrID" :GetDetail="GetDetail" :width="widthSon" :color="colorSon"></my-GZ-Bill>
</template>
</template>
<template v-else-if="showModel">
<my-DJ-Bill :GetDetail="GetDetail" :width="widthSon" :color="colorSon"></my-DJ-Bill>
<my-DJ-Bill :ID="FrID" :GetDetail="GetDetail" :width="widthSon" :color="colorSon"></my-DJ-Bill>
</template>
<div class="_explain">
......
......@@ -355,12 +355,12 @@ export default {
})
}
},
Financial_post_GetDetail(id){ //获取单据详情
if(!id) return
Financial_post_GetDetail(){ //获取单据详情
// if(!id) return
this.loading = true;
this.apipost('Financial_post_GetDetail',{ID:id}, res => {
if(res.data.resultCode == 1) {
let data= res.data.data;
// this.apipost('Financial_post_GetDetail',{ID:id}, res => {
// if(res.data.resultCode == 1) {
let data = this.GetDetail;
data.DetailList.forEach(x=>{
x.UnitPrice = this.$commonUtils.addCommas(Math.round(x.UnitPrice * 100) / 100)
x.Money = Math.round(x.Money * 100) / 100
......@@ -381,8 +381,8 @@ export default {
this.loading=false
// this.$set(this.$data,"GetDetail",data);
// console.log(this.GetDetail)
}
}, err => {})
// }
// }, err => {})
},
},mounted(){
// console.log(this.ID+"mounted")
......@@ -394,9 +394,7 @@ export default {
this.EndDate = yaer + '-' + month + '-' + dateS;
let userInfo = this.getLocalStorage();
this.EmployeeId = userInfo.EmployeeId;
if (this.ID){
this.Financial_post_GetDetail(this.ID);
}
this.Financial_post_GetDetail();
},watch: { // 监听参数变化
// GetDetail: {
......
......@@ -136,11 +136,11 @@ export default {
this.picIsShow= true;
},
Financial_post_GetDetail(id){ //获取单据详情
if(!id) return
// if(!id) return
this.loading = true;
this.apipost('Financial_post_GetDetail',{ID:id}, res => {
if(res.data.resultCode == 1) {
let data= res.data.data;
// this.apipost('Financial_post_GetDetail',{ID:id}, res => {
// if(res.data.resultCode == 1) {
let data= this.GetDetail;
let Money = 0;
data.DetailList.forEach(x=>{
x.UnitPrice = this.$commonUtils.addCommas(Math.round(x.UnitPrice * 100) / 100);
......@@ -158,11 +158,11 @@ export default {
data.AuditSteps.reverse();
this.GetDetail = data;
this.loading=false;
}
}, err => {})
// }
// }, err => {})
},
},mounted(){
// this.Financial_post_GetDetail(this.ID)
this.Financial_post_GetDetail()
},watch: { // 监听参数变化
// GetDetail: {
// handler: function(val, oldVal) {
......
......@@ -332,12 +332,12 @@
})
}
},
Financial_post_GetDetail(id){ //获取单据详情
if(!id) return
Financial_post_GetDetail(){ //获取单据详情
// if(!id) return
this.loading = true;
this.apipost('Financial_post_GetDetail',{ID:id}, res => {
if(res.data.resultCode == 1) {
let data= res.data.data;
// this.apipost('Financial_post_GetDetail',{ID:id}, res => {
// if(res.data.resultCode == 1) {
let data= this.GetDetail;
data.DetailList.forEach(x=>{
x.UnitPrice = this.$commonUtils.addCommas(Math.round(x.UnitPrice * 100) / 100)
x.Money = Math.round(x.Money * 100) / 100
......@@ -362,8 +362,8 @@
this.loading=false
// this.$set(this.$data,"GetDetail",data);
// console.log(this.GetDetail)
}
}, err => {})
// }
// }, err => {})
},
},mounted(){
// console.log(this.ID+"mounted")
......@@ -375,7 +375,7 @@
this.EndDate = yaer + '-' + month + '-' + dateS;
let userInfo = this.getLocalStorage();
this.EmployeeId = userInfo.EmployeeId;
// this.Financial_post_GetDetail(this.ID);
this.Financial_post_GetDetail();
},watch: { // 监听参数变化
// GetDetail: {
// handler: function(val, oldVal) {
......
......@@ -372,12 +372,12 @@ export default {
})
}
},
Financial_post_GetDetail(id){ //获取单据详情
if(!id) return
Financial_post_GetDetail(){ //获取单据详情
// if(!id) return
this.loading = true;
this.apipost('Financial_post_GetDetail',{ID:id}, res => {
if(res.data.resultCode == 1) {
let data= res.data.data;
// this.apipost('Financial_post_GetDetail',{ID:id}, res => {
// if(res.data.resultCode == 1) {
let data= this.GetDetail;
data.DetailList.forEach(x=>{
x.UnitPrice = this.$commonUtils.addCommas(Math.round(x.UnitPrice * 100) / 100)
x.Money = Math.round(x.Money * 100) / 100
......@@ -397,8 +397,8 @@ export default {
this.loading=false
// this.$set(this.$data,"GetDetail",data);
// console.log(this.GetDetail)
}
}, err => {})
// }
// }, err => {})
},
},mounted(){
// console.log(this.ID+"mounted")
......@@ -410,7 +410,7 @@ export default {
this.EndDate = yaer + '-' + month + '-' + dateS;
let userInfo = this.getLocalStorage();
this.EmployeeId = userInfo.EmployeeId;
// this.Financial_post_GetDetail(this.ID);
this.Financial_post_GetDetail();
},watch: { // 监听参数变化
// GetDetail: {
// handler: function(val, oldVal) {
......
......@@ -282,12 +282,12 @@
})
}
},
Financial_post_GetDetail(id){ //获取单据详情
if(!id) return
this.loading = true;
this.apipost('Financial_post_GetDetail',{ID:id}, res => {
if(res.data.resultCode == 1) {
let data= res.data.data;
Financial_post_GetDetail(){ //获取单据详情
// if(!id) return
// this.loading = true;
// this.apipost('Financial_post_GetDetail',{ID:id}, res => {
// if(res.data.resultCode == 1) {
let data= this.GetDetail;
data.DetailList.forEach(x=>{
x.UnitPrice = this.$commonUtils.addCommas(Math.round(x.UnitPrice * 100) / 100)
x.Money = Math.round(x.Money * 100) / 100
......@@ -302,8 +302,8 @@
this.loading=false
// this.$set(this.$data,"GetDetail",data);
// console.log(this.GetDetail)
}
}, err => {})
// }
// }, err => {})
},
},mounted(){
console.log(this.GetDetail,"mounted")
......@@ -315,7 +315,7 @@
this.EndDate = yaer + '-' + month + '-' + dateS;
let userInfo = this.getLocalStorage();
this.EmployeeId = userInfo.EmployeeId;
// this.Financial_post_GetDetail(this.ID);
this.Financial_post_GetDetail();
},watch: { // 监听参数变化
// GetDetail: {
// handler: function(val, oldVal) {
......
......@@ -336,12 +336,12 @@ export default {
})
}
},
Financial_post_GetDetail(id){ //获取单据详情
if(!id) return;
Financial_post_GetDetail(){ //获取单据详情
// if(!id) return;
this.loading = true;
this.apipost('Financial_post_GetDetail',{ID:id}, res => {
if(res.data.resultCode == 1) {
let data= res.data.data;
// this.apipost('Financial_post_GetDetail',{ID:id}, res => {
// if(res.data.resultCode == 1) {
let data = this.GetDetail;
let numberC = 0;
let price = 0;
let rate = 0;
......@@ -364,8 +364,8 @@ export default {
this.loading=false
// this.$set(this.$data,"GetDetail",data);
// console.log(this.GetDetail)
}
}, err => {})
// }
// }, err => {})
},
},mounted(){
// console.log(this.ID+"mounted")
......@@ -377,9 +377,7 @@ export default {
this.EndDate = yaer + '-' + month + '-' + dateS;
let userInfo = this.getLocalStorage();
this.EmployeeId = userInfo.EmployeeId;
if (this.ID){
this.Financial_post_GetDetail(this.ID);
}
this.Financial_post_GetDetail();
// this.Financial_post_GetDetail(this.ID);
},watch: { // 监听参数变化
// GetDetail: {
......
......@@ -119,7 +119,7 @@
{{subItem.HouseStatistics.HouseTypeList[childIndex].HouseTypeName}}
<template v-if="childIndex==4">
<template v-if="subItem.DriverGuideIsRebate==1">
<br />返佣
<br /><span style="color:green">返佣</span>
</template>
<template v-else-if="subItem.DriverGuideIsRebate==0">
<br /><span style="color:red;">不返佣</span>
......@@ -186,11 +186,11 @@
<!-- 房间数 -->
<td>
<el-input class='w40 tcenter' maxlength="2" @keyup.native="checkPrice(childItem,'HouseTypeCount')"
v-model='childItem.HouseTypeCount' :disabled="childIndex<4?true:false"></el-input>
v-model='childItem.HouseTypeCount' :disabled="true"></el-input>
</td>
<td>
<el-input class='w40 tcenter' maxlength="2" @keyup.native="checkInteger(childItem,'BookNum')"
@input="calculationPrice(subItem)" v-model='childItem.BookNum' :disabled="childIndex<4?true:false">
@input="calculationPrice(subItem)" v-model='childItem.BookNum' :disabled="true">
</el-input>
</td>
<!-- 尚差房间数 -->
......@@ -220,7 +220,7 @@
<!-- 返佣类型 -->
<td style="white-space:nowrap;" v-if="childIndex==0" :rowspan="6">
<template v-if="subItem.RebateType==1">
含税
<span style="color:green">含税</span>
</template>
<template v-else>
<span style="color:red"> 不含税</span>
......@@ -690,8 +690,7 @@
if (obj.TaxType == 2) {
if (index == 4) {
if (obj.DriverGuideIsRebate == 1) {
totalPrice += item.UnitPrice * (item.BookNum - item.HotelDiscount) * (1 + 0.08 - item.RebateRatio /
100);
totalPrice += item.UnitPrice * (item.BookNum - item.HotelDiscount) * (1 + 0.08 - item.RebateRatio / 100);
} else {
totalPrice += item.UnitPrice * (item.BookNum - item.HotelDiscount) * (1 - item.RebateRatio / 100);
}
......
......@@ -1371,10 +1371,11 @@
<el-col :span="2">
<span class="_lian_style" v-if="item.IsSetUnion==1"></span>
<div class="_oll_img_box">
<span class="TICK_Code PingFangSC">编号:{{item.ID}}&nbsp;&nbsp;天数:<span style="color:#ff0066;font-weight:bold">{{item.DayNum}}</span></span>
<span class="TICK_Code PingFangSC">编号:{{item.ID}} </span>
<img v-if="!item.AirlineUrl" class="_oll_img" :src="defaultImg">
<img v-else class="_oll_img" :src="item.AirlineUrl" :onerror="defaultImg">
</div>
<span style="display:block;padding-left:10px;" title="国际段">行程天数:<span style="color:#ff0066;font-weight:bold">{{item.DayNum}}</span></span>
</el-col>
<el-col :span="2" class="vmiddle" style="width:85px;">
<div class="_oll_info">
......
......@@ -899,7 +899,7 @@
</div>
<div style="text-align:center">
<p style="font-size:26px;color:#111111;margin:40px 0">第{{tsNumber}}期投诉案例分享已经发布</p>
<a @click="CloseTs" href="http://we.oytour.com:8110/?/article/8" style="font-size:18px;color:#E95252;cursor:pointer;text-decoration:underline">点击查看</a>
<a @click="CloseTs" target="_blank" href="http://we.oytour.com:8110/?/article/8" style="font-size:18px;color:#E95252;cursor:pointer;text-decoration:underline">点击查看</a>
</div>
</div>
</div>
......
This diff is collapsed.
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