From da583971227d237848ea28d54641dd20428f3da6 Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期一, 29 九月 2025 11:04:35 +0800
Subject: [PATCH] 绞线报工:二维码领用单丝,一层领完之后就自动切换层(从里到外),PDA:领用时需要选中层数,然后进行领用。PC端需要分层展示各层单丝领用情况。
---
src/pages/production/twist/components/MonofilCard.vue | 36 +++++++++++-------------------------
1 files changed, 11 insertions(+), 25 deletions(-)
diff --git a/src/pages/production/twist/components/MonofilCard.vue b/src/pages/production/twist/components/MonofilCard.vue
index 329d7f5..5f19b40 100644
--- a/src/pages/production/twist/components/MonofilCard.vue
+++ b/src/pages/production/twist/components/MonofilCard.vue
@@ -1,34 +1,20 @@
<template>
<wd-card>
- <wd-form :model="model">
- <wd-cell-group :border="true">
- <wd-input
- v-model="model.no"
- label="鍗曚笣缂栧彿"
- label-width="100px"
- prop="no"
- clearable
- placeholder="璇疯緭鍏ュ崟涓濈紪鍙�"
- />
- <wd-input
- v-model="model.length"
- label="闀垮害"
- label-width="100px"
- prop="length"
- clearable
- placeholder="璇疯緭鍏ラ暱搴�"
- />
- </wd-cell-group>
- </wd-form>
+ <wd-cell-group :border="true">
+ <wd-cell title="鍗曚笣缂栧彿" :value="data.monofilamentNumber" />
+ <wd-cell title="闀垮害" :value="data.amount + ' (M)'" />
+ <wd-cell title="鐢熶骇闀垮害" :value="data.actuallyLength + ' (M)'" />
+ <wd-cell title="閲嶉噺" :value="data.actuallyWeight + ' (kg)'" />
+ </wd-cell-group>
</wd-card>
</template>
<script setup lang="ts">
-import useFormData from "@/hooks/useFormData";
-
-const { form: model } = useFormData({
- no: undefined,
- length: undefined,
+defineProps({
+ data: {
+ type: Object,
+ default: () => {},
+ },
});
</script>
--
Gitblit v1.9.3