Просмотр исходного кода

订单详情接口参数修改、支付成功页面字段显示

MS-IOHQJGHXZHQD\Administrator 5 месяцев назад
Родитель
Сommit
e63b144fc1

+ 1 - 1
src/points/order/orderDetails.vue

@@ -59,7 +59,7 @@ export default {
     async getOrderInfo() {
       const res = await getPointOrderInfo({
         orderNo: this.orderNo,
-        openId: uni.getStorageSync('wx_copenid')
+        //openId: uni.getStorageSync('wx_copenid')
       })
       let { afterSaleInfo, orderInfo, productInfo } = res.data.data;
 

+ 1 - 1
src/points/productDetails/applyExchange.vue

@@ -144,7 +144,7 @@ export default {
         async getOrderInfo() {
             const res = await getPointOrderInfo({
                 orderNo: this.orderNo,
-                openId: uni.getStorageSync('wx_copenid')
+                //openId: uni.getStorageSync('wx_copenid')
             })
             this.orderInfo = res.data.data.orderInfo
             this.productInfo = res.data.data.productInfo

+ 5 - 5
src/points/productDetails/paymentSuccessful.vue

@@ -8,20 +8,20 @@
                 </view>
             </u-navbar> -->
 
-            <view class="content">
+            <view class="content" v-if=orderInfo>
                 <view class="contentBox">
                     <view class="successClass">
                         <view style="margin-top: 36rpx;">
                             <image style="width: 320rpx;height: 172rpx;" @click="selectProductShowFun"
                                 src="@/static/points/successIcon.png" mode=""></image>
                         </view>
-                        <view class="payStatus"> 商品兑换成功</view>
-                        <view class="promiseSeedTime">我们将在{{orderInfo.deliveryTime}}个小时内寄出 </view>
+                        <view class="payStatus"> 商品支付成功</view>
+                        <view class="promiseSeedTime">我们将在{{productInfo.deliveryTime}}个小时内寄出 </view>
                     </view>
                     <view style="height: 2rpx;background-color: #f0f0f0;margin-top: 40rpx;"> </view>
 
                     <view class="address">
-                        <view class="shxx">收信息</view>
+                        <view class="shxx">收信息</view>
                         <view class="addressBox">
                             <image style="width: 45rpx;height: 40rpx;" @click="addressSelectFun"
                                 src="@/static/points/addressIcon.png" mode=""></image>
@@ -93,7 +93,7 @@ export default {
         async getOrderInfo() {
             const res = await getPointOrderInfo({
                 orderNo: this.orderNo,
-                openId: uni.getStorageSync('wx_copenid')
+               // openId: uni.getStorageSync('wx_copenid')
             })
             this.orderInfo = res.data.data.orderInfo
             this.productInfo = res.data.data.productInfo

+ 1 - 1
src/points/productDetails/pendingPayment.vue

@@ -231,7 +231,7 @@ export default {
         async getOrderInfo() {
             const res = await getPointOrderInfo({
                 orderNo: this.orderNo,
-                openId: uni.getStorageSync('wx_copenid')
+                //openId: uni.getStorageSync('wx_copenid')
             })
             this.orderInfo = res.data.data.orderInfo
             this.productInfo = res.data.data.productInfo