Browse Source

Merge branch 'master' of http://106.246.249.162:13000/orderqueen/oqpo-view

juney 2 years ago
parent
commit
527177f26d

+ 1 - 1
src/main/webapp/app/rtnmng/RTNMNG03010.html

@@ -139,7 +139,7 @@
139 139
 													</select>
140 140
 												</div>
141 141
 											</div>
142
-											<label class="col-xs-2 itp_lb">반품입고창고</label>
142
+											<label class="col-xs-2 itp_lb">반품입고창고 *</label>
143 143
 											<div class="col-xs-4 itp_ip">
144 144
 												<div class="col-xs-7 itp_in">
145 145
 													<div class="input-group">

+ 2 - 26
src/main/webapp/js/app/pomng/ITP_POMNG02010.js

@@ -287,9 +287,7 @@ let pageObj = {
287 287
 			var now = new Date();
288 288
 			$('#ITP_TAB_POMNG02010 .input-group.date').datepicker(ITP_DATE_LANGUAGE);
289 289
 			$('#ITP_FORM_POMNG02010_SEARCH_FROM_DT').datepicker('setDate', new Date(now.setDate(now.getDate()-30)));
290
-			$('#ITP_FORM_POMNG02010_SEARCH_TO_DT').datepicker('setDate', new Date(now.setDate(now.getDate()+30)));
291
-			
292
-			
290
+			$('#ITP_FORM_POMNG02010_SEARCH_TO_DT').datepicker('setDate', new Date(now.setDate(now.getDate()+30)));		
293 291
 		},
294 292
 		/*
295 293
 		form: function() {
@@ -331,7 +329,6 @@ let pageObj = {
331 329
 			$('#ITP_FORM_POMNG02010_DETAIL_WHS_ID').val('');
332 330
 			$('#ITP_FORM_POMNG02010_DETAIL_LOCATION_NM').val('');
333 331
 			$('#ITP_FORM_POMNG02010_DETAIL_LOCATION').val('');
334
-			
335 332
 		});
336 333
 		
337 334
 	},
@@ -356,10 +353,6 @@ let pageObj = {
356 353
 			}
357 354
 		}
358 355
 		
359
-		
360
-		
361
-		
362
-		
363 356
 		const key = {brandId:fn_make_user_info.get('brandId'),storeId:fn_make_user_info.get('storeId'), whsDvsn: whsDvsn};
364 357
 		fn_call_popup('biz', 'BIZPOP_WHS_LOCATION', '#ITP_ASIDE', popFn, key, 'S');
365 358
 		
@@ -416,7 +409,6 @@ let pageObj = {
416 409
 				
417 410
 				pageObj.grid.recal();
418 411
 			});
419
-
420 412
 			
421 413
 		}
422 414
 	},
@@ -470,7 +462,6 @@ let pageObj = {
470 462
 			this.unload();
471 463
 			this.load(mode, gridRows);
472 464
 		},
473
-		
474 465
 		gridId: '',
475 466
 		gridList: '',
476 467
 		gridEmpty: '',
@@ -488,7 +479,6 @@ let pageObj = {
488 479
 							exists = exists + value.brandUnitUnqNo + ';';	
489 480
 						}
490 481
 					});
491
-
492 482
 					$.each(rowDataPop, function(key, value) {
493 483
 						if (exists.indexOf(value.brandUnitUnqNo) < 0 && value.podrPssblDvsn == 'PO01') {
494 484
 							value['viewCd'] = "C";
@@ -562,9 +552,7 @@ let pageObj = {
562 552
 		unload : function() {
563 553
 			$.jgrid.gridUnload(this.gridId);
564 554
 		}
565
-		
566 555
 	}
567
-	
568 556
 };
569 557
 
570 558
 /*목록화면 Object*/
@@ -665,7 +653,6 @@ let listObj = {
665 653
 					itp_fn_grid_paging(POMNG02010_GRID_ID, action, param);
666 654
 				}
667 655
 			};
