Commit 4ddcb840 authored by 吴春's avatar 吴春

道旅酒店信息

parent c49493e8
This diff is collapsed.
This diff is collapsed.
......@@ -171,7 +171,7 @@
<li>
<li v-if="ActionMenuCode.indexOf('ThirdHotelOrder')!=-1">
<span>
<em>{{$t('sm.company')}}</em>
<el-select v-model="msg.RB_Branch_Id" :placeholder="$t('rule.company')" @change="getDepartmentMsg.RB_Branch_Id = msg.RB_Branch_Id, getDepartment(),msg.RB_Department_Id = 0,msg.CreateBy = 0">
......@@ -184,7 +184,7 @@
</el-select>
</span>
</li>
<li>
<li v-if="ActionMenuCode.indexOf('ThirdHotelOrder')!=-1">
<span>
<em>{{$t('admin.admin_Department')}}</em>
<el-select v-model="msg.RB_Department_Id" :placeholder="$t('rule.qxzbmen')" @change="employeeMsg.DepartmentId = msg.RB_Department_Id,employeeMsg.BranchId=msg.RB_Branch_Id, getEmployee(), msg.CreateBy=0">
......@@ -197,7 +197,7 @@
</el-select>
</span>
</li>
<li>
<li v-if="ActionMenuCode.indexOf('ThirdHotelOrder')!=-1">
<span>
<em>{{$t('active.cl_addPp')}}</em>
<el-select filterable v-model='msg.CreateBy'>
......@@ -494,6 +494,8 @@
export default {
data() {
return {
//当前登录用户功能权限
ActionMenuCode: "",
msg: {
pageIndex:1,
pageSize:10,
......@@ -746,6 +748,7 @@ export default {
getList() {
//获取现有线路列表
this.loading = true;
console.log(" this.msg", this.msg);
this.apipost(
"sellorder_post_GetAllJapanHotelOrderList",
this.msg,
......@@ -902,9 +905,16 @@ export default {
this.msg.HotelName=this.$route.query.teamTCID;
}
let userInfo=this.getLocalStorage();
this.ActionMenuCode = userInfo.ActionMenuCode;
this.getCompanyMsg.RB_Group_Id=userInfo.RB_Group_id; //集团
this.getDepartmentMsg.RB_Branch_Id=userInfo.RB_Branch_id; //公司
this.EmployeeId=userInfo.EmployeeId //员工
if(this.ActionMenuCode.indexOf('ThirdHotelOrder')==-1){
console.log("我没有权限",this.ActionMenuCode);
this.msg.CreateBy=userInfo.EmployeeId;
this.msg.RB_Branch_Id=userInfo.RB_Branch_id;
this.msg.RB_Department_Id=userInfo.RB_Department_Id;
}
this.getCompanyList()
this.getThirdOrderSourceEnumEnumList();
this.getDepartment()
......
......@@ -474,7 +474,7 @@ export default {
getdidaBedType() {
this.apipost(
"dmc_post_GetDidaBedTypeBaseInfo",
this.hotelMsg,
{},
res => {
this.loading = false;
if (res.data.resultCode == 1) {
......
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