Commit 1e0f2688 authored by 何鹏程's avatar 何鹏程

修改救护车单位性质

parent b1598cd7
......@@ -36,6 +36,7 @@
:loading="selectLoading"
:remote-method="remoteMethod"
:clearable="true"
@change="changeHandler2"
>
<el-option
v-for="item in hospitalList"
......@@ -51,6 +52,7 @@
>
<el-radio-group
class="radio-group-type4"
:disabled="true"
v-model="dataForm.unitType"
>
<el-radio :label="1">公立医疗</el-radio>
......@@ -412,9 +414,9 @@ export default {
area: [
{ required: true, message: '请选择辖区' },
],
unitType: [
{ required: true, message: '请选择单位性质' },
],
// unitType: [
// { required: true, message: '请选择单位性质' },
// ],
vechieType: [
{ required: true, message: '请选择车辆类型' },
],
......@@ -575,6 +577,12 @@ export default {
this.$set(this.dataForm, 'otherStatus', '注销,报废,查封,逾期未检验,达到报废标准公告牌证作废,违法未处理,转出,锁定')
}
}
},
changeHandler2(name) {
const item = this.hospitalList.find(i => i.hospitalName === name)
if (item) {
this.dataForm.unitType = item.unitType
}
}
}
}
......
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