修改
This commit is contained in:
parent
187424c995
commit
4a4e8cf5ae
@ -44,7 +44,7 @@
|
|||||||
<u-toast ref="uToast" />
|
<u-toast ref="uToast" />
|
||||||
<view class="updata">
|
<view class="updata">
|
||||||
<view class="price">
|
<view class="price">
|
||||||
¥{{totalPrice}}
|
¥{{orderlist.totalPrice}}
|
||||||
</view>
|
</view>
|
||||||
<view class="purchase" @click="updata">
|
<view class="purchase" @click="updata">
|
||||||
购买
|
购买
|
||||||
@ -78,11 +78,11 @@
|
|||||||
nurseStationItemId: undefined,
|
nurseStationItemId: undefined,
|
||||||
companionStartDate: undefined,
|
companionStartDate: undefined,
|
||||||
companionEndDate: undefined,
|
companionEndDate: undefined,
|
||||||
totalPrice: undefined
|
totalPrice: undefined,
|
||||||
|
nurseItemPrice: undefined
|
||||||
},
|
},
|
||||||
timevalue: undefined,
|
timevalue: undefined,
|
||||||
timepicker: false,
|
timepicker: false,
|
||||||
totalPrice: false,
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onShow() {},
|
onShow() {},
|
||||||
@ -93,7 +93,7 @@
|
|||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
companionDays() {
|
companionDays() {
|
||||||
this.totalPrice = this.argMul(this.companionDays, this.orderlist.totalPrice)
|
this.orderlist.totalPrice = this.argMul(this.companionDays, this.orderlist.nurseItemPrice)
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
@ -175,10 +175,9 @@
|
|||||||
getPatientInfo(stationId, stationItemId, stationItemPriceId) {
|
getPatientInfo(stationId, stationItemId, stationItemPriceId) {
|
||||||
getAppStationItemInfo(stationId, stationItemId, stationItemPriceId).then(res => {
|
getAppStationItemInfo(stationId, stationItemId, stationItemPriceId).then(res => {
|
||||||
res.data.nurseItemContent = ''
|
res.data.nurseItemContent = ''
|
||||||
this.totalPrice = res.data.totalPrice
|
this.orderlist.totalPrice = res.data.nurseItemPrice
|
||||||
this.orderlist.totalPrice = res.data.totalPrice
|
|
||||||
this.orderlist.nurseItemName = res.data.nurseItemName
|
|
||||||
this.orderlist.nurseItemPrice = res.data.nurseItemPrice
|
this.orderlist.nurseItemPrice = res.data.nurseItemPrice
|
||||||
|
this.orderlist.nurseItemName = res.data.nurseItemName
|
||||||
this.orderlist.itemServeDurationUnit = res.data.serveDurationUnit;
|
this.orderlist.itemServeDurationUnit = res.data.serveDurationUnit;
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user