From 1e5646aadae902d9f9043cc0d79395bf6b06a38c Mon Sep 17 00:00:00 2001
From: 曹睿 <360930172@qq.com>
Date: 星期一, 21 四月 2025 14:46:59 +0800
Subject: [PATCH] feat: 完成框架
---
src/pages/production/wire/receive/index.vue | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/pages/production/wire/receive/index.vue b/src/pages/production/wire/receive/index.vue
index 95074e2..64327e1 100644
--- a/src/pages/production/wire/receive/index.vue
+++ b/src/pages/production/wire/receive/index.vue
@@ -1,7 +1,7 @@
<template>
<view class="page pt-2">
<CardTitle title="鎷変笣棰嗙敤" :hideAction="true" @action="addReport" />
- <view class="list">
+ <z-paging ref="paging" refresher-only class="list">
<wd-card type="rectangle" custom-class="round">
<template #title>
<view class="flex justify-between">
@@ -14,7 +14,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>
@@ -28,9 +28,10 @@
<script setup lang="ts">
import CardTitle from "@/components/card-title/index.vue";
-import ProductionCard from "../components/ProductionCard.vue";
+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 +59,7 @@
const toEdit = () => {
uni.navigateTo({
- url: "/pages/production/receive/edit",
+ url: "/pages/production/wire/receive/edit",
});
};
@@ -83,7 +84,6 @@
.list {
height: calc(100vh - 120px);
margin: 12px;
- overflow: scroll;
:deep() {
.round {
--
Gitblit v1.9.3