瀏覽代碼

feat<普通展示-周>:排序传参修改

xinyan 4 月之前
父節點
當前提交
639b0bca47
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      src/views/reportManage/dataCenter/normalDisplay/components/TableDataDisplay.vue

+ 2 - 1
src/views/reportManage/dataCenter/normalDisplay/components/TableDataDisplay.vue

@@ -314,7 +314,8 @@ function handleSortChange({ field, order }) {
     const matchMonth = field.match(/(\d{4}-\d{2})的销售额/);
     const matchTotal = field.match(/当月累计销售额/);
     if (matchRange) {
-      order_date.value = matchRange[1];
+      order_date.value = matchRange[2];
+      console.log("=>(TableDataDisplay.vue:318) order_date.value", order_date.value);
       totalSales.value = '';
     } else if (match) {
       order_date.value = match[1];