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

页面修改

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