Explorar o código

fix:修改财务管理入账类型状态修改按钮展示问题

lazy hai 5 meses
pai
achega
7fc6e0df24
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      src/views/financialManagement/indexTable.js

+ 4 - 0
src/views/financialManagement/indexTable.js

@@ -164,6 +164,10 @@ export default {
           if (rowPower.includes(row.cashStatus) || row.entryOutType === '2') {
             return false
           }
+          // 入账且状态为已分配不展示编辑按钮
+          if (row.entryOutType === '1' && row.cashStatus !== '1') {
+            return false
+          }
           return true
         } else {
           return true