-
@@ -88,7 +90,7 @@ export default {
this.$nextTick(() => {
- this.tableHeight = this.$mk.getWindowSize().height - 320;
+ this.tableHeight = this.$mk.getWindowSize().height - 260;
this.treeInit();
});
@@ -211,11 +213,11 @@ export default {
],
//搜索区
searchFormItems: [ // 子项
- { field: 'name', title: '工序名称', span: 5, itemRender: { name: '$input', props: { placeholder: '请输入工序名称' } } },
- { field: 'code', title: '编码', span: 5, itemRender: { name: '$input', props: { placeholder: '请输入编码' } } },
- { span: 8, slots: { default: 'date' } }, // 自定义列
+ { field: 'name', title: '工序名称', span: 4, itemRender: { name: '$input', props: { placeholder: '请输入工序名称' } } },
+ { field: 'code', title: '编码', span: 4, itemRender: { name: '$input', props: { placeholder: '请输入编码' } } },
+ { span: 6, slots: { default: 'date' } }, // 自定义列
{
- align: 'right', span: 4, itemRender: { // 按钮列
+ align: 'left', span: 4, itemRender: { // 按钮列
name: '$buttons', children: [{ props: { type: 'submit', content: '搜索', status: 'primary' } }, // 搜索按钮
{ props: { type: 'reset', content: '重置' } }]
}
@@ -566,50 +568,7 @@ export default {
background: white;
padding: 8px;
}
-
- /* 左侧固定宽度 200px,右侧自适应 */
- .wrapper {
- display: flex;
- }
- .left {
- width: 200px;
- height: 100%;
- }
- .right {
- flex-grow: 1;
- height: 100%;
- width: calc(100% - 300px);
- }
-
-.treepanel {
- width: calc(100% - 10px);
-
- background: white;
- margin-right: 10px;
- border: 1px solid #ccc;
-}
-
-.treepanel-content {
- padding: 7px;
-}
-
-.treepanel-header {
- width: 100%;
- background: #F8F8F9;
- border-bottom: 1px solid #ccc;
- height: 32px;
- line-height: 32px;
- margin: 0;
-
- font-size: 14px;
- color: #606266;
-}
-
-.treepanel-header .anticon {
- margin-left: 5px;
- cursor: pointer;
-}
-
+
.toolbarbtns .ant-btn {
margin-right: 10px;
}
diff --git a/src/pages/Middle/Mes/MesProductCustomAttribute/MesProductCustomAttribute/List.vue b/src/pages/Middle/Mes/MesProductCustomAttribute/MesProductCustomAttribute/List.vue
index 8c74e9a..cd160ea 100644
--- a/src/pages/Middle/Mes/MesProductCustomAttribute/MesProductCustomAttribute/List.vue
+++ b/src/pages/Middle/Mes/MesProductCustomAttribute/MesProductCustomAttribute/List.vue
@@ -1,7 +1,7 @@
-
-
+
+
@@ -519,49 +519,7 @@ export default {
background: white;
padding: 8px;
}
-
- /* 左侧固定宽度 200px,右侧自适应 */
- .wrapper {
- display: flex;
- }
- .left {
- width: 200px;
- height: 100%;
- }
- .right {
- flex-grow: 1;
- height: 100%;
- width: calc(100% - 300px);
- }
-
-.treepanel {
- width: calc(100% - 10px);
-
- background: white;
- margin-right: 10px;
- border: 1px solid #ccc;
-}
-
-.treepanel-content {
- padding: 7px;
-}
-
-.treepanel-header {
- width: 100%;
- background: #F8F8F9;
- border-bottom: 1px solid #ccc;
- height: 32px;
- line-height: 32px;
- margin: 0;
-
- font-size: 14px;
- color: #606266;
-}
-
-.treepanel-header .anticon {
- margin-left: 5px;
- cursor: pointer;
-}
+
.toolbarbtns .ant-btn {
margin-right: 10px;