Browse Source

fix(物品选择): 添加isEnable参数以过滤可用设备

liujt 6 months ago
parent
commit
40eccfe6d6

+ 2 - 1
src/views/productionPlan/components/EquipmentDialog.vue

@@ -145,7 +145,8 @@
           pageNum: page,
           size: limit,
           categoryLevelId: this.categoryLevelId,
-          isProduct: true
+          isProduct: true,
+          isEnable: 1
         };
         const data = await getList(params);
         this.tableList = data.list;

+ 2 - 1
src/views/saleOrder/components/EquipmentDialog.vue

@@ -171,7 +171,8 @@
           pageNum: page,
           size: limit,
           categoryLevelId: this.categoryLevelId,
-          isProduct: true
+          isProduct: true,
+          isEnable: true
         };
         const data = await getList(params);
         this.tableList = data.list;