Commit 3f4ea041 authored by zhengke's avatar zhengke

修改

parent e2aafbdb
......@@ -304,11 +304,11 @@
<el-form-item :label="$t('fnc.lcmingcheng')" prop="Name">
<el-input v-model="addMsg.Name" class="w200" size="small" maxlength="10"></el-input>
</el-form-item>
<el-form-item :label="$t('fnc.sygongsi')">
<el-form-item label="校区">
<el-select filterable multiple v-model='BranchIdS' class="w200" size="small" @change="disabledOption">
<el-option :label='$t("fnc.jttongyong")' :value='-1' :key='-1'>
</el-option>
<el-option v-for='item in CompanyList' :label='item.BName' :value='item.Id' :key='item.Id'
<el-option v-for='item in CompanyList' :label='item.SName' :value='item.SId' :key='item.SId'
:disabled="item.disabled">
</el-option>
</el-select>
......@@ -525,6 +525,10 @@
</template>
<script>
import {
getSchoolPage
} from '../../api/school/index'
import Treeselect from '@riophae/vue-treeselect'
import '@riophae/vue-treeselect/dist/vue-treeselect.css'
export default {
......@@ -700,6 +704,13 @@
lab: this.$t('fnc.zjinchi')
}],
isIndeterminate: true,
schoolMsg:{
pageIndex: 1,
pageSize: 12,
rowsPerPage: 12,
SName: "",
Status: '-1'
}
}
},
watch: {
......@@ -726,6 +737,7 @@
this.addMsg.RB_BranchId = this.$route.query.Branch_Id;
};
}
this.getSchool()
},
mounted() {
if (this.$route.query.xingzhen) {
......@@ -748,6 +760,15 @@
this.getDepartment();
},
methods: {
getSchool() {
getSchoolPage(this.schoolMsg).then(res => {
console.log(res,'数据');
this.CompanyList=res.Data.PageData;
}).catch(() => {
})
},
getPropertyType() {
this.apipost(
"FinancialFlowTemplate_post_GetPropertyTypeList", {},
......@@ -979,8 +1000,13 @@
SuitableObjectId: '',
Type: ''
}
FinancialInstitutions.Type = 1
FinancialInstitutions.SuitableObjectId = x
FinancialInstitutions.Type = 1;
FinancialInstitutions.SuitableObjectId = x;
this.CompanyList.forEach(y=>{
if(x==y.SId){
FinancialInstitutions.SuitableObjectIdName=y.SName
}
})
this.addMsg.FinancialInstitutions.push(FinancialInstitutions)
}
})
......
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