Преглед на файлове

feat:库存式订单物品选择库存为0不可选

liujt преди 2 седмици
родител
ревизия
9eaa47f923
променени са 1 файла, в които са добавени 5 реда и са изтрити 1 реда
  1. 5 1
      src/BIZComponents/selectStockLedger/selectStockLedgerDialog.vue

+ 5 - 1
src/BIZComponents/selectStockLedger/selectStockLedgerDialog.vue

@@ -152,7 +152,11 @@
             type: 'selection',
             type: 'selection',
             columnKey: 'selection',
             columnKey: 'selection',
             align: 'center',
             align: 'center',
-            reserveSelection: true
+            reserveSelection: true,
+            selectable: (row) => {
+              return row.measureQuantity != 0;
+            }
+
           };
           };
         }
         }