|
@@ -531,6 +531,13 @@
|
|
|
this.orderParam.childService = this.orderParam.childService.filter(selectServiceObject =>
|
|
this.orderParam.childService = this.orderParam.childService.filter(selectServiceObject =>
|
|
|
selectServiceObject.serviceObjectId !== item.id)
|
|
selectServiceObject.serviceObjectId !== item.id)
|
|
|
item.select = !item.select
|
|
item.select = !item.select
|
|
|
|
|
+
|
|
|
|
|
+ this.price = 0
|
|
|
|
|
+ for (let childService of this.orderParam.childService) {
|
|
|
|
|
+ this.price = this.price * 1 + childService.fee * 1
|
|
|
|
|
+ this.price = this.price.toFixed(2)
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
} else {
|
|
} else {
|
|
|
this.$api.getServicePersonTime({
|
|
this.$api.getServicePersonTime({
|
|
|
personId: this.serviceTeacherList[0].personId,
|
|
personId: this.serviceTeacherList[0].personId,
|