Sfoglia il codice sorgente

fix: 设置默认时间

zhengnaiwen_citu 4 mesi fa
parent
commit
edb82c0564
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  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: [