Commit a5330127 authored by 华国豪's avatar 华国豪 🙄

1

parents 02e4b00e f86b3a7b
...@@ -37,7 +37,17 @@ ...@@ -37,7 +37,17 @@
value-format="yyyy-MM-dd"> value-format="yyyy-MM-dd">
</el-date-picker> </el-date-picker>
</span> </span>
</li> </li>
<li>
<span>
<em>机票类别</em>
<el-select filterable v-model='msg.IsInter' >
<el-option label='全部' value='-1'></el-option>
<el-option label='国内机票' value='0'></el-option>
<el-option label='国际机票' value='1'></el-option>
</el-select>
</span>
</li>
<li> <li>
<span> <span>
<em>状态</em> <em>状态</em>
...@@ -156,7 +166,8 @@ export default { ...@@ -156,7 +166,8 @@ export default {
PageIndex:1, PageIndex:1,
pageSize:15, pageSize:15,
sDate:'', sDate:'',
eDate:'' eDate:'',
IsInter:'-1'
}, },
dataList:[], dataList:[],
noData:false, noData:false,
...@@ -275,7 +286,7 @@ export default { ...@@ -275,7 +286,7 @@ export default {
},null) },null)
}, },
method5: function() { method5: function() {
this.GetLocalFile("DomesticTicket_post_DownBill", {'Term':this.msg.Term,'Status':this.msg.Status,'sDate':this.msg.sDate,'eDate':this.msg.eDate},"历史账单.xls"); this.GetLocalFile("DomesticTicket_post_DownBill", {'Term':this.msg.Term,'Status':this.msg.Status,'sDate':this.msg.sDate,'eDate':this.msg.eDate,'emID':this.emID,'IsInter':this.msg.IsInter},"历史账单.xls");
} , } ,
resetPageIndex() {//查询初始化页码 resetPageIndex() {//查询初始化页码
this.msg.pageIndex = 1; this.msg.pageIndex = 1;
......
...@@ -218,7 +218,12 @@ export default { ...@@ -218,7 +218,12 @@ export default {
ID:item.NewHotelId ID:item.NewHotelId
}) })
item.PayStyle=item.PayStyle.toString() item.PayStyle=item.PayStyle.toString()
item.OrderDetailsList.forEach(x=>{ item.OrderDetailsList.forEach((x,index1)=>{
if(x.HouseTypeCount<=0){
x.HouseTypeCount = item.HouseStatistics.HouseTypeList[index1].HouseTypeCount.toString();
}else{
x.HouseTypeCount =x.HouseTypeCount.toString();
}
x.HouseTypeCount = x.HouseTypeCount.toString(); x.HouseTypeCount = x.HouseTypeCount.toString();
x.UnitPrice = x.UnitPrice.toString(); x.UnitPrice = x.UnitPrice.toString();
x.HotelDiscount = x.HotelDiscount.toString(); x.HotelDiscount = x.HotelDiscount.toString();
......
...@@ -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>
...@@ -143,7 +172,9 @@ ...@@ -143,7 +172,9 @@
<div>收款单据:</div> <div>收款单据:</div>
<div> <div>
<span style="cursor: default;"> <span style="cursor: default;">
<span class="tickets_green" v-for="(fina,fin) in item.FinanceList" :key="fin">{{fina.PayMoney}}</span> <span class="tickets_green" v-for="(fina,fin) in item.FinanceList" :key="fin">
<span @click="goUrl('财务单据','FinancialDocumentsDetail',fina.FrID)">{{fina.FrID}}</span>
</span>
<span v-if="item.FinanceList==0"> <span v-if="item.FinanceList==0">
暂无数据 暂无数据
</span> </span>
...@@ -155,7 +186,9 @@ ...@@ -155,7 +186,9 @@
<div>付款单据:</div> <div>付款单据:</div>
<div> <div>
<span style="cursor: default;"> <span style="cursor: default;">
<span class="tickets_green" v-for="(fina,fin) in item.RefundFinanceList" :key="fin">{{fina.PayMoney}}</span> <span class="tickets_green" v-for="(fina,fin) in item.RefundFinanceList" :key="fin">
<span @click="goUrl('财务单据','FinancialDocumentsDetail',fina.FrID)">{{fina.FrID}}</span>
</span>
<span v-if="item.RefundFinanceList==0"> <span v-if="item.RefundFinanceList==0">
暂无数据 暂无数据
</span> </span>
...@@ -191,10 +224,45 @@ export default { ...@@ -191,10 +224,45 @@ 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 ) {
this.$router.push({ name: path, query: { id: id, blank: 'y', tab: name} });
},
handleCurrentChange (val) { handleCurrentChange (val) {
this.msg.pageIndex = val this.msg.pageIndex = val
this.getList() this.getList()
...@@ -211,7 +279,7 @@ export default { ...@@ -211,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 {
......
...@@ -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)
......
...@@ -115,7 +115,12 @@ export default { ...@@ -115,7 +115,12 @@ export default {
Vue.prototype.domainManager = function () { Vue.prototype.domainManager = function () {
let domainUrl = ''; let domainUrl = '';
let locationName = window.location.hostname; let locationName = window.location.hostname;
<<<<<<< HEAD
domainUrl = "http://192.168.2.65:8025"; //214主域名 domainUrl = "http://192.168.2.65:8025"; //214主域名
=======
domainUrl = "http://192.168.2.214:8082"; //214主域名
// domainUrl = "http://192.168.2.16:8083";
>>>>>>> f86b3a7beecb55955eae334e9c3e56a9f3e331ad
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