施工相关方 可以通过输入搜索

20240528Test
limingyu 2024-04-13 09:47:59 +08:00
parent 983905d141
commit e370ab4c05
1 changed files with 3 additions and 2 deletions

View File

@ -14,8 +14,8 @@
</el-col>
<el-col :span="8">
<el-form-item label="施工相关方">
<el-select v-model="UNITS_ID" placeholder="请选择施工相关方" style="width: 100%;">
<el-option v-for="item in unitsList" :key="item.UNITS_ID" :label="item.UNITS_NAME" :value="item.UNITS_ID" />
<el-select v-model="UNITS_ID" filterable placeholder="请选择施工相关方" style="width: 100%;">
<el-option v-for="(item, index) in unitsList" :key="index" :label="item.UNITS_NAME" :value="item.UNITS_ID" />
</el-select>
</el-form-item>
</el-col>
@ -425,6 +425,7 @@ export default {
{ UNITS_ID: this.form.UNITS_ID }
).then((data) => {
this.unitsList = data.varList
this.$forceUpdate()
}).catch((e) => {
})
},