|
@@ -183,10 +183,12 @@ let pageObj = {
|
183
|
183
|
});
|
184
|
184
|
// 조회일자 지정
|
185
|
185
|
var now = new Date();
|
|
186
|
+ var defaultToDate = new Date(now);
|
|
187
|
+ console.log(now.getDate());
|
186
|
188
|
$('#ITP_TAB_ORDMNG01010 .input-group.date').datepicker(ITP_DATE_LANGUAGE);
|
187
|
189
|
|
188
|
|
- $('#ITP_FORM_ORDMNG01010_SEARCH_FROM_DT').datepicker('setDate', '2022.10.01');
|
189
|
|
- $('#ITP_FORM_ORDMNG01010_SEARCH_TO_DT').datepicker('setDate', '2024.10.01');
|
|
190
|
+ $('#ITP_FORM_ORDMNG01010_SEARCH_FROM_DT').datepicker('setDate', now);
|
|
191
|
+ $('#ITP_FORM_ORDMNG01010_SEARCH_TO_DT').datepicker('setDate', defaultToDate.setDate(now.getDate() + 7));
|
190
|
192
|
},
|
191
|
193
|
grid: function() {
|
192
|
194
|
itp_fn_jqgrid_resize(ORDMNG01010_GRID_ID, ORDMNG01010_GRID_LIST, 'lg');
|
|
@@ -406,16 +408,10 @@ let listObj = {
|
406
|
408
|
// 팝업
|
407
|
409
|
var popFn = this.callback.create;
|
408
|
410
|
const key = {brandId:fn_make_user_info.get('brandId'),storeId:fn_make_user_info.get('storeId')};
|
409
|
|
- console.log('here');
|
410
|
|
- console.log(LOGIN_USER_INFO);
|
411
|
|
- console.log(key);
|
412
|
411
|
fn_call_popup('biz', 'BIZPOP_WHS_LOCATION', '#ITP_ASIDE', popFn, key, 'S');
|
413
|
|
- console.log('here3');
|
414
|
412
|
},
|
415
|
413
|
callback: {
|
416
|
414
|
create: function(rowDataPop) {
|
417
|
|
- console.log('here2');
|
418
|
|
- console.log(rowDataPop);
|
419
|
415
|
if(rowDataPop) {
|
420
|
416
|
$('#ITP_FORM_ORDMNG01010_DETAIL_WHS_NM').val(rowDataPop.whsNm);
|
421
|
417
|
$('#ITP_FORM_ORDMNG01010_DETAIL_WHS_ID').val(rowDataPop.whsId);
|
|
@@ -427,7 +423,6 @@ let listObj = {
|
427
|
423
|
/*상세화면 Object*/
|
428
|
424
|
let viewObj = {
|
429
|
425
|
init: function(param) {
|
430
|
|
- console.log(param);
|
431
|
426
|
this.load(param);
|
432
|
427
|
},
|
433
|
428
|
itp_ORDMNG01010_param: {},
|