yanghao 1 週間 前
コミット
61cc9e3f38
1 ファイル変更7 行追加2 行削除
  1. 7 2
      src/views/pms/iotprojecttask/index.vue

+ 7 - 2
src/views/pms/iotprojecttask/index.vue

@@ -581,7 +581,7 @@ onMounted(async () => {
       </el-table-column>
 
       <el-table-column
-        min-width="120"
+        min-width="100"
         v-for="item in currentTableColumns"
         :key="item.identifier"
         :prop="item.identifier">
@@ -592,7 +592,12 @@ onMounted(async () => {
           </span>
         </template>
         <template #default="scope">
-          <el-input type="number" v-model="scope.row[item.identifier]" placeholder="请输入" />
+          <!-- <el-input type="number" v-model="scope.row[item.identifier]" placeholder="请输入" /> -->
+          <el-input-number
+            style="width: 150px"
+            v-model="scope.row[item.identifier]"
+            :min="0"
+            placeholder="请输入" />
         </template>
       </el-table-column>