Browse Source

반품관련 정보 수정

dwkim 2 years ago
parent
commit
b3f6ec4ec6

+ 1 - 1
src/main/webapp/app/collmng/COLLMNG01010.html

@@ -37,7 +37,7 @@
37
 										</div>
37
 										</div>
38
 										<div class="col-xs-3 itp_ip itp_noMar">
38
 										<div class="col-xs-3 itp_ip itp_noMar">
39
 											<input type="text" id="ITP_FORM_COLLMNG01010_DETAIL_RTN_WHS_NM" class="form-control itp_input" name="sDlvPlace" placeholder="수거장소 (매장/창고)" readonly/>
39
 											<input type="text" id="ITP_FORM_COLLMNG01010_DETAIL_RTN_WHS_NM" class="form-control itp_input" name="sDlvPlace" placeholder="수거장소 (매장/창고)" readonly/>
40
-											<input type="hidden" id="ITP_FORM_COLLMNG01010_DETAIL_RTN_WHS_ID" class="form-control itp_input" name="swhsId"/>
40
+											<input type="hidden" id="ITP_FORM_COLLMNG01010_DETAIL_RTN_WHS_ID" class="form-control itp_input" name="srtnWhsId"/>
41
 										</div>
41
 										</div>
42
 										<div class="col-xs-1 itp_in" style="padding-left: 5px; width:10%;">
42
 										<div class="col-xs-1 itp_in" style="padding-left: 5px; width:10%;">
43
 											<button type="button" id="ITP_BTN_COLLMNG01010_SEARCH_WHS_NM" class="btn btn-success btn-sm SEB" style="display: inline-block;"><i class="glyphicon glyphicon-search"></i></button>
43
 											<button type="button" id="ITP_BTN_COLLMNG01010_SEARCH_WHS_NM" class="btn btn-success btn-sm SEB" style="display: inline-block;"><i class="glyphicon glyphicon-search"></i></button>

+ 1 - 1
src/main/webapp/app/collmng/COLLMNG03010.html

@@ -31,7 +31,7 @@
31
 										</div>
31
 										</div>
32
 										<div class="col-xs-2 itp_in itp_noMar">
32
 										<div class="col-xs-2 itp_in itp_noMar">
33
 											<input type="text" id="ITP_FORM_COLLMNG03010_SEARCH_WHS_NM" class="form-control itp_input" name="swhsNm" placeholder="수거장소(매장/창고)" readonly/>
33
 											<input type="text" id="ITP_FORM_COLLMNG03010_SEARCH_WHS_NM" class="form-control itp_input" name="swhsNm" placeholder="수거장소(매장/창고)" readonly/>
34
-											<input type="hidden" id="ITP_FORM_COLLMNG03010_SEARCH_WHS_ID" class="form-control itp_input" />
34
+											<input type="hidden" id="ITP_FORM_COLLMNG03010_SEARCH_WHS_ID" class="form-control itp_input" name="swhsId" />
35
 										</div>
35
 										</div>
36
 										<div class="col-xs-1 itp_in" style="padding: 0px; width:8%;">
36
 										<div class="col-xs-1 itp_in" style="padding: 0px; width:8%;">
37
 											<button type="button" id="ITP_BTN_COLLMNG03010_SEARCH_WHS_ID" class="btn btn-success btn-sm SEB" style="display: inline-block;"><i class="glyphicon glyphicon-search"></i></button>
37
 											<button type="button" id="ITP_BTN_COLLMNG03010_SEARCH_WHS_ID" class="btn btn-success btn-sm SEB" style="display: inline-block;"><i class="glyphicon glyphicon-search"></i></button>

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

@@ -86,10 +86,10 @@
86
 								<input type="hidden" id="ITP_FORM_RTNMNG03010_DETAIL_STORE_ID" name="storeId" value="">
86
 								<input type="hidden" id="ITP_FORM_RTNMNG03010_DETAIL_STORE_ID" name="storeId" value="">
87
 								<input type="hidden" id="ITP_FORM_RTNMNG03010_DETAIL_RTN_REQ_DVSN" name="rtnReqDvsn" value="">
