Просмотр исходного кода

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

黄梓星 1 год назад
Родитель
Сommit
0fd99e7a2a
1 измененных файлов с 2 добавлено и 1 удалено
  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)
         })
       }
     },