|
|
@ -66,16 +66,18 @@ |
|
|
|
row.type == 'LOCATION_CODE' |
|
|
|
" |
|
|
|
> |
|
|
|
<el-input |
|
|
|
<div class="input-box"> |
|
|
|
<el-input |
|
|
|
:key="'值input' + $index" |
|
|
|
v-model="row.value" |
|
|
|
:placeholder="tableFields[1].placeholder || '请输入' + tableFields[1].label" |
|
|
|
:disabled = "row.disabled || false" |
|
|
|
style="flex: 1;width: 0px;" |
|
|
|
/> |
|
|
|
<el-button :key="'值button' + $index" @click="inpuFocus(tableFields[1], row)" |
|
|
|
><Icon icon="ep:search" size="14" |
|
|
|
/></el-button> |
|
|
|
</div> |
|
|
|
|
|
|
|
</el-form-item> |
|
|
|
<el-form-item |
|
|
|
:key="'值formitem' + $index" |
|
|
@ -110,7 +112,6 @@ |
|
|
|
v-model="row.value" |
|
|
|
:disabled = "row.disabled || false" |
|
|
|
:placeholder="tableFields[1].placeholder || '请输入' + tableFields[1].label" |
|
|
|
style="flex: 1;width: 0px;" |
|
|
|
/> |
|
|
|
</el-form-item> |
|
|
|
</el-form> |
|
|
@ -263,4 +264,12 @@ defineExpose({ |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
.input-box{ |
|
|
|
display: flex; |
|
|
|
flex: 1!important; |
|
|
|
} |
|
|
|
.input-box ::v-deep .el-input{ |
|
|
|
flex: 1!important; |
|
|
|
width: 0px!important; |
|
|
|
} |
|
|
|
</style> |
|
|
|