From 8460eac918d8c8e825a0f78ac0af1c03cad8fd49 Mon Sep 17 00:00:00 2001
From: YLouie <929705085@qq.com>
Date: 星期四, 23 十月 2025 16:53:21 +0800
Subject: [PATCH] 拉丝报工填原材料领用
---
src/pages/production/twist/components/MonofilCard.vue | 33 ++++++++++++---------------------
1 files changed, 12 insertions(+), 21 deletions(-)
diff --git a/src/pages/production/twist/components/MonofilCard.vue b/src/pages/production/twist/components/MonofilCard.vue
index 38921d1..68268d5 100644
--- a/src/pages/production/twist/components/MonofilCard.vue
+++ b/src/pages/production/twist/components/MonofilCard.vue
@@ -1,30 +1,21 @@
<template>
<wd-card>
- <wd-form :model="model">
- <wd-cell-group :border="true">
- <wd-input
- v-model="model.monofilamentNumber"
- label="鍗曚笣缂栧彿"
- label-width="100px"
- prop="no"
- clearable
- placeholder="璇疯緭鍏ュ崟涓濈紪鍙�"
- />
- <wd-input
- v-model="model.oneLength"
- 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">
-const model: any = defineModel("value");
+defineProps({
+ data: {
+ type: Object,
+ default: () => {},
+ },
+});
</script>
<style lang="scss" scoped></style>
--
Gitblit v1.9.3