Commit 80a48b52 authored by zhengke's avatar zhengke

增加

parent b1bf0aaf
......@@ -107,6 +107,8 @@
<th>{{$t('admin.admin_isshow')}}</th>
<th>B2B是否显示</th>
<th>公司类型</th>
<th>是否服务费收费</th>
<th v-if="userInfoList.EmployeeId==1||userInfoList.EmployeeId==5||userInfoList.RB_Branch_id==49">{{userInfoList.RB_Branch_id}}服务费用</th>
<th width="200">{{$t('admin.admin_operate')}}</th>
</tr>
<tr v-for="(item,index) in DataList" v-loading='loading'>
......@@ -117,6 +119,8 @@
<td>{{item.is_show==0?'显示':'不显示'}}</td>
<td>{{item.B2BShow==0?'显示':'不显示'}}</td>
<td>{{item.IsParentCompany=='1'?'总公司':'分公司'}}</td>
<td>{{item.IsFreeFee==0?'付费':'免费'}}</td>
<td>{{item.ServiceFee}}</td>
<td>
<el-row>
<el-tooltip class="item" effect="dark" content="修改" placement="top-start">
......@@ -200,6 +204,17 @@
</el-option>
</el-select>
</el-form-item>
<el-form-item class='w400' label='是否服务费收费'>
<el-select v-model='addMsg.IsFreeFee' :placeholder="$t('pub.pleaseSel')"
class='w280'>
<el-option label="付费" :value='0'></el-option>
<el-option label="免费" :value='1'></el-option>
</el-select>
</el-form-item>
<el-form-item class='w400' label='服务费用' v-if="addMsg.IsFreeFee==0">
<el-input type="text" v-model="addMsg.ServiceFee"></el-input>
</el-form-item>
<el-form-item label='公司确认章'>
<el-upload class="avatar-uploader" :http-request="UploadImage" :show-file-list="false"
:on-success="handleAvatarSuccess" :before-upload="beforeAvatarUpload">
......@@ -363,19 +378,23 @@
GatheringAddress: '',
TravelLogo: '',
CompanyTitle: '',
IsFreeFee:0,
ServiceFee:0
},
updateMsg: {
GroupId: '1'
},
userInfoList:{},
}
},
mounted() {
let userInfo = this.getLocalStorage(); //获取用户登录信息
var userInfo = this.getLocalStorage(); //获取用户登录信息
if (this.$route.query.id != undefined) { //如果用户从集团页面跳到 公司页面, 那查询公司使用的是 选中集团id. 如果直接进入公司页面, 默认使用该用户登录信息中的 集团id
this.addMsg.RB_Group_Id = this.msg.RB_Group_Id = this.$route.query.id;
} else {
this.addMsg.RB_Group_Id = this.msg.RB_Group_Id = userInfo.RB_Group_id
}
this.userInfoList=userInfo;
this.getProvince();
this.getList();
this.getGroup();
......@@ -433,6 +452,7 @@
this.loading = true
this.apipost('admin_get_BranchGetPageList', this.msg, res => {
if (res.data.resultCode == 1) {
console.log(res,'ressssss');
this.DataList = res.data.data.pageData;
this.total = res.data.data.count;
this.loading = false
......
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