Commit 3f4ea041 authored by zhengke's avatar zhengke

修改

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