From ac599197755d425fe28b7597f2cedbd28b6bd44a Mon Sep 17 00:00:00 2001
From: chenhj <1263187585@qq.com>
Date: 星期二, 29 七月 2025 11:25:18 +0800
Subject: [PATCH] 修改扫码问题
---
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