lilei 3 năm trước cách đây
mục cha
commit
2febe3b13a

+ 4 - 1
src/views/expenseManagement/expenseReimbursementDetail/list.vue

@@ -294,7 +294,10 @@ export default {
     //  导出
     handleExport () {
       const _this = this
-      const params = _this.queryParam
+      const params = JSON.parse(JSON.stringify(_this.queryParam))
+      if (params.expenseDate) {
+        params.expenseDate = params.expenseDate + '-01'
+      }
       _this.exportLoading = true
       _this.spinning = true
       hdExportExcel(expenseAcctDetailReport, params, '费用报销明细统计报表', function () {