From dbad1c308cc32660843156af4cd0eefc37712173 Mon Sep 17 00:00:00 2001
From: chenhj <1263187585@qq.com>
Date: 星期二, 17 三月 2026 17:53:52 +0800
Subject: [PATCH] 车间订单详情删除刷新工艺路线

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

diff --git a/src/views/plan/manufacturingorder/productorder-form.vue b/src/views/plan/manufacturingorder/productorder-form.vue
index 728ee73..bcb33c7 100644
--- a/src/views/plan/manufacturingorder/productorder-form.vue
+++ b/src/views/plan/manufacturingorder/productorder-form.vue
@@ -303,6 +303,7 @@
                             </el-col>
                           </el-row> -->
                           <el-table
+                            v-if="operationIndex"
                             id="operationTable"
                             ref="operationTable"
                             class="basic-template-table"
@@ -1269,6 +1270,7 @@
       currentRow: [],
       currentRouting: {}, // 褰撳墠閫夋嫨鐨勫伐鑹�
       operations: [], // 褰撳墠閫夋嫨宸ヨ壓瀵瑰簲鐨勫伐搴�
+      operationIndex: 0,
       currentBom: {}, // 褰撳墠閫夋嫨鐨勪骇鍝佺粨鏋�
       components: [], // 褰撳墠閫夋嫨浜у搧缁撴瀯瀵瑰簲鐨勭粨鏋勭粍浠�
       factoryOptions: [],
@@ -2302,6 +2304,7 @@
               getMoRoutingOption(this.dataForm.id).then((response) => {
                 if (response.data.code === 0) {
                   this.operations = response.data.data
+                  this.operationIndex += 1
                 } else {
                   this.operations = []
                 }
@@ -2357,6 +2360,7 @@
           getMoRoutingOption(this.dataForm.id).then((response) => {
             if (response.data.code === 0) {
               this.operations = response.data.data
+              this.operationIndex += 1
             } else {
               this.operations = []
             }

--
Gitblit v1.9.3