From e6c320539c5dbcf11074b20cd835710452e97db0 Mon Sep 17 00:00:00 2001 From: LiJianZhao Date: Thu, 15 May 2025 13:20:43 +0800 Subject: [PATCH] dev --- src/components/inventory/apply/AddApply.vue | 10 ++++++ src/views/inventory/apply.vue | 34 +++++++++++++++++++-- src/views/inventory/check.vue | 31 ++++++++++++++++++- 3 files changed, 72 insertions(+), 3 deletions(-) diff --git a/src/components/inventory/apply/AddApply.vue b/src/components/inventory/apply/AddApply.vue index dc5554c..c06f995 100644 --- a/src/components/inventory/apply/AddApply.vue +++ b/src/components/inventory/apply/AddApply.vue @@ -144,6 +144,8 @@ import Mask from "@/components/common/Mask.vue"; const isShow = ref(false) const emit = defineEmits(['close']) const exit = () => { + initFormData() + tableList.value = [] isShow.value = false emit('close') } @@ -154,6 +156,14 @@ const formData = ref({ username: "", remark: '' }) +const initFormData = () => { + formData.value = { + useUserId: null, + name: '', + username: "", + remark: '' + } +} interface Inventory { goodId: string | number; diff --git a/src/views/inventory/apply.vue b/src/views/inventory/apply.vue index a20df55..43846ae 100644 --- a/src/views/inventory/apply.vue +++ b/src/views/inventory/apply.vue @@ -34,8 +34,38 @@
- - + + + + + + + + + + + + + + + + + + + +