字典修改
Showing
1 changed file
with
7 additions
and
55 deletions
... | @@ -8,8 +8,6 @@ | ... | @@ -8,8 +8,6 @@ |
8 | width="60%" | 8 | width="60%" |
9 | v-model="myValue" | 9 | v-model="myValue" |
10 | :isMain="true" | 10 | :isMain="true" |
11 | :isButton="false" | ||
12 | :isSave="details.ISENABLE == 1" | ||
13 | title="字典信息" | 11 | title="字典信息" |
14 | > | 12 | > |
15 | <div class="editDialogBox-box "> | 13 | <div class="editDialogBox-box "> |
... | @@ -29,7 +27,7 @@ | ... | @@ -29,7 +27,7 @@ |
29 | </el-form> | 27 | </el-form> |
30 | <lb-table | 28 | <lb-table |
31 | :column="column" | 29 | :column="column" |
32 | class="loadingtext" | 30 | class="loadingtext opacity-input" |
33 | :heightNum="600" | 31 | :heightNum="600" |
34 | :key="key" | 32 | :key="key" |
35 | :expand-row-keys="keyList" | 33 | :expand-row-keys="keyList" |
... | @@ -103,7 +101,6 @@ export default { | ... | @@ -103,7 +101,6 @@ export default { |
103 | <div> | 101 | <div> |
104 | <el-input | 102 | <el-input |
105 | placeholder="字典项编码" | 103 | placeholder="字典项编码" |
106 | disabled={this.details.isenable == 2} | ||
107 | v-show={scope.row.codeShow} | 104 | v-show={scope.row.codeShow} |
108 | v-fo | 105 | v-fo |
109 | value={scope.row[scope.column.property]} | 106 | value={scope.row[scope.column.property]} |
... | @@ -121,7 +118,6 @@ export default { | ... | @@ -121,7 +118,6 @@ export default { |
121 | 118 | ||
122 | <el-input | 119 | <el-input |
123 | placeholder="字典项编码" | 120 | placeholder="字典项编码" |
124 | disabled={this.details.isenable == 2} | ||
125 | v-show={!scope.row.codeShow} | 121 | v-show={!scope.row.codeShow} |
126 | value={scope.row[scope.column.property]} | 122 | value={scope.row[scope.column.property]} |
127 | onFocus={() => { | 123 | onFocus={() => { |
... | @@ -147,7 +143,6 @@ export default { | ... | @@ -147,7 +143,6 @@ export default { |
147 | <div> | 143 | <div> |
148 | <el-input | 144 | <el-input |
149 | placeholder="字典项编码" | 145 | placeholder="字典项编码" |
150 | disabled={this.details.isenable == 2} | ||
151 | v-show={scope.row.nameShow} | 146 | v-show={scope.row.nameShow} |
152 | v-fo | 147 | v-fo |
153 | value={scope.row[scope.column.property]} | 148 | value={scope.row[scope.column.property]} |
... | @@ -164,7 +159,6 @@ export default { | ... | @@ -164,7 +159,6 @@ export default { |
164 | 159 | ||
165 | <el-input | 160 | <el-input |
166 | placeholder="字典项名称" | 161 | placeholder="字典项名称" |
167 | disabled={this.details.isenable == 2} | ||
168 | v-show={!scope.row.nameShow} | 162 | v-show={!scope.row.nameShow} |
169 | value={scope.row[scope.column.property]} | 163 | value={scope.row[scope.column.property]} |
170 | onFocus={() => { | 164 | onFocus={() => { |
... | @@ -181,54 +175,6 @@ export default { | ... | @@ -181,54 +175,6 @@ export default { |
181 | ); | 175 | ); |
182 | }, | 176 | }, |
183 | }, | 177 | }, |
184 | // { | ||
185 | // prop: 'normcode', | ||
186 | // label: '部标编码', | ||
187 | // width: '100', | ||
188 | // render: (h, scope) => { | ||
189 | // return ( | ||
190 | // <div> | ||
191 | // <el-input placeholder="部标编码" disabled={this.details.isenable == 2} v-show={scope.row.normcodeShow} v-fo value={scope.row[scope.column.property]} | ||
192 | // onFocus={() => { this.itemShowFalse(); scope.row.normcodeShow = true; }} | ||
193 | // onInput={(val) => { scope.row[scope.column.property] = val; this.itemShowFalse(); scope.row.codeShow = true; }} maxlength='8'></el-input> | ||
194 | |||
195 | // <el-input placeholder="部标编码" disabled={this.details.isenable == 2} v-show={!scope.row.normcodeShow} value={scope.row[scope.column.property]} | ||
196 | // onFocus={() => { this.itemShowFalse(); scope.row.normcodeShow = true; }} | ||
197 | // onInput={(val) => { scope.row[scope.column.property] = val; this.itemShowFalse(); scope.row.codeShow = true; }} maxlength='8'></el-input> | ||
198 | // </div> | ||
199 | // ) | ||
200 | // } | ||
201 | // }, | ||
202 | // { | ||
203 | // prop: 'normname', | ||
204 | // label: '部标名称', | ||
205 | // render: (h, scope) => { | ||
206 | // return ( | ||
207 | // <div> | ||
208 | // <el-input placeholder="部标名称" disabled={this.details.isenable == 2} v-show={scope.row.normnameShow} v-fo value={scope.row[scope.column.property]} | ||
209 | // onFocus={() => { this.itemShowFalse(); scope.row.normnameShow = true; }} | ||
210 | // onInput={(val) => { scope.row[scope.column.property] = val; this.itemShowFalse(); scope.row.codeShow = true; }}></el-input> | ||
211 | |||
212 | // <el-input placeholder="部标名称" disabled={this.details.isenable == 2} v-show={!scope.row.normnameShow} value={scope.row[scope.column.property]} | ||
213 | // onFocus={() => { this.itemShowFalse(); scope.row.normnameShow = true; }} | ||
214 | // onInput={(val) => { scope.row[scope.column.property] = val; this.itemShowFalse(); scope.row.codeShow = true; }}></el-input> | ||
215 | // </div> | ||
216 | // ) | ||
217 | // } | ||
218 | // }, | ||
219 | // { | ||
220 | // prop: 'isenable', | ||
221 | // width: '160', | ||
222 | // label: '是否禁用', | ||
223 | // render: (h, scope) => { | ||
224 | // return ( | ||
225 | // <el-radio-group disabled={this.details.isenable == 2} v-model={scope.row.isenable}> | ||
226 | // <el-radio label="1">启用</el-radio> | ||
227 | // <el-radio label="0">禁用</el-radio> | ||
228 | // </el-radio-group> | ||
229 | // ) | ||
230 | // } | ||
231 | // }, | ||
232 | { | 178 | { |
233 | width: "130", | 179 | width: "130", |
234 | label: "移动", | 180 | label: "移动", |
... | @@ -467,4 +413,10 @@ export default { | ... | @@ -467,4 +413,10 @@ export default { |
467 | .editDialogBox-box{ | 413 | .editDialogBox-box{ |
468 | margin:14px 18px 30px 18px !important | 414 | margin:14px 18px 30px 18px !important |
469 | } | 415 | } |
416 | .opacity-input{ | ||
417 | /deep/ .el-input__inner{ | ||
418 | background-color: transparent; | ||
419 | border: 1px solid #458ACF; | ||
420 | } | ||
421 | } | ||
470 | </style> | 422 | </style> | ... | ... |
-
Please register or sign in to post a comment