Kaynağa Gözat

공급사 수거관리 html 수정

whakdo963 2 yıl önce
ebeveyn
işleme
8b2eca8f6f

+ 12 - 10
src/main/webapp/app/collmng/COLLMNG01010.html

@@ -19,7 +19,9 @@
19 19
 								<input type="hidden" id="ITP_FORM_COLLMNG01010_SEARCH_SPPLY_ID" name="sspplyId" value="">
20 20
 									<div class="form-group">
21 21
 										<div class="col-xs-2 itp_ip itp_noMar">
22
-											<label>수거 일자 *</label>
22
+											<select id="ITP_FORM_COLLMNG01010_SEARCH_" class="form-control itp_input" name="service">
23
+												<option value="A">수거 일자</option>											
24
+											</select>
23 25
 										</div>											
24 26
 										<div class="col-xs-3 itp_ip itp_noMar">
25 27
 											<div class="input-daterange input-group date">
@@ -36,12 +38,16 @@
36 38
 											</select>
37 39
 										</div>
38 40
 										<div class="col-xs-3 itp_ip itp_noMar">
41
+											<div class="input-group">
39 42
 											<input type="text" id="ITP_FORM_COLLMNG01010_DETAIL_RTN_WHS_NM" class="form-control itp_input" name="sDlvPlace" placeholder="수거장소 (매장/창고)" readonly/>
40 43
 											<input type="hidden" id="ITP_FORM_COLLMNG01010_DETAIL_RTN_WHS_ID" class="form-control itp_input" name="srtnWhsId"/>
41
-										</div>
44
+												<span class="input-group-btn">
45
+													<button id="ITP_BTN_COLLMNG01010_DELETE_WHS_NM" class="btn btn-default btn-sm UPB" type="button" style="padding:3.8px 10px;"><i class="glyphicon glyphicon-remove"></i></button>
46
+												</span>
47
+											</div>
48
+										</div>	
42 49
 										<div class="col-xs-1 itp_in" style="padding-left: 5px; width:10%;">
43 50
 											<button type="button" id="ITP_BTN_COLLMNG01010_SEARCH_WHS_NM" class="btn btn-success btn-sm SEB" style="display: inline-block;"><i class="glyphicon glyphicon-search"></i></button>
44
-											<button type="button" id="ITP_BTN_COLLMNG01010_DELETE_WHS_NM" class="btn btn-primary btn-sm UPB" style="display: inline-block;"><i class="glyphicon glyphicon-erase"></i></button>
45 51
 						                </div>
46 52
 										<div class="col-xs-5 itp_ip itp_noMar">
47 53
 											<input type="text" id="ITP_FORM_COLLMNG01010_SEARCH_ITEM_NM" class="form-control itp_input" name="sitemNm" placeholder="발주번호/품목번호/품목명" />
@@ -67,8 +73,7 @@
67 73
 								<input type="hidden" id="ITP_FORM_COLLMNG01010_DETAIL_VIEW_CD" name="viewCd" value="C">
68 74
 								
69 75
 								<section class="itp_form_sec">
70
-									<h4 class="itp_form_tit">수거 발주 상세</h4>
71
-									<div class="itp_form_in">	
76
+									<div class="itp_form_in border-top">	
72 77
 										<div class="form-group">
73 78
 											<label class="col-xs-2 itp_lb">브랜드 *</label>
74 79
 											<div class="col-xs-4 itp_ip fnBrandNm"></div>
@@ -87,9 +92,7 @@
87 92
 									<div class="itp_form_in">	
88 93
 										<div class="form-group">
89 94
 											<label class="col-xs-2 itp_lb">수거장소</label>
90
-											<div class="col-xs-4 itp_ip">
91
-												<div class="col-xs-3 itp_in fnRtnWhsNm"></div>
92
-											</div>
95
+											<div class="col-xs-4 itp_ip fnRtnWhsNm"></div>
93 96
 											<label class="col-xs-2 itp_lb">수거 총 금액</label>
