แก้ไข เอา รหัสพนักงาน ออก เป็นวันที่

parent 892d2f29
...@@ -66,6 +66,23 @@ ...@@ -66,6 +66,23 @@
__fixCon.value = ""; __fixCon.value = "";
} }
} }
$(document).ready(function(){
//datepicker function
var myLang='<%=up.get("lang")%>';
if (myLang=="tha"){
$.datepicker.setDefaults($.datepicker.regional['tha']);
}
$("input[name=date_start]").hover(function(){
$("input[name=date_start]").datepicker({
dateFormat:"yy-mm-dd",
maxDate:-1,
defaultDate:-1,
changeMonth: true,
changeYear: true
});
});
});
</script> </script>
<section ng-controller="REC_APPLICANT"> <section ng-controller="REC_APPLICANT">
<div class="container csc-content"> <div class="container csc-content">
...@@ -131,19 +148,19 @@ ...@@ -131,19 +148,19 @@
<div class="row"> <div class="row">
<div class="form-group"> <div class="form-group">
<div class="col-xs-4"> <div class="col-xs-4">
<label class="control-label label-right" swlang code='SW000350'>Employee ID</label> <label class="control-label label-right">วันที่สมัคร</label>
</div> </div>
<div class="col-xs-8"> <div class="col-xs-8">
<div class="col-xs-3"> <div class="col-xs-3">
<div class="input-group"> <div class="input-group">
<input class="form-control helpReturn" ng-model="search.employeeid" name="__employeeid" type="text"/> <%-- <input class="form-control helpReturn" ng-model="search.employeeid" name="__employeeid" type="text"/>
<a class="input-group-addon" href="javascript:goHelp('MEMPLOYEEHELP','__employeeid')"> <a class="input-group-addon" href="javascript:goHelp('MEMPLOYEEHELP','__employeeid')">
<i class="fa fa-search"></i> <i class="fa fa-search"></i>
</a> </a> --%>
<input class="form-control" name="date_start" type="text" ng-model="search.applicantdate" value="" size="10" maxlength="10" onKeyup = "formatDate(this)" onBlur = "chkInputDate2(this,date_end)" onKeypress = "chkIntegerOfDate(this.value)">
</div> </div>
</div> </div>
<div class="col-xs-5"> <div class="col-xs-5">
<input class="form-control" readonly name="MEMPLOYEE_FULLNAME" ng-model="helpDesc.MEMPLOYEE_FULLNAME" type="text" value="<%=chk.chkNullString(request.getParameter("MEMPLOYEE_FULLNAME"))%>"/>
</div> </div>
</div> </div>
</div> </div>
......
...@@ -66,6 +66,23 @@ ...@@ -66,6 +66,23 @@
__fixCon.value = ""; __fixCon.value = "";
} }
} }
$(document).ready(function(){
//datepicker function
var myLang='<%=up.get("lang")%>';
if (myLang=="tha"){
$.datepicker.setDefaults($.datepicker.regional['tha']);
}
$("input[name=date_start]").hover(function(){
$("input[name=date_start]").datepicker({
dateFormat:"yy-mm-dd",
maxDate:-1,
defaultDate:-1,
changeMonth: true,
changeYear: true
});
});
});
</script> </script>
<section ng-controller="REC_CANDIDATE"> <section ng-controller="REC_CANDIDATE">
<div class="container csc-content"> <div class="container csc-content">
...@@ -136,14 +153,14 @@ ...@@ -136,14 +153,14 @@
<div class="col-xs-8"> <div class="col-xs-8">
<div class="col-xs-3"> <div class="col-xs-3">
<div class="input-group"> <div class="input-group">
<input class="form-control helpReturn" ng-model="search.employeeid" name="__employeeid" type="text"/> <%-- <input class="form-control helpReturn" ng-model="search.employeeid" name="__employeeid" type="text"/>
<a class="input-group-addon" href="javascript:goHelp('MEMPLOYEEHELP','__employeeid')"> <a class="input-group-addon" href="javascript:goHelp('MEMPLOYEEHELP','__employeeid')">
<i class="fa fa-search"></i> <i class="fa fa-search"></i>
</a> </a> --%>
<input class="form-control" name="date_start" type="text" ng-model="search.applicantdate" value="" size="10" maxlength="10" onKeyup = "formatDate(this)" onBlur = "chkInputDate2(this,date_end)" onKeypress = "chkIntegerOfDate(this.value)">
</div> </div>
</div> </div>
<div class="col-xs-5"> <div class="col-xs-5">
<input class="form-control" readonly name="MEMPLOYEE_FULLNAME" ng-model="helpDesc.MEMPLOYEE_FULLNAME" type="text" value="<%=chk.chkNullString(request.getParameter("MEMPLOYEE_FULLNAME"))%>"/>
</div> </div>
</div> </div>
</div> </div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment