@dongkboy 3 месяцев назад
Родитель
Сommit
ae8975f063
1 измененных файлов с 7 добавлено и 0 удалено
  1. 7 0
      src/views/platform/index.vue

+ 7 - 0
src/views/platform/index.vue

@@ -1016,6 +1016,13 @@ const batchSettle = () => {
     })
     return
   }
+  if(selectedList.value.some((item:any) => item.settlementStatusName == '已结算')) {
+    ElMessage({
+      message: '存在已结算数据,不能结算!',
+      type: 'warning'
+    })
+    return
+  }
   api.financeApi.getReceivableCompany({
     incomeIds: [...selectedList.value]
   }).then((res: any) => {