diff --git a/src/views/system/stationItem/index.vue b/src/views/system/stationItem/index.vue index 65c9d8c..8e9e98c 100644 --- a/src/views/system/stationItem/index.vue +++ b/src/views/system/stationItem/index.vue @@ -966,6 +966,7 @@ export default { }, /** 耗材列表 */ listStationConsumable() { + listStationConsumable(this.StationConsumablequeryParams).then( (response) => { this.stationConsumableList = response.rows; @@ -1120,15 +1121,18 @@ export default { handleAdd() { this.reset(); this.open = true; + this.StationConsumablequeryParams.nurseStationId = null; this.title = "添加护理站护理项目"; }, /** 修改按钮操作 */ handleUpdate(row) { this.reset(); + this.StationConsumablequeryParams.nurseStationId = null const id = row.id || this.ids; getNurseItem(id).then((response) => { console.log(response); this.form = response.data; + this.StationConsumablequeryParams.nurseStationId=response.data.nurseStationItem.nurseStationId this.imgone = this.form.nurseStationItem.itemPictureUrl; if (this.form.nurseStationItemPrices == []) { var obj = {