소스 검색

完善出库

hfxc226 2 년 전
부모
커밋
3e36121b87
1개의 변경된 파일6개의 추가작업 그리고 2개의 파일을 삭제
  1. 6 2
      src/views/dashboard/RepairReportFee.vue

+ 6 - 2
src/views/dashboard/RepairReportFee.vue

@@ -201,8 +201,12 @@ export default {
         month: record.month,
         year: record.year
       }
-      exportMonthReportFeeMonth(parameter).then(file => {
-        this.BaseTool.UPLOAD.downLoadExportExcel(file)
+      exportMonthReportFeeMonth(parameter).then(res => {
+        if (res.data == null) {
+          this.$message.info(res.message)
+          return
+        }
+        this.BaseTool.UPLOAD.downLoadExportExcel(res)
       })
     },
     handlePrint (record) {