From f608d2a0fcf8aea9598211bf6b7258b363de8633 Mon Sep 17 00:00:00 2001
From: huminmin <mac@MacBook-Pro.local>
Date: 星期三, 31 十二月 2025 14:11:18 +0800
Subject: [PATCH] 产品维护隐藏绑定机器

---
 src/views/productionManagement/productStructure/index.vue |    9 +++------
 1 files changed, 3 insertions(+), 6 deletions(-)

diff --git a/src/views/productionManagement/productStructure/index.vue b/src/views/productionManagement/productStructure/index.vue
index 44fae1c..bdbec9c 100644
--- a/src/views/productionManagement/productStructure/index.vue
+++ b/src/views/productionManagement/productStructure/index.vue
@@ -28,11 +28,9 @@
 
 <script setup>
 import {ref} from "vue";
-import {
-  modelPage,
-} from "@/api/basicData/product.js";
+import {productModelList} from "@/api/basicData/productModel.js";
 
-const StructureEdit = () => import('@/views/productionManagement/productStructure/StructureEdit.vue')
+const StructureEdit = defineAsyncComponent(() => import('@/views/productionManagement/productStructure/StructureEdit.vue'))
 
 const tableColumn = ref([
   {
@@ -88,11 +86,10 @@
 };
 const getModelList = () => {
   tableLoading.value = true;
-  modelPage({
+  productModelList({
     current: page.current,
     size: page.size,
   }).then((res) => {
-    console.log("res", res);
     tableData.value = res.records;
     page.total = res.total;
     tableLoading.value = false;

--
Gitblit v1.9.3