ソースを参照

【ID1005298】
【合作商-核销记录】修复去掉核销时间,点击导出,导出按钮一直处于加载中,无法再次点击该操作bug单

zhangdan 4 年 前
コミット
2c755d48fd
1 ファイル変更1 行追加2 行削除
  1. 1 2
      src/views/SetmealSales/VerificationRecords.vue

+ 1 - 2
src/views/SetmealSales/VerificationRecords.vue

@@ -244,7 +244,6 @@ export default {
     },
     // 导出
     handleExport () {
-      this.loading = true
       const params = {
         beginDate: this.searchForm.beginDate == null ? getDate.getToday().starttime : this.searchForm.beginDate,
         endDate: this.searchForm.endDate == null ? getDate.getToday().endtime : this.searchForm.endDate,
@@ -261,8 +260,8 @@ export default {
         this.$message.error('单次最多只能导出3个月的数据,请缩小查询区间后再进行导出!')
         return
       }
+	  this.loading = true
       settlementRecordsExport(params).then(res => {
-        console.log(res)
         this.loading = false
         this.download(res)
       })