|
@@ -89,13 +89,13 @@ let mobPageObj = {
|
89
|
89
|
return false;
|
90
|
90
|
});
|
91
|
91
|
|
92
|
|
- $(document).on('click', '#ITP_LIST_MRTNMNG02010_LIST_ROWS li', function() {
|
|
92
|
+ $(document).off('click').on('click', '#ITP_LIST_MRTNMNG02010_LIST_ROWS li', function() {
|
93
|
93
|
var index = $(this).index();
|
94
|
94
|
var item = mobContentObj.list.rows[index];
|
95
|
95
|
(item.rtnReqStCd === RTN_REQ_ST_CD_TEMP_SAVE) ? mobContentObj.modify.init(item) : mobContentObj.detail.init(item);
|
96
|
96
|
});
|
97
|
97
|
|
98
|
|
- $(document).on('click', '#ITP_LIST_MRTNMNG02010_MODIFY_ROWS li', function(e) {
|
|
98
|
+ $(document).off('click').on('click', '#ITP_LIST_MRTNMNG02010_MODIFY_ROWS li', function(e) {
|
99
|
99
|
if($(e.target).hasClass('DETAIL_ITEM_PLUS')) {
|
100
|
100
|
mobContentObj.modify.list.actPlus($(this));
|
101
|
101
|
} else if($(e.target).hasClass('DETAIL_ITEM_MINUS')) {
|
|
@@ -104,7 +104,7 @@ let mobPageObj = {
|
104
|
104
|
}
|
105
|
105
|
});
|
106
|
106
|
|
107
|
|
- $(document).on('click', '#ITP_LIST_MRTNMNG02010_POP_WHS_ROWS li button', function() {
|
|
107
|
+ $(document).off('click').on('click', '#ITP_LIST_MRTNMNG02010_POP_WHS_ROWS li button', function() {
|
108
|
108
|
mobPopObj.popWhsNm.choice($(this));
|
109
|
109
|
});
|
110
|
110
|
}
|
|
@@ -333,6 +333,7 @@ let mobContentObj = {
|
333
|
333
|
}
|
334
|
334
|
},
|
335
|
335
|
actPlus: function(elem) {
|
|
336
|
+ console.log('actPlus');
|
336
|
337
|
var index = $(elem).index();
|
337
|
338
|
var num = Number($(elem).find('.fnRtnQty').text()) + 1;
|
338
|
339
|
$(elem).find('.fnRtnQty').text(num.toString());
|