Browse Source

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

yhl88 2 years ago
parent
commit
dadd872996

+ 5 - 5
src/main/webapp/app/oper/OPER01010.html

@@ -2,11 +2,11 @@
2 2
 	<div class="itp_cont">
3 3
 		<article class="itp_detail">
4 4
 			<div class="itp_det_head fix">
5
-				<h2 class="pull-left itp_det_tit"><i class="glyphicon glyphicon-chevron-right"></i> <strong>사용자관리</strong></h2>
5
+				<h2 class="pull-left itp_det_tit"><i class="glyphicon glyphicon-chevron-right"></i><i class="glyphicon glyphicon-chevron-right"></i> <strong>사용자관리</strong></h2>
6 6
 				<div class="pull-right itp_cicon">
7
-					<button type="button" id="ITP_BTN_OPER01010_SRH" class="btn btn-success btn-sm SEB" style="display: inline-block;"><i class="glyphicon "></i>&nbsp;&nbsp;조회&nbsp;&nbsp;</button>
7
+					<button type="button" id="ITP_BTN_OPER01010_SRH" class="btn btn-success btn-sm SEB" style="display: inline-block;"><i class="glyphicon glyphicon-search"></i>조회</button>
8 8
 					<button type="button" id="ITP_BTN_OPER01010_MODIFY" class="btn btn-success btn-sm UPB" style="display: inline-block;"><i class="glyphicon "></i>&nbsp;&nbsp;수정&nbsp;&nbsp;</button>
9
-					<button type="button" id="ITP_BTN_OPER01010_NEWREG" class="btn btn-primary btn-sm NEB" style="display: inline-block;"><i class="glyphicon "></i>&nbsp;&nbsp;신규등록&nbsp;&nbsp;</button>
9
+					<button type="button" id="ITP_BTN_OPER01010_NEWREG" class="btn btn-primary btn-sm NEB" style="display: inline-block;"><i class="glyphicon "></i>신규등록</button>
10 10
 					<button type="button" id="ITP_BTN_OPER01010_DELETE" class="btn btn-danger btn-sm DEB"><i class="glyphicon "></i>&nbsp;&nbsp;삭제&nbsp;&nbsp;</button>
11 11
 					<button type="button" id="ITP_BTN_OPER01010_SAVE" class="btn btn-success btn-sm SAB"><i class="glyphicon "></i>&nbsp;&nbsp;저장&nbsp;&nbsp;</button>
12 12
 					<button type="button" id="ITP_BTN_OPER01010_CANCELLIST" class="btn btn-warning btn-sm PRB"><i class="glyphicon "></i>&nbsp;&nbsp;취소/목록&nbsp;&nbsp;</button>
@@ -25,8 +25,8 @@
25 25
 											<input type="text" id="ITP_FORM_OPER01010_SEARCH_AFFL_SHOP_NM" class="form-control itp_input" name="safflShopNm" placeholder="가맹점" />
26 26
 										</div>
27 27
 										<div class="col-xs-1 itp_in" style="width:8%; padding:0px;">
28
-											<button type="button" id="ITP_FORM_OPER01010_SEARCH_AFFL_SHOP" class="btn btn-success btn-sm SEB" style="display: inline-block;"><i class="glyphicon glyphicon-search"></i></button>
29
-											<button type="button" id="ITP_FORM_OPER01010_DELETE_AFFL_SHOP" class="btn btn-primary btn-sm UPB" style="display: inline-block;"><i class="glyphicon glyphicon-erase"></i></button>
28
+											<button type="button" id="ITP_FORM_OPER01010_SEARCH_AFFL_SHOP" class="btn btn-orange btn-sm SEB" style="display: inline-block;"><i class="glyphicon glyphicon-search"></i></button>
29
+											<button type="button" id="ITP_FORM_OPER01010_DELETE_AFFL_SHOP" class="btn btn-warning btn-sm UPB" style="display: inline-block;"><i class="glyphicon glyphicon-erase"></i></button>
30 30
 						                </div>
31 31
 										<div class="col-xs-2 itp_ip itp_noMar">
32 32
 											<select id="ITP_FORM_OPER01010_SEARCH_BRAND_ID" class="form-control itp_input" name="sbrandId"></select>

File diff suppressed because it is too large
+ 11 - 2
src/main/webapp/bootstrap/dist/css/bootstrap.min.css


+ 40 - 22
src/main/webapp/css/style.css

@@ -2,11 +2,16 @@
2 2
 @media print {
3 3
 	*{visibility: hidden; margin:0; paddig:0;}
4 4
 }
5
-
5
+@font-face {
6
+    font-family: 'GmarketSansMedium';
7
+    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansMedium.woff') format('woff');
8
+    font-weight: normal;
9
+    font-style: normal;
10
+}
6 11
 
7 12
 /* COMMON */
