From 35a28e272e903359a326f629db7a69bf49eaf2bb Mon Sep 17 00:00:00 2001
From: huminmin <mac@MacBook-Pro.local>
Date: 星期二, 23 十二月 2025 17:44:17 +0800
Subject: [PATCH] 工艺路线页面

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

diff --git a/src/views/productionManagement/processRoute/index.vue b/src/views/productionManagement/processRoute/index.vue
index 61b34e4..06a798d 100644
--- a/src/views/productionManagement/processRoute/index.vue
+++ b/src/views/productionManagement/processRoute/index.vue
@@ -52,15 +52,14 @@
 
 const data = reactive({
 	searchForm: {
-		name: "",
-		no: "",
+    model: "",
 	},
 });
 const { searchForm } = toRefs(data);
 const tableColumn = ref([
 	{
-		label: "闆朵欢鍚嶇О",
-		prop: "speculativeTradingName",
+		label: "瑙勬牸鍚嶇О",
+		prop: "model",
 	},
 	{
 		label: "鎻忚堪",
@@ -73,6 +72,13 @@
     fixed: "right",
     width: 280,
     operation: [
+      {
+        name: "璇︽儏",
+        type: "text",
+        clickFun: (row) => {
+          showEditModal(row);
+        }
+      },
       {
         name: "缂栬緫",
         type: "text",
@@ -139,18 +145,17 @@
 
 // 鍒犻櫎
 function handleDelete() {
-  // const no = selectedRows.value.map((item) => item.no);
-  // const ids = selectedRows.value.map((item) => item.id);
-  // proxy.$modal
-  //     .confirm('鏄惁纭鍒犻櫎宸ュ簭缂栧彿涓�"' + no + '"鐨勬暟鎹」锛�')
-  //     .then(function () {
-  //       return del(ids);
-  //     })
-  //     .then(() => {
-  //       getList();
-  //       proxy.$modal.msgSuccess("鍒犻櫎鎴愬姛");
-  //     })
-  //     .catch(() => {});
+  const ids = selectedRows.value.map((item) => item.id);
+  proxy.$modal
+      .confirm('鏄惁纭鍒犻櫎宸插嬀閫夌殑鏁版嵁椤癸紵')
+      .then(function () {
+        return del(ids);
+      })
+      .then(() => {
+        getList();
+        proxy.$modal.msgSuccess("鍒犻櫎鎴愬姛");
+      })
+      .catch(() => {});
 }
 
 onMounted(() => {

--
Gitblit v1.9.3