Commit 7b4d0846 authored by 黄奎's avatar 黄奎

新增页面

parent a46a29b3
...@@ -350,6 +350,12 @@ var commonUtils = { ...@@ -350,6 +350,12 @@ var commonUtils = {
//返回年月日 //返回年月日
return myDate.getFullYear() + '-' + parseInt(myDate.getMonth() + 1) + "-" + myDate.getDate() return myDate.getFullYear() + '-' + parseInt(myDate.getMonth() + 1) + "-" + myDate.getDate()
}, },
//格式化日期
getFormatDate(dateStr) {
var myDate = new Date(dateStr);
//返回年月日
return myDate.getFullYear() + '-' + parseInt(myDate.getMonth() + 1) + "-" + myDate.getDate()
},
//判断字符串是否为数字 //判断字符串是否为数字
isNumber: function (val) { isNumber: function (val) {
var regPos = /^\d+(\.\d+)?$/; //非负浮点数 var regPos = /^\d+(\.\d+)?$/; //非负浮点数
......
...@@ -426,7 +426,7 @@ ...@@ -426,7 +426,7 @@
</td> </td>
<td> <td>
<el-input v-model="hItem.Times" @keyup.native="checkInteger(hItem,'Times'),CalcFeeTotal()" <el-input v-model="hItem.Times" @keyup.native="checkInteger(hItem,'Times'),CalcFeeTotal()"
placeholder="次/N數" maxlength="1" class="w150"></el-input> placeholder="次/N數" maxlength="2" class="w150"></el-input>
</td> </td>
<td> <td>
{{hItem.TotalNum}} {{hItem.TotalNum}}
...@@ -553,7 +553,7 @@ ...@@ -553,7 +553,7 @@
</td> </td>
<td> <td>
<el-input v-model="childItem.Times" @keyup.native="checkInteger(childItem,'Times'),CalcFeeTotal()" <el-input v-model="childItem.Times" @keyup.native="checkInteger(childItem,'Times'),CalcFeeTotal()"
placeholder="次/N數" maxlength="1" class="w150"></el-input> placeholder="次/N數" maxlength="2" class="w150"></el-input>
</td> </td>
<td> <td>
{{childItem.TotalNum}} 人 {{childItem.TotalNum}} 人
...@@ -674,7 +674,7 @@ ...@@ -674,7 +674,7 @@
</td> </td>
<td> <td>
<el-input v-model="childItem.Times" @keyup.native="checkInteger(childItem,'Times'),CalcFeeTotal()" <el-input v-model="childItem.Times" @keyup.native="checkInteger(childItem,'Times'),CalcFeeTotal()"
placeholder="次/N數" maxlength="1" class="w150"></el-input> placeholder="次/N數" maxlength="2" class="w150"></el-input>
</td> </td>
<td> <td>
{{childItem.TotalNum}} 人 {{childItem.TotalNum}} 人
...@@ -880,7 +880,7 @@ ...@@ -880,7 +880,7 @@
</td> </td>
<td> <td>
<el-input v-model="childItem.Times" @keyup.native="checkInteger(childItem,'Times'),CalcFeeTotal()" <el-input v-model="childItem.Times" @keyup.native="checkInteger(childItem,'Times'),CalcFeeTotal()"
placeholder="次/N數" maxlength="1" class="w150"></el-input> placeholder="次/N數" maxlength="2" class="w150"></el-input>
</td> </td>
<td> <td>
{{childItem.TotalNum}} {{childItem.TotalNum}}
...@@ -973,15 +973,15 @@ ...@@ -973,15 +973,15 @@
</td> </td>
<td> <td>
<el-input v-model="childItem.DayNum" @keyup.native="checkInteger(childItem,'DayNum'),CalcFeeTotal()" <el-input v-model="childItem.DayNum" @keyup.native="checkInteger(childItem,'DayNum'),CalcFeeTotal()"
placeholder="次/N數" maxlength="1" class="w150"></el-input> placeholder="次/N數" maxlength="2" class="w150"></el-input>
</td> </td>
<td> <td>
<el-input v-model="childItem.Times" @keyup.native="checkInteger(childItem,'Times'),CalcFeeTotal()" <el-input v-model="childItem.Times" @keyup.native="checkInteger(childItem,'Times'),CalcFeeTotal()"
placeholder="次/N數" maxlength="1" class="w150"></el-input> placeholder="次/N數" maxlength="2" class="w150"></el-input>
</td> </td>
<td> <td>
<el-input v-model="childItem.FOCNum" @keyup.native="checkInteger(childItem,'FOCNum'),CalcFeeTotal()" <el-input v-model="childItem.FOCNum" @keyup.native="checkInteger(childItem,'FOCNum'),CalcFeeTotal()"
placeholder="FOC" maxlength="1" class="w150"></el-input> placeholder="FOC" maxlength="2" class="w150"></el-input>
</td> </td>
<td> <td>
{{childItem.USSubTotal}} {{childItem.USSubTotal}}
...@@ -1073,7 +1073,7 @@ ...@@ -1073,7 +1073,7 @@
</td> </td>
<td> <td>
<el-input v-model="childItem.FOCNum" @keyup.native="checkInteger(childItem,'FOCNum'),CalcFeeTotal()" <el-input v-model="childItem.FOCNum" @keyup.native="checkInteger(childItem,'FOCNum'),CalcFeeTotal()"
placeholder="次/N數" maxlength="1" class="w150"></el-input> placeholder="次/N數" maxlength="2" class="w150"></el-input>
</td> </td>
<td> <td>
{{childItem.USSubTotal}} {{childItem.USSubTotal}}
...@@ -1163,7 +1163,7 @@ ...@@ -1163,7 +1163,7 @@
</td> </td>
<td> <td>
<el-input v-model="childItem.FOCNum" @keyup.native="checkInteger(childItem,'FOCNum'),CalcFeeTotal()" <el-input v-model="childItem.FOCNum" @keyup.native="checkInteger(childItem,'FOCNum'),CalcFeeTotal()"
placeholder="次/N數" maxlength="1" class="w150"></el-input> placeholder="次/N數" maxlength="2" class="w150"></el-input>
</td> </td>
<td> <td>
{{childItem.USSubTotal}} {{childItem.USSubTotal}}
...@@ -1235,10 +1235,10 @@ ...@@ -1235,10 +1235,10 @@
房費 房費
</td> </td>
<td> <td>
{{HotelSum.USPriceSum}} {{(HotelSum.USPriceSum/2).toFixed(2)}}
</td> </td>
<td> <td>
{{HotelSum.VNDPriceSum}} {{(HotelSum.VNDPriceSum/2).toFixed(2)}}
</td> </td>
<td> <td>
{{HotelSum.USTotalSum}} {{HotelSum.USTotalSum}}
...@@ -1305,6 +1305,7 @@ ...@@ -1305,6 +1305,7 @@
<td> <td>
</td> </td>
<td> <td>
{{(BusSum.VNDTotalSum/getPeopleNum.totalNum).toFixed(2)}}
</td> </td>
<td> <td>
</td> </td>
...@@ -1317,10 +1318,10 @@ ...@@ -1317,10 +1318,10 @@
船 或 導遊機票 船 或 導遊機票
</td> </td>
<td> <td>
{{ShipSum.USPriceSum}} {{(ShipSum.USPriceSum/getPeopleNum.totalNum).toFixed(2)}}
</td> </td>
<td> <td>
{{ShipSum.VNDPriceSum}} {{(ShipSum.VNDPriceSum/getPeopleNum.totalNum).toFixed(2)}}
</td> </td>
<td> <td>
{{ShipSum.USTotalSum}} {{ShipSum.USTotalSum}}
...@@ -1411,6 +1412,7 @@ ...@@ -1411,6 +1412,7 @@
SWTOtherPayList: [], //杂支信息 SWTOtherPayList: [], //杂支信息
SWTSelfFeeList: [], //自费明细 SWTSelfFeeList: [], //自费明细
SWTTipFeeList: [], //小费明细 SWTTipFeeList: [], //小费明细
AuditStatus: -1, //审核状态
}, },
BusTypeList: [], //车辆类型 BusTypeList: [], //车辆类型
//酒店统计 //酒店统计
...@@ -1809,6 +1811,11 @@ ...@@ -1809,6 +1811,11 @@
} }
}) })
} }
if (type == 0) {
this.postData.AuditStatus = -1;
} else {
this.postData.AuditStatus = 0;
}
this.apipost("travel_post_SetBaoJiaDanSwtService", this.postData, res => { this.apipost("travel_post_SetBaoJiaDanSwtService", this.postData, res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.Id = res.data.data; this.Id = res.data.data;
...@@ -2182,7 +2189,7 @@ ...@@ -2182,7 +2189,7 @@
} }
this.ZaZhiSum.USPriceSingle = USPrice_Single.toFixed(2); this.ZaZhiSum.USPriceSingle = USPrice_Single.toFixed(2);
this.ZaZhiSum.VNDPriceSum=subVNDPrice.toFixed(2); this.ZaZhiSum.VNDPriceSum = subVNDPrice.toFixed(2);
var VNDPrice_Single = 0; var VNDPrice_Single = 0;
if (this.postData.GuestNum > 0) { if (this.postData.GuestNum > 0) {
VNDPrice_Single = parseFloat(subVNDPrice) / parseFloat(this.postData.GuestNum); VNDPrice_Single = parseFloat(subVNDPrice) / parseFloat(this.postData.GuestNum);
......
...@@ -134,6 +134,22 @@ ...@@ -134,6 +134,22 @@
<div style="margin: 0 13px 0 10px;" class="newQuostayDays"> <div style="margin: 0 13px 0 10px;" class="newQuostayDays">
{{item.DayNum}}</div> {{item.DayNum}}</div>
</div> </div>
<div class="_cent">
<div style="margin: 0 13px 0 10px;" class="newQuostayDays">
审核人: {{item.AuditMan}} </div>
</div>
<div class="_cent">
<div style="margin: 0 13px 0 10px;" class="newQuostayDays">
审核状态: {{item.AuditStatusStr}} </div>
</div>
<div class="_cent">
<div style="margin: 0 13px 0 10px;" class="newQuostayDays">
审核时间: {{item.AuditTimeStr}} </div>
</div>
<div class="_cent">
<div style="margin: 0 13px 0 10px;" class="newQuostayDays">
意见: {{item.AuditContent}} </div>
</div>
<div class="_right"> <div class="_right">
<div class="AuditUserInfo clearfix aa" style="margin-left:10px;"> <div class="AuditUserInfo clearfix aa" style="margin-left:10px;">
<div class="AuditDanHeader"> <div class="AuditDanHeader">
...@@ -239,6 +255,7 @@ ...@@ -239,6 +255,7 @@
total: 0, total: 0,
currentPage: 1, currentPage: 1,
Title: "", Title: "",
AuditStatus: -1,
}, },
loading: true, loading: true,
//线路列表 //线路列表
......
...@@ -2938,6 +2938,14 @@ export default { ...@@ -2938,6 +2938,14 @@ export default {
title: '制作报价单' title: '制作报价单'
}, },
}, },
{ //新版制作报价单详情[SWT旅行社]
path: '/QuotationPrice_SWT_details',
name: 'QuotationPrice_SWT_details',
component: resolve => require(['@/components/TravelManager/TravelNewQuotation/QuotationPrice_SWT_details'], resolve),
meta: {
title: '制作报价单'
},
},
{ //新版报价单审核 { //新版报价单审核
path: '/QuotationAduit', path: '/QuotationAduit',
name: 'QuotationAduit', name: 'QuotationAduit',
...@@ -3025,7 +3033,18 @@ export default { ...@@ -3025,7 +3033,18 @@ export default {
meta: { meta: {
title: '审核单' title: '审核单'
}, },
}, { //团控-报价详情
},
{ //团控-审核单
path: '/SWTAuditDan',
name: 'SWTAuditDan',
component: resolve => require(['@/components/TravelManager/TravelNewQuotation/SWTAuditDan'], resolve),
meta: {
title: '审核单'
},
},
{ //团控-报价详情
path: '/QuotationDetails', path: '/QuotationDetails',
name: 'QuotationDetails', name: 'QuotationDetails',
component: resolve => require(['@/components/TravelManager/TravelGroupControl/QuotationDetails'], resolve), component: resolve => require(['@/components/TravelManager/TravelGroupControl/QuotationDetails'], resolve),
......
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