护理站项目的耗材

This commit is contained in:
闫晓茹 2022-11-14 11:01:52 +08:00
parent 4f994e3c6f
commit 3abc857523

View File

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