From a918d3676da9024c668c02e4a328d67285c7eac3 Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期五, 26 九月 2025 08:59:20 +0800
Subject: [PATCH] 领用单丝,字段回显实际生产长度和重量
---
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