Commit 2f307dee authored by 黄奎's avatar 黄奎

页面修改

parent 25420239
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -911,7 +911,6 @@ export default { ...@@ -911,7 +911,6 @@ export default {
} }
if(rowIndex<15){ if(rowIndex<15){
console.log(rowData.ZhaiYao,'----11111111111')
if(BranchId == 1245){ if(BranchId == 1245){
that.$router.push({ name: "TeamRevenueReport",query:{"StartTime":startDate,"EndTime":endDate,BranchId:BranchId,OutBranchId:BranchId,StandardCurrencyId,blank:'y',tab:"营收报表"} }) that.$router.push({ name: "TeamRevenueReport",query:{"StartTime":startDate,"EndTime":endDate,BranchId:BranchId,OutBranchId:BranchId,StandardCurrencyId,blank:'y',tab:"营收报表"} })
}else if(rowData.ZhaiYao=="联运收入"){ }else if(rowData.ZhaiYao=="联运收入"){
......
...@@ -1743,13 +1743,6 @@ ...@@ -1743,13 +1743,6 @@
}, res => { }, res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.GetCostTypeList = res.data.data; this.GetCostTypeList = res.data.data;
// let ids = res.data.data.forEach(x=> {
// if(x.ID==1546){
// console.log(x,'==========')
// return x.ID
// }
// })
if (type) { if (type) {
this.msg.detailList.forEach(x => { this.msg.detailList.forEach(x => {
this.GetCostTypeList.forEach(y => { this.GetCostTypeList.forEach(y => {
......
<style> <style>
@import url('../../../assets/css/domestic/TicketingModule.css'); @import url('../../../assets/css/domestic/TicketingModule.css');
.sanjiao-box{
.sanjiao-box {
position: relative; position: relative;
} }
.sanjiao-box .Receipt_table td{
.sanjiao-box .Receipt_table td {
padding: 0 10px; padding: 0 10px;
} }
.hover_text span{
.hover_text span {
cursor: pointer; cursor: pointer;
text-decoration: underline; text-decoration: underline;
} }
.czBillModule td{
text-align: center!important; .czBillModule td {
padding:6px 0!important; text-align: center !important;
padding: 6px 0 !important;
} }
._tit2{
._tit2 {
border: none !important; border: none !important;
} }
</style>
<template> </style>
<template>
<div class="m_TicketingModule" v-if="DataList&&DataList.length>0"> <div class="m_TicketingModule" v-if="DataList&&DataList.length>0">
<div> <div>
<div class="_tit"> <div class="_tit">
...@@ -56,19 +62,19 @@ ...@@ -56,19 +62,19 @@
</div> </div>
</div> </div>
</div> </div>
</template> </template>
<script> <script>
export default { export default {
props:["GetDetail"], props: ["GetDetail"],
data(){ data() {
return{ return {
loading: true, loading: true,
cdtotal: 0, cdtotal: 0,
ybtotal: 0, ybtotal: 0,
tableShow: true, tableShow: true,
DataList: [], DataList: [],
msg:{ msg: {
pageIndex: 1, pageIndex: 1,
pageSize: 10, pageSize: 10,
RemitterName: '', RemitterName: '',
...@@ -78,12 +84,12 @@ ...@@ -78,12 +84,12 @@
} }
} }
}, },
watch:{ watch: {
GetDetail:{ GetDetail: {
handler(val, oldVal) { handler(val, oldVal) {
if(this.GetDetail&&this.GetDetail.OtherType==74&&this.GetDetail.ReFinanceId){ if (this.GetDetail && this.GetDetail.OtherType == 74 && this.GetDetail.ReFinanceId) {
this.msg.ClientIdStr = this.GetDetail.ReFinanceId this.msg.ClientIdStr = this.GetDetail.ReFinanceId
}else if(this.GetDetail&&this.GetDetail.DepositCustomerId){ } else if (this.GetDetail && this.GetDetail.DepositCustomerId) {
this.msg.ClientIdStr = this.GetDetail.DepositCustomerId this.msg.ClientIdStr = this.GetDetail.DepositCustomerId
} }
this.GetFinanceDepositPageList(); this.GetFinanceDepositPageList();
...@@ -91,41 +97,46 @@ ...@@ -91,41 +97,46 @@
deep: true, deep: true,
immediate: true, immediate: true,
} }
},created(){ },
created() {
},mounted(){ },
mounted() {
}, },
methods:{ methods: {
goPrestorageManagement(){ goPrestorageManagement() {
this.$router.push( this.$router.push({
{ name: 'prestoreList', name: 'prestoreList',
query:{ query: {
// ClientIdStr:this.msg.ClientIdStr, // ClientIdStr:this.msg.ClientIdStr,
blank:'y',tab:'客户预存管理' blank: 'y',
} tab: '客户预存管理'
} }
) })
}, },
goDetail(id){ goDetail(id) {
this.$router.push( this.$router.push({
{ name: 'FinancialDocumentsDetail', name: 'FinancialDocumentsDetail',
query:{"id":id,blank:'y',tab:'单据详情'} query: {
"id": id,
blank: 'y',
tab: '单据详情'
} }
) })
}, },
// 客户存储余额列表 // 客户存储余额列表
GetFinanceDepositPageList(){ GetFinanceDepositPageList() {
this.apipost('Financial_post_GetFinanceDepositPageList', this.apipost('Financial_post_GetFinanceDepositPageList',
this.msg,res=>{ this.msg, res => {
this.loading = false this.loading = false
if(res.data.resultCode == 1) { if (res.data.resultCode == 1) {
console.log(res.data.data.pageData)
this.DataList = res.data.data.pageData; this.DataList = res.data.data.pageData;
} }
}) })
}, },
} }
} }
</script>
</script>
...@@ -9,9 +9,11 @@ ...@@ -9,9 +9,11 @@
display: inline-block; display: inline-block;
margin: 10px 15px 10px 0; margin: 10px 15px 10px 0;
} }
.domesticCommissionUser .opUl li input{
.domesticCommissionUser .opUl li input {
height: 34px !important; height: 34px !important;
} }
.domesticCommissionUser .singeRowTable tr td { .domesticCommissionUser .singeRowTable tr td {
padding: 8px 5px; padding: 8px 5px;
} }
...@@ -21,6 +23,7 @@ ...@@ -21,6 +23,7 @@
text-decoration: underline; text-decoration: underline;
color: red; color: red;
} }
</style> </style>
<template> <template>
<div class="flexOne domesticCommissionUser"> <div class="flexOne domesticCommissionUser">
...@@ -38,24 +41,24 @@ ...@@ -38,24 +41,24 @@
<em>人员</em> <em>人员</em>
<el-select v-model="msg.UserId" size="mini" @change="handleCurrentChange(1)" filterable :disabled='disabled'> <el-select v-model="msg.UserId" size="mini" @change="handleCurrentChange(1)" filterable :disabled='disabled'>
<el-option label="不限" :value="-1"></el-option> <el-option label="不限" :value="-1"></el-option>
<el-option v-for="(item,index) in searchList" :key="item.index" :label="item.name" <el-option v-for="(item,index) in searchList" :key="item.index" :label="item.name" :value="item.empId">
:value="item.empId"></el-option> </el-option>
</el-select> </el-select>
</li> </li>
<li> <li>
<em>出团公司</em> <em>出团公司</em>
<el-select v-model="msg.OutBranchId" size="mini" @change="handleCurrentChange(1)" :disabled='disabled'> <el-select v-model="msg.OutBranchId" size="mini" @change="handleCurrentChange(1)" :disabled='disabled'>
<el-option label="不限" :value="-1"></el-option> <el-option label="不限" :value="-1"></el-option>
<el-option v-for="(item,index) in BranchList" :key="item.index" :label="item.BName" <el-option v-for="(item,index) in BranchList" :key="item.index" :label="item.BName" :value="item.Id">
:value="item.Id"></el-option> </el-option>
</el-select> </el-select>
</li> </li>
<li> <li>
<em>公司</em> <em>公司</em>
<el-select v-model="msg.RB_Branch_Id" size="mini" @change="handleCurrentChange(1)" :disabled='disabled'> <el-select v-model="msg.RB_Branch_Id" size="mini" @change="handleCurrentChange(1)" :disabled='disabled'>
<el-option label="不限" :value="-1"></el-option> <el-option label="不限" :value="-1"></el-option>
<el-option v-for="(item,index) in BranchList" :key="item.index" :label="item.BName" <el-option v-for="(item,index) in BranchList" :key="item.index" :label="item.BName" :value="item.Id">
:value="item.Id"></el-option> </el-option>
</el-select> </el-select>
</li> </li>
<li> <li>
...@@ -125,7 +128,7 @@ ...@@ -125,7 +128,7 @@
UserId: -1, UserId: -1,
RB_Branch_Id: -1, RB_Branch_Id: -1,
RB_Department_Id: -1, RB_Department_Id: -1,
OutBranchId:-1, OutBranchId: -1,
}, },
loading: false, loading: false,
//数据源 //数据源
...@@ -135,26 +138,25 @@ ...@@ -135,26 +138,25 @@
PeriodsList: [], PeriodsList: [],
BranchList: [], BranchList: [],
searchList: [], searchList: [],
departMentList:[], departMentList: [],
} }
}, },
mounted() { mounted() {
let userInfo = this.getLocalStorage(); let userInfo = this.getLocalStorage();
let ActionMenuCode = userInfo.ActionMenuCode; let ActionMenuCode = userInfo.ActionMenuCode;
if (ActionMenuCode.indexOf('home_CommissionSeeAll') != -1) {//是否有看所有人的权限 if (ActionMenuCode.indexOf('home_CommissionSeeAll') != -1) { //是否有看所有人的权限
this.disabled = false; this.disabled = false;
this.msg.UserId = this.$route.query.UserId?Number(this.$route.query.UserId):-1 this.msg.UserId = this.$route.query.UserId ? Number(this.$route.query.UserId) : -1
}else{ } else {
this.disabled = true; this.disabled = true;
this.msg.UserId = this.$route.query.UserId?Number(this.$route.query.UserId):Number(userInfo.EmployeeId) this.msg.UserId = this.$route.query.UserId ? Number(this.$route.query.UserId) : Number(userInfo.EmployeeId)
} }
this.msg.PeriodId = this.$route.query.PeriodId?Number(this.$route.query.PeriodId):0 this.msg.PeriodId = this.$route.query.PeriodId ? Number(this.$route.query.PeriodId) : 0
console.log(this.msg.PeriodId,'====')
this.getList(); this.getList();
this.getqishilist() this.getqishilist()
this.getCompanyList()//获取公司 this.getCompanyList() //获取公司
this.getEmployee()//人员 this.getEmployee() //人员
this.getDerpartMent()//部门 this.getDerpartMent() //部门
}, },
methods: { methods: {
getDerpartMent() { getDerpartMent() {
...@@ -165,12 +167,12 @@ ...@@ -165,12 +167,12 @@
res => { res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.departMentList = res.data.data; this.departMentList = res.data.data;
} else { } } else {}
}, },
err => { } err => {}
); );
}, },
getEmployee() {//所有人员下拉 getEmployee() { //所有人员下拉
let employeeMsg = { let employeeMsg = {
RB_Group_id: "0", RB_Group_id: "0",
RB_Branch_id: "-1", RB_Branch_id: "-1",
...@@ -185,7 +187,7 @@ ...@@ -185,7 +187,7 @@
this.searchList = res.data.data; this.searchList = res.data.data;
} }
}, },
err => { } err => {}
); );
}, },
//初始化公司 //初始化公司
...@@ -206,17 +208,16 @@ ...@@ -206,17 +208,16 @@
} }
}, },
err => { } err => {}
); );
}, },
getqishilist() { getqishilist() {
this.apipost( this.apipost(
"opcommission_GetGNOPCommissionPeriodsList", "opcommission_GetGNOPCommissionPeriodsList", {},
{},
res => { res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.PeriodsList = res.data.data; this.PeriodsList = res.data.data;
if (!this.$route.query.PeriodId&&this.PeriodsList && this.PeriodsList.length > 0) { if (!this.$route.query.PeriodId && this.PeriodsList && this.PeriodsList.length > 0) {
this.msg.PeriodId = Number(this.PeriodsList[0].Id) this.msg.PeriodId = Number(this.PeriodsList[0].Id)
} }
...@@ -238,9 +239,9 @@ ...@@ -238,9 +239,9 @@
path: path, path: path,
query: { query: {
PeriodId: this.msg.PeriodId, PeriodId: this.msg.PeriodId,
UserId:item.UserId, UserId: item.UserId,
RB_Branch_Id:item.RB_Branch_Id, RB_Branch_Id: item.RB_Branch_Id,
RB_Department_Id:item.RB_Department_Id, RB_Department_Id: item.RB_Department_Id,
blank: 'y', blank: 'y',
tab: '国内提现详情' tab: '国内提现详情'
} }
...@@ -267,4 +268,5 @@ ...@@ -267,4 +268,5 @@
} }
} }
</script> </script>
...@@ -617,8 +617,7 @@ ...@@ -617,8 +617,7 @@
<span style="color: red;">{{ item.unionRemark }}</span> <span style="color: red;">{{ item.unionRemark }}</span>
</div> </div>
<div v-if="item.flightName||item.backFlightName"> <div v-if="item.flightName||item.backFlightName">
联运信息:<span style="color: red">已配联运{{item.configNum}}人,{{item.airticketUnionNotes}}2 联运信息:<span style="color: red">已配联运{{item.configNum}}人,{{item.airticketUnionNotes}}
<span v-if="item.isSure==1" style="color:rgb(71, 191, 140)">【OK】</span> <span v-else>【暂定】</span> <span v-if="item.isSure==1" style="color:rgb(71, 191, 140)">【OK】</span> <span v-else>【暂定】</span>
</span> </span>
<template v-if="item.flightName"> <template v-if="item.flightName">
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
} }
.DT_rightList .DT_Table { .DT_rightList .DT_Table {
width: 1600px; width: 1700px;
border-collapse: collapse; border-collapse: collapse;
} }
...@@ -119,6 +119,9 @@ ...@@ -119,6 +119,9 @@
<th width="120"> <th width="120">
确认状态 确认状态
</th> </th>
<th width="120">
适用旅客
</th>
</tr> </tr>
</thead> </thead>
<template v-if="UnionList&&UnionList.length>0"> <template v-if="UnionList&&UnionList.length>0">
...@@ -198,6 +201,9 @@ ...@@ -198,6 +201,9 @@
<el-option :key="1" :value="1" label="确认"></el-option> <el-option :key="1" :value="1" label="确认"></el-option>
</el-select> </el-select>
</td> </td>
<td rowspan="2">
{{item.GuestNameInfo}}
</td>
</tr> </tr>
<tr> <tr>
<td>返程</td> <td>返程</td>
...@@ -231,7 +237,7 @@ ...@@ -231,7 +237,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td colspan="14" style="text-align:left;font-weight:bold;color:red;"> <td colspan="15" style="text-align:left;font-weight:bold;color:red;">
&nbsp;订单备注:{{item.Remarks}} <br /> &nbsp;订单备注:{{item.Remarks}} <br />
&nbsp;联运备注:{{item.UnionRemark}} &nbsp;联运备注:{{item.UnionRemark}}
</td> </td>
...@@ -240,7 +246,7 @@ ...@@ -240,7 +246,7 @@
</template> </template>
<tbody v-else> <tbody v-else>
<tr> <tr>
<td colspan="14"> <td colspan="15">
暂无配置联运信息 暂无配置联运信息
</td> </td>
</tr> </tr>
...@@ -321,7 +327,6 @@ ...@@ -321,7 +327,6 @@
}, },
res => { res => {
this.loading = false; this.loading = false;
console.log("res", res.data);
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
var array = res.data.data; var array = res.data.data;
if (array != null && array.length > 0) { if (array != null && array.length > 0) {
...@@ -404,6 +409,11 @@ ...@@ -404,6 +409,11 @@
item.FlightList = []; item.FlightList = [];
item.BackFlightList = []; item.BackFlightList = [];
}); });
if (this.UnionList && this.UnionList.length > 0) {
this.UnionList.forEach(item => {
item.GuestIds = "";
});
}
let msg = { let msg = {
SaveData: this.UnionList, SaveData: this.UnionList,
TCID: this.TCID TCID: this.TCID
......
...@@ -1011,7 +1011,6 @@ ...@@ -1011,7 +1011,6 @@
<el-dropdown-item v-else @click.native="goToOpenTravel('TravelManager6',item.ID,0)"> <el-dropdown-item v-else @click.native="goToOpenTravel('TravelManager6',item.ID,0)">
{{$t('Operation.Op_xilieModyfi')}} {{$t('Operation.Op_xilieModyfi')}}
</el-dropdown-item> </el-dropdown-item>
<el-dropdown-item v-if="item.TeamType!=3" <el-dropdown-item v-if="item.TeamType!=3"
@click.native="goTonowTeam('TravelManager2',item.ID,item.TCID,item.TCNUM)"> @click.native="goTonowTeam('TravelManager2',item.ID,item.TCID,item.TCNUM)">
{{$t('Operation.Op_dangtuanModify')}} {{$t('Operation.Op_dangtuanModify')}}
...@@ -1027,9 +1026,17 @@ ...@@ -1027,9 +1026,17 @@
style="background:#67c23a; border-color:#67c23a"> style="background:#67c23a; border-color:#67c23a">
{{$t('Operation.Op_advertising')}}&nbsp;{{item.AdvertCount}} {{$t('Operation.Op_advertising')}}&nbsp;{{item.AdvertCount}}
</el-button> </el-button>
<el-button v-if="item.LineID==14||item.LineID==118" @click.native='PushMessage(item)' type="primary"
<template v-if="item.LineID==14||item.LineID==118">
<el-button v-if="item.IsPush==0" @click.native='PushMessage(item)' type="primary"
style="background:#00C6FF; border-color:#00C6FF;">推送消息 style="background:#00C6FF; border-color:#00C6FF;">推送消息
</el-button> </el-button>
<el-button v-else @click.native='PushMessage(item)' type="primary"
style="background:red !important; ">已推送
</el-button>
</template>
<el-button @click="ckOPremark(item)" type="primary" style="background:#F16C3C; border-color:#F16C3C"> <el-button @click="ckOPremark(item)" type="primary" style="background:#F16C3C; border-color:#F16C3C">
{{$t('Operation.Op_remark')}} {{$t('Operation.Op_remark')}}
</el-button> </el-button>
...@@ -1534,6 +1541,7 @@ ...@@ -1534,6 +1541,7 @@
this.apipost("travel_post_PushTravelPriceToQYWork", pMsg, res => { this.apipost("travel_post_PushTravelPriceToQYWork", pMsg, res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.Success(res.data.message); this.Success(res.data.message);
this.getControlList();
} else { } else {
this.Error(res.data.message); this.Error(res.data.message);
} }
......
...@@ -8,76 +8,67 @@ ...@@ -8,76 +8,67 @@
</ul> </ul>
</div> </div>
<div v-if="isReady" v-loading='loading'> <div v-if="isReady" v-loading='loading'>
<el-table <el-table ref="multipleTable" :data="dataList" tooltip-effect="dark" style="width: 100%">
ref="multipleTable"
:data="dataList"
tooltip-effect="dark"
style="width: 100%"
>
<el-table-column prop="bName" label="公司"></el-table-column> <el-table-column prop="bName" label="公司"></el-table-column>
<el-table-column prop="departmentName" label="部门"></el-table-column> <el-table-column prop="departmentName" label="部门"></el-table-column>
<el-table-column <el-table-column label="姓名">
label="姓名">
<template slot-scope="scope"> <template slot-scope="scope">
<div v-if="scope.row.leaveStr && scope.row.leaveStr != ''">{{scope.row.createByStr}}<span style="color:red;display:inline-block">({{scope.row.leaveStr}})</span></div> <div v-if="scope.row.leaveStr && scope.row.leaveStr != ''">{{scope.row.createByStr}}<span
style="color:red;display:inline-block">({{scope.row.leaveStr}})</span></div>
<div v-else>{{scope.row.createByStr}}</div> <div v-else>{{scope.row.createByStr}}</div>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column label="提成金额">
label="提成金额">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{scope.row.commissionMoney.toFixed(2)}}</span> <span>{{scope.row.commissionMoney.toFixed(2)}}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column label="额外奖励">
label="额外奖励">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{scope.row.otherMoney.toFixed(2)}}</span> <span>{{scope.row.otherMoney.toFixed(2)}}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column label="额外扣除">
label="额外扣除">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{scope.row.backMoney.toFixed(2)}}</span> <span>{{scope.row.backMoney.toFixed(2)}}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column label="应发提成">
label="应发提成">
<template slot-scope="scope"> <template slot-scope="scope">
<span style='color:red'>{{(scope.row.otherMoney+scope.row.commissionMoney-scope.row.backMoney).toFixed(2)}}</span> <span
style='color:red'>{{(scope.row.otherMoney+scope.row.commissionMoney-scope.row.backMoney).toFixed(2)}}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column label="收客人数">
label="收客人数">
<template slot-scope="scope"> <template slot-scope="scope">
<span style='color:blue'>{{scope.row.peopleCount}}</span> <span style='color:blue'>{{scope.row.peopleCount}}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column label="单签证人数">
label="单签证人数">
<template slot-scope="scope"> <template slot-scope="scope">
<span style='color:orange'>{{scope.row.visaPeopleCount}}</span> <span style='color:orange'>{{scope.row.visaPeopleCount}}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column label="期数">
label="期数">
<template slot-scope="scope"> <template slot-scope="scope">
<div v-if="scope.row.periods != stringPerons" style='height:40px;line-height:40px;color:#f1f1f1;background: red;margin: 0 -5px;;padding-left: 10px;'>{{scope.row.periods}}</div> <div v-if="scope.row.periods != stringPerons"
style='height:40px;line-height:40px;color:#f1f1f1;background: red;margin: 0 -5px;;padding-left: 10px;'>
{{scope.row.periods}}</div>
<template v-else>{{scope.row.periods}}</template> <template v-else>{{scope.row.periods}}</template>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column label="销售留言">
label="销售留言">
<template slot-scope="scope"> <template slot-scope="scope">
<div v-if="scope.row.remark" class="outDiv"> <div v-if="scope.row.remark" class="outDiv">
<div class="toolDiv"> <div class="toolDiv">
<div class="triangle_border_up"> <div class="triangle_border_up">
</div>{{scope.row.remark}}</div>{{scope.row.remark}}</div> </div>{{scope.row.remark}}
</div>{{scope.row.remark}}
</div>
<template v-else>''</template> <template v-else>''</template>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column label="操作">
label="操作">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button type="primary" size='mini' icon="el-icon-view" circle @click="getInfo(scope.row)"></el-button> <el-button type="primary" size='mini' icon="el-icon-view" circle @click="getInfo(scope.row)"></el-button>
</template> </template>
...@@ -99,9 +90,9 @@ ...@@ -99,9 +90,9 @@
</div> </div>
<div style="height:20px;"> </div> <div style="height:20px;"> </div>
</div> </div>
</template> </template>
<script> <script>
import Vue from 'vue' import Vue from 'vue'
import XLSX from 'xlsx' import XLSX from 'xlsx'
var FileSaver = require('file-saver') var FileSaver = require('file-saver')
...@@ -212,7 +203,8 @@ ...@@ -212,7 +203,8 @@
if (filters.createByStr != '') { if (filters.createByStr != '') {
data = data.filter(item => item.createByStr.indexOf(filters.createByStr) != -1); data = data.filter(item => item.createByStr.indexOf(filters.createByStr) != -1);
} }
if ((filters.bName === '' || filters.bName === '__all__') && filters.departmentName === '' && filters.createByStr === '') { if ((filters.bName === '' || filters.bName === '__all__') && filters.departmentName === '' && filters
.createByStr === '') {
data = dataListTwo data = dataListTwo
} }
this.dataList = data this.dataList = data
...@@ -259,7 +251,6 @@ ...@@ -259,7 +251,6 @@
item.value = x.BName; item.value = x.BName;
companyList.push(item); companyList.push(item);
}); });
console.log(companyList,'-------')
let company = {} let company = {}
if (this.disabledCPSelect) { if (this.disabledCPSelect) {
company = { company = {
...@@ -383,7 +374,8 @@ ...@@ -383,7 +374,8 @@
this.disabledCPSelect = true this.disabledCPSelect = true
} }
let dt = new Date() let dt = new Date()
this.stringPerons = (dt.getMonth() == 0 ? (dt.getFullYear() - 1) : dt.getFullYear()) + '' + (dt.getMonth().toString().length < 2 ? '0' : '') + (dt.getMonth() == 0 ? 12 : dt.getMonth()); this.stringPerons = (dt.getMonth() == 0 ? (dt.getFullYear() - 1) : dt.getFullYear()) + '' + (dt.getMonth()
.toString().length < 2 ? '0' : '') + (dt.getMonth() == 0 ? 12 : dt.getMonth());
this.userInfo = this.getLocalStorage(); this.userInfo = this.getLocalStorage();
this.getList(); this.getList();
this.getCompanyList(); this.getCompanyList();
...@@ -415,9 +407,10 @@ ...@@ -415,9 +407,10 @@
} }
}; };
</script>
<style> </script>
<style>
.commissionDetails .triangle_border_up { .commissionDetails .triangle_border_up {
width: 0; width: 0;
height: 0; height: 0;
...@@ -466,4 +459,5 @@ ...@@ -466,4 +459,5 @@
display: block; display: block;
width: 100%; width: 100%;
} }
</style>
</style>
...@@ -193,7 +193,6 @@ ...@@ -193,7 +193,6 @@
{{outItem.NewCombinationNum}} {{outItem.NewCombinationNum}}
</td> </td>
<td style="position: relative"> <td style="position: relative">
{{item.OutBranchName}} {{item.OutBranchName}}
<div v-if="item.IsSetOut&&item.IsSetOut==1" style="color:red;font-weight:bold;"> <div v-if="item.IsSetOut&&item.IsSetOut==1" style="color:red;font-weight:bold;">
(取消发团) (取消发团)
...@@ -250,6 +249,9 @@ ...@@ -250,6 +249,9 @@
<td> <td>
<div class="link"> <div class="link">
<p @click="goUrlT('productQuery',item.TCNUMS,'产品查询')">{{item.TCNUMS}}<br />({{item.TCID}})</p> <p @click="goUrlT('productQuery',item.TCNUMS,'产品查询')">{{item.TCNUMS}}<br />({{item.TCID}})</p>
<div v-if="item.IsSetOut&&item.IsSetOut==1" style="color:red;font-weight:bold;">
(取消发团)
</div>
</div> </div>
</td> </td>
<td style="color: #47BF8C;white-space: nowrap;"> <td style="color: #47BF8C;white-space: nowrap;">
...@@ -334,7 +336,8 @@ ...@@ -334,7 +336,8 @@
</div> </div>
</td> </td>
<td> <td>
<div class="fz16 fbold linkspan" @click="goUrl([131,14, 90].includes(item.LineId) ? 'roomReservationsDetails' : 'roomReservationsDetailsNew',item,outItem,'订房详情')"> <div class="fz16 fbold linkspan"
@click="goUrl([131,14, 90].includes(item.LineId) ? 'roomReservationsDetails' : 'roomReservationsDetailsNew',item,outItem,'订房详情')">
<span style="color: #4BCA81;" v-if="item.HotelResult==1"></span> <span style="color: #4BCA81;" v-if="item.HotelResult==1"></span>
<span class="colorE95252" v-else>{{item.HotelResult=='-1'?"x":"O"}}</span> <span class="colorE95252" v-else>{{item.HotelResult=='-1'?"x":"O"}}</span>
</div> </div>
...@@ -703,7 +706,7 @@ ...@@ -703,7 +706,7 @@
}, },
methods: { methods: {
showDialog(ConfigId, OfferId) { showDialog(ConfigId, OfferId) {
if(!OfferId) { if (!OfferId) {
return return
} }
this.dialog = { this.dialog = {
...@@ -820,7 +823,9 @@ ...@@ -820,7 +823,9 @@
}, err => {}) }, err => {})
}, },
getLineList() { getLineList() {
this.apipost("line_post_GetList", {LineDirection: 2}, res => {// this.apipost("line_post_GetList", {
LineDirection: 2
}, res => { //
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.queryCommonData.LineList = res.data.data; this.queryCommonData.LineList = res.data.data;
this.queryCommonData.PlaceList = [] this.queryCommonData.PlaceList = []
......
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