Parcourir la source

feat: 出库物品选择计量数量为0不可选

liujt il y a 2 semaines
Parent
commit
cfbeadbc54
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      src/views/bpm/outgoingManagement/components/AssetsDialog.vue

+ 2 - 2
src/views/bpm/outgoingManagement/components/AssetsDialog.vue

@@ -171,7 +171,7 @@
               (row) => {
                 return !this.productLists.some(
                   (it) => it.categoryId == row.categoryId
-                );
+                ) && row.measureQuantity != 0;
               }
             "
           >
@@ -185,7 +185,7 @@
             fixed="left"
             :selectable="
               (row) => {
-                return !this.productLists.some((it) => it.id == row.id);
+                return !this.productLists.some((it) => it.id == row.id) && row.measureQuantity != 0;
               }
             "
           >