style:字典
Showing
1 changed file
with
10 additions
and
10 deletions
... | @@ -2,9 +2,9 @@ | ... | @@ -2,9 +2,9 @@ |
2 | <!-- 编辑 --> | 2 | <!-- 编辑 --> |
3 | <dialogBox submitForm="submitForm" @closeDialog="closeDialog" @submitForm="handleSubmit" width="80%" v-model="myValue" | 3 | <dialogBox submitForm="submitForm" @closeDialog="closeDialog" @submitForm="handleSubmit" width="80%" v-model="myValue" |
4 | :isSave="details.isenable == 1" title="字典信息"> | 4 | :isSave="details.isenable == 1" title="字典信息"> |
5 | <el-form :model="ruleForm" ref="ruleForm" label-width="120px"> | 5 | <el-form :model="ruleForm" ref="ruleForm" label-width="100px"> |
6 | <el-row :gutter="20"> | 6 | <el-row :gutter="20"> |
7 | <el-col :span="6"> | 7 | <el-col :span="4"> |
8 | <el-form-item label="字典类型编码"> | 8 | <el-form-item label="字典类型编码"> |
9 | {{ ruleForm.dcode }} | 9 | {{ ruleForm.dcode }} |
10 | </el-form-item> | 10 | </el-form-item> |
... | @@ -70,12 +70,12 @@ export default { | ... | @@ -70,12 +70,12 @@ export default { |
70 | <div> | 70 | <div> |
71 | <el-input placeholder="字典项编码" disabled={this.details.isenable == 2} v-show={scope.row.codeShow} v-fo value={scope.row[scope.column.property]} | 71 | <el-input placeholder="字典项编码" disabled={this.details.isenable == 2} v-show={scope.row.codeShow} v-fo value={scope.row[scope.column.property]} |
72 | onFocus={() => { this.itemShowFalse(); scope.row.codeShow = true; }} | 72 | onFocus={() => { this.itemShowFalse(); scope.row.codeShow = true; }} |
73 | onInput={(val) => { scope.row[scope.column.property] = val }} maxlength='8'></el-input> | 73 | onInput={(val) => { scope.row[scope.column.property] = val; this.itemShowFalse(); scope.row.codeShow = true; }} maxlength='8'></el-input> |
74 | 74 | ||
75 | 75 | ||
76 | <el-input placeholder="字典项编码" disabled={this.details.isenable == 2} v-show={!scope.row.codeShow} value={scope.row[scope.column.property]} | 76 | <el-input placeholder="字典项编码" disabled={this.details.isenable == 2} v-show={!scope.row.codeShow} value={scope.row[scope.column.property]} |
77 | onFocus={() => { this.itemShowFalse(); scope.row.codeShow = true; }} | 77 | onFocus={() => { this.itemShowFalse(); scope.row.codeShow = true; }} |
78 | onInput={(val) => { scope.row[scope.column.property] = val }} maxlength='8'></el-input> | 78 | onInput={(val) => { scope.row[scope.column.property] = val; this.itemShowFalse(); scope.row.codeShow = true; }} maxlength='8'></el-input> |
79 | </div> | 79 | </div> |
80 | ) | 80 | ) |
81 | } | 81 | } |
... | @@ -88,11 +88,11 @@ export default { | ... | @@ -88,11 +88,11 @@ export default { |
88 | <div> | 88 | <div> |
89 | <el-input placeholder="字典项编码" disabled={this.details.isenable == 2} v-show={scope.row.nameShow} v-fo value={scope.row[scope.column.property]} | 89 | <el-input placeholder="字典项编码" disabled={this.details.isenable == 2} v-show={scope.row.nameShow} v-fo value={scope.row[scope.column.property]} |
90 | onFocus={() => { this.itemShowFalse(); scope.row.nameShow = true; }} | 90 | onFocus={() => { this.itemShowFalse(); scope.row.nameShow = true; }} |
91 | onInput={(val) => { scope.row[scope.column.property] = val }}></el-input> | 91 | onInput={(val) => { scope.row[scope.column.property] = val; this.itemShowFalse(); scope.row.codeShow = true; }}></el-input> |
92 | 92 | ||
93 | <el-input placeholder="字典项名称" disabled={this.details.isenable == 2} v-show={!scope.row.nameShow} value={scope.row[scope.column.property]} | 93 | <el-input placeholder="字典项名称" disabled={this.details.isenable == 2} v-show={!scope.row.nameShow} value={scope.row[scope.column.property]} |
94 | onFocus={() => { this.itemShowFalse(); scope.row.nameShow = true; }} | 94 | onFocus={() => { this.itemShowFalse(); scope.row.nameShow = true; }} |
95 | onInput={(val) => { scope.row[scope.column.property] = val }}></el-input> | 95 | onInput={(val) => { scope.row[scope.column.property] = val; this.itemShowFalse(); scope.row.codeShow = true; }}></el-input> |
96 | </div> | 96 | </div> |
97 | ) | 97 | ) |
98 | } | 98 | } |
... | @@ -106,11 +106,11 @@ export default { | ... | @@ -106,11 +106,11 @@ export default { |
106 | <div> | 106 | <div> |
107 | <el-input placeholder="部标编码" disabled={this.details.isenable == 2} v-show={scope.row.normcodeShow} v-fo value={scope.row[scope.column.property]} | 107 | <el-input placeholder="部标编码" disabled={this.details.isenable == 2} v-show={scope.row.normcodeShow} v-fo value={scope.row[scope.column.property]} |
108 | onFocus={() => { this.itemShowFalse(); scope.row.normcodeShow = true; }} | 108 | onFocus={() => { this.itemShowFalse(); scope.row.normcodeShow = true; }} |
109 | onInput={(val) => { scope.row[scope.column.property] = val }} maxlength='8'></el-input> | 109 | onInput={(val) => { scope.row[scope.column.property] = val; this.itemShowFalse(); scope.row.codeShow = true; }} maxlength='8'></el-input> |
110 | 110 | ||
111 | <el-input placeholder="部标编码" disabled={this.details.isenable == 2} v-show={!scope.row.normcodeShow} value={scope.row[scope.column.property]} | 111 | <el-input placeholder="部标编码" disabled={this.details.isenable == 2} v-show={!scope.row.normcodeShow} value={scope.row[scope.column.property]} |
112 | onFocus={() => { this.itemShowFalse(); scope.row.normcodeShow = true; }} | 112 | onFocus={() => { this.itemShowFalse(); scope.row.normcodeShow = true; }} |
113 | onInput={(val) => { scope.row[scope.column.property] = val }} maxlength='8'></el-input> | 113 | onInput={(val) => { scope.row[scope.column.property] = val; this.itemShowFalse(); scope.row.codeShow = true; }} maxlength='8'></el-input> |
114 | </div> | 114 | </div> |
115 | ) | 115 | ) |
116 | } | 116 | } |
... | @@ -123,11 +123,11 @@ export default { | ... | @@ -123,11 +123,11 @@ export default { |
123 | <div> | 123 | <div> |
124 | <el-input placeholder="部标名称" disabled={this.details.isenable == 2} v-show={scope.row.normnameShow} v-fo value={scope.row[scope.column.property]} | 124 | <el-input placeholder="部标名称" disabled={this.details.isenable == 2} v-show={scope.row.normnameShow} v-fo value={scope.row[scope.column.property]} |
125 | onFocus={() => { this.itemShowFalse(); scope.row.normnameShow = true; }} | 125 | onFocus={() => { this.itemShowFalse(); scope.row.normnameShow = true; }} |
126 | onInput={(val) => { scope.row[scope.column.property] = val }}></el-input> | 126 | onInput={(val) => { scope.row[scope.column.property] = val; this.itemShowFalse(); scope.row.codeShow = true; }}></el-input> |
127 | 127 | ||
128 | <el-input placeholder="部标名称" disabled={this.details.isenable == 2} v-show={!scope.row.normnameShow} value={scope.row[scope.column.property]} | 128 | <el-input placeholder="部标名称" disabled={this.details.isenable == 2} v-show={!scope.row.normnameShow} value={scope.row[scope.column.property]} |
129 | onFocus={() => { this.itemShowFalse(); scope.row.normnameShow = true; }} | 129 | onFocus={() => { this.itemShowFalse(); scope.row.normnameShow = true; }} |
130 | onInput={(val) => { scope.row[scope.column.property] = val }}></el-input> | 130 | onInput={(val) => { scope.row[scope.column.property] = val; this.itemShowFalse(); scope.row.codeShow = true; }}></el-input> |
131 | </div> | 131 | </div> |
132 | ) | 132 | ) |
133 | } | 133 | } | ... | ... |
-
Please register or sign in to post a comment