Sfoglia il codice sorgente

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

liujt 2 settimane fa
parent
commit
9eaa47f923

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

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