87
 								<input type="hidden" id="ITP_FORM_RTNMNG03010_DETAIL_RTN_REQ_DVSN" name="rtnReqDvsn" value="">
88
 								<input type="hidden" id="ITP_FORM_RTNMNG03010_DETAIL_SPPLY_ID" name="spplyId" value="">
88
 								<input type="hidden" id="ITP_FORM_RTNMNG03010_DETAIL_SPPLY_ID" name="spplyId" value="">
89
-								<input type="text" id="ITP_FORM_RTNMNG03010_DETAIL_RTN_WHS_ID" name="rtnWhsId" value="">
90
-								<input type="text" id="ITP_FORM_RTNMNG03010_DETAIL_RTN_LOCATION" name="rtnLocation" value="">
91
-								<input type="text" id="ITP_FORM_RTNMNG03010_DETAIL_WHS_ID" name="whsId" value="">
92
-								<input type="text" id="ITP_FORM_RTNMNG03010_DETAIL_LOCATION" name="location" value="">
89
+								<input type="hidden" id="ITP_FORM_RTNMNG03010_DETAIL_RTN_WHS_ID" name="rtnWhsId" value="">
90
+								<input type="hidden" id="ITP_FORM_RTNMNG03010_DETAIL_RTN_LOCATION" name="rtnLocation" value="">
91
+								<input type="hidden" id="ITP_FORM_RTNMNG03010_DETAIL_WHS_ID" name="whsId" value="">
92
+								<input type="hidden" id="ITP_FORM_RTNMNG03010_DETAIL_LOCATION" name="location" value="">
93
 																
93
 																
94
 								<input type="hidden" id="ITP_FORM_RTNMNG03010_DETAIL_JOB_CD" name="jobCd" value="R">
94
 								<input type="hidden" id="ITP_FORM_RTNMNG03010_DETAIL_JOB_CD" name="jobCd" value="R">
95
 					
95
 					

+ 1 - 1
src/main/webapp/app/stinfo/STINFO04010.html

@@ -231,7 +231,7 @@
231
 											<label class="col-xs-2 itp_lb">중량</label>
231
 											<label class="col-xs-2 itp_lb">중량</label>
232
 											<div class="col-xs-4 itp_ip">
232
 											<div class="col-xs-4 itp_ip">
233
 												<div class="col-xs-3 itp_in">
233
 												<div class="col-xs-3 itp_in">
234
-													<input type="text" id="ITP_FORM_STINFO04010_DETAIL_WEIGHT" data-check-required="number" class="form-control itp_input" name="weight" value="">
234
+													<input type="text" id="ITP_FORM_STINFO04010_DETAIL_WEIGHT"  class="form-control itp_input" name="weight" value="">
235
 												</div>
235
 												</div>
236
 												<div class="col-xs-4 itp_in">
236
 												<div class="col-xs-4 itp_in">
237
 	              									<select id="ITP_FORM_STINFO04010_DETAIL_WEIGHT_UNIT" data-select-code="WEIGHT_UNIT" class="form-control itp_input detail_item_unit" name="weight_unit"></select>
237
 	              									<select id="ITP_FORM_STINFO04010_DETAIL_WEIGHT_UNIT" data-select-code="WEIGHT_UNIT" class="form-control itp_input detail_item_unit" name="weight_unit"></select>

+ 1 - 0
src/main/webapp/js/app/collmng/ITP_COLLMNG01010.js

