Răsfoiți Sursa

fix:订单详情页支付修改

zhanghui 2 ani în urmă
părinte
comite
1595a131b7
1 a modificat fișierele cu 11 adăugiri și 4 ștergeri
  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(){