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 f374321..2c8751e 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 @@ -440,7 +440,10 @@ } - $P.productList.onAppend = item => { + $P.productList.onAppend = (item) => { + if($P.productList._items != null && $P.productList._items.length > 0){ + $P.productList._items.forEach((it)=>{it.state = "";}); + } if (!item) return; if (item.length < 1) 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 ad66bff..2360e38 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 @@ -22,6 +22,7 @@ +
@@ -371,7 +372,7 @@ , data : params , success : resp => { dialog.open({ - id : "productPopupDialog" + id : "productMainDialog" , title : dialogTitle , content : resp , size : $P.productControl.infoSize @@ -411,7 +412,10 @@ } - $P.productList.onAppend = item => { + $P.productList.onAppend = (item) => { + if($P.productList._items != null && $P.productList._items.length > 0){ + $P.productList._items.forEach((it)=>{it.state = "";}); + } if (!item) return; if (item.length < 1) return; @@ -586,7 +590,7 @@ }); return false; } -debugger + const data = {...$P.productFormFields.get(), keyCnt : ""+prdRowKey++}; data.prdValidDe = data.prdValidDe.replaceAll('-',''); $P.productList.append([data]);