Selaa lähdekoodia

공급사 수주관리 수정

whakdo963 2 vuotta sitten
vanhempi
commit
df6203f108

+ 13 - 9
src/main/webapp/app/ordmng/ORDMNG01010.html

@@ -22,7 +22,9 @@
22 22
 								<input type="hidden" id="ITP_FORM_ORDMNG01010_SEARCH_SPPLY_ID" name="sspplyId" value="">
23 23
 									<div class="form-group">
24 24
 										<div class="col-xs-2 itp_ip itp_noMar">
25
-											<label>수주일지</label>
25
+											<select id="ITP_FORM_ORDMNG01010_SEARCH_" class="form-control itp_input" name="service">
26
+												<option value="A">수주일자</option>											
27
+											</select>
26 28
 										</div>											
27 29
 										<div class="col-xs-3 itp_ip itp_noMar">
28 30
 											<div class="input-daterange input-group date">
@@ -39,12 +41,16 @@
39 41
 											</select>
40 42
 										</div>
41 43
 										<div class="col-xs-3 itp_ip itp_noMar">
42
-											<input type="text" id="ITP_FORM_ORDMNG01010_DETAIL_WHS_NM" class="form-control itp_input" name="swhsNm" placeholder="납품장소 (매장/창고)" readonly/>
43
-											<input type="hidden" id="ITP_FORM_ORDMNG01010_DETAIL_WHS_ID" class="form-control itp_input" name="swhsId"/>
44
-										</div>
44
+											<div class="input-group">
45
+												<input type="text" id="ITP_FORM_ORDMNG01010_DETAIL_WHS_NM" class="form-control itp_input" name="swhsNm" placeholder="납품장소 (매장/창고)" readonly/>
46
+												<input type="hidden" id="ITP_FORM_ORDMNG01010_DETAIL_WHS_ID" class="form-control itp_input" name="swhsId"/>
47
+												<span class="input-group-btn">
48
+													<button id="ITP_BTN_ORDMNG01010_DELETE_WHS_NM" class="btn btn-default btn-sm UPB" type="button" style="padding:3.8px 10px;"><i class="glyphicon glyphicon-remove"></i></button>
49
+												</span>
50
+											</div>
51
+										</div>	
45 52
 										<div class="col-xs-1 itp_in" style="padding-left: 5px; width:10%;">
46 53
 											<button type="button" id="ITP_BTN_ORDMNG01010_SEARCH_WHS_NM" class="btn btn-success btn-sm SEB" style="display: inline-block;"><i class="glyphicon glyphicon-search"></i></button>
47
-											<button type="button" id="ITP_BTN_ORDMNG01010_DELETE_WHS_NM" class="btn btn-primary btn-sm UPB" style="display: inline-block;"><i class="glyphicon glyphicon-erase"></i></button>
48 54
 						                </div>
49 55
 										<div class="col-xs-5 itp_ip itp_noMar">
50 56
 											<input type="text" id="ITP_FORM_ORDMNG01010_SEARCH_ITEM_NM" class="form-control itp_input" name="sitemNm" placeholder="발주번호/품목번호/품목명" />
@@ -70,8 +76,7 @@
70 76
 								<input type="hidden" id="ITP_FORM_ORDMNG01010_VIEW_VIEW_CD" name="viewCd" value="C">
71 77
 					
72 78
 								<section class="itp_form_sec">
73
-									<h4 class="itp_form_tit">구매 발주 상세</h4>
74
-									<div class="itp_form_in">	
79
+									<div class="itp_form_in border-top">	
75 80
 										<div class="form-group">
76 81
 											<label class="col-xs-2 itp_lb">브랜드 *</label>
77 82
 											<div class="col-xs-4 itp_ip fnBrandNm"></div>
@@ -106,11 +111,10 @@
106 111
 										</div>
107 112
 									</div>
108 113
 									<div class="itp_form_in">
109
-										<div class="itp_table_head fix" style="background:#f5f5f5;">
114
+										<div class="itp_table_head fix" style="background:#fff;">
110 115
 											<h4 class="itp_table_tit">발주 품목</h4>
111 116
 										</div>
112 117
 										<div id="ITP_ORDMNG01010_VIEW_jqGrid_list" class="itp_tb_list">
113
-										  <div id="ITP_ORDMNG01010_VIEW_jqGridView" class="itp_views fix"></div>
114 118
 										  <table id="ITP_ORDMNG01010_VIEW_jqGrid"></table>
