From 79210c2f29c65499e5ff8e4abc0c802b7b1c4065 Mon Sep 17 00:00:00 2001
From: 曹睿 <360930172@qq.com>
Date: 星期四, 24 四月 2025 16:43:07 +0800
Subject: [PATCH] Merge branch 'master' of http://114.132.189.42:9002/r/yuanwang-mes-uniapp

---
 src/pages/production/twist/receive/plate/index.vue |   22 +++++++++++-----------
 1 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/src/pages/production/twist/receive/plate/index.vue b/src/pages/production/twist/receive/plate/index.vue
index a49fb1a..128db14 100644
--- a/src/pages/production/twist/receive/plate/index.vue
+++ b/src/pages/production/twist/receive/plate/index.vue
@@ -17,21 +17,21 @@
               <wd-icon name="a-rootlist" color="#0D867F"></wd-icon>
               <text class="text-[#252525] ml-2 font-medium">{{ item.diskMaterial }}</text>
             </view>
-            <view class="text-[#A8A8A8]" @click="toEdit">缂栬緫</view>
+            <view class="text-[#A8A8A8]" @click="toEdit(item.id)">缂栬緫</view>
           </view>
         </template>
         <ProductionCard :data="cardAttr" :value="item" color="#0D867F" />
       </wd-card>
     </z-paging>
+    <wd-popup v-model="dialog.visible" position="bottom" custom-class="yl-popup">
+      <view class="action px-3">
+        <wd-button type="text" @click="cancel">鍙栨秷</wd-button>
+        <wd-button type="text" @click="submit">纭畾</wd-button>
+      </view>
+      <PlateForm ref="plateFormRef" @refresh="reloadList" />
+    </wd-popup>
+    <wd-toast />
   </view>
-  <wd-popup v-model="dialog.visible" position="bottom" custom-class="yl-popup">
-    <view class="action px-3">
-      <wd-button type="text" @click="cancel">鍙栨秷</wd-button>
-      <wd-button type="text" @click="submit">纭畾</wd-button>
-    </view>
-    <PlateForm ref="plateFormRef" @refresh="reloadList" />
-  </wd-popup>
-  <wd-toast />
 </template>
 
 <script setup lang="ts">
@@ -74,9 +74,9 @@
   },
 ]);
 
-const toEdit = () => {
+const toEdit = (id: number) => {
   uni.navigateTo({
-    url: "/pages/production/twist/receive/plate/edit",
+    url: `/pages/production/twist/receive/plate/edit?id=${id}`,
   });
 };
 

--
Gitblit v1.9.3