From c86781de7dd883ac5c90c20f31a6bc05bf5f6036 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期一, 29 六月 2026 17:47:32 +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