From 7d8e0d66e349928eca5ab90cb46540ffc153e3a3 Mon Sep 17 00:00:00 2001 From: zhangli <2235006734@qq.com> Date: Fri, 20 Oct 2023 17:21:10 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A8=E6=A0=BC=E9=AB=98=E5=BA=A6=EF=BC=8C?= =?UTF-8?q?=E5=8F=98=E6=9B=B4=E8=AE=B0=E5=BD=95=E5=92=8C=E5=A4=87=E6=B3=A8?= =?UTF-8?q?=E5=88=97=E8=A1=A8=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Detail/src/Detail.vue | 1 + src/components/Search/src/Search.vue | 76 ++-- src/components/Table/src/Table.vue | 5 + src/views/wms/itembasic/index.vue | 7 +- .../wms/purchaseclaimRequestMain/index.vue | 383 +++++------------- 5 files changed, 145 insertions(+), 327 deletions(-) diff --git a/src/components/Detail/src/Detail.vue b/src/components/Detail/src/Detail.vue index 5dc338bbb..7bcadad15 100644 --- a/src/components/Detail/src/Detail.vue +++ b/src/components/Detail/src/Detail.vue @@ -203,6 +203,7 @@ const remarksSubmitScuess = async (remark) => { } // 获取变更记录 const getChangeRecordList = async () => { + remarksData.data.tableId = '1679654720693248010' remarksData.remarksList = await DetailApi.getChangeRecordPage(remarksData.data) } diff --git a/src/components/Search/src/Search.vue b/src/components/Search/src/Search.vue index a9fbe9488..1d41701be 100644 --- a/src/components/Search/src/Search.vue +++ b/src/components/Search/src/Search.vue @@ -7,6 +7,9 @@ import { findIndex } from '@/utils' import { cloneDeep } from 'lodash-es' import { FormSchema } from '@/types/form' +import { useCache } from '@/hooks/web/useCache' +const { wsCache } = useCache() + defineOptions({ name: 'Search' }) const { t } = useI18n() @@ -97,44 +100,49 @@ const setVisible = () => { unref(elFormRef)?.resetFields() visible.value = !unref(visible) } +const Search = ref() +onMounted(() => { + nextTick(() => { + console.log(4) + console.log(Search.value.offsetHeight) + wsCache.set('SearchoffsetHeight', Search.value.offsetHeight) + console.log(wsCache.get('SearchoffsetHeight')) + console.log(4) + }) +})