Explorar el Código

订单列表,统计栏数据,未根据筛选条件变动

sunxbiao hace 1 año
padre
commit
feded72d08
Se han modificado 1 ficheros con 10 adiciones y 4 borrados
  1. 10 4
      src/views/order/list/index.vue

+ 10 - 4
src/views/order/list/index.vue

@@ -266,12 +266,17 @@
266 266
 import { orderListApi, chartApi } from "@/api/order";
267 267
 import { merSelectApi } from "@/api/product";
268 268
 import detailsFrom from "./orderDetail";
269
-import cardsData from "@/components/cards/index";
270
-import otherCardsData from "@/components/cards/other";
269
+// import cardsData from "@/components/cards/index";
270
+// import otherCardsData from "@/components/cards/other";
271 271
 import redCardsData from "@/components/cards/redPoint";
272 272
 import { fromList } from "@/libs/constants.js";
273 273
 export default {
274
-  components: { redCardsData,otherCardsData,detailsFrom, cardsData },
274
+  components: {
275
+    redCardsData,
276
+    // otherCardsData,
277
+    detailsFrom,
278
+    // cardsData
279
+  },
275 280
   data() {
276 281
     return {
277 282
       orderId: 0,
@@ -364,7 +369,7 @@ export default {
364 369
     },
365 370
     // 退款详情页
366 371
     onRefundDetail(sn) {
367
-      console.log(sn, "sn");
372
+      // console.log(sn, "sn");
368 373
       this.$router.push({
369 374
         path: "refund",
370 375
         query: {
@@ -447,6 +452,7 @@ export default {
447 452
           this.$message.error(res.message);
448 453
           this.listLoading = false;
449 454
         });
455
+      this.headerList();
450 456
     },
451 457
     pageChange(page) {
452 458
       this.tableFrom.page = page;