From aca7aa9ce32acc4c8795342f945b027d3bc9f62a Mon Sep 17 00:00:00 2001 From: 曹睿 <360930172@qq.com> Date: 星期二, 10 六月 2025 17:37:34 +0800 Subject: [PATCH] feat: 添加时效报工,修复扫码内存泄漏 --- src/pages/production/wire/receive/index.vue | 12 +++++++----- 1 files changed, 7 insertions(+), 5 deletions(-) diff --git a/src/pages/production/wire/receive/index.vue b/src/pages/production/wire/receive/index.vue index d23e486..2148afe 100644 --- a/src/pages/production/wire/receive/index.vue +++ b/src/pages/production/wire/receive/index.vue @@ -1,7 +1,9 @@ <template> <view class="page pt-2"> - <CardTitle title="鎷変笣棰嗙敤" :hideAction="true" @action="addReport" /> - <view class="list"> + <z-paging ref="paging" refresher-only class="list"> + <template #top> + <CardTitle title="鎷変笣棰嗙敤" :hideAction="true" @action="addReport" /> + </template> <wd-card type="rectangle" custom-class="round"> <template #title> <view class="flex justify-between"> @@ -14,7 +16,7 @@ </template> <ProductionCard :data="cardAttr" color="#0D867F" /> </wd-card> - </view> + </z-paging> <wd-popup v-model="dialog.visible" position="bottom" custom-class="yl-popup"> <view class="action px-3"> <wd-button type="text" @click="cancel">鍙栨秷</wd-button> @@ -31,6 +33,7 @@ import ProductionCard from "../../components/ProductionCard.vue"; import { useToast } from "wot-design-uni"; import ReceiveForm from "./form.vue"; +import zPaging from "@/components/z-paging/z-paging.vue"; const toast = useToast(); const dialog = reactive({ @@ -58,7 +61,7 @@ const toEdit = () => { uni.navigateTo({ - url: "/pages/production/receive/edit", + url: "/pages/production/wire/receive/edit", }); }; @@ -83,7 +86,6 @@ .list { height: calc(100vh - 120px); margin: 12px; - overflow: scroll; :deep() { .round { -- Gitblit v1.9.3