fix: 폐기신청 fix

dev
Jonguk. Lim 5 months ago
parent 46352ac018
commit 7816c8fdab

@ -58,18 +58,19 @@ public class AddsNimsController extends ApplicationController {
@RequestMapping(value = "/dsuseMgtReceipt-info.do", name="신청서 접수 상세") @RequestMapping(value = "/dsuseMgtReceipt-info.do", name="신청서 접수 상세")
public ModelAndView getDsuseMgtReceiptInfo(DsuseRsltInfo dsuseReceptInfo) { public ModelAndView getDsuseMgtReceiptInfo(DsuseRsltInfo dsuseReceptInfo) {
ModelAndView mav = new ModelAndView(); ModelAndView mav = new ModelAndView("adds/nims/dsuseMgtReceipt-info");
setCmmCode("ADDS04", mav); setCmmCode("ADDS04", mav);
if(!isEmpty(dsuseReceptInfo) && !isEmpty(dsuseReceptInfo.getDscdmngId())){ if(!isEmpty(dsuseReceptInfo) && !isEmpty(dsuseReceptInfo.getDscdmngId())){
mav.setViewName("adds/nims/dsuseMgtReceiptMain-detail"); //mav.setViewName("adds/nims/dsuseMgtReceiptMain-detail");
mav.addObject("dsuseReceptInfo", toJson(dsuseReceptInfo)); mav.addObject("dsuseReceptInfo", toJson(dsuseReceptInfo));
// DsuseMgtReceiptQuery query = new DsuseMgtReceiptQuery(); // DsuseMgtReceiptQuery query = new DsuseMgtReceiptQuery();
// query.setDscdmngId(dscdmngId); // query.setDscdmngId(dscdmngId);
// mav.addObject("dsuseReceptDetails", toJson(dsuseMgtReceiptService.getDsuseMgtReceiptList(query))); // mav.addObject("dsuseReceptDetails", toJson(dsuseMgtReceiptService.getDsuseMgtReceiptList(query)));
}else{
mav.setViewName("adds/nims/dsuseMgtReceipt-info");
} }
// else{
// mav.setViewName("adds/nims/dsuseMgtReceipt-info");
// }
return mav return mav
.addObject("pageName", "dsuseMgtReceiptInfo") // View(jsp)에서 사용할 id 뒤에 붙일 suffix .addObject("pageName", "dsuseMgtReceiptInfo") // View(jsp)에서 사용할 id 뒤에 붙일 suffix

@ -123,7 +123,7 @@
<tr data-key="{prductCd}"> <tr data-key="{prductCd}">
<td class="cmn text-center" {onclick}="" {ondblclick}="">{prductCd}</td> <td class="cmn text-center" {onclick}="" {ondblclick}="">{prductCd}</td>
<td {onclick}="" {ondblclick}="">{prductNm}</td> <td {onclick}="" {ondblclick}="">{prductNm}</td>
<td class="cmn text-end" {onclick}="" {ondblclick}="">{pceQy}</td> <td class="cmn text-end" {onclick}="" {ondblclick}="">{dsuseQy}</td>
<td class="cmn text-center prdDsuseImg" {onclick}="" {ondblclick}=""></td> <td class="cmn text-center prdDsuseImg" {onclick}="" {ondblclick}=""></td>
<td class="cmn text-center" {onclick}="" {ondblclick}="">{prdValidDe}</td> <td class="cmn text-center" {onclick}="" {ondblclick}="">{prdValidDe}</td>
<td class="cmn text-center" {onclick}="" {ondblclick}="">{mnfNo}</td> <td class="cmn text-center" {onclick}="" {ondblclick}="">{mnfNo}</td>
@ -511,7 +511,7 @@
$P.initForm(); $P.initForm();
// 3. Dataset 설정 // 3. Dataset 설정
//$P.control.setData([${dsuseReceptInfo}]); $P.control.setData([${dsuseReceptInfo}]);
//$P.productControl.setData([${opnnDlbrMbrInfo}]); //$P.productControl.setData([${opnnDlbrMbrInfo}]);
}); });

Loading…
Cancel
Save