Explorar el Código

입고현황 변경

whakdo963 hace 2 años
padre
commit
7993927e2f

+ 17 - 10
src/main/webapp/app/pomng/POMNG06010.html

@@ -22,30 +22,37 @@
22 22
 										</div>										
23 23
 										<div class="col-xs-3 itp_ip itp_noMar">
24 24
 											<div class="input-daterange input-group date">
25
-												<input type="text" id="ITP_FORM_POMNG06010_SEARCH_FROM_DT" class="form-control itp_input" name="fromDt" value="">
25
+												<input type="text" id="ITP_FORM_POMNG06010_SEARCH_FROM_DT" class="form-control itp_input" name="fromDt" value=""readonly>
26 26
 												<span class="input-group-addon itp_date_to">~</span>
27
-												<input type="text" id="ITP_FORM_POMNG06010_SEARCH_TO_DT" class="form-control itp_input" name="toDt" value="">
27
+												<input type="text" id="ITP_FORM_POMNG06010_SEARCH_TO_DT" class="form-control itp_input" name="toDt" value=""readonly>
28 28
 											</div>
29 29
 										</div>
30 30
 										<div class="col-xs-2 itp_ip itp_noMar">
31
+											<div class="input-group">
32
+											<input type="text" id="ITP_FORM_POMNG06010_SEARCH_WHS_NM" class="form-control itp_input" name="swhsNm" placeholder="입고창고*" readonly/>
31 33
 											<input type="hidden" id="ITP_FORM_POMNG06010_SEARCH_WHS_ID" class="form-control itp_input" name="swhsId" placeholder="입고창고" />
32
-											<input type="text" id="ITP_FORM_POMNG06010_SEARCH_WHS_NM" class="form-control itp_input" name="swhsNm" placeholder="입고창고*" />
33
-										</div>
34
+												<span class="input-group-btn">
35
+													<button id="ITP_BTN_POMNG06010_DELETE_WHS_ID" class="btn btn-default btn-sm UPB" type="button" style="padding:3.8px 10px;"><i class="glyphicon glyphicon-erase"></i></button>
36
+												</span>
37
+											</div>
38
+										</div>	
34 39
 										<div class="col-xs-1 itp_in" style="padding: 0px; width:10%;">
35 40
 											<button type="button" id="ITP_BTN_POMNG06010_SEARCH_WHS_ID" class="btn btn-success btn-sm SHOW" style="display: inline-block;"><i class="glyphicon glyphicon-search"></i></button>
36
-											<button type="button" id="ITP_BTN_POMNG06010_DELETE_WHS_ID" class="btn btn-primary btn-sm SHOW" style="display: inline-block;"><i class="glyphicon glyphicon-erase"></i></button>
37 41
 										</div>
38
-										
39 42
 									</div>
40 43
 									<div class="form-group" style="padding-top: 10px; border-top: 1px dotted #ccc;">
41 44
 										<div class="col-xs-2 itp_ip itp_noMar">
42
-											<input type="text" id="ITP_FORM_POMNG06010_SEARCH_SPPLY_NM" class="form-control itp_input" name="sspplyNm" placeholder="공급업체" />
45
+											<div class="input-group">
46
+											<input type="text" id="ITP_FORM_POMNG06010_SEARCH_SPPLY_NM" class="form-control itp_input" name="sspplyNm" placeholder="공급업체" readonly/>
43 47
 											<input type="hidden" id="ITP_FORM_POMNG06010_SEARCH_SPPLY_ID" class="form-control itp_input" name="sspplyId" placeholder="공급업체" />
44
-										</div>
48
+												<span class="input-group-btn">
49
+													<button id="ITP_BTN_POMNG06010_DELETE_SPPLY_ID" class="btn btn-default btn-sm UPB" type="button" style="padding:3.8px 10px;"><i class="glyphicon glyphicon-erase"></i></button>
50
+												</span>
51
+											</div>
52
+										</div>	
45 53
 										<div class="col-xs-1 itp_in" style="padding: 0px; width:8%;">
46 54
 											<button type="button" id="ITP_BTN_POMNG06010_SEARCH_SPPLY_ID" class="btn btn-success btn-sm SHOW" style="display: inline-block;"><i class="glyphicon glyphicon-search"></i></button>
47
-											<button type="button" id="ITP_BTN_POMNG06010_DELETE_SPPLY_ID" class="btn btn-primary btn-sm SHOW" style="display: inline-block;"><i class="glyphicon glyphicon-erase"></i></button>
48
-														</div>
55
+										</div>
49 56
 										<div class="col-xs-4 itp_ip itp_noMar">
50 57
 											<input type="text" id="ITP_FORM_POMNG06010_SEARCH_DLV_STTMT_UNQ_NO" class="form-control itp_input" name="sdlvSttmtUnqNo" placeholder="납품서번호" />
51 58
 										</div>

+ 8 - 3
src/main/webapp/js/app/pomng/ITP_POMNG06010.js

@@ -51,7 +51,7 @@ const gridColModel = {
51 51
 			index: 'DLV_STTMT_UNQ_NO', name: 'dlvSttmtUnqNo',
52 52
 			label: ITP_MSG_LOCALE.label.dlvSttmtUnqNo, //납품서번호
53 53
 			width: '10', fixed: false, align: 'center',
54
-			minwidth: 130,
54
+			minwidth: 140,
55 55
 			sortable: false, hidden: false
56 56
 		},
57 57
 		{
@@ -71,7 +71,7 @@ const gridColModel = {
71 71
 			index: 'ITEM_NM', name: 'itemNm',
72 72
 			label: ITP_MSG_LOCALE.label.itemNm, //품목명
73 73
 			width: '10', fixed: false, align: 'left',
74
-			minwidth: 100,
74
+			minwidth: 120,
75 75
 			sortable: false, hidden: false
76 76
 		},
77 77
 		{
@@ -127,7 +127,7 @@ const gridColModel = {
127 127
 			index: 'WHS_NM', name: 'whsNm',
128 128
 			label: ITP_MSG_LOCALE.label.whsNm, //납품창고명
129 129
 			width: '15', fixed: false, align: 'left',
130
-			minwidth: 140,
130
+			minwidth: 160,
131 131
 			sortable: false, hidden: false
132 132
 		},
133 133
 		{
@@ -202,6 +202,7 @@ let listObj = {
202 202
 		this.action();
203 203
 		this.event.init();
204 204
 		this.grid.init();
205
+		this.screen();
205 206
 	},
206 207
 	view: function() {
207 208
 		// 버튼 권한설정
@@ -469,6 +470,10 @@ let listObj = {
469 470
 			$(POMNG06010_GRID_EMPTY).show();
470 471
 		}
471 472
 		
473
+	},
474
+	screen: function() {
475
+		$('#ITP_BTN_POMNG06010_DELETE_WHS_ID').show();
476
+		$('#ITP_BTN_POMNG06010_DELETE_SPPLY_ID').show();
472 477
 	}
473 478
 };
474 479