Commit 30e163f0 authored by 黄奎's avatar 黄奎

页面修改

parent 823b0488
......@@ -120,7 +120,7 @@
<tbody title="天数.航班时间.适用人数">
<tr>
<td rowspan="2" colspan="2" class="ComTitle">
<td rowspan="3" colspan="2" class="ComTitle">
TO:
</td>
<td class="ComTitle">
......@@ -131,9 +131,8 @@
maxlength="2" class="w180"></el-input>
</td>
<td>
<el-input v-model="postData.AirLineName" placeholder="台中連發" class="w180"></el-input>
</td>
<td rowspan="3" class="ComTitle">
<td rowspan="4" class="ComTitle">
航班時間: <a @click="AddFlight()" class="link">添加航班</a>
</td>
<td>
......@@ -166,8 +165,7 @@
placeholder="2020/09/30前走完行程" class="w180">
</el-date-picker>
</td>
<td class="ComTitle">
FOC
<td>
</td>
<td>
<template v-if="postData.SWTFlightList&&postData.SWTFlightList.length>=2">
......@@ -191,16 +189,14 @@
</td>
</tr>
<tr>
<td colspan="3" class="ComTitle">
適用人數:
<td class="ComTitle">
連發:
</td>
<td>
<el-input v-model="postData.GuestNum" @keyup.native="checkInteger(postData,'GuestNum'),GetPeople()"
placeholder="旅客人数" maxlength="2" class="w180"></el-input>
<el-input v-model="postData.AirLineName" placeholder="台中連發" class="w180"></el-input>
</td>
<td>
<el-input v-model="postData.FocNum" @keyup.native="checkInteger(postData,'FocNum'),GetPeople()"
placeholder="FOC" maxlength="2" class="w180"></el-input>
<td class="ComTitle">
FOC
</td>
<td>
<template v-if="postData.SWTFlightList&&postData.SWTFlightList.length>=3">
......@@ -223,24 +219,17 @@
</template>
</td>
</tr>
</tbody>
<tbody title="领队和导游">
<tr>
<td rowspan="3" colspan="3" class="ComTitle">
導遊
</td>
<td rowspan="3">
<template v-if="postData.SWTGuideList&&postData.SWTGuideList.length>=1">
<el-input v-model="postData.SWTGuideList[0].LeaderGuideInfo" placeholder="導遊" class="w180"></el-input>
</template>
<td colspan="3" class="ComTitle">
適用人數:
</td>
<td rowspan="3" class="ComTitle">
領隊
<td>
<el-input v-model="postData.GuestNum" @keyup.native="checkInteger(postData,'GuestNum'),GetPeople()"
placeholder="旅客人数" maxlength="2" class="w180"></el-input>
</td>
<td rowspan="3">
<template v-if="postData.SWTLeaderList&&postData.SWTLeaderList.length>=1">
<el-input v-model="postData.SWTLeaderList[0].LeaderGuideInfo" placeholder="領隊" class="w180"></el-input>
</template>
<td>
<el-input v-model="postData.FocNum" @keyup.native="checkInteger(postData,'FocNum'),GetPeople()"
placeholder="FOC" maxlength="2" class="w180"></el-input>
</td>
<td>
<template v-if="postData.SWTFlightList&&postData.SWTFlightList.length>=4">
......@@ -263,7 +252,26 @@
</template>
</td>
</tr>
</tbody>
<tbody title="领队和导游">
<tr>
<td rowspan="2" colspan="3" class="ComTitle">
導遊
</td>
<td rowspan="2">
<template v-if="postData.SWTGuideList&&postData.SWTGuideList.length>=1">
<el-input v-model="postData.SWTGuideList[0].LeaderGuideInfo" placeholder="導遊" class="w180"></el-input>
</template>
</td>
<td rowspan="2" class="ComTitle">
領隊
</td>
<td rowspan="2">
<template v-if="postData.SWTLeaderList&&postData.SWTLeaderList.length>=1">
<el-input v-model="postData.SWTLeaderList[0].LeaderGuideInfo" placeholder="領隊" class="w180"></el-input>
</template>
</td>
<td>
<template v-if="postData.SWTFlightList&&postData.SWTFlightList.length>=5">
<a @click="DeleteFlight(4)" class="link">删除</a>
......@@ -308,7 +316,6 @@
</td>
</tr>
</tbody>
<tbody title="LOCAL團號">
<tr>
<td colspan="3" class="ComTitle">
......@@ -1508,10 +1515,10 @@
},
//添加航班
AddFlight() {
if (this.postData.SWTFlightList.length <= 6) {
if (this.postData.SWTFlightList.length < 5) {
this.postData.SWTFlightList.push(this.getflightJson());
} else {
this.Info("最多只能添加6个航班!");
this.Info("最多只能添加5个航班!");
}
},
//删除航班
......
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