|
@@ -126,10 +126,12 @@ export default {
|
|
|
handleExport () {
|
|
|
const _this = this
|
|
|
const params = { grabFlag: this.params.grabFlag }
|
|
|
- this.exportLoading = true
|
|
|
this.spinning = true
|
|
|
- hdExportExcel(sparePartsDetailDownload, params, '散件入库导入模板', function () {
|
|
|
+ this.exportLoading = true
|
|
|
+ setTimeout(() => {
|
|
|
_this.exportLoading = false
|
|
|
+ }, 1000)
|
|
|
+ hdExportExcel(sparePartsDetailDownload, params, '散件入库导入模板', function () {
|
|
|
_this.spinning = false
|
|
|
})
|
|
|
}
|