From 54824cbb527cd1ce7504a09decee7b5bea12a5c8 Mon Sep 17 00:00:00 2001 From: leebj Date: Tue, 22 Oct 2024 13:57:17 +0900 Subject: [PATCH] =?UTF-8?q?=ED=8F=90=EA=B8=B0=EC=8B=A0=EC=B2=AD=EC=84=9C?= =?UTF-8?q?=20=EC=A0=91=EC=88=98=20=EC=83=81=EC=84=B8=ED=99=94=EB=A9=B4=20?= =?UTF-8?q?=EC=A0=80=EC=9E=A5=20=EC=98=A4=EB=A5=98=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../webapp/WEB-INF/jsp/adds/nims/dsuseMgtReceipt-edit.jsp | 6 +++++- .../webapp/WEB-INF/jsp/adds/nims/dsuseMgtReceipt-info.jsp | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/src/main/webapp/WEB-INF/jsp/adds/nims/dsuseMgtReceipt-edit.jsp b/src/main/webapp/WEB-INF/jsp/adds/nims/dsuseMgtReceipt-edit.jsp index 7317a41..3122fca 100644 --- a/src/main/webapp/WEB-INF/jsp/adds/nims/dsuseMgtReceipt-edit.jsp +++ b/src/main/webapp/WEB-INF/jsp/adds/nims/dsuseMgtReceipt-edit.jsp @@ -441,7 +441,11 @@ $P.productList.onAppend = (item) => { if($P.productList._items != null && $P.productList._items.length > 0){ - $P.productList._items.forEach((it)=>{it.state = "";}); + $P.productList._items.forEach((it)=>{ + if(it.state == "added"){ + it.state = ""; + } + }); } if (!item) return; diff --git a/src/main/webapp/WEB-INF/jsp/adds/nims/dsuseMgtReceipt-info.jsp b/src/main/webapp/WEB-INF/jsp/adds/nims/dsuseMgtReceipt-info.jsp index 61c7e8f..0e8301e 100644 --- a/src/main/webapp/WEB-INF/jsp/adds/nims/dsuseMgtReceipt-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/adds/nims/dsuseMgtReceipt-info.jsp @@ -414,7 +414,11 @@ $P.productList.onAppend = (item) => { if($P.productList._items != null && $P.productList._items.length > 0){ - $P.productList._items.forEach((it)=>{it.state = "";}); + $P.productList._items.forEach((it)=>{ + if(it.state == "added"){ + it.state = ""; + } + }); } if (!item) return;