94 97
 											<div class="col-xs-4 itp_ip fnRtnDodrTotalAmt"></div>
95 98
 										</div>
@@ -103,11 +106,10 @@
103 106
 										</div>
104 107
 									</div>
105 108
 									<div class="itp_form_in">
106
-										<div class="itp_table_head fix" style="background:#f5f5f5;">
109
+										<div class="itp_table_head fix" style="background:#fff;">
107 110
 											<h4 class="itp_table_tit">발주 품목</h4>
108 111
 										</div>
109 112
 										<div id="ITP_COLLMNG01010_DETAIL_jqGrid_list" class="itp_tb_list">
110
-											<div id="ITP_COLLMNG01010_DETAIL_jqGridView" class="itp_views fix"></div>
111 113
 											<table id="ITP_COLLMNG01010_DETAIL_jqGrid"></table>
112 114
 											<div id="ITP_COLLMNG01010_DETAIL_jqGridPager"></div>
113 115
 											<div id="ITP_COLLMNG01010_DETAIL_jqGridEmpty" class="itp_no_data"></div>

+ 15 - 11
src/main/webapp/app/collmng/COLLMNG02010.html

@@ -21,7 +21,9 @@
21 21
 								
22 22
 									<div class="form-group">
23 23
 										<div class="col-xs-2 itp_ip itp_noMar">
24
-											<label>수거 요청일 *</label>
24
+											<select id="ITP_FORM_COLLMNG02010_SEARCH_" class="form-control itp_input" name="service">
25
+												<option value="A">수거 요청일</option>											
26
+											</select>
25 27
 										</div>									
26 28
 										<div class="col-xs-3 itp_ip itp_noMar">
27 29
 											<div class="input-daterange input-group date">
@@ -30,13 +32,17 @@
30 32
 												<input type="text" id="ITP_FORM_COLLMNG02010_SEARCH_TO_DT" class="form-control itp_input" name="toDt" value="" readonly>
31 33
 											</div>
32 34
 										</div>
33
-										<div class="col-xs-2 itp_in itp_noMar">
34
-											<input type="text" id="ITP_FORM_COLLMNG02010_SEARCH_SRTN_WHS_NM" class="form-control itp_input" name="srtnWhsNm" placeholder="수거창고" readonly/>
35
-											<input type="hidden" id="ITP_FORM_COLLMNG02010_SEARCH_SRTN_WHS_ID" class="form-control itp_input" name="srtnWhsId"  />
36
-										</div>
35
+										<div class="col-xs-2 itp_ip itp_noMar">
36
+											<div class="input-group">
37
+												<input type="text" id="ITP_FORM_COLLMNG02010_SEARCH_SRTN_WHS_NM" class="form-control itp_input" name="srtnWhsNm" placeholder="수거창고" readonly/>
38
+												<input type="hidden" id="ITP_FORM_COLLMNG02010_SEARCH_SRTN_WHS_ID" class="form-control itp_input" name="srtnWhsId"  />
39
+												<span class="input-group-btn">
40
+													<button id="ITP_BTN_COLLMNG02010_DELETE_RTN_WHS_ID" class="btn btn-default btn-sm UPB" type="button" style="padding:3.8px 10px;"><i class="glyphicon glyphicon-remove"></i></button>
41
+												</span>
42
+											</div>
43
+										</div>	
37 44
 										<div class="col-xs-1 itp_in" style="padding: 0px; width:8%;">
38 45
 											<button type="button" id="ITP_BTN_COLLMNG02010_SEARCH_RTN_WHS_ID" class="btn btn-success btn-sm SHOW" style="display: inline-block;"><i class="glyphicon glyphicon-search"></i></button>
39
-											<button type="button" id="ITP_BTN_COLLMNG02010_DELETE_RTN_WHS_ID" class="btn btn-primary btn-sm SHOW" style="display: inline-block;"><i class="glyphicon glyphicon-erase"></i></button>
40 46
 						                </div>
