Commit 5df8be9b by 黑潮

update: fix

parent b5c52184
......@@ -21,22 +21,15 @@
label-width="122px"
>
<el-form-item v-for="item in babyConfigTemplate.template" :key="item.unifiedIdentification" :label="item.fieldName+ ':'" :prop="item.unifiedIdentification" :rules="getRules(item)">
<dm-input
v-if="item.fieldType == 0 && item.unifiedIdentification == 'k20301'"
:byteType="1"
v-model="fieldsList[activeName].form[item.systemFieldId]"
:placeholder="item.fieldDescription"
type="text"
:maxlength="item.limitCountMax"
style="width:240px"
/>
<el-input
v-else-if="item.fieldType == 0 && item.unifiedIdentification !== 'k20301'"
v-if="item.fieldType == 0"
v-model="fieldsList[activeName].form[item.systemFieldId]"
:placeholder="item.fieldDescription"
type="text"
:show-word-limit="item.unifiedIdentification == 'k20301'"
:maxlength="item.limitCountMax"
style="width:160px"
:class="{'baby-name': item.unifiedIdentification == 'k20301'}"
:style="{width: item.unifiedIdentification == 'k20301' ? '300px' : '160px'}"
/>
<el-date-picker
v-if="item.fieldType == 4"
......@@ -212,6 +205,11 @@ export default {
</script>
<style lang="less">
// 去除dailog-footer上边框
.baby-name {
.el-input__inner {
padding-right: 45px;
}
}
.customer-dialog .el-dialog__footer {
padding-top: 0;
padding-bottom: 20px;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment