From ab27e3ac8c7e90fd267bd6c3f0c0e06f25469697 Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期二, 23 九月 2025 14:54:07 +0800
Subject: [PATCH] feat: 添加绞线/拉丝报工附件功能
---
src/pages/production/twist/receive/steelCore/index.vue | 11 +++++------
1 files changed, 5 insertions(+), 6 deletions(-)
diff --git a/src/pages/production/twist/receive/steelCore/index.vue b/src/pages/production/twist/receive/steelCore/index.vue
index 8ae3589..21b8d6f 100644
--- a/src/pages/production/twist/receive/steelCore/index.vue
+++ b/src/pages/production/twist/receive/steelCore/index.vue
@@ -17,7 +17,7 @@
<wd-icon name="a-rootlist" color="#0D867F"></wd-icon>
<text class="text-[#252525] ml-2 font-medium">{{ item.model }}</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" />
@@ -69,9 +69,9 @@
},
]);
-const toEdit = () => {
+const toEdit = (id: number) => {
uni.navigateTo({
- url: "/pages/production/twist/receive/steelCore/edit",
+ url: `/pages/production/twist/receive/steelCore/edit?id=${id}`,
});
};
@@ -79,9 +79,8 @@
dialog.visible = true;
};
-const submit = () => {
- toast.show("鎻愪氦");
- dialog.visible = false;
+const submit = async () => {
+ dialog.visible = !(await steelCoreRef.value.submit());
};
const cancel = () => {
--
Gitblit v1.9.3