@@ -277,6 +277,7 @@ let listObj = {
277
 		search: function() {
277
 		search: function() {
278
 			listObj.itp_COLLMNG01010_search = true;
278
 			listObj.itp_COLLMNG01010_search = true;
279
 			let param = $('#ITP_FORM_COLLMNG01010_SEARCH').serializeObject();
279
 			let param = $('#ITP_FORM_COLLMNG01010_SEARCH').serializeObject();
280
+			console.log(JSON.stringify(param));
280
 			param.gridSize = $.jgrid.defaults.rowNum;
281
 			param.gridSize = $.jgrid.defaults.rowNum;
281
             param.gridPage = $.jgrid.defaults.page;
282
             param.gridPage = $.jgrid.defaults.page;
282
             $(COLLMNG01010_GRID_ID).setGridParam({'postData': JSON.stringify(param)}).trigger('reloadGrid');
283
             $(COLLMNG01010_GRID_ID).setGridParam({'postData': JSON.stringify(param)}).trigger('reloadGrid');

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

@@ -169,7 +169,7 @@ const gridColModel = {
169
 		},
169
 		},
170
 		{
170
 		{
171
 			index: 'WHS_NM', name: 'whsNm',
171
 			index: 'WHS_NM', name: 'whsNm',
172
-			label: ITP_MSG_LOCALE.label.whsNm, //입고창고명
172
+			label: ITP_MSG_LOCALE.label.locationNm, //입고창고명
173
 			width: '15', fixed: false, align: 'left',
173
 			width: '15', fixed: false, align: 'left',
174
 			sortable: false, hidden: false
174
 			sortable: false, hidden: false
175
 		}
175
 		}

+ 14 - 2
src/main/webapp/js/app/rtnmng/ITP_RTNMNG03010.js

@@ -233,6 +233,13 @@ const gridColModel = {
233
 			sortable: false, editable: false, edittype: 'text',
233
 			sortable: false, editable: false, edittype: 'text',
234
 			hidden: false
234
 			hidden: false
235
 		},
235
 		},
236
+		{
237
+			index: 'RTN_DVSN', name: 'rtnDvsn',
238
+			label: '반품구분', 
239
+			width: '6', fixed: false, align: 'left',
240
+			sortable: false, editable: false, edittype: 'text',
241
+			hidden: true
242
+		},
236
 		{
243
 		{
237
 			index: 'RTN_RSN_DVSN_NM', name: 'rtnRsnDvsnNm',
244
 			index: 'RTN_RSN_DVSN_NM', name: 'rtnRsnDvsnNm',
238
 			label: '사유구분', 
245
 			label: '사유구분', 
@@ -240,6 +247,13 @@ const gridColModel = {
240
 			sortable: false, editable: false, edittype: 'text',
247
 			sortable: false, editable: false, edittype: 'text',
241
 			hidden: false
248
 			hidden: false
242
 		},
249
 		},
250
+		{
251
+			index: 'RTN_RSN_DVSN', name: 'rtnRsnDvsn',
252
+			label: '사유구분', 
253
+			width: '7', fixed: false, align: 'left',
254
+			sortable: false, editable: false, edittype: 'text',
255
+			hidden: true
256
+		},
243
 		{
257
 		{
244
 			index: 'RTN_RSN', name: 'rtnRsn',
258
 			index: 'RTN_RSN', name: 'rtnRsn',
245
 			label: '사유', 
259
 			label: '사유', 
@@ -970,9 +984,7 @@ let modifyObj = {
970
 			$('body').trigger('click');
984
 			$('body').trigger('click');
971
 			const formId = (SCREEN_MODE == 'NPC' ? '#ITP_FORM_RTNMNG03010_NDETAIL' : '#ITP_FORM_RTNMNG03010_DETAIL');
985
 			const formId = (SCREEN_MODE == 'NPC' ? '#ITP_FORM_RTNMNG03010_NDETAIL' : '#ITP_FORM_RTNMNG03010_DETAIL');
972
 			itp_fn_form_clear_validate(null, formId);
986
 			itp_fn_form_clear_validate(null, formId);
973
-			console.log("111111111111111111");
974
 			if (itp_fn_form_event.isValid(formId)) {
987
 			if (itp_fn_form_event.isValid(formId)) {
975
-				console.log("222222222222222222");
976
 				if (SCREEN_MODE == 'NPC') {
988
 				if (SCREEN_MODE == 'NPC') {
977
 					const rowData1 = $(RTNMNG03010_NDETAIL_GRID_ID).getRowData();
989
 					const rowData1 = $(RTNMNG03010_NDETAIL_GRID_ID).getRowData();
978
 				
990