Commit 9c80eeb0 authored by 黄媛媛's avatar 黄媛媛
parents 20bfce7d 50f2a4e6
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
<td> <td>
<div class="padding10">{{item.Titles}}</div> <div class="padding10">{{item.Titles}}</div>
</td> </td>
<td>{{item.TCNUMS}}</td> <td>{{item.TCNUMS + '(' + item.TCIDS}})</td>
<td>{{NewCombinationNum}}</td> <td>{{NewCombinationNum}}</td>
<td>{{item.FlightDate}}</td> <td>{{item.FlightDate}}</td>
<td>{{item.DayNum}}</td> <td>{{item.DayNum}}</td>
......
...@@ -131,7 +131,9 @@ ...@@ -131,7 +131,9 @@
top: 0; top: 0;
cursor: pointer; cursor: pointer;
} }
.colorRed input{
color: red !important;
}
</style> </style>
<template> <template>
<div class="addPassenger"> <div class="addPassenger">
...@@ -219,7 +221,7 @@ ...@@ -219,7 +221,7 @@
</li> </li>
<li> <li>
<el-form-item label="护照过期日" prop="PassportExpiry"> <el-form-item label="护照过期日" prop="PassportExpiry">
<el-date-picker v-model='addMsg.PassportExpiry' class="w230" value-format="yyyy-MM-dd" type="date" <el-date-picker v-model='addMsg.PassportExpiry' class="w230" :class=" guoqi ? 'colorRed' : ''" @change="timeOver" value-format="yyyy-MM-dd" type="date"
placeholder="选择日期"></el-date-picker> placeholder="选择日期"></el-date-picker>
</el-form-item> </el-form-item>
</li> </li>
...@@ -776,9 +778,23 @@ ...@@ -776,9 +778,23 @@
roomlist:[], roomlist:[],
isOneDay: 0, isOneDay: 0,
LineId: 0, LineId: 0,
EndDateStr: '',
guoqi: false,
}; };
}, },
methods: { methods: {
CompareDate(d1, d2){
return ((new Date(d1.replace(/-/g,"\/"))) < (new Date(d2.replace(/-/g,"\/"))));
},
timeOver: function(){
this.guoqi = this.CompareDate(this.addMsg.PassportExpiry, this.EndDateStr)
// console.log(this.CompareDate(this.addMsg.PassportExpiry, this.EndDateStr))
// console.log(this.addMsg.PassportExpiry, this.EndDateStr)
if (this.guoqi) {
this.$message.error("客人护照过期时间小于团队出发日期后六个月")
return
}
},
getAccessToken() { getAccessToken() {
let url = let url =
this.BD_GET_ACCESS_TOKEN + this.BD_GET_ACCESS_TOKEN +
...@@ -1518,6 +1534,7 @@ ...@@ -1518,6 +1534,7 @@
} }
}, },
savePassenger(type) { savePassenger(type) {
this.timeOver()
if ((this.LineId === 14 || this.LineId === 2) && this.addMsg.IdCard === '') { if ((this.LineId === 14 || this.LineId === 2) && this.addMsg.IdCard === '') {
return this.$message.error('请填写身份证号码!'); return this.$message.error('请填写身份证号码!');
} }
...@@ -1996,6 +2013,7 @@ ...@@ -1996,6 +2013,7 @@
this.LineId = this.$route.query.LineId; this.LineId = this.$route.query.LineId;
this.addMsg.TCID = this.$route.query.TCID; this.addMsg.TCID = this.$route.query.TCID;
this.addMsg.OrderId = this.$route.query.orderId; this.addMsg.OrderId = this.$route.query.orderId;
this.EndDateStr = this.$route.query.EndDateStr;
let userInfo = this.getLocalStorage(); let userInfo = this.getLocalStorage();
var BranchName = userInfo.BranchName; var BranchName = userInfo.BranchName;
if (BranchName.search("武汉") != -1) { if (BranchName.search("武汉") != -1) {
......
...@@ -90,6 +90,7 @@ ...@@ -90,6 +90,7 @@
tableList: [], tableList: [],
isOneDay: 0, isOneDay: 0,
LineId: 0, LineId: 0,
EndDateStr: ""
}; };
}, },
methods: { methods: {
...@@ -103,6 +104,7 @@ ...@@ -103,6 +104,7 @@
this.tableList = res.data.data.list; this.tableList = res.data.data.list;
this.isOneDay = res.data.data.IsOneDay; this.isOneDay = res.data.data.IsOneDay;
this.LineId = res.data.data.LineId; this.LineId = res.data.data.LineId;
this.EndDateStr = res.data.data.EndDateStr
} else { } else {
this.$message.error(res.data.message) this.$message.error(res.data.message)
} }
...@@ -136,6 +138,7 @@ ...@@ -136,6 +138,7 @@
'guestId': guestId, 'guestId': guestId,
'isOneDay': this.isOneDay, 'isOneDay': this.isOneDay,
'LineId': this.LineId, 'LineId': this.LineId,
"EndDateStr": this.EndDateStr
} }
}); });
}, },
......
...@@ -60,6 +60,7 @@ ...@@ -60,6 +60,7 @@
<th width="80">返佣总计</th> <th width="80">返佣总计</th>
<th width="80">汇率</th> <th width="80">汇率</th>
<th width="80">凭证</th> <th width="80">凭证</th>
<th width="100">备注</th>
<th width="80">财务单据</th> <th width="80">财务单据</th>
<th width="80">操作</th> <th width="80">操作</th>
</tr> </tr>
...@@ -137,6 +138,9 @@ ...@@ -137,6 +138,9 @@
<p v-for="(img, imgIndex) in subItem.dmcImageList" title="点击下载" @click="downLoadPZ(img)" <p v-for="(img, imgIndex) in subItem.dmcImageList" title="点击下载" @click="downLoadPZ(img)"
v-if="img !== ''" style="cursor: pointer;color:blue;">{{ '凭证' + (imgIndex + 1)}}</p> v-if="img !== ''" style="cursor: pointer;color:blue;">{{ '凭证' + (imgIndex + 1)}}</p>
</td> </td>
<td width="80" :rowspan="item.ShopDetailsList.length" v-if='subIndex==0'>
{{subItem.Remarks}}
</td>
<td :rowspan="item.ShopDetailsList.length" v-if='subIndex==0' style=""> <td :rowspan="item.ShopDetailsList.length" v-if='subIndex==0' style="">
<!-- style="display:none;" --> <!-- style="display:none;" -->
<div > <div >
...@@ -234,7 +238,6 @@ ...@@ -234,7 +238,6 @@
}, },
methods: { methods: {
goCreateHandBill: function () { goCreateHandBill: function () {
console.log(this.CreateHandBillID)
let obj = {} let obj = {}
for(let i = 0; i < this.CreateHandBillList.length; i++) { for(let i = 0; i < this.CreateHandBillList.length; i++) {
if (this.CreateHandBillList[i].id == this.CreateHandBillID) { if (this.CreateHandBillList[i].id == this.CreateHandBillID) {
......
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
<th width="120">备注</th> <th width="120">备注</th>
</tr> </tr>
<tr v-if="list.length==0"> <tr v-if="list.length==0">
<td colspan="13">暂无数据</td> <td colspan="15">暂无数据</td>
</tr> </tr>
<tbody v-for="(item,outindex) in list" :class="{roomReservationsSplitTrCss:outindex%2!=0}"> <tbody v-for="(item,outindex) in list" :class="{roomReservationsSplitTrCss:outindex%2!=0}">
<tr v-for="(subItem,subIndex) in item.ShopDetailsList"> <tr v-for="(subItem,subIndex) in item.ShopDetailsList">
......
...@@ -722,6 +722,7 @@ ...@@ -722,6 +722,7 @@
<th width="80">导游提成</th> <th width="80">导游提成</th>
<th width="80">汇率</th> <th width="80">汇率</th>
<th width="80">币种</th> <th width="80">币种</th>
<th width="80">备注</th>
<th width="80">操作</th> <th width="80">操作</th>
</tr> </tr>
<tr v-for="(item,index) in importData" :key="item.subCode" :class="{'IsConflict':item.IsConflict==1}"> <tr v-for="(item,index) in importData" :key="item.subCode" :class="{'IsConflict':item.IsConflict==1}">
...@@ -757,6 +758,7 @@ ...@@ -757,6 +758,7 @@
<td>{{item.GuideExtract}}</td> <td>{{item.GuideExtract}}</td>
<td>{{item.Rate}}</td> <td>{{item.Rate}}</td>
<td :class="{'redType':item.CurrencyExist==-1}"><span>{{item.Currency}}</span></td> <td :class="{'redType':item.CurrencyExist==-1}"><span>{{item.Currency}}</span></td>
<td>{{item.Remarks}}</td>
<td><span class="delInfo" @click="delInfo(index)">删除</span></td> <td><span class="delInfo" @click="delInfo(index)">删除</span></td>
</tr> </tr>
</thead> </thead>
......
This diff is collapsed.
...@@ -7,13 +7,13 @@ ...@@ -7,13 +7,13 @@
</style> </style>
<template> <template>
<div class="flexOne"> <div class="flexOne">
<div class="query-box"> <!-- <div class="query-box">
<ul> <ul>
<li> <li>
<input type="button" class="normalBtn" @click="generateTable" value="生成提成报表"/> <input type="button" class="normalBtn" @click="generateTable" value="生成提成报表"/>
</li> </li>
</ul> </ul>
</div> </div> -->
<table class="singeRowTable" border="0" cellspacing="0" cellpadding="0"> <table class="singeRowTable" border="0" cellspacing="0" cellpadding="0">
<tr> <tr>
<th>期数</th> <th>期数</th>
......
...@@ -3549,6 +3549,14 @@ export default { ...@@ -3549,6 +3549,14 @@ export default {
meta: { meta: {
title: '商城订单管理' title: '商城订单管理'
} }
},
{
path: "/airTicketRules",
name: "airTicketRules",
component: resolve => require(['@/components/Ticketing/airTicketRules'], resolve),
meta: {
title: '票务规则配置'
}
} }
] ]
}, },
......
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