|
@@ -152,7 +152,7 @@ import reportModal from '@/views/common/reportModal.vue'
|
|
|
import { hdExportExcel } from '@/libs/exportExcel'
|
|
|
import { toFixedDecimal } from '@/libs/tools.js'
|
|
|
import supplier from '@/views/common/supplier.js'
|
|
|
-import { sparePartsReturnList, sparePartsReturnDelete, sparePartsDetailExport, againSubmit } from '@/api/sparePartsReturn'
|
|
|
+import { sparePartsReturnList, sparePartsReturnDelete, sparePartsReturnExportDetail, againSubmit } from '@/api/sparePartsReturn'
|
|
|
export default {
|
|
|
name: 'PurchaseReturnList',
|
|
|
mixins: [commonMixin],
|
|
@@ -218,14 +218,13 @@ export default {
|
|
|
// 导出
|
|
|
handleExport () {
|
|
|
const _this = this
|
|
|
- _this.showExport = true
|
|
|
- // _this.exportLoading = true
|
|
|
- // _this.spinning = true
|
|
|
- // hdExportExcel(sparePartsDetailExport, _this.queryParam, '散件入库明细', function () {
|
|
|
- // _this.exportLoading = false
|
|
|
- // _this.spinning = false
|
|
|
- // _this.showExport = true
|
|
|
- // })
|
|
|
+ _this.exportLoading = true
|
|
|
+ _this.spinning = true
|
|
|
+ hdExportExcel(sparePartsReturnExportDetail, _this.queryParam, '采购退货', function () {
|
|
|
+ _this.exportLoading = false
|
|
|
+ _this.spinning = false
|
|
|
+ _this.showExport = true
|
|
|
+ })
|
|
|
},
|
|
|
// 新增
|
|
|
handleAdd () {
|