From 477a82e7ffd4de48127c55b544190f03f9a35634 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E8=96=AA=E5=90=8D?= <942005050@qq.com> Date: Wed, 28 Feb 2024 09:08:34 +0800 Subject: [PATCH] =?UTF-8?q?tableform=20=E6=97=A5=E6=9C=9F=E6=94=B9?= =?UTF-8?q?=E5=8F=98=E4=BA=8B=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Detail/src/Detail.vue | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/components/Detail/src/Detail.vue b/src/components/Detail/src/Detail.vue index 1d8125c7a..899d5fc31 100644 --- a/src/components/Detail/src/Detail.vue +++ b/src/components/Detail/src/Detail.vue @@ -136,6 +136,7 @@ :countPlanAllList="countPlanAllList" @onChange="detailBasicFormOnChange" @onBlur="onBlur" + @formFormDateChange="formFormDateChange" /> @@ -585,7 +586,8 @@ const emit = defineEmits([ 'tableFormButton', 'openImage', 'onBlur', - 'detailBasicFormOnChange' + 'detailBasicFormOnChange', + 'formFormDateChange' ]) /** 删除按钮操作 */ const handleDelete = async (id: number) => { @@ -653,6 +655,11 @@ const openImage=(item)=>{ const onBlur = (field, e) => { emit('onBlur', field, e) } + +// 日期改变事件 +const formFormDateChange = (field, val,row, index) => { + emit('formFormDateChange', field, val,row, index) +} //监视属性 watch( () => props.apiPage,