From fe6dbaaefef6dd9bb4a1ee26df8ad8b451500a10 Mon Sep 17 00:00:00 2001
From: 曹睿 <360930172@qq.com>
Date: 星期三, 21 五月 2025 09:48:36 +0800
Subject: [PATCH] fix: 修复扫码接口

---
 src/pages/production/detail/twistDetail.vue |   13 +++++++++++--
 1 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/src/pages/production/detail/twistDetail.vue b/src/pages/production/detail/twistDetail.vue
index 5c12575..6ccb078 100644
--- a/src/pages/production/detail/twistDetail.vue
+++ b/src/pages/production/detail/twistDetail.vue
@@ -1,6 +1,15 @@
 <template>
   <view>
-    <ProductCard :data="cardData" />
+    <ProductCard
+      :data="cardData"
+      :map="{
+        deviceModel: 'deviceModel',
+        model: 'model',
+        totalAmount: 'totalAmount',
+        amount: 'amount',
+        unAmount: 'unAmount',
+      }"
+    />
     <view class="mx-3">
       <wd-grid class="rounded-lg" clickable>
         <wd-grid-item
@@ -18,7 +27,7 @@
         <wd-grid-item
           icon="tips"
           link-type="navigateTo"
-          url="/pages/production/twist/backman/index"
+          :url="`/pages/production/twist/backman/index?id=${paramsId}`"
           text="鏉傚伐"
         />
         <wd-grid-item

--
Gitblit v1.9.3