Quellcode durchsuchen

매장용창고관리 수정

dwkim vor 2 Jahren
Ursprung
Commit
47b3c64412

+ 6 - 2
src/main/webapp/app/stockmng/STOCKMNG04011.html

@@ -18,6 +18,8 @@
18 18
 				                <input type="hidden" id="ITP_FORM_STOCKMNG04011_DETAIL_BRAND_ID" name="brandId" value="">
19 19
 				                <input type="hidden" id="ITP_FORM_STOCKMNG04011_DETAIL_STORE_ID" name="storeId" value="">
20 20
 				                <input type="hidden" id="ITP_FORM_STOCKMNG04011_DETAIL_WHS_ID" name="whsId" value="">
21
+				                
22
+				                <input type="hidden" id="ITP_FORM_STOCKMNG04011_DETAIL_WHS_ST_CD" name="whsStCd" value="">
21 23
 				    
22 24
 				                <section class="itp_form_sec">
23 25
 				                    <h4 class="itp_form_tit">브랜드 정보</h4>
@@ -27,10 +29,10 @@
27 29
 				                                <div class="col-xs-4 itp_ip">
28 30
 				                                    <div class="col-xs-9 itp_in fnBrandNm"></div>												
29 31
 				                                </div>
30
-				                            <label class="col-xs-2 itp_lb">상태*</label>
32
+				                            <label class="col-xs-2 itp_lb">상태</label>
31 33
 				                            <div class="col-xs-4 itp_ip">
32 34
 				                                <div class="col-xs-8 itp_in">
33
-				                                    <select id="ITP_FORM_STOCKMNG04011_DETAIL_WHS_ST_CD" class="form-control itp_input" name="whsStCd"></select>
35
+				                                    <div class="col-xs-8 itp_in fnWhsStNm"></div>
34 36
 				                                </div>
35 37
 				                            </div>
36 38
 				                        </div>
@@ -106,10 +108,12 @@
106 108
 				    <div class="itp_table fix">
107 109
 					    <div class="itp_table_head fix" style="background:#f5f5f5;">
108 110
 					        <h4 class="itp_table_tit">로케이션 정보</h4>
111
+					        <!-- 
109 112
 					        <div class="pull-right itp_cicon">
110 113
 					            <button type="button" id="ITP_BTN_STOCKMNG04011_DETAIL_ADDROW" class="btn btn-primary btn-sm ARB" style="display: inline-block;"><i class="glyphicon"></i>&nbsp;&nbsp;행추가&nbsp;&nbsp;</button>
111 114
 					            <button type="button" id="ITP_BTN_STOCKMNG04011_DETAIL_DELROW" class="btn btn-danger btn-sm DRB"><i class="glyphicon"></i>&nbsp;&nbsp;행삭제&nbsp;&nbsp;</button>									
112 115
 					        </div>
116
+					         -->
113 117
 					    </div>
114 118
 					    <div id="ITP_STOCKMNG04011_DETAIL_jqGrid_list" class="itp_tb_list">
115 119
 					        <div id="ITP_STOCKMNG04011_DETAIL_jqGridView" class="itp_views fix"></div>

+ 9 - 7
src/main/webapp/js/app/stockmng/ITP_STOCKMNG04011.js

@@ -147,7 +147,7 @@ let pageObj = {
147 147
 			$('#ITP_FORM_STOCKMNG04011_VIEW_STORE_ID').val(fn_make_user_info.get('storeId'));
148 148
 			
149 149
 			// 공통코드 표시
150
-			fn_make_select(CODE_LIST, 'WHS_ST_CD', 'ITP_FORM_STOCKMNG04011_DETAIL_WHS_ST_CD', true, '선택');
150
+			//fn_make_select(CODE_LIST, 'WHS_ST_CD', 'ITP_FORM_STOCKMNG04011_DETAIL_WHS_ST_CD', true, '선택');
151 151
 		},
