성장입력일 수정하여 입력 가능 하도록 수정

dev_bert
kyebyungha 3 years ago
parent 9bd2fe2b7c
commit d2c23a1e73

@ -37,11 +37,6 @@
<header class="header_wrapper"> <header class="header_wrapper">
<a href="javascript:back.return_url()" class="side_Lbtn hidden pre_btn">이전으로</a> <a href="javascript:back.return_url()" class="side_Lbtn hidden pre_btn">이전으로</a>
<h1 class="header_title">${model['rm_child']['name']} 키체중 입력</h1> <h1 class="header_title">${model['rm_child']['name']} 키체중 입력</h1>
<div class="side_Rbtn">
<a href="#" class="growth_cal">
<input type="text" id="date">
</a>
</div>
</header> </header>
<main class="m_child_direct_input" id="top_move"> <main class="m_child_direct_input" id="top_move">
<div class="profile_wrap"> <div class="profile_wrap">
@ -59,7 +54,10 @@
<div class="p_list_item p_border_box"> <div class="p_list_item p_border_box">
<label for="input_date" class="p_label">측정일자</label> <label for="input_date" class="p_label">측정일자</label>
<div class="p_input_box"> <div class="p_input_box">
<input type="text" id="input_date" name="input_date" class="required" placeholder="측정일자 입력" data-tit="측정일자" readonly> <input type="text" id="input_date" name="input_date" class="required" placeholder="측정일자 입력" data-tit="측정일자" readonly style="padding-right:10px;">
<a href="#" class="growth_cal" style="padding-top:14px;">
<input type="text" id="date" >
</a>
</div> </div>
</div> </div>
<div class="p_list_item p_border_box"> <div class="p_list_item p_border_box">
@ -240,6 +238,7 @@
var today = moment().format('YYYY.MM.DD'); var today = moment().format('YYYY.MM.DD');
$("#input_date").val(today) $("#input_date").val(today)
var input_date = SNUtil.makeAnyPicker('input_date', $("#input_date").val(), -80, '.'); var input_date = SNUtil.makeAnyPicker('input_date', $("#input_date").val(), -80, '.');
debugger;
}) })
</script> </script>
@ -252,13 +251,17 @@
showOn: "button", showOn: "button",
buttonImage: "${URL_STATIC_ROOT}/m/img/growth/growth_cal_ico.png", buttonImage: "${URL_STATIC_ROOT}/m/img/growth/growth_cal_ico.png",
buttonImageOnly: true, buttonImageOnly: true,
dateFormat: 'yy-mm-dd', dateFormat: 'yy.mm.dd',
nextText: '다음 달', nextText: '다음 달',
prevText: '이전 달', prevText: '이전 달',
monthNames: ['1월', '2월', '3월', '4월', '5월', '6월', '7월', '8월', '9월', '10월', '11월', '12월'], monthNames: ['1월', '2월', '3월', '4월', '5월', '6월', '7월', '8월', '9월', '10월', '11월', '12월'],
monthNamesShort: ['1월', '2월', '3월', '4월', '5월', '6월', '7월', '8월', '9월', '10월', '11월', '12월'], monthNamesShort: ['1월', '2월', '3월', '4월', '5월', '6월', '7월', '8월', '9월', '10월', '11월', '12월'],
dayNamesMin: ['일', '월', '화', '수', '목', '금', '토'], dayNamesMin: ['일', '월', '화', '수', '목', '금', '토'],
dayNamesShort: ['일', '월', '화', '수', '목', '금', '토'] dayNamesShort: ['일', '월', '화', '수', '목', '금', '토'],
onSelect: function (date, obj)
{
$("#input_date").val(date)
},
}); });
</script> </script>

Loading…
Cancel
Save