Selaa lähdekoodia

공급업체관리 저장 오류 수정

juney 2 vuotta sitten
vanhempi
commit
1294c02fcf

+ 2 - 2
src/main/webapp/app/stinfo/STINFO03010.html

@@ -174,10 +174,10 @@
174 174
 													<input type="text" id="ITP_FORM_STINFO03010_DETAIL_MBL_NO" class="form-control itp_input" name="mgrMblNo" value="">
175 175
 												</div>
176 176
 											</div>
177
-											<label class="col-xs-2 itp_lb">이메일</label>
177
+											<label class="col-xs-2 itp_lb">이메일 *</label>
178 178
 											<div class="col-xs-4 itp_ip">
179 179
 												<div class="col-xs-8 itp_in">
180
-								                	<input type="text" id="ITP_FORM_STINFO03010_DETAIL_EMAL_ADDR" class="form-control itp_input" name="mgrEmal" value="">
180
+								                	<input type="text" id="ITP_FORM_STINFO03010_DETAIL_EMAL_ADDR" data-check-required="empty" class="form-control itp_input" name="mgrEmal" value="">
181 181
 												</div>
182 182
 											</div>
183 183
 										</div>

+ 1 - 2
src/main/webapp/js/app/stinfo/ITP_STINFO03010.js

@@ -627,7 +627,6 @@ let createObj = {
627 627
 					$(STINFO03010_DETAIL_GRID_ID).jqGrid('saveCell', i+1, 2)
628 628
 				}
629 629
 				const rowData = $(STINFO03010_DETAIL_GRID_ID).getRowData();
630
-				console.log(rowData);
631 630
 				var gridUpdateData = pageObj.grid.changeRows(rowData);
632 631
 				$.each(rowData, function(key, value) {
633 632
 					if (value.viewCd !== 'R') {
@@ -651,7 +650,7 @@ let createObj = {
651 650
 					ITP_FORM_STINFO03010_DETAIL_IS_WRITING = false;
652 651
 					listObj.grid.search();
653 652
 				};
654
-				// fn_ajax_call(API_DETAIL_SAVE, JSON.stringify(param), searhFn, 'POST');
653
+				fn_ajax_call(API_DETAIL_SAVE, JSON.stringify(param), searhFn, 'POST');
655 654
 			}
656 655
 		}
657 656
 	}