<el-select v-model="ruleForm.DEPART_ID" placeholder="请选择单位" style="width:100%" filterable @change="selectPeopleAddress"> <el-option v-for="item in departList" :key="item.departId" :label="item.departName" :value="item.departId"> </el-option> </el-select>selectPeopleAddress(){ const item = this.departList.find(item1=> item1.departId === this.ruleForm.DEPART_ID) this.ruleForm.address = item.departAddress },
选择器选择完后带出其他的数据
最新推荐文章于 2023-02-22 10:54:09 发布