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;