Browse Source

fix(仓库管理): 修正库存盘点计划中分类ID参数名错误

liujt 5 months ago
parent
commit
6d5fb8e9f3

+ 2 - 2
src/views/warehouseManagement/stocktaking/plan/components/selectType.vue

@@ -307,7 +307,7 @@
           ...this.pages,
           keyWord: this.value,
           warehouseId: this.warehouseId,
-          categoryLevelIds: this.classificationId
+          categoryLevelId: this.classificationId
         };
         let res = null;
         if (this.dimension == 1) {
@@ -315,7 +315,7 @@
         } else {
           res = await getBatchList(params);
         }
-        if (res && this.classificationId == params.categoryLevelIds) {
+        if (res && this.classificationId == params.categoryLevelId) {
           this.tableData = res.list;
           this.total = res.count;
         }