|
@@ -345,14 +345,12 @@ let pageObj = {
|
345
|
345
|
gridEmpty: '',
|
346
|
346
|
gridRows: '',
|
347
|
347
|
load: function(gridRows) {
|
348
|
|
- console.log(gridRows);
|
349
|
348
|
var _this = this;
|
350
|
349
|
var option = {
|
351
|
350
|
gridId: _this.gridId,
|
352
|
351
|
colModel: gridColModel.detail,
|
353
|
352
|
data: gridRows,
|
354
|
353
|
loadComplete: function(data) {
|
355
|
|
- console.log(data);
|
356
|
354
|
itp_fn_grid_load_complete(data, COLLMNG02010_DETAIL_GRID_ID, true, 'number', 'COLLMNG02010', modifyObj.itp_COLLMNG02010_search, modifyObj.empty, true, data.gridRecords, true);
|
357
|
355
|
|
358
|
356
|
},
|
|
@@ -445,7 +443,6 @@ let listObj = {
|
445
|
443
|
load: function() {
|
446
|
444
|
let param = $('#ITP_FORM_COLLMNG02010_SEARCH').serializeObject();
|
447
|
445
|
param.gridSize = $.jgrid.defaults.rowNum;
|
448
|
|
- console.log(param);
|
449
|
446
|
var option = {
|
450
|
447
|
multiselect: true,
|
451
|
448
|
autowidth: true,
|
|
@@ -480,8 +477,6 @@ let listObj = {
|
480
|
477
|
/*수정화면 Object*/
|
481
|
478
|
let modifyObj = {
|
482
|
479
|
init: function (param) {
|
483
|
|
- console.log("param modiryObj init");
|
484
|
|
- console.log(param);
|
485
|
480
|
this.load(param);
|
486
|
481
|
},
|
487
|
482
|
button: {
|
|
@@ -538,7 +533,6 @@ let modifyObj = {
|
538
|
533
|
return false;
|
539
|
534
|
}
|
540
|
535
|
|
541
|
|
-
|
542
|
536
|
if (value.rtnOdrQty > value.coltQty ) {
|
543
|
537
|
alert("수거수량이 반품발주수량보다 클수 없습니다!");
|
544
|
538
|
chkQtyYn = "Y";
|
|
@@ -553,7 +547,7 @@ let modifyObj = {
|
553
|
547
|
let param = $(formId).serializeObject();
|
554
|
548
|
param.viewCd = "C";
|
555
|
549
|
param.gridInsertData = gridInsertData;
|
556
|
|
- console.log(JSON.stringify(param));
|
|
550
|
+
|
557
|
551
|
var searhFn = function () {
|
558
|
552
|
//ITP_FORM_COLLMNG02010_DETAIL_IS_WRITING = false;
|
559
|
553
|
pageObj.grid.clearData();
|
|
@@ -568,12 +562,9 @@ let modifyObj = {
|
568
|
562
|
},
|
569
|
563
|
|
570
|
564
|
load: function(param) {
|
571
|
|
- console.log("param modiryObj load");
|
572
|
|
- console.log(param);
|
573
|
565
|
fn_ajax_call(API_DETAIL_INIT_INFO, param, this.callback, 'GET');
|
574
|
566
|
},
|
575
|
567
|
callback: function(result) {
|
576
|
|
- console.log(result);
|
577
|
568
|
pageObj.switchScreen('DETAIL');
|
578
|
569
|
$('#ITP_FORM_COLLMNG02010_DETAIL #ITP_FORM_COLLMNG02010_DETAIL_SPPLY_ID').val(fn_make_user_info.get('spplyId'));
|
579
|
570
|
$('#ITP_FORM_COLLMNG02010_DETAIL .fnBrandNm').text(result.brandNm); // 브랜드
|