ysy 1 год назад
Родитель
Сommit
670f6e23ba

+ 0 - 1
src/views/materialPlan/components/workOrderPop.vue

@@ -9,7 +9,6 @@
             <ele-pro-table ref="table" :columns="columns" :datasource="datasource" :selection.sync="selection" row-key="id">
             </ele-pro-table>
 
-
         </el-card>
 
         <div class="btns">

+ 2 - 2
src/views/productionPlan/index.vue

@@ -61,7 +61,7 @@
               :min="0"
               :max="10"
               @change="priorityChange(row)"
-              style="width: 100px"
+              style="width: 80px"
             >
             </el-input>
 
@@ -358,7 +358,7 @@
             prop: 'priority',
             label: '优先级',
             align: 'center',
-            minWidth: 140,
+            minWidth: 120,
             slot: 'priority',
             sortable: 'custom'
           },

+ 2 - 2
src/views/saleOrder/index.vue

@@ -39,7 +39,7 @@
               :min="0"
               :max="10"
               @change="priorityChange(row)"
-              style="width: 100px"
+              style="width: 80px"
             ></el-input>
             <el-popover
               placement="right"
@@ -210,7 +210,7 @@
             prop: 'priority',
             label: '优先级',
             align: 'center',
-            minWidth: 140,
+            minWidth: 120,
             slot: 'priority',
             sortable: 'custom'
           },

+ 3 - 0
src/views/saleOrder/salesToProduction.vue

@@ -404,6 +404,7 @@
             align="center"
           >
             <template slot-scope="{ row, $index }">
+              <div style="display: flex">
               <el-input
                 v-if="$index == 0"
                 v-model="row.priority"
@@ -412,6 +413,7 @@
                 :min="0"
                 :max="10"
                 @change="priorityChange(row)"
+                   style="width: 80px"
               ></el-input>
               <el-popover
                 v-if="$index == 0"
@@ -425,6 +427,7 @@
                   <i class="el-icon-caret-bottom" @click="sortBottom(row)"></i>
                 </div>
               </el-popover>
+            </div>
             </template>
           </el-table-column>
 

+ 3 - 0
src/views/workOrder/index.vue

@@ -24,6 +24,7 @@
         </template>
 
         <template v-slot:priority="{ row }">
+          <div style="display: flex">
           <el-input
             v-model="row.priority"
             type="number"
@@ -31,6 +32,7 @@
             :min="0"
             :max="10"
             @change="priorityChange(row)"
+             style="width: 80px"
           ></el-input>
           <el-popover
             placement="right"
@@ -43,6 +45,7 @@
               <i class="el-icon-caret-bottom" @click="sortBottom(row)"></i>
             </div>
           </el-popover>
+          </div>
         </template>
 
         <template v-slot:status="{ row }">