구매관리 검색 조건 추가, 컬럼 변경, 추가 등..

This commit is contained in:
2026-01-29 15:35:51 +09:00
parent e9d11d750b
commit 61e77032ea
10 changed files with 207 additions and 35 deletions

View File

@@ -230,6 +230,12 @@ public class SalesMngController {
code_map.put("request_cd",commonService.bizMakeOptionList("0000167", (String)paramMap.get("request_cd"),"common.getCodeselect"));
code_map.put("product_code",commonService.bizMakeOptionList("", (String)paramMap.get("product_code"),"common.getProductCodeselect"));
// 구매유형 (0001814)
code_map.put("purchase_type", commonService.bizMakeOptionList("0001814", (String)paramMap.get("purchase_type"), "common.getCodeselect"));
// 제품구분 (0000001)
code_map.put("part_type", commonService.bizMakeOptionList("0000001", (String)paramMap.get("part_type"), "common.getCodeselect"));
// 작성자
code_map.put("writer", commonService.bizMakeOptionList("", (String)paramMap.get("writer"), "common.getUserselect"));
} catch (Exception e) {
e.printStackTrace();
}
@@ -1351,6 +1357,18 @@ public class SalesMngController {
*/
@RequestMapping("/salesMng/purchaseRegProposalMngList.do")
public String purchaseRegProposalMngList(HttpServletRequest request, @RequestParam Map paramMap){
Map code_map = new HashMap();
try {
// 구매유형 (0001814)
code_map.put("purchase_type", commonService.bizMakeOptionList("0001814", (String)paramMap.get("purchase_type"), "common.getCodeselect"));
// 제품구분 (0000001)
code_map.put("part_type", commonService.bizMakeOptionList("0000001", (String)paramMap.get("part_type"), "common.getCodeselect"));
// 작성자
code_map.put("writer", commonService.bizMakeOptionList("", (String)paramMap.get("writer"), "common.getUserselect"));
} catch (Exception e) {
e.printStackTrace();
}
request.setAttribute("code_map", code_map);
return "/salesMng/purchaseRegProposalMngList";
}
@@ -1586,7 +1604,7 @@ public class SalesMngController {
// 프로젝트번호
code_map.put("project_no", commonService.bizMakeOptionList("", (String)paramMap.get("project_no"), "common.getProjectNameList"));
// 업체 목록
code_map.put("vendor_objid", commonService.bizMakeOptionList("", (String)paramMap.get("vendor_objid"), "common.getsupplyselect"));
code_map.put("vendor_objid", commonService.bizMakeOptionList("", (String)paramMap.get("vendor_objid"), "common.getClientMngSupplySelect"));
// 상태
String statusOptions = "";
statusOptions += "<option value=''>전체</option>";
@@ -1595,6 +1613,10 @@ public class SalesMngController {
statusOptions += "<option value='received'" + ("received".equals(paramMap.get("status")) ? " selected" : "") + ">견적수신</option>";
statusOptions += "<option value='completed'" + ("completed".equals(paramMap.get("status")) ? " selected" : "") + ">완료</option>";
code_map.put("status", statusOptions);
// 작성자
code_map.put("writer", commonService.bizMakeOptionList("", (String)paramMap.get("writer"), "common.getUserselect"));
//제품구분
code_map.put("product_cd", commonService.bizMakeOptionList("0000001", (String)paramMap.get("product_cd"), "common.getCodeselect"));
} catch (Exception e) {
e.printStackTrace();