修复设备信息表格和表单显示问题
This commit is contained in:
@@ -53,7 +53,7 @@
|
||||
destroy-on-close
|
||||
@close="onDialogClose"
|
||||
>
|
||||
<el-form ref="form" :model="formData" :rules="rules" label-width="130px" size="mini">
|
||||
<el-form ref="form" class="equipment-form" :model="formData" :rules="rules" label-width="130px" size="mini">
|
||||
<el-row :gutter="16">
|
||||
<el-col :span="12">
|
||||
<el-form-item :label="$t(key('device_code'))" prop="code">
|
||||
@@ -242,8 +242,6 @@ export default {
|
||||
},
|
||||
created () {
|
||||
this.columns = useTableColumns([
|
||||
{ type: 'selection', width: 55 },
|
||||
{ prop: 'sort', label: this.key('sort'), width: 80 },
|
||||
{ prop: 'code', label: this.key('device_code'), minWidth: 130 },
|
||||
{ prop: 'name', label: this.key('device_name'), minWidth: 130 },
|
||||
{ prop: 'device_category_name', label: this.key('device_category'), minWidth: 130 },
|
||||
@@ -515,7 +513,7 @@ export default {
|
||||
.import-form {
|
||||
margin-top: 16px;
|
||||
}
|
||||
/deep/ .el-form-item--mini.el-form-item {
|
||||
margin-bottom: 4px;
|
||||
/deep/ .equipment-form .el-form-item--mini.el-form-item {
|
||||
margin-bottom: 22px;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user