From 958883d6f4dac68fcbbccadb4e7f87e963eee0e8 Mon Sep 17 00:00:00 2001
From: zwl <1051256694@qq.com>
Date: 星期三, 09 七月 2025 12:32:40 +0800
Subject: [PATCH] 新增盘点提取库存后可以删除明细
---
zy-asrs-flow/src/utils/common-util.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/zy-asrs-flow/src/utils/common-util.js b/zy-asrs-flow/src/utils/common-util.js
index 60875e4..b8939ba 100644
--- a/zy-asrs-flow/src/utils/common-util.js
+++ b/zy-asrs-flow/src/utils/common-util.js
@@ -5,7 +5,7 @@
const stateStr = localStorage.getItem(tabKey);
if (stateStr) {
const state = JSON.parse(stateStr);
- const oldVal = state[key].show;
+ const oldVal = state[key]?.show;
let hasVal = false;
if (oldVal === true) {
hasVal = true;
--
Gitblit v1.9.1