|
@@ -120,7 +120,7 @@ import subarea from '@/views/common/subarea.js'
|
|
|
import reportModal from '@/views/common/reportModal.vue'
|
|
|
import AllocateType from '@/views/common/allocateType.js'
|
|
|
import { hdExportExcel } from '@/libs/exportExcel'
|
|
|
-import { allocateReturnReportQueryPage, allocateReturnReportQueryCount, allocateReturnReportExport } from '@/api/reportData'
|
|
|
+import { sparePartsReturnDetailReportList, sparePartsReturnDetailReportStat, sparePartsReturnReportExportDetail } from '@/api/reportData'
|
|
|
export default {
|
|
|
name: 'TransferReturnReportList',
|
|
|
mixins: [commonMixin],
|
|
@@ -157,7 +157,7 @@ export default {
|
|
|
this.spinning = true
|
|
|
const params = Object.assign(parameter, this.queryParam)
|
|
|
delete params.time
|
|
|
- return allocateReturnReportQueryPage(params).then(res => {
|
|
|
+ return sparePartsReturnDetailReportList(params).then(res => {
|
|
|
let data
|
|
|
if (res.status == 200) {
|
|
|
data = res.data
|
|
@@ -214,7 +214,7 @@ export default {
|
|
|
_this.showExport = true
|
|
|
_this.exportLoading = true
|
|
|
_this.spinning = true
|
|
|
- hdExportExcel(allocateReturnReportExport, params, '调拨退货单报表', function () {
|
|
|
+ hdExportExcel(sparePartsReturnReportExportDetail, params, '调拨退货单报表', function () {
|
|
|
_this.exportLoading = false
|
|
|
_this.spinning = false
|
|
|
})
|
|
@@ -229,7 +229,7 @@ export default {
|
|
|
},
|
|
|
// 总计
|
|
|
getCount (params) {
|
|
|
- allocateReturnReportQueryCount(params).then(res => {
|
|
|
+ sparePartsReturnDetailReportStat(params).then(res => {
|
|
|
if (res.status == 200 && res.data) {
|
|
|
this.totalData = res.data
|
|
|
} else {
|