From 9359896fc20d1a1aec077c6f316a908e4d055eed Mon Sep 17 00:00:00 2001 From: "Jonguk. Lim" Date: Mon, 21 Oct 2024 17:11:15 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20=EC=A0=9C=ED=92=88=EA=B2=80=EC=83=89=20?= =?UTF-8?q?=ED=8C=9D=EC=97=85=20=EC=8B=A0=EA=B7=9C=20API=20=EC=A0=81?= =?UTF-8?q?=EC=9A=A9/=EB=AF=B8=EC=A0=81=EC=9A=A9=20=EC=84=A0=ED=83=9D=20?= =?UTF-8?q?=EA=B0=80=EB=8A=A5=ED=95=98=EB=8F=84=EB=A1=9D=20=EB=B0=98?= =?UTF-8?q?=EC=98=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../WEB-INF/jsp/adds/nims/product-popup.jsp | 21 ++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/src/main/webapp/WEB-INF/jsp/adds/nims/product-popup.jsp b/src/main/webapp/WEB-INF/jsp/adds/nims/product-popup.jsp index 15e5799..d62b482 100644 --- a/src/main/webapp/WEB-INF/jsp/adds/nims/product-popup.jsp +++ b/src/main/webapp/WEB-INF/jsp/adds/nims/product-popup.jsp @@ -63,6 +63,10 @@ + + +<%--  신규API 업체코드 적용--%> +
@@ -127,6 +131,7 @@ +  신규 API 업체코드 적용 @@ -343,12 +348,18 @@ return false; } + // FIXME:: NIMS API 개발 완료후 적용 + <%--let bsshCd = '${bsshCd}';--%> + <%--if(!$('#chkBsshCd--${pageName}').is(":checked")){--%> + <%-- bsshCd = '';--%> + <%--}--%> + $P.control.query = { ... $P.formFields.get(), pg: 1, p: $P.formFields.get().schProductCd, pn: $P.formFields.get().schProductNm, - bc: '${bsshCd}', //업체코드 + bc: bsshCd, //업체코드 userId: "${currentUser.account}" }; $P.control.query.fetchSize = FETCH_XXL; // 한번에 조회되는 자료 건수 @@ -366,13 +377,18 @@ //그리드(우)조회(새로 조회) $P.fnDetailSearchList = () => { + let bsshCd = '${bsshCd}'; + if(!$('#chkDtlBsshCd--${pageName}').is(":checked")){ + bsshCd = ''; + } + $P.seqInfoControl.query = { fg: $('#schOpt--productPopup').val(), // 1-제조번호, 2-시리얼번호 pg: 1, p: $P.control.dataset.getCurrent().prductCd , //제품코드 t: $('#schText--productPopup').val(), //제조번호 또는 시리얼번호 vd: $("input[name='schPrdValidDe']").val().replaceAll("-", ""), - bc: '${bsshCd}', //업체코드 + bc: bsshCd, //업체코드 userId: "${currentUser.account}" }; @@ -384,7 +400,6 @@ //그리드(우)조회(스크롤) $P.scrollDetailDataList = () => { - $P.seqInfoControl.query.pg = $P.seqInfoControl.query.pageNum + 1; $P.seqInfoControl.load($P.seqInfoControl.query.pageNum + 1); }