From 303e0cb5fa6816dc10b77a284195d36b9e3787db Mon Sep 17 00:00:00 2001
From: huminmin <mac@MacBook-Pro.local>
Date: 星期四, 25 十二月 2025 14:13:55 +0800
Subject: [PATCH] 工艺路线项目页面

---
 src/views/productionManagement/processRoute/index.vue |   27 +++++++++++++++++++++------
 1 files changed, 21 insertions(+), 6 deletions(-)

diff --git a/src/views/productionManagement/processRoute/index.vue b/src/views/productionManagement/processRoute/index.vue
index 06a798d..7b53dfd 100644
--- a/src/views/productionManagement/processRoute/index.vue
+++ b/src/views/productionManagement/processRoute/index.vue
@@ -2,8 +2,8 @@
 	<div class="app-container">
 		<div class="search_form">
 			<el-form :model="searchForm" :inline="true">
-				<el-form-item label="闆朵欢鍚嶇О:">
-					<el-input v-model="searchForm.speculativeTradingName" placeholder="璇疯緭鍏�" clearable prefix-icon="Search"
+				<el-form-item label="瑙勬牸鍚嶇О:">
+					<el-input v-model="searchForm.model" placeholder="璇疯緭鍏�" clearable prefix-icon="Search"
 										style="width: 200px;"
 										@change="handleQuery" />
 				</el-form-item>
@@ -27,7 +27,7 @@
 				:tableLoading="tableLoading"
 				@pagination="pagination"
 				:total="page.total"
-			></PIMTable>
+			/>
 		</div>
 		<new-process
       v-if="isShowNewModal"
@@ -41,6 +41,14 @@
       :record="record"
       @completed="getList"
     />
+
+    <route-item-form
+        v-if="isShowItemModal"
+        v-model:visible="isShowItemModal"
+        :record="record"
+        @completed="getList"
+    />
+    RouteItemForm
 	</div>
 </template>
 
@@ -48,6 +56,7 @@
 import {onMounted, ref} from "vue";
 import NewProcess from "@/views/productionManagement/processRoute/New.vue";
 import EditProcess from "@/views/productionManagement/processRoute/Edit.vue";
+import RouteItemForm from "@/views/productionManagement/processRoute/ItemsForm.vue";
 import {listPage, del} from "@/api/productionManagement/processRoute.js";
 
 const data = reactive({
@@ -73,17 +82,17 @@
     width: 280,
     operation: [
       {
-        name: "璇︽儏",
+        name: "缂栬緫",
         type: "text",
         clickFun: (row) => {
           showEditModal(row);
         }
       },
       {
-        name: "缂栬緫",
+        name: "璺嚎椤圭洰",
         type: "text",
         clickFun: (row) => {
-          showEditModal(row);
+          showItemModal(row);
         }
       }
     ]
@@ -94,6 +103,7 @@
 const tableLoading = ref(false);
 const isShowNewModal = ref(false);
 const isShowEditModal = ref(false);
+const isShowItemModal = ref(false);
 const record = ref({});
 const page = reactive({
 	current: 1,
@@ -143,6 +153,11 @@
   record.value = row
 };
 
+const showItemModal = (row) => {
+  isShowItemModal.value = true
+  record.value = row
+};
+
 // 鍒犻櫎
 function handleDelete() {
   const ids = selectedRows.value.map((item) => item.id);

--
Gitblit v1.9.3