|
@@ -70,14 +70,14 @@
|
|
|
<a-col :md="6" :sm="24">
|
|
|
<a-button type="primary" @click="handleSearch" :disabled="disabled" id="billingReturnReportList-refresh">查询</a-button>
|
|
|
<a-button style="margin-left: 8px" @click="resetSearchForm" :disabled="disabled" id="billingReturnReportList-reset">重置</a-button>
|
|
|
- <!-- <a-button
|
|
|
+ <a-button
|
|
|
style="margin-left: 10px"
|
|
|
type="primary"
|
|
|
class="button-warning"
|
|
|
@click="handleExport"
|
|
|
:disabled="disabled"
|
|
|
:loading="exportLoading"
|
|
|
- id="billingReturnReportList-export">导出</a-button> -->
|
|
|
+ id="billingReturnReportList-export">导出</a-button>
|
|
|
<a @click="advanced=!advanced" style="margin-left: 8px">
|
|
|
{{ advanced ? '收起' : '展开' }}
|
|
|
<a-icon :type="advanced ? 'up' : 'down'"/>
|
|
@@ -140,7 +140,7 @@ import rangeDate from '@/views/common/rangeDate.vue'
|
|
|
import custList from '@/views/common/custList.vue'
|
|
|
import subarea from '@/views/common/subarea.js'
|
|
|
import { getArea } from '@/api/data'
|
|
|
-import { salesReportReturnList, salesReportReturnCount } from '@/api/reportData'
|
|
|
+import { salesReportReturnList, salesReportReturnCount, billingReturnExport } from '@/api/reportData'
|
|
|
export default {
|
|
|
components: { STable, VSelect, custList, subarea, rangeDate },
|
|
|
data () {
|
|
@@ -372,7 +372,7 @@ export default {
|
|
|
const params = this.queryParam
|
|
|
this.exportLoading = true
|
|
|
_this.spinning = true
|
|
|
- reportSalesReturnDetailExport(params).then(res => {
|
|
|
+ billingReturnExport(params).then(res => {
|
|
|
this.exportLoading = false
|
|
|
_this.spinning = false
|
|
|
if (res.type == 'application/json') {
|