xinyan преди 4 месеца
родител
ревизия
4820d7b886
променени са 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];