Commit f86b3a7b authored by huangyuanyuan's avatar huangyuanyuan

散卖机票订单

parent 8981d06e
This diff is collapsed.
...@@ -13,6 +13,35 @@ ...@@ -13,6 +13,35 @@
<em>订单号</em><el-input v-model='msg.AirOrderId' class='w150'></el-input> <em>订单号</em><el-input v-model='msg.AirOrderId' class='w150'></el-input>
</span> </span>
</li> </li>
<li>
<span>
<em>报名公司</em>
<el-select class="w200" v-model="msg.RB_Branch_Id" filterable :placeholder="$t('pub.pleaseSel')">
<el-option label="不限" :value="-1"></el-option>
<el-option v-for="item in companyList" :label='item.BName' :value='item.Id' :key='item.Id'></el-option>
</el-select>
</span>
</li>
<li>
<span>
<em>人员选择</em>
</span>
<el-select
class="w200"
v-model="msg.EnterID"
filterable
:placeholder="$t('pub.pleaseSel')"
>
<el-option label="不限" value="-1"></el-option>
<el-option
v-for="item in employeeList"
:label="item.name"
:value="item.empId"
:key="item.empId"
></el-option>
</el-select>
</li>
<li> <li>
<span> <span>
<em>状态</em> <em>状态</em>
...@@ -195,10 +224,42 @@ export default { ...@@ -195,10 +224,42 @@ export default {
loading:false, loading:false,
total:0, total:0,
currentPage: 1, currentPage: 1,
companyList:[],
employeeList:[],
}; };
}, },
components: {}, components: {},
created(){
this.getEmployee();
this.getCompanyList();
},
methods: { methods: {
getEmployee() {
this.apipost(
"app_get_company_employee",
this.employeeMsg,
res => {
if (res.data.resultCode == 1) {
this.employeeList = res.data.data;
}
},
err => {}
);
},
getCompanyList() {
let userInfo = this.getLocalStorage();
let RB_Group_id = userInfo.RB_Group_id;
let msg = {
Status: 0,
is_show: 0,
RB_Group_Id: RB_Group_id
}
this.apipost('admin_get_BranchGetList', msg, res => {
if(res.data.resultCode == 1) {
this.companyList=res.data.data;
}
}, err => {})
},
goUrl: function (name, path, id ) { goUrl: function (name, path, id ) {
this.$router.push({ name: path, query: { id: id, blank: 'y', tab: name} }); this.$router.push({ name: path, query: { id: id, blank: 'y', tab: name} });
}, },
...@@ -218,7 +279,7 @@ export default { ...@@ -218,7 +279,7 @@ export default {
res => { res => {
this.loading=false; this.loading=false;
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
console.log(res); // console.log(res);
this.total = res.data.data.count; this.total = res.data.data.count;
this.dataList = res.data.data.pageData; this.dataList = res.data.data.pageData;
} else { } else {
......
...@@ -4,14 +4,16 @@ ...@@ -4,14 +4,16 @@
<!-- 信息 --> <!-- 信息 -->
<div class="AirModel"> <div class="AirModel">
<el-row> <el-row>
<el-col :span="8"> <el-col :span="7">
<p>{{AirModel.AirlineName}}</p> <p>{{AirModel.AirlineName}}</p>
<p><el-button type="primary" size="mini">{{AirModel.FreightSpaceStr}}</el-button></p> <p><el-button type="primary" size="mini">{{AirModel.FreightSpaceStr}}</el-button></p>
</el-col> </el-col>
<el-col :span="15"> <el-col :span="17">
<p v-for="item in AirModel.flightList" :key="item.Flight_number"> <p v-for="item in AirModel.flightList" :key="item.Flight_number">
<span class="air">{{item.Flight_number}} </span> <span class="air">{{item.Flight_number}} </span>
<span>{{item.FlightDate}} {{item.Departure_time}}{{item.DepartureName}} - {{item.AIATA}}{{item.ArrivalCityName}}</span> <span>{{item.FlightDate}} {{item.Departure_time}}({{item.DIATA}}){{item.DepartureName}}
<span v-if="item.StopoverName">-({{item.StopoverIATA}}){{item.StopoverName}}</span>
<span v-if="item.ArrivalCityName">- ({{item.AIATA}}){{item.ArrivalCityName}}</span></span>
</p> </p>
</el-col> </el-col>
</el-row> </el-row>
...@@ -298,7 +300,7 @@ export default { ...@@ -298,7 +300,7 @@ export default {
"ticket_get_GetScatteringOrderForAirTicketList", "ticket_get_GetScatteringOrderForAirTicketList",
this.msg, this.msg,
res => { res => {
console.log(res); // console.log(res);
this.loading = false; this.loading = false;
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.total = res.data.data.count; this.total = res.data.data.count;
...@@ -328,7 +330,7 @@ export default { ...@@ -328,7 +330,7 @@ export default {
} }
.AirModel { .AirModel {
font-size: 14px; font-size: 14px;
width: 500px; width: 560px;
margin-bottom: 15px; margin-bottom: 15px;
font-weight: 400; font-weight: 400;
padding: 6px; padding: 6px;
......
...@@ -132,17 +132,17 @@ ...@@ -132,17 +132,17 @@
} else if (this.value === '3') { } else if (this.value === '3') {
this.visible=false this.visible=false
let orderObj = { let orderObj = {
OrderID:obj.orderId, OrderID:obj.orderId,//订单号
OrderSource:8, OrderSource:8,//12
Obj: {}, Obj: {},
SourceID:obj.ID, SourceID:obj.ID,//机票id
TCIDList: TCIDARR TCIDList: TCIDARR
} }
this.$router.push({ this.$router.push({
name: 'ChoiceAddFinancialDocuments', name: 'ChoiceAddFinancialDocuments',
query:{ query:{
"Type":2, "Type":2,
"companyID":obj.outBranchId, "companyID":obj.outBranchId,//公司id
"path": "", "path": "",
'blank':'y', 'blank':'y',
'orderObj':JSON.stringify(orderObj) 'orderObj':JSON.stringify(orderObj)
......
...@@ -116,6 +116,7 @@ export default { ...@@ -116,6 +116,7 @@ export default {
let domainUrl = ''; let domainUrl = '';
let locationName = window.location.hostname; let locationName = window.location.hostname;
domainUrl = "http://192.168.2.214:8082"; //214主域名 domainUrl = "http://192.168.2.214:8082"; //214主域名
// domainUrl = "http://192.168.2.16:8083";
if (locationName.indexOf('oytour')!==-1) { if (locationName.indexOf('oytour')!==-1) {
domainUrl = "http://webapi.viitto.com"; domainUrl = "http://webapi.viitto.com";
} }
......
...@@ -1866,6 +1866,15 @@ export default { ...@@ -1866,6 +1866,15 @@ export default {
title: '机票订单' title: '机票订单'
}, },
}, },
{ // 销售 散卖机票订单
path: '/BulkAirTicketOrders',
name: 'BulkAirTicketOrders',
component: resolve => require(['@/components/SalesModule/BulkAirTicketOrders'], resolve),
meta: {
title: '散卖机票订单'
},
},
{ // 销售 报名统计 { // 销售 报名统计
path: '/enrollTotal', path: '/enrollTotal',
name: 'enrollTotal', name: 'enrollTotal',
......
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