Commit 9313012f authored by 黄奎's avatar 黄奎

新增巴厘岛财务数据查看权限

parent 03e619e9
......@@ -119,14 +119,14 @@
<div class="TC-MyList">
<div class="query-box">
<!--v-if="queryCommonData.IsParentCompany==1"-->
<div class="TC_companyList" v-show="IsShowAllBranch()">
<div class="TC_companyList" v-show="IsShowAllBranch() &&CurrentUserInfo.EmployeeId!=3384">
<span :class="{ TC_checked: queryCommonData.checkCompanyAll }"
@click="getCompanyCheckAll()">{{ $t("advmanager.v_all") }}</span>
<span v-for="(item, bindex) in queryCommonData.BranchList" :class="{ TC_checked: item.isShow }"
@click="getCompanyCheck(item)" :key="bindex">{{ item.BName }}</span>
</div>
<ul>
<li>
<li v-if="CurrentUserInfo.EmployeeId != 3384">
<span>
<em>{{ $t("system.table_ssLine") }}</em>
<el-select class="w150" v-model="queryMsg.LineId" filterable :placeholder="$t('pub.pleaseSel')"
......@@ -137,7 +137,7 @@
</el-select>
</span>
</li>
<li>
<li v-if="CurrentUserInfo.EmployeeId != 3384">
<span>
<em>{{ $t("Operation.Op_Country") }}/{{ $t("system.query_dest") }}</em>
<el-select class="w150" v-model="queryMsg.PlaceID" filterable :placeholder="$t('pub.pleaseSel')"
......@@ -148,7 +148,7 @@
</el-select>
</span>
</li>
<li>
<li v-if="CurrentUserInfo.EmployeeId != 3384">
<span>
<em>{{ $t("active.ad_xlmc") }}</em>
<el-select class="w150" v-model="queryMsg.LineteamId" filterable :placeholder="$t('pub.pleaseSel')">
......@@ -815,7 +815,8 @@
<el-popover width="980" trigger="click" popper-class="TC_HotelPop">
<commonHotelInfo :HotelObj="item.HotelOrderListReports" :showHotelObj="showHotelObj"
:TCID="item.TCID" :DMCNum="item.DMCNum" :TCNUM="item.TCNUM"
@SetShouPeiShu="SetShouPeiShu(item.TCID, item.ShouPeiStatus)" @success="getControlList()"></commonHotelInfo>
@SetShouPeiShu="SetShouPeiShu(item.TCID, item.ShouPeiStatus)" @success="getControlList()">
</commonHotelInfo>
<span slot="reference"
style="cursor: pointer; text-decoration: underline">{{ $t("salesModule.HotelOrder") }}
<font style="color: #e95252; text-decoration: none">
......@@ -2248,7 +2249,7 @@
showCaozuoTime: true, //操作时间
caiwu: true, //显示财务单据
colspanLength: 6, //跨行
showChange:true,//显示可变更酒店
showChange: true, //显示可变更酒店
},
//更新可售机票数量
updateAirticketObj: {
......@@ -2792,7 +2793,6 @@
(err) => {}
);
},
//新获取列表数据
getControlList() {
var msg = JSON.parse(JSON.stringify(this.queryMsg));
......@@ -3582,7 +3582,6 @@
});
this.getControlList();
},
SetPrice(value) {
if (value == null) {
return 0.0;
......@@ -3901,12 +3900,11 @@
this.getCountryCity();
},
created() {
let userinfo = this.getLocalStorage();
this.CurrentUserInfo = this.getLocalStorage();
//默认显示联运
this.queryMsg.IsShowUnion = -1;
let userInfo = this.getLocalStorage();
// 团提成权限
let ActionMenuCode = userinfo.ActionMenuCode;
let ActionMenuCode = this.CurrentUserInfo.ActionMenuCode;
if (ActionMenuCode.indexOf("isCommissionDetails") != -1) {
this.isCommissionDetails = true;
}
......@@ -3914,8 +3912,6 @@
if (ActionMenuCode.indexOf("SaleB2COrWeChat") != -1) {
this.SaleB2COrWeChatStatus = false;
}
this.CurrentUserInfo = userInfo;
if (this.$route.query.TCID) {
this.queryMsg.TCID = this.$route.query.TCID;
}
......@@ -3963,6 +3959,10 @@
this.CurrentUserInfo.RB_Branch_id != 1253
) {
this.queryMsg.OutBranchIds.push(this.CurrentUserInfo.RB_Branch_id);
} else if (this.CurrentUserInfo.EmployeeId == 3384) {
//this.queryMsg.OutBranchIds.push(this.CurrentUserInfo.RB_Branch_id);
this.queryMsg.LineId = 1;
this.queryMsg.PlaceID = 12;
}
}
var routeName = this.$route.name;
......
......@@ -78,14 +78,14 @@
<div class="TC_Content TC-MyList">
<div class="query-box">
<!--v-if="queryCommonData.IsParentCompany==1"-->
<div class="TC_companyList">
<div class="TC_companyList" v-if="CurrentUserInfo.EmployeeId!=3384">
<span :class="{'TC_checked':queryCommonData.checkCompanyAll}"
@click="getCompanyCheckAll()">{{$t('advmanager.v_all')}}</span>
<span v-for="(item,bindex) in queryCommonData.BranchList" :class="{'TC_checked':item.isShow}"
@click="getCompanyCheck(item)" :key="bindex">{{item.BName}}</span>
</div>
<ul>
<li>
<li v-if="CurrentUserInfo.EmployeeId!=3384">
<span>
<em>{{$t('system.table_ssLine')}}</em>
<el-select class="w150" v-model="queryMsg.LineId" filterable :placeholder="$t('pub.pleaseSel')"
......@@ -96,7 +96,7 @@
</el-select>
</span>
</li>
<li>
<li v-if="CurrentUserInfo.EmployeeId!=3384">
<span>
<em>{{$t('Operation.Op_Country')}}/{{$t('system.query_dest')}}</em>
<el-select class="w150" v-model="queryMsg.PlaceID" filterable :placeholder="$t('pub.pleaseSel')"
......@@ -107,7 +107,7 @@
</el-select>
</span>
</li>
<li>
<li v-if="CurrentUserInfo.EmployeeId!=3384">
<span>
<em>{{$t('active.ad_xlmc')}}</em>
<el-select class="w150" v-model="queryMsg.LineteamId" filterable :placeholder="$t('pub.pleaseSel')">
......@@ -552,7 +552,8 @@
<el-popover width="980" trigger="click" popper-class="TC_HotelPop">
<commonHotelInfo :HotelObj="item.HotelOrderListReports" :showHotelObj="showHotelObj"
:TCID="item.TCID" :DMCNum="item.DMCNum" :TCNUM="item.TCNUM"
@SetShouPeiShu="SetShouPeiShu(item.TCID,item.ShouPeiStatus)" @success="getControlList"></commonHotelInfo>
@SetShouPeiShu="SetShouPeiShu(item.TCID,item.ShouPeiStatus)" @success="getControlList">
</commonHotelInfo>
<span slot="reference"
style="cursor:pointer;text-decoration:underline;">{{$t('salesModule.HotelOrder')}}
<font style="color:#e95252;text-decoration:none;">
......@@ -2791,6 +2792,10 @@
userInfo.RB_Branch_id != 1249 && userInfo.RB_Branch_id != 1252 && userInfo.RB_Branch_id != 1253 && userInfo
.RB_Branch_id != 1216) {
this.queryMsg.OutBranchIds.push(userInfo.RB_Branch_id);
} else if (this.CurrentUserInfo.EmployeeId == 3384) {
//this.queryMsg.OutBranchIds.push(this.CurrentUserInfo.RB_Branch_id);
this.queryMsg.LineId = 1;
this.queryMsg.PlaceID = 12;
}
//默认查询全部团队状态
this.$tripUtils.TeamStatesList.TeamStates.forEach(states => {
......
......@@ -87,14 +87,14 @@
<div class="TC_Content">
<div class=" TC-MyList">
<div class="query-box">
<div class="TC_companyList" v-show="IsShowAllBranch()">
<div class="TC_companyList" v-show="IsShowAllBranch()&&CurrentUserInfo.EmployeeId!=3384">
<span :class="{'TC_checked':queryCommonData.checkCompanyAll}"
@click="getCompanyCheckAll()">{{$t('advmanager.v_all')}}</span>
<span v-for="(item,bindex) in queryCommonData.BranchList" :class="{'TC_checked':item.isShow}"
@click="getCompanyCheck(item)">{{item.BName}}</span>
</div>
<ul>
<li>
<li v-if="CurrentUserInfo.EmployeeId!=3384">
<span>
<em>{{$t('system.table_ssLine')}}</em>
<el-select class="w150" v-model="queryMsg.LineId" filterable :placeholder="$t('pub.pleaseSel')"
......@@ -105,7 +105,7 @@
</el-select>
</span>
</li>
<li>
<li v-if="CurrentUserInfo.EmployeeId!=3384">
<span>
<em>{{$t('Operation.Op_Country')}}/{{$t('system.query_dest')}}</em>
<el-select class="w150" v-model="queryMsg.PlaceID" filterable :placeholder="$t('pub.pleaseSel')"
......@@ -187,7 +187,6 @@
<el-input maxlength="50" v-model="queryMsg.DayNum" @keyup.native="checkInteger(queryMsg,'DayNum')"
class="w150" :placeholder="$t('pub.pleaseImport')"></el-input>
</div>
<div>
<span>{{$t('visa.v_lycity')}}</span>
<el-select class="w150" filterable v-model="queryMsg.UnionCityId"
......@@ -2481,6 +2480,11 @@
1253) {
this.queryMsg.OutBranchIds.push(this.CurrentUserInfo.RB_Branch_id)
}
else if (this.CurrentUserInfo.EmployeeId == 3384) {
//this.queryMsg.OutBranchIds.push(this.CurrentUserInfo.RB_Branch_id);
this.queryMsg.LineId = 177;
this.queryMsg.PlaceID = 525;
}
}
this.getControlList()
}
......
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