From 1ade4bf86f59036d5985f305a7066e154ed5e1be Mon Sep 17 00:00:00 2001 From: "zangch@mesnac.com" Date: Tue, 19 Aug 2025 10:22:13 +0800 Subject: [PATCH] =?UTF-8?q?refactor(wms):=20=E6=9B=B4=E6=96=B0=E8=8E=B7?= =?UTF-8?q?=E5=8F=96=E7=89=A9=E6=96=99=E5=88=86=E7=B1=BB=E5=88=97=E8=A1=A8?= =?UTF-8?q?=E7=9A=84=20API?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将 getBaseMaterialCategoryList 替换为 getBaseMaterialCategoryListInWMS - 优化了物料分类列表的获取逻辑,可能提高了数据的准确性和性能 --- src/views/wms/allocateOrderDetail/indexbackuo.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/views/wms/allocateOrderDetail/indexbackuo.vue b/src/views/wms/allocateOrderDetail/indexbackuo.vue index 5eb3ce6..c529d08 100644 --- a/src/views/wms/allocateOrderDetail/indexbackuo.vue +++ b/src/views/wms/allocateOrderDetail/indexbackuo.vue @@ -176,6 +176,7 @@ import { AllocateOrderDetailVO, AllocateOrderDetailQuery, AllocateOrderDetailFor import { getAllocateOrder } from '@/api/wms/allocateOrder'; import { AllocateOrderVO, AllocateOrderForm, AllocateOrderQuery } from '@/api/wms/allocateOrder/types'; import { useRoute } from 'vue-router'; +import { getBaseMaterialCategoryListInWMS } from '@/api/wms/baseMaterialCategory'; const router = useRoute(); const { proxy } = getCurrentInstance() as ComponentInternalInstance; const { erp_synchronous_status } = toRefs(proxy?.useDict('erp_synchronous_status', 'wms_allocate_way')); @@ -402,7 +403,7 @@ const handleExport = () => { let mategoryOptions = ref([]); const getMaterialCategorySelect = async () => { - const res = await getBaseMaterialCategoryList(null); + const res = await getBaseMaterialCategoryListInWMS(null); mategoryOptions.value = res.data; };