From d862cefc4c418dafff73805dcfb4bc089ed501db Mon Sep 17 00:00:00 2001
From: zouyu <2723363702@qq.com>
Date: 星期二, 10 三月 2026 17:02:42 +0800
Subject: [PATCH] fix:计划-销售订单:取消保存表格勾选的历史记录

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

diff --git a/src/views/plan/customerorder/index.vue b/src/views/plan/customerorder/index.vue
index 418fe53..8ae004a 100644
--- a/src/views/plan/customerorder/index.vue
+++ b/src/views/plan/customerorder/index.vue
@@ -543,7 +543,7 @@
         isSearch: true, // 楂樼骇鏌ヨ鎸夐挳
         defaultOrderBy: { column: 'placeOrderDate', direction: 'desc' },
         cancelRunCreated: true,
-        reserveSelection: true // 鏄惁淇濈暀涔嬪墠閫夋嫨鐨勬暟鎹�
+        reserveSelection: false // 鏄惁淇濈暀涔嬪墠閫夋嫨鐨勬暟鎹�
       },
       table: {
         total: 0,
@@ -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