Browse Source

Merge branch 'master' of http://106.246.249.162:13000/orderqueen/oqpo-view
소스 문제로 인한 한쪽 소스로 정리해서 올림.. 이후 자신이 작업한 파일부분은 복원해서 처리하면 됨
# Conflicts:
# src/main/webapp/js/app/pomng/ITP_POMNG01010.js

dwkim 2 years ago
parent
commit
9ee93b175f

+ 7 - 8
src/main/webapp/app/pomng/POMNG01010.html

@@ -18,8 +18,7 @@
18 18
 								<input type="hidden" id="ITP_FORM_POMNG01010_DETAIL_STORE_ID" name="storeId" value="">
19 19
 								<input type="hidden" id="ITP_FORM_POMNG01010_DETAIL_LOAN_DVSN" name="loanDvsn" value="">
20 20
 								<input type="hidden" id="ITP_FORM_POMNG01010_DETAIL_LOAN_MGNT_UNQ_NO" name="loanMgntUnqNo" value="">
21
-								<input type="hidden" id="ITP_FORM_POMNG01010_DETAIL_PCH_REQ_DVSN" name="pchReqDvsn" value="">
22
-								<input type="hidden" id="ITP_FORM_POMNG01010_DETAIL_PCH_REQ_ST_CD" name="pchReqStCd" value="">
21
+								<input type="hidden" id="ITP_FORM_POMNG01010_DETAIL_pchReqDvsn" name="pchReqDvsn" value="">
23 22
 					
24 23
 								<section class="itp_form_sec">
25 24
 									<h4 class="itp_form_tit">구매요청정보</h4>
@@ -57,22 +56,22 @@
57 56
 									</div>
58 57
 									<div class="itp_form_in">	
59 58
 										<div class="form-group">
60
-											<label class="col-xs-2 itp_lb">납기요청일 *</label>
59
+											<label class="col-xs-2 itp_lb">납기요청일</label>
61 60
 												<div class="col-xs-4 itp_ip">
62 61
 													<div class="col-xs-4 itp_in">
63 62
 														<div class="input-daterange input-group date">
64
-															<input type="text" id="ITP_FORM_POMNG01010_DETAIL_DLV_REQ_DT" data-check-required="empty" class="form-control itp_input" name="dlvReqDt" value="">
63
+															<input type="text" id="ITP_FORM_POMNG01010_DETAIL_DLV_REQ_DT" class="form-control itp_input" name="dlvReqDt" value="">
65 64
 														</div>
66 65
 													</div>
67 66
 												</div>
68
-											<label class="col-xs-2 itp_lb">납품장소 *</label>
67
+											<label class="col-xs-2 itp_lb">납품장소</label>
69 68
 											<div class="col-xs-4 itp_ip">
70 69
 												<div class="col-xs-4 itp_in">
71
-													<input type="text" id="ITP_FORM_POMNG01010_DETAIL_WHS_NM" data-check-required="empty" class="form-control itp_input" name="whsNm" value="" />
70
+													<input type="text" id="ITP_FORM_POMNG01010_DETAIL_WHS_NM" class="form-control itp_input" name="whsNm" value="" />
72 71
 													<input type="hidden" id="ITP_FORM_POMNG01010_DETAIL_WHS_ID" class="form-control itp_input" name="whsId" value="" />
73 72
 												</div>
74 73
 												<div class="col-xs-4 itp_in">
75
-													<input type="text" id="ITP_FORM_POMNG01010_DETAIL_LOCATION_NM" data-check-required="empty" class="form-control itp_input" name="locationNm" value="" />
74
+													<input type="text" id="ITP_FORM_POMNG01010_DETAIL_LOCATION_NM" class="form-control itp_input" name="locationNm" value="" />
76 75
 													<input type="hidden" id="ITP_FORM_POMNG01010_DETAIL_LOCATION" class="form-control itp_input" name="location" value="" />
77 76
 												</div>
78 77
 												<div class="col-xs-1 itp_in" style="width:23%; padding:0px;">
@@ -98,7 +97,7 @@
98 97
 										<div class="form-group">
99 98
 											<label class="col-xs-2 itp_lb">비고</label>
100 99
 											<div class="col-xs-10 itp_ip">
101
-												<input type="text" id="ITP_FORM_POMNG01010_DETAIL_NOTE" class="form-control itp_input" name="note" value="" />
100
+												<input type="text" id="ITP_FORM_POMNG01010_DETAIL_NOTE" class="form-control itp_input" name="fnNote" value="" />
102 101
 											</div>
103 102
 										</div>
104 103
 									</div>

+ 394 - 0
src/main/webapp/js/app/pomng/ITP_POMNG01010.js