115 119
 										  <div id="ITP_ORDMNG01010_VIEW_jqGridPager"></div>
116 120
 										  <div id="ITP_ORDMNG01010_VIEW_jqGridEmpty" class="itp_no_data"></div>

+ 16 - 12
src/main/webapp/app/ordmng/ORDMNG02010.html

@@ -22,7 +22,9 @@
22 22
 								<input type="hidden" id="ITP_FORM_ORDMNG02010_SEARCH_SPPLY_ID" name="sspplyId" value="">
23 23
 									<div class="form-group">
24 24
 										<div class="col-xs-2 itp_ip itp_noMar">
25
-											<label>납품요청일 *</label>
25
+											<select id="ITP_FORM_ORDMNG02010_SEARCH_" class="form-control itp_input" name="service">
26
+												<option value="A">납품요청일</option>											
27
+											</select>
26 28
 										</div>										
27 29
 										<div class="col-xs-3 itp_ip itp_noMar">
28 30
 											<div class="input-daterange input-group date">
@@ -31,13 +33,17 @@
31 33
 												<input type="text" id="ITP_FORM_ORDMNG02010_SEARCH_TO_DT" class="form-control itp_input" name="toDt" value="" readonly>
32 34
 											</div>
33 35
 										</div>
34
-										<div class="col-xs-2 itp_in itp_noMar">
35
-											<input type="text" id="ITP_FORM_ORDMNG02010_SEARCH_WHS_NM" class="form-control itp_input" name="swhsNm" placeholder="수거창고/매장" readonly/>
36
-											<input type="hidden" id="ITP_FORM_ORDMNG02010_SEARCH_WHS_ID" class="form-control itp_input" name="swhsId"/>
37
-										</div>
38
-										<div class="col-xs-1 itp_in" style="padding: 0px; width:8%;">
36
+										<div class="col-xs-2 itp_ip itp_noMar">
37
+											<div class="input-group">
38
+												<input type="text" id="ITP_FORM_ORDMNG02010_SEARCH_WHS_NM" class="form-control itp_input" name="swhsNm" placeholder="수거창고/매장" readonly/>
39
+												<input type="hidden" id="ITP_FORM_ORDMNG02010_SEARCH_WHS_ID" class="form-control itp_input" name="swhsId"/>
40
+												<span class="input-group-btn">
41
+													<button id="ITP_BTN_ORDMNG02010_DELETE_WHS_ID" class="btn btn-default btn-sm UPB" type="button" style="padding:3.8px 10px;"><i class="glyphicon glyphicon-remove"></i></button>
42
+												</span>
43
+											</div>
44
+										</div>	
45
+										<div class="col-xs-1 itp_in" style="padding: 0px; width:5%;">
39 46
 											<button type="button" id="ITP_BTN_ORDMNG02010_SEARCH_WHS_ID" class="btn btn-success btn-sm SEB" style="display: inline-block;"><i class="glyphicon glyphicon-search"></i></button>
40
-											<button type="button" id="ITP_BTN_ORDMNG02010_DELETE_WHS_ID" class="btn btn-primary btn-sm UPB" style="display: inline-block;"><i class="glyphicon glyphicon-erase"></i></button>
41 47
 						                </div>
42 48
 										<div class="col-xs-4 itp_ip itp_noMar">
43 49
 											<input type="text" id="ITP_FORM_ORDMNG02010_SEARCH_ITEM_NM" class="form-control itp_input" name="sitemNm" placeholder="발주번호/품목번호 /품목명" />
@@ -64,8 +70,7 @@
64 70
 								<input type="hidden" id="ITP_FORM_ORDMNG02010_DETAIL_SEARCH_BRAND_ID" name="brandId" value="">
65 71
 								<input type="hidden" id="ITP_FORM_ORDMNG02010_DETAIL_SEARCH_SPPLY_ID" name="spplyId" value="">
66 72
 								<section class="itp_form_sec">
67
-									<h4 class="itp_form_tit">구매 발주 상세</h4>
68
-									<div class="itp_form_in">	
73
+									<div class="itp_form_in border-top">	
69 74
 										<div class="form-group">
70 75
 											<label class="col-xs-2 itp_lb">브랜드 *</label>
71 76
 											<div class="col-xs-4 itp_ip fnBrandNm"></div>
@@ -97,7 +102,7 @@
97 102
 											<div class="input-daterange input-group date">
98 103
 												<div class="col-xs-4 itp_ip">
