|
|
@@ -33,7 +33,7 @@
|
|
|
:md="formLineWidth(inputItem[inputType], 'value')"
|
|
|
:lg="formLineWidth(inputItem[inputType], 'value')"
|
|
|
:xl="formLineWidth(inputItem[inputType], 'value')">
|
|
|
- <el-form-item :label="inputItem[inputType].label" :prop="inputItem.field" :class="inputItem[inputType].type === 'span' ? 'el-form-item__content--span' : ''" :style="formItemStyle">
|
|
|
+ <el-form-item :label="inputItem[inputType].label" :label-width="inputItem[inputType].labelWidth" :prop="inputItem.field" :class="inputItem[inputType].type === 'span' ? 'el-form-item__content--span' : ''" :style="formItemStyle">
|
|
|
<!--input-->
|
|
|
<el-input v-if="inputItem[inputType].type === 'text'" v-model="rowData[(inputType === 'search' ? inputPriField : inputItem.field)]"
|
|
|
@blur="onInputBlur(rowData[(inputType === 'search' ? inputPriField : inputItem.field)])"
|
|
|
@@ -665,8 +665,8 @@ import { isTypeof, LOCAL_STORAGE_CURR, downLoadImage, isHttpHeaderURL, datepicke
|
|
|
if (curConfig.type === 'span') {
|
|
|
rv = 'width: 95%'
|
|
|
}
|
|
|
- if (curConfig.style) {
|
|
|
- rv = curConfig.style
|
|
|
+ if (curConfig.itemStyle) {
|
|
|
+ rv = curConfig.itemStyle
|
|
|
}
|
|
|
if (curConfig.hidden) {
|
|
|
rv = 'visibility: hidden'
|