@@ -0,0 +1,394 @@
1
+require(['config'], function() {
2
+	require([
3
+	], function($) {
4
+		pageObj.init();
5
+	});
6
+});
7
+
8
+/********************************************************
9
+ --------------------------------------------------------
10
+ - Object 목록								            -
11
+ --------------------------------------------------------
12
+ * const gridColModel = {}	: 화면 Grid Object			*
13
+ * let pageObj = {}			: 화면공통 Object			*
14
+ * let listObj = {}			: 목록화면 Object			*
15
+ * let viewObj = {}			: 상세화면 Object			*
16
+ * let modifyObj = {}		: 수정화면 Object			*
17
+ * let createObj = {}		: 신규화면 Object			*
18
+ *******************************************************/
19
+
20
+/*화면 변수*/
21
+/*
22
+const POMNG01010_GRID_ID = '#ITP_POMNG01010_jqGrid';
23
+const POMNG01010_GRID_LIST = '#ITP_POMNG01010_jqGrid_list';
24
+const POMNG01010_GRID_PAGER = '#ITP_POMNG01010_jqGridPager';
25
+const POMNG01010_GRID_EMPTY = '#ITP_POMNG01010_jqGridEmpty';
26
+
27
+const POMNG01010_VIEW_GRID_ID = '#ITP_POMNG01010_VIEW_jqGrid';
28
+const POMNG01010_VIEW_GRID_LIST = '#ITP_POMNG01010_VIEW_jqGrid_list';
29
+const POMNG01010_VIEW_GRID_PAGER = '#ITP_POMNG01010_VIEW_jqGridPager';
30
+const POMNG01010_VIEW_GRID_EMPTY = '#ITP_POMNG01010_VIEW_jqGridEmpty';
31
+*/
32
+const POMNG01010_DETAIL_GRID_ID = '#ITP_POMNG01010_DETAIL_jqGrid';
33
+const POMNG01010_DETAIL_GRID_LIST = '#ITP_POMNG01010_DETAIL_jqGrid_list';
34
+const POMNG01010_DETAIL_GRID_PAGER = '#ITP_POMNG01010_DETAIL_jqGridPager';
35
+const POMNG01010_DETAIL_GRID_EMPTY = '#ITP_POMNG01010_DETAIL_jqGridEmpty';  // ==>dwkim html확인필요
36
+
37
+/*
38
+let ITP_FORM_POMNG01010_DETAIL_IS_DUPLICATE = false;
39
+let ITP_FORM_POMNG01010_DETAIL_IS_WRITING = false;
40
+*/
41
+
42
+/*API URL*/
43
+let API_DETAIL_INIT_INFO = '/api/pomng/init-pchReq'
44
+//let API_DETAIL_GRID_LIST = '/api/affl/detail-grid-list';
45
+//let API_DETAIL_INFO = '/api/affl/info-affl';
46
+//let COMPANY_INFO_COMPANY = '/api/affl/info-affl';
47
+let API_DETAIL_SAVE = '/api/pomng/save-pchReq';
48
+//let API_CHECK_DUPLICATE = '/api/affl/check-duplicate';
49
+//let API_INTI_USERPW = '/api/user/inti-userpw';
50
+
51
+/*화면 Grid ColModel   ==>선택박스 항목 추가 부분  */
52
+const gridColModel = {
53
+	detail: [
54
+		{
55
+			index: 'VIEW_CD', name: 'viewCd',
56
+			label: ITP_MSG_LOCALE.label.viewCd,
57
+			width: '10', fixed: false, align: 'center',
58
+			sortable: false, hidden: true
59
+		},
60
+		{
61
+			index: 'ITEM_ID', name: 'itemId',
62
+			label: ITP_MSG_LOCALE.label.itemId,
63
+			width: '20', fixed: false, align: 'center',
64
+			sortable: false, editable: false, edittype: 'text',
65
+			editrules: { required: true }
66
+		},
67
+		{
68
+			index: 'ITEM_NM', name: 'itemNm',
69
+			label: ITP_MSG_LOCALE.label.itemNm,
70
+			width: '30', fixed: false, align: 'center',
71
+			sortable: true, editable: false, edittype: 'text',
72
+			editrules: { required: true }
73
+		},
74
+		{
75
+			index: 'UNIT', name: 'unit',
76
+			label: ITP_MSG_LOCALE.label.unit,
77
+			width: '10', fixed: false, align: 'center',
78
+			sortable: false, editable: false, edittype: 'text'
79
+		},
80
+		{
81
+			index: 'UNIT_AMT', name: 'unitAmt',
82
+			label: ITP_MSG_LOCALE.label.unitAmt,
83
+			width: '10', fixed: false, align: 'center',
84
+			sortable: false, editable: false, edittype: 'text', hidden: false
85
+		},
86
+		{
87
+			index: 'PCH_REQ_QTY', name: 'pchReqQty',
88
+			label: ITP_MSG_LOCALE.label.pchReqQty, //단가
89
+			width: '10', fixed: false, align: 'right',
90
+			sortable: true, editable: true, edittype: 'text',
91
+			editrules: { number:true}
92
+		},
93
+		{
94
+			index: 'PCH_REQ_AMT', name: 'pchReqAmt',
95
+			label: ITP_MSG_LOCALE.label.pchReqAmt,
96
+			width: '10', fixed: false, align: 'right',
97
+			sortable: false, editable: false, edittype: 'text', hidden: false
98
+		},
99
+
100
+		{
101
+			index: 'BRAND_UNIT_UNQ_NO', name: 'brandUnitUnqNo',
102
+			label: ITP_MSG_LOCALE.label.brandUnitUnqNo,
103
+			width: '10', fixed: false, align: 'center',
104
+			sortable: false, editable: false, edittype: 'text', hidden: true
105
+		},
106
+		{
107
+			index: 'STORE_UNIT_UNQ_NO', name: 'storeUnitUnqNo',
108
+			label: ITP_MSG_LOCALE.label.storeUnitUnqNo,
109
+			width: '10', fixed: false, align: 'center',
110
+			sortable: false, editable: false, edittype: 'text', hidden: true
111
+		},
112
+		{
113
+			index: 'UNIT_GUBUN', name: 'unitGubun',
114
+			label: ITP_MSG_LOCALE.label.unitGubun,
115
+			width: '10', fixed: false, align: 'center',
116
+			sortable: false, editable: false, edittype: 'text', hidden: true
117
+		}
118
+	]
119
+};
120
+
121
+/*화면공통 Object*/
122
+let pageObj = {
123
+	init: function() {
124
+		this.ui.init();
125
+		this.event.init();
126
+		this.action();
127
+	},
128
+	action: function () {
129
+		var _this = this;
130
+		// 납품장소 조회 버튼 클릭
131
+		$('#ITP_FORM_POMNG01010_SEARCH_WHS_NM').on('click', function() {
132
+			_this.popup();
133
+		});
134
+		// 납품장소 텍스트 삭제 버튼 클릭
135
+		$('#ITP_FORM_POMNG01010_DELETE_WHS_NM').on('click', function() {
136
+			$('#ITP_FORM_POMNG01010_DETAIL_WHS_NM').val('');
137
+			$('#ITP_FORM_POMNG01010_DETAIL_WHS_ID').val('');
138
+			$('#ITP_FORM_POMNG01010_DETAIL_LOCATION_NM').val('');
139
+			$('#ITP_FORM_POMNG01010_DETAIL_LOCATION').val('');
140
+			
141
+		});
142
+	},
143
+	popup: function () {
144
+		// 팝업
145
+		var popFn = this.callback.create;
146
+		const key = {brandId:fn_make_user_info.get('brandId'),storeId:fn_make_user_info.get('storeId')};
147
+		fn_call_popup('biz', 'BIZPOP_WHS_LOCATION', '#ITP_ASIDE', popFn, key, 'S');
148
+		
149
+	},
150
+	callback: {
151
+		create: function(rowDataPop) {
152
+			console.log(rowDataPop);
153
+			if(rowDataPop) {
154
+				$('#ITP_FORM_POMNG01010_DETAIL_WHS_NM').val(rowDataPop.whsNm);
155
+				$('#ITP_FORM_POMNG01010_DETAIL_WHS_ID').val(rowDataPop.whsId);
156
+				$('#ITP_FORM_POMNG01010_DETAIL_LOCATION_NM').val(rowDataPop.locationNm);
157
+				$('#ITP_FORM_POMNG01010_DETAIL_LOCATION').val(rowDataPop.location);
158
+			}
159
+		}
160
+	},
161
+	itp_POMNG01010_param: {},  // ==>dwkim 
162
+	itp_POMNG01010_search: false,  // ==>dwkim 
163
+	ui: {
164
+		init: function() {
165
+			this.view();
166
+			this.grid();
167
+			this.ready();
168
+		},
169
+		view: function() {
170
+			// 버튼 권한설정
171
+			fn_proc_btn_auth('POMNG01010');
172
+			
173
+			// 공통코드 표시
174
+			$('select').each(function() {
175
+				if ($(this).data('select-code')) {
176
+					fn_make_select(CODE_LIST, $(this).data('select-code'), $(this).attr('id'));
177
+				}
178
+			});
179
+
180
+			// 조회일자 지정
181
+			var now = new Date();
182
+			$('#ITP_FORM_POMNG01010_DETAIL_DLV_REQ_DT').datepicker('dlvReqDt', new Date(now.setDate(now.getDate() + 5)));
183
+			
184
+			//납품장소 필드 readonly
185
+			$('#ITP_FORM_POMNG01010_DETAIL_WHS_NM').attr('readonly', true);
186
+			$('#ITP_FORM_POMNG01010_DETAIL_LOCATION_NM').attr('readonly', true);
187
+			// form alert message 주입
188
+			/*
189
+			$('input[data-alert-required="ONLYCHK"]').each(function() {
190
+				if($(this).data('alert-msg') === 'address') {
191
+					$(this).data('alert-msg', ITP_MSG_LOCALE.message.form.emptyAddr);
192
+				}
193
+			});
194
+			*/
195
+		},
196
+		grid: function() {
197
+			itp_fn_jqgrid_resize(POMNG01010_DETAIL_GRID_ID, POMNG01010_DETAIL_GRID_LIST, 'lg');
198
+			//listObj.empty.init();
199
+			itp_fn_fire_window_resize();
200
+		},
201
+		ready: function() {
202
+			createObj.init();
203
+		}
204
+	},
205
+	event: {
206
+		init: function() {
207
+			this.button();
208
+		},
209
+		button: function() {
210
+			// 버튼 클릭 이벤트
211
+			$('button').each(function() {
212
+				var id = $(this).attr('id');
213
+				$(this).on('click', function() {
214
+					switch (id) {
215
+						case 'ITP_BTN_POMNG01010_SRH': modifyObj.button.save(); break;	// 구매요청
216
+						case 'ITP_BTN_POMNG01010_NEWREG': modifyObj.button.newReg(); break;	// 임시저장
217
+						case 'ITP_BTN_POMNG01010_DETAIL_ADDROW': pageObj.grid.button.addRow(); break;	// 품목추가
218
+						case 'ITP_BTN_POMNG01010_DETAIL_DELROW': pageObj.grid.button.delRow(); break;	// 품목삭제
219
+					}
220
+				});
221
+			});
222
+
223
+			$('body').on('click', function(e) {
224
+				// afflUserObj.grid.resetGrid(e);
225
+			});
226
+
227
+		}
228
+	},
229
+	grid: {
230
+		init: function(mode, gridData) {
231
+			this.mode = mode;
232
+			this.gridId = POMNG01010_DETAIL_GRID_ID;
233
+			this.unload();  // ==>dwkim 
234
+			this.load(gridData);
235
+		},
236
+		mode: 'DETAIL',
237
+		gridId: '',
238
+		button: {
239
+			addRow: function() {
240
+				// 팝업
241
+				var popFn = function(rowDataPop) {
242
+					console.log(rowDataPop);
243
+					// 기존등록 데이터
244
+					var exists = '';
245
+					const rowData = $(POMNG01010_DETAIL_GRID_ID).getRowData();
246
+					$.each(rowData, function(key, value) {
247
+						//exists = exists + value.itemId + ';';
248
+						exists = exists + value.brandUnitUnqNo + ';';
249
+					});
250
+
251
+					$.each(rowDataPop, function(key, value) {
252
+						// if (exists.indexOf(value.itemId) < 0 && value.podrPssblDvsn == 'PO01') {
253
+						if (exists.indexOf(value.brandUnitUnqNo) < 0 && value.podrPssblDvsn == 'PO01') {
254
+							value['viewCd'] = "C";
255
+							$(POMNG01010_DETAIL_GRID_ID).jqGrid('addRowData', value.brandUnitUnqNo, value, 'last');
256
+						}
257
+					});
258
+					$(POMNG01010_DETAIL_GRID_EMPTY).hide();
259
+				};
260
+				const key = {brandId:fn_make_user_info.get('brandId'),storeId:fn_make_user_info.get('storeId')};
261
+				fn_call_popup('biz', 'BIZPOP_ITEM', '#ITP_ASIDE', popFn, key, 'S');  // ==>dwkim 추후 작업 진행  파라메타 설명필요
262
+			},
263
+			delRow: function() {
264
+				itp_fn_grid_del_row(POMNG01010_DETAIL_GRID_ID);
265
+				// 그리드 포문으로 금액 재계산후 구매요청금액에 넣어줌
266
+				this.load.recal();  //==>dwkim 왜 호출이 안될까요
267
+			}
268
+		},
269
+		load: function(gridData) {  // ==>dwkim  오픈시 데이타 가져오는 부분 넣으면 되는건지 여부 gird가 아님
270
+			var _this = this;
271
+			var option = {
272
+				gridId: this.gridId,
273
+				colModel: gridColModel.detail,
274
+				data: gridData,
275
+				multiselect: true,
276
+				cellEdit: true,
277
+				loadComplete: function(data) {
278
+					_this.clearData();
279
+				},
280
+				afterSaveCell: function(rowid,name,val,iRow,iCol) {
281
+					// 구매요청금액 계산 (기존금액과 )
282
+					var unitAmt = jQuery(POMNG01010_DETAIL_GRID_ID).jqGrid('getCell',rowid,iCol-1);
283
+					jQuery(POMNG01010_DETAIL_GRID_ID).jqGrid('setRowData',rowid,{pchReqAmt: parseInt(val)*parseInt(unitAmt)});
284
+					// 그리드 포문으로 금액 재계산후 구매요청금액에 넣어줌
285
+					_this.recal();
286
+				}
287
+			};
288
+			itp_fn_grid_make_local(option);
289
+		},
290
+		clearData: function() {
291
+			console.log(this.gridId);
292
+			$(POMNG01010_DETAIL_GRID_ID).jqGrid('clearGridData', true);
293
+			$(POMNG01010_DETAIL_GRID_LIST).find('.ui-jqgrid .ui-jqgrid-bdiv').css('overflow-x', 'hidden');
294
+			$(POMNG01010_DETAIL_GRID_LIST).find('.ui-jqgrid-bdiv').css('min-height', '100px');
295
+			$(POMNG01010_DETAIL_GRID_EMPTY).html(ITP_MSG_LOCALE.message.grid.noData);
296
+			$(POMNG01010_DETAIL_GRID_EMPTY).show();
297
+		},
298
+		recal: function() {
299
+			//PCH_REQ_AMT
300
+			const rowData = $(POMNG01010_DETAIL_GRID_ID).getRowData();
301
+			var pchReqAmt = 0 ;
302
+			$.each(rowData, function(key, value) {
303
+				if (value.pchReqAmt != null && value.pchReqAmt != "") {
304
+					pchReqAmt = pchReqAmt + parseInt(value.pchReqAmt) ;
305
+				}
306
+				
307
+			});
308
+			$('#ITP_FORM_POMNG01010_DETAIL .fnPchReqAmt').text(pchReqAmt);
309
+		},
310
+		unload: function() {
311
+			$.jgrid.gridUnload(this.gridId);
312
+		}
313
+	}
314
+};
315
+
316
+/*신규화면 Object*/
317
+let createObj = {
318
+	init: function() {
319
+		$('#ITP_FORM_POMNG01010_DETAIL_BRAND_ID').val(fn_make_user_info.get('brandId'));
320
+		$('#ITP_FORM_POMNG01010_DETAIL_STORE_ID').val(fn_make_user_info.get('storeId'));
321
+		//let param = 'brandId=' + LOGIN_USER_INFO.brandId + "&spplyId=" + LOGIN_USER_INFO.spplyId;
322
+		this.load();
323
+	},
324
+	button: {
325
+		save: function() {
326
+			const formId = '#ITP_FORM_POMNG01010_DETAIL';
327
+			itp_fn_form_clear_validate(null, formId);
328
+
329
+			// if (vali_cmpyCd && vali_cmpyStatCd && vali_cmpyTypeCd && vali_cmpyNm && vali_bossNm && vali_mainTel && vali_mainEmail) {
330
+			if (itp_fn_form_event.isValid(formId)) {
331
+
332
+				// if($('#ITP_FORM_POMNG01010_DETAIL_CMPY_ZIPNO').val() === '' || $('#ITP_FORM_POMNG01010_DETAIL_CMPY_ADRES').val() === '') {
333
+				// 	itp_fn_modal_alert('주소 검색을 통해 회사 주소를 입력하세요.');
334
+				// 	return;
335
+				// }
336
+
337
+				if (ITP_FORM_POMNG01010_DETAIL_IS_DUPLICATE) {
338
+					itp_fn_modal_duplicate('회사코드 중복체크를 해주세요.', formId + '_AFFL_SHOP_ID');
339
+				} else {
340
+					let gridInsertData = [];
341
+					let gridUpdateData = [];
342
+					let gridDeleteData = [];
343
+					const rowData = $(POMNG01010_DETAIL_GRID_ID).getRowData();
344
+					const keyValue = $(formId + '_AFFL_SHOP_ID').val();
345
+					$.each(rowData, function(key, value) {
346
+						if (value.viewCd !== 'R') {
347
+							value.afflShopId = keyValue;
348
+							if (value.viewCd === 'C') {
349
+								gridInsertData.push(value);
350
+							} else if (value.viewCd === 'U') {
351
+								gridUpdateData.push(value);
352
+							} else if (value.viewCd === 'D') {
353
+								gridDeleteData.push(value);
354
+							}
355
+						}
356
+					});
357
+
358
+					let param = $(formId).serializeObject();
359
+					param.gridInsertData = gridInsertData;
360
+					param.gridUpdateData = gridUpdateData;
361
+					param.gridDeleteData = gridDeleteData;
362
+					console.log(JSON.stringify(param));
363
+					var searhFn = function() {
364
+						ITP_FORM_POMNG01010_DETAIL_IS_WRITING = false;
365
+						viewObj.init();
366
+					};
367
+					fn_ajax_call(API_DETAIL_SAVE, JSON.stringify(param), searhFn, 'POST');
368
+				}
369
+			}
370
+		}
371
+	},
372
+	load: function() {
373
+		fn_ajax_call(API_DETAIL_INIT_INFO, '', this.callback, 'GET');
374
+	},
375
+	callback: function(result) {
376
+		console.log(result);
377
+
378
+		$('#ITP_FORM_POMNG01010_DETAIL #ITP_FORM_POMNG01010_DETAIL_VIEW_CD').val('C');
379
+
380
+		$('#ITP_FORM_POMNG01010_DETAIL #ITP_FORM_POMNG01010_DETAIL_BRAND_ID').val(result.brandId);
381
+		$('#ITP_FORM_POMNG01010_DETAIL #ITP_FORM_POMNG01010_DETAIL_STORE_ID').val(result.storeId);
382
+		$('#ITP_FORM_POMNG01010_DETAIL #ITP_FORM_POMNG01010_DETAIL_LOAN_DVSN').val(result.loanDvsn);
383
+		$('#ITP_FORM_POMNG01010_DETAIL #ITP_FORM_POMNG01010_DETAIL_LOAN_MGNT_UNQ_NO').val(result.loanMgntUnqNo);
384
+		$('#ITP_FORM_POMNG01010_DETAIL #ITP_FORM_POMNG01010_DETAIL_PCH_REQ_DVSN').val(result.pchReqDvsn);
385
+		$('#ITP_FORM_POMNG01010_DETAIL .fnBrandNm').text(result.brandNm);
386
+		$('#ITP_FORM_POMNG01010_DETAIL .fnPchReqDept').text(result.reqDept);
387
+		$('#ITP_FORM_POMNG01010_DETAIL .fnPchReqMgrNm').text(result.userNm);
388
+		$('#ITP_FORM_POMNG01010_DETAIL .fnPchReqAmt').text("0");
389
+		$('#ITP_FORM_POMNG01010_DETAIL .fnLoanDvsnNm').text(result.loanDvsnNm);
390
+		$('#ITP_FORM_POMNG01010_DETAIL .fnPchActAmt').text(result.ordUseAmt);
391
+
392
+		pageObj.grid.init();
393
+	}
394
+};

