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