From 6e6fec028ffc9a27b3c8d30eb484cd361a119d76 Mon Sep 17 00:00:00 2001
From: Ben Lin <maobin001@msn.com>
Date: 星期一, 25 十一月 2024 23:53:12 +0800
Subject: [PATCH] 入库单更新

---
 src/views/tigerprojects/system/lowcode/entityts/V_BAS_PROD_R.ts |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/src/views/tigerprojects/system/lowcode/entityts/V_BAS_PROD_R.ts b/src/views/tigerprojects/system/lowcode/entityts/V_BAS_PROD_R.ts
index 8947707..06b1ecb 100644
--- a/src/views/tigerprojects/system/lowcode/entityts/V_BAS_PROD_R.ts
+++ b/src/views/tigerprojects/system/lowcode/entityts/V_BAS_PROD_R.ts
@@ -4,10 +4,11 @@
  * @version:
  * @Date: 2024-06-19 20:34:27
  * @LastEditors: Ben Lin
- * @LastEditTime: 2024-08-08 01:01:39
+ * @LastEditTime: 2024-10-22 10:59:39
  */
 
 import { ActionItem, BasicColumn } from '/@/components/Table';
+import { useProdRouteStore } from '/@/store/modules/prodRoute';
 
 function _default() {
   const ActionColumn: BasicColumn = {
@@ -75,11 +76,15 @@
       pageContent: `杩欓噷鏄鐞嗕骇鍝佺殑宸ヨ壓缁戝畾锛屼竴涓骇鍝佸彲浠ョ粦瀹氬涓伐鑹鸿矾绾縛,
       SessionName: 'ProdRouteBinding_update', /* session鍚嶏紝鐢ㄦ潵浼犻�掑弬鏁帮紝涓嶅湪娴忚鍣ㄥ湴鍧�鏍忔樉绀� */
       ifSave: false, /* 鏂板缂栬緫鏄惁淇濆瓨鍒版暟鎹簱 */
-      rotType: 'Route'
+      rotType: 'Route',
+      firstSessionName: params['sName']
     };
     // 灏嗗璞¤浆鎹负JSON瀛楃涓插苟淇濆瓨鍒皊essionStorage
     sessionStorage.removeItem(`${id.SessionName}_params`);
     sessionStorage.setItem(`${id.SessionName}_params`, encodeURI(JSON.stringify(id)));
+    /* 璁剧疆鏍囧織锛屼互鏍规嵁缂撳瓨鏁版嵁鍙栨暟鎹� */
+    const useProdRoute = useProdRouteStore();
+    useProdRoute.setChangeToCPPage(true);
     go(`/ProdRouteBinding/CP/${encodeURI(JSON.stringify({ sName: id.SessionName, Name: id.Name }))}`);
   }
   return [methods, ActionColumn];

--
Gitblit v1.9.3