From ca56bf22820d13898e64ca683cc03927dfc4459d Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期四, 06 八月 2026 10:24:37 +0800
Subject: [PATCH] 新疆_马铃薯 1.原材料和过程检验的检测公司赋默认值

---
 src/views/procurementManagement/procurementLedger/index.vue |   13 +++++--------
 1 files changed, 5 insertions(+), 8 deletions(-)

diff --git a/src/views/procurementManagement/procurementLedger/index.vue b/src/views/procurementManagement/procurementLedger/index.vue
index 12b8f5a..47ec1e4 100644
--- a/src/views/procurementManagement/procurementLedger/index.vue
+++ b/src/views/procurementManagement/procurementLedger/index.vue
@@ -1021,7 +1021,7 @@
   import { modelList, productTreeList } from "@/api/basicData/product.js";
   import { getSparePartsList } from "@/api/equipmentManagement/spareParts.js";
   import { getSupplierContractList, getSupplierContractFilesByNo } from "@/api/basicData/supplierContract.js";
-  import { getLedgerPage } from "@/api/equipmentManagement/ledger.js";
+  import { getIotDeviceList as getIotDeviceListApi } from "@/api/equipmentManagement/ledger.js";
   import dayjs from "dayjs";
   import FileUpload from "@/components/AttachmentUpload/file/index.vue";
 
@@ -2344,15 +2344,12 @@
   };
 
   // 鑾峰彇IoT璁惧鍒楄〃
+  // 鑾峰彇IoT璁惧鍒楄〃
   const getIotDeviceList = async () => {
     try {
-      const res = await getLedgerPage({
-        isIotDevice: 1,
-        page: 1,
-        size: 999,
-      });
-      if (res.data && res.data.records) {
-        iotDeviceList.value = res.data.records;
+      const res = await getIotDeviceListApi();
+      if (res.data) {
+        iotDeviceList.value = res.data;
       }
     } catch (error) {
       console.error("鑾峰彇IoT璁惧鍒楄〃澶辫触:", error);

--
Gitblit v1.9.3