yijing há 1 ano atrás
pai
commit
a284b9d9b3
1 ficheiros alterados com 3 adições e 1 exclusões
  1. 3 1
      src/views/warehouseManagement/stockManagement/add.vue

+ 3 - 1
src/views/warehouseManagement/stockManagement/add.vue

@@ -352,7 +352,7 @@
                 align="center"
                 align="center"
                 prop="singleWeight"
                 prop="singleWeight"
                 :show-overflow-tooltip="true"
                 :show-overflow-tooltip="true"
-                width="240"
+                width="120"
               >
               >
                 <template slot-scope="{ row, $index }">
                 <template slot-scope="{ row, $index }">
                   <el-input-number
                   <el-input-number
@@ -363,6 +363,8 @@
                     :min="0"
                     :min="0"
                     controls-position="right"
                     controls-position="right"
                     @input="inputsingleWeight(row, $index)"
                     @input="inputsingleWeight(row, $index)"
+                    :controls="false"
+                    style="width: 100%"
                   ></el-input-number>
                   ></el-input-number>
                   <template slot="append">
                   <template slot="append">
                     {{ row.measureUnit }}
                     {{ row.measureUnit }}