From 4a4e8cf5ae2d44635ca680808ca74479c593faae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9B=B9=E8=BE=89?= <814457906@qq.com> Date: Fri, 26 May 2023 09:06:56 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/hospitalcare/hospitalcare.vue | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/pages/hospitalcare/hospitalcare.vue b/pages/hospitalcare/hospitalcare.vue index 99664bc..d6fd0ac 100644 --- a/pages/hospitalcare/hospitalcare.vue +++ b/pages/hospitalcare/hospitalcare.vue @@ -44,7 +44,7 @@ - ¥{{totalPrice}} + ¥{{orderlist.totalPrice}} 购买 @@ -78,11 +78,11 @@ nurseStationItemId: undefined, companionStartDate: undefined, companionEndDate: undefined, - totalPrice: undefined + totalPrice: undefined, + nurseItemPrice: undefined }, timevalue: undefined, timepicker: false, - totalPrice: false, } }, onShow() {}, @@ -93,7 +93,7 @@ }, watch: { companionDays() { - this.totalPrice = this.argMul(this.companionDays, this.orderlist.totalPrice) + this.orderlist.totalPrice = this.argMul(this.companionDays, this.orderlist.nurseItemPrice) }, }, methods: { @@ -175,10 +175,9 @@ getPatientInfo(stationId, stationItemId, stationItemPriceId) { getAppStationItemInfo(stationId, stationItemId, stationItemPriceId).then(res => { res.data.nurseItemContent = '' - this.totalPrice = res.data.totalPrice - this.orderlist.totalPrice = res.data.totalPrice - this.orderlist.nurseItemName = res.data.nurseItemName + this.orderlist.totalPrice = res.data.nurseItemPrice this.orderlist.nurseItemPrice = res.data.nurseItemPrice + this.orderlist.nurseItemName = res.data.nurseItemName this.orderlist.itemServeDurationUnit = res.data.serveDurationUnit; }) },