Commit 518d1042 authored by 华国豪's avatar 华国豪 🙄

新增一日游列表、一日游订单、一日游分团查询。

parent 71ee1f64
......@@ -296,7 +296,7 @@
<el-checkbox v-model="addMsg.IsBed" name="IsBed" :true-label='0' :false-label='1' @change="Roominformation()"></el-checkbox>
</el-form-item>
</li>
<li>
<li v-if="isOneDay !== 1">
<el-form-item label="房间信息" prop="HouseId">
<el-select v-model="addMsg.HouseId" filterable size=mini class="w230">
<el-option v-for="item in roomlist" :key="item.ID" :label="item.HouseInfo" :value="item.ID">
......@@ -769,6 +769,7 @@
SafeStartStatus: 2,
btnState: true,
roomlist:[],
isOneDay: 0,
};
},
methods: {
......@@ -1736,18 +1737,21 @@
this.addMsg.IsCriminalRecord = obj.IsCriminalRecord === null ? '' : obj.IsCriminalRecord.toString();
this.addMsg.IsDepartureRecord = obj.IsDepartureRecord.toString();
this.EconomicCapabilityS.forEach(x => {
if (obj.EconomicCapabilityList) {
obj.EconomicCapabilityList.forEach(y => {
if (x.ID == y.ID) {
x.isShow = true;
x.Content = y.Value;
}
});
}
});
this.VisaStartStatus = this.addMsg.IsVisaFree;
this.AirStartStatus = this.addMsg.IsNeedAirticket;
this.SafeStartStatus = this.addMsg.IsNeedSafe;
this.$forceUpdate();
this.getHouselist(obj.Sex.toString(),obj.TCID,obj.OrderId,obj.IsBed)
// this.Roominformation()
} else {
this.$message.error();
}
......@@ -1976,6 +1980,7 @@
this.getEconomicCapability();
this.GetGuestMustVisaAir();
this.getAccessToken();
this.isOneDay = this.$route.query.isOneDay;
this.addMsg.TCID = this.$route.query.TCID;
this.addMsg.OrderId = this.$route.query.orderId;
let userInfo = this.getLocalStorage();
......
......@@ -49,12 +49,20 @@
</li>
<li>
<span><em>订单状态</em></span>
<el-select v-model='msg.OrderState' filterable :placeholder="$t('pub.pleaseSel')">
<el-select v-model='msg.OrderState' filterable :placeholder="$t('pub.pleaseSel')" class='w200'>
<el-option label="不限" value='-1'></el-option>
<el-option v-for="item in ddztList" :label='item.Name' :value='item.Id' :key='item.Id'>
</el-option>
</el-select>
</li>
<li>
<span><em>订单类型</em></span>
<el-select v-model='msg.IsOneDay' filterable :placeholder="$t('pub.pleaseSel')" class='w200'>
<el-option label="不限" value='-1'></el-option>
<el-option label="跟团游订单" :value='0'></el-option>
<el-option label="一日游订单" :value='1'></el-option>
</el-select>
</li>
<li><span><em>发团日期</em>
<el-date-picker v-model='msg.QStartDate' @change="dataDuiQ()" class='w135' value-format="yyyy-MM-dd" type="date"></el-date-picker>
-
......@@ -185,11 +193,11 @@
<tr>
<td rowspan="3">
<p v-if="item.isChargeLossOrders==1" style="color:red"></p>
<p class="fbold over_ellipsis" style="width: 100%;cursor:pointer;" :title="item.orderId" @click="goUrlX('团报名清单', 'groupTourOrderByTuan',item.tcid,item.tcnum)">{{item.orderId}}
<p class="fbold over_ellipsis" style="width: 100%;cursor:pointer;" :title="item.orderId" @click="goUrlX('团报名清单', item.isOneDay === 1 ? 'groupTourOrderByTuanOne' : 'groupTourOrderByTuan',item.tcid,item.tcnum)">{{item.orderId}}
<el-tooltip class="item" effect="dark" content="通过小程序确认单报名" placement="top" v-show="item.orderForm==4"> <i class="iconfont icon-xiaochengxu" style="font-size:22px;color:red;"></i></el-tooltip>
</p>
<p class="fz12 over_ellipsis" style="width: 100%;text-decoration:underline;cursor:pointer;" :title="item.alName"
@click="goUrlX('产品查询', 'productQuery',item.tcid,item.tcnum)">{{item.tcnum}}</p>
@click="goUrlX('产品查询', item.isOneDay === 1 ? 'productQueryOne' : 'productQuery',item.tcid,item.tcnum)">{{item.tcnum}}</p>
<p class="fz12 over_ellipsis" style="width: 100%;">{{item.createBy}}<span v-if="item.leaveStr!=''" style="color:red">({{item.leaveStr}})</span></p>
<p class="fz12 over_ellipsis" style="width: 100%;">{{item.commissionSPeopleName=='无'?'':item.commissionSPeopleName}}</p>
<p>发团:{{item.startDate}}</p>
......@@ -408,7 +416,8 @@
SellFormEmp: 0,
GroupType: '-1',
TCNUM: '',
BranchId:'-1'
BranchId:'-1',
IsOneDay: '-1'
},
employeeMsg: {
RB_Group_id: "0",
......
......@@ -3655,7 +3655,7 @@
this.getCount()
},
getLineList() {
this.apipost('line_post_GetAllList', {}, res => {
this.apipost('line_post_GetAllList_V2', {LineDirection: 0}, res => {
if (res.data.resultCode == 1) {
this.LineList = res.data.data
} else {
......
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -2,7 +2,7 @@
<div class="passengerSaleList">
<div class="passengerSaleList_topBtn">
<div v-if="isOrder==1" v-show="tableList.length<guestNum" @click="goUrlA(0)">新增</div>
<div v-if="isOrder==1" @click="goUrlP()">分房</div>
<div v-if="isOrder==1 && isOneDay !== 1" @click="goUrlP()">分房</div>
</div>
<div class="passengerSaleList_tableBox">
<table class="passengerSaleList_table" border="0" cellspacing="0" cellpadding="0" :loading="loading">
......@@ -87,7 +87,8 @@
},
guestNum: 0,
isOrder: 0,
tableList: []
tableList: [],
isOneDay: 0,
};
},
methods: {
......@@ -99,6 +100,7 @@
if (res.data.resultCode == 1) {
this.guestNum = res.data.data.GuestNum;
this.tableList = res.data.data.list;
this.isOneDay = res.data.data.IsOneDay;
} else {
this.$message.error(res.data.message)
}
......@@ -129,7 +131,8 @@
query: {
"TCID": this.msg.tcid,
"orderId": this.msg.id,
'guestId': guestId
'guestId': guestId,
'isOneDay': this.isOneDay
}
});
},
......
......@@ -2121,7 +2121,7 @@
}, err => {})
},
getLineList() {
this.apipost("line_post_GetAllList", {}, res => {
this.apipost("line_post_GetAllList_V2", {LineDirection: 0}, res => {
if (res.data.resultCode == 1) {
this.LineList = res.data.data;
}
......
This diff is collapsed.
......@@ -370,11 +370,24 @@ export default {
return `<span>${rowData.shenHeShiJian <= 0 ? '' : rowData.shenHeShiJian}</span>`
}
};
let xiaoShouKaiTuan = {
field: "xiaoShouKaiTuan",
title: "销售开团",
titleAlign: "left",
columnAlign: "left",
isResize: true,
width: 120,
orderBy: "",
formatter: function(rowData, rowIndex, pagingIndex, field) {
return `<span>${rowData.xiaoShouKaiTuan <= 0 && !rowData.xiaoShouKaiTuan ? '' : rowData.xiaoShouKaiTuan}</span>`
}
};
this.columns = [];
this.columns.push(company);
this.columns.push(department);
this.columns.push(userName);
this.columns.push(periods);
this.columns.push(xiaoShouKaiTuan);
this.columns.push(LllegalModifyRemarkCount);
this.columns.push(AppletOrderCount);
this.columns.push(shaoJian);
......@@ -423,6 +436,9 @@ export default {
if(param.lllegalModifyRemarkCount!=''){
this.msg.OrderBy='a.LllegalModifyRemarkCount '+param.lllegalModifyRemarkCount
}
if(param.xiaoShouKaiTuan!=''){
this.msg.OrderBy='a.XiaoShouKaiTuan '+param.XiaoShouKaiTuan
}
if(param.appletOrderCount!=''){
this.msg.OrderBy='a.AppletOrderCount '+param.appletOrderCount
......
......@@ -13,8 +13,9 @@
<td width="20" rowspan="3">甲方</td>
<td width="125" rowspan="3">委托社名称及许可证号</td>
<td width="260" rowspan="3">
<input v-if='!isPrint' class="wp100" v-model="list.CustomerName" type="text">
<span v-if='isPrint'>{{list.CustomerName}}</span>
<!-- <input v-if='!isPrint' class="wp100" v-model="list.CustomerName" type="text">
<span v-if='isPrint'>{{list.CustomerName}}</span> -->
<span contenteditable="true">{{list.CustomerName}}</span>
</td>
<td width="80" rowspan="3">经办人</td>
<td width="80" rowspan="3" >
......
......@@ -2085,6 +2085,14 @@ export default {
title: '产品查询'
},
},
{ // 销售 一日游产品查询
path: '/productQueryOne',
name: 'productQueryOne',
component: resolve => require(['@/components/SalesModule/productQueryOne'], resolve),
meta: {
title: '一日游产品查询'
},
},
{ // 销售 机票查询
path: '/planeTicketInquiry',
name: 'planeTicketInquiry',
......@@ -2101,6 +2109,14 @@ export default {
title: '跟团游订单'
},
},
{ // 销售 一日游订单
path: '/groupTourOrderOne',
name: 'groupTourOrderOne',
component: resolve => require(['@/components/SalesModule/groupTourOrderOne'], resolve),
meta: {
title: '一日游订单'
},
},
{ // 销售 跟团游订单
path: '/SalesFinancialDetail',
name: 'SalesFinancialDetail',
......@@ -2198,6 +2214,14 @@ export default {
title: '跟团游订单分团查询'
},
},
{ // 销售 一日游订单分团查询
path: '/groupTourOrderByTuanOne',
name: 'groupTourOrderByTuanOne',
component: resolve => require(['@/components/SalesModule/groupTourOrderByTuanOne'], resolve),
meta: {
title: '一日游订单分团查询'
},
},
{ //团控票务
path: '/TravelticketManager',
name: 'TravelticketManager',
......
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