Commit fff4d922 authored by youjie's avatar youjie

账户密码权限

parent fbf068e8
......@@ -261,16 +261,19 @@
<el-input v-model="addMsg.PlatformNo" maxlength="20"></el-input>
</el-form-item>
</el-col>
<el-col :span="4" :gutter="35">
<el-form-item label="平台密码:" prop="PlatFormPwd">
<el-input v-model="addMsg.PlatFormPwd" class></el-input>
</el-form-item>
</el-col>
<el-col :span="4" :gutter="35">
<el-form-item label="平台网址:" prop="PlatFormUrl">
<el-input v-model="addMsg.PlatFormUrl" class></el-input>
</el-form-item>
</el-col>
<template v-if="isLookPlatformAccountPwd">
<el-col :span="4" :gutter="35">
<el-form-item label="平台密码:" prop="PlatFormPwd">
<el-input v-model="addMsg.PlatFormPwd" class></el-input>
</el-form-item>
</el-col>
<el-col :span="4" :gutter="35">
<el-form-item label="平台网址:" prop="PlatFormUrl">
<el-input v-model="addMsg.PlatFormUrl" class></el-input>
</el-form-item>
</el-col>
</template>
<el-col :span="4" :gutter="35">
<el-form-item label="保证金单号:" prop="FinanceNo">
<el-input v-model="addMsg.FinanceNo" maxlength="50"></el-input>
......@@ -588,6 +591,7 @@
props:['pagesTitle'],
data() {
return {
isLookPlatformAccountPwd: false,//账户密码权限
isExamine: false,
columns: [],
remoteLoading: false,
......@@ -1321,6 +1325,14 @@
this.addMsg.SettlementType = this.addMsg.SettlementType.toString()
this.addMsg.BindBankID = this.addMsg.BindBankID == -1 ? null : this.addMsg.BindBankID
this.remoteQueryBankMethod(this.addMsg.BindBankName)
let userInfo = this.getLocalStorage();
let ActionMenuCode = userInfo.ActionMenuCode;
if(userInfo.EmployeeId==this.addMsg.CreateBy||ActionMenuCode.indexOf('isManageFinance') != -1){
this.isLookPlatformAccountPwd = true
}else{
this.isLookPlatformAccountPwd = false
}
} else {
this.tips(res.data.message, "error");
}
......@@ -1660,6 +1672,7 @@
this.getLineList()
this.msg.pageSize = this.calcPageSize(40);
let userInfo = this.getLocalStorage();
this.getCompanyMsg.RB_Group_Id = userInfo.RB_Group_id; //集团ID
var branchId = userInfo.RB_Branch_id;
this.addMsg.BranchIdS = branchId;
......
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