From 56506f5eb24402aac80e05fe74920befa1f192cc Mon Sep 17 00:00:00 2001 From: Tom Date: Fri, 26 Dec 2025 16:21:42 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=AD=A3=E7=89=A9=E6=96=99?= =?UTF-8?q?=E5=88=86=E7=B1=BB=E6=9F=A5=E8=AF=A2=E5=8F=82=E6=95=B0=E5=91=BD?= =?UTF-8?q?=E5=90=8D=E4=B8=8D=E4=B8=80=E8=87=B4=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 将queryParams中的categoryName改为categoryCode以保持命名一致性,并修复查询功能 --- .../materialManagement/productionMaterial/MmMaterial.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/views/materialManagement/productionMaterial/MmMaterial.vue b/src/views/materialManagement/productionMaterial/MmMaterial.vue index c3ae9ce..3e2506c 100644 --- a/src/views/materialManagement/productionMaterial/MmMaterial.vue +++ b/src/views/materialManagement/productionMaterial/MmMaterial.vue @@ -14,7 +14,7 @@ - + @@ -219,7 +219,7 @@ const queryParams = reactive({ sortType: 'asc', materialCode: '', materialName: '', - categoryName: '' + categoryCode: '' }) const columns = ref([ { visible: true, align: 'center', type: '', prop: 'id', label: '主键ID' }, @@ -249,6 +249,7 @@ var dictParams = [] function getList() { loading.value = true listMmMaterial(queryParams).then((res) => { + console.log(queryParams) const { code, data } = res if (code == 200) { dataList.value = data.result