From 61a529b98c0994b5e78804a6e95df11f49764a91 Mon Sep 17 00:00:00 2001
From: zouyu <2723363702@qq.com>
Date: 星期三, 20 十二月 2023 13:20:43 +0800
Subject: [PATCH] 	modified:   src/views/plan/customerorder/index.vue 	modified:   src/views/technology/completeproductstructure/index.vue 	modified:   src/views/technology/document/index.vue 	modified:   src/views/technology/routing/index.vue 	modified:   src/views/technology/routing/routing-form.vue

---
 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