ysy 1 سال پیش
والد
کامیت
7e7532af8e
2فایلهای تغییر یافته به همراه12 افزوده شده و 3 حذف شده
  1. 4 0
      src/styles/transition/common.scss
  2. 8 3
      src/views/material/BOMmanage/components/detailedList.vue

+ 4 - 0
src/styles/transition/common.scss

@@ -173,4 +173,8 @@ table th .is-required::before{
 
 .el-dialog {
   margin-top: 5vh !important;
+}
+
+.el-table--medium .el-table__cell {
+  padding: 2px 0 !important;
 }

+ 8 - 3
src/views/material/BOMmanage/components/detailedList.vue

@@ -15,7 +15,10 @@
     >
       <template v-slot:toolbar>
         <div class="toolbar_box">
+         <div>
           <el-button type="primary" size="mini" @click="handleAdd">新增</el-button>
+          <el-button type="primary" size="mini" @click="handleAdd">保存</el-button>
+         </div>
           <div class="toolbar_box_right"
             ><span>基本数量</span>
             <el-input
@@ -31,9 +34,9 @@
       <template v-slot:dosage="{ row }">
         <el-input
           v-model="row.dosage"
-          placeholder="请输入用量"
+          placeholder="请输入"
           size="mini"
-          style="width: 120px"
+          style="width: 68px;"
         >
         </el-input>
       </template>
@@ -162,7 +165,7 @@
             prop: 'dosage',
             slot: 'dosage',
             label: '用量',
-            width: 150
+            width: 100
           },
 
           {
@@ -240,6 +243,8 @@
 
         attrObj: {},
         newTreeId: null,
+
+        dictList: []
       };
     },