Jelajahi Sumber

修改退款之后显示undefined的问题

mabaoyi 3 bulan lalu
induk
melakukan
795b0c3fa4

+ 5 - 1
pageC/orderForm/component/orderInofrmation.vue

@@ -26,7 +26,11 @@
       :key="item.id"
     >
       <view class="commodity-1">
-        <image class="commodity-img" :src="item.sku_item.image" mode=""></image>
+        <image
+          class="commodity-img"
+          :src="item.sku_item.image || item.goods_image"
+          mode=""
+        ></image>
         <view style="width: 70%">
           <view class="commodity-2">
             <view class="commodity-title" v-if="language == 'zh-CN'">

+ 1 - 0
pageC/orderForm/orderForm.vue

@@ -300,6 +300,7 @@ export default {
         });
     },
 
+    //获取订单列表
     getOrderList(value) {
       uni.$u.http
         .get(

+ 1 - 1
pageC/orderFormDetail/component/commodityDetail.vue

@@ -16,7 +16,7 @@
         <view class="commodity-1">
           <image
             class="commodity-img"
-            :src="item.sku_item.image"
+            :src="item.sku_item.image || item.goods_image"
             mode=""
           ></image>
           <view

+ 0 - 1
pageC/refundDetail/component/moneyDestination.vue

@@ -90,7 +90,6 @@ export default {
     },
   },
   methods: {
-    open() {},
     handleChange(name) {
       console.log(this.value);
       this.$emit("close", name);

+ 6 - 0
pageC/refundDetail/component/refundSuccessful.vue

@@ -44,6 +44,12 @@ export default {
         return {};
       },
     },
+    i18n: {
+      typeof: Object,
+      default: () => {
+        return {};
+      },
+    },
   },
 };
 </script>

+ 1 - 1
pageC/refundDetail/refundDetail.vue

@@ -4,6 +4,7 @@
       v-if="refundDetail.goods[0].refund.status == 1"
       @checkMoney="checkMoney"
       :refundDetail="refundDetail"
+      :i18n="i18n"
     />
 
     <RefundInProgress
@@ -61,7 +62,6 @@ export default {
     };
   },
   onLoad(options) {
-    console.log(options);
     this.orderRefundId = options.orderId;
     this.getDetail();
   },