From d0e9936a97b451615442638af296c426a2032a28 Mon Sep 17 00:00:00 2001
From: chenhj <1263187585@qq.com>
Date: 星期三, 18 三月 2026 10:36:35 +0800
Subject: [PATCH] 车间订单处理工艺文件工序排序错误问题

---
 src/views/plan/manufacturingorder/productorder-form.vue |   19 ++++++++++++++++++-
 1 files changed, 18 insertions(+), 1 deletions(-)

diff --git a/src/views/plan/manufacturingorder/productorder-form.vue b/src/views/plan/manufacturingorder/productorder-form.vue
index 544a9a2..5968318 100644
--- a/src/views/plan/manufacturingorder/productorder-form.vue
+++ b/src/views/plan/manufacturingorder/productorder-form.vue
@@ -282,6 +282,13 @@
                       <el-col :span="24" class="productorder-operates-col">
                         <el-card class="productorder-operates">
                           <div style="display:flex;justify-content:flex-end;">
+<!--                            <el-button-->
+<!--                              style="padding: 3px 0;margin-right:10px;"-->
+<!--                              type="text"-->
+<!--                              size="medium"-->
+<!--                              @click="refresh"-->
+<!--                              >鍒锋柊-->
+<!--                            </el-button>-->
                             <el-button
                               style="padding: 3px 0;margin-right:10px;"
                               type="text"
@@ -303,7 +310,7 @@
                             </el-col>
                           </el-row> -->
                           <el-table
-                            v-if="operationIndex"
+                            :key="operationIndex"
                             id="operationTable"
                             ref="operationTable"
                             class="basic-template-table"
@@ -2261,6 +2268,16 @@
         }
       }
     },
+    refresh() {
+      getMoRoutingOption(this.dataForm.id).then((response) => {
+        if (response.data.code === 0) {
+          this.operations = response.data.data
+          this.operationIndex += 1
+        } else {
+          this.operations = []
+        }
+      })
+    },
     // 鍒犻櫎褰撳墠宸ュ簭
     deleteOrderOperation(row) {
       this.$confirm('鏄惁纭鍒犻櫎?', '鎻愮ず', {

--
Gitblit v1.9.3