From af4f45eaa2703ecf991bd10f07f6df179f2677d9 Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期三, 19 十一月 2025 10:04:45 +0800
Subject: [PATCH] Merge branch 'refs/heads/yyb'
---
src/pages/production/detail/twistDetail.vue | 16 ++++++++++++++--
1 files changed, 14 insertions(+), 2 deletions(-)
diff --git a/src/pages/production/detail/twistDetail.vue b/src/pages/production/detail/twistDetail.vue
index 5c12575..fede20a 100644
--- a/src/pages/production/detail/twistDetail.vue
+++ b/src/pages/production/detail/twistDetail.vue
@@ -1,6 +1,16 @@
<template>
<view>
- <ProductCard :data="cardData" />
+ <ProductCard
+ :data="cardData"
+ :map="{
+ deviceModel: 'deviceModel',
+ model: 'model',
+ systemNo: 'systemNo',
+ totalAmount: 'totalAmount',
+ amount: 'amount',
+ unAmount: 'unAmount',
+ }"
+ />
<view class="mx-3">
<wd-grid class="rounded-lg" clickable>
<wd-grid-item
@@ -18,7 +28,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
@@ -41,6 +51,7 @@
const cardData = reactive({
deviceModel: undefined,
model: undefined,
+ systemNo: undefined,
totalAmount: undefined,
amount: undefined,
unAmount: undefined,
@@ -52,6 +63,7 @@
});
cardData.deviceModel = data.deviceModel;
cardData.model = data.model;
+ cardData.systemNo = data.systemNo;
cardData.totalAmount = data.totalLength;
cardData.amount = data.length;
cardData.unAmount = data.unLength;
--
Gitblit v1.9.3