Commit a528dd64 authored by 黄奎's avatar 黄奎

页面修改

parent 53fdc9d8
...@@ -246,6 +246,7 @@ ...@@ -246,6 +246,7 @@
<td>{{item.B2BMemberPrice}}</td> <td>{{item.B2BMemberPrice}}</td>
<td>{{item.TotalSeat}}</td> <td>{{item.TotalSeat}}</td>
<td> <td>
<span :title="$t('objFill.v101.dianjtbmqdan')" class="Order_RS" :class="{'RS_RedType':item.OrderTotalNum>0}" <span :title="$t('objFill.v101.dianjtbmqdan')" class="Order_RS" :class="{'RS_RedType':item.OrderTotalNum>0}"
@click="goUrl('RegistrationList',item.TCID,'设置领队')">{{item.OrderTotalNum-item.OrderLeaderGuestNum}} @click="goUrl('RegistrationList',item.TCID,'设置领队')">{{item.OrderTotalNum-item.OrderLeaderGuestNum}}
<span v-if="item.OrderLeaderGuestNum>0">+{{item.OrderLeaderGuestNum}}</span> <span v-if="item.OrderLeaderGuestNum>0">+{{item.OrderLeaderGuestNum}}</span>
......
...@@ -81,8 +81,8 @@ ...@@ -81,8 +81,8 @@
</td> </td>
<td>{{priceFlight.ArrivalAirPortName}}</td> <td>{{priceFlight.ArrivalAirPortName}}</td>
<td> <td>
<el-input v-if="priceFlight.IsShowTime||priceFlight.IsShow" :placeholder="$t('system.query_arrivalTime')" class="w80" <el-input v-if="priceFlight.IsShowTime||priceFlight.IsShow" :placeholder="$t('system.query_arrivalTime')"
:value="priceFlight.ArrivalTime" @input="e => changeTime(index,e)"> class="w80" :value="priceFlight.ArrivalTime" @input="e => changeTime(index,e)">
</el-input> </el-input>
<span v-else> {{priceFlight.ArrivalTime}}</span> <span v-else> {{priceFlight.ArrivalTime}}</span>
</td> </td>
...@@ -217,21 +217,21 @@ ...@@ -217,21 +217,21 @@
} }
}, },
methods: { methods: {
changeTime(index,value) { changeTime(index, value) {
const valueArr = value.split(':') const valueArr = value.split(':')
if(valueArr.length <= 2) { if (valueArr.length <= 2) {
if(valueArr[0] < 24) { if (valueArr[0] < 24) {
if(!valueArr[1] || valueArr[1] < 60) { if (!valueArr[1] || valueArr[1] < 60) {
this.$set(this.priceFlightList[index], 'ArrivalTime', value) this.$set(this.priceFlightList[index], 'ArrivalTime', value)
} }
} }
} }
}, },
changeDepartureTime(index,value) { changeDepartureTime(index, value) {
const valueArr = value.split(':') const valueArr = value.split(':')
if(valueArr.length <= 2) { if (valueArr.length <= 2) {
if(valueArr[0] < 24) { if (valueArr[0] < 24) {
if(!valueArr[1] || valueArr[1] < 60) { if (!valueArr[1] || valueArr[1] < 60) {
this.$set(this.priceFlightList[index], 'DepartureTime', value) this.$set(this.priceFlightList[index], 'DepartureTime', value)
} }
} }
...@@ -263,7 +263,7 @@ ...@@ -263,7 +263,7 @@
//交通类型切换 //交通类型切换
getTrafficType(item) { getTrafficType(item) {
if (item.TrafficType == 2) { if (item.TrafficType == 2) {
this.airLineSelectChange(item,1); this.airLineSelectChange(item, 1);
} }
}, },
//航空公司下拉 //航空公司下拉
...@@ -287,7 +287,7 @@ ...@@ -287,7 +287,7 @@
msg, msg,
res => { res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
item.airportNameList =[]; item.airportNameList = [];
item.airportNameList = res.data.data item.airportNameList = res.data.data
} }
}, },
...@@ -306,8 +306,9 @@ ...@@ -306,8 +306,9 @@
} }
}) })
}, },
initFlightList(AirTicketId) { initFlightList(AirTicketId, TCID) {
let msg = { let msg = {
TCID: TCID,
AirTicketId: AirTicketId, AirTicketId: AirTicketId,
DeleteAirticketIds: '' DeleteAirticketIds: ''
} }
...@@ -353,10 +354,10 @@ ...@@ -353,10 +354,10 @@
}, },
//保存航班信息 //保存航班信息
savePriceFlight(item) { savePriceFlight(item) {
if(!/([0|1][0-9])|(2[0|1|2|3]):[0|1|2|3|4|5][0-9]/.test(item.DepartureTime)) { if (!/([0|1][0-9])|(2[0|1|2|3]):[0|1|2|3|4|5][0-9]/.test(item.DepartureTime)) {
this.$message.error(this.$t('objFill.qifeijgesbd')) this.$message.error(this.$t('objFill.qifeijgesbd'))
return return
} else if(!/([0|1][0-9])|(2[0|1|2|3]):[0|1|2|3|4|5][0-9]/.test(item.ArrivalTime)) { } else if (!/([0|1][0-9])|(2[0|1|2|3]):[0|1|2|3|4|5][0-9]/.test(item.ArrivalTime)) {
this.$message.error(this.$t('objFill.daodasjgsbd')) this.$message.error(this.$t('objFill.daodasjgsbd'))
return return
} }
...@@ -399,7 +400,7 @@ ...@@ -399,7 +400,7 @@
var that = this var that = this
var msg = that.$t('sm.shanchuhangbbnhf') var msg = that.$t('sm.shanchuhangbbnhf')
if (type == 2) { if (type == 2) {
msg = this.$t('objFill.yingcanhbxs')+'【' + item.FlightNumber + '】'+ this.$t('objFill.hangbanqjscz') msg = this.$t('objFill.yingcanhbxs') + '【' + item.FlightNumber + '】' + this.$t('objFill.hangbanqjscz')
} }
that.Confirm(msg, function () { that.Confirm(msg, function () {
if (index > -1) { if (index > -1) {
...@@ -458,7 +459,7 @@ ...@@ -458,7 +459,7 @@
init() { init() {
this.postData = this.priceData this.postData = this.priceData
if (this.postData.AirTicketId != 0 && this.postData.PriceFlight == null) { if (this.postData.AirTicketId != 0 && this.postData.PriceFlight == null) {
this.initFlightList(this.postData.AirTicketId) this.initFlightList(this.postData.AirTicketId, this.postData.TCID);
} else if ( } else if (
this.postData.PriceFlight != undefined && this.postData.PriceFlight != undefined &&
this.postData.PriceFlight != null && this.postData.PriceFlight != null &&
......
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