|
@ -146,7 +146,8 @@ |
|
|
:disabled="itemIsDisabled(headerItem, row)" |
|
|
:disabled="itemIsDisabled(headerItem, row)" |
|
|
:placeholder="headerItem?.tableForm?.placeholder || '选择日期'" |
|
|
:placeholder="headerItem?.tableForm?.placeholder || '选择日期'" |
|
|
:format="headerItem?.tableForm?.format || 'YYYY-MM-DD'" |
|
|
:format="headerItem?.tableForm?.format || 'YYYY-MM-DD'" |
|
|
:value-format="headerItem?.tableForm?.valueFormat || 'YYYY-MM-DD'" /> |
|
|
:value-format="headerItem?.tableForm?.valueFormat || 'YYYY-MM-DD'" |
|
|
|
|
|
@change="formFormDateChange(headerItem.field, $event,row, $index)" /> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
<!-- 日期时间选择器 --> |
|
|
<!-- 日期时间选择器 --> |
|
|
<el-form-item |
|
|
<el-form-item |
|
@ -348,7 +349,8 @@ const emit = defineEmits([ |
|
|
'inpuFocus', |
|
|
'inpuFocus', |
|
|
'buttonOperationClick', |
|
|
'buttonOperationClick', |
|
|
'inputStringBlur', |
|
|
'inputStringBlur', |
|
|
'tableFormSelectOnBlur' |
|
|
'tableFormSelectOnBlur', |
|
|
|
|
|
'formFormDateChange' |
|
|
]) |
|
|
]) |
|
|
// 获取下拉列表 | type = radio | type = select |
|
|
// 获取下拉列表 | type = radio | type = select |
|
|
const initSelectOptions = (item) => { |
|
|
const initSelectOptions = (item) => { |
|
@ -358,6 +360,10 @@ const initSelectOptions = (item) => { |
|
|
const formSelectChange = (field, val,row) => { |
|
|
const formSelectChange = (field, val,row) => { |
|
|
emit('formSelectChange', field, val,row) |
|
|
emit('formSelectChange', field, val,row) |
|
|
} |
|
|
} |
|
|
|
|
|
// 日期改变事件 |
|
|
|
|
|
const formFormDateChange = (field, val,row, index) => { |
|
|
|
|
|
emit('formFormDateChange', field, val,row, index) |
|
|
|
|
|
} |
|
|
// 普通下拉失焦事件 |
|
|
// 普通下拉失焦事件 |
|
|
const tableFormSelectOnBlur = (field, val,row,index) => { |
|
|
const tableFormSelectOnBlur = (field, val,row,index) => { |
|
|
emit('tableFormSelectOnBlur', field, val,row,index) |
|
|
emit('tableFormSelectOnBlur', field, val,row,index) |
|
|