695593266@qq.com 2 dni temu
rodzic
commit
a3e04f9fb6

+ 0 - 6
src/views/productionPlan/components/newFactoryProductionScheduling.columns.js

@@ -20,12 +20,6 @@ export function createSchedulingColumns() {
       align: 'center',
       minWidth: 160
     },
-    {
-      prop: 'productionOrderNumber',
-      label: '生产订单号',
-      align: 'center',
-      minWidth: 160
-    },
     {
       prop: 'productionLineName',
       label: '产线名称',

+ 7 - 1
src/views/productionPlan/components/newFactoryProductionScheduling.vue

@@ -74,10 +74,11 @@
           </el-tabs>
         </div>
         <ele-pro-table
+          :key="planTableCacheKey"
           width="100%"
           ref="planTable"
           :columns="columns"
-          cacheKeyUrl="paln_factory_production_scheduling"
+          :cache-key="planTableCacheKey"
           :datasource="planDataList"
           row-key="id"
           :selection.sync="selection"
@@ -401,6 +402,11 @@
           this.isCurrentPlanReadonly ? 'readonly' : 'edit'
         ].join('-');
       },
+      planTableCacheKey() {
+        return this.isOrderScheduling
+          ? 'aps-team-scheduling-work-order-table'
+          : 'aps-factory-scheduling-plan-table';
+      },
       planTableStatusTabs() {
         if (this.isOrderScheduling) {
           return [

+ 2 - 2
vue.config.js

@@ -35,14 +35,14 @@ module.exports = {
         // target: 'http://192.168.1.103:18086',
         // target: 'http://192.168.1.158:18086',
         // target: 'http://192.168.158:18086',
-        // target: 'http://192.168.1.251:18086',
+        target: 'http://192.168.1.251:18086',
         // target: 'http://192.168.1.144:18086',
         // target: 'http://192.168.1.251:18186',
         // target: 'http://192.168.1.211:18086',
         // target: 'http://192.168.1.251:18186',
         // target: 'http://192.168.1.102:18086',
         // target: 'http://aiot.zoomwin.com.cn:51001/api',
-        target: 'http://192.168.1.125:18086',
+        // target: 'http://192.168.1.125:18086',
 
         // target: 'http://192.168.1.116:18086',