From b6a414d8173781e0f9420d990511cae9d4abe82b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9B=BE=E5=BA=86=E6=BA=90?= Date: Tue, 20 May 2025 14:16:52 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=A4=87=E4=BB=B6=20=E7=BB=B4=E4=BF=AE?= =?UTF-8?q?=20=E5=8F=AF=E4=BB=A5=E9=80=89=E6=8B=A9=E6=89=80=E6=9C=89?= =?UTF-8?q?=E5=A4=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/sparePartsServiceWorkOrderList/addForm.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pages/sparePartsServiceWorkOrderList/addForm.vue b/src/pages/sparePartsServiceWorkOrderList/addForm.vue index 77a6d7b..d4f03d2 100644 --- a/src/pages/sparePartsServiceWorkOrderList/addForm.vue +++ b/src/pages/sparePartsServiceWorkOrderList/addForm.vue @@ -114,6 +114,7 @@ import * as dictApi from "@/api/dict" import * as locationApi from "@/api/location" import SelectItemList from "../../components/item/slectItemList.vue" + import {noPage} from "@/api/spareParts"; const { proxy } = getCurrentInstance() const loading = ref(false) const type = ref('') @@ -223,7 +224,7 @@ title: "加载中....", mask: true }); - await sparePartsApi.getServiceSparePartsList().then(res => { + await sparePartsApi.noPage({}).then(res => { res.data.map(item => { item.value = item.number item.label = item.name