+ 0 - 10
src/main/webapp/js/app/popup/biz/ITP_BIZPOP_AFFL_SHOP.js

@@ -41,15 +41,6 @@ function itp_fn_BIZPOP_AFFL_SHOP(parentPopFn, args, returnType) {
41 41
 	    const selRow = $(THIS_GIRD_ID).getRowData(rowKey);
42 42
 	    console.log(selRow);
43 43
 
44
-		var list = [];
45
-	    var selectedIds = $(THIS_GIRD_ID).getGridParam('selarrrow');
46
-		for (var i=selectedIds.length-1; i>=0; i--) {
47
-			list.push($(THIS_GIRD_ID).jqGrid('getRowData', selectedIds[i]));	
48
-		}
49
-		parentPopFn(list);
50
-		$('#ITP_BIZPOP_WHS_LOCATION').modal('hide'); // 팝업닫기
51
-		
52
-/*
53 44
 		var afflData = {};
54 45
 		var callbackFn = function(result) {
55 46
 			afflData['AFFL_SHOP'] = selRow;
@@ -59,7 +50,6 @@ function itp_fn_BIZPOP_AFFL_SHOP(parentPopFn, args, returnType) {
59 50
 		};
60 51
 		var param = {'afflShopId': selRow.afflShopId};
61 52
 		fn_ajax_call(BRAND_POP_GRID_LIST, param, callbackFn, 'GET');
62
-		*/
63 53
 	});
64 54
 
