Commit 318f316f authored by zhengke's avatar zhengke

修改

parent 995ac0b3
...@@ -3,74 +3,137 @@ ...@@ -3,74 +3,137 @@
height: 25px; height: 25px;
line-height: 25px; line-height: 25px;
} }
.St_mainDiv{
; width:100%;
height:100%;
margin:10px;
padding:0 20px;
border-left:2px solid #E4E7ED;
position: relative;
}
.St_radioDiv{
position: absolute;
width:12px;
height:12px;
background-color: rgb(11, 189, 135);
left:-27px;
top:3px;
border-radius: 50%;
}
.St_current{
position: relative;
}
.St_current:last-child{
margin-bottom:0!important;
}
.St_current:last-child .St_radioDiv{
top:7px;
}
.Str1{
top:0;
}
</style> </style>
<template> <template>
<div class="TC-ScenicTraffic"> <div class="TC-ScenicTraffic">
<template v-if="!ishasScenic"> <div class="St_mainDiv">
<table> <div v-if="!ishasScenic">
<thead v-if="CurrentDayNum!=1"> <div v-if="CurrentDayNum!=1">
<tr> <div class="St_radioDiv Str1"></div>
<td> 酒店出发
酒店出发 </div>
</td> <div>{{trafficObj.trafficIntroduce.IntroduceTitle}}</div>
</tr> <div>
</thead> <el-select :placeholder="$t('pub.pleaseSel')" v-model="trafficObj.trafficIntroduce.TrafficType">
<tbody> <el-option v-for="item in ArrivalTypeArray" :value="item.ID" :key="item.ID" :label="item.Name">
<tr> </el-option>
<td> </el-select>
{{trafficObj.trafficIntroduce.IntroduceTitle}} </div>
</td> <div v-if="CurrentDayNum!=totalDayNum">
</tr> 回酒店
<tr> </div>
<td> </div>
<el-select :placeholder="$t('pub.pleaseSel')" v-model="trafficObj.trafficIntroduce.TrafficType"> <div v-else>
<el-option v-for="item in ArrivalTypeArray" :value="item.ID" :key="item.ID" :label="item.Name"> <div v-if="CurrentDayNum!=1" class="St_current">
</el-option> <div class="St_radioDiv Str1"></div>
</el-select> 酒店出发
</td> </div>
</tr> <div v-for="(item,index) in ScenicArray" :key="index">
</tbody> <div style="margin:10px 0">{{item.CouponsName}}</div>
<tfoot v-if="CurrentDayNum!=totalDayNum"> <div>
<tr> <el-select :placeholder="$t('pub.pleaseSel')" v-model="item.TrafficType">
<td>回酒店</td> <el-option v-for="subItem in ArrivalTypeArray" :value="subItem.ID" :key="subItem.ID" :label="subItem.Name">
</tr> </el-option>
</tfoot> </el-select>
</table> </div>
</template> <div v-if="CurrentDayNum!=totalDayNum" class="St_current" style="margin:10px 0">
<template v-else> <div class="St_radioDiv"></div>
<table> 回酒店
<thead v-if="CurrentDayNum!=1"> </div>
<tr> </div>
<td> </div>
酒店出发 </div>
</td> <!-- <template v-if="!ishasScenic">
</tr> <table>
</thead> <thead v-if="CurrentDayNum!=1">
<tbody v-for="(item,index) in ScenicArray"> <tr>
<tr :key="index"> <td>
<td> 酒店出发
{{item.CouponsName}} </td>
</td> </tr>
</tr> </thead>
<tr> <tbody>
<td> <tr>
<el-select :placeholder="$t('pub.pleaseSel')" v-model="item.TrafficType"> <td>
<el-option v-for="subItem in ArrivalTypeArray" :value="subItem.ID" :key="subItem.ID" :label="subItem.Name"> {{trafficObj.trafficIntroduce.IntroduceTitle}}
</el-option> </td>
</el-select> </tr>
</td> <tr>
</tr> <td>
</tbody> <el-select :placeholder="$t('pub.pleaseSel')" v-model="trafficObj.trafficIntroduce.TrafficType">
<tfoot v-if="CurrentDayNum!=totalDayNum"> <el-option v-for="item in ArrivalTypeArray" :value="item.ID" :key="item.ID" :label="item.Name">
<tr> </el-option>
<td>回酒店</td> </el-select>
</tr> </td>
</tfoot> </tr>
</table> </tbody>
</template> <tfoot v-if="CurrentDayNum!=totalDayNum">
<tr>
<td>回酒店</td>
</tr>
</tfoot>
</table>
</template>
<template v-else>
<table>
<thead v-if="CurrentDayNum!=1">
<tr>
<td>
酒店出发
</td>
</tr>
</thead>
<tbody v-for="(item,index) in ScenicArray">
<tr :key="index">
<td>
{{item.CouponsName}}
</td>
</tr>
<tr>
<td>
<el-select :placeholder="$t('pub.pleaseSel')" v-model="item.TrafficType">
<el-option v-for="subItem in ArrivalTypeArray" :value="subItem.ID" :key="subItem.ID" :label="subItem.Name">
</el-option>
</el-select>
</td>
</tr>
</tbody>
<tfoot v-if="CurrentDayNum!=totalDayNum">
<tr>
<td>回酒店</td>
</tr>
</tfoot>
</table>
</template> -->
</div> </div>
</template> </template>
<script> <script>
......
...@@ -161,7 +161,7 @@ ...@@ -161,7 +161,7 @@
<span style="float: right; color: #8492a6; font-size: 13px">{{ item.Inventory }}</span> <span style="float: right; color: #8492a6; font-size: 13px">{{ item.Inventory }}</span>
</el-option> </el-option>
</el-select> </el-select>
<el-popover placement="right" width="540" trigger="click" > <el-popover placement="right" width="500" trigger="click" >
<scenicTraffic :ref="'scenicTraffic'+dayObj.DayNum+''" :ScenicArray="dayObj.ScenicArray" <scenicTraffic :ref="'scenicTraffic'+dayObj.DayNum+''" :ScenicArray="dayObj.ScenicArray"
:trafficObj="dayObj.TrafficObj" :ishasScenic="ishasScenic" :trafficObj="dayObj.TrafficObj" :ishasScenic="ishasScenic"
:CurrentDayNum="dayObj.DayNum" :totalDayNum="subConfig.DayNum" :CurrentDayNum="dayObj.DayNum" :totalDayNum="subConfig.DayNum"
......
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