668
-			
669 656
 			itp_fn_grid_make_remote(option);
670 657
 		},
671 658
 		/*
@@ -721,7 +708,6 @@ let viewObj = {
721 708
 		$('#ITP_FORM_POMNG02010_VIEW .fnPchReqStNm').text(result.pchReqStNm);
722 709
 		$('#ITP_FORM_POMNG02010_VIEW .pchReqMgrNm').text(result.pchReqMgrNm);
723 710
 		
724
-		
725 711
 		$('#ITP_FORM_POMNG02010_VIEW .fnPchReqTotalAmt').text(itp_fn_number_comma(result.pchReqTotalAmt));
726 712
 		$('#ITP_FORM_POMNG02010_VIEW .fnDlvReqDt').text(result.dlvReqDt);
727 713
 		$('#ITP_FORM_POMNG02010_VIEW .fnWhsNm').text(result.whsNm + " - " + result.locationNm);
@@ -732,8 +718,6 @@ let viewObj = {
732 718
 		$('#ITP_FORM_POMNG02010_VIEW .fnPchReqRjctNm').text(result.pchReqRjctNm);
733 719
 		$('#ITP_FORM_POMNG02010_VIEW .fnPchReqRjctRsn').text(result.pchReqRjctRsn);
734 720
 		
735
-		
736
-		
737 721
 		// 품목  리스트 조회
738 722
 		pageObj.grid.init('VIEW', result.pchReqDtlList);
739 723
 	}
@@ -792,13 +776,10 @@ let modifyObj = {
792 776
 			
793 777
 			//정산 타입이 무정산이면 스킵
794 778
 			var apprTypeCd = "Y" // Y 정상결재, NP 선불, NA 후불   
795
-			
796 779
 			var now = new Date();
797 780
 			var today = now.getFullYear() +
798 781
 							"." + (now.getMonth()+1 > 9 ? (now.getMonth()+1).toString() : "0" + (now.getMonth()+1).toString()) +
799 782
 							"." + (now.getDate() > 9 ? now.getDate().toString() : "0" + now.getDate().toString());
800
-			
801
-			
802 783
 			var dlvReqDt = $('#ITP_FORM_POMNG02010_DETAIL_DLV_REQ_DT').val();
803 784
 			if (today > dlvReqDt) {
804 785
 				alert("납품요청일은 오늘 이후이어야 합니다.");
@@ -863,14 +844,11 @@ let modifyObj = {
863 844
 				if (chkQtyYn == "Y") return;
864 845
 				
865 846
 				if (arg == 'PR20') {
866
-					
867 847
 					apprArg.dlvReqDt = dlvReqDt;
868 848
 					apprArg.itemcnt = itemcnt;
869 849
 					apprArg.pchReqAtm = itp_fn_number_comma(pchReqAtm);
870 850
 					apprArg.pchPssblAtm = itp_fn_number_comma(pchActAtm);
871 851
 					apprArg.dlvReqAmt = dlvReqAmt;
872
-					
873
-					
874 852
 					if (apprTypeCd == "Y") {  // 여신 구분, 여신금액
875 853
 						
876 854
 						var prIngFn =  {
@@ -894,8 +872,7 @@ let modifyObj = {
894 872
 						$(formId).val(arg);
895 873
 						let gridInsertData = [];
896 874
 						let gridUpdateData = [];
897
-						let gridDeleteData = [];
898
-						
875
+						let gridDeleteData = [];					
899 876
 						const rowData = $(POMNG02010_DETAIL_GRID_ID).getRowData();
900 877
 						
901 878
 						$.each(rowData, function(key, value) {
@@ -950,7 +927,6 @@ let modifyObj = {
950 927
 						fn_call_popup('biz', 'BIZPOP_PO_PAYMENT', '#ITP_ASIDE', popFn, args, 'S');
951 928
 					}
952 929
 				};
953
-				
954 930
 				var apprNFn =  {
955 931
 				callBack: function(args) {
956 932
 						// 임시저장 처리한다.

+ 2 - 2
src/main/webapp/js/app/rtnmng/ITP_RTNMNG02010.js

@@ -219,7 +219,7 @@ const gridColModel = {
219 219
 		{
220 220
 			index: 'RTN_DVSN', name: 'rtnDvsn',
221 221
 			label: '반품구분',
222
-			width: '10', fixed: false, align: 'left',
222
+			width: '10', fixed: false, align: 'center',
223 223
 			classes: 'input_color',
224 224
 			sortable: false, editable: true, formatter: 'select', edittype: 'select',
225 225
 			editoptions: {value: ITP_COMMON_CD_RTN_DVSN},
@@ -229,7 +229,7 @@ const gridColModel = {
229 229
 			index: 'RTN_RSN_DVSN', name: 'rtnRsnDvsn',
230 230
 			label: '사유구분',
231 231
 			classes: 'input_color',
232
-			width: '10', fixed: false, align: 'left',
232
+			width: '10', fixed: false, align: 'center',
233 233
 			sortable: false, editable: true, formatter: 'select', edittype: 'select',
234 234
 			editoptions: {value: ITP_COMMON_CD_RTN_RSN_DVSN},
235 235
 			editrules: {required: true}

+ 7 - 7
src/main/webapp/js/app/rtnmng/ITP_RTNMNG03010.js

@@ -169,8 +169,8 @@ const gridColModel = {
169 169
 		},
170 170
 		{
171 171
 			index: 'RTN_REQ_DTL_NO', name: 'rtnReqDtlNo',
172
-			label: '반품요청항번', 
173
-			width: '8', fixed: false, align: 'center',
172
+			label: '항번', 
173
+			width: '4', fixed: false, align: 'center',
174 174
 			sortable: true, editable: false, edittype: 'text',
175 175
 			hidden: false
176 176
 		},
@@ -231,7 +231,7 @@ const gridColModel = {
231 231
 		{
232 232
 			index: 'RTN_DVSN_NM', name: 'rtnDvsnNm',
233 233
 			label: '반품구분', 
234
-			width: '6', fixed: false, align: 'left',
234
+			width: '6', fixed: false, align: 'center',
235 235
 			sortable: false, editable: false, edittype: 'text',
236 236
 			hidden: false
237 237
 		},
@@ -245,14 +245,14 @@ const gridColModel = {
245 245
 		{
246 246
 			index: 'RTN_RSN_DVSN_NM', name: 'rtnRsnDvsnNm',
247 247
 			label: '사유구분', 
248
-			width: '7', fixed: false, align: 'left',
248
+			width: '7', fixed: false, align: 'center',
249 249
 			sortable: false, editable: false, edittype: 'text',
250 250
 			hidden: false
251 251
 		},
252 252
 		{
253 253
 			index: 'RTN_RSN_DVSN', name: 'rtnRsnDvsn',
254 254
 			label: '사유구분', 
255
-			width: '7', fixed: false, align: 'left',
255
+			width: '7', fixed: false, align: 'center',
256 256
 			sortable: false, editable: false, edittype: 'text',
257 257
 			hidden: true
258 258
 		},
@@ -294,8 +294,8 @@ const gridColModel = {
294 294
 		},
295 295
 		{
296 296
 			index: 'RTN_REQ_DTL_NO', name: 'rtnReqDtlNo',
297
-			label: '반품요청항번', 
298
-			width: '10', fixed: false, align: 'center',
297
+			label: '항번', 
298
+			width: '4', fixed: false, align: 'center',
299 299
 			sortable: true, editable: false, edittype: 'text',
300 300
 			hidden: true
301 301
 		},

+ 1 - 1
src/main/webapp/js/app/rtnmng/ITP_RTNMNG04010.js

@@ -40,7 +40,7 @@ const gridColModel = {
40 40
 		},
41 41
 		{
42 42
 			index: 'RTN_PODR_UNQ_NO', name: 'rtnPodrUnqNo',
43
-			label: '반품발주번호', 
43
+			label: '반품발주번호/상태', 
44 44
 			width: '10', fixed: false, align: 'center',
45 45
 			sortable: false, hidden: false
46 46
 		},

+ 1 - 1
src/main/webapp/main.html

@@ -376,7 +376,7 @@
376 376
 									</div>
377 377
 									<div class="col_4">
378 378
 										<div class="itp_header_label">
379
-										발주완료
379
+										납품완료
380 380
 										</div>
381 381
 										<div class="itp_header_result fnPoEndCount">
382 382
 										10건

+ 8 - 8
src/main/webapp/mobile/app/main.html

@@ -159,21 +159,21 @@
159 159
 					</div>
160 160
 					<div class="itp_oper_info">
161 161
 						<label class="col_6">구매요청건수</label>
162
-						<div class="full fnPr20Count">2 건</div>
162
+						<div class="full fnPr20Count"></div>
163 163
 					</div>
164 164
 				</div>
165 165
 				<div id="ITP_MAIN_HEADER_STORE" class="itp_oper_info_area" style="display: none;">
166 166
 					<div class="itp_oper_info">
167 167
 						<label class="col_6">구매요청</label>
168
-						<div class="col_6 fnPr20Count">2 건</div>
168
+						<div class="col_6 fnPr20Count"></div>
169 169
 						<label>발주진행</label>
170
-						<div class="fnPo30Count">12,000,000원</div>
170
+						<div class="fnPo30Count"></div>
171 171
 					</div>
172 172
 					<div class="itp_oper_info">
173 173
 						<label class="col_6">구매가능금액</label>
174
-						<div class="col_6 fnPoPsblAmt">1,000원</div>
175
-						<label>발주완료</label>
176
-						<div class="fnPoEndCount">1,000원</div>
174
+						<div class="col_6 fnPoPsblAmt"></div>
175
+						<label>납품완료</label>
176
+						<div class="fnPoEndCount"></div>
177 177
 					</div>
178 178
 				</div>
179 179
 				<div id="ITP_MAIN_HEADER_SPPLY" class="itp_oper_info_area" style="display: none;">
@@ -181,11 +181,11 @@
181 181
 						<label>수주건수</label>
182 182
 						<div class="fnOrdersCount">2 건</div>
183 183
 						<label>수주금액</label>
184
-						<div class="fnOrdersAmt">12,000,000원</div>
184
+						<div class="fnOrdersAmt"></div>
185 185
 					</div>
186 186
 					<div class="itp_oper_info">
187 187
 						<label class="col_6">정산요청금액</label>
188
-						<div class="full fnSttlReqAmt">1,000원</div>
188
+						<div class="full fnSttlReqAmt"></div>
189 189
 					</div>
190 190
 				</div>
191 191
 				<div id="ITP_MAIN_DRAW_CHART_REQ" class="itp_graph_area">

+ 1 - 1
src/main/webapp/mobile/app/mloanmng/MLOANMNG02010.html

@@ -10,7 +10,7 @@
10 10
 					<div class="itp_search_header"><img src="../img/right_arrow_pink.png" alt="">입금관리</div>
11 11
 		      	</div>
12 12
 				<div class="line">
13
-				  <label>매장선</label>
13
+				  <label>매장선</label>
14 14
 				  <div class="float_left">
15 15
 					<input id="ITP_FORM_MLOANMNG02010_LIST_SEARCH_STORE_NM" name="sstoreNm" type="text" placeholder="" readonly>
16 16
 					<div class="itp_input_btn">	

+ 1 - 1
src/main/webapp/mobile/app/mstockmng/MSTOCKMNG01010.html

@@ -133,7 +133,7 @@
133 133
 		</div>
134 134
 	</div>
135 135
 	<div id="ITP_POP_MSTOCKMNG01010_ITEM_AREA" class="popup2 mobile-pop-close" style="display: none;">
136
-		<div class="pop" style="height:480px;">
136
+		<div class="pop" style="height:390px;">
137 137
 			<div class="header">
138 138
 				<div class="header_left">
139 139
 					<label>재고처리</label>

+ 11 - 11
src/main/webapp/mobile/css/style.css

@@ -60,12 +60,12 @@ section .popup2 .pop .search_bar button {position:relative; width:34px; height:3
60 60
 section .popup2 .pop .search_bar button img {width: 18px; position:relative; top:-1px;}
61 61
 section .popup2 .pop .search_bar button.search {float: none; width: 50%; height: 35px; background:rgb(46, 46, 248); color: #fff; font-size: 1rem; padding: 0; border: 1px solid #000; margin: 0 auto;}
62 62
 section .popup2 .pop .search_item_bar {width:98%;margin:5px auto; position: relative; top:-40px; display:flex;}
63
-section .popup2 .pop .search_item_bar input {width:40%; height:34px; border-radius:5px; margin:0; font-size:12px;}
64
-section .popup2 .pop .search_item_bar select {width:22%; height:34px; padding:0; border-radius:5px; margin-right:5px;}
63
+section .popup2 .pop .search_item_bar input {width:40%; height:26px; border-radius:5px; margin:0; font-size:12px;}
64
+section .popup2 .pop .search_item_bar select {width:22%; height:26px; padding:0; border-radius:5px; margin-right:5px;}
65 65
 section .popup2 .pop .search_btn_bar {width:100%; height:50px; margin-top:-30px; margin-right:10px;}
66 66
 section .popup2 .pop .search_btn_bar .btn_right {float:right; margin-right:10px;}
67
-section .popup2 .pop .search_btn_bar .btn_right button img{width:18px; height:18px; margin-right:2px;}
68
-section .popup2 .pop .search_btn_bar .btn_right button {height:34px; padding:5px 12px; font-size:12pt; font-weight:100; border-radius:3px; border:1px solid #333;}
67
+section .popup2 .pop .search_btn_bar .btn_right button img{width:16px; height:16px; margin-right:5px;}
68
+section .popup2 .pop .search_btn_bar .btn_right button {height:26px; padding:1px 12px; font-size:10pt; font-weight:100; border-radius:3px; border:1px solid #333;}
69 69
 section .popup2 .pop .table>tbody>tr {border-bottom:1px solid #ddd;}
70 70
 section .popup2 .pop .table{width:98%; margin:0 auto; border:1px solid #aaa; border-bottom:none; border-left:none; border-right:none;}
71 71
 section .popup2 .pop .table .table_tr {display:flex;}
@@ -121,11 +121,11 @@ section .popup2 .pop .popup_scroll li .add button{float: right; width: 60px; hei
121 121
 section .popup2 .pop .popup_scroll li .right input {width:43px; height:27px; margin:0; padding:3px; text-align:center; border-radius:0px; border:1px solid #E0B8AB;}
122 122
 section .popup2 .pop .popup_scroll li .right input:focus {outline:none;}
123 123
 section .popup2 .pop .content .line button {width: 35%; height: 35px;font-size: 14px; font-weight:100; padding-top: 7px; margin: 0 10px;}
124
-section .popup2	.list_line {width:98%; float:left; height:40px;display: inline-flex; margin:0 1%; font-size:12px;}
124
+section .popup2	.list_line {width:98%; float:left; height:30px;display: inline-flex; margin:0 1%; font-size:12px;}
125 125
 section .popup2 .border {border-bottom: 1px solid #000 !important;}
126
-section .popup2 .list_line .list_label {width:30%;border:1px solid #000; height:40px; padding-top:10px; border-bottom:none; background:#eee;}
126
+section .popup2 .list_line .list_label {width:30%;border:1px solid #000; height:30px; padding-top:4px; border-bottom:none; background:#eee;}
127 127
 section .popup2 .list_line .list_label label{font-size:12pt;}
128
-section .popup2 .list_line .list_info {width:70%;height:40px; border:1px solid #000; padding-top:10px; border-left:none; border-bottom:none;}
128
+section .popup2 .list_line .list_info {width:70%;height:30px; border:1px solid #000; padding-top:4px; border-left:none; border-bottom:none;}
129 129
 section .popup2 .list_line .list_info input{width:90%;}
130 130
 section .popup2 .list_line .mail input {width:30%;}
131 131
 section .popup2 .list_line .mail select {width:30%;}
@@ -135,7 +135,7 @@ section .popup_scroll li .right button {background:#e1cac1; color:#fff; border:1
135 135
 section .popup_scroll li .right button:hover {background:#FCD5C1;}
136 136
 section .popup_scroll li .right button:checked {background:#ccc;}
137 137
 section .popup2 .list_line .line_right {float:right; width:70%;}
138
-section .popup2 .list_line .line_right select {width:200px; float:right; height:34px; margin-top:4px;}
138
+section .popup2 .list_line .line_right select {width:200px; float:right; height:26px; margin-top:4px;}
139 139
 section .popup2 .list_line .line_right input {width:200px; float:right; text-align:right;}
140 140
 section .popup2 .list_line .info{width:30%; padding-top:8px; padding-left:20px; text-align:left; font-size:12pt;}
141 141
 
@@ -375,7 +375,7 @@ input .day {margin: 18%; width: 45%; height: 80px; float: right;}
375 375
 .content .line .line_right input.m9 {margin-right:93px;}
376 376
 .content .line .line_right input.left {text-align: left;}
377 377
 .content .line .line_right input.mg0 {margin-right:10px;}
378
-.content .line .line_right input.date{width:194px; margin-right:132px; height:35px; margin-left:3px;} 
378
+.content .line .line_right input.date{width:194px; margin-right:132px; height:26px; margin-left:3px;} 
379 379
 .content .line .line_right select {float: right; width: 180px; height: 30px; margin-top: 7px; border: 1px solid #000; font-size: 1rem; margin-right:93px;}
380 380
 .content .line input.date {width: 168px; height: 26px; float: left; text-align:center; font-size:12pt; background: url(../img/calender.png) 95%/18px no-repeat white}
381 381
 .content .line input.full {width: 100%;}
@@ -385,7 +385,7 @@ input .day {margin: 18%; width: 45%; height: 80px; float: right;}
385 385
 .content .line div.date_to div.at {width: 6%;  font-size: 16px; padding-top:12px; float: right;}
386 386
 .content .line .search {width: 100%; height: 50px; padding-top:6px;}
387 387
 .content .line .search button {width: 40%; height: 26px; font-size: 12pt; font-weight:100; padding: 0;}
388
-.content .line .search button.col_3 {width: 25%; height:34px; margin:0 10px;}
388
+.content .line .search button.col_3 {width: 25%; height:26px; margin:0 10px;}
389 389
 .content .list_line {width:98%; float:left; height:50px;display: inline-flex; margin:0 1%; font-size:12px;}
390 390
 .content .border {border-bottom: 1px solid #000 !important;}
391 391
 .content .list_line .list_label {width:30%;border:1px solid #000; height:50px; padding-top:14px; border-bottom:none; background:#eee;}
@@ -489,7 +489,7 @@ input .day {margin: 18%; width: 45%; height: 80px; float: right;}
489 489
 
490 490
 
491 491
 .scroll_area li.history_list9 .button_right {float: right; display: grid;}
492
-.scroll_area li.history_list9 .button_right button {width: 45px; height: 85px; font-size: 10pt; font-weight:100; margin: 0; padding:0; border-radius: 0;}
492
+.scroll_area li.history_list9 .button_right button {width: 45px; height: 85px; font-size: 12pt; font-weight:100; margin: 0; padding:0; border-radius: 0;}
493 493
 
494 494
 .scroll_area li.history_list1 {height: 120px;}
495 495
 .scroll_area li.history_list2 {height: 160px; padding-top:5px;}