ysy 1 rok temu
rodzic
commit
4c73079a68

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

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

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

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