tangning il y a 8 mois
Parent
commit
bb1a7a08b7
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/views/case/addCaseModal.vue

+ 1 - 1
src/views/case/addCaseModal.vue

@@ -206,7 +206,7 @@
       });
       function getRowSelection(record) {
         return {
-        disabled: !(record.status == 1 || record.status == -2), // Column configuration not to be checked
+        disabled: record.inCase || !(record.status == 1 || record.status == -2), // Column configuration not to be checked
         name: record.name,}
        }
       function onSelectChange(selectedRowKeys: any, selectedRows: any) {