99 104
 													<div class="col-xs-7 itp_in">
100
-														<input type="text" id="ITP_FORM_ORDMNG02010_DETAIL_DLV_SCH_DT" data-check-required="empty" class="form-control itp_input" name="dlvSchDt" value="">
105
+														<input type="text" id="ITP_FORM_ORDMNG02010_DETAIL_DLV_SCH_DT" data-check-required="empty" class="form-control itp_input" name="dlvSchDt" value="" readonly>
101 106
 													</div>
102 107
 												</div>
103 108
 											</div>											
@@ -122,11 +127,10 @@
122 127
 										</div>
123 128
 									</div>
124 129
 									<div class="itp_form_in">
125
-										<div class="itp_table_head fix" style="background:#f5f5f5;">
130
+										<div class="itp_table_head fix" style="background:#fff;">
126 131
 											<h4 class="itp_table_tit">발주 품목</h4>
127 132
 										</div>
128 133
 										<div id="ITP_ORDMNG02010_DETAIL_jqGrid_list" class="itp_tb_list">
129
-											<div id="ITP_ORDMNG02010_DETAIL_jqGridView" class="itp_views fix"></div>
130 134
 											<table id="ITP_ORDMNG02010_DETAIL_jqGrid"></table>
131 135
 											<div id="ITP_ORDMNG02010_DETAIL_jqGridPager"></div>
132 136
 											<div id="ITP_ORDMNG02010_DETAIL_jqGridEmpty" class="itp_no_data"></div>

+ 11 - 5
src/main/webapp/app/ordmng/ORDMNG03010.html

@@ -18,7 +18,9 @@
18 18
 								<input type="hidden" id="ITP_FORM_ORDMNG03010_SEARCH_BRAND_ID" name="sbrandId" value="">
19 19
 									<div class="form-group">
20 20
 										<div class="col-xs-2 itp_ip itp_noMar">
21
-											<label>납품예정일자</label>
21
+											<select id="ITP_FORM_ORDMNG03010_SEARCH_" class="form-control itp_input" name="service">
22
+												<option value="A">납품예정일자</option>											
23
+											</select>
22 24
 										</div>										
23 25
 										<div class="col-xs-3 itp_ip itp_noMar">
24 26
 											<div class="input-daterange input-group date">
@@ -27,15 +29,19 @@
27 29
 												<input type="text" id="ITP_FORM_ORDMNG03010_SEARCH_DLV_CMPLT_DT" class="form-control itp_input" name="toDt" value="2022.12.31" readonly>
28 30
 											</div>
29 31
 										</div>
30
-										<div class="col-xs-2 itp_in itp_noMar">
32
+										<div class="col-xs-3 itp_ip itp_noMar">
33
+											<div class="input-group">
31 34
 											<input type="text" id="ITP_FORM_ORDMNG03010_SEARCH_SWHS_NM" class="form-control itp_input" name="swhsNm" placeholder="납품장소(매장/창고)" readonly/>
32 35
 											<input type="hidden" id="ITP_FORM_ORDMNG03010_SEARCH_SWHS_ID" class="form-control itp_input" name="swhsId" />
33
-										</div>
36
+												<span class="input-group-btn">
37
+													<button id="ITP_FORM_ORDMNG03010_SDELETE_SWHS_NM" class="btn btn-default btn-sm UPB" type="button" style="padding:3.8px 10px;"><i class="glyphicon glyphicon-remove"></i></button>
38
+												</span>
39
+											</div>
40
+										</div>	
34 41
 										<div class="col-xs-1 itp_in" style="padding: 0px; width:8%;">
35 42
 											<button type="button" id="ITP_FORM_ORDMNG03010_SSEARCH_SWHS_NM" class="btn btn-success btn-sm SHOW" style="display: inline-block;"><i class="glyphicon glyphicon-search"></i></button>
36
-											<button type="button" id="ITP_FORM_ORDMNG03010_SDELETE_SWHS_NM" class="btn btn-primary btn-sm SHOW" style="display: inline-block;"><i class="glyphicon glyphicon-erase"></i></button>
37 43
 						                </div>
38
-										<div class="col-xs-4 itp_ip itp_noMar">
44
+										<div class="col-xs-3 itp_ip itp_noMar">
39 45
 											<input type="text" id="ITP_FORM_ORDMNG03010_SEARCH_ITEM_NM" class="form-control itp_input" name="sitemNm" placeholder="발주번호/품목번호 /품목명" />