152 152
 		form: function() {
153 153
 			itp_fn_form_event.onKeyup('#ITP_FORM_STOCKMNG04011_DETAIL');
@@ -177,8 +177,8 @@ let pageObj = {
177 177
 						case 'ITP_BTN_STOCKMNG04011_MODIFY'				: modifyObj.button.modify();	break;	// 수정 버튼
178 178
 						case 'ITP_BTN_STOCKMNG04011_CANCELLIST'			: modifyObj.button.cancel(); 	break;	// 취소/목록 버튼
179 179
 						case 'ITP_BTN_STOCKMNG04011_SAVE'				: modifyObj.button.save(); 		break;	// 저장 버튼
180
-						case 'ITP_BTN_STOCKMNG04011_DETAIL_ADDROW'		: locInfoObj.button.addRow();	break;	// 상세:추가버튼
181
-						case 'ITP_BTN_STOCKMNG04011_DETAIL_DELROW'		: locInfoObj.button.delRow();	break;	// 상세:삭제버튼
180
+						//case 'ITP_BTN_STOCKMNG04011_DETAIL_ADDROW'		: locInfoObj.button.addRow();	break;	// 상세:추가버튼
181
+						//case 'ITP_BTN_STOCKMNG04011_DETAIL_DELROW'		: locInfoObj.button.delRow();	break;	// 상세:삭제버튼
182 182
 						case 'ITP_BTN_STOCKMNG04011_DETAIL_ADDRESS_SEARCH'		: modifyObj.button.address();	break;	// 신규등록 주소 찾기
183 183
 					}
184 184
 				});
@@ -393,6 +393,10 @@ let modifyObj = {
393 393
 		$('#ITP_FORM_STOCKMNG04011_DETAIL .fnRegDtm').text(result.sysRegDttm);
394 394
 		
395 395
 		$('#ITP_FORM_STOCKMNG04011_DETAIL #ITP_FORM_STOCKMNG04011_DETAIL_WHS_ST_CD').val(result.whsStCd);
396
+		$('#ITP_FORM_STOCKMNG04011_DETAIL .fnWhsStNm').text(result.whsStNm);
397
+		
398
+		
399
+		
396 400
 		$('#ITP_FORM_STOCKMNG04011_DETAIL #ITP_FORM_STOCKMNG04011_DETAIL_WHS_NM').val(result.whsNm);
397 401
 		$('#ITP_FORM_STOCKMNG04011_DETAIL #ITP_FORM_STOCKMNG04011_DETAIL_WHS_NM').val(result.whsNm);
398 402
 		$('#ITP_FORM_STOCKMNG04011_DETAIL #ITP_FORM_STOCKMNG04011_DETAIL_MGR_TEL_NO').val(result.mgrTelNo);
@@ -482,12 +486,10 @@ let locInfoObj = {
482 486
 	},
483 487
 	button: {
484 488
 		addRow: function() {
485
-			// $(STOCKMNG04011_DETAIL_GRID_ID).jqGrid('addRow', {position: 'last'});
486
-			// $(STOCKMNG04011_DETAIL_GRID_EMPTY).hide();
487
-			STOCKMNG04011_DETAIL_GRID_LAST_ROW_ID = itp_fn_add_grid_row(STOCKMNG04011_DETAIL_GRID_ID, undefined, ['location'],'STOCKMNG04011_DETAIL');
489
+			//STOCKMNG04011_DETAIL_GRID_LAST_ROW_ID = itp_fn_add_grid_row(STOCKMNG04011_DETAIL_GRID_ID, undefined, ['location'],'STOCKMNG04011_DETAIL');
488 490
 		},
489 491
 		delRow: function() {
490
-			itp_fn_grid_del_row(STOCKMNG04011_DETAIL_GRID_ID);
492
+			//itp_fn_grid_del_row(STOCKMNG04011_DETAIL_GRID_ID);
491 493
 		}
492 494
 	},
493 495
 	make: function() {