Browse Source

재고관리-재고관리 재고처리 팝업 세부수정

yhl88 2 years ago
parent
commit
8fa0c54b64

+ 9 - 9
src/main/webapp/app/popup/biz/BIZPOP_PO_STOCK_PROC.html

@@ -18,36 +18,36 @@
18 18
 							
19 19
 								<div class="form-group">
20 20
 									<label class="col-xs-2 itp_lb sw">창고명</label>
21
-									<div class="col-xs-3 col_3 itp_ip fnWhsNm"></div>
21
+									<div class="col-xs-3 col_3 itp_ip fnWhsNm" style="width: 181.438px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;"></div>
22 22
 									<label class="col-xs-2 itp_lb sw">로케이션</label>
23 23
 									<div class="col-xs-3 col_3 itp_ip fnLocationNm"></div>
24 24
 								</div>
25 25
 								<div class="form-group">
26 26
 									<label class="col-xs-2 itp_lb sw">품목번호</label>
27
-									<div class="col-xs-4 col_3 itp_ip fnItemId"></div>
27
+									<div class="col-xs-4 col_3 itp_ip fnItemId" style="text-align: center;"></div>
28 28
 									<label class="col-xs-2 itp_lb sw">품목명</label>
29
-									<div class="col-xs-4 col_3 itp_ip fnItemNm"></div>
29
+									<div class="col-xs-4 col_3 itp_ip fnItemNm" style="width: 161.438px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;"></div>
30 30
 								</div>
31 31
 								<div class="form-group">
32 32
 									<label class="col-xs-2 itp_lb sw">현재고</label>
33
-									<div class="col-xs-4 col_3 itp_ip fnStckQty"></div>
33
+									<div class="col-xs-4 col_3 itp_ip fnStckQty" style="text-align: right;"></div>
34 34
 									<label class="col-xs-2 itp_lb sw">관리등급</label>
35 35
 									<div class="col-xs-4 col_3 itp_ip"></div>
36 36
 								</div>
37 37
 								<div class="form-group">
38
-									<label class="col-xs-2 itp_lb sw">창고선택</label>
38
+									<label class="col-xs-2 itp_lb sw">이동창고선택</label>
39 39
 									<div class="col-xs-4 col_3 itp_ip">
40
-									<select id="ITP_FORM_PO_STOCK_PROC_POPUP_TARGET_WHS_ID" class="form-control itp_input" name="targetWhsId"></select>
40
+										<select id="ITP_FORM_PO_STOCK_PROC_POPUP_TARGET_WHS_ID" class="form-control itp_input" name="targetWhsId"></select>
41 41
 									</div>
42
-									<label class="col-xs-2 itp_lb sw">Location</label>
42
+									<label class="col-xs-2 itp_lb sw">> 로케이션</label>
43 43
 									<div class="col-xs-4 col_3 itp_ip">
44
-									<select id="ITP_FORM_PO_STOCK_PROC_POPUP_TARGET_LOCATION" class="form-control itp_input" name="targetLocation"></select>
44
+										<select id="ITP_FORM_PO_STOCK_PROC_POPUP_TARGET_LOCATION" class="form-control itp_input" name="targetLocation"></select>
45 45
 									</div>
46 46
 								</div>
47 47
 								<div class="form-group border colspan">
48 48
 									<label class="col-xs-2 itp_lb colspan sw">이동수량</label>
49 49
 									<div class="col-xs-4 col_3 itp_ip">
50
-									<input type="text" id="ITP_FORM_PO_STOCK_PROC_POPUP_MOVE_QTY" class="form-control itp_input" name="moveQty" onKeyup="this.value=this.value.replace(/[^0-9]/g,'');"/>
50
+										<input type="text" id="ITP_FORM_PO_STOCK_PROC_POPUP_MOVE_QTY" class="form-control itp_input" name="moveQty" data-key-up="comma" style="text-align: right;" maxlength="10"/>
51 51
 									</div>									
52 52
 								</div>								
53 53
 							</form>

+ 6 - 2
src/main/webapp/js/app/popup/biz/ITP_BIZPOP_PO_STOCK_PROC.js

@@ -15,6 +15,7 @@ var popPageObj = {
15 15
 	init: function () {
16 16
 		this.button();
17 17
 		this.change();
18
+		this.form();
18 19
 		//재고정보 조회
19 20
 		this.fnStockInfo();
20 21
 	},
@@ -28,7 +29,10 @@ var popPageObj = {
28 29
 		$('#ITP_BTN_PO_STOCK_PROC_SAVE_POP').on('click', function () {
29 30
 			popPageObj.fnStockProc();
30 31
 		});
31
-	}, 
32
+	},
33
+	form: function() {
34
+		itp_fn_form_event.onKeyup('#ITP_FORM_PO_STOCK_PROC_POPUP');
35
+	},
32 36
 	change: function() {
33 37
 		$('#ITP_FORM_PO_STOCK_PROC_POPUP_TARGET_WHS_ID').on('change', function () {
34 38
 			popPageObj.fnLocationList();
@@ -49,7 +53,7 @@ var popPageObj = {
49 53
 		$('#ITP_FORM_PO_STOCK_PROC_POPUP .fnLocationNm').text(result.locationNm);
50 54
 		$('#ITP_FORM_PO_STOCK_PROC_POPUP .fnItemId').text(result.itemId);
51 55
 		$('#ITP_FORM_PO_STOCK_PROC_POPUP .fnItemNm').text(result.itemNm);
52
-		$('#ITP_FORM_PO_STOCK_PROC_POPUP .fnStckQty').text(result.stckQty);
56
+		$('#ITP_FORM_PO_STOCK_PROC_POPUP .fnStckQty').text(result.stckQty.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ','));
53 57
 		
54 58
 		// 창고 및 로케이션 리스트
55 59
 		popPageObj.fnWhsList(function() {

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

@@ -191,11 +191,11 @@
191 191
 	<div id="ITP_WRAPPER">
192 192
 		<!-- <div id="ITP_OVERLAY"></div> -->
193 193
 
194
-		<!-- 상단 -->
194
+		<!-- 상단 -->
195 195
 		<header id="ITP_HEADER">
196 196
 			<div class="itp_head bg-orange">
197 197
 				<h1 class="text-center itp_tit">
198
-					<span id="ITP_TXT_MAIN_SHR_AFFL" style="display: inline-block; width: 200px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;">오더퀸</span>
198
+					<span id="ITP_TXT_MAIN_SHR_AFFL" style="display: inline-block; width: 150px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;">오더퀸</span>
199 199
 					<span style="font-size: 18px; margin-top: -3px">|</span>
200 200
 					<span style="font-size: 14px">수발주시스템</span>
201 201
 				</h1>