|
@@ -65,6 +65,7 @@
|
|
:disabled="disabled"
|
|
:disabled="disabled"
|
|
:loading="exportLoading"
|
|
:loading="exportLoading"
|
|
class="button-warning"
|
|
class="button-warning"
|
|
|
|
+
|
|
id="chainTransferInList-export-btn">导出</a-button>
|
|
id="chainTransferInList-export-btn">导出</a-button>
|
|
<a @click="advanced=!advanced" style="margin-left: 5px">
|
|
<a @click="advanced=!advanced" style="margin-left: 5px">
|
|
{{ advanced ? '收起' : '展开' }}
|
|
{{ advanced ? '收起' : '展开' }}
|
|
@@ -148,7 +149,7 @@ import { commonMixin } from '@/utils/mixin'
|
|
import { STable, VSelect } from '@/components'
|
|
import { STable, VSelect } from '@/components'
|
|
import { formatDecimal } from '@/libs/tools'
|
|
import { formatDecimal } from '@/libs/tools'
|
|
import rangeDate from '@/views/common/rangeDate.vue'
|
|
import rangeDate from '@/views/common/rangeDate.vue'
|
|
-import { allocLinkagePutList, allocLinkagePutAudit, allocLinkagePutQueryCount } from '@/api/allocLinkagePut'
|
|
|
|
|
|
+import { allocLinkagePutList, allocLinkagePutAudit, allocLinkagePutQueryCount, allocLinkagePutExport } from '@/api/allocLinkagePut'
|
|
import getTenantList from '@/views/common/getTenantList.js'
|
|
import getTenantList from '@/views/common/getTenantList.js'
|
|
import stateIcon from '@/views/common/stateIcon'
|
|
import stateIcon from '@/views/common/stateIcon'
|
|
import { downloadExcel } from '@/libs/JGPrint.js'
|
|
import { downloadExcel } from '@/libs/JGPrint.js'
|
|
@@ -285,10 +286,11 @@ export default {
|
|
handleExport () {
|
|
handleExport () {
|
|
const _this = this
|
|
const _this = this
|
|
const params = _this.queryParam
|
|
const params = _this.queryParam
|
|
|
|
+ params.showCost = _this.$hasPermissions('M_ShowAllCost') ? 1 : 0
|
|
_this.exportLoading = true
|
|
_this.exportLoading = true
|
|
_this.spinning = true
|
|
_this.spinning = true
|
|
- reportSalesBillExport(params).then(res => {
|
|
|
|
- downloadExcel(res, '仓库调拨列表')
|
|
|
|
|
|
+ allocLinkagePutExport(params).then(res => {
|
|
|
|
+ downloadExcel(res, '连锁调入列表')
|
|
_this.exportLoading = false
|
|
_this.exportLoading = false
|
|
_this.spinning = false
|
|
_this.spinning = false
|
|
})
|
|
})
|