ソースを参照

fix: 设置默认时间

zhengnaiwen_citu 4 ヶ月 前
コミット
edb82c0564
1 ファイル変更2 行追加1 行削除
  1. 2 1
      src/views/salaryFixed/salaryFixedCalculation/index.vue

+ 2 - 1
src/views/salaryFixed/salaryFixedCalculation/index.vue

@@ -43,6 +43,7 @@ import {
   downloadFile
 } from '@/utils'
 import { mapGetters } from 'vuex'
+import { dateFormat } from '@/utils/date'
 export default {
   name: 'salaryFixedCalculation',
   data () {
@@ -50,7 +51,7 @@ export default {
       exportLoading: false,
       searchValues: {
         employeeName: null,
-        month: null,
+        month: dateFormat('YYYY-mm', new Date()),
         organizationNo: null
       },
       headers: [