فهرست منبع

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

liujt 5 ماه پیش
والد
کامیت
6d5fb8e9f3
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      src/views/warehouseManagement/stocktaking/plan/components/selectType.vue

+ 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;
         }