From 03dc9caab43c03ae3ed7570df4007026dfc888d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=BF=97=E5=9B=BD?= <854933521@qq.com> Date: Thu, 31 Oct 2024 16:31:31 +0800 Subject: [PATCH] =?UTF-8?q?page/productReceipt/record=20=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E8=BF=81=E7=A7=BB=208/8-10/25?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/itemHold/record/recordList.vue | 11 ++++------- src/pages/itemHold/record/recordListDetail.vue | 6 +----- 2 files changed, 5 insertions(+), 12 deletions(-) diff --git a/src/pages/itemHold/record/recordList.vue b/src/pages/itemHold/record/recordList.vue index cb3ca661..e0fd4c08 100644 --- a/src/pages/itemHold/record/recordList.vue +++ b/src/pages/itemHold/record/recordList.vue @@ -59,15 +59,13 @@ import { onBackPress, onNavigationBarButtonTap } from '@dcloudio/uni-app' -// 定义 props + const props = defineProps({ - // 如果有 props 需要定义 + }); -// 定义 emits -const emit = defineEmits(['someEvent']); // 如果有自定义事件需要定义 +const emit = defineEmits(['someEvent']); -// 响应式数据 const recordList = ref([]); const pageNo = ref(1); const pageSize = ref(10); @@ -94,7 +92,7 @@ const comMessage = ref(null); const scanPopup = ref(null); const recordList = ref(null); -// 生命周期函数 + onLoad((option) => { title.value = option.title; }); @@ -137,7 +135,6 @@ onNavigationBarButtonTap((e) => { } }); -// 方法 const setQueryParam = () => { const filterParams = []; diff --git a/src/pages/itemHold/record/recordListDetail.vue b/src/pages/itemHold/record/recordListDetail.vue index 9bae3a36..c78c05a2 100644 --- a/src/pages/itemHold/record/recordListDetail.vue +++ b/src/pages/itemHold/record/recordListDetail.vue @@ -89,15 +89,11 @@ import { onNavigationBarButtonTap } from '@dcloudio/uni-app' -// 定义 props const props = defineProps({ - // 如果有 props 需要定义 }); -// 定义 emits -const emit = defineEmits(['someEvent']); // 如果有自定义事件需要定义 +const emit = defineEmits(['someEvent']); -// 响应式数据 const id = ref(''); const scanCount = ref(0); const recordContent = ref({});