8 13
 html, body {width:100%; height:100%; background:#eee; overflow-y:hidden;}
9
-* {word-break: break-word}
14
+* {word-break: break-word; font-family: 'GmarketSansMedium';}
10 15
 textarea {resize:none;}
11 16
 a, button {outline:none !important; text-decoration:none !important;}
12 17
 .fix:after {content:"."; display:block; height:0; clear:both; visibility:hidden;}
@@ -83,24 +88,26 @@ a, button {outline:none !important; text-decoration:none !important;}
83 88
 .has-error.radio label, .has-error.radio-inline label {margin-bottom:0px;}
84 89
 .has-error .help-block {font-size:12px;}
85 90
 
91
+
86 92
 /* ITP_WRAPPER */
87 93
 #ITP_WRAPPER {width:100%; height:100%; min-width:1400px;}
88 94
 #ITP_CONTENT_WRAPPER {width:100%;}
89 95
 #ITP_OVERLAY {position:fixed; display:none; width:100%; height:100%; top:0; left:0; right:0; bottom:0; background:rgba(250,250,250,.8); z-index:1060;}
90 96
 
91 97
 /* ITP_LOGIN */
92
-#ITP_LOGIN {width:100%; height:100%;}
93
-#ITP_LOGIN .itp_head {margin-bottom:8px; letter-spacing:-1px;}
94
-#ITP_LOGIN .itp_bar {margin:0; padding:0; float:left; margin:0 15px 0 15px; font-size:22px;}
95
-#ITP_LOGIN .itp_logo {margin:0; padding:0; color:#337ab7; float:left;}
96
-#ITP_LOGIN .itp_tit {margin:0; padding:7px 0 0 0; float:left; font-size:22px;}
98
+#ITP_LOGIN {width:100%; height:100%; font-family: 'GmarketSansMedium'}
99
+#ITP_LOGIN .itp_head {margin:0 5%; letter-spacing:-1px; width:90%; height:40px; margin-bottom:50px;}
100
+#ITP_LOGIN .itp_bar {width:4px; height:26px; padding:0; float:left; margin:8px 7px 0 7px; font-size:27px; font-weight:100; background:#ccc;}
101
+#ITP_LOGIN .itp_logo {margin:0; padding:0; color:#000; font-size:39px; float:left; font-weight:700;}
102
+#ITP_LOGIN .itp_tit {margin:0; padding:7px 0 0 0; float:left; font-size:27px;}
97 103
 #ITP_LOGIN .itp_cont {width:100%; min-height:calc(100vh - 115px); padding:170px 20px 150px 20px; position:relative;}
98
-#ITP_LOGIN .itp_box_wrap {width:600px; height:365px; position:absolute; top:50%; left:50%; margin:-182px 0 0 -300px;}
99
-#ITP_LOGIN .itp_box {padding:20px 20px 0 20px; margin-bottom:0; border-bottom-left-radius:0; border-bottom-right-radius:0; border-bottom:0;}
104
+#ITP_LOGIN .itp_box_wrap {width:450px; height:600px; position:absolute; top:55%; left:50%; transform: translate(-50%, -50%);}
105
+#ITP_LOGIN .itp_bottom_gray {background:#eee; width:100%; height:65px; top:-65px; border-bottom-left-radius: 30px;border-bottom-right-radius: 30px;}
106
+#ITP_LOGIN .itp_box {padding:20px 20px 0 20px; height:580px; margin-bottom:0; border-radius:30px; box-shadow: 0px 0px 10px #666;}
100 107
 #ITP_LOGIN .itp_body {padding-bottom:0;}
101 108
 #ITP_LOGIN .itp_box .control-label {text-align:left;}
102 109
 #ITP_LOGIN .itp_box .itp_lb {padding-top:7px;}
103
-#ITP_LOGIN .itp_box .itp_btn {line-height:6.15; width:100%;}
110
+#ITP_LOGIN .itp_box .itp_btn {line-height:1.8; margin:0 5%; width:90%;}
104 111
 #ITP_LOGIN .itp_box .form-group .checkbox input[type=checkbox] {margin-top:3px;}
105 112
 #ITP_LOGIN .itp_error {padding-top:15px; color:#a94442;}
106 113
 #ITP_LOGIN .itp_no_mar {margin-bottom:0 !important;}
@@ -109,16 +116,27 @@ a, button {outline:none !important; text-decoration:none !important;}
109 116
 #ITP_LOGIN .itp_copyright {font-size:12px;}
110 117
 #ITP_LOGIN .itp_forgotId {width:82%;}
111 118
 #ITP_LOGIN .itp_forgotBtn {border-top-right-radius:4px; border-bottom-right-radius:4px;}
119
+#ITP_LOGIN .itp_login {height:50px;}
120
+#ITP_LOGIN .itp_find {margin-top:34px; font-weight:100; cursor:pointer;}
121
+#ITP_LOGIN .itp_btn_bar {margin-top:10px;}
122
+#ITP_LOGIN .itp_login_img {width:100%; padding:0 auto;}
123
+#ITP_LOGIN .itp_img{width:150px; height:150px; top:-50px; position: absolute; margin:0 33.3%;}
124
+#ITP_LOGIN .itp_login_input label {position:absolute; top:50%; left:27px; color:#adadad; transform:translateY(-50%); font-size: 12px; border: none; outline:none; transition: top .5s ease;}
125
+#ITP_LOGIN .itp_login_input {width:90%; margin:0 5%; position:relative;}
126
+#ITP_LOGIN .itp_login_input input {width:100%; padding:20px 10px 10px; outline:none; border-radius:7px; background:#eee;}
127
+#ITP_LOGIN .itp_login_input input:focus + label {top:15px; font-size:8px; color: #2691d9;}
128
+#ITP_LOGIN .itp_login_input input:valid + label {top:15px; font-size:8px; color: #2691d9;}
129
+#ITP_LOGIN .itp_login_input:not(:placeholder-shown) ~ label{top:0px; font-size:12px;}
112 130
 
113 131
 /* ITP_HEADER */
114
-#ITP_HEADER .itp_head {width:100%; height:36px; position:relative; line-height:36px; z-index:100;}
115
-#ITP_HEADER .itp_tit {margin:0; padding:0; line-height:36px; font-size:20px;}
132
+#ITP_HEADER .itp_head {font-family: 'GmarketSansMedium';width:100%; height:50px; position:relative; line-height:50px; z-index:100;}
133
+#ITP_HEADER .itp_tit {margin:0; padding:0; line-height:50px; font-size:20px;}
116 134
 #ITP_HEADER .itp_tit span {display: inline-block; vertical-align: middle}
117 135
 #ITP_HEADER .itp_lt {position:absolute; top:0px; left:10px;}
118 136
 #ITP_HEADER .itp_rt {position:absolute; top:0px; right:20px;}
119 137
 #ITP_HEADER .itp_icon {float:left; padding-top:3px; margin-right:10px;}
120 138
 #ITP_HEADER .itp_icon i {color:#fff; font-size:20px;}
121
-#ITP_HEADER .itp_icon i.glyphicon-home {font-size:18px;}
139
+#ITP_HEADER .itp_icon img.glyphicon-logo {width:30px; margin-top:-7px;}
122 140
 #ITP_HEADER .itp_icon i.glyphicon-user {font-size:18px;}
123 141
 #ITP_HEADER .itp_icon i.glyphicon-off {font-size:18px;}
124 142
 #ITP_HEADER .itp_user {float:left; font-size:16px; margin-left:15px;}
@@ -130,13 +148,13 @@ a, button {outline:none !important; text-decoration:none !important;}
130 148
 #ITP_HEADER .itp_sch_brand button{width:90px; border:1px solid #000;}
131 149
 #ITP_HEADER .itp_menu {float:left; border:1px solid #ddd; line-height: 26px; background:#eee;margin:4px; border-radius: 2px; padding:0 4px;}
132 150
 #ITP_HEADER .itp_menu a {color:#000; font-size:13px; text-decoration:none;}
133
-#ITP_HEADER .itp_out {float:left; border:1px solid #000; line-height: 27px; background:#666; margin:4px; border-radius: 2px; padding:0 4px;}
134
-#ITP_HEADER .itp_out a {color:#fff; font-size:13px; text-decoration:none;}
135
-#ITP_HEADER .itp_tabs {position:relative; z-index:100;}
151
+#ITP_HEADER .itp_out {width:70px; height:30px;  float:left; border:1px solid #333; line-height: 28px; background:#fff; margin-top:10px; border-radius: 10px; padding:0 4px;}
152
+#ITP_HEADER .itp_out a {padding:8.4px; color:#000; font-size:11px; text-decoration:none;}
153
+#ITP_HEADER .itp_tabs {position:relative; z-index:100; transition:all .25s ease; float:right; width:calc(100% - 240px);}
136 154
 #ITP_HEADER .itp_tabs .nav-tabs {padding:4px 4px 0 4px; background:#fff;}
137
-#ITP_HEADER .itp_tabs .nav-tabs > li a {border:1px solid #ddd; background:#f5f5f5; font-size:12px; color:#333; padding:5px 13px 5px 15px; margin-right:4px; outline:none;}
155
+#ITP_HEADER .itp_tabs .nav-tabs > li a {border:1px solid #ddd; background:#f5f5f5; font-size:12px; color:#666; padding:5px 13px 5px 15px; margin-right:4px; outline:none;}
138 156
 #ITP_HEADER .itp_tabs .nav-tabs > li a i.glyphicon-remove {font-size:10px; margin-left:4px; cursor:pointer;}
139
-#ITP_HEADER .itp_tabs .nav-tabs > li.active > a, .nav-tabs > li.active > a:focus, .nav-tabs > li.active > a:hover {background:#D6E6F3; color:#000; border:1px solid #1A3E5E; border-bottom-color:transparent;}
157
+#ITP_HEADER .itp_tabs .nav-tabs > li.active > a, .nav-tabs > li.active > a:focus, .nav-tabs > li.active > a:hover {background:#fff; color:#666; border:1px solid #ccc; border-bottom-color:transparent; font-weight:700;}
140 158
 #ITP_HEADER .itp_tabs .nav-tabs > li > a:hover {background:#D6E6F3 !important; border:1px solid #1A3E5E; border-bottom-color:transparent; color:#000;}
141 159
 
142 160
 /* ITP_SIDEBAR */
@@ -164,7 +182,7 @@ a, button {outline:none !important; text-decoration:none !important;}
164 182
 #ITP_SIDEBAR .itp_nav .itp_svgs li a .itp_tt {float:left;}
165 183
 
166 184
 /* ITP_CONTAINER */
167
-#ITP_CONTAINER {height:calc(100vh - 69px); padding:8px; transition:all .25s ease; float:left; width:calc(100% - 240px);}
185
+#ITP_CONTAINER {height:calc(100vh - 69px); padding:8px; transition:all .25s ease; float:left; width:calc(100% - 240px);background:#fff;}
168 186
 #ITP_CONTAINER.itp_open_conts {padding-left:8px; width:100%;}
169 187
 #ITP_CONTAINER .itp_contents {background:#fff; height:100%;}
170 188
 #ITP_CONTAINER .itp_contents .itp_sec {height:100%;}
@@ -221,9 +239,9 @@ a, button {outline:none !important; text-decoration:none !important;}
221 239
 #ITP_CONTAINER .itp_adv_srh .form-group .itp_adv_chk .itp_check {float:right; margin-left:10px;}
222 240
 #ITP_CONTAINER .itp_detail {display:table-cell; vertical-align:top; height:100%;}
223 241
 
224
-#ITP_CONTAINER .itp_detail .itp_det_head {padding:0 4px 0 4px; height:42px; background:#eee;}
242
+#ITP_CONTAINER .itp_detail .itp_det_head {padding:0 4px 0 4px; height:42px; background:#fff;}
225 243
 #ITP_CONTAINER .itp_detail .itp_det_head .itp_det_tit {font-size:15px; margin:0; padding:0; line-height:42px;}
226
-#ITP_CONTAINER .itp_detail .itp_det_head .itp_det_tit .glyphicon {color:#337ab7; margin-right:4px;}
244
+#ITP_CONTAINER .itp_detail .itp_det_head .itp_det_tit .glyphicon {color:#F0831E; margin-right:4px;}
227 245
 
228 246
 #ITP_CONTAINER .itp_detail .itp_det_in {padding:15px 20px 15px 20px; height:calc(100vh - 127px); overflow-y:scroll;}
229 247
 #ITP_CONTAINER .itp_detail .itp_cicon {line-height:32px; height:32px;}
@@ -283,7 +301,7 @@ html:lang(en) #ITP_CONTAINER .itp_detail .itp_form .itp_thumb_inline .itp_thumb_
283 301
 
284 302
 #ITP_CONTAINER .itp_detail .itp_lg_form {padding-top:10px;}
285 303
 #ITP_CONTAINER .itp_detail .itp_lg_form.itp_type1 {padding-left:15px; padding-right:15px; padding-bottom:15px; }
286
-#ITP_CONTAINER .itp_detail .itp_lg_form.itp_type1 .itp_srh_border {border:1px solid #ddd; background:#f5f5f5; padding:15px 15px 5px 10px; border-radius:4px;}
304
+#ITP_CONTAINER .itp_detail .itp_lg_form.itp_type1 .itp_srh_border {border:1px solid #ddd; background:#fff; padding:15px 15px 5px 10px; border-radius:4px;box-shadow: 0px 0px 6px #ddd;}
287 305
 #ITP_CONTAINER .itp_detail .itp_lg_form .form-group {margin-bottom:10px;}
288 306
 #ITP_CONTAINER .itp_detail .itp_lg_form .form-control {font-size:13px; color:#333;}
289 307
 #ITP_CONTAINER .itp_detail .itp_lg_form .itp_lb {font-size:13px; padding-top:5px; padding-right:0; color:#333; position:relative;}

+ 4 - 2
src/main/webapp/css/ui.jqgrid-bootstrap.css

@@ -1028,7 +1028,9 @@ td.menu_text {
1028 1028
 	background-color:inherit;
1029 1029
 }
1030 1030
 .ui-jqgrid input[type=checkbox] {width:15px; height:15px;}
1031
+
1031 1032
 .ui-jqgrid .jqgrid-rownum {background:#fff !important;}
1032
-.ui-jqgrid .jqgrid-rownum {background:#fff !important;}
1033
+.ui-jqgrid .jqgrid-rownum:nth-child(even) {background:#f5f5f5 !important;}
1033 1034
 .table>tbody>tr.success .jqgrid-rownum {background:#dff0d8 !important;}
1034
-.table>tbody>tr.active .jqgrid-rownum {background:#f5f5f5 !important;}
1035
+.table>tbody>tr.success .jqgrid-rownum:checked {background:#dff0d8 !important;}
1036
+.table>tbody>tr.active .jqgrid-rownum {background:#e8e8e8 !important;}

BIN
src/main/webapp/images/oqpo.png


BIN
src/main/webapp/images/oqpologo.png


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

@@ -54,7 +54,7 @@ var itp_fn_MAIN_NOTICE_grid = {
54 54
 				{
55 55
 					index: 'NTICE_TITL', name: 'nticeTitl',
56 56
 					label: '공지사항', //공지제목
57
-					width: '15', fixed: false, align: 'center',
57
+					width: '15', fixed: false, align: 'left',
58 58
 					sortable: false, hidden: false
59 59
 				},
60 60
 				{

+ 5 - 4
src/main/webapp/js/app/oper/ITP_OPER01010.js

@@ -53,25 +53,25 @@ const gridColModel = {
53 53
 		{
54 54
 			index: 'AFFL_SHOP_NM', name: 'afflShopNm',
55 55
 			label: ITP_MSG_LOCALE.label.afflShopNm, //가맹점
56
-			width: '10', fixed: false, align: 'center',
56
+			width: '10', fixed: false, align: 'left',
57 57
 			sortable: false, hidden: false
58 58
 		},
59 59
 		{
60 60
 			index: 'BRAND_NM', name: 'brandNm',
61 61
 			label: ITP_MSG_LOCALE.label.brandNm, //브랜드
62
-			width: '13', fixed: false, align: 'center',
62
+			width: '13', fixed: false, align: 'left',
63 63
 			sortable: false, hidden: false
64 64
 		},
65 65
 		{
66 66
 			index: 'USER_ID', name: 'userId',
67 67
 			label: ITP_MSG_LOCALE.label.userId, //사용자ID
68
-			width: '10', fixed: false, align: 'center',
68
+			width: '10', fixed: false, align: 'left',
69 69
 			sortable: false, hidden: false
70 70
 		},
71 71
 		{
72 72
 			index: 'USER_NM', name: 'userNm',
73 73
 			label: ITP_MSG_LOCALE.label.userName, //닉네임
74
-			width: '13', fixed: false, align: 'center',
74
+			width: '13', fixed: false, align: 'left',
75 75
 			sortable: false, hidden: false
76 76
 		},
77 77
 		{
@@ -427,6 +427,7 @@ let listObj = {
427 427
 					}
428 428
 				},
429 429
 				loadComplete: function(data) {
430
+					$("tr.jqgrow:odd").css("background", "#f5f5f5");
430 431
 					console.log(data);
431 432
 					itp_fn_grid_load_complete(data, OPER01010_GRID_ID, true, 'number', 'OPER01010', listObj.itp_OPER01010_search, _this.itp_fn_OPER01010_empty, true, data.gridRecords, true);
432 433
 					var ids = $(OPER01010_GRID_ID).getDataIDs();

+ 27 - 24
src/main/webapp/login.html

@@ -30,39 +30,36 @@
30 30
 		<div class="itp_cont">
31 31
 			<div class="container">
32 32
 				<div class="itp_box_wrap">
33
-					<div class="itp_head fix">
34
-						<h1 class="itp_logo">오더퀸</h1>
35
-						<span class="itp_bar">|</span>
36
-						<h2 class="text-center itp_tit">수발주시스템</h2>
33
+					<div class="itp_login_img">
34
+						<img src="/oqpo-view/images/oqpologo.png" alt="로고" id="ITP_LOGIN_BRAND_LOGO" class="itp_img" name="" >
37 35
 					</div>
38 36
 					<div class="panel panel-default itp_box">
39 37
 						<div class="panel-body itp_body">
40 38
 							<form id="command" class="form-horizontal" action="" method="post" onsubmit="return false;">
41 39
 								<input id="userId" name="userId" type="hidden" value="" />
42 40
 	        					<input id="password" name="password" type="hidden" value="" />
43
-
44
-								<div class="row">
45
-									<div class="col-xs-9">
46
-										<div class="form-group">
47
-											<label class="col-xs-3 itp_lb">아이디</label>
48
-											<div class="col-xs-9">
49
-												<input type="text" class="form-control" id="ITP_FORM_LOGIN_USER_ID" autofocus>
50
-											</div>
41
+								<div class="row" style="margin-top:100px;">
42
+									<div class="col-xs-12 itp_login_input">
43
+										<div class="itp_head">
44
+											<h1 class="itp_logo">오더퀸</h1>
45
+											<span class="itp_bar">&nbsp;</span>
46
+											<h2 class="text-center itp_tit">수발주시스템</h2>
51 47
 										</div>
48
+									</div>	
49
+									<div class="col-xs-12">
52 50
 										<div class="form-group">
53
-											<label class="col-xs-3 itp_lb">비밀번호</label>
54
-											<div class="col-xs-9">
55
-												<input type="password" class="form-control" id="ITP_FORM_LOGIN_USER_PW" autocomplete="off">
51
+											<div class="col-xs-11 itp_login_input">
52
+												<input type="text" class="form-control itp_login" id="ITP_FORM_LOGIN_USER_ID" autofocus required="">
53
+												<label>아이디</label>
56 54
 											</div>
57 55
 										</div>
58 56
 										<div class="form-group">
59
-											<div class="col-xs-offset-3 col-xs-9">
60
-												<div class="checkbox pull-left">
61
-													<label><input type="checkbox" id="ITP_FORM_LOGIN_SAVE_ID"> 아이디저장</label>
62
-												</div>
57
+											<div class="col-xs-11 itp_login_input">
58
+												<input type="password" class="form-control itp_login" id="ITP_FORM_LOGIN_USER_PW" required="" autocomplete="off">
59
+												<label>비밀번호</label>
63 60
 											</div>
64 61
 										</div>
65
-										<div class="form-group">
62
+										<div class="form-group" style="display: none;">
66 63
 											<div class="col-xs-offset-3 col-xs-9">
67 64
 												<p class="text-nowrap itp_error" id="ITP_FORM_LOGIN_ERROR">
68 65
 												아이디와 비밀번호를 입력하세요.
@@ -70,15 +67,21 @@
70 67
 											</div>
71 68
 										</div>
72 69
 									</div>
73
-									<div class="col-xs-3">
74
-										<button type="submit" id="login_btn" class="btn btn-primary btn-lg itp_btn">로그인</button>
70
+									<div class="col-xs-12 itp_btn_bar">
71
+										<button type="submit" id="login_btn" class="btn btn-orange btn-lg itp_btn">로그인</button>
72
+									</div>
73
+									<div class="col-xs-12 itp_login_input">
74
+										<div class="form-group">
75
+											<div class="col-xs-12 itp_find">
76
+												<span>아이디/비밀번호 찾기</span>
77
+											</div>
78
+										</div>
75 79
 									</div>
76 80
 								</div>
77 81
 							</form>
78 82
 						</div>
79 83
 					</div>
80
-					<div class="panel panel-default text-center itp_foot">본 시스템은 크롬 브라우저에 최적화 되어 있습니다.</div>
81
-					<div class="text-center itp_copyright">COPYRIGHT © NOORIJA Co., Ltd. ALL RIGHTS RESERVED</div>
84
+					<div class="col-xs-12 itp_bottom_gray"></div>
82 85
 				</div>
83 86
 			</div>
84 87
 		</div>

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

@@ -47,7 +47,7 @@
47 47
 
48 48
 		<!-- 상단 -->
49 49
 		<header id="ITP_HEADER">
50
-			<div class="itp_head bg-primary">
50
+			<div class="itp_head bg-orange">
51 51
 				<h1 class="text-center itp_tit">
52 52
 					<span id="ITP_TXT_MAIN_SHR_AFFL">오더퀸</span>
53 53
 					<span style="font-size: 18px; margin-top: -3px">|</span>
@@ -55,7 +55,7 @@
55 55
 				</h1>
56 56
 				<div class="itp_lt">
57 57
 					<span class="itp_icon"><a href="javascript:void(0)" id="ITP_BTN_MENU"><i class="glyphicon glyphicon-align-justify"></i></a></span>
58
-					<span class="itp_icon"><a href="javascript:void(0)" id="ITP_BTN_HOME"><i class="glyphicon glyphicon-home"></i></a></span>
58
+					<span class="itp_icon"><a href="javascript:void(0)" id="ITP_BTN_HOME"><img src="/oqpo-view/images/oqpo.png" alt="로고" id="ITP_LOGIN_BRAND_LOGO" class="glyphicon-logo" name="" ></a></span>
59 59
 					<span class="itp_user" id="ITP_LOGIN_USER" style="cursor: pointer;"></span>
60 60
 				</div>
61 61
 				<div class="itp_rt">

+ 2 - 1
src/main/webapp/mobile/app/mrtnmng/MRTNMNG04010.html

@@ -212,7 +212,8 @@
212 212
 				</div>
213 213
 			</div>
214 214
 			<div class="button_bar">
215
-				<button id="ITP_BTN_MRTNMNG04010_VIEW_CANCEL_LIST" class="col_12 btn-gray CLB">취소</button>
215
+				<button id="ITP_BTN_MRTNMNG04010_VIEW_RTN_PO_CANCEL" class="col_6 btn-gray CLB">반품취소</button>
216
+				<button id="ITP_BTN_MRTNMNG04010_VIEW_CANCEL_LIST" class="col_6 btn-gray CLB">목록</button>
216 217
 			</div>
217 218
 		</form>
218 219
 	</div>

+ 44 - 44
src/main/webapp/mobile/app/mrtnmng/MRTNMNG05010.html

@@ -1,49 +1,12 @@
1 1
 <section id="ITP_MOBILE_MRTNMNG05010">
2
-	<div id="ITP_POP_MRTNMNG05010_WHS_AREA" class="popup2 mobile-pop-close" style="display: none;">
3
-		<div class="pop">
4
-			<div class="header">
5
-				<div class="header_left">
6
-					<label>> 납품장소</label>
7
-				</div>
8
-				<div class="header_right">
9
-					<button type="button" id="ITP_BTN_MRTNMNG05010_POP_WHS_CLOSE"><img src="../img/close.png"></button>
10
-				</div>
11
-			</div>
12
-			<div class="search_bar">
13
-				<form id="ITP_FORM_MRTNMNG05010_POP_WHS" class="form-horizontal" onsubmit="return false;">
14
-					<input type="hidden" id="ITP_FORM_MRTNMNG05010_WHS_ITEM_BRAND_ID" name="sbrandId" value="">
15
-					<input type="hidden" id="ITP_FORM_MRTNMNG05010_WHS_ITEM_STORE_ID" name="sstoreId" value="">
16
-					<input id="ITP_FORM_MRTNMNG05010_POP_WHS_KEYWORD" type="text" name="swhsNm" placeholder="납품장소명">
17
-					<button id="ITP_BTN_MRTNMNG05010_POP_WHS_SEARCH"><img src="../img/search.png"></button>
18
-				</form>
19
-			</div>
20
-			<div class="search_bar">
21
-				<button id="ITP_BTN_MRTNMNG05010_POP_WHS_NM" class="btn_blue">납품장소▼</button>
22
-			</div>
23
-			<div id="ITP_LIST_MRTNMNG05010_POP_WHS_AREA" class="popup_scroll">
24
-				<ul id="ITP_LIST_MRTNMNG05010_POP_WHS_ROWS" class="panel-group itp_nav"></ul>
25
-				<div id="ITP_LIST_MRTNMNG05010_POP_WHS_ROWCOPY" style="display:none;">
26
-					<li class="list-row">
27
-						<div class="scroll_left">
28
-							<div class="fnWhsNm">브랜드 창고 명A</div>
29
-							<div class="fnLocationNm">(상세위치내용)</div>
30
-						</div>
31
-						<div class="scroll_right">
32
-							<button id="ITP_BTN_MRTNMNG05010_POP_WHS_CHOICE" class="fnWhsId" data-whs-id="">선택</button>
33
-						</div>
34
-					</li>
35
-				</div>
36
-			</div>
37
-		</div>
38
-	</div>
39 2
 	<div id="ITP_AJAX_MRTNMNG05010_LIST_CONTAINER" >
40 3
 		<form id="ITP_FORM_MRTNMNG05010_LIST_SEARCH" class="form-horizontal" onsubmit="return false;">
41
-			<input type="hidden" id="ITP_FORM_MPOMNG02010_LIST_SEARCH_BRAND_ID" name="sbrandId" value="">
42
-			<input type="hidden" id="ITP_FORM_MPOMNG02010_LIST_SEARCH_STORE_ID" name="sstoreId" value="">
43
-			<input type="hidden" id="ITP_FORM_MPOMNG02010_LIST_SEARCH_IDX" name="sidx" value="0">
4
+			<input type="hidden" id="ITP_FORM_MRTNMNG05010_LIST_SEARCH_BRAND_ID" name="sbrandId" value="">
5
+			<input type="hidden" id="ITP_FORM_MRTNMNG05010_LIST_SEARCH_STORE_ID" name="sstoreId" value="">
6
+			<input type="hidden" id="ITP_FORM_MRTNMNG05010_LIST_SEARCH_IDX" name="sidx" value="0">
44 7
 			<div class="content">
45 8
 				<div class="line">
46
-					<label>반품예정일</label>
9
+					<label>수거예정일</label>
47 10
 					<div class="date_to">
48 11
 						<!--<input type="text" id="ITP_FORM_MRTNMNG05010_LIST_SEARCH_FROM_DT" class="form-control itp_input" name="fromDt" readonly>
49 12
 						<span class="input-group-addon itp_date_to">~</span>
@@ -55,10 +18,10 @@
55 18
 					</div>
56 19
 				</div>
57 20
 				<div class="line">
58
-					<label>반품서번호</label>
21
+					<label>수거서번호</label>
59 22
 					<div class="search_wrap">
60 23
 						<div class="float_left">
61
-							<input id="ITP_FORM_MRTNMNG05010_LIST_SEARCH_RTN_PODR_UNQ_NO" name="srtnPodrUnqNo" style="width: 262px;" type="text" placeholder="">
24
+							<input id="ITP_FORM_MRTNMNG05010_LIST_SEARCH_RTN_PODR_UNQ_NO" name="scolPrckUnqNo" style="width: 262px;" type="text" placeholder="">
62 25
 						</div>
63 26
 					</div>
64 27
 				</div>
@@ -163,10 +126,47 @@
163 126
 				</div>
164 127
 			</div>
165 128
 			<div class="button_bar">
166
-				<button id="ITP_BTN_MRTNMNG05010_LIST_MODIFY" class="btn_col_6 btn-primary INPS">입고처리</button>
129
+				<button id="ITP_BTN_MRTNMNG05010_LIST_MODIFY" class="btn_col_6 btn-primary INPS">반품처리</button>
167 130
 				<!--<button id="ITP_BTN_MRTNMNG05010_LIST_CANCEL" class="btn_col_3 btn-gray CLB">취소</button>-->
168 131
 			</div>
169 132
 		</form>
170 133
 	</div>
171 134
 	<div id="ITP_MOBILE_JS"></div>
135
+	<div id="ITP_POP_MRTNMNG05010_WHS_AREA" class="popup2 mobile-pop-close" style="display: none;">
136
+		<div class="pop">
137
+			<div class="header">
138
+				<div class="header_left">
139
+					<label>> 납품장소</label>
140
+				</div>
141
+				<div class="header_right">
142
+					<button type="button" id="ITP_BTN_MRTNMNG05010_POP_WHS_CLOSE"><img src="../img/close.png"></button>
143
+				</div>
144
+			</div>
145
+			<div class="search_bar">
146
+				<form id="ITP_FORM_MRTNMNG05010_POP_WHS" class="form-horizontal" onsubmit="return false;">
147
+					<input type="hidden" id="ITP_FORM_MRTNMNG05010_WHS_ITEM_BRAND_ID" name="sbrandId" value="">
148
+					<input type="hidden" id="ITP_FORM_MRTNMNG05010_WHS_ITEM_STORE_ID" name="sstoreId" value="">
149
+					<input id="ITP_FORM_MRTNMNG05010_POP_WHS_KEYWORD" type="text" name="swhsNm" placeholder="납품장소명">
150
+					<button id="ITP_BTN_MRTNMNG05010_POP_WHS_SEARCH"><img src="../img/search.png"></button>
151
+				</form>
152
+			</div>
153
+			<div class="search_bar">
154
+				<button id="ITP_BTN_MRTNMNG05010_POP_WHS_NM" class="btn_blue">납품장소▼</button>
155
+			</div>
156
+			<div id="ITP_LIST_MRTNMNG05010_POP_WHS_AREA" class="popup_scroll">
157
+				<ul id="ITP_LIST_MRTNMNG05010_POP_WHS_ROWS" class="panel-group itp_nav"></ul>
158
+				<div id="ITP_LIST_MRTNMNG05010_POP_WHS_ROWCOPY" style="display:none;">
159
+					<li class="list-row">
160
+						<div class="scroll_left">
161
+							<div class="fnWhsNm">브랜드 창고 명A</div>
162
+							<div class="fnLocationNm">(상세위치내용)</div>
163
+						</div>
164
+						<div class="scroll_right">
165
+							<button id="ITP_BTN_MRTNMNG05010_POP_WHS_CHOICE" class="fnWhsId" data-whs-id="">선택</button>
166
+						</div>
167
+					</li>
168
+				</div>
169
+			</div>
170
+		</div>
171
+	</div>
172 172
 </section>

+ 39 - 39
src/main/webapp/mobile/app/mrtnmng/MRTNMNG06010.html

@@ -1,41 +1,4 @@
1 1
 <section id="ITP_MOBILE_MRTNMNG06010">
2
-	<div id="ITP_POP_MRTNMNG06010_WHS_AREA" class="popup2 mobile-pop-close" style="display: none;">
3
-		<div class="pop">
4
-			<div class="header">
5
-				<div class="header_left">
6
-					<label>> 납품장소</label>
7
-				</div>
8
-				<div class="header_right">
9
-					<button type="button" id="ITP_BTN_MRTNMNG06010_POP_WHS_CLOSE"><img src="../img/close.png"></button>
10
-				</div>
11
-			</div>
12
-			<div class="search_bar">
13
-				<form id="ITP_FORM_MRTNMNG06010_POP_WHS" class="form-horizontal" onsubmit="return false;">
14
-					<input type="hidden" id="ITP_FORM_MRTNMNG06010_WHS_ITEM_BRAND_ID" name="sbrandId" value="">
15
-					<input type="hidden" id="ITP_FORM_MRTNMNG06010_WHS_ITEM_STORE_ID" name="sstoreId" value="">
16
-					<input id="ITP_FORM_MRTNMNG06010_POP_WHS_KEYWORD" type="text" name="swhsNm" placeholder="납품장소명">
17
-					<button id="ITP_BTN_MRTNMNG06010_POP_WHS_SEARCH"><img src="../img/search.png"></button>
18
-				</form>
19
-			</div>
20
-			<div class="search_bar">
21
-				<button id="ITP_BTN_MRTNMNG06010_POP_WHS_NM" class="btn_blue">납품장소▼</button>
22
-			</div>
23
-			<div id="ITP_LIST_MRTNMNG06010_POP_WHS_AREA" class="popup_scroll">
24
-				<ul id="ITP_LIST_MRTNMNG06010_POP_WHS_ROWS" class="panel-group itp_nav"></ul>
25
-				<div id="ITP_LIST_MRTNMNG06010_POP_WHS_ROWCOPY" style="display:none;">
26
-					<li class="list-row">
27
-						<div class="scroll_left">
28
-							<div class="fnWhsNm">브랜드 창고 명A</div>
29
-							<div class="fnLocationNm">(상세위치내용)</div>
30
-						</div>
31
-						<div class="scroll_right">
32
-							<button id="ITP_BTN_MRTNMNG06010_POP_WHS_CHOICE" class="fnWhsId" data-whs-id="">선택</button>
33
-						</div>
34
-					</li>
35
-				</div>
36
-			</div>
37
-		</div>
38
-	</div>
39 2
 	<div id="ITP_AJAX_MRTNMNG06010_LIST_CONTAINER" >
40 3
 		<form id="ITP_FORM_MRTNMNG06010_LIST_SEARCH" class="form-horizontal" onsubmit="return false;">
41 4
 			<input type="hidden" id="ITP_FORM_MRTNMNG06010_LIST_SEARCH_BRAND_ID" name="sbrandId" value="">
@@ -54,7 +17,7 @@
54 17
 					<label>반품발주번호</label>
55 18
 					<div class="search_wrap">
56 19
 						<div class="line_right">
57
-							<input id="ITP_FORM_MRTNMNG06010_LIST_RTN_PODR_UNQ_NO" name="srtnPodrNo" type="text">
20
+							<input id="ITP_FORM_MRTNMNG06010_LIST_RTN_PODR_UNQ_NO" name="scolPrckUnqNo" type="text">
58 21
 						</div>
59 22
 					</div>
60 23
 				</div>
@@ -62,7 +25,7 @@
62 25
 					<label>반품입고장소</label>
63 26
 					<div class="search_wrap">
64 27
 						<div class="float_left">
65
-							<input id="ITP_FORM_MRTNMNG06010_LIST_SEARCH_RTN_WHS_NM" name="srtnWhsNm" type="text" placeholder="A공급업체명">
28
+							<input id="ITP_FORM_MRTNMNG06010_LIST_SEARCH_RTN_WHS_NM" name="srtnWhsNm" type="text" placeholder="매장명">
66 29
 							<input type="hidden" id="ITP_FORM_MRTNMNG06010_LIST_SEARCH_RTN_WHS_ID" class="" name="srtnWhsId" />
67 30
 						</div>
68 31
 						<div class="float_left_btn">
@@ -159,4 +122,41 @@
159 122
 		</form>
160 123
 	</div>
161 124
 	<div id="ITP_MOBILE_JS"></div>
125
+	<div id="ITP_POP_MRTNMNG06010_WHS_AREA" class="popup2 mobile-pop-close" style="display: none;">
126
+		<div class="pop">
127
+			<div class="header">
128
+				<div class="header_left">
129
+					<label>> 납품장소</label>
130
+				</div>
131
+				<div class="header_right">
132
+					<button type="button" id="ITP_BTN_MRTNMNG06010_POP_WHS_CLOSE"><img src="../img/close.png"></button>
133
+				</div>
134
+			</div>
135
+			<div class="search_bar">
136
+				<form id="ITP_FORM_MRTNMNG06010_POP_WHS" class="form-horizontal" onsubmit="return false;">
137
+					<input type="hidden" id="ITP_FORM_MRTNMNG06010_WHS_ITEM_BRAND_ID" name="sbrandId" value="">
138
+					<input type="hidden" id="ITP_FORM_MRTNMNG06010_WHS_ITEM_STORE_ID" name="sstoreId" value="">
139
+					<input id="ITP_FORM_MRTNMNG06010_POP_WHS_KEYWORD" type="text" name="swhsNm" placeholder="납품장소명">
140
+					<button id="ITP_BTN_MRTNMNG06010_POP_WHS_SEARCH"><img src="../img/search.png"></button>
141
+				</form>
142
+			</div>
143
+			<div class="search_bar">
144
+				<button id="ITP_BTN_MRTNMNG06010_POP_WHS_NM" class="btn_blue">납품장소▼</button>
145
+			</div>
146
+			<div id="ITP_LIST_MRTNMNG06010_POP_WHS_AREA" class="popup_scroll">
147
+				<ul id="ITP_LIST_MRTNMNG06010_POP_WHS_ROWS" class="panel-group itp_nav"></ul>
148
+				<div id="ITP_LIST_MRTNMNG06010_POP_WHS_ROWCOPY" style="display:none;">
149
+					<li class="list-row">
150
+						<div class="scroll_left">
151
+							<div class="fnWhsNm">브랜드 창고 명A</div>
152
+							<div class="fnLocationNm">(상세위치내용)</div>
153
+						</div>
154
+						<div class="scroll_right">
155
+							<button id="ITP_BTN_MRTNMNG06010_POP_WHS_CHOICE" class="fnWhsId" data-whs-id="">선택</button>
156
+						</div>
157
+					</li>
158
+				</div>
159
+			</div>
160
+		</div>
161
+	</div>
162 162
 </section>

+ 40 - 32
src/main/webapp/mobile/app/mstockmng/MSTOCKMNG02010.html

@@ -1,36 +1,40 @@
1 1
 <section id="ITP_MOBILE_MSTOCKMNG02010">
2 2
 	<div id="ITP_AJAX_MSTOCKMNG02010_LIST_CONTAINER">
3 3
 	 <form id="ITP_FORM_MSTOCKMNG02010_LIST_SEARCH" class="form-horizontal" onsubmit="return false;">
4
-		 <input type="hidden" id="ITP_FORM_MLOANMNG02010_LIST_SEARCH_BRAND_ID" name="sbrandId" value="">
5
-		 <input type="hidden" id="ITP_FORM_MLOANMNG02010_LIST_SEARCH_STORE_ID" name="sstoreId" value="">
4
+		 <input type="hidden" id="ITP_FORM_MLOANMNG02010_LIST_SEARCH_BRAND_ID" name="brandId" value="">
5
+		 <input type="hidden" id="ITP_FORM_MLOANMNG02010_LIST_SEARCH_STORE_ID" name="storeId" value="">
6 6
 		  <div class="content">
7 7
 			<div class="line">
8 8
 			  <label>재고실사일자</label>
9 9
 			  <div class="line_right">
10
-				<input id="ITP_FORM_MSTOCKMNG02010_LIST_SEARCH_STCK_DT" name="sDt" class="date" type="date" data-check-required="empty">
10
+				<input id="ITP_FORM_MSTOCKMNG02010_LIST_SEARCH_STCK_DT" name="cddDt" class="date" type="date" data-check-required="empty">
11 11
 			  </div>
12 12
 			</div>
13 13
 			<div class="line">
14 14
 			  <label>창고선택</label>
15
-			  <div class="search_wrap">
15
+			  <div class="search_nm">
16 16
 				  <div class="float_left">
17
-					<input id="ITP_FORM_MSTOCKMNG02010_LIST_SEARCH_WHS_NM" name="whsNm" type="text" placeholder="창고명" data-check-required="empty" readonly>
18
-					  <input id="ITP_FORM_MSTOCKMNG02010_LIST_SEARCH_WHS_ID" name="swhsId" type="hidden">
17
+					  <input id="ITP_FORM_MSTOCKMNG02010_LIST_SEARCH_WHS_NM" name="whsNm" type="text" placeholder="창고명" data-check-required="empty" readonly>
18
+					  <input id="ITP_FORM_MSTOCKMNG02010_LIST_SEARCH_WHS_ID" name="whsId" type="hidden">
19 19
 				  </div>
20 20
 				  <div class="float_left_btn">
21 21
 					  <button id="ITP_BTN_MSTOCKMNG02010_LIST_SEARCH_WHS_NM"><img src="../img/search.png" alt=""></button>
22
-					   <button id="ITP_BTN_MSTOCKMNG02010_LIST_DELETE_WHS_NM"><img src="../img/delete.png" alt=""></button>
22
+					  <button id="ITP_BTN_MSTOCKMNG02010_LIST_DELETE_WHS_NM"><img src="../img/delete.png" alt=""></button>
23 23
 				  </div>
24 24
 			  </div>
25 25
 			</div>
26 26
 			<div class="line">
27 27
 			  <label>Location</label>
28 28
 			  <div class="line_right">
29
-				<select name="slocation" id="ITP_FORM_MSTOCKMNG02010_LIST_SEARCH_LOCATION" data-check-required="empty">
30
-				  <option value=""></option>
31
-				</select>
29
+				<select name="location" id="ITP_FORM_MSTOCKMNG02010_LIST_SEARCH_LOCATION" data-check-required="empty"></select>
32 30
 			  </div>
33 31
 			</div>
32
+			  <div class="line">
33
+				  <label>실사구분</label>
34
+				  <div class="line_right">
35
+					  <select id="ITP_FORM_MSTOCKMNG02010_LIST_SEARCH_CDD_DVSN" data-select-code="CDD_DVSN" data-check-required="empty" name="cddDvsn"></select>
36
+				  </div>
37
+			  </div>
34 38
 			<div class="line" style="height:45px;">
35 39
 			  <div class="search">
36 40
 				<button id="ITP_BTN_MSTOCKMNG02010_LIST_SEARCH" class="btn-primary btn-sm ADB">대상 검색</button>
@@ -50,11 +54,11 @@
50 54
 					  <div class="nomal">
51 55
 						<label>품목번호 &nbsp;:</label>
52 56
 						<div>
53
-						  <div class="fnItemId">adsf1234</div>
57
+						  <div class="fnItemId"></div>
54 58
 						</div>
55 59
 						<label>품목명&nbsp;:</label>
56 60
 						<div>
57
-						  <div class="fnItemNm">원두커피</div>
61
+						  <div class="fnItemNm"></div>
58 62
 						</div>
59 63
 					  </div>
60 64
 					</div>
@@ -62,11 +66,11 @@
62 66
 					  <div class="nomal">
63 67
 						<label>단위 &nbsp;:</label>
64 68
 						<div>
65
-						  <div class="fnUnit">Kg</div>
69
+						  <div class="fnUnit"></div>
66 70
 						</div>
67 71
 						<label>단위수량&nbsp;:</label>
68 72
 						<div>
69
-						  <div class="fnUnitQty">20 Kg</div>
73
+						  <div class="fnUnitQty"></div>
70 74
 						</div>
71 75
 					  </div>
72 76
 					</div>
@@ -74,13 +78,13 @@
74 78
 					  <div class="nomal">
75 79
 						<label class="col_0">현재고수량 &nbsp;:</label>
76 80
 						<div class="fn">
77
-						  <div class="fnStckQty">100Kg</div>
81
+						  <div class="fnStckQty"></div>
78 82
 						</div>
79 83
 						<label class="col_6">실사수량&nbsp;:</label>
80 84
 						<div class="btn_bar">
81
-						  <button id="ITP_BTN_MSTOCKMNG02010_LIST_QTY+MINUS"><</button>
82
-						  <div class="fn col_0">2</div>
83
-						  <button id="ITP_BTN_MSTOCKMNG02010_LIST_QTY_PLUS">></button>
85
+						  <button class="DETAIL_ITEM_MINUS"><</button>
86
+						  <div class="fnCddQty col_0">1</div>
87
+						  <button class="DETAIL_ITEM_PLUS">></button>
84 88
 						</div>
85 89
 					  </div>
86 90
 					</div>
@@ -143,7 +147,7 @@
143 147
 			</div>
144 148
 		</div>
145 149
 	</div>
146
-	<div id="ITP_POP_MSTOCKMNG02010_ITEM_AREA" class="popup2 mobile-pop-close" style="display: block;">
150
+	<div id="ITP_POP_MSTOCKMNG02010_ITEM_AREA" class="popup2 mobile-pop-close" style="display: none;">
147 151
 		<div class="pop">
148 152
 			<div class="header">
149 153
 				<div class="header_left">
@@ -165,26 +169,30 @@
165 169
 				<div class="search_btn_bar">
166 170
 					<div class="btn_right">
167 171
 						<button id="ITP_BTN_MSTOCKMNG02010_POP_ITEM_SEARCH" class="btn-primary"><img src="../img/w_search.png">조회</button>
168
-						<button id="ITP_BTN_MSTOCKMNG02010_POP_ITEM_CHECK" class="btn-green"><img src="../img/w_check.png">선택</button>
172
+						<button id="ITP_BTN_MSTOCKMNG02010_POP_ITEM_CHOICE" class="btn-green"><img src="../img/w_check.png">선택</button>
169 173
 					</div>
170
-				</div>	
171
-			<table border="1">
172
-				<tbody>
173
-				<th><input type="checkbox"checked></th>
174
+				</div>
175
+			</form>
176
+			<table id="ITP_POP_MSTOCKMNG02010_TABLE_AREA" border="1">
177
+				<thead>
178
+				<th><input type="checkbox" class="chkAll" checked></th>
174 179
 				<th>품목번호</th>
175 180
 				<th>품목명</th>
176 181
 				<th>단위</th>
177 182
 				<th>현재고수량</th>
178
-				<tr>
179
-					<td><input type="checkbox"checked></td>
180
-					<td>212212121212121</td>
181
-					<td>테스트 품목명 3</td>
182
-					<td>ㅁㄴㅇ</td>
183
-					<td>ㄻㄴㅇ</td>
184
-				</tr>
183
+				</thead>
184
+				<tbody>
185 185
 				</tbody>
186 186
 			</table>
187
-			</form>
187
+			<div id="ITP_POP_MSTOCKMNG02010_TABLE_TR" style="display:none;">
188
+				<tr>
189
+					<td><input type="checkbox" class="chkItem" checked></td>
190
+					<td class="fnItemId"></td>
191
+					<td class="fnItemNm"></td>
192
+					<td class="fnUnit"></td>
193
+					<td class="fnStckQty"></td>
194
+				</tr>
195
+			</div>
188 196
 		</div>
189 197
 	</div>
190 198
   </section>

+ 14 - 15
src/main/webapp/mobile/js/app/mrtnmng/ITP_MRTNMNG02010.js

@@ -266,11 +266,10 @@ let mobContentObj = {
266 266
 			init: function(rtnReqDtlList) {
267 267
 				var _this = this;
268 268
 				$.each(rtnReqDtlList, function (i, item) {
269
-					item['viewCd'] = 'U';
270
-					_this.attachRow(item);
269
+					_this.attachRow(item, 'U');
271 270
 				});
272 271
 			},
273
-			attachRow: function (item) {
272
+			attachRow: function (item, viewCd) {
274 273
 				var _this = this;
275 274
 				var append = function() {
276 275
 					$('#ITP_LIST_MRTNMNG02010_MODIFY_AREA .panel-group').append($('#ITP_LIST_MRTNMNG02010_MODIFY_ROWCOPY').html());
@@ -279,6 +278,7 @@ let mobContentObj = {
279 278
 					$li.find('.fnItemNm').text(item.itemNm);
280 279
 					$li.find('.fnRtnQty').text(item.rtnQty);
281 280
 					$li.find('.fnUnitAmt').text(CommonObj.currency.add(item.unitAmt));
281
+					item['viewCd'] = viewCd;
282 282
 					_this.rows.push(item);
283 283
 				};
284 284
 				var fnChkExist = function() {
@@ -427,7 +427,7 @@ let mobPopObj = {
427 427
 					var index = $(elem).closest('li').index();
428 428
 					var item = mobPopObj.popItem.rows[index];
429 429
 					item['rtnQty'] = $(elem).closest('li').find('.fnRtnQty').html();
430
-					mobContentObj.modify.list.attachRow(item);
430
+					mobContentObj.modify.list.attachRow(item, 'C');
431 431
 				}
432 432
 			}
433 433
 		},
@@ -509,15 +509,15 @@ let mobPopObj = {
509 509
 	},
510 510
 	popReqConfirm: {
511 511
 		popId: 'ITP_POP_MRTNMNG02010_REQ_AREA',
512
-		pchReqStCd: '',
513
-		init: function (pchReqStCd) {
514
-			this.pchReqStCd = pchReqStCd;
512
+		rtnReqStCd: '',
513
+		init: function (rtnReqStCd) {
514
+			this.rtnReqStCd = rtnReqStCd;
515 515
 			mobPopObj.show(this.popId);
516 516
 			this.view();
517 517
 			this.action();
518 518
 		},
519 519
 		view: function() {
520
-			if(this.pchReqStCd === RTN_REQ_ST_CD_REQUEST_SAVE) {
520
+			if(this.rtnReqStCd === RTN_REQ_ST_CD_REQUEST_SAVE) {
521 521
 				$('#ITP_POP_MRTNMNG02010_REQ_AREA .msg_save').text('반품요청 하시겠습니까?');
522 522
 			} else {
523 523
 				$('#ITP_POP_MRTNMNG02010_REQ_AREA .msg_save').text('임시저장 하시겠습니까?');
@@ -529,7 +529,7 @@ let mobPopObj = {
529 529
 		action: function() {
530 530
 			var _this = this;
531 531
 			$('#ITP_POP_MRTNMNG02010_REQ_AREA button[id="ITP_BTN_MRTNMNG02010_POP_REQ_CONFIRM"]').off('click').on('click', function() {
532
-				$('#ITP_FORM_MRTNMNG02010_MODIFY #ITP_FORM_MRTNMNG02010_MODIFY_PCH_REQ_ST_CD').val(_this.pchReqStCd);
532
+				$('#ITP_FORM_MRTNMNG02010_MODIFY #ITP_FORM_MRTNMNG02010_MODIFY_PCH_REQ_ST_CD').val(_this.rtnReqStCd);
533 533
 				_this.save('#ITP_FORM_MRTNMNG02010_MODIFY');
534 534
 			});
535 535
 		},
@@ -540,7 +540,6 @@ let mobPopObj = {
540 540
 			var gridDeleteData = [];
541 541
 			$.each(mobContentObj.modify.list.rows, function(index, row) {
542 542
 				var item = {};
543
-				item['viewCd'] 			= 'C';
544 543
 				item['brandUnitUnqNo']	= row.brandUnitUnqNo;
545 544
 				item['itemId']			= row.itemId;
546 545
 				item['itemNm']			= row.itemNm;
@@ -556,17 +555,17 @@ let mobPopObj = {
556 555
 				item['unit']			= row.unit;
557 556
 				item['unitAmt']			= row.unitAmt;
558 557
 				item['unitGubun']		= row.unitGubun;
559
-				if(item.viewCd === 'R' || item.viewCd === 'C' ) {
560
-					item['viewCd'] = 'C';
558
+				if(row.viewCd === 'R' || row.viewCd === 'C' ) {
561 559
 					gridInsertData.push(item);
562
-				} else if(item.viewCd === 'U') {
560
+				} else if(row.viewCd === 'U') {
563 561
 					gridUpdateData.push(item);
564
-				} else if(item.viewCd === 'D') {
562
+				} else if(row.viewCd === 'D') {
565 563
 					gridDeleteData.push(item);
566 564
 				}
567 565
 			});
568 566
 			let param = $(formId).serializeObject();
569
-			param['rtnReqDt'] = param.rtnReqDt.replace(/[^0-9]/g, "");
567
+			param['rtnReqStCd'] = this.rtnReqStCd;
568
+			param['colReqDt'] = param.colReqDt.replace(/[^0-9]/g, "");
570 569
 			param.gridInsertData = gridInsertData;
571 570
 			param.gridUpdateData = gridUpdateData;
572 571
 			param.gridDeleteData = gridDeleteData;

+ 15 - 2
src/main/webapp/mobile/js/app/mrtnmng/ITP_MRTNMNG04010.js

@@ -8,6 +8,7 @@ require(['config'], function() {
8 8
 /*API URL*/
9 9
 const API_MOBILE_GRID_LIST 			= '/api/rtnmng/rtn/detail-grid-list';	// 목록
10 10
 const API_MOBILE_INFO 				= '/api/rtnmng/rtn/info-rtnOdr';		// 상세
11
+const API_MOBILE_CANCEL				= '/api/rtnmng/rtn/cancel-rtnPo';		// 취소
11 12
 const API_POP_SEARCH_LIST			= '/api/whs/mng/pop-whs-search';
12 13
 const API_POP_ITEM_LIST 			= '/api/item/pop-grid-list';
13 14
 const API_POP_SPPLY_LIST 			= '/api/spply/pop-grid-list';
@@ -64,6 +65,7 @@ let mobPageObj = {
64 65
 			$('button[id^="ITP_BTN_MRTNMNG04010_VIEW"]').on('click', function() {
65 66
 				var id = $(this).attr('id');
66 67
 				switch (id) {
68
+					case 'ITP_BTN_MRTNMNG04010_VIEW_RTN_PO_CANCEL'		: mobContentObj.view.rtnPoCancel();	break;
67 69
 					case 'ITP_BTN_MRTNMNG04010_VIEW_CANCEL_LIST'		: mobContentObj.view.cancel();	break;
68 70
 				}
69 71
 				return false;
@@ -162,12 +164,14 @@ let mobContentObj = {
162 164
 		}
163 165
 	},
164 166
 	view: {
167
+		rtnPodrUnqNo: '',
165 168
 		init: function(item) {
166 169
 			mobPageObj.switchScreen(PAGE_MODE_VIEW);
167 170
 			this.search(item);
168 171
 		},
169 172
 		search: function(item) {
170 173
 			var _this = this;
174
+			this.rtnPodrUnqNo = item.rtnPodrUnqNo;
171 175
 			var callbackFn = function(result) {
172 176
 				console.log(result);
173 177
 				_this.view(result);
@@ -178,6 +182,7 @@ let mobContentObj = {
178 182
 		view: function(result) {
179 183
 			var _this = this;
180 184
 			var id = '#ITP_AJAX_MRTNMNG04010_VIEW_CONTAINER';
185
+			$('#ITP_BTN_MRTNMNG04010_VIEW_RTN_PO_CANCEL').prop('disabled', (result.rtnOdrStCd !== 'RO20'));
181 186
 			$(id).find('.fnRtnOdrRegDt').text(result.rtnOdrRegDt);
182 187
 			$(id).find('.fnRtnDodrTotalAmt').text(CommonObj.currency.add(result.rtnDodrTotalAmt));
183 188
 			$(id).find('.fnRtnWhsNm').text(result.rtnWhsNm);
@@ -194,14 +199,22 @@ let mobContentObj = {
194 199
 				$li.find('.fnColReqDt').text(item.colReqDt);
195 200
 			});
196 201
 		},
197
-		cancel: function () {
202
+		rtnPoCancel: function() {
203
+			if(confirm('반품 취소하시겠습니까?')) {
204
+				const param = {'brandId': fn_make_user_info.get('brandId'), 'rtnPodrUnqNo': this.rtnPodrUnqNo};
205
+				console.log(param);
206
+				fn_ajax_call(API_MOBILE_CANCEL, JSON.stringify(param), function() { mobContentObj.view.cancel(true) }, 'POST');
207
+			}
208
+		},
209
+		cancel: function (isSearch) {
198 210
 			var id = '#ITP_AJAX_MRTNMNG04010_VIEW_CONTAINER';
199 211
 			$(id).find('.fnPodrDt').text('');
200 212
 			$(id).find('.fnPodrTotalAmt').text('');
201 213
 			$(id).find('.fnShmtWhsDvsnNm').text('');
202 214
 			$(id).find('.fnSpplyNm').text('');
203 215
 			$('#ITP_LIST_MRTNMNG04010_VIEW_ITEM_AREA .panel-group').empty();
204
-			mobPageObj.switchScreen(PAGE_MODE_LIST);
216
+			this.rtnPodrUnqNo = '';
217
+			isSearch ? mobContentObj.list.init() : mobPageObj.switchScreen(PAGE_MODE_LIST);
205 218
 		}
206 219
 	}
207 220
 };

+ 12 - 11
src/main/webapp/mobile/js/app/mrtnmng/ITP_MRTNMNG05010.js

@@ -6,8 +6,8 @@ require(['config'], function() {
6 6
 });
7 7
 
8 8
 /*API URL*/
9
-const API_MOBILE_GRID_LIST 			= '/api/rtnmng/rtn/detail-grid-list';	// 목록
10
-const API_MOBILE_SAVE 				= '/api/rtnmng/rtn/save-rtnPo';			// 저장
9
+const API_MOBILE_GRID_LIST 			= '/api/rtnmng/inoutmng/retstock-target-grid-list';	// 목록
10
+const API_MOBILE_SAVE 				= 'api/rtnmng/inoutmng/save-retstock';				// 반품처리
11 11
 const API_POP_SEARCH_LIST			= '/api/whs/mng/pop-whs-search';
12 12
 
13 13
 const PAGE_MODE_LIST				= "LIST";
@@ -109,6 +109,7 @@ let mobContentObj = {
109 109
 		},
110 110
 		search: function() {
111 111
 			var formId = '#ITP_FORM_MRTNMNG05010_LIST_SEARCH';
112
+			itp_fn_form_clear_validate(null, formId);
112 113
 			if (itp_fn_form_event.isValid(formId)) {
113 114
 				this.listPage = 0;
114 115
 				this.totPage = 0;
@@ -220,11 +221,11 @@ let mobPopObj = {
220 221
 			$.each(this.rows, function (i, item) {
221 222
 				if(whsId === item.whsId) {
222 223
 					if(_this.popMode === 'RTN_WHS') {
223
-						$('#ITP_FORM_MRTNMNG04010_LIST_SEARCH #ITP_FORM_MRTNMNG05010_LIST_SEARCH_RTN_WHS_ID').val(item.whsId);
224
-						$('#ITP_FORM_MRTNMNG04010_LIST_SEARCH #ITP_FORM_MRTNMNG05010_LIST_SEARCH_RTN_WHS_NM').val(item.whsNm);
224
+						$('#ITP_FORM_MRTNMNG05010_LIST_SEARCH #ITP_FORM_MRTNMNG05010_LIST_SEARCH_RTN_WHS_ID').val(item.whsId);
225
+						$('#ITP_FORM_MRTNMNG05010_LIST_SEARCH #ITP_FORM_MRTNMNG05010_LIST_SEARCH_RTN_WHS_NM').val(item.whsNm);
225 226
 					} else {
226
-						$('#ITP_FORM_MRTNMNG04010_LIST_SEARCH #ITP_FORM_MRTNMNG05010_LIST_SEARCH_WHS_ID').val(item.whsId);
227
-						$('#ITP_FORM_MRTNMNG04010_LIST_SEARCH #ITP_FORM_MRTNMNG05010_LIST_SEARCH_WHS_NM').val(item.whsNm);
227
+						$('#ITP_FORM_MRTNMNG05010_LIST_SEARCH #ITP_FORM_MRTNMNG05010_LIST_SEARCH_WHS_ID').val(item.whsId);
228
+						$('#ITP_FORM_MRTNMNG05010_LIST_SEARCH #ITP_FORM_MRTNMNG05010_LIST_SEARCH_WHS_NM').val(item.whsNm);
228 229
 					}
229 230
 					_this.close();
230 231
 					return false;
@@ -244,12 +245,12 @@ let mobPopObj = {
244 245
 			});
245 246
 		},
246 247
 		delete: function() {
247
-			if(_this.popMode === 'RTN_WHS') {
248
-				$('#ITP_FORM_MRTNMNG04010_LIST_SEARCH #ITP_FORM_MRTNMNG05010_LIST_SEARCH_RTN_WHS_ID').val('');
249
-				$('#ITP_FORM_MRTNMNG04010_LIST_SEARCH #ITP_FORM_MRTNMNG05010_LIST_SEARCH_RTN_WHS_NM').val('');
248
+			if(this.popMode === 'RTN_WHS') {
249
+				$('#ITP_FORM_MRTNMNG05010_LIST_SEARCH #ITP_FORM_MRTNMNG05010_LIST_SEARCH_RTN_WHS_ID').val('');
250
+				$('#ITP_FORM_MRTNMNG05010_LIST_SEARCH #ITP_FORM_MRTNMNG05010_LIST_SEARCH_RTN_WHS_NM').val('');
250 251
 			} else {
251
-				$('#ITP_FORM_MRTNMNG04010_LIST_SEARCH #ITP_FORM_MRTNMNG05010_LIST_SEARCH_WHS_ID').val('');
252
-				$('#ITP_FORM_MRTNMNG04010_LIST_SEARCH #ITP_FORM_MRTNMNG05010_LIST_SEARCH_WHS_NM').val('');
252
+				$('#ITP_FORM_MRTNMNG05010_LIST_SEARCH #ITP_FORM_MRTNMNG05010_LIST_SEARCH_WHS_ID').val('');
253
+				$('#ITP_FORM_MRTNMNG05010_LIST_SEARCH #ITP_FORM_MRTNMNG05010_LIST_SEARCH_WHS_NM').val('');
253 254
 			}
254 255
 		},
255 256
 		close: function() {

+ 24 - 13
src/main/webapp/mobile/js/app/mrtnmng/ITP_MRTNMNG06010.js

@@ -6,8 +6,8 @@ require(['config'], function() {
6 6
 });
7 7
 
8 8
 /*API URL*/
9
-const API_MOBILE_GRID_LIST 			= '/api/rtnmng/inoutmng/warehouse-grid-list';	// 목록
10
-const API_MOBILE_INFO 				= '/api/rtnmng/po/info-pchOdr';					// 상세
9
+const API_MOBILE_GRID_LIST 			= 'api/rtnmng/inoutmng/retstock-result-grid-list';	// 목록
10
+const API_MOBILE_INFO 				= '/api/rtnmng/po/info-pchOdr';						// 상세
11 11
 const API_POP_SEARCH_LIST			= '/api/whs/mng/pop-whs-search';
12 12
 const API_POP_SPPLY_LIST 			= '/api/spply/pop-grid-list';
13 13
 
@@ -51,11 +51,11 @@ let mobPageObj = {
51 51
 			$('button[id^="ITP_BTN_MRTNMNG06010_LIST"]').on('click', function() {
52 52
 				var id = $(this).attr('id');
53 53
 				switch (id) {
54
-					case 'ITP_BTN_MRTNMNG06010_LIST_SEARCH_WHS_NM'	: mobPopObj.popWhsNm.init(); 	break;
55
-					case 'ITP_BTN_MRTNMNG06010_LIST_DELETE_WHS_NM'	: mobPopObj.popWhsNm.delete(); 	break;
56
-					case 'ITP_BTN_MRTNMNG06010_LIST_SEARCH_SPPLY_NM'	: mobPopObj.popSpply.init(); 	break;
57
-					case 'ITP_BTN_MRTNMNG06010_LIST_DELETE_SPPLY_NM'	: mobPopObj.popSpply.delete(); 	break;
58
-					case 'ITP_BTN_MRTNMNG06010_LIST_SEARCH'			: mobContentObj.list.search();	break;
54
+					case 'ITP_BTN_MRTNMNG06010_LIST_SEARCH_WHS_NM'		: mobPopObj.popWhsNm.init('WHS'); 		break;
55
+					case 'ITP_BTN_MRTNMNG06010_LIST_DELETE_WHS_NM'		: mobPopObj.popWhsNm.delete('WHS'); 			break;
56
+					case 'ITP_BTN_MRTNMNG06010_LIST_SEARCH_RTN_WHS_NM'	: mobPopObj.popWhsNm.init('RTN_WHS'); 	break;
57
+					case 'ITP_BTN_MRTNMNG06010_LIST_DELETE_RTN_WHS_NM'	: mobPopObj.popWhsNm.delete('RTN_WHS'); 		break;
58
+					case 'ITP_BTN_MRTNMNG06010_LIST_SEARCH'				: mobContentObj.list.search();					break;
59 59
 				}
60 60
 				return false;
61 61
 			});
@@ -114,7 +114,7 @@ let mobContentObj = {
114 114
 		rows: [],
115 115
 		init: function() {
116 116
 			mobPageObj.switchScreen(PAGE_MODE_LIST);
117
-			this.search();
117
+			// this.search();
118 118
 		},
119 119
 		search: function() {
120 120
 			this.listPage = 0;
@@ -224,7 +224,8 @@ let mobPopObj = {
224 224
 	popWhsNm: {
225 225
 		popId: 'ITP_POP_MRTNMNG06010_WHS_AREA',
226 226
 		rows: [],
227
-		init: function () {
227
+		init: function (mode) {
228
+			this.popMode = mode;
228 229
 			this.rows.length = 0;
229 230
 			mobPopObj.show(this.popId);
230 231
 			this.search();
@@ -255,8 +256,13 @@ let mobPopObj = {
255 256
 			var whsId = $(elem).data('whs-id');
256 257
 			$.each(this.rows, function (i, item) {
257 258
 				if(whsId === item.whsId) {
258
-					$('#ITP_FORM_MRTNMNG06010_LIST_SEARCH #ITP_FORM_MRTNMNG06010_LIST_SEARCH_WHS_ID').val(item.whsId);
259
-					$('#ITP_FORM_MRTNMNG06010_LIST_SEARCH #ITP_FORM_MRTNMNG06010_LIST_SEARCH_WHS_NM').val(item.whsNm);
259
+					if(_this.popMode === 'RTN_WHS') {
260
+						$('#ITP_FORM_MRTNMNG06010_LIST_SEARCH #ITP_FORM_MRTNMNG06010_LIST_SEARCH_RTN_WHS_ID').val(item.whsId);
261
+						$('#ITP_FORM_MRTNMNG06010_LIST_SEARCH #ITP_FORM_MRTNMNG06010_LIST_SEARCH_RTN_WHS_NM').val(item.whsNm);
262
+					} else {
263
+						$('#ITP_FORM_MRTNMNG06010_LIST_SEARCH #ITP_FORM_MRTNMNG06010_LIST_SEARCH_WHS_ID').val(item.whsId);
264
+						$('#ITP_FORM_MRTNMNG06010_LIST_SEARCH #ITP_FORM_MRTNMNG06010_LIST_SEARCH_WHS_NM').val(item.whsNm);
265
+					}
260 266
 					_this.close();
261 267
 					return false;
262 268
 				}
@@ -275,8 +281,13 @@ let mobPopObj = {
275 281
 			});
276 282
 		},
277 283
 		delete: function() {
278
-			$('#ITP_FORM_MRTNMNG06010_LIST_SEARCH #ITP_FORM_MRTNMNG06010_LIST_SEARCH_WHS_ID').val('');
279
-			$('#ITP_FORM_MRTNMNG06010_LIST_SEARCH #ITP_FORM_MRTNMNG06010_LIST_SEARCH_WHS_NM').val('');
284
+			if(this.popMode === 'RTN_WHS') {
285
+				$('#ITP_FORM_MRTNMNG06010_LIST_SEARCH #ITP_FORM_MRTNMNG06010_LIST_SEARCH_RTN_WHS_ID').val('');
286
+				$('#ITP_FORM_MRTNMNG06010_LIST_SEARCH #ITP_FORM_MRTNMNG06010_LIST_SEARCH_RTN_WHS_NM').val('');
287
+			} else {
288
+				$('#ITP_FORM_MRTNMNG06010_LIST_SEARCH #ITP_FORM_MRTNMNG06010_LIST_SEARCH_WHS_ID').val('');
289
+				$('#ITP_FORM_MRTNMNG06010_LIST_SEARCH #ITP_FORM_MRTNMNG06010_LIST_SEARCH_WHS_NM').val('');
290
+			}
280 291
 		},
281 292
 		close: function() {
282 293
 			this.rows.length = 0;

+ 122 - 23
src/main/webapp/mobile/js/app/mstockmng/ITP_MSTOCKMNG02010.js

@@ -56,22 +56,18 @@ let mobPageObj = {
56 56
 					case 'ITP_BTN_MSTOCKMNG02010_LIST_DELETE_WHS_NM'	: mobPopObj.popWhsNm.delete(); 		break;
57 57
 					case 'ITP_BTN_MSTOCKMNG02010_LIST_SEARCH'			: mobContentObj.list.search();		break;
58 58
 					case 'ITP_BTN_MSTOCKMNG02010_LIST_BARCODE'			: mobContentObj.barcode.callApp();	break;
59
+					case 'ITP_BTN_MSTOCKMNG02010_LIST_SAVE'				: mobContentObj.list.save();		break;
60
+					case 'ITP_BTN_MSTOCKMNG02010_LIST_CANCEL_LIST'		: mobContentObj.list.cancel();		break;
59 61
 				}
60 62
 				return false;
61 63
 			});
62 64
 
63
-			$('button[id^="ITP_BTN_MSTOCKMNG02010_VIEW"]').on('click', function() {
64
-				var id = $(this).attr('id');
65
-				switch (id) {
66
-					case 'ITP_BTN_MSTOCKMNG02010_VIEW_SEARCH'		: mobContentObj.view.history.search();	break;
67
-					case 'ITP_BTN_MSTOCKMNG02010_VIEW_CANCEL_LIST'	: mobContentObj.view.cancel();			break;
65
+			$(document).on('click', '#ITP_LIST_MSTOCKMNG02010_LIST_ITEM_ROWS li button', function() {
66
+				if($(this).hasClass('DETAIL_ITEM_PLUS')) {
67
+					mobContentObj.list.actPlus($(this));
68
+				} else if($(this).hasClass('DETAIL_ITEM_MINUS')) {
69
+					mobContentObj.list.actMinus($(this));
68 70
 				}
69
-				return false;
70
-			});
71
-
72
-			$(document).on('click', '#ITP_LIST_MSTOCKMNG02010_LIST_ITEM_ROWS li', function() {
73
-				var item = mobContentObj.list.rows[$(this).index()];
74
-				mobContentObj.view.init(item);
75 71
 			});
76 72
 
77 73
 			$(document).on('click', '#ITP_LIST_MSTOCKMNG02010_POP_STORE_ROWS li button', function() {
@@ -126,9 +122,74 @@ let mobContentObj = {
126 122
 				mobPopObj.popItemNm.init();
127 123
 			}
128 124
 		},
125
+		itemAdd: function(rows) {
126
+			var _this = this;
127
+			console.log(rows);
128
+			$.each(rows, function(index, item) {
129
+				$('#ITP_LIST_MSTOCKMNG02010_LIST_ITEM_AREA .panel-group').append($('#ITP_LIST_MSTOCKMNG02010_LIST_ITEM_ROWCOPY').html());
130
+				var $li = $('#ITP_LIST_MSTOCKMNG02010_LIST_ITEM_AREA .panel-group > .list-row:last');
131
+				$li.find('.fnItemId').text(item.itemId);
132
+				$li.find('.fnItemNm').text(item.itemNm);
133
+				$li.find('.fnUnit').text(item.unit);
134
+				$li.find('.fnUnitQty').text(item.unitQty);
135
+				$li.find('.fnStckQty').text(CommonObj.currency.add(item.stckQty, '개'));
136
+				item['cddQty'] = 1;
137
+				_this.rows.push(item);
138
+			});
139
+		},
140
+		actPlus: function(elem) {
141
+			var $div = $(elem).siblings('div');
142
+			var index = $div.parents('li').index();
143
+			var num = Number($div.text());
144
+			$($div).text((num + 1).toString());
145
+			this.rows[index]['cddQty'] = $($div).text();
146
+		},
147
+		actMinus: function(elem) {
148
+			var $div = $(elem).siblings('div');
149
+			var num = Number($div.text());
150
+			if(num <= 1) {
151
+				alert('주문수량을 확인하세요.');
152
+			} else {
153
+				var index = $div.parents('li').index();
154
+				$($div).text((num - 1).toString());
155
+				this.rows[index]['cddQty'] = $($div).text();
156
+			}
157
+		},
129 158
 		validClear: function() {
130 159
 			var formId = '#ITP_FORM_MSTOCKMNG02010_LIST_SEARCH';
131 160
 			itp_fn_form_clear_validate(null, formId);
161
+		},
162
+		save: function() {
163
+			var formId = '#ITP_FORM_MSTOCKMNG02010_LIST_SEARCH';
164
+			itp_fn_form_clear_validate(null, formId);
165
+			if (itp_fn_form_event.isValid(formId)) {
166
+				let gridInsertData = [];
167
+				// var normalYnCheck = true;
168
+				$.each(this.rows, function(key, value) {
169
+					// if (value.normalYn === 'N') {
170
+					// 	normalYnCheck = false;
171
+					// }
172
+					gridInsertData.push({
173
+						'cddQty': value.cddQty,
174
+						'itemId': value.itemId
175
+					});
176
+				});
177
+				// if(!normalYnCheck) {
178
+				// 	alert('정상여부 값이 N인 데이터가 있습니다.\n품목번호를 확인하세요.');
179
+				// 	return;
180
+				// }
181
+				let param = $(formId).serializeObject();
182
+				param['cddDt'] = param.cddDt.replace(/[^0-9]/g, "");
183
+				param.gridInsertData = gridInsertData;
184
+				console.log(JSON.stringify(param));
185
+				var searhFn = function() {
186
+					$('#ITP_LIST_MSTOCKMNG02010_LIST_ITEM_ROWS').empty();
187
+				};
188
+				fn_ajax_call(API_MOBILE_SAVE, JSON.stringify(param), searhFn, 'POST');
189
+			}
190
+		},
191
+		cancel: function() {
192
+
132 193
 		}
133 194
 	},
134 195
 	barcode: {
@@ -245,6 +306,7 @@ let mobPopObj = {
245 306
 		init: function () {
246 307
 			this.rows.length = 0;
247 308
 			mobPopObj.show(this.popId);
309
+			this.reset();
248 310
 			this.search();
249 311
 			this.action();
250 312
 		},
@@ -254,25 +316,62 @@ let mobPopObj = {
254 316
 				console.log(result);
255 317
 				_this.rows = result.gridRows;
256 318
 				$.each(result.gridRows, function (i, item) {
257
-					$('#ITP_LIST_MSTOCKMNG02010_POP_ITEM_AREA .panel-group').append($('#ITP_LIST_MSTOCKMNG02010_POP_ITEM_ROWCOPY').html());
258
-					var $li = $('#ITP_LIST_MSTOCKMNG02010_POP_ITEM_AREA .panel-group > .list-row:last');
259
-					$li.find('.fnItemId').text(item.itemId);
260
-					$li.find('.fnItemNm').text(item.itemNm);
261
-					$li.find('.fnUnit').text(item.unit);
262
-					$li.find('.fnStckQty').text(CommonObj.currency.add(item.stckQty, '개'));
319
+					var tr =	'<tr>' +
320
+								'	<td><input type="checkbox" checked></td>' +
321
+								'	<td class="fnItemId">' 	+ item.itemId + '</td>' +
322
+								'	<td class="fnItemNm">' 	+ item.itemNm + '</td>' +
323
+								'	<td class="fnUnit">' 	+ item.unit + '</td>' +
324
+								'	<td class="fnStckQty">' + CommonObj.currency.add(item.stckQty, '개') + '</td>' +
325
+								'</tr>';
326
+					$('#ITP_POP_MSTOCKMNG02010_TABLE_AREA > tbody').append(tr);
263 327
 				});
264 328
 			};
265
-			var param = $('#ITP_FORM_MSTOCKMNG02010_LIST_SEARCH').serializeObject();
329
+			var param = $('#ITP_FORM_MSTOCKMNG02010_POPUP_ITEM').serializeObject();
266 330
 			fn_ajax_call(API_POP_STOCK_MNG_LIST, JSON.stringify(param), callbackFn, 'POST');
267 331
 		},
268 332
 		action: function() {
269
-
333
+			var _this = this;
334
+			$('button[id="ITP_BTN_MSTOCKMNG02010_POP_ITEM_SEARCH"]').off('click').on('click', function() {
335
+				_this.search();
336
+			});
337
+			$('button[id="ITP_BTN_MSTOCKMNG02010_POP_ITEM_CHOICE"]').off('click').on('click', function() {
338
+				_this.choice();
339
+			});
340
+			$('#ITP_POP_MSTOCKMNG02010_TABLE_AREA input:checkbox').off('click').on('click', function() {
341
+				_this.checked($(this));
342
+			});
270 343
 		},
271
-		close: function() {
272
-			this.rows.length = 0;
273
-			$('#ITP_POP_MSTOCKMNG02010_LIST_ITEM_AREA .panel-group').empty();
274
-			$('#ITP_FORM_MSTOCKMNG02010_POP_ITEM #ITP_FORM_MSTOCKMNG02010_POP_ITEM_KEYWORD').val('');
344
+		checked: function(elem) {
345
+			var table = $(elem).closest('table');
346
+			if($(elem).hasClass('chkAll')) {
347
+				$(table).find('input:checkbox').prop('checked', $(elem).is(':checked'));
348
+			} else {
349
+				var isChkAll = true;
350
+				$(table).find('input:checkbox').each(function() {
351
+					if(!$(this).hasClass('chkAll') && !$(this).is(':checked')) {
352
+						isChkAll = false;
353
+						return false;
354
+					}
355
+				});
356
+				$(table).find('.chkAll').prop('checked', isChkAll);
357
+			}
358
+		},
359
+		choice: function() {
360
+			var _this = this;
361
+			var items = [];
362
+			$('#ITP_POP_MSTOCKMNG02010_TABLE_AREA input:checkbox').each(function(i) {
363
+				if(!$(this).hasClass('chkAll') && $(this).is(':checked')) {
364
+					items.push(_this.rows[i-1]);
365
+				}
366
+			});
367
+			mobContentObj.list.itemAdd(items);
275 368
 			mobPopObj.hide(this.popId);
369
+		},
370
+		reset: function() {
371
+			this.rows.length = 0;
372
+			$('#ITP_FORM_MSTOCKMNG02010_POPUP_ITEM select').find('option:first').prop('selected', true);
373
+			$('#ITP_FORM_MSTOCKMNG02010_POP_ITEM_KEYWORD').val('');
374
+			$('#ITP_POP_MSTOCKMNG02010_TABLE_AREA tbody tr').remove();
276 375
 		}
277 376
 	},
278 377
 	show: function(popId) {