Parcourir la source

Merge branch 'develop_yh53_1' of jianguan-web/jg-ocs-html into pre-release

李磊 il y a 3 mois
Parent
commit
06ef00b8a1

+ 4 - 3
src/views/reportData/tireSubsidyReport/incrementalSubsidyList.vue

@@ -305,9 +305,10 @@ export default {
       const _this = this
       _this.exportLoading = true
       _this.spinning = true
-      const year = this.queryParam.queryDate.substr(0, 4)
-      const quarter = this.queryParam.queryDate.substr(5, 1)
-      const params = Object.assign(_this.queryParam, { bizYear: year, bizQuarter: quarter })
+      const dateStr = this.queryParam.queryDate
+      const year = dateStr.substr(0, 4)
+      const quarter = dateStr.substr(5, 1)
+      const params = Object.assign(this.queryParam, { bizYear: year, bizQuarter: quarter == 'u' ? undefined : quarter })
       hdExportExcel(subsidyStepExport, params, '增量补贴报表(' + this.queryParam.queryDate + '季度)-', function () {
         _this.exportLoading = false
         _this.spinning = false