41 47
 										<div class="col-xs-4 itp_ip itp_noMar">
42 48
 											<input type="text" id="ITP_FORM_COLLMNG02010_SEARCH_ITEM_NM" class="form-control itp_input" name="sitemNm" placeholder="발주번호/품목번호 /품목명" />
@@ -65,8 +71,7 @@
65 71
 								<input type="hidden" id="ITP_FORM_COLLMNG02010_DETAIL_RTN_lOCATION" class="form-control itp_input" name="rtnLocation"  />
66 72
 								<input type="hidden" id="ITP_FORM_COLLMNG02010_DETAIL_SPPLY_ID" class="form-control itp_input" name="spplyId"  />
67 73
 								<section class="itp_form_sec">
68
-									<h4 class="itp_form_tit">반품 발주 상세</h4>
69
-									<div class="itp_form_in">	
74
+									<div class="itp_form_in border-top">	
70 75
 										<div class="form-group">
71 76
 											<label class="col-xs-2 itp_lb">브랜드</label>
72 77
 											<div class="col-xs-4 itp_ip fnBrandNm"></div>
@@ -80,7 +85,7 @@
80 85
 											<div class="input-daterange input-group date">
81 86
 												<div class="col-xs-4 itp_ip">
82 87
 													<div class="col-xs-7 itp_in">
83
-														<input type="text" id="ITP_FORM_ORDMNG02010_DETAIL_COL_SCH_DT" data-check-required="empty" class="form-control itp_input" name="colSchDt" value="">
88
+														<input type="text" id="ITP_FORM_ORDMNG02010_DETAIL_COL_SCH_DT" data-check-required="empty" class="form-control itp_input" name="colSchDt" value="" readonly>
84 89
 													</div>
85 90
 												</div>
86 91
 											</div>
@@ -113,11 +118,10 @@
113 118
 										</div>
114 119
 									</div>
115 120
 									<div class="itp_form_in">
116
-										<div class="itp_table_head fix" style="background:#f5f5f5;">
121
+										<div class="itp_table_head fix" style="background:#fff;">
117 122
 											<h4 class="itp_table_tit">발주 품목</h4>
118 123
 										</div>
119 124
 										<div id="ITP_COLLMNG02010_DETAIL_jqGrid_list" class="itp_tb_list">
120
-										  <div id="ITP_COLLMNG02010_DETAIL_jqGridView" class="itp_views fix"></div>
121 125
 										  <table id="ITP_COLLMNG02010_DETAIL_jqGrid"></table>
122 126
 										  <div id="ITP_COLLMNG02010_DETAIL_jqGridPager"></div>
123 127
 										  <div id="ITP_COLLMNG02010_DETAIL_jqGridEmpty" class="itp_no_data"></div>

+ 12 - 6
src/main/webapp/app/collmng/COLLMNG03010.html

@@ -20,8 +20,10 @@
20 20
 								<input type="hidden" id="ITP_FORM_COLLMNG03010_SEARCH_SPPLY_ID" name="sspplyId" value="">
21 21
 									<div class="form-group">
22 22
 										<div class="col-xs-2 itp_ip itp_noMar">
23
- 											<label>수거일자 *</label>
24
-										</div>										
23
+ 											<select id="ITP_FORM_COLLMNG03010_SEARCH_" class="form-control itp_input" name="service">
24
+												<option value="A">수거 일자</option>											
25
+											</select>
26
+										</div>								
25 27
 										<div class="col-xs-3 itp_ip itp_noMar">
26 28
 											<div class="input-daterange input-group date">
27 29
 												<input type="text" id="ITP_FORM_COLLMNG03010_SEARCH_FROM_DT" class="form-control itp_input" name="fromDt" value="" readonly>
