|
@@ -305,9 +305,10 @@ export default {
|
|
const _this = this
|
|
const _this = this
|
|
_this.exportLoading = true
|
|
_this.exportLoading = true
|
|
_this.spinning = 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 () {
|
|
hdExportExcel(subsidyStepExport, params, '增量补贴报表(' + this.queryParam.queryDate + '季度)-', function () {
|
|
_this.exportLoading = false
|
|
_this.exportLoading = false
|
|
_this.spinning = false
|
|
_this.spinning = false
|