Commit 4cfecefa authored by 黄奎's avatar 黄奎

页面修改

parent ccbc1d85
......@@ -122,7 +122,8 @@
</el-col>
<el-col :span="5">
<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-col>
</el-row>
......@@ -166,7 +167,7 @@
{{item.B2BPrice}}
</td>
<td>
{{(item.SurplusFSeat+item.SurplusCSeat+item.SurplusYSeat)}}
{{(item.FSeat+item.CSeat+item.YSeat)- (item.SurplusFSeat+item.SurplusCSeat+item.SurplusYSeat)}}
</td>
</tr>
<tr>
......@@ -336,6 +337,7 @@
});
}
this.dataList = tempArray;
console.log("this.dataList", this.dataList)
} else {
this.Error(res.data.message);
}
......
......@@ -72,15 +72,24 @@
if (tempArray && tempArray.length > 0) {
tempArray.forEach(item => {
var totalSeat = 0;
if (item.FSeat) {
totalSeat += item.FSeat;
}
if (item.CSeat) {
totalSeat += item.CSeat;
}
if (item.YSeat) {
totalSeat += item.YSeat;
}
if (item.SurplusFSeat) {
totalSeat += item.SurplusFSeat;
totalSeat -= item.SurplusFSeat;
}
if (item.SurplusCSeat) {
totalSeat += item.SurplusCSeat;
totalSeat -= item.SurplusCSeat;
}
if (item.SurplusYSeat) {
totalSeat += item.SurplusYSeat;
totalSeat -= item.SurplusYSeat;
}
var flightStatus = false;
if (item.flightList && item.flightList.length > 0) {
......
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