diff --git a/sgzb-ui/src/views/warehouseManage/machinery/coding/index.vue b/sgzb-ui/src/views/warehouseManage/machinery/coding/index.vue index f0574787..7fefc582 100644 --- a/sgzb-ui/src/views/warehouseManage/machinery/coding/index.vue +++ b/sgzb-ui/src/views/warehouseManage/machinery/coding/index.vue @@ -44,6 +44,7 @@ clearable filterable style="width: 240px" + :disabled="!queryParams.itemId" @change="selectDevice" > { this.typeList = response.data }) @@ -645,6 +649,7 @@ export default { //选择设备类型 selectDevice(id) { console.log(id) + this.queryParams.typeId = '' getListByMaType({ typeId: id }).then((response) => { this.modelList = response.data })