@@ -29,13 +31,17 @@
29 31
 												<input type="text" id="ITP_FORM_COLLMNG03010_SEARCH_TO_DT" class="form-control itp_input" name="toDt" value="" readonly>
30 32
 											</div>
31 33
 										</div>
32
-										<div class="col-xs-2 itp_in itp_noMar">
33
-											<input type="text" id="ITP_FORM_COLLMNG03010_SEARCH_WHS_NM" class="form-control itp_input" name="swhsNm" placeholder="수거장소(매장/창고)" readonly/>
34
-											<input type="hidden" id="ITP_FORM_COLLMNG03010_SEARCH_WHS_ID" class="form-control itp_input" name="swhsId" />
34
+										<div class="col-xs-2 itp_ip itp_noMar">
35
+											<div class="input-group">
36
+												<input type="text" id="ITP_FORM_COLLMNG03010_SEARCH_WHS_NM" class="form-control itp_input" name="swhsNm" placeholder="수거장소(매장/창고)" readonly/>
37
+												<input type="hidden" id="ITP_FORM_COLLMNG03010_SEARCH_WHS_ID" class="form-control itp_input" name="swhsId" />
38
+												<span class="input-group-btn">
39
+													<button id="ITP_BTN_COLLMNG03010_DELETE_WHS_ID" class="btn btn-default btn-sm UPB" type="button" style="padding:3.8px 10px;"><i class="glyphicon glyphicon-remove"></i></button>
40
+												</span>
41
+											</div>
35 42
 										</div>
36 43
 										<div class="col-xs-1 itp_in" style="padding: 0px; width:8%;">
37 44
 											<button type="button" id="ITP_BTN_COLLMNG03010_SEARCH_WHS_ID" class="btn btn-success btn-sm SEB" style="display: inline-block;"><i class="glyphicon glyphicon-search"></i></button>
38
-											<button type="button" id="ITP_BTN_COLLMNG03010_DELETE_WHS_ID" class="btn btn-primary btn-sm UPB" style="display: inline-block;"><i class="glyphicon glyphicon-erase"></i></button>
39 45
 						                </div>
40 46
 										<div class="col-xs-4 itp_ip itp_noMar">
41 47
 											<input type="text" id="ITP_FORM_COLLMNG03010_SEARCH_ITEM_NM" class="form-control itp_input" name="sitemNm" placeholder="발주번호/품목번호 /품목명" />

+ 2 - 1
src/main/webapp/js/app/collmng/ITP_COLLMNG01010.js

@@ -66,6 +66,7 @@ const gridColModel = {
66 66
 			index: 'RTN_WHS_NM', name: 'rtnWhsNm',
67 67
 			label: ITP_MSG_LOCALE.label.rtnWhsNm, 			// 수거장소
68 68
 			width: '10', fixed: false, align: 'left',
69
+			minwidth: 240,
69 70
 			sortable: false, hidden: false
70 71
 		},