40 46
 										</div>
41 47
 									</div>

+ 7 - 0
src/main/webapp/js/app/ordmng/ITP_ORDMNG02010.js

@@ -73,6 +73,7 @@ const gridColModel = {
73 73
 			index: 'WHS_NM', name: 'whsNm',
74 74
 			label: ITP_MSG_LOCALE.label.whsNm, 				//납품장소
75 75
 			width: '11', fixed: false, align: 'left',
76
+			minwidht: 100,
76 77
 			sortable: false, hidden: false
77 78
 		},
78 79
 		{
@@ -98,12 +99,14 @@ const gridColModel = {
98 99
 			label: ITP_MSG_LOCALE.label.unitAmt, 			//단가
99 100
 			width: '3', fixed: false, align: 'right',
100 101
 			sortable: false, hidden: false,
102
+			minwidth:80,
101 103
 			formatter: 'integer', formatoptions: {thousandsSeparator: ','}
102 104
 		},
103 105
 		{
104 106
 			index: 'PODR_AMT', name: 'podrAmt',
105 107
 			label: ITP_MSG_LOCALE.label.podrAmt, 			//발주금액
106 108
 			width: '4', fixed: false, align: 'right',
109
+			minwidth:80,
107 110
 			sortable: false, hidden: false,
108 111
 			formatter: 'integer', formatoptions: {thousandsSeparator: ','}
109 112
 		}
@@ -487,6 +490,7 @@ let modifyObj = {
487 490
 						index: 'ITEM_ID', name: 'itemId',
488 491
 						label: ITP_MSG_LOCALE.label.itemId, 			//품목번호
489 492
 						width: '10', fixed: false, align: 'center',
493
+						minwidth: 100,
490 494
 						sortable: false, hidden: false, edittype: 'text',
491 495
 						editable: false
492 496
 					},
@@ -523,6 +527,7 @@ let modifyObj = {
523 527
 						label: ITP_MSG_LOCALE.label.shmtQty, 	 		//출하수량
524 528
 						width: '8', fixed: false, align: 'right',
525 529
 						sortable: false, hidden: false, edittype: 'text',
530
+						classes: 'input_color',
526 531
 						editable: true, editrules: {number: true, custom: true, custom_func: shmtQtyValue}
527 532
 					},
528 533
 					{
@@ -537,6 +542,7 @@ let modifyObj = {
537 542
 						label: ITP_MSG_LOCALE.label.expryDate,  		//유통기한일자
538 543
 						width: '10', fixed: false, align: 'center',
539 544
 						sortable: false, hidden: false, 
545
+						classes: 'input_color',
540 546
 						editable: true, sorttype: 'date',
541 547
 				        editoptions: {dataInit: function(e) {$(e).datepicker(ITP_DATE_LANGUAGE);}},
542 548
 				        editrules: {custom: true, custom_func: isExpryDate}
@@ -545,6 +551,7 @@ let modifyObj = {
545 551
 						index: 'REMARK', name: 'deliDesc',				//API 비고 키
546 552
 						label: ITP_MSG_LOCALE.label.remark,  			//locale-ko 비고 값
547 553
 						width: '10', fixed: false, align: 'center',
554
+						classes: 'input_color',
548 555
 						sortable: false, hidden: false, edittype: 'text',
549 556
 						editable: true
550 557
 					},

+ 2 - 0
src/main/webapp/js/app/ordmng/ITP_ORDMNG03010.js

@@ -37,6 +37,7 @@ const gridColModel = {
37 37
 				index: 'Brand_Nm', name: 'brandNm',			//정렬가능 여부,화면표시 여부
38 38
 				label: ITP_MSG_LOCALE.label.brandNm, 		//브랜드이름
39 39
 				width: '10', fixed: false, align: 'left',	// cell가로넓이,고정 여부 ,text정렬 
40
+				minwidht: 120,								//최소가로넓이 설정
40 41
 				sortable: false, hidden: false				//정렬가능 여부,화면표시 여부	
41 42
 			},
42 43
 			{
@@ -255,6 +256,7 @@ let listObj = {
255 256
 		init: function () {
256 257
 				// 데이터 없을때
257 258
 			this.search();//search 불러오기
259
+			itp_fn_jqgrid_resize(ORDMNG03010_GRID_ID, ORDMNG03010_GRID_LIST, 'lg');
258 260
 		},
259 261
 		colModel: gridColModel.list,	//컬럼정보
260 262
 		search: function() {