Explorar o código

fix:订单详情页支付修改

zhanghui %!s(int64=2) %!d(string=hai) anos
pai
achega
1595a131b7
Modificáronse 1 ficheiros con 11 adicións e 4 borrados
  1. 11 4
      orderPages/orderDetail/index.vue

+ 11 - 4
orderPages/orderDetail/index.vue

@@ -418,13 +418,20 @@
 						orderServiceIds.push(i.orderServiceId)
 					}
 				})
-				this.$api.qenPayInfo({
-					orderServiceIds:orderServiceIds,
-					orderNo:this.order.orderNo
+				this.$api.oneClickPay({
+					orderId:this.order.orderId
 				}).then(res=>{
-					this.tradeNo=res.data.data.tradeNo
+					this.tradeNo = res.data.data.tradeNo
 					this.$refs.popup.open()
 				})
+
+				// this.$api.qenPayInfo({
+				// 	orderServiceIds:orderServiceIds,
+				// 	orderNo:this.order.orderNo
+				// }).then(res=>{
+				// 	this.tradeNo=res.data.data.tradeNo
+				// 	this.$refs.popup.open()
+				// })
 			},
 
 			commitAppeal(){