71 72
 		{
@@ -84,7 +85,7 @@ const gridColModel = {
84 85
 		{
85 86
 			index: 'RTN_MGR_NM', name: 'rtnMgrNm',
86 87
 			label: ITP_MSG_LOCALE.label.rtnMgrNm, 			// 수거 담당자
87
-			width: '7', fixed: false, align: 'left',
88
+			width: '7', fixed: false, align: 'center',
88 89
 			sortable: false, hidden: false
89 90
 		}
90 91
 	],

+ 5 - 1
src/main/webapp/js/app/collmng/ITP_COLLMNG02010.js

@@ -67,6 +67,7 @@ const gridColModel = {
67 67
 			index: 'ITEM_ID', name: 'itemId',
68 68
 			label: ITP_MSG_LOCALE.label.itemId, //품목아이디
69 69
 			width: '10', fixed: false, align: 'center',
70
+			minwidth: 150,
70 71
 			sortable: false, hidden: false
71 72
 		},
72 73
 		{
@@ -85,6 +86,7 @@ const gridColModel = {
85 86
 			index: 'RTN_WHS_NM', name: 'rtnWhsNm',
86 87
 			label: ITP_MSG_LOCALE.label.rtnWhsNm, //수거창고명
87 88
 			width: '15', fixed: false, align: 'left',
89
+			minwidth: 220,
88 90
 			sortable: false, hidden: false
89 91
 		},
90 92
 		{
@@ -167,12 +169,13 @@ const gridColModel = {
167 169
 			width: '10', fixed: false, align: 'right',
168 170
 			sortable: true, editable: true, edittype: 'text',
169 171
 			editrules: { required: true, number: true },
172
+			classes: 'input_color',
170 173
 			formatter: 'integer', formatoptions: { defaultValue: '', thousandsSeparator: ',' }
171 174
 		},
172 175
 		{
173 176
 			index: 'RTN_RSN_DVSN_NM', name: 'rtnRsnDvsnNm',
174 177
 			label: ITP_MSG_LOCALE.label.rtnRsnDvsnNm, //반품사유
175
-			width: '10', fixed: false, align: 'left',
178
+			width: '10', fixed: false, align: 'center',
176 179
 			sortable: false, hidden: false
177 180
 		},
178 181
 		{
@@ -311,6 +314,7 @@ let pageObj = {
311 314
 		});
312 315
 		if(mode == 'LIST') { // 목록
313 316
 			$('#ITP_AJAX_COLLMNG02010_LIST_CONTAINER').show();
317
+			$('#ITP_BTN_COLLMNG02010_DELETE_RTN_WHS_ID').show();
314 318
 			fn_show_btn_auth_array(['#ITP_BTN_COLLMNG02010_SRH', '#ITP_BTN_COLLMNG02010_CUDW']);
315 319
 			$('#ITP_FORM_COLLMNG02010_SEARCH_SBRAND_ID').val(fn_make_user_info.get('brandId'));
316 320
 			$('#ITP_FORM_COLLMNG02010_SEARCH_SSPPLY_ID').val(fn_make_user_info.get('spplyId'));

+ 14 - 2
src/main/webapp/js/app/collmng/ITP_COLLMNG03010.js

@@ -36,60 +36,70 @@ const gridColModel = {
36 36
 			index: 'BRAND_NM', name: 'brandNm',
37 37
 			label: ITP_MSG_LOCALE.label.brandNm,			// 브랜드명
38 38
 			width: '10', fixed: false, align: 'left',
39
+			minwidth: 120,
39 40
 			sortable: false, hidden: false
40 41
 		},
41 42
 		{
42 43
 			index: 'COL_PICK_UNQ_NO', name: 'colPickUnqNo',
43 44
 			label: ITP_MSG_LOCALE.label.colPickUnqNo,		// 수거서번호
44 45
 			width: '10', fixed: false, align: 'center',
46
+			minwidth: 160,
45 47
 			sortable: false, hidden: false
46 48
 		},
47 49
 		{
48 50
 			index: 'PICK_ST_NM', name: 'pickStNm',
49 51
 			label: ITP_MSG_LOCALE.label.pickStNm,			// 수거서상태
50
-			width: '6', fixed: false, align: 'left',
52
+			width: '6', fixed: false, align: 'center',
53
+			minwidth: 100,
51 54
 			sortable: false, hidden: false
52 55
 		},
53 56
 		{
54 57
 			index: 'COL_REQ_DT', name: 'colRegDt',
55 58
 			label: ITP_MSG_LOCALE.label.colRegDt,			// 수거일자
56 59
 			width: '10', fixed: false, align: 'center',
60
+			minwidth: 100,
57 61
 			sortable: false, hidden: false
58 62
 		},
59 63
 		{
60 64
 			index: 'COL_REQ_DT', name: 'colReqDt',
61 65
 			label: ITP_MSG_LOCALE.label.colReqDt,			// 수거요청일
62 66
 			width: '10', fixed: false, align: 'center',
67
+			minwidth: 100,
63 68
 			sortable: false, hidden: false
64 69
 		},
65 70
 		{
66 71
 			index: 'COL_SCH_DT', name: 'colSchDt',
67 72
 			label: ITP_MSG_LOCALE.label.colSchDt,			// 수거예정일
68 73
 			width: '10', fixed: false, align: 'center',
74
+			minwidth: 100,
69 75
 			sortable: false, hidden: false
70 76
 		},
71 77
 		{
72 78
 			index: 'ITEM_ID', name: 'itemId',
73 79
 			label: ITP_MSG_LOCALE.label.itemId,				// 품목번호
74 80
 			width: '10', fixed: false, align: 'center',
81
+			minwidth: 140,
75 82
 			sortable: false, hidden: false
76 83
 		},
77 84
 		{
78 85
 			index: 'ITEM_NM', name: 'itemNm',
79 86
 			label: ITP_MSG_LOCALE.label.itemNm,				// 품목명
80 87
 			width: '8', fixed: false, align: 'left',
88
+			minwidth: 140,
81 89
 			sortable: false, hidden: false
82 90
 		},
83 91
 		{
84 92
 			index: 'COL_REQ_QTY', name: 'colReqQty',
85 93
 			label: ITP_MSG_LOCALE.label.colReqQty,			// 수거수량
86 94
 			width: '5', fixed: false, align: 'right',
95
+			minwidth: 80,
87 96
 			sortable: false, hidden: false
88 97
 		},		
89 98
 		{
90 99
 			index: 'RTN_RSN_DVSN_NM', name: 'rtnRsnDvsnNm',
91 100
 			label: ITP_MSG_LOCALE.label.rtnRsnDvsnNm,		// 반품사유구분
92 101
 			width: '10', fixed: false, align: 'center',
102
+			minwidth: 100,
93 103
 			sortable: false, hidden: false
94 104
 		},
95 105
 		{
@@ -110,18 +120,20 @@ const gridColModel = {
110 120
 			index: 'WHS_NM', name: 'whsNm',
111 121
 			label: ITP_MSG_LOCALE.label.whsNm,				// 납품장소
112 122
 			width: '10', fixed: false, align: 'left',
123
+			minwidth: 240,
113 124
 			sortable: false, hidden: false
114 125
 		},
115 126
 		{
116 127
 			index: 'PICK_MGR_NM', name: 'pickMgrNm',
117 128
 			label: ITP_MSG_LOCALE.label.pickMgrNm,			// 수거담당자
118
-			width: '10', fixed: false, align: 'left',
129
+			width: '10', fixed: false, align: 'center',
119 130
 			sortable: false, hidden: false
120 131
 		},
121 132
 		{
122 133
 			index: 'PICK_MGR_TEL_NO', name: 'pickMgrTelNo',
123 134
 			label: ITP_MSG_LOCALE.label.pickMgrTelNo,		// 수거담당자연락처
124 135
 			width: '9', fixed: false, align: 'center',
136
+			minwidth: 160,
125 137
 			sortable: false, hidden: false
126 138
 		}
127 139
 	],

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

@@ -37,13 +37,14 @@ 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
+				minwidth: 120,								//최소가로넓이 설정
41 41
 				sortable: false, hidden: false				//정렬가능 여부,화면표시 여부	
42 42
 			},
43 43
 			{
44 44
 				index: 'DLV_STTMT_NO', name: 'dlvSttmtUnqNo',	//서버로 전송시 데이터 명 , 데이터명
45 45
 				label: ITP_MSG_LOCALE.label.dlvSttmtUnqNo, 		//납품서번호
46 46
 				width: '20', fixed: false, align: 'center',		// cell가로넓이,고정 여부 ,text정렬 
47
+				minwidth: 120,
47 48
 				sortable: false, hidden: false					//정렬가능 여부,화면표시 여부
48 49
 			},
49 50
 			{