ysy 1 год назад
Родитель
Сommit
4c73079a68
2 измененных файлов с 10 добавлено и 4 удалено
  1. 8 3
      src/views/productionPlan/index.vue
  2. 2 1
      src/views/workOrder/index.vue

+ 8 - 3
src/views/productionPlan/index.vue

@@ -123,7 +123,7 @@
             重新发布
             重新发布
           </el-link>
           </el-link>
           <el-link
           <el-link
-          v-if="row.splitBatch != 2 && !row.joinPlanCode"
+            v-if="row.splitBatch != 2 && !row.joinPlanCode"
             type="primary"
             type="primary"
             :underline="false"
             :underline="false"
             icon="el-icon-edit"
             icon="el-icon-edit"
@@ -133,7 +133,11 @@
           </el-link>
           </el-link>
 
 
           <el-link
           <el-link
-            v-if="clientEnvironmentId != 4 && activeName == 'first' && row.splitBatch != 2"
+            v-if="
+              clientEnvironmentId != 4 &&
+              activeName == 'first' &&
+              row.splitBatch != 2
+            "
             type="primary"
             type="primary"
             :underline="false"
             :underline="false"
             @click="toUnpack(row)"
             @click="toUnpack(row)"
@@ -321,7 +325,8 @@
             label: '计划编号',
             label: '计划编号',
             align: 'center',
             align: 'center',
             showOverflowTooltip: true,
             showOverflowTooltip: true,
-            minWidth: 160
+            minWidth: 160,
+            sortable: true
           },
           },
 
 
           {
           {

+ 2 - 1
src/views/workOrder/index.vue

@@ -155,7 +155,8 @@
             slot: 'code',
             slot: 'code',
             label: '生产订单号',
             label: '生产订单号',
             align: 'center',
             align: 'center',
-            minWidth: 110
+            minWidth: 110,
+            sortable: true
           },
           },
           {
           {
             prop: 'productionPlanCode',
             prop: 'productionPlanCode',