Browse Source

计划单统计表-报错提示

jbb 2 years ago
parent
commit
4643f4ff43
1 changed files with 4 additions and 0 deletions
  1. 4 0
      src/views/cost-allocation-total/inancialReconciliation.vue

+ 4 - 0
src/views/cost-allocation-total/inancialReconciliation.vue

@@ -221,7 +221,9 @@ export default {
    // 分页查询
    getCostList() {
       this.$nextTick(() => {
+        this.loading = true
         checkList(this.queryParam).then(res => {
+          this.loading = false
           if (res.success) {
             this.costAllocationData = res.result.records
             this.pagination = {
@@ -229,6 +231,8 @@ export default {
               current: res.result.current,
               pageSize: res.result.size
             }
+          }else{
+            this.$message.error(res.message);
           }
         })
       })