Commit 3e5b2850 authored by 黄媛媛's avatar 黄媛媛
parents 7a3cf45c 17516e38
...@@ -172,7 +172,6 @@ export default { ...@@ -172,7 +172,6 @@ export default {
this.showCareer=false this.showCareer=false
}) })
this.MsgBus.$on("changeTheme",t=>{ this.MsgBus.$on("changeTheme",t=>{
console.log('theme type:'+t)
this.isRed=t==1; this.isRed=t==1;
}) })
} }
......
...@@ -309,15 +309,11 @@ export default { ...@@ -309,15 +309,11 @@ export default {
this.chosenStep=0 this.chosenStep=0
}, },
changeMapping(d){ changeMapping(d){
console.log('in.....',d)
if(d){ if(d){
let t=d.split('_') let t=d.split('_')
// this.agentChosenArea[t[1]].targetId=t[0]
this.agentChosenArea[t[1]].targetId=d this.agentChosenArea[t[1]].targetId=d
console.log(this.agentChosenArea[t[1]].targetId)
this.$forceUpdate() this.$forceUpdate()
} }
//this.agentChosenArea[i].targetId=id
}, },
sureAgentArea(){ sureAgentArea(){
if(this.chosenStep==0 && this.agentChosenArea.length>0){ if(this.chosenStep==0 && this.agentChosenArea.length>0){
...@@ -395,7 +391,6 @@ export default { ...@@ -395,7 +391,6 @@ export default {
this.agentChosenArea.forEach((x,i)=>{ this.agentChosenArea.forEach((x,i)=>{
x.targetId= x.targetId+"_"+i x.targetId= x.targetId+"_"+i
}) })
console.log(this.agentChosenArea)
} }
} catch (error) {} } catch (error) {}
} }
......
...@@ -122,7 +122,8 @@ ...@@ -122,7 +122,8 @@
</el-col> </el-col>
<el-col :span="5"> <el-col :span="5">
<el-form-item> <el-form-item>
<input type="button" class="hollowFixedBtn" @click="resetPageIndex(),GetList()" :value="$t('pub.searchBtn')" /> <input type="button" class="hollowFixedBtn" @click="resetPageIndex(),GetList()"
:value="$t('pub.searchBtn')" />
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
...@@ -166,7 +167,7 @@ ...@@ -166,7 +167,7 @@
{{item.B2BPrice}} {{item.B2BPrice}}
</td> </td>
<td> <td>
{{(item.SurplusFSeat+item.SurplusCSeat+item.SurplusYSeat)}} {{(item.FSeat+item.CSeat+item.YSeat)- (item.SurplusFSeat+item.SurplusCSeat+item.SurplusYSeat)}}
</td> </td>
</tr> </tr>
<tr> <tr>
......
...@@ -72,15 +72,24 @@ ...@@ -72,15 +72,24 @@
if (tempArray && tempArray.length > 0) { if (tempArray && tempArray.length > 0) {
tempArray.forEach(item => { tempArray.forEach(item => {
var totalSeat = 0; var totalSeat = 0;
if (item.FSeat) {
totalSeat += item.FSeat;
}
if (item.CSeat) {
totalSeat += item.CSeat;
}
if (item.YSeat) {
totalSeat += item.YSeat;
}
if (item.SurplusFSeat) { if (item.SurplusFSeat) {
totalSeat += item.SurplusFSeat; totalSeat -= item.SurplusFSeat;
} }
if (item.SurplusCSeat) { if (item.SurplusCSeat) {
totalSeat += item.SurplusCSeat; totalSeat -= item.SurplusCSeat;
} }
if (item.SurplusYSeat) { if (item.SurplusYSeat) {
totalSeat += item.SurplusYSeat; totalSeat -= item.SurplusYSeat;
} }
var flightStatus = false; var flightStatus = false;
if (item.flightList && item.flightList.length > 0) { if (item.flightList && item.flightList.length > 0) {
......
...@@ -117,7 +117,6 @@ ...@@ -117,7 +117,6 @@
showTime: { showTime: {
handler: function (v, ov) { handler: function (v, ov) {
this.isshowtime = v; this.isshowtime = v;
console.log(v)
}, },
deep: true, deep: true,
}, },
......
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