|
|
@@ -141,9 +141,9 @@
|
|
|
<view class="bottomBtn flex-row justify-between">
|
|
|
<view class=" flex-row">
|
|
|
<text class="unpaid">合计</text>
|
|
|
- <text class="preferentialPrice">¥{{allPrice}}</text>
|
|
|
- <text class="unpaid">已优惠</text>
|
|
|
- <text class="originalPrice">¥{{totalDiscount}}</text>
|
|
|
+ <text class="preferentialPrice">¥{{order.totalAmount}}</text>
|
|
|
+<!-- <text class="unpaid">已优惠</text>-->
|
|
|
+<!-- <text class="originalPrice">¥{{totalDiscount}}</text>-->
|
|
|
<!-- <text class="priceDetail">价格明细</text>-->
|
|
|
</view>
|
|
|
|
|
|
@@ -403,21 +403,19 @@
|
|
|
},
|
|
|
|
|
|
qenPayInfo(){
|
|
|
-
|
|
|
- for(let i=0;i<this.order.child.length;i++){
|
|
|
- if (this.order.child[i].status==3){
|
|
|
- uni.$u.toast('子订单未审核结束')
|
|
|
- return
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- this.getUserInfo();
|
|
|
- let orderServiceIds = []
|
|
|
- this.order.child.forEach(i=>{
|
|
|
- if (i.status !=5){ //排除审核通过的子订单
|
|
|
- orderServiceIds.push(i.orderServiceId)
|
|
|
- }
|
|
|
- })
|
|
|
+ //
|
|
|
+ // for(let i=0;i<this.order.child.length;i++){
|
|
|
+ // if (this.order.child[i].status==3){
|
|
|
+ // uni.$u.toast('子订单未审核结束')
|
|
|
+ // return
|
|
|
+ // }
|
|
|
+ // }
|
|
|
+ // let orderServiceIds = []
|
|
|
+ // this.order.child.forEach(i=>{
|
|
|
+ // if (i.status !=5){ //排除审核通过的子订单
|
|
|
+ // orderServiceIds.push(i.orderServiceId)
|
|
|
+ // }
|
|
|
+ // })
|
|
|
this.$api.oneClickPay({
|
|
|
orderId:this.order.orderId
|
|
|
}).then(res=>{
|