From d68b036a3b3c67273b8effa3c9925ef3869a91ba Mon Sep 17 00:00:00 2001 From: haoxuan <haoxuan> Date: 星期三, 07 二月 2024 13:56:50 +0800 Subject: [PATCH] wms项目 wms系统参数设置的页面开发+路由+是否显示表头配置 --- src/views/warehouseManage/listingRules/index.vue | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/warehouseManage/listingRules/index.vue b/src/views/warehouseManage/listingRules/index.vue index bd4fda5..32b3b4c 100644 --- a/src/views/warehouseManage/listingRules/index.vue +++ b/src/views/warehouseManage/listingRules/index.vue @@ -90,7 +90,6 @@ this.setTable() let query = this.$route.query if (query) { - console.log("aaaaaaaaaaaaa", query) this.queryProductId = query.productId?.length ? query.productId : null this.categoryId = query.id ? Number(query.id) : null this.pagerOptions.currPage = 1 @@ -132,7 +131,7 @@ const list = res.data.map((item) => { return { ...item, - areaName: { label: item.location.jointName, value: item.location.id }, + areaName: { label: item.area.jointName, value: item.area.id }, subLocation: { label: item.location.jointName, value: item.location.id }, productName: item.product.name, productCategory: item.productCategory.name, @@ -368,10 +367,11 @@ }, // 閫変腑浜у搧鏂规硶 selProductClick(value, item) { + console.log(value, item) if (value === "product") { this.RuleType = 1 this.tableList.tableColumn[2].productType = false - this.productId = item.id + this.productId = item.productId this.productCategoryId = item.categoryId } else if (value === "productType") { this.productCategoryId = item.id -- Gitblit v1.8.0