Commit 9b491196 authored by 黄奎's avatar 黄奎

修改样式

parent d2ac0256
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
<li style="display: block;width: 100%"> <li style="display: block;width: 100%">
<span><em>出发类型</em> <span><em>出发类型</em>
<el-select filterable v-model='msg.StartCityType' > <el-select filterable v-model='msg.StartCityType' >
<el-option label="不限" value='0'></el-option>
<el-option v-for='item in gotpye' <el-option v-for='item in gotpye'
:label='item.Name' :label='item.Name'
:value='item.Id' :value='item.Id'
...@@ -55,6 +56,7 @@ ...@@ -55,6 +56,7 @@
<li style="display: block;width: 100%"> <li style="display: block;width: 100%">
<span><em>到达类型</em> <span><em>到达类型</em>
<el-select filterable v-model='msg.ArriveCityType' @change="daoda()" > <el-select filterable v-model='msg.ArriveCityType' @change="daoda()" >
<el-option label="不限" value='0'></el-option>
<el-option v-for='item in gotpye' <el-option v-for='item in gotpye'
:label='item.Name' :label='item.Name'
:value='item.Id' :value='item.Id'
...@@ -133,7 +135,6 @@ ...@@ -133,7 +135,6 @@
</div> </div>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column fixed prop="Price" label="预计价格" width="120"> </el-table-column>
<el-table-column fixed prop="SiteList" label="站点列表" > <el-table-column fixed prop="SiteList" label="站点列表" >
...@@ -142,7 +143,7 @@ ...@@ -142,7 +143,7 @@
<div v-show="scope.row.show==false"> <div v-show="scope.row.show==false">
<div class="line-h"> <div class="line-h">
<div class="line-h-l">{{scope.row.SiteList[0].Type==1?'上':'下'}}</div> <div class="line-h-l">{{scope.row.SiteList[0].Type==1?'上':'下'}}</div>
<div>{{scope.row.SiteList[0].Time}}</div> <!-- <div>{{scope.row.SiteList[0].Time}}</div> -->
<div style="margin-left:10px">{{scope.row.SiteList[0].Name}} </div> <div style="margin-left:10px">{{scope.row.SiteList[0].Name}} </div>
</div> </div>
<div v-if="scope.row.SiteList.length>2" style="cursor:pointer;color:#409EFF" @click="getlistshow(scope.$index)">····展开</div> <div v-if="scope.row.SiteList.length>2" style="cursor:pointer;color:#409EFF" @click="getlistshow(scope.$index)">····展开</div>
...@@ -155,7 +156,7 @@ ...@@ -155,7 +156,7 @@
<div v-show="scope.row.show==true"> <div v-show="scope.row.show==true">
<div class="line-h" v-for="(activity, index) in scope.row.SiteList" :key="index"> <div class="line-h" v-for="(activity, index) in scope.row.SiteList" :key="index">
<div class="line-h-l">{{activity.Type==1?'上':'下'}}</div> <div class="line-h-l">{{activity.Type==1?'上':'下'}}</div>
<div>{{activity.Time}}</div> <div v-if="activity.Time!=0">{{activity.Time}}</div>
<div style="margin-left:10px">{{activity.Name}} </div> <div style="margin-left:10px">{{activity.Name}} </div>
</div> </div>
<span v-if="scope.row.show==true" style="cursor:pointer;color:#409EFF" @click="getlistshow(scope.$index)">收起</span> <span v-if="scope.row.show==true" style="cursor:pointer;color:#409EFF" @click="getlistshow(scope.$index)">收起</span>
...@@ -163,7 +164,9 @@ ...@@ -163,7 +164,9 @@
</div> </div>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column fixed prop="ProductState" label="状态" width="80"> <el-table-column fixed prop="Price" label="预计价格" width="120"> </el-table-column>
<el-table-column fixed prop="ProductState" label="上架状态" width="80">
<template slot-scope="scope"> <template slot-scope="scope">
<div style="display: flex;align-items: center;"> <div style="display: flex;align-items: center;">
...@@ -179,6 +182,17 @@ ...@@ -179,6 +182,17 @@
</el-table-column> </el-table-column>
<el-table-column fixed prop="Description" label="备注" > </el-table-column> <el-table-column fixed prop="Description" label="备注" > </el-table-column>
<el-table-column prop="UpdateByName" label="创建人" width="150">
<template slot-scope="scope">
<div flex="dir:left cross:center">
{{scope.row.UpdateByName}}
</div>
<div flex="dir:left cross:center">
{{scope.row.UpdateDate}}
</div>
</template>
</el-table-column>
<el-table-column fixed="right" label="操作" width="150" > <el-table-column fixed="right" label="操作" width="150" >
<template slot-scope="scope"> <template slot-scope="scope">
<el-tooltip class="item" effect="dark" content="编辑" placement="top" > <el-tooltip class="item" effect="dark" content="编辑" placement="top" >
...@@ -219,9 +233,9 @@ ...@@ -219,9 +233,9 @@
pageSize: 15, pageSize: 15,
Id: 0, Id: 0,
StartCityId:'0', StartCityId:'0',
StartCityType:1, StartCityType:'0',
ArriveCityId:'0', ArriveCityId:'0',
ArriveCityType:1, ArriveCityType:'0',
ProductState:'0', ProductState:'0',
startdistrict:'0', startdistrict:'0',
...@@ -355,7 +369,7 @@ ...@@ -355,7 +369,7 @@
}, },
baojia(row){ baojia(row){
this.$router.push("/lineoffer?id="+row.Id) this.$router.push("/lineoffer?id="+row.Id+'&Price='+row.Price)
}, },
delete_b(row){ delete_b(row){
let that=this; let that=this;
......
...@@ -31,8 +31,22 @@ ...@@ -31,8 +31,22 @@
<template v-for="(childItem,childIndex) in item.data.SubList" > <template v-for="(childItem,childIndex) in item.data.SubList" >
<p> <p>
<span title="点击修改信息" @click="goUrlA('2', item.day,item.data.SubList)"> <span @click="goUrlA('2', item.day,item.data.SubList)">
{{childItem.DepartureTime}} <span class="text_underLine" style="margin:0 2px">{{childItem.Price}}</span> {{childItem.CarName}}
<el-tooltip class="item" effect="dark" content="出发时间" placement="top">
<span style=" cursor: pointer;">{{childItem.DepartureTime}}</span>
</el-tooltip>
<el-tooltip class="item" effect="dark" content="车辆名称" placement="top">
<span style=" cursor: pointer;">{{childItem.CarName}}</span>
</el-tooltip>
<el-tooltip class="item" effect="dark" content="b2b价格" placement="top">
<span class="text_underLine" style="margin:0 2px">{{childItem.Price}}</span>
</el-tooltip>
<el-tooltip class="item" effect="dark" content="报名数" placement="top">
<span style="cursor: pointer; margin-left:2px">{{childItem.EnrollSeat!=0?childItem.EnrollSeat:'-'}}</span>
</el-tooltip>
</span><br/> </span><br/>
</p> </p>
......
<template> <template>
<div class="hotelProductManage2"> <div class="lineoffer">
<div class="hotelProductManage2_btnList"> <div class="lineoffer_btnList">
<div class="btn_check" @click="getMonths()">{{$t('pub.searchBtn')}}</div> <div class="btn_check" @click="getMonths()">{{$t('pub.searchBtn')}}</div>
<div class="btn_check" @click="goEdit('1')">{{$t('ground.piliangbianji')}}</div> <div class="btn_check" @click="goEdit('1')">{{$t('ground.piliangbianji')}}</div>
</div> </div>
<div class="hotelProductManage2_condition"> <div class="lineoffer_condition">
<div> <div>
<em>{{$t('ground.qishiyue')}}</em> <em>{{$t('ground.qishiyue')}}</em>
<el-date-picker v-model="condition.month" type="month" value-format="yyyy-MM" :clearable="false" <el-date-picker v-model="condition.month" type="month" value-format="yyyy-MM" :clearable="false"
...@@ -13,8 +13,8 @@ ...@@ -13,8 +13,8 @@
</div> </div>
<div class="hotelProductManage2_calendar"> <div class="lineoffer_calendar">
<div class="hotelProductManage2_calendarItem" v-for="(item, index) in dayList" :key="index"> <div class="lineoffer_calendarItem" v-for="(item, index) in dayList" :key="index">
<div class="calendarItem_month" :title="$t('ground.dianjichakanxq')" @click="calendarShow(item, index)"> <div class="calendarItem_month" :title="$t('ground.dianjichakanxq')" @click="calendarShow(item, index)">
{{item.date}}</div> {{item.date}}</div>
<div class="hotelproductCkbox"> <div class="hotelproductCkbox">
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
<div :class="stockColor(item,subItem)" <div :class="stockColor(item,subItem)"
:style="subItem.month===item.date&&msg2.DateList.indexOf(subItem.day)!==-1?'border-color: green':''" :style="subItem.month===item.date&&msg2.DateList.indexOf(subItem.day)!==-1?'border-color: green':''"
@click="calendarDayOn(item, subItem)"> @click="calendarDayOn(item, subItem)">
<el-popover placement="bottom" :title="$t('ground.baojiaxinxi')" width="650" trigger="hover" <el-popover placement="bottom" :title="$t('ground.baojiaxinxi')" width="760" trigger="hover"
v-if="subItem.data&&subItem.data.SubList && subItem.data.SubList[0]"> v-if="subItem.data&&subItem.data.SubList && subItem.data.SubList[0]">
<template> <template>
<div style="text-align: right;"> <div style="text-align: right;">
...@@ -43,16 +43,17 @@ ...@@ -43,16 +43,17 @@
@click="goEdit('2', subItem.day,subItem.data.SubList)">修改</a> @click="goEdit('2', subItem.day,subItem.data.SubList)">修改</a>
</div> </div>
<table style="margin-left:3px;padding-top:2px;width:650px;"> <table style="margin-left:3px;padding-top:2px;width:720px;" class="singeRowTable">
<tr> <tr>
<th width="100" style="text-align:center">出发时间</th> <th width="100" style="text-align:center">出发时间</th>
<th width="100" style="text-align:center">价格</th> <th width="80" style="text-align:center">b2b价格</th>
<th width="80" style="text-align:center">b2c价格</th>
<th width="80" style="text-align:center">车名称</th> <th width="100" style="text-align:center">车名称</th>
<th width="80" style="text-align:center">品牌</th>
<th width="140" style="text-align:center">车型号</th> <th width="140" style="text-align:center">车型号</th>
<th width="60" style="text-align:center">品牌</th> <th width="90" style="text-align:center">乘坐人数</th>
<th width="100" style="text-align:center">乘坐人数</th> <th width="90" style="text-align:center">报名人数</th>
<th width="100" style="text-align:center">订单数</th>
</tr> </tr>
<tr v-for="(childItem,childIndex) in subItem.data.SubList" :key="childIndex"> <tr v-for="(childItem,childIndex) in subItem.data.SubList" :key="childIndex">
<td style="text-align:center"> <td style="text-align:center">
...@@ -61,16 +62,20 @@ ...@@ -61,16 +62,20 @@
<td style="text-align:center;white-space:nowrap; "> <td style="text-align:center;white-space:nowrap; ">
{{childItem.Price}} {{childItem.Price}}
</td> </td>
<td style="text-align:center;white-space:nowrap; ">
{{childItem.B2CPrice}}
</td>
<td style="text-align:center;white-space:nowrap; "> <td style="text-align:center;white-space:nowrap; ">
{{childItem.CarName}} {{childItem.CarName}}
</td> </td>
<td style="text-align:center"> <td style="text-align:center">
{{childItem.CarModel}} {{childItem.BrandName}}
</td> </td>
<td style="text-align:center"> <td style="text-align:center">
{{childItem.BrandName}} {{childItem.CarModel}}
</td> </td>
<td style="text-align:center"> <td style="text-align:center">
{{childItem.GuestNum}} {{childItem.GuestNum}}
</td> </td>
...@@ -91,13 +96,13 @@ ...@@ -91,13 +96,13 @@
</div> </div>
</div> </div>
</div> </div>
<div class="hotelProductManage2_calendarBox" v-show="calendar.show"> <div class="lineoffer_calendarBox" v-show="calendar.show">
<lineProductCalendar ref="lineProductCalendar" :calendar="calendar" @goEdit="goEdit"></lineProductCalendar> <lineProductCalendar ref="lineProductCalendar" :calendar="calendar" @goEdit="goEdit"></lineProductCalendar>
</div> </div>
</div> </div>
<!-- 页面编辑 --> <!-- 页面编辑 -->
<div class="hotelProductManage2_edit2"> <div class="lineoffer_edit2">
<div class="hotelProductManage2_edit2_header"> <div class="lineoffer_edit2_header">
<div>{{$t('restaurant.res_bidManage')}}</div> <div>{{$t('restaurant.res_bidManage')}}</div>
<div> <div>
<input type="button" :value="$t('ground.piliangshanchu')" @click="delete2Reset()" class="hollowbtn" /> <input type="button" :value="$t('ground.piliangshanchu')" @click="delete2Reset()" class="hollowbtn" />
...@@ -105,7 +110,7 @@ ...@@ -105,7 +110,7 @@
</div> </div>
</div> </div>
<el-form :model="msg2" :rules="rules2" :inline="true" label-width="100px" ref="hotelProductForm2" <el-form :model="msg2" :rules="rules2" :inline="true" label-width="100px" ref="hotelProductForm2"
class="hotelProductManage2_edit2_form"> class="lineoffer_edit2_form">
<el-row> <el-row>
<el-col :span="24" class="HotelProductEdit_date"> <el-col :span="24" class="HotelProductEdit_date">
<el-form-item :label="$t('ground.yixuanriqi')" prop="DateList"> <el-form-item :label="$t('ground.yixuanriqi')" prop="DateList">
...@@ -116,7 +121,7 @@ ...@@ -116,7 +121,7 @@
</el-row> </el-row>
<el-row style="padding: 20px 0 0 0;border-top: 1px dashed #ccc;" v-for="(x,y) in msg2.PlanList" :key="y"> <el-row style="padding: 20px 0 0 0;border-top: 1px dashed #ccc;" v-for="(x,y) in msg2.PlanList" :key="y">
<el-col :span="4" > <el-col :span="6" >
<el-form-item label="出发时间"> <el-form-item label="出发时间">
<el-time-picker <el-time-picker
v-model="x.DepartureTime" v-model="x.DepartureTime"
...@@ -126,28 +131,29 @@ ...@@ -126,28 +131,29 @@
</el-time-picker> </el-time-picker>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="4" > <el-col :span="6" >
<el-form-item label="车辆"> <el-form-item label="车辆">
<span>{{x.CarName!=''?x.CarName:'无'}}</span> <span>{{x.CarName!=''?x.CarName:'无'}}</span>
<input type="button" value="选择" @click="cartanc(y,2)" class="normalBtn" /> <input type="button" value="选择" @click="cartanc(y,2)" class="normalBtn" />
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="4" > <el-col :span="12"><div style="height:62px"></div></el-col>
<el-form-item label="价格"> <el-col :span="6" >
<el-input v-model="x.Price" placeholder="请输入价格" type="number"></el-input> <el-form-item label="b2b价格">
<el-input v-model="x.Price" placeholder="b2b价格" type="number"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="4" > <el-col :span="6" >
<el-form-item label="成本价"> <el-form-item label="成本价">
<el-input v-model="x.CostPrice" placeholder="请输入成本价" type="number"></el-input> <el-input v-model="x.CostPrice" placeholder="请输入成本价" type="number"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="4" > <el-col :span="6" >
<el-form-item label="b2c价格"> <el-form-item label="b2c价格">
<el-input v-model="x.B2CPrice" placeholder="请输入b2c价格" type="number"></el-input> <el-input v-model="x.B2CPrice" placeholder="请输入b2c价格" type="number"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="4" > <el-col :span="6" >
<el-tooltip class="item" effect="dark" content="删除" placement="top" v-if="y!=0" > <el-tooltip class="item" effect="dark" content="删除" placement="top" v-if="y!=0" >
<img src="../../../assets/img/setup/del.png" v-if="y!=0" alt="" class="imgstyle" @click="delete_b(y,2)"> <img src="../../../assets/img/setup/del.png" v-if="y!=0" alt="" class="imgstyle" @click="delete_b(y,2)">
</el-tooltip> </el-tooltip>
...@@ -159,8 +165,8 @@ ...@@ -159,8 +165,8 @@
</div> </div>
<!-- 弹出编辑 --> <!-- 弹出编辑 -->
<div class="hotelProductManage2_edit" v-show="editShow"> <div class="lineoffer_edit" v-show="editShow">
<div class="hotelProductManage2_edit_header"> <div class="lineoffer_edit_header">
<div>{{$t('restaurant.res_bidManage')}}</div> <div>{{$t('restaurant.res_bidManage')}}</div>
<div> <div>
<div @click="editCanel()">{{$t('pub.cancelBtn')}}</div> <div @click="editCanel()">{{$t('pub.cancelBtn')}}</div>
...@@ -168,7 +174,7 @@ ...@@ -168,7 +174,7 @@
</div> </div>
</div> </div>
<el-form :model="msg" :rules="rules" :inline="true" label-width="130px" ref="hotelProductForm" <el-form :model="msg" :rules="rules" :inline="true" label-width="130px" ref="hotelProductForm"
class="hotelProductManage2_edit_form"> class="lineoffer_edit_form">
<el-row> <el-row>
<el-col :span="6"> <el-col :span="6">
<el-form-item :label="$t('ground.riqixuanzfs')" prop="DayType"> <el-form-item :label="$t('ground.riqixuanzfs')" prop="DayType">
...@@ -240,7 +246,7 @@ ...@@ -240,7 +246,7 @@
</el-row> </el-row>
<el-row style="padding: 20px 0 0 0;border-top: 1px dashed #ccc;" v-for="(x,y) in msg.PlanList" :key="y"> <el-row style="padding: 20px 0 0 0;border-top: 1px dashed #ccc;" v-for="(x,y) in msg.PlanList" :key="y">
<el-col :span="4" > <el-col :span="6" >
<el-form-item label="出发时间"> <el-form-item label="出发时间">
<el-time-picker <el-time-picker
v-model="x.DepartureTime" v-model="x.DepartureTime"
...@@ -250,28 +256,29 @@ ...@@ -250,28 +256,29 @@
</el-time-picker> </el-time-picker>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="4" > <el-col :span="6" >
<el-form-item label="车辆"> <el-form-item label="车辆">
<span>{{x.CarName!=''?x.CarName:'无'}}</span> <span>{{x.CarName!=''?x.CarName:'无'}}</span>
<input type="button" value="选择" @click="cartanc(y,1)" class="normalBtn" /> <input type="button" value="选择" @click="cartanc(y,1)" class="normalBtn" />
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="4" > <el-col :span="12"><div style="height:62px"></div></el-col>
<el-col :span="6" >
<el-form-item label="价格"> <el-form-item label="价格">
<el-input v-model="x.Price" placeholder="请输入价格" type="number"></el-input> <el-input v-model="x.Price" placeholder="请输入价格" type="number"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="4" > <el-col :span="6" >
<el-form-item label="成本价"> <el-form-item label="成本价">
<el-input v-model="x.CostPrice" placeholder="请输入成本价" type="number"></el-input> <el-input v-model="x.CostPrice" placeholder="请输入成本价" type="number"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="4" > <el-col :span="6" >
<el-form-item label="b2c价格"> <el-form-item label="b2c价格">
<el-input v-model="x.B2CPrice" placeholder="请输入b2c价格" type="number"></el-input> <el-input v-model="x.B2CPrice" placeholder="请输入b2c价格" type="number"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="4" > <el-col :span="6" >
<el-tooltip class="item" effect="dark" content="删除" placement="top" v-if="y!=0" > <el-tooltip class="item" effect="dark" content="删除" placement="top" v-if="y!=0" >
<img src="../../../assets/img/setup/del.png" v-if="y!=0" alt="" class="imgstyle" @click="delete_b(y,1)"> <img src="../../../assets/img/setup/del.png" v-if="y!=0" alt="" class="imgstyle" @click="delete_b(y,1)">
</el-tooltip> </el-tooltip>
...@@ -749,7 +756,7 @@ ...@@ -749,7 +756,7 @@
this.calendar.show = true; this.calendar.show = true;
}, },
addcarlist_o(type){ addcarlist_o(type){
let obj = {DepartureTime:'',CarId:'',Price:'', CostPrice:'',B2CPrice:'',CarName:''} let obj = {DepartureTime:'',CarId:'',Price:this.$route.query.Price === undefined ? '0' : this.$route.query.Price, CostPrice:'',B2CPrice:'',CarName:''}
if(type==1){ if(type==1){
this.msg.PlanList.push(obj) this.msg.PlanList.push(obj)
}else if(type==2){ }else if(type==2){
...@@ -839,7 +846,7 @@ ...@@ -839,7 +846,7 @@
Week: '', Week: '',
DateList: [], DateList: [],
PlanList:[ PlanList:[
{DepartureTime:'',CarId:'',Price:'', CostPrice:'',B2CPrice:'',CarName:''} {DepartureTime:'',CarId:'',Price:this.$route.query.Price === undefined ? '0' : this.$route.query.Price, CostPrice:'',B2CPrice:'',CarName:''}
] ]
}; };
}, },
...@@ -868,7 +875,14 @@ ...@@ -868,7 +875,14 @@
if(isshow == true){ if(isshow == true){
return return
} }
const loading = this.$loading({
lock: true,
text: '保存中',
spinner: 'el-icon-loading',
background: 'rgba(0, 0, 0, 0.7)'
});
this.apipost('car_post_SetLineProductPrice', this.msg, res => { this.apipost('car_post_SetLineProductPrice', this.msg, res => {
loading.close();
if (res.data.resultCode === 1) { if (res.data.resultCode === 1) {
this.Success(this.$t('ground.bianjichenggong')) this.Success(this.$t('ground.bianjichenggong'))
this.getMonths() this.getMonths()
...@@ -931,7 +945,14 @@ ...@@ -931,7 +945,14 @@
if(isshow == true){ if(isshow == true){
return return
} }
const loading = this.$loading({
lock: true,
text: '保存中',
spinner: 'el-icon-loading',
background: 'rgba(0, 0, 0, 0.7)'
});
this.apipost('car_post_SetLineProductPrice', this.msg2, res => { this.apipost('car_post_SetLineProductPrice', this.msg2, res => {
loading.close();
if (res.data.resultCode === 1) { if (res.data.resultCode === 1) {
this.Success(this.$t('ground.bianjichenggong')) this.Success(this.$t('ground.bianjichenggong'))
this.getMonths(); this.getMonths();
...@@ -945,7 +966,7 @@ ...@@ -945,7 +966,7 @@
Week: '', Week: '',
DateList: [], DateList: [],
PlanList:[ PlanList:[
{DepartureTime:'',CarId:'',Price:'', CostPrice:'',B2CPrice:'',CarName:''} {DepartureTime:'',CarId:'',Price:this.$route.query.Price === undefined ? '0' : this.$route.query.Price, CostPrice:'',B2CPrice:'',CarName:''}
] ]
}; };
} else { } else {
...@@ -982,6 +1003,8 @@ ...@@ -982,6 +1003,8 @@
this.hotelId = this.$route.query.id === undefined ? '0' : this.$route.query.id; this.hotelId = this.$route.query.id === undefined ? '0' : this.$route.query.id;
this.msg.ProductId = this.$route.query.id === undefined ? '0' : this.$route.query.id; this.msg.ProductId = this.$route.query.id === undefined ? '0' : this.$route.query.id;
this.msg2.ProductId = this.$route.query.id === undefined ? '0' : this.$route.query.id; this.msg2.ProductId = this.$route.query.id === undefined ? '0' : this.$route.query.id;
this.msg.PlanList[0].Price = this.$route.query.Price === undefined ? '0' : this.$route.query.Price;
this.msg2.PlanList[0].Price = this.$route.query.Price === undefined ? '0' : this.$route.query.Price;
this.condition.month = new Date().Format('yyyy-MM'); this.condition.month = new Date().Format('yyyy-MM');
let nowDate = new Date().Format('yyyy-MM-dd'); let nowDate = new Date().Format('yyyy-MM-dd');
this.msg.DayType = '4'; this.msg.DayType = '4';
...@@ -999,7 +1022,7 @@ ...@@ -999,7 +1022,7 @@
</script> </script>
<style> <style>
.hotelProductManage2 { .lineoffer {
padding: 20px 0; padding: 20px 0;
} }
...@@ -1010,7 +1033,7 @@ ...@@ -1010,7 +1033,7 @@
margin: 5px 20px 0 0; margin: 5px 20px 0 0;
} }
.hotelProductManage2>.hotelProductManage2_btnList { .lineoffer>.lineoffer_btnList {
position: fixed; position: fixed;
top: 36px; top: 36px;
right: 20px; right: 20px;
...@@ -1018,7 +1041,7 @@ ...@@ -1018,7 +1041,7 @@
margin: 20px 0 0 0; margin: 20px 0 0 0;
} }
.hotelProductManage2_btnList>.btn_check { .lineoffer_btnList>.btn_check {
display: inline-block; display: inline-block;
margin: 0 0 0 10px; margin: 0 0 0 10px;
padding: 0 15px; padding: 0 15px;
...@@ -1032,38 +1055,38 @@ ...@@ -1032,38 +1055,38 @@
cursor: pointer; cursor: pointer;
} }
.hotelProductManage2_condition { .lineoffer_condition {
padding: 0 0 0 0; padding: 0 0 0 0;
text-align: right; text-align: right;
} }
.hotelProductManage2_condition>div { .lineoffer_condition>div {
display: inline-block; display: inline-block;
text-align: left; text-align: left;
} }
.hotelProductManage2_condition>div>em { .lineoffer_condition>div>em {
margin: 0 5px 0 0; margin: 0 5px 0 0;
font-size: 14px; font-size: 14px;
color: #666666; color: #666666;
} }
.hotelProductManage2_tableBox { .lineoffer_tableBox {
padding: 20px 0; padding: 20px 0;
} }
.hotelProductManage2_table { .lineoffer_table {
width: 100%; width: 100%;
color: #333; color: #333;
border-bottom: 1px solid #cccccc; border-bottom: 1px solid #cccccc;
border-right: 1px solid #cccccc; border-right: 1px solid #cccccc;
} }
.hotelProductManage2_table tr { .lineoffer_table tr {
background: #fff; background: #fff;
} }
.hotelProductManage2_table tr th { .lineoffer_table tr th {
background: #e6e6e6; background: #e6e6e6;
height: 40px; height: 40px;
font-size: 12px; font-size: 12px;
...@@ -1072,7 +1095,7 @@ ...@@ -1072,7 +1095,7 @@
border-left: 1px solid #cccccc; border-left: 1px solid #cccccc;
} }
.hotelProductManage2_table tr td { .lineoffer_table tr td {
height: 40px; height: 40px;
font-size: 12px; font-size: 12px;
text-align: center; text-align: center;
...@@ -1080,7 +1103,7 @@ ...@@ -1080,7 +1103,7 @@
border-left: 1px solid #cccccc; border-left: 1px solid #cccccc;
} }
.hotelProductManage2_calendar { .lineoffer_calendar {
position: relative; position: relative;
padding: 20px 0; padding: 20px 0;
width: 100%; width: 100%;
...@@ -1088,7 +1111,7 @@ ...@@ -1088,7 +1111,7 @@
border-bottom: 1px solid #E5E5E5; border-bottom: 1px solid #E5E5E5;
} }
.hotelProductManage2_calendarBox { .lineoffer_calendarBox {
position: absolute; position: absolute;
z-index: 2; z-index: 2;
left: 0px; left: 0px;
...@@ -1097,7 +1120,7 @@ ...@@ -1097,7 +1120,7 @@
width: 100%; width: 100%;
} }
.hotelProductManage2_calendarItem { .lineoffer_calendarItem {
display: inline-block; display: inline-block;
margin: 0 5px; margin: 0 5px;
width: 24%; width: 24%;
...@@ -1108,11 +1131,11 @@ ...@@ -1108,11 +1131,11 @@
font-size: 0px; font-size: 0px;
} }
.hotelProductManage2_calendarItem:hover { .lineoffer_calendarItem:hover {
box-shadow: 0px 0px 5px 5px #E5E5E5; box-shadow: 0px 0px 5px 5px #E5E5E5;
} }
.hotelProductManage2_calendarItem>.calendarItem_month { .lineoffer_calendarItem>.calendarItem_month {
width: 50%; width: 50%;
height: 30px; height: 30px;
float: left; float: left;
...@@ -1124,7 +1147,7 @@ ...@@ -1124,7 +1147,7 @@
text-decoration: underline; text-decoration: underline;
} }
.hotelProductManage2_calendarItem>.calendarItem_week { .lineoffer_calendarItem>.calendarItem_week {
display: flex; display: flex;
justify-content: space-around; justify-content: space-around;
padding: 10px 0; padding: 10px 0;
...@@ -1132,7 +1155,7 @@ ...@@ -1132,7 +1155,7 @@
height: 36px; height: 36px;
} }
.hotelProductManage2_calendarItem>.calendarItem_week>div { .lineoffer_calendarItem>.calendarItem_week>div {
display: inline-block; display: inline-block;
width: 14.2%; width: 14.2%;
height: 16px; height: 16px;
...@@ -1142,21 +1165,21 @@ ...@@ -1142,21 +1165,21 @@
color: #999999; color: #999999;
} }
.hotelProductManage2_calendarItem>.calendarItem_day { .lineoffer_calendarItem>.calendarItem_day {
display: flex; display: flex;
justify-content: space-around; justify-content: space-around;
flex-wrap: wrap; flex-wrap: wrap;
padding-bottom: 20px; padding-bottom: 20px;
} }
.hotelProductManage2_calendarItem>.calendarItem_day>div { .lineoffer_calendarItem>.calendarItem_day>div {
display: inline-block; display: inline-block;
padding: 15px 0; padding: 15px 0;
width: 14.2%; width: 14.2%;
position: relative; position: relative;
} }
.hotelProductManage2_calendarItem>.calendarItem_day>div>div { .lineoffer_calendarItem>.calendarItem_day>div>div {
margin: auto; margin: auto;
width: 30px; width: 30px;
height: 30px; height: 30px;
...@@ -1167,37 +1190,37 @@ ...@@ -1167,37 +1190,37 @@
border-radius: 50%; border-radius: 50%;
} }
.hotelProductManage2_calendarItem>.calendarItem_day>.nowMonth>div { .lineoffer_calendarItem>.calendarItem_day>.nowMonth>div {
color: #000000; color: #000000;
cursor: pointer; cursor: pointer;
} }
.hotelProductManage2_calendarItem>.calendarItem_day>.otherMonth>div { .lineoffer_calendarItem>.calendarItem_day>.otherMonth>div {
color: gainsboro; color: gainsboro;
} }
.hotelProductManage2_calendarItem>.calendarItem_day>div>.hasStock_1 { .lineoffer_calendarItem>.calendarItem_day>div>.hasStock_1 {
background-color: #ff6363; background-color: #ff6363;
} }
.hotelProductManage2_calendarItem>.calendarItem_day>div>.hasStock_2 { .lineoffer_calendarItem>.calendarItem_day>div>.hasStock_2 {
background-color: #ff99cc; background-color: #ff99cc;
} }
.hotelProductManage2_calendarItem>.calendarItem_day>div>.hasStock_3 { .lineoffer_calendarItem>.calendarItem_day>div>.hasStock_3 {
background-color: #bcd6ee; background-color: #bcd6ee;
} }
.hotelProductManage2_calendarItem>.calendarItem_day>div>.hasStock_4 { .lineoffer_calendarItem>.calendarItem_day>div>.hasStock_4 {
background-color: #DDDDDD; background-color: #DDDDDD;
} }
.hotelProductManage2_calendarItem>.calendarItem_day>div>.hasStock_5 { .lineoffer_calendarItem>.calendarItem_day>div>.hasStock_5 {
background-color: #02F78E; background-color: #02F78E;
} }
/* 页面编辑 */ /* 页面编辑 */
.hotelProductManage2_edit2 { .lineoffer_edit2 {
margin: 20px 0 0 0; margin: 20px 0 0 0;
padding: 10px 10px 0; padding: 10px 10px 0;
width: 100%; width: 100%;
...@@ -1207,13 +1230,13 @@ ...@@ -1207,13 +1230,13 @@
overflow: auto; overflow: auto;
} }
.hotelProductManage2_edit2>.hotelProductManage2_edit2_header { .lineoffer_edit2>.lineoffer_edit2_header {
position: relative; position: relative;
width: 100%; width: 100%;
height: 30px; height: 30px;
} }
.hotelProductManage2_edit2_header>div:nth-child(1) { .lineoffer_edit2_header>div:nth-child(1) {
display: inline-block; display: inline-block;
padding: 0 20px; padding: 0 20px;
width: 200px; width: 200px;
...@@ -1223,14 +1246,14 @@ ...@@ -1223,14 +1246,14 @@
border-left: 3px solid #E95252; border-left: 3px solid #E95252;
} }
.hotelProductManage2_edit2_header>div:nth-child(2) { .lineoffer_edit2_header>div:nth-child(2) {
position: absolute; position: absolute;
top: 0px; top: 0px;
right: 0px; right: 0px;
height: 30px; height: 30px;
} }
.hotelProductManage2_edit2_header>div:nth-child(2)>div:nth-child(1) { .lineoffer_edit2_header>div:nth-child(2)>div:nth-child(1) {
display: inline-block; display: inline-block;
margin: 0 5px; margin: 0 5px;
padding: 0 15px; padding: 0 15px;
...@@ -1245,7 +1268,7 @@ ...@@ -1245,7 +1268,7 @@
cursor: pointer; cursor: pointer;
} }
.hotelProductManage2_edit2_header>div:nth-child(2)>div:nth-child(2) { .lineoffer_edit2_header>div:nth-child(2)>div:nth-child(2) {
display: inline-block; display: inline-block;
padding: 0 15px; padding: 0 15px;
height: 30px; height: 30px;
...@@ -1259,33 +1282,33 @@ ...@@ -1259,33 +1282,33 @@
cursor: pointer; cursor: pointer;
} }
.hotelProductManage2_edit2>.hotelProductManage2_edit2_form { .lineoffer_edit2>.lineoffer_edit2_form {
padding: 10px 0; padding: 10px 0;
} }
.hotelProductManage2_edit2_form .el-input { .lineoffer_edit2_form .el-input {
width: 160px; width: 160px;
} }
.hotelProductManage2_edit2_form .el-input-number { .lineoffer_edit2_form .el-input-number {
width: 160px; width: 160px;
} }
.hotelProductManage2_edit2_form .el-input__inner { .lineoffer_edit2_form .el-input__inner {
width: 160px; width: 160px;
} }
.hotelProductManage2_edit2_form .el-textarea__inner { .lineoffer_edit2_form .el-textarea__inner {
resize: none; resize: none;
} }
.hotelProductManage2_edit2_form .HotelProductEdit_date .el-form-item__content { .lineoffer_edit2_form .HotelProductEdit_date .el-form-item__content {
width: 1000px; width: 1000px;
min-height: 9px; min-height: 9px;
} }
/* 弹出编辑 */ /* 弹出编辑 */
.hotelProductManage2_edit { .lineoffer_edit {
position: fixed; position: fixed;
z-index: 50; z-index: 50;
bottom: 0; bottom: 0;
...@@ -1299,14 +1322,14 @@ ...@@ -1299,14 +1322,14 @@
overflow: auto; overflow: auto;
} }
.hotelProductManage2_edit>.hotelProductManage2_edit_header { .lineoffer_edit>.lineoffer_edit_header {
position: relative; position: relative;
width: 100%; width: 100%;
height: 30px; height: 30px;
padding: 15px 20px; padding: 15px 20px;
} }
.hotelProductManage2_edit_header>div:nth-child(1) { .lineoffer_edit_header>div:nth-child(1) {
display: inline-block; display: inline-block;
padding: 0 20px; padding: 0 20px;
width: 200px; width: 200px;
...@@ -1316,14 +1339,14 @@ ...@@ -1316,14 +1339,14 @@
border-left: 3px solid #E95252; border-left: 3px solid #E95252;
} }
.hotelProductManage2_edit_header>div:nth-child(2) { .lineoffer_edit_header>div:nth-child(2) {
position: absolute; position: absolute;
top: 15px; top: 15px;
right: 80px; right: 80px;
height: 30px; height: 30px;
} }
.hotelProductManage2_edit_header>div:nth-child(2)>div:nth-child(1) { .lineoffer_edit_header>div:nth-child(2)>div:nth-child(1) {
display: inline-block; display: inline-block;
margin: 0 5px; margin: 0 5px;
padding: 0 15px; padding: 0 15px;
...@@ -1338,7 +1361,7 @@ ...@@ -1338,7 +1361,7 @@
cursor: pointer; cursor: pointer;
} }
.hotelProductManage2_edit_header>div:nth-child(2)>div:nth-child(2) { .lineoffer_edit_header>div:nth-child(2)>div:nth-child(2) {
display: inline-block; display: inline-block;
padding: 0 15px; padding: 0 15px;
height: 30px; height: 30px;
...@@ -1352,50 +1375,50 @@ ...@@ -1352,50 +1375,50 @@
cursor: pointer; cursor: pointer;
} }
.hotelProductManage2_edit>.hotelProductManage2_edit_form { .lineoffer_edit>.lineoffer_edit_form {
padding: 10px 0; padding: 10px 0;
} }
.hotelProductManage2_edit_form .el-input { .lineoffer_edit_form .el-input {
width: 180px; width: 180px;
} }
.hotelProductManage2_edit_form .el-input__inner { .lineoffer_edit_form .el-input__inner {
width: 180px; width: 180px;
} }
.hotelProductManage2_edit_form .el-textarea__inner { .lineoffer_edit_form .el-textarea__inner {
resize: none; resize: none;
} }
.hotelProductManage2_edit_form .HotelProductEdit_date>div { .lineoffer_edit_form .HotelProductEdit_date>div {
display: inline-block; display: inline-block;
vertical-align: middle; vertical-align: middle;
} }
.hotelProductManage2_edit_form .HotelProductEdit_date>div>em { .lineoffer_edit_form .HotelProductEdit_date>div>em {
display: inline-block; display: inline-block;
margin: 7px 10px 0 0; margin: 7px 10px 0 0;
padding: 0 0 0 0; padding: 0 0 0 0;
} }
.hotelProductManage2 .RabateDiv { .lineoffer .RabateDiv {
margin-left: 25px; margin-left: 25px;
} }
.hotelProductManage2 .RebateCount { .lineoffer .RebateCount {
height: 34px; height: 34px;
border-radius: 17px; border-radius: 17px;
float: left; float: left;
} }
.hotelProductManage2 .reOne, .lineoffer .reOne,
.hotelProductManage2 .reTwo, .lineoffer .reTwo,
.hotelProductManage2.dayNum { .lineoffer.dayNum {
position: relative; position: relative;
} }
.hotelProductManage2 .leftPnum { .lineoffer .leftPnum {
float: left; float: left;
background-color: #f5f7fa; background-color: #f5f7fa;
height: 40px; height: 40px;
...@@ -1410,26 +1433,26 @@ ...@@ -1410,26 +1433,26 @@
color: #606266; color: #606266;
} }
.hotelProductManage2 .toolInput { .lineoffer .toolInput {
height: 42px; height: 42px;
padding-left: 5px; padding-left: 5px;
border: none; border: none;
} }
.hotelProductManage2 .inpuOne { .lineoffer .inpuOne {
width: 225px; width: 225px;
padding-left: 120px; padding-left: 120px;
border: 1px solid #d1d1d1; border: 1px solid #d1d1d1;
border-right: none; border-right: none;
} }
.hotelProductManage2 .inpuTwo { .lineoffer .inpuTwo {
width: 166px; width: 166px;
padding: 0 45px 0 77px; padding: 0 45px 0 77px;
border: 1px solid #d1d1d1; border: 1px solid #d1d1d1;
} }
.hotelProductManage2 .fanNum { .lineoffer .fanNum {
float: left; float: left;
background-color: #f5f7fa; background-color: #f5f7fa;
height: 40px; height: 40px;
...@@ -1450,11 +1473,11 @@ ...@@ -1450,11 +1473,11 @@
text-align: left; text-align: left;
} }
.hotelProductManage2_calendarItem>.calendarItem_day>.nowMonth:hover .detailInfo { .lineoffer_calendarItem>.calendarItem_day>.nowMonth:hover .detailInfo {
display: block; display: block;
} }
.hotelProductManage2 .detailInfo { .lineoffer .detailInfo {
display: none; display: none;
position: absolute; position: absolute;
left: -145px; left: -145px;
...@@ -1462,7 +1485,7 @@ ...@@ -1462,7 +1485,7 @@
z-index: 999; z-index: 999;
} }
.hotelProductManage2 .triangle_border_up { .lineoffer .triangle_border_up {
width: 0; width: 0;
height: 0; height: 0;
border-width: 0 175px 30px; border-width: 0 175px 30px;
...@@ -1472,7 +1495,7 @@ ...@@ -1472,7 +1495,7 @@
/*透明 透明 灰*/ /*透明 透明 灰*/
} }
.hotelProductManage2 .detailInfo .popContent { .lineoffer .detailInfo .popContent {
width: 350px; width: 350px;
min-height: 80px; min-height: 80px;
background-color: #e95252; background-color: #e95252;
...@@ -1484,24 +1507,27 @@ ...@@ -1484,24 +1507,27 @@
padding-bottom: 10px; padding-bottom: 10px;
} }
.hotelProductManage2 .popList label:first-child { .lineoffer .popList label:first-child {
display: inline-block; display: inline-block;
width: 40%; width: 40%;
margin: 10px 0 0 10px; margin: 10px 0 0 10px;
text-align: left; text-align: left;
} }
.hotelProductManage2 .popList label:last-child { .lineoffer .popList label:last-child {
display: inline-block; display: inline-block;
width: 40%; width: 40%;
margin: 10px 10px 0 0; margin: 10px 10px 0 0;
text-align: right; text-align: right;
} }
.hotelProductManage2 .Htupbtn { .lineoffer .Htupbtn {
padding: 0 10px; padding: 0 10px;
height: 25px; height: 25px;
margin: 10px 0 0 75px; margin: 10px 0 0 75px;
} }
.lineoffer .singeRowTable tr td {
font-size: 12px;
border: 1px solid #E5E5E5;
}
</style> </style>
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