Commit 572637df authored by Mac's avatar Mac

1

parent b5a5896e
...@@ -209,7 +209,7 @@ ...@@ -209,7 +209,7 @@
</el-col> </el-col>
<el-col :span="4" :gutter="35" class="_BranchIdS"> <el-col :span="4" :gutter="35" class="_BranchIdS">
<el-form-item label="校区" prop="BranchIdS"> <el-form-item label="校区" prop="BranchIdS">
<el-select filterable v-model="addMsg.BranchIdS" collapse-tags> <el-select filterable v-model="addMsg.BranchIdS" collapse-tags >
<el-option <el-option
v-for="item in CompanyList" v-for="item in CompanyList"
:label="item.SName" :label="item.SName"
...@@ -531,6 +531,7 @@ export default { ...@@ -531,6 +531,7 @@ export default {
}; };
}, },
methods: { methods: {
rowClick(rowIndex,rowData,column){ rowClick(rowIndex,rowData,column){
let path='PlatformAccDetail'; let path='PlatformAccDetail';
if(column.title=="账户余额"){ if(column.title=="账户余额"){
...@@ -1053,10 +1054,16 @@ export default { ...@@ -1053,10 +1054,16 @@ export default {
if (!this.addMsg.RiskLimitMoney) { if (!this.addMsg.RiskLimitMoney) {
this.addMsg.RiskLimitMoney = 0; this.addMsg.RiskLimitMoney = 0;
} }
let obj = {};
obj = this.CompanyList.find(item => {
return item.SId === this.addMsg.BranchIdS; //筛选出匹配数据
});
let msg = { let msg = {
ID: 0, ID: 0,
Type: 2, Type: 2,
RB_Branch_Id: this.addMsg.BranchIdS RB_Branch_Id: this.addMsg.BranchIdS,
RB_BranchName:obj.SName
}; };
this.addMsg.BranchList.push(msg); this.addMsg.BranchList.push(msg);
this.apipost( this.apipost(
......
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