From dc0bcd798996affbb14c7324eb95d1a27737ddd8 Mon Sep 17 00:00:00 2001
From: yusijie <ysj@hz-kingdee.com>
Date: 星期五, 10 四月 2026 16:47:09 +0800
Subject: [PATCH] 小卫过站解绑,只删除选择的关键件

---
 WebTM/views/车间管理/单品过站_小卫/Cj_ProcessItemStationPlatform_UnbindEdit.html |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diff --git "a/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\345\215\225\345\223\201\350\277\207\347\253\231_\345\260\217\345\215\253/Cj_ProcessItemStationPlatform_UnbindEdit.html" "b/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\345\215\225\345\223\201\350\277\207\347\253\231_\345\260\217\345\215\253/Cj_ProcessItemStationPlatform_UnbindEdit.html"
index 2e2dc48..a7b6404 100644
--- "a/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\345\215\225\345\223\201\350\277\207\347\253\231_\345\260\217\345\215\253/Cj_ProcessItemStationPlatform_UnbindEdit.html"
+++ "b/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\345\215\225\345\223\201\350\277\207\347\253\231_\345\260\217\345\215\253/Cj_ProcessItemStationPlatform_UnbindEdit.html"
@@ -220,7 +220,8 @@
                 , height: 'full-410'
                 , limit: 10
                 , cols: [[
-                    { type: 'numbers', title: '搴忓彿' }
+                    { type: 'checkbox', fixed: 'left' }
+                    , { type: 'numbers', title: '搴忓彿' }
                     , { field: '鐗╂枡浠g爜', title: '鐗╂枡浠g爜' }
                     , { field: '鐗╂枡鍚嶇О', title: '鐗╂枡鍚嶇О' }
                     , { field: '鍏抽敭浠舵潯鐮�', title: '鍏抽敭浠舵潯鐮�' }
@@ -293,11 +294,16 @@
             var HProcID = $("#HProcID").val();
             var HICMOInterID = $("#HICMOInterID").val();
             var HICMOEntryID = $("#HICMOEntryID").val();
+            var HUnBindMaterArr = [];
+            var HUnBindMaterData = table.checkStatus('mainTable_Bind').data;
+            for (var i = 0; i < HUnBindMaterData.length; i++) {
+                HUnBindMaterArr.push(HUnBindMaterData[i].鍏抽敭浠舵潯鐮�);
+            }
             $.ajax({
                 url: GetWEBURL() + '/Cj_SingleStation/DelRelation',
                 async: false,
                 type: "GET",
-                data: { "HBarCodeIDs": HBarCodeID, "HICMOInterID": HICMOInterID, "HICMOEntryID": HICMOEntryID, "HProcID": HProcID, "HType": HType, "user": sessionStorage["HUserName"] },
+                data: { "HBarCodeIDs": HBarCodeID, "HICMOInterID": HICMOInterID, "HICMOEntryID": HICMOEntryID, "HProcID": HProcID, "HType": HType, "user": sessionStorage["HUserName"], "HUnBindMaterArr": HUnBindMaterArr.toString() },
                 success: function (data1) {
                     if (data1.count == 1) {
                         layer.alert(data1.Message, { icon: 1 });

--
Gitblit v1.9.1