PrinceLee 5 年 前
コミット
df14afa0ce
1 ファイル変更2 行追加2 行削除
  1. 2 2
      src/views/quality/defectStatistics.vue

+ 2 - 2
src/views/quality/defectStatistics.vue

@@ -322,8 +322,8 @@ export default {
       let endDate = null
       switch (type) {
         case 'week':
-          startDate = moment().startOf('week').add(1, 'd').format('YYYY.MM.DD')
-          endDate = moment().endOf('week').add(1, 'd').format('YYYY.MM.DD')
+          startDate = moment().startOf('week').format('YYYY.MM.DD')
+          endDate = moment().endOf('week').format('YYYY.MM.DD')
           break
         case 'month':
           startDate = moment().startOf('month').format('YYYY.MM.DD')