From b198355f96bb82fc0eb89dc25bec3f3b75ae815f Mon Sep 17 00:00:00 2001 From: liuyuan <582976274@qq.com> Date: Thu, 5 Jun 2025 17:55:30 +0800 Subject: [PATCH] =?UTF-8?q?aivip=E5=95=86=E5=93=81=E5=B1=95=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/order/buyorderdetail.vue | 46 ++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/src/views/modules/order/buyorderdetail.vue b/src/views/modules/order/buyorderdetail.vue index dc40c57..3957510 100644 --- a/src/views/modules/order/buyorderdetail.vue +++ b/src/views/modules/order/buyorderdetail.vue @@ -340,6 +340,25 @@ + + + + + + {{ scope.row.productName }} + + + + + + + + + @@ -993,6 +1012,33 @@ export default { } ]; } + if (this.orderDetails.orderType == "aiVip"||this.orderDetails.orderType == "upgradeAiVip") { + let productPrice = ''; + let productName = ''; + + if(this.orderDetails.realPrice>0){ + productPrice = '¥'+this.orderDetails.realPrice+'天医币' + } + if(this.orderDetails.jfDeduction>0){ + if(this.orderDetails.realPrice==0){ + productPrice = this.orderDetails.jfDeduction+'积分' + }else{ + productPrice += '+'+this.orderDetails.jfDeduction+'积分' + } + } + if(this.orderDetails.orderType == "aiVip"){ + productName = 'AI VIP商品' + }else{ + productName = 'AI VIP商品(升级)' + } + this.orderDetails.aiVipData = [ + { + productName: productName, + productPrice: productPrice, + quantity: 1 + } + ]; + } if (data.result.expressOrders) { data.result.expressOrders.forEach(element => { element.showProduct = false;