xiaodai2022 2 yıl önce
ebeveyn
işleme
9aa6731a36

Dosya farkı çok büyük olduğundan ihmal edildi
+ 0 - 0
dist/static/js/0.js


+ 19 - 9
src/views/youzan/othOrderCancelLog/columns.js

@@ -4,10 +4,10 @@ const columns = [
     prop: "id",
     label: "记录ID",
   },
-  {
-    prop: "kdt_id",
-    label: "???",
-  },
+  // {
+  //   prop: "kdt_id",
+  //   label: "???",
+  // },
   {
     prop: "tid",
     label: "订单ID",
@@ -22,16 +22,17 @@ const columns = [
   },
   {
     prop: "refund_fee",
-    label: "退款金额", 
+    label: "退款金额",
   },
   {
     prop: "refund_reason_desc",
-    label: "退款原因描述", 
+    label: "退款原因描述",
   },
-  
+
   {
     prop: "refund_type",
     label: "退款类型",
+    _slot_: "refund_type",
   },
   {
     prop: "update_time",
@@ -41,7 +42,6 @@ const columns = [
     prop: "addtime",
     label: "退款时间",
   },
-
 ];
 //详情
 const costArr = [
@@ -84,4 +84,14 @@ const costArr = [
   },
 ];
 
-export { columns, costArr };
+const refund_type_list = [
+  {
+    value: "REFUND_ONLY",
+    label: "仅退款",
+  },
+  {
+    value: "REFUND_AND_RETURN",
+    label: "退货退款",
+  },
+];
+export { columns, costArr, refund_type_list };

+ 7 - 12
src/views/youzan/othOrderCancelLog/index.vue

@@ -84,27 +84,21 @@
             </el-row>
           </div></template
         >
-        <!-- <template #key_is_display="{ scope }">
+        <template #refund_type="{ scope }">
           <el-tag
             :size="tablebtnSize"
-            :type="
-              (
-                is_display_list.find(
-                  (item) => item.id == scope.row.key_is_display + ''
-                ) || {}
-              ).type || 'info'
-            "
+            :type="''"
             v-text="
               (
-                is_display_list.find(
-                  (item) => item.id == scope.row.key_is_display + ''
+                refund_type_list.find(
+                  (item) => item.value == scope.row.refund_type + ''
                 ) || {}
               ).label || '--'
             "
           ></el-tag>
         </template>
 
-        <template #msg_type="{ scope }">
+        <!-- <template #msg_type="{ scope }">
           <el-tag
             :size="tablebtnSize"
             :type="
@@ -127,7 +121,7 @@ import asyncRequest from "@/apis/service/youzan/othOrderCancelLog";
 import mixinPage from "@/mixins/elPaginationHandle";
 import { mapGetters } from "vuex";
 import resToken from "@/mixins/resToken";
-import { columns } from "./columns";
+import { columns, refund_type_list } from "./columns";
 export default {
   name: "othOrderCancelLog",
   mixins: [mixinPage, resToken],
@@ -190,6 +184,7 @@ export default {
       },
       // 表格 - 列参数
       columns,
+      refund_type_list,
     };
   },
   mounted() {

Bu fark içinde çok fazla dosya değişikliği olduğu için bazı dosyalar gösterilmiyor