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 19ff9c1..e46eeaa 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
@@ -477,12 +477,11 @@
}
const prdFrm = $P.productFormFields.get();
- const prdInfo = ""+prdFrm.prductCd+prdFrm.prdValidDe+prdFrm.mnfNo+prdFrm.mnfSeq;
+ const prdInfo = ""+prdFrm.prductCd+prdFrm.prdValidDe.replaceAll('-','')+prdFrm.mnfNo+prdFrm.mnfSeq;
let isDup = $P.productList
.getDataset()
- .filter(item => prdInfo == ""+item.prductCd+item.prdValidDe+item.mnfNo+item.mnfSeq)
+ .filter(item => prdInfo == ""+item.prductCd+item.prdValidDe.replaceAll('-','')+item.mnfNo+item.mnfSeq)
.length > 0;
-
if(isDup){
const msg = "이미 추가된 제품 입니다
제품코드: " + prdFrm.prductCd +"
유효기간: "+ prdFrm.prdValidDe +"
제조번호: "+ prdFrm.mnfNo +"
제조일련번호: "+ prdFrm.mnfSeq;
dialog.alert({
@@ -491,9 +490,8 @@
return false;
}
- console.log($P.productFormFields.get());
const data = {...$P.productFormFields.get(), keyCnt : ""+prdRowKey++};
- console.log(data);
+ data.prdValidDe = data.prdValidDe.replaceAll('-','');
$P.productList.append([data]);
}