From 885092869d8a27a0b77d6e55d3dd3f00f29e8002 Mon Sep 17 00:00:00 2001
From: yangpeixing <yangpeixing@hnkhzn.com>
Date: 星期四, 04 十二月 2025 15:45:48 +0800
Subject: [PATCH] 1

---
 项目代码/WMS/WIDESEA_WMSClient/src/components/basic/ViewGrid/methods.jsx |   19 +++++++++++++++++++
 1 files changed, 19 insertions(+), 0 deletions(-)

diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSClient/src/components/basic/ViewGrid/methods.jsx" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSClient/src/components/basic/ViewGrid/methods.jsx"
index e937987..11e2a9c 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSClient/src/components/basic/ViewGrid/methods.jsx"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSClient/src/components/basic/ViewGrid/methods.jsx"
@@ -858,6 +858,20 @@
     if (!(await this.initBox())) return
     this.resetDetailTable(row)
     this.setEditForm(row)
+    this.setContinueAddNew()
+    //璁剧疆杩滅▼鏌ヨ琛ㄥ崟鐨勯粯璁ey/value
+    this.getRemoteFormDefaultKeyValue()
+    //鐐瑰嚮缂栬緫鎸夐挳寮瑰嚭妗嗗悗锛屽彲浠ュ湪姝ゅ鍐欓�昏緫锛屽锛屼粠鍚庡彴鑾峰彇鏁版嵁
+    this.modelOpenProcess(row)
+  },
+  async linkDataNew(row, remark) {
+    this.boxOptions.title = remark
+    //鐐瑰嚮table鍗曞厓鏍煎揩鎹烽摼鎺ユ樉绀虹紪杈戞暟鎹�
+    this.currentAction = this.const.EDIT
+    this.currentRow = row
+    if (!(await this.initBox())) return
+    this.resetDetailTable(row)
+    this.setEditForm(row)
     this.setContinueAdd(false)
     //璁剧疆杩滅▼鏌ヨ琛ㄥ崟鐨勯粯璁ey/value
     this.getRemoteFormDefaultKeyValue()
@@ -873,6 +887,11 @@
       _button.name = isAdd ? this.continueAddName : '淇� 瀛�'
     }
   },
+  setContinueAddNew() {
+    this.boxButtons.forEach((btn) => {
+        btn.hidden=true
+      })
+  },
   resetAdd() {
     if (this.hasDetail) {
       this.$refs.detail &&

--
Gitblit v1.9.3