From 32477dff99d0ed1d8acee453861be96428d8befc Mon Sep 17 00:00:00 2001
From: YLouie <929705085@qq.com>
Date: 星期日, 28 九月 2025 14:03:50 +0800
Subject: [PATCH] 销售订单plm同步

---
 src/views/plan/customerorder/index.vue |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/src/views/plan/customerorder/index.vue b/src/views/plan/customerorder/index.vue
index 418fe53..86ef8e4 100644
--- a/src/views/plan/customerorder/index.vue
+++ b/src/views/plan/customerorder/index.vue
@@ -2000,7 +2000,6 @@
     },
 
     syncPLM() {
-      console.log(this.multipleSelection)
       if (this.multipleSelection.length > 0) {
         this.$confirm('纭鍚屾閫変腑鐨勯攢鍞鍗曞悧?', '鎻愮ず', {
           confirmButtonText: '纭畾',
@@ -2008,7 +2007,12 @@
           type: 'warning'
         })
           .then(() => {
-            syncPlm(this.multipleSelection.map((item) => item.partNo))
+            syncPlm(
+              this.multipleSelection.map((item) => ({
+                id: item.id, // 浼犻�抜d瀛楁
+                partNo: item.partNo // 浼犻�抪artNo瀛楁
+              }))
+            )
               .then((res) => {
                 if (res.status === 200) {
                   this.$message.success('鍚屾鎴愬姛')

--
Gitblit v1.9.3