Kaynağa Gözat

采购需求处理审核失败刷新页面

黄梓星 1 yıl önce
ebeveyn
işleme
0fd99e7a2a
1 değiştirilmiş dosya ile 2 ekleme ve 1 silme
  1. 2 1
      src/views/purchase/DemandSummary/index.vue

+ 2 - 1
src/views/purchase/DemandSummary/index.vue

@@ -550,7 +550,6 @@ export default {
     },
     // 单元格标红
     cellClassName({row, column, rowIndex, columnIndex}) {
-      console.log('111', {row, column})
       if(column.label == "需求可用周期" && Number(row.demandCycle) > 1.5 ) {
         return 'success-row';
       }
@@ -770,6 +769,8 @@ export default {
             this.$modal.notifySuccess("审核成功");
             this.getList(this.queryParams)
           }
+        }).catch(err => {
+          this.getList(this.queryParams)
         })
       }
     },