Browse Source

tableform 日期改变事件

master_hella_20240701
陈薪名 9 months ago
parent
commit
477a82e7ff
  1. 9
      src/components/Detail/src/Detail.vue

9
src/components/Detail/src/Detail.vue

@ -136,6 +136,7 @@
:countPlanAllList="countPlanAllList" :countPlanAllList="countPlanAllList"
@onChange="detailBasicFormOnChange" @onChange="detailBasicFormOnChange"
@onBlur="onBlur" @onBlur="onBlur"
@formFormDateChange="formFormDateChange"
/> />
</div> </div>
</template> </template>
@ -585,7 +586,8 @@ const emit = defineEmits([
'tableFormButton', 'tableFormButton',
'openImage', 'openImage',
'onBlur', 'onBlur',
'detailBasicFormOnChange' 'detailBasicFormOnChange',
'formFormDateChange'
]) ])
/** 删除按钮操作 */ /** 删除按钮操作 */
const handleDelete = async (id: number) => { const handleDelete = async (id: number) => {
@ -653,6 +655,11 @@ const openImage=(item)=>{
const onBlur = (field, e) => { const onBlur = (field, e) => {
emit('onBlur', field, e) emit('onBlur', field, e)
} }
//
const formFormDateChange = (field, val,row, index) => {
emit('formFormDateChange', field, val,row, index)
}
// //
watch( watch(
() => props.apiPage, () => props.apiPage,

Loading…
Cancel
Save