From 2fa578a18ed9055f8cb9863a8a0f02977cfa8350 Mon Sep 17 00:00:00 2001
From: 王震 <10952869+daywangzhen@user.noreply.gitee.com>
Date: 星期二, 19 十二月 2023 17:33:53 +0800
Subject: [PATCH] Merge branch 'master' of http://114.132.189.42:9002/r/mes-ocea-before

---
 src/views/plan/productionschedul/index.vue |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/src/views/plan/productionschedul/index.vue b/src/views/plan/productionschedul/index.vue
index 2ae8a2b..72fd3d4 100644
--- a/src/views/plan/productionschedul/index.vue
+++ b/src/views/plan/productionschedul/index.vue
@@ -165,6 +165,10 @@
         pagerCount: 5
       },
       option: {
+        defaultSort:{
+          prop:'id',
+          order:'descending'
+        },
         height: 400,
         selection: true,
         columnBtn: false,
@@ -305,11 +309,11 @@
     this.loading = true
     this.getData()
     this.getParamType()
-    this.rowSort()
+    // this.rowSort()
     this.rowCalc()
   },
   beforeUpdate() {
-    this.rowSort()
+    // this.rowSort()
     this.rowCalc()
   },
   watch:{
@@ -513,7 +517,7 @@
         ele.span = this.rowSpan(ele.prop, parent)
       })
     },
-    rowSort(list) {
+    rowSort() {
       let propList = this.spanArr.map(ele => ele.prop)
       this.spanArr.forEach((ele, index) => {
         let key = ele.prop

--
Gitblit v1.9.3