Commit 74cf6764 authored by youjie's avatar youjie

优化门票、包车

parent a3231216
......@@ -576,7 +576,7 @@
</template>
</div>
</div>
<div class="column px15 bgf5 radius5 flex-g pa relative">
<div class="column px15 bgf5 radius5 flex-g pa relative" style="min-width: 300px;">
<div class="fz12">收款单据</div>
<div class="row wrap orderNo fz12 py">
<span
......@@ -604,7 +604,7 @@
></i>
</el-tooltip>
</div>
<div class="column px15 bgf5 radius5 ml flex-g pa relative">
<div class="column px15 bgf5 radius5 ml flex-g pa relative" style="min-width: 300px;">
<div class="fz12">退款单据</div>
<div class="row wrap orderNo fz12 py">
<span
......@@ -632,7 +632,7 @@
></i>
</el-tooltip>
</div>
<div class="column px15 bgf5 radius5 ml flex-g pa relative">
<div class="column px15 bgf5 radius5 ml flex-g pa relative" style="min-width: 300px;">
<div class="fz12">成本单据</div>
<div class="row wrap orderNo fz12 py">
<span
......@@ -660,7 +660,7 @@
></i>
</el-tooltip>
</div>
<div class="column px15 bgf5 radius5 ml flex-g pa relative">
<div class="column px15 bgf5 radius5 ml flex-g pa relative" style="min-width: 300px;">
<div class="fz12">手配费单据</div>
<div class="row wrap orderNo fz12 py">
<span
......
......@@ -562,7 +562,7 @@
</template> -->
</div>
</div>
<div class="column px15 bgf5 radius5 flex-g pa relative">
<div class="column px15 bgf5 radius5 flex-g pa relative" style="min-width: 300px;">
<div class="fz12">收款单据</div>
<div class="row wrap orderNo fz12 py c3FC4FF">
<span
......@@ -588,7 +588,7 @@
></i>
</el-tooltip>
</div>
<div class="column px15 bgf5 radius5 ml flex-g pa relative">
<div class="column px15 bgf5 radius5 ml flex-g pa relative" style="min-width: 300px;">
<div class="fz12">退款单据</div>
<div class="row wrap orderNo fz12 py c3FC4FF">
<span
......@@ -614,7 +614,7 @@
></i>
</el-tooltip>
</div>
<div class="column px15 bgf5 radius5 ml flex-g pa relative">
<div class="column px15 bgf5 radius5 ml flex-g pa relative" style="min-width: 300px;">
<div class="fz12">成本单据</div>
<div class="row wrap orderNo fz12 py c3FC4FF">
<span
......@@ -640,7 +640,7 @@
></i>
</el-tooltip>
</div>
<div class="column px15 bgf5 radius5 ml flex-g pa relative">
<div class="column px15 bgf5 radius5 ml flex-g pa relative" style="min-width: 300px;">
<div class="fz12">手配费单据</div>
<div class="row wrap orderNo fz12 py c3FC4FF">
<span
......
......@@ -661,7 +661,8 @@ export default {
},
addPickerBeginDateAfter: {
disabledDate: time => {
let startTime = new Date(this.addMsg.StartDate);
// let startTime = new Date(this.addMsg.StartDate);
let startTime = new Date(this.getBeforeDate(1,new Date(this.addMsg.StartDate).Format("yyyy-MM-dd")));
return startTime.getTime() >= time.getTime();
}
},
......
......@@ -336,9 +336,9 @@
<!-- <p>自行前往指定位置取票,當您完成付款後我們將通過郵件通知您取票的門票訊息</p> -->
<p>自取地址:{{SelffetchAddress}}</p>
</div>
<div class="flexOne-infor-box" v-if="msg.MailingState!=4">
<div class="flexOne-infor-box">
<b> {{msg.MailingState==1?'客人讯息':'邮寄讯息'}}</b>
<el-form label-width="80px" :model="msg" :rules="rules" ref="msg">
<el-form v-if="msg.MailingState!=4" label-width="80px" :model="msg" :rules="rules" ref="msg">
<div class="infor-list">
<!-- <div class="list-title">
<li>中文姓名</li>
......
......@@ -681,7 +681,7 @@
</template>
</div>
</div>
<div class="column px15 bgf5 radius5 ml flex-g pa relative">
<div class="column px15 bgf5 radius5 ml flex-g pa relative" style="min-width: 300px;">
<div class="fz12">收款单据</div>
<div class="row wrap orderNo fz12 py">
<span class="cursor-pointer radius5 mr px5"
......@@ -697,7 +697,7 @@
@click="makeAdocument(item, index, 1)"></i>
</el-tooltip>
</div>
<div class="column px15 bgf5 radius5 ml flex-g pa relative">
<div class="column px15 bgf5 radius5 ml flex-g pa relative" style="min-width: 300px;">
<div class="fz12">退款单据</div>
<div class="row wrap orderNo fz12 py">
<span class="cursor-pointer radius5 mr px5"
......@@ -713,7 +713,7 @@
@click="makeAdocument(item, index, 2)"></i>
</el-tooltip>
</div>
<div class="column px15 bgf5 radius5 ml flex-g pa relative">
<div class="column px15 bgf5 radius5 ml flex-g pa relative" style="min-width: 300px;">
<div class="fz12">成本单据</div>
<div class="row wrap orderNo fz12 py">
<span class="cursor-pointer radius5 mr px5"
......
<style>
.groupTourOrderByTuan_ico{
margin-left: 5px;
<style scoped>
.listone-box {
display: flex;
flex-direction: column;
}
.groupTourOrderByTuan_ico>i{
display: inline-block;
margin: 0 5px 0 0;
width: 8px;
height: 8px;
border-radius: 2px;
vertical-align: middle;
}
.HotelWorkList .has-gutter tr th,
.el-table th.is-leaf {
background-color: #EAEAEA !important;
}
.HotelWorkList .HW_hotelDialog {
width: 900px;
}
.HotelWorkList .Hw_tableOne {
width: 100%;
height: 40px;
background-color: #EAEAEA;
}
.HotelWorkList .Hw_tableOne th {
text-align: center;
}
.HotelWorkList .HotelWorkInput .el-input {
width: 223px;
}
.HotelWorkList .HworkInput .el-input {
width: 110px;
}
</style>
.listone-box,
.listtwo-card {
margin-top: 15px;
}
.listone-form {
padding: 10px;
border-radius: 5px;
background: #ffffff;
display: flex;
flex-direction: row;
justify-content: space-between;
margin-bottom: 10px;
overflow: hidden;
}
.listone-img {
width: 130px;
flex-shrink: 0;
margin-right: 15px;
border-radius: 5px;
display: block;
}
.listone-list {
flex-grow: 1;
display: flex;
justify-content: space-between;
}
.card-centent h6 {
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
.list-left h6,
.card-centent h6 {
font-size: 16px;
margin-bottom: 5px;
cursor: pointer;
}
.list-left div {
color: #7E8299;
font-size: 13px;
margin-top: 7px;
}
.list-left div a {
color: #009EF7;
font-size: 12px;
margin-left: 15px;
cursor: pointer;
}
.list-right {
flex-shrink: 1;
margin-left: 15px;
}
.list-right p {
margin-bottom: 10px;
}
.list-right p b {
font-size: 18px;
color: #F1416C;
}
.list-right p span {
color: #8A8C9F;
font-size: 12px;
margin-left: 10px;
}
.listtwo-form {
height: 100%;
display: flex;
flex-direction: column;
padding: 10px;
background: #ffffff;
border-radius: 5px;
}
.card-centent {
padding: 10px;
}
.card-centent p {
color: #7E8299;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
font-size: 13px;
}
.card-text {
margin-top: 20px;
display: flex;
justify-content: space-between;
align-items: inherit;
}
.card-text b {
font-size: 14px;
}
.card-form {
display: flex;
align-items: inherit;
flex-wrap: wrap;
}
.listtwo-col {
margin-bottom: 15px;
}
.listtwo-img {
height: 200px;
border-radius: 5px;
display: block;
}
.iconfont {
cursor: pointer;
background-color: #E95252;
color: white;
width: 30px;
height: 30px;
display: inline-block;
text-align: center;
line-height: 30px;
border-radius: 50%;
margin-left: 10px;
}
.image-slot {
height: 100%;
display: flex;
justify-content: center;
align-items: center;
}
</style>
<template>
<div class="HotelWorkList">
<div class="query-box HotelWorkInput" style="border-bottom: none;">
<div class="flexOne domesticScenic">
<div class="query-box" style="border-bottom: none;">
<ul>
<li>
<span>
<em>{{ $t('OrderList.search.status') }}</em>
<el-select v-model="msg.OrderStatus" class="w110 HworkInput">
<el-select v-model="msg.OrderStatus">
<el-option :key="0" :value="0" :label="$t('OrderList.orderStatus.normal')"></el-option>
<el-option v-for="item in OrderStatusType" :key="item.ID" :label="item.Name" :value="item.ID"></el-option>
</el-select>
......@@ -53,34 +162,46 @@
</li>
<li>
<span><em>{{ $t('OrderList.search.orderNum') }}</em>
<el-input class="w110 HworkInput" clearable type="Number" v-model="msg.OrderNo"
<el-input clearable type="Number" v-model="msg.OrderNo"
:placeholder="$t('OrderList.search.orderNum')" />
</span>
</li>
<li>
<span><em>订单ID</em>
<el-input clearable type="Number" v-model="msg.OrderId" placeholder="订单ID" class="w110 HworkInput" />
<el-input clearable type="Number" v-model="msg.OrderId" placeholder="订单ID" />
</span>
</li>
<li>
<span><em>客人名称</em>
<el-input clearable v-model="msg.Name" placeholder="客人名称" class="w110 HworkInput" />
<el-input clearable v-model="msg.Name" placeholder="客人名称" />
</span>
</li>
<li v-if="pagesTitle!='销售'">
<span><em>业务员</em>
<el-select filterable v-model='msg.EnterID'>
<el-option :value="0" label="不限"></el-option>
<el-option v-for='item in EmployeeList'
:label='item.EmName'
:value='item.EmployeeId'
:key='item.EmployeeId'>
</el-option>
</el-select>
</span>
</li>
<li>
<span><em>景区名称</em>
<el-input clearable v-model="msg.CouponsName" placeholder="景区名称" class="w110 HworkInput" />
<el-input clearable v-model="msg.CouponsName" placeholder="景区名称"/>
</span>
</li>
<li>
<span><em>电话</em>
<el-input clearable v-model="msg.ContactNumber" placeholder="电话" class="w110 HworkInput" />
<el-input clearable v-model="msg.ContactNumber" placeholder="电话"/>
</span>
</li>
<li>
<span>
<em>取券方式</em>
<el-select v-model="msg.MailingState" placeholder="取券方式" class="w110 HworkInput">
<el-select v-model="msg.MailingState" placeholder="取券方式">
<el-option :key="-1" :value="-1" label="所有类型"></el-option>
<el-option v-for="item in MailingStateType" :key="item.ID" :label="item.Name"
:value="item.ID"></el-option>
......@@ -100,7 +221,7 @@
<li>
<span>
<em>{{ $t('OrderList.search.daterange') }}</em>
<el-date-picker style="height: 34px;" value-format="yyyy-MM-dd" v-model="Datelist" type="daterange"
<el-date-picker style="height: 34px;width: 212px;" value-format="yyyy-MM-dd" v-model="Datelist" type="daterange"
:range-separator="$t('OrderList.zhi')" :start-placeholder="$t('OrderList.star')"
:end-placeholder="$t('OrderList.end')" @change="getDates">
</el-date-picker>
......@@ -109,7 +230,7 @@
<li>
<span>
<em>门票时间</em>
<el-date-picker style="height: 34px;" value-format="yyyy-MM-dd" v-model="DatelistUse" type="daterange"
<el-date-picker style="height: 34px;width: 212px;" value-format="yyyy-MM-dd" v-model="DatelistUse" type="daterange"
:range-separator="$t('OrderList.zhi')" :start-placeholder="$t('OrderList.star')"
:end-placeholder="$t('OrderList.end')" @change="getDatesUse">
</el-date-picker>
......@@ -166,6 +287,8 @@ export default {
MailingState: -1,
CouponsName: '',//景区名称
ContactNumber: '',//电话
IsSelectSale: 1,
EnterID: 0
},
total: 0,
currentPage: 1,
......@@ -186,6 +309,14 @@ export default {
],
Datelist: '',
DatelistUse: '',
EmployeeList:[],
employeeMsg:{ // 员工
GroupId:'',
BranchId:-1,
DepartmentId:0,
PostId:0,
IsLeave:0,
},
};
},
watch: {
......@@ -194,6 +325,15 @@ export default {
}
},
methods: {
getEmployee() { //员工
let userInfo=this.getLocalStorage();
this.employeeMsg.GroupId = userInfo.RB_Group_id;
this.apipost('admin_get_EmployeeGetList', this.employeeMsg, res => {
if(res.data.resultCode == 1) {
this.EmployeeList = res.data.data;
}
}, err => {})
},
getDatesUse() {
if(this.DatelistUse){
if (this.DatelistUse[0]) {
......@@ -333,6 +473,7 @@ export default {
mounted() {
this.Datelist = this.getyMDOne()
this.userInfo = this.getLocalStorage();
this.getEmployee()
this.GetList();
this.initHotels();//酒店名称下拉
......
......@@ -661,7 +661,8 @@ export default {
},
addPickerBeginDateAfter: {
disabledDate: time => {
let startTime = new Date(this.addMsg.StartDate);
// let startTime = new Date(this.addMsg.StartDate);
let startTime = new Date(this.getBeforeDate(1,new Date(this.addMsg.StartDate).Format("yyyy-MM-dd")));
return startTime.getTime() >= time.getTime();
}
}
......
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