65 55
 	$('#ITP_BIZPOP_AFFL_SHOP_jqGridEmpty').on('click', function() {

+ 14 - 4
src/main/webapp/js/app/popup/biz/ITP_BIZPOP_WHS_LOCATION.js

@@ -42,11 +42,21 @@ function itp_fn_BIZPOP_WHS_LOCATION(parentPopFn, args, returnType) {
42 42
 	    if (!rowKey) {
43 43
 	    	return;
44 44
 	    }
45
-	
46
-		const selRow = $(THIS_GIRD_ID).getRowData(rowKey);
47
-		parentPopFn(selRow);
45
+
46
+		var list = [];
47
+	    var selectedIds = $(THIS_GIRD_ID).getGridParam('selarrrow');
48 48
 		
49
-	
49
+		/*
50
+		if(selectedIds.length != 1) { // 1개만 선택
51
+			 itp_fn_modal_alert('하나의 창고만 선택해주세요!');
52
+			 return;
53
+		}
54
+		*/
55
+		
56
+	    for (var i=selectedIds.length-1; i>=0; i--) {
57
+			list.push($(THIS_GIRD_ID).jqGrid('getRowData', selectedIds[i]));	
58
+		}
59
+		parentPopFn(list);
50 60
 		$('#ITP_BIZPOP_WHS_LOCATION').modal('hide'); // 팝업닫기
51 61
 	});
52 62
 

+ 0 - 3
src/main/webapp/mobile/app/main.html

@@ -179,9 +179,6 @@
179 179
 			</div>
180 180
 			<div id="ITP_CONTAINER" class="fix">
181 181
 				<div class="itp_mobile_contents">
182
-				<section>
183
-				  
184
-				</section>
185 182
 
186 183
 				</div>
187 184
 			</div>

+ 21 - 22
src/main/webapp/mobile/app/mloanmng/MLOANMNG01010.html

@@ -1,21 +1,20 @@
1
+<link rel="stylesheet" href="/style.css">
1 2
 <section>
2
-  <div id="ITP_AJAX_MLOANMNG01010_VIEW_CONTAINER" style="display: none;" >
3
+  <div id="ITP_AJAX_MLOANMNG01010_VIEW_CONTAINER" style="display: block;" >
3 4
     <div class="content">
4 5
       <div class="line">
5 6
         <label>매장선택</label>
6
-        <div class="search_wrap">
7
-	        <div class="float_left">
8
-	          <input id="ITP_FORM_MLOANMNG01010_VIEW" type="text" placeholder="A매장명">
9
-	        </div>
10
-	        <div class="float_left_btn">
11
-	          <button id="ITP_BTN_MLOANMNG01010"><img src="../img/search.png" alt=""></button>
12
-	          <button id="ITP_BTN_MLOANMNG01010"><img src="../img/delete.png" alt=""></button>
13
-	        </div>
7
+        <div class="float_left">
8
+          <input id="ITP_FORM_MLOANMNG01010_VIEW" type="text" placeholder="A매장명">
9
+        </div>
10
+        <div class="float_left_btn">
11
+          <button id="ITP_BTN_MLOANMNG01010"><img src="/img/search.png" alt=""></button>
12
+          <button id="ITP_BTN_MLOANMNG01010"><img src="/img/delete.png" alt=""></button>
14 13
         </div>
15 14
       </div>
16 15
       <div class="line">
17 16
         <label>정산타입</label>
18
-        <div class="line_right">
17
+        <div class="float_left">
19 18
           <select name="" id="ITP_FORM_MLOANMNG01010_VIEW">
20 19
             <option value=""></option>
21 20
           </select>
@@ -23,13 +22,13 @@
23 22
       </div>
24 23
       <div class="line">
25 24
         <label>사용여부</label>
26
-        <div class="line_right">
25
+        <div class="float_left">
27 26
           <select name="" id="ITP_FORM_MLOANMNG01010_VIEW">
28 27
             <option value=""></option>
29 28
           </select>
30 29
         </div>
31 30
       </div>
32
-      <div class="line" style="height:45px;">
31
+      <div class="line">
33 32
         <div class="search">
34 33
           <button id="ITP_BTN_MLOANMNG01010" class="btn-primary btn-sm ADB">검색</button>
35 34
         </div>
@@ -87,42 +86,42 @@
87 86
       </li>
88 87
     </div>
89 88
   </div>
90
-  <div id="ITP_AJAX_MLOANMNG01010_DETAIL_CONTAINER" style="display: block;">
89
+  <div id="ITP_AJAX_MLOANMNG01010_DETAIL_CONTAINER" style="display: none;">
91 90
     <div class="content">
92 91
       <div class="line">
93 92
         <label>매장명</label>
94 93
         <div class="line_right">
95
-          <input class="mg0" id="ITP_FORM_MLOANMNG01010_DETAIL" type="text" placeholder="A매장명">
94
+          <input id="ITP_FORM_MLOANMNG01010_DETAIL" type="text" placeholder="A매장명">
96 95
         </div>      
97 96
       </div>
98 97
       <div class="line">
99
-        <label>정산타입/사용여부</label>
98
+        <label class="col_6">정산타입/사용여부</label>
100 99
         <div class="line_right">
101
-          <input class="mg0" id="ITP_FORM_MLOANMNG01010_DETAIL" type="text" >
100
+          <input id="ITP_FORM_MLOANMNG01010_DETAIL" type="text" >
102 101
         </div>
103 102
       </div>
104 103
       <div class="line">
105 104
         <label>한도금액</label>
106 105
         <div class="line_right">
107
-          <input class="mg0" id="ITP_FORM_MLOANMNG01010_DETAIL" type="text" >
106
+          <input id="ITP_FORM_MLOANMNG01010_DETAIL" type="text" >
108 107
         </div>
109 108
       </div>
110 109
       <div class="line">
111 110
         <label>가용한도금액</label>
112 111
         <div class="line_right">
113
-          <input class="mg0" id="ITP_FORM_MLOANMNG01010_DETAIL" type="text" >
112
+          <input id="ITP_FORM_MLOANMNG01010_DETAIL" type="text" >
114 113
         </div>
115 114
       </div>
116 115
       <div class="line">
117 116
         <label>가수금액</label>
118 117
         <div class="line_right">
119
-          <input class="mg0" id="ITP_FORM_MLOANMNG01010_DETAIL" type="text" >
118
+          <input id="ITP_FORM_MLOANMNG01010_DETAIL" type="text" >
120 119
         </div>
121 120
       </div>
122 121
       <div class="line">
123 122
         <label>사용금액</label>
124 123
         <div class="line_right">
125
-          <input class="mg0" id="ITP_FORM_MLOANMNG01010_DETAIL" type="text" >
124
+          <input id="ITP_FORM_MLOANMNG01010_DETAIL" type="text" >
126 125
         </div>
127 126
       </div>
128 127
       <div class="line">
@@ -133,7 +132,7 @@
133 132
           <input id="ITP_FORM_MLOANMNG01010_DETAIL" class="year" type="date">
134 133
         </div>
135 134
       </div>
136
-      <div class="line" style="height:50px;">
135
+      <div class="line">
137 136
         <div class="search">
138 137
           <button id="ITP_BTN_MLOANMNG01010" class="btn-primary btn-sm ADB">검색</button>
139 138
         </div>
@@ -143,7 +142,7 @@
143 142
       </div>
144 143
     </div>
145 144
     <div class="scroll_area row-6">
146
-      <li class="history_list4">
145
+      <li class="history_list">
147 146
         <div>
148 147
           <div class="detail_line">
149 148
             <div class="detail_left">

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

@@ -1,3 +1,4 @@
1
+<link rel="stylesheet" href="/style.css">
1 2
 <section>
2 3
   <div class="popup2" style="display:none; background: transparent;">
3 4
     <div class="pop">
@@ -6,66 +7,52 @@
6 7
           <label>> 입금등록</label>
7 8
         </div>
8 9
         <div class="header_right">
9
-          <button id="ITP_BTN_MLOANMNG02010"><img src="../img/close.png"></button>
10
+          <button id="ITP_BTN_MLOANMNG02010"><img src="/img/close.png"></button>
10 11
         </div>
11 12
       </div>
12 13
       <div class="content">
13 14
         <div class="line">
14 15
           <label>브랜드명</label>
15
-          <div class="search_wrap">
16
-	          <div class="float_right">
17
-	            <input id="ITP_FORM_MLOANMNG02010" type="text" placeholder="A 브랜드명">
18
-	          </div>
16
+          <div class="float_right">
17
+            <input id="ITP_FORM_MLOANMNG02010" type="text" placeholder="A 브랜드명">
19 18
           </div>
20 19
         </div>
21 20
         <div class="line">
22 21
           <label>매장명</label>
23
-          <div class="search_wrap">
24
-	          <div class="float_right">
25
-	            <input id="ITP_FORM_MLOANMNG02010" type="text" placeholder="A매장명">
26
-	          </div>
22
+          <div class="float_right">
23
+            <input id="ITP_FORM_MLOANMNG02010" type="text" placeholder="A매장명">
27 24
           </div>
28 25
         </div>
29 26
         <div class="line">
30 27
           <label>입금금액</label>
31
-          <div class="search_wrap">
32
-	          <div class="float_right">
33
-	            <input id="ITP_FORM_MLOANMNG02010" type="text" >
34
-	          </div>	
28
+          <div class="float_right">
29
+            <input id="ITP_FORM_MLOANMNG02010" type="text" >
35 30
           </div>
36 31
         </div>
37 32
         <div class="line">
38 33
           <label>입금일자</label>
39
-          <div class="search_wrap">
40
-	          <div class="float_right">
41
-	            <input id="ITP_FORM_MLOANMNG02010" style="width:178px;" type="date">
42
-	          </div>
34
+          <div class="float_right">
35
+            <input id="ITP_FORM_MLOANMNG02010" type="date" style="width: 387px;">
43 36
           </div>
44 37
         </div>
45 38
         <div class="line">
46 39
           <label>입금자명</label>
47
-          <div class="search_wrap">
48
-	          <div class="float_right">
49
-	            <input id="ITP_FORM_MLOANMNG02010" type="text" >
50
-	          </div>
40
+          <div class="float_right">
41
+            <input id="ITP_FORM_MLOANMNG02010" type="text" >
51 42
           </div>
52 43
         </div>
53 44
         <div class="line">
54 45
           <label>입금은행</label>
55
-          <div class="search_wrap">
56
-	          <div class="float_right">
57
-	            <select name="" id="ITP_FORM_MLOANMNG02010" style="width:178px;">
58
-	              <option value="">은행코드 선택</option>
59
-	            </select>
60
-	          </div>
46
+          <div class="float_right">
47
+            <select name="" id="ITP_FORM_MLOANMNG02010" style="width: 387px;">
48
+              <option value="">은행코드 선택</option>
49
+            </select>
61 50
           </div>
62 51
         </div>
63 52
         <div class="line">
64 53
           <label>입금계좌번호</label>
65
-          <div class="search_wrap">
66
-	          <div class="float_right">
67
-	            <input id="ITP_FORM_MLOANMNG02010" type="text" >
68
-	          </div>
54
+          <div class="float_right">
55
+            <input id="ITP_FORM_MLOANMNG02010" type="text" >
69 56
           </div>
70 57
         </div>
71 58
         <div class="line">
@@ -82,20 +69,20 @@
82 69
           <label>> 입금요청반려</label>
83 70
         </div>
84 71
         <div class="header_right">
85
-          <button id="ITP_BTN_MLOANMNG02010"><img src="../img/close.png"></button>
72
+          <button id="ITP_BTN_MLOANMNG02010"><img src="/img/close.png"></button>
86 73
         </div>
87 74
       </div>
88 75
       <div class="content">
89 76
         <div class="line">
90 77
           <label>브랜드명</label>
91 78
           <div class="float_left">
92
-            <div class="fn color-gray">A 브랜드명</div>
79
+            <div class="fn">A 브랜드명</div>
93 80
           </div>
94 81
         </div>
95 82
         <div class="line">
96 83
           <label>매장명</label>
97 84
           <div class="float_left">
98
-            <div class="fn color-gray">A 매장명</div>
85
+            <div class="fn">A 매장명</div>
99 86
           </div>
100 87
         </div>
101 88
         <div class="line">
@@ -128,7 +115,7 @@
128 115
             <div class="fn">11122233333344</div>
129 116
           </div>
130 117
         </div>
131
-        <div class="line" style="height: 140px;">
118
+        <div class="line" style="height: 350px;">
132 119
           <label>반려사유</label>
133 120
           <div class="float_left note">
134 121
             <textarea  class="fn" cols="30" rows="10"></textarea>       
@@ -146,19 +133,17 @@
146 133
     <div class="content">
147 134
       <div class="line">
148 135
         <label>반품장소</label>
149
-        <div class="search_wrap">
150
-	        <div class="float_left">
151
-	          <input id="ITP_FORM_MLOANMNG02010" type="text" placeholder="A매장명">
152
-	        </div>
153
-	        <div class="float_left_btn">
154
-	          <button id="ITP_BTN_MLOANMNG02010"><img src="../img/search.png" alt=""></button>
155
-	          <button id="ITP_BTN_MLOANMNG02010"><img src="../img/delete.png" alt=""></button>
156
-	        </div>
136
+        <div class="float_left">
137
+          <input id="ITP_FORM_MLOANMNG02010" type="text" placeholder="A매장명">
138
+        </div>
139
+        <div class="float_left_btn">
140
+          <button id="ITP_BTN_MLOANMNG02010"><img src="/img/search.png" alt=""></button>
141
+          <button id="ITP_BTN_MLOANMNG02010"><img src="/img/delete.png" alt=""></button>
157 142
         </div>
158 143
       </div>
159 144
       <div class="line">
160 145
         <label>반품발주상태</label>
161
-        <div class="line_right">
146
+        <div class="float_left">
162 147
           <select name="" id="ITP_FORM_MLOANMNG02010">
163 148
             <option value=""></option>
164 149
           </select>
@@ -183,16 +168,16 @@
183 168
       </div>
184 169
     </div>
185 170
     <div class="scroll_area row-2">
186
-      <li class="history_list" style="padding:0;">
171
+      <li class="history_list">
187 172
         <div class="button_right">
188 173
           <button id="ITP_BTN_MLOANMNG02010" class="btn-primary AGR">승인</button>
189 174
           <button id="ITP_BTN_MLOANMNG02010" class="btn-danger RJT">반려</button>
190 175
         </div>
191
-        <div class="left btn">
176
+        <div class="left">
192 177
           <div class="nomal">
193 178
             <label class="col_0">매장명&nbsp;&nbsp;&nbsp;:&nbsp;</label>
194
-            <div class="col_5 history">
195
-              <div class="fn col_5">A매장</div>
179
+            <div class="history">
180
+              <div class="fn">A매장</div>
196 181
             </div>
197 182
             <label class="col_0">입금일자&nbsp;:</label>
198 183
             <div class="history">
@@ -200,11 +185,11 @@
200 185
             </div>
201 186
           </div>
202 187
         </div>
203
-        <div class="left btn">
188
+        <div class="left">
204 189
           <div class="nomal">
205 190
             <label class="col_0">입금금액&nbsp;:</label>
206
-            <div class="col_5 history">
207
-              <div class="col_5 fn">1,000,000</div>
191
+            <div class="history">
192
+              <div class="fn">1,000,000</div>
208 193
             </div>
209 194
             <label class="col_0">입금자&nbsp;:</label>
210 195
             <div class="history">
@@ -212,7 +197,7 @@
212 197
             </div>
213 198
           </div>
214 199
         </div>
215
-        <div class="left btn">
200
+        <div class="left">
216 201
           <div class="nomal">
217 202
             <label class="col_0">입금정보&nbsp;:</label>
218 203
             <div class="history">
@@ -221,7 +206,7 @@
221 206
             </div>
222 207
           </div>
223 208
         </div>
224
-        <div class="left btn">
209
+        <div class="left">
225 210
           <div class="nomal">
226 211
             <label class="col_0">처리결과&nbsp;:</label>
227 212
             <div class="history">

+ 2 - 2
src/main/webapp/mobile/app/mpomng/MPOMNG01010.html

@@ -1,5 +1,5 @@
1 1
 <section id="ITP_MOBILE_MPOMNG01010">
2
-  <div id="ITP_POP_MPOMNG01010_REQ_CONFIRM" class="popup mobile-pop-close" style="display: none;">
2
+  <div id="ITP_POP_MPOMNG01010_REQ_CONFIRM" class="popup mobile-popup-div" style="display: none;">
3 3
     <div class="pop">
4 4
       <div class="pop_line">
5 5
         <label>납품요청일 &nbsp;&nbsp;:</label>
@@ -20,7 +20,7 @@
20 20
       </div>
21 21
     </div>
22 22
   </div>
23
-  <div id="ITP_POP_MPOMNG01010_WHS_NM" class="popup2 mobile-pop-close" style="display: none;">
23
+  <div id="ITP_POP_MPOMNG01010_WHS_NM" class="popup2 mobile-popup-div" style="display: none;">
24 24
     <div class="pop">
25 25
       <div class="header">
26 26
         <div class="header_left">

+ 18 - 19
src/main/webapp/mobile/app/mrtnmng/MRTNMNG02010.html

@@ -1,5 +1,6 @@
1
+<link rel="stylesheet" href="/style.css">
1 2
 <section>
2
-  <div id="ITP_AJAX_MRTNMNG02010_VIEW_CONTAINER" style="display: none;">
3
+  <div id="ITP_AJAX_MRTNMNG02010_VIEW_CONTAINER" style="display:block;">
3 4
     <div class="content">
4 5
         <div class="line">
5 6
           <label>반품요청일</label>
@@ -11,7 +12,7 @@
11 12
       </div>
12 13
       <div class="line">
13 14
         <label>반품요청상태</label>
14
-        <div class="line_right">
15
+        <div class="float_left">
15 16
           <select class="stcd" name="" id="ITP_FORM_MRTNMNG02010_VIEW">
16 17
             <option value="">상태</option>
17 18
           </select>
@@ -19,17 +20,15 @@
19 20
       </div>
20 21
       <div class="line">
21 22
         <label>반품장소</label>
22
-        <div class="search_nm">
23
-	        <div class="float_left">
24
-	          <input id="ITP_FORM_MRTNMNG02010_VIEW" class="fn" type="text" placeholder="A매장명">
25
-	        </div>
26
-	        <div class="float_left_btn">
27
-	          <button id="ITP_BTN_MRTNMNG02010"><img src="../img/search.png" alt=""></button>
28
-	          <button id="ITP_BTN_MRTNMNG02010"><img src="../img/delete.png" alt=""></button>
29
-	        </div>
30
-      	</div>   
23
+        <div class="float_left">
24
+          <input id="ITP_FORM_MRTNMNG02010_VIEW" class="fn" type="text" placeholder="A매장명">
25
+        </div>
26
+        <div class="float_left_btn">
27
+          <button id="ITP_BTN_MRTNMNG02010"><img src="/img/search.png" alt=""></button>
28
+          <button id="ITP_BTN_MRTNMNG02010"><img src="/img/delete.png" alt=""></button>
29
+        </div>
31 30
       </div>
32
-      <div class="line" style="height:45px;">
31
+      <div class="line">
33 32
         <div class="search">
34 33
           <button id="ITP_BTN_MRTNMNG02010" class="btn-primary btn-sm ADB">검색</button>
35 34
         </div>
@@ -74,7 +73,7 @@
74 73
       </li>
75 74
     </div>
76 75
   </div>
77
-  <div id="ITP_AJAX_MRTNMNG02010_DETAIL_CONTAINER" style="display: block;">
76
+  <div id="ITP_AJAX_MRTNMNG02010_DETAIL_CONTAINER" style="display: none;">
78 77
     <div class="content">
79 78
       <div class="line">
80 79
         <label>반품요청일</label>
@@ -100,19 +99,19 @@
100 99
     </div>
101 100
     <div class="scroll_area row-1" >
102 101
       <li>
103
-        <div class="left_info">
102
+        <div class="left">
104 103
           <div class="thick">
105
-            <div class="fnItemNm">품목명</div>
104
+            <div class="fn">품목명</div>
106 105
             <div>-</div>
107
-            <div class="fnUnit">2EA</div>
106
+            <div class="fn">2EA</div>
108 107
           </div>
109
-          <div class="thick">
108
+          <div class="nomal">
110 109
             <label class="space0">반품가 :</label>
111
-            <div class="fnPchActAmt">1,120,000</div>
110
+            <div class="fn">1,120,000</div>
112 111
           </div>
113 112
         </div>
114 113
         <div class="right">
115
-          <div class="num fnNum">2</div>
114
+          <div class="fn num">2</div>
116 115
         </div>
117 116
       </li>
118 117
     </div>

+ 33 - 35
src/main/webapp/mobile/app/mrtnmng/MRTNMNG03010.html

@@ -1,5 +1,6 @@
1
+<link rel="stylesheet" href="/style.css">
1 2
 <section>
2
-  <div id="ITP_AJAX_MRTNMNG03010_VIEW_CONTAINER" style="display: none;">
3
+  <div id="ITP_AJAX_MRTNMNG03010_VIEW_CONTAINER" style="display: block;">
3 4
     <div class="content">
4 5
       <div class="line">
5 6
         <label>반품발주일자</label>
@@ -11,7 +12,7 @@
11 12
       </div>
12 13
       <div class="line">
13 14
         <label>반품발주상태</label>
14
-        <div class="line_right">
15
+        <div class="float_left">
15 16
           <select name="" id="ITP_FORM_MRTNMNG03010_VIEW">
16 17
             <option value=""></option>
17 18
           </select>
@@ -19,29 +20,25 @@
19 20
       </div>
20 21
       <div class="line">
21 22
         <label>반품장소</label>
22
-        <div class="search_nm">
23
-	        <div class="float_left">
24
-	          <input id="ITP_FORM_MRTNMNG03010_VIEW" type="text" placeholder="A매장명">
25
-	        </div>
26
-	        <div class="float_left_btn">
27
-	          <button id="ITP_BTN_MRTNMNG03010"><img src="../img/search.png" alt=""></button>
28
-	          <button id="ITP_BTN_MRTNMNG03010"><img src="../img/delete.png" alt=""></button>
29
-	        </div>
23
+        <div class="float_left">
24
+          <input id="ITP_FORM_MRTNMNG03010_VIEW" type="text" placeholder="A매장명">
25
+        </div>
26
+        <div class="float_left_btn">
27
+          <button id="ITP_BTN_MRTNMNG03010"><img src="/img/search.png" alt=""></button>
28
+          <button id="ITP_BTN_MRTNMNG03010"><img src="/img/delete.png" alt=""></button>
30 29
         </div>
31 30
       </div>
32 31
       <div class="line">
33 32
         <label>반품입고장소</label>
34
-        <div class="search_nm">
35
-	        <div class="float_left">
36
-	          <input id="ITP_FORM_MRTNMNG03010_VIEW" type="text" placeholder="A공급업체명">
37
-	        </div>
38
-	        <div class="float_left_btn">
39
-	          <button id="ITP_BTN_MRTNMNG03010"><img src="../img/search.png" alt=""></button>
40
-	          <button id="ITP_BTN_MRTNMNG03010"><img src="../img/delete.png" alt=""></button>
41
-        	</div>
42
-        </div>	
33
+        <div class="float_left">
34
+          <input id="ITP_FORM_MRTNMNG03010_VIEW" type="text" placeholder="A공급업체명">
35
+        </div>
36
+        <div class="float_left_btn">
37
+          <button id="ITP_BTN_MRTNMNG03010"><img src="/img/search.png" alt=""></button>
38
+          <button id="ITP_BTN_MRTNMNG03010"><img src="/img/delete.png" alt=""></button>
39
+        </div>
43 40
       </div>
44
-      <div class="line" style="height:50px;">
41
+      <div class="line">
45 42
         <div class="search">
46 43
           <button id="ITP_BTN_MRTNMNG03010" class="btn-primary btn-sm ADB">검색</button>
47 44
         </div>
@@ -64,8 +61,8 @@
64 61
         <div class="left">
65 62
           <div class="nomal">
66 63
             <label class="col_2">반품발주상태&nbsp;:</label>
67
-            <div class="col_5">
68
-              <div class="col_5 fn">대기</div>
64
+            <div>
65
+              <div class="fn">대기</div>
69 66
             </div>
70 67
             <label>납품장소명&nbsp;:</label>
71 68
             <div>
@@ -94,7 +91,7 @@
94 91
       </li>
95 92
     </div>
96 93
   </div>
97
-  <div id="ITP_AJAX_MRTNMNG03010_DETAIL_CONTAINER" style="display: block;">
94
+  <div id="ITP_AJAX_MRTNMNG03010_DETAIL_CONTAINER" style="display: none;">
98 95
     <div class="content">
99 96
       <div class="line">
100 97
         <label>반품발주일자</label>
@@ -127,29 +124,30 @@
127 124
     <div class="scroll_area row-2">
128 125
       <li>
129 126
         <div>
130
-          <div class="left_info col-4">
131
-            <div class="thick">
132
-              <div class="fnItemNm">품목명</div>
127
+          <div class="detail_left">
128
+            <div class="detail_info">
129
+              <div class="fn">품목명</div>
133 130
               <i>-</i>
134
-              <div class="fnUnit">2EA</div>
131
+              <div class="fn">2EA</div>
135 132
             </div>
136 133
           </div>
137
-          <div class="left_info col-6">
138
-            <div class="thick">
134
+          <div class="detail_right">
135
+            <div class="detail_info">
139 136
               <label>수량/금액</label>
140 137
               <div class="fn">2</div>
141 138
               <i>/</i>
142 139
               <div class="fn">24,000</div>
143 140
             </div>
144 141
           </div>
145
-          <div class="left_info col-4">
146
-            <div class="thick">
147
-              <label style="margin:0;">구매가 :</label>
148
-              <div class="fnPchActAmt">12,000</div>
142
+
143
+          <div class="detail_left">
144
+            <div class="detail_info">
145
+              <label class="space0">구매가 &nbsp;:&nbsp;</label>
146
+              <div class="fn">12,000</div>
149 147
             </div>
150 148
           </div>
151
-          <div class="left_info col-6">
152
-            <div class="thick">
149
+          <div class="detail_right">
150
+            <div class="detail_info">
153 151
               <label>납기요청일&nbsp;:&nbsp;</label>
154 152
               <div class="fn">2022.10.01</div>
155 153
             </div>

+ 22 - 27
src/main/webapp/mobile/app/mrtnmng/MRTNMNG04010.html

@@ -1,15 +1,16 @@
1
+<link rel="stylesheet" href="/style.css">
1 2
 <section>
2 3
   <div id="ITP_AJAX_MRTNMNG04010_VIEW_CONTAINER" style="display: block;">
3 4
     <div class="content">
4 5
       <div class="line">
5 6
         <label>반품예정일</label>
6
-        <div class="line_right">
7
+        <div class="float_left">
7 8
           <input id="ITP_FORM_MRTNMNG04010_VIEW" class="date2" type="date" placeholder="">
8 9
         </div>
9 10
       </div>
10 11
       <div class="line">
11 12
         <label>반품서번호</label>
12
-        <div class="line_right">
13
+        <div class="float_left">
13 14
           <select name="" id="ITP_FORM_MRTNMNG04010_VIEW">
14 15
             <option value=""></option>
15 16
           </select>
@@ -17,37 +18,31 @@
17 18
       </div>
18 19
       <div class="line">
19 20
         <label>반품입고장소</label>
20
-        <div class="search_wrap">
21
-	        <div class="float_left">
22
-	          <input id="ITP_FORM_MRTNMNG04010_VIEW" type="text" placeholder="A공급업체명">
23
-	        </div>
24
-	        <div class="float_left_btn">
25
-	          <button id="ITP_BTN_MRTNMNG04010"><img src="../img/search.png" alt=""></button>
26
-	          <button id="ITP_BTN_MRTNMNG04010"><img src="../img/delete.png" alt=""></button>
27
-	        </div>
21
+        <div class="float_left">
22
+          <input id="ITP_FORM_MRTNMNG04010_VIEW" type="text" placeholder="A공급업체명">
23
+        </div>
24
+        <div class="float_left_btn">
25
+          <button id="ITP_BTN_MRTNMNG04010"><img src="/img/search.png" alt=""></button>
26
+          <button><img src="/img/delete.png" alt=""></button>
28 27
         </div>
29 28
       </div>
30 29
       <div class="line">
31 30
         <label>반품장소</label>
32
-        <div class="search_wrap">
33
-	        <div class="float_left">
34
-	          <input id="ITP_FORM_MRTNMNG04010_VIEW" type="text" placeholder="A매장명">
35
-	        </div>
36
-	        <div class="float_left_btn">
37
-	          <button id="ITP_BTN_MRTNMNG04010"><img src="../img/search.png" alt=""></button>
38
-	          <button id="ITP_BTN_MRTNMNG04010"><img src="../img/delete.png" alt=""></button>
39
-	        </div>
40
-      	</div>  
31
+        <div class="float_left">
32
+          <input id="ITP_FORM_MRTNMNG04010_VIEW" type="text" placeholder="A매장명">
33
+        </div>
34
+        <div class="float_left_btn">
35
+          <button id="ITP_BTN_MRTNMNG04010"><img src="/img/search.png" alt=""></button>
36
+          <button id="ITP_BTN_MRTNMNG04010"><img src="/img/delete.png" alt=""></button>
37
+        </div>
41 38
       </div>
42 39
       <div class="line">
43 40
         <label>반품품목명</label>
44
-       	<div class="search_wrap">
45
-	        <div class="float_left">
46
-	          <input id="ITP_FORM_MRTNMNG04010_VIEW" style="width: 262px;" type="text" placeholder="A매장명">
47
-	        </div>
48
-  	  	</div>   
41
+        <div class="float_left">
42
+          <input id="ITP_FORM_MRTNMNG04010_VIEW" style="width: 600px;" type="text" placeholder="A매장명">
43
+        </div>
49 44
       </div>
50
-      <div class="line" style="height:50px;">
45
+      <div class="line">
51 46
         <div class="search">
52 47
           <button id="ITP_BTN_MRTNMNG04010" class="btn-primary btn-sm ADB">검색</button>
53 48
         </div>
@@ -97,8 +92,8 @@
97 92
         <div class="left">
98 93
           <div class="nomal">
99 94
             <label class="col_2">반품요청수량</label>
100
-            <div class="col_5 history">
101
-              <div class="col_5 fn">10</div>
95
+            <div class="history">
96
+              <div class="fn">10</div>
102 97
             </div>
103 98
             <label class="col_0">반품발주수량</label>
104 99
             <div class="history">

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

@@ -1,3 +1,4 @@
1
+<link rel="stylesheet" href="/style.css">
1 2
 <section>
2 3
   <div id="ITP_AJAX_MRTNMNG05010_VIEW_CONTAINER">
3 4
     <div class="content">
@@ -13,43 +14,37 @@
13 14
       </div>
14 15
       <div class="line">
15 16
         <label>반품발주번호</label>
16
-        <div class="line_right">
17
+        <div class="float_left">
17 18
           <input id="ITP_FORM_MRTNMNG05010_VIEW" type="text">
18 19
         </div>
19 20
       </div>
20 21
       <div class="line">
21 22
         <label>반품입고장소</label>
22
-        <div class="search_wrap">
23
-	        <div class="float_left">
24
-	          <input id="ITP_FORM_MRTNMNG05010_VIEW" type="text" placeholder="A공급업체명">
25
-	        </div>
26
-	        <div class="float_left_btn">
27
-	          <button id="ITP_BTN_MRTNMNG05010"><img src="../img/search.png" alt=""></button>
28
-	          <button id="ITP_BTN_MRTNMNG05010"><img src="../img/delete.png" alt=""></button>
29
-	        </div>
23
+        <div class="float_left">
24
+          <input id="ITP_FORM_MRTNMNG05010_VIEW" type="text" placeholder="A공급업체명">
25
+        </div>
26
+        <div class="float_left_btn">
27
+          <button id="ITP_BTN_MRTNMNG05010"><img src="/img/search.png" alt=""></button>
28
+          <button id="ITP_BTN_MRTNMNG05010"><img src="/img/delete.png" alt=""></button>
30 29
         </div>
31 30
       </div>
32 31
       <div class="line">
33 32
         <label>반품장소</label>
34
-        <div class="search_wrap">
35
-	        <div class="float_left">
36
-	          <input id="ITP_FORM_MRTNMNG05010_VIEW" type="text" placeholder="A매장명">
37
-	        </div>
38
-	        <div class="float_left_btn">
39
-	          <button id="ITP_BTN_MRTNMNG05010"><img src="../img/search.png" alt=""></button>
40
-	          <button id="ITP_BTN_MRTNMNG05010"><img src="../img/delete.png" alt=""></button>
41
-	        </div>
33
+        <div class="float_left">
34
+          <input id="ITP_FORM_MRTNMNG05010_VIEW" type="text" placeholder="A매장명">
35
+        </div>
36
+        <div class="float_left_btn">
37
+          <button id="ITP_BTN_MRTNMNG05010"><img src="/img/search.png" alt=""></button>
38
+          <button id="ITP_BTN_MRTNMNG05010"><img src="/img/delete.png" alt=""></button>
42 39
         </div>
43 40
       </div>
44 41
       <div class="line">
45 42
         <label>품목명</label>
46
-        <div class="search_wrap">
47
-	        <div class="float_left">
48
-	          <input id="ITP_FORM_MRTNMNG05010_VIEW" style="width: 262px;" type="text" placeholder="A매장명">
49
-	        </div>
43
+        <div class="float_left">
44
+          <input id="ITP_FORM_MRTNMNG05010_VIEW" style="width: 600px;" type="text" placeholder="A매장명">
50 45
         </div>
51 46
       </div>
52
-      <div class="line" style="height:50px;">
47
+      <div class="line">
53 48
         <div class="search">
54 49
           <button id="ITP_BTN_MRTNMNG05010"class="btn-primary btn-sm ADB">검색</button>
55 50
         </div>
@@ -62,7 +57,7 @@
62 57
       <li class="history_list2">
63 58
         <div class="left">
64 59
           <div class="nomal">
65
-            <label>반품발주번호 </label>
60
+            <label class="col_6">반품발주번호 </label>
66 61
             <div>
67 62
               <div class="fn">202210010000001-0100</div> 
68 63
             </div>
@@ -98,11 +93,11 @@
98 93
         </div>
99 94
         <div class="left">
100 95
           <div class="nomal">
101
-            <label>반품발주수량</label>
102
-            <div class="col_5">
103
-              <div class="col_5 fn">10</div>
96
+            <label class="col_2">반품발주수량</label>
97
+            <div>
98
+              <div class="fn">10</div>
104 99
             </div>
105
-            <label>반품입고수량</label>
100
+            <label class="col_6">반품입고수량</label>
106 101
             <div>
107 102
               <div class="fn">10</div>
108 103
             </div>

+ 31 - 32
src/main/webapp/mobile/css/style.css

@@ -2,7 +2,6 @@
2 2
 * {margin: 0; padding: 0; box-sizing: border-box; text-align: center; font-family: 'NanumBarunGothic', 'serif'; list-style: none;}
3 3
 section {}
4 4
 body{background: #fff; position: relative; width: 100%; height: auto;}
5
-.color-gray {color:#aaa;}
6 5
 /* 팝업 */
7 6
 section .popup { position: fixed; width: 100%; height: 100%; background: transparent; z-index: 11;}
8 7
 section .popup .pop { position: absolute; top: 45%; left: 50%; transform: translate(-50%,-50%); width: 70%; height: 250px; padding-top: 30px; background: #fff; border: 2px solid #000; border-top-left-radius: 10px; border-top-right-radius: 10px;}
@@ -17,7 +16,7 @@ section .popup .pop .popup_btn button.cancel {width: 36%;}
17 16
 
18 17
 
19 18
 section .popup2 {position: fixed; width: 100%; height: 100%; background: rgba(200, 200,200, 0.8); z-index: 11;}
20
-section .popup2 .content {position: fixed; z-index: 10; width:100%; background: #fff;}
19
+section .popup2 .content {padding-top: 5%; top: 100px; position: fixed; z-index: 10; width:100%; background: #fff;}
21 20
 section .popup2 .barcode {width: 100%;}
22 21
 section .popup2 .barcode_area {width: 70%; height: 35%; margin: auto; background: #fff; border: 1px solid #000; margin-top: 5%;}
23 22
 section .popup2 .barcode h1{text-align: left; width: 85%; font-size: 2.6rem; margin:auto; margin-top: 30%;}
@@ -55,19 +54,17 @@ section .popup2 .pop .popup_scroll li .right {margin: 40px 0; position: relative
55 54
 section .popup2 .pop .popup_scroll li .right .num {margin: 0 40px; width: auto;}
56 55
 section .popup2 .pop .popup_scroll li .right button {margin: -12px; padding: 20px; font-size: 1.5rem; border-radius: 0px;}
57 56
 section .popup2 .pop .popup_scroll li .add button{float: right; width: 120px; height: 120px; margin: 10px 20px; border-radius: 30px; font-size: 2rem; background: rgb(198, 170, 250);}
58
-section .popup2 .pop .content .line button {width: 40%; height: 35px;font-size: 1rem; padding: 0; margin: 0 10px;}
57
+section .popup2 .pop .content .line button {width: 40%; height: 80px;font-size: 2.4rem; padding: 0; margin: 0 20px;}
59 58
 
60 59
 section .popup3 { position: fixed; width: 100%; height: 100%; background: transparent; z-index: 11;}
61
-section .popup3 .content {position: fixed; z-index: 10; width:100%; height:596px; background: #fff;}
62
-section .popup3 .content label{width:120px; margin-top:7px;}
63
-section .popup3 .content div{font-weight:100;}
64
-section .popup3 .pop { position: absolute; top: 37%; left: 50%; transform: translate(-50%,-40%); width: 90%; height: 85%; background: #fff; border: 2px solid #000;}
65
-section .popup3 .pop .header {position: relative; height: 50px; background: rgb(204, 225, 240); border-bottom: 1px solid #000;}
66
-section .popup3 .pop .header .header_left {float: left; padding-top: 5px; padding-left: 20px;}
67
-section .popup3 .pop .header .header_left label {font-size: 1.4rem;} 
60
+section .popup3 .content {padding-top: 5%; top: 100px; position: fixed; z-index: 10; width:100%; background: #fff;}
61
+section .popup3 .pop { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 90%; height: 85%; background: #fff; border: 2px solid #000;}
62
+section .popup3 .pop .header {position: relative; height: 100px; background: rgb(204, 225, 240); border-bottom: 1px solid #000;}
63
+section .popup3 .pop .header .header_left {float: left; padding-top: 20px; padding-left: 20px;}
64
+section .popup3 .pop .header .header_left label {font-size: 2.4rem;} 
68 65
 section .popup3 .pop .header .header_right {float: right; padding-right: 10px;}
69 66
 section .popup3 .pop .header .header_right button {border: none; background: transparent;}
70
-section .popup3 .pop .header .header_right button img {width:30px; height:30px;}
67
+
71 68
 /* 버튼 */
72 69
 button {background-color: #fff; padding: 10px;}
73 70
 button.btn-primary  {color: #fff; background-color: #337ab7; border: 1px solid #000;font-weight: 700;}
@@ -146,7 +143,7 @@ body.eee {height: 700px; background: #eee;}
146 143
 
147 144
 
148 145
 input {margin-top: 3px; border: 1px solid #000; margin-top: -2px; height: 36px; font-size: 0.8rem; text-align: left; padding:0 15px;}
149
-select {border: 1px solid #000; height: 35px; font-size: 1rem; text-align: left; padding:0 15px;}
146
+select {border: 1px solid #000; height: 60px; font-size: 1rem; text-align: left; padding:0 15px;}
150 147
 input .day {margin: 18%; width: 45%; height: 80px; float: right;}
151 148
 
152 149
 /* 공통화면 */
@@ -198,13 +195,14 @@ input .day {margin: 18%; width: 45%; height: 80px; float: right;}
198 195
 .content .line {position: relative; display: inline-block; width: 100%; height: 35px; margin-bottom: 0px;}
199 196
 .content .line div {font-weight: 700;}
200 197
 .content .line label {font-size: 1.2rem; margin-left: 10px; float: left; text-align: left; margin-top: 12px;}
198
+.content .line label.col_6{width: 404px;}
201 199
 .content .line select.label {border: 1px solid #000; font-size: 0.9rem;margin:9px 0 0 5px; float: left; width: 120px; height: 30px; text-align: left;}
202 200
 .content .line .search_nm {float: right; margin-right: 2%;}
203 201
 .content .line .search_wrap {float:right; margin-right:10px;}
204 202
 .content .line .float_left {float: left;}
205 203
 .content .line .float_left.note {width: 100%; padding: 10px;}
206
-.content .line .float_left.note textarea {width: 100%; height: 100px; border: 1px solid #000; text-align: left;}
207
-.content .line .float_left div {font-size: 1rem; margin-top: 8px;}
204
+.content .line .float_left.note textarea {width: 100%; height: 300px; border: 1px solid #000; text-align: left;}
205
+.content .line .float_left div {font-size: 2.4rem; margin-top: -8px;}
208 206
 .content .line .float_left_btn {float: left; margin-top: 5px; margin-left: 5px;}
209 207
 .content .line .float_left_btn button {padding:0; width:36px; height:36px; border-radius:5px;}
210 208
 .content .line .float_left_btn button img {width:20px; height:20px;}
@@ -213,8 +211,7 @@ input .day {margin: 18%; width: 45%; height: 80px; float: right;}
213 211
 .content .line .line_right div {float: right; font-size: 1.2rem; margin-top: 12px; margin-right: 30px;}
214 212
 .content .line .line_right input {position: relative; text-align: right; margin-right: 84px;}
215 213
 .content .line .line_right input.left {text-align: left;}
216
-.content .line .line_right input.mg0 {margin-right:10px;}
217
-.content .line .line_right select {float: right; width: 180px; height: 30px; margin-top: 7px; border: 1px solid #000; font-size: 1rem; margin-right:93px;}
214
+.content .line .line_right select {float: right; width: 180px; height: 30px; margin-top: 7px; border: 1px solid #000; font-size: 1rem; margin-right:83px;}
218 215
 .content .line input.date {width: 40%; margin: 10px; height: 40px; float: right; margin-right: 3%;}
219 216
 .content .line input.date2 {width: 140px; height: 30px; margin-right:133px;}
220 217
 .content .line div.date_to {float: right; margin-right:10px;}
@@ -222,8 +219,8 @@ input .day {margin: 18%; width: 45%; height: 80px; float: right;}
222 219
 .content .line div.date_to div.at {width: 3%;  font-size: 1rem; float: right; display: contents;}
223 220
 .content .line .search {width: 100%; height: 50px;}
224 221
 .content .line .search button {width: 50%; height: 35px; font-size: 1rem; padding: 0;}
225
-.content .line .search button.col_3 {width: 35%; margin-left:12px; float: left;}
226
-.content .line .search button.col_5 {width: 55%; margin-right: 10px; float: right;}
222
+.content .line .search button.col_3 {width: 35%; margin: 0 20px; float: left;}
223
+.content .line .search button.col_5 {width: 55%; margin: 0 20px; float: right;}
227 224
 .content .table_header {margin: 0 auto; width: 100%; height: 50px; background-color: #92c7f6; position: fixed; z-index: 10; border-bottom: 1px solid #000; border-top: 1px solid #000;}
228 225
 .content .table_header h1 {margin-top: 12px; margin-left: 10px; font-size: 1.2rem; float: left; color: #fff; font-weight: 100;}
229 226
 .content .table_header button {float: right; width: 111px; font-size: 1rem; padding: 5px 20px; margin: 8px;}
@@ -276,7 +273,7 @@ input .day {margin: 18%; width: 45%; height: 80px; float: right;}
276 273
 .row-3{top: 333px;}
277 274
 .row-4{top: 377px;}
278 275
 .row-5{top: 850px;}
279
-.row-6{top: 468px;}
276
+.row-6{top: 950px;}
280 277
 .row-7{top: 1030px;}
281 278
 
282 279
 .col-4{width:40% !important;}
@@ -292,32 +289,33 @@ input .day {margin: 18%; width: 45%; height: 80px; float: right;}
292 289
 .scroll_area li .left_info .history input{width: 150px;}
293 290
 .scroll_area li.history_list {height: 140px; padding-top:8px;}
294 291
 .scroll_area li.history_list .button_right {float: right; display: grid;}
295
-.scroll_area li.history_list .button_right button {width: 70px; height: 70px; font-size: 1rem; margin: 0; border-radius: 0;}
296
-.scroll_area li.history_list1 {height: 230px;}
292
+.scroll_area li.history_list .button_right button {width: 124px; height: 149px; font-size: 2rem; margin: 0; border-radius: 0;}
293
+.scroll_area li.history_list1 {height: 230px; }
297 294
 .scroll_area li.history_list2 {height: 160px; padding-top:5px;}
298 295
 .scroll_area li.history_list2 label{min-width:95px; display:inline-flex;}
299 296
 .scroll_area li.history_list3 {height: 330px;}
300
-.scroll_area li.history_list4 {height: 150px;}
301 297
 .scroll_area li .history_info {width: auto;}
302 298
 .scroll_area li .left {width:100%; height:30px; margin-top:0px;}
303
-.scroll_area li .btn {width:calc(100% - 70px); padding-top:12px;}
304 299
 .scroll_area li .left div {display: inline-block;}
305 300
 .scroll_area li .left label{font-size: 1.1rem;}
306 301
 .scroll_area li .left .thick {float:left;  margin: 8px 20px; font-size: 1rem; text-align: left; width: 50%; font-weight: 600;}
307 302
 .scroll_area li .left .history {font-weight: 700; font-size: 1.1rem; margin-top:-2px;}
308 303
 .scroll_area li .left .history input{width: 150px;}
309 304
 
310
-.scroll_area li .detail_line {width: 100%; height:25px; display: inline-block;}
305
+.scroll_area li div {padding: 1px;}
306
+.scroll_area li .detail_line {width: 100%; display: inline-block;}
311 307
 .scroll_area li .detail_left {float: left;}
308
+.scroll_area li .detail_left div {display: inline-block;}
312 309
 .scroll_area li .detail_left .detail_info {margin: 5px 10px;}
313
-.scroll_area li .detail_left .detail_info div {width: auto; font-size: 1rem; font-weight: 700;}
314
-.scroll_area li .detail_left .detail_info i {width: auto; font-size: 1rem; margin: 0 20px;}
315
-.scroll_area li .detail_left .detail_info label {position:absolute; width: auto;  font-size: 1rem;}
310
+.scroll_area li .detail_left .detail_info div {width: auto; font-size: 2.2rem; font-weight: 700;}
311
+.scroll_area li .detail_left .detail_info i {width: auto; font-size: 2.2rem; margin: 0 20px;}
312
+.scroll_area li .detail_left .detail_info label {width: auto;  font-size: 2rem;}
316 313
 .scroll_area li .detail_right {float: right;}
314
+.scroll_area li .detail_right div {display: inline-block;}
317 315
 .scroll_area li .detail_right .detail_info {margin: 5px 25px;}
318 316
 .scroll_area li .detail_right .detail_info label {margin: 5px 30px; font-size: 2rem;}
319
-.scroll_area li .detail_right .detail_info div {width: auto; font-size: 1rem; font-weight: 700;}
320
-.scroll_area li .detail_right .detail_info i {width: auto; font-size: 1rem; margin: 0 20px;}
317
+.scroll_area li .detail_right .detail_info div {width: auto; font-size: 2.2rem; font-weight: 700;}
318
+.scroll_area li .detail_right .detail_info i {width: auto; font-size: 2.2rem; margin: 0 20px;}
321 319
 .scroll_area li .left .nomal  {width: 100%; float:left; text-align: left; font-size: 1.2rem;}
322 320
 .scroll_area li .left .nomal .half {width:50%; float:left;}
323 321
 .scroll_area li .left .nomal .half label {font-weight:100;}
@@ -338,11 +336,12 @@ input .day {margin: 18%; width: 45%; height: 80px; float: right;}
338 336
 .scroll_area li .left .nomal label{position:relative; margin-left: 10px;}
339 337
 .scroll_area li .left .nomal label.sub_info{min-width: 70px; display: inline-flex;}
340 338
 .scroll_area li .left .nomal label.col_0{width: auto;}
341
-.scroll_area li .left .nomal label.col_2{width: 95px;}
339
+.scroll_area li .left .nomal label.col_1{width: 180px;}
340
+.scroll_area li .left .nomal label.col_2{width: 273px;}
341
+.scroll_area li .left .nomal label.col_6{width: 250px;}
342
+.scroll_area li .left .nomal label.col_7{width: 280px;}
342 343
 .scroll_area li .left .nomal i{width: 50px; text-align: center;}
343 344
 .scroll_area li .left .nomal div{min-width:90px; display: inline-flex; font-weight: 700; font-size: 1.1rem;}
344
-.scroll_area li .left .nomal .col_5{min-width:50px;}
345
-
346 345
 .scroll_area li .right {margin: 30px 20px 0 0; position: relative; display: flex; font-size: 1.4rem; font-weight: 700; float: right;}
347 346
 .scroll_area li .right .num {margin: 0 25px; width: auto;}
348 347
 .scroll_area li .right button {margin: -6px; padding:0px 7px; font-size: 1.5rem; border-radius: 0px;}

+ 10 - 8
src/main/webapp/mobile/js/app/mpomng/ITP_MPOMNG01010.js

@@ -26,14 +26,15 @@ let contentPageObj = {
26 26
 		},
27 27
 		button: function() {
28 28
 			$('button[id^="ITP_BTN_MPOMNG01010_DETAIL"]').on('click', function() {
29
+				var id = $(this).attr('id');
30
+				switch (id) {
31
+					case 'ITP_BTN_MPOMNG01010_DETAIL_TEMP_SAVE': break;
32
+					case 'ITP_BTN_MPOMNG01010_DETAIL_TEMP_SAVE': break;
33
+					case 'ITP_BTN_MPOMNG01010_DETAIL_CANCEL':break;
34
+				}
29 35
 				if($(this).is('[data-call-popup]')) {
30 36
 					contentPopObj.show($(this).data('call-popup'));
31 37
 				} else {
32
-					var id = $(this).attr('id');
33
-					switch (id) {
34
-						case 'ITP_BTN_MPOMNG01010_DETAIL_TEMP_SAVE': break;
35
-						case 'ITP_BTN_MPOMNG01010_DETAIL_CANCEL':break;
36
-					}
37 38
 				}
38 39
 				return false;
39 40
 			});
@@ -43,9 +44,10 @@ let contentPageObj = {
43 44
 
44 45
 let contentPopObj = {
45 46
 	show: function(id, args, fn) {
47
+		var elem = $('#' + id).closest('.mobile-popup-div');
48
+		console.log($(elem).attr('id'));
49
+		$(elem).show();
46 50
 		this.button();
47
-		console.log(id);
48
-		$('#' + id).show();
49 51
 	},
50 52
 	button: function() {
51 53
 		var _this = this;
@@ -65,6 +67,6 @@ let contentPopObj = {
65 67
 		});
66 68
 	},
67 69
 	hide: function(id) {
68
-		$('#' + id).closest('.mobile-pop-close').hide();
70
+		$('#' + id).closest('.mobile-popup-div').hide();
69 71
 	}
70 72
 };