|
@ -63,10 +63,10 @@ |
|
|
clearable |
|
|
clearable |
|
|
:type="headerItem?.tableForm?.inputType" |
|
|
:type="headerItem?.tableForm?.inputType" |
|
|
:placeholder="headerItem?.tableForm?.placeholder || '请输入' + headerItem.label" |
|
|
:placeholder="headerItem?.tableForm?.placeholder || '请输入' + headerItem.label" |
|
|
:disabled="headerItem?.tableForm?.isSearchList ? true : false" |
|
|
:disabled="headerItem?.tableForm?.isInpuFocusShow ? true : false" |
|
|
style="flex:1" |
|
|
style="flex:1" |
|
|
/> |
|
|
/> |
|
|
<el-button v-if="headerItem?.tableForm?.isSearchList" @click="inpuFocus(headerItem,row,index)"><Icon icon="ep:search" size="14"/></el-button> |
|
|
<el-button v-if="headerItem?.tableForm?.isInpuFocusShow" @click="inpuFocus(headerItem,row,index)"><Icon icon="ep:search" size="14"/></el-button> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
<!-- 金额输入框 --> |
|
|
<!-- 金额输入框 --> |
|
|
<el-form-item |
|
|
<el-form-item |
|
@ -389,7 +389,7 @@ const handleAddTable = () => { |
|
|
} |
|
|
} |
|
|
// 输入框聚焦 |
|
|
// 输入框聚焦 |
|
|
const inpuFocus = (headerItem, row, index)=>{ |
|
|
const inpuFocus = (headerItem, row, index)=>{ |
|
|
if(headerItem?.tableForm?.isSearchList){ |
|
|
if(headerItem?.tableForm?.isInpuFocusShow){ |
|
|
emit('inpuFocus', headerItem, row, index) |
|
|
emit('inpuFocus', headerItem, row, index) |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|