최초커밋
This commit is contained in:
808
approval/doc_vacation.asp
Normal file
808
approval/doc_vacation.asp
Normal file
@@ -0,0 +1,808 @@
|
||||
<!-- #include virtual = "include/header.asp" -->
|
||||
<!-- #include virtual = "include/left.asp" -->
|
||||
<!-- Content Wrapper. Contains page content -->
|
||||
<div class="content-wrapper">
|
||||
<!-- Content Header (Page header) -->
|
||||
<div class="content-header">
|
||||
<h1><3E><><EFBFBD><EFBFBD> <20>ۼ<EFBFBD></h1>
|
||||
</div>
|
||||
<!-- /.content-header -->
|
||||
<!-- Main content -->
|
||||
<div class="content-body">
|
||||
<div class="content">
|
||||
<div class="container-fluid">
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
<%
|
||||
dim Query
|
||||
dim i
|
||||
dim user_name(4) '<27><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,0:<3A><><EFBFBD><EFBFBD><EFBFBD>ڵ<EFBFBD>, 1:<3A≯<EFBFBD>,2:<3A><><EFBFBD><EFBFBD>,3:<3A><>ȭ<EFBFBD><C8AD>ȣ, 4:<3A>μ<EFBFBD><CEBC>ڵ<EFBFBD>(<28><>)
|
||||
dim Max_Width
|
||||
dim title
|
||||
dim target_name '<27>߱<DFB1><DEB4><EFBFBD><EFBFBD><EFBFBD> <20≯<EFBFBD>
|
||||
dim Curr_date '<27><><EFBFBD>ó<EFBFBD>¥
|
||||
dim Company(6)
|
||||
dim holiday_title(11) '<27>ް<EFBFBD><DEB0><EFBFBD><EFBFBD><EFBFBD>
|
||||
dim krc_no
|
||||
dim gap(27) '1:<3A>ް<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, 2:<3A>ް<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, 3:<3A><><EFBFBD><EFBFBD>, , 26:<3A>༱<EFBFBD><E0BCB1>, 27:<3A><><EFBFBD><EFBFBD><F3BFACB6><EFBFBD>
|
||||
dim db_table_name
|
||||
dim user_insert ' <20>Ի<EFBFBD><D4BB><EFBFBD>
|
||||
|
||||
db_table_name = "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
||||
title="<22><> <20><> <20><>"
|
||||
Max_Width =750
|
||||
Curr_date = year(date) & "<22><> " & month(date) & "<22><> " & day(date) & "<22><>"
|
||||
|
||||
''//=================
|
||||
holiday_title(1) = "<22><><EFBFBD><EFBFBD> <20>ް<EFBFBD>"
|
||||
holiday_title(2) = "<22><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>"
|
||||
holiday_title(3) = "<22><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>"
|
||||
holiday_title(4) = "<22><><EFBFBD><EFBFBD>(1<><31> 4<>ð<EFBFBD> <20>̻<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʒ<EFBFBD>, <20>ι<EFBFBD><CEB9><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><>)"
|
||||
holiday_title(5) = "<22><><EFBFBD><EFBFBD>(7<><37> <20>̻<EFBFBD><CCBB><EFBFBD> <20>ް<EFBFBD><DEB0>ϼ<EFBFBD> <20><> <20><><EFBFBD>ܼ<EFBFBD><DCBC><EFBFBD> <20><><EFBFBD><EFBFBD>)"
|
||||
holiday_title(6) = "<22><><EFBFBD><EFBFBD> <20>ް<EFBFBD>"
|
||||
holiday_title(7) = "<22>Ƚ<EFBFBD> <20>ް<EFBFBD>"
|
||||
holiday_title(8) = "<22><><EFBFBD><EFBFBD> <20>ް<EFBFBD>"
|
||||
holiday_title(9) = "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>ް<EFBFBD>(<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><>90<39><30><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> 45<34><35> Ȯ<><C8AE>)"
|
||||
holiday_title(10) = ""'"<22><>ü <20><EFBFBD>"
|
||||
holiday_title(11) = "<22><>Ÿ <20>ް<EFBFBD>"
|
||||
''//===============
|
||||
|
||||
''///============
|
||||
''<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ȳ<EFBFBD><C8B2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
'call holiday_count(Session("User_Number"), LEFT(date, 10))
|
||||
gap(4) = "0"
|
||||
gap(5) = "0"
|
||||
''//=================
|
||||
''//=================
|
||||
'''''<27><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
krc_no=request("krc_no")
|
||||
if krc_no <> "" then
|
||||
query = "select * from " & db_table_name
|
||||
query = query & " where <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȣ = '" & krc_no & "'"
|
||||
adors.open query, adoconn, adopenstatic, adlockreadonly
|
||||
gap(1) = adors("target1")
|
||||
gap(2) = adors("target2")
|
||||
gap(3) = adors("target3")
|
||||
if mid(adors("target5"),1,2) <> "^^" then '<27><><EFBFBD><EFBFBD>
|
||||
tmpstr = split(adors("target5"),"^^")
|
||||
gap(6) = tmpstr(0)
|
||||
gap(7) = tmpstr(1)
|
||||
gap(8) = tmpstr(2)
|
||||
end if
|
||||
if mid(adors("target6"),1,2) <> "^^" then '<27><><EFBFBD><EFBFBD>
|
||||
tmpstr = split(adors("target6"),"^^")
|
||||
gap(9) = tmpstr(0)
|
||||
gap(10) = tmpstr(1)
|
||||
gap(11) = tmpstr(3)
|
||||
gap(12) = tmpstr(4)
|
||||
gap(13) = tmpstr(5)
|
||||
end if
|
||||
if not isnull(adors("target7")) then '<27><><EFBFBD><EFBFBD>/<2F>Ƚ<EFBFBD>/<2F><>Ÿ<EFBFBD>ް<EFBFBD>
|
||||
gap(14) = adors("target7")
|
||||
end if
|
||||
if mid(adors("target8"),1,2) <> "^^" then '<27><><EFBFBD><EFBFBD><EFBFBD>ް<EFBFBD>
|
||||
tmpstr = split(adors("target8"),"^^")
|
||||
gap(15) = tmpstr(0)
|
||||
gap(16) = tmpstr(1)
|
||||
gap(17) = tmpstr(2)
|
||||
end if
|
||||
if mid(adors("target9"),1,2) <> "^^" then '<27><><EFBFBD><EFBFBD><EFBFBD>ް<EFBFBD>
|
||||
tmpstr = split(adors("target9"),"^^")
|
||||
gap(18) = tmpstr(0)
|
||||
gap(19) = tmpstr(1)
|
||||
end if
|
||||
gap(20) = adors("target10")
|
||||
gap(26) = adors("target11")
|
||||
gap(27) = adors("target12")
|
||||
adoRs.close
|
||||
end if
|
||||
|
||||
|
||||
''//=================
|
||||
''ȸ<><C8B8> ȸ<><C8B8><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD>ڵ<EFBFBD><DAB5>Ϲ<EFBFBD>ȣ, <20><>ǥ<EFBFBD>ڸ<EFBFBD>, <20>ּ<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
Query = "select * from company"
|
||||
adoRs.open Query, adoconn,adopenstatic, adlockreadonly
|
||||
Company(1) = adors("com_name")
|
||||
Company(2) = adors("<22><><EFBFBD><EFBFBD><EFBFBD>ڵ<EFBFBD><DAB5>Ϲ<EFBFBD>ȣ")
|
||||
Company(3) = adors("<22><>ǥ<EFBFBD>ڸ<EFBFBD>")
|
||||
Company(4) = adors("<22>ּ<EFBFBD>")
|
||||
Company(5) = adors("<22><><EFBFBD>ε<EFBFBD><CEB5>Ϲ<EFBFBD>ȣ")
|
||||
Company(6) = adors("ȸ<><C8B8><EFBFBD><EFBFBD>ǥ<EFBFBD><C7A5>ȭ<EFBFBD><C8AD>ȣ")
|
||||
adoRs.close
|
||||
|
||||
''///===============
|
||||
''<27>α<EFBFBD><CEB1><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
|
||||
user_name(0) = Session("User_Number")
|
||||
Query = "SELECT p_name, p_team_name, p_rank_name, p_tel3 FROM project2.dbo.V_Person WHERE p_no = '" & user_name(0) & "'"
|
||||
adoRs.open Query, adoconn,adopenstatic, adlockreadonly
|
||||
user_name(1) = adoRs("p_name") '<27≯<EFBFBD>
|
||||
user_name(2) = adoRs("p_rank_name") '<27><><EFBFBD><EFBFBD> <20>ڵ<EFBFBD>
|
||||
user_name(3) = adoRs("p_tel3") '<27><><EFBFBD><EFBFBD> <20><>ȭ
|
||||
user_name(4) = adoRs("p_team_name") '<27>μ<EFBFBD><CEBC>ڵ<EFBFBD>
|
||||
adoRs.close
|
||||
%>
|
||||
|
||||
<script language=javascript>
|
||||
|
||||
function goPrint()
|
||||
{//<2F><><EFBFBD><EFBFBD>Ʈ <20>ϱ<EFBFBD>
|
||||
var txt_holiday_start_date = document.frm_holiday.txt_holiday_start_date.value; //<2F>ް<EFBFBD><DEB0>Ⱓ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
var txt_holiday_end_date = document.frm_holiday.txt_holiday_end_date.value; //<2F>ް<EFBFBD><DEB0>Ⱓ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
var opt_reason = -1;
|
||||
var txt_target23 = document.frm_holiday.txt_target23.value;//<2F><><EFBFBD><EFBFBD>ó
|
||||
var txt_target24 = document.frm_holiday.txt_target24.value;//<2F><>Ÿ<EFBFBD><C5B8><EFBFBD><EFBFBD>
|
||||
var url;
|
||||
|
||||
|
||||
if (txt_holiday_start_date == "" || txt_holiday_end_date == "")
|
||||
{
|
||||
alert("<22>ް<EFBFBD> <20>Ⱓ<EFBFBD><E2B0A3> <20>Է<EFBFBD><D4B7>ϼ<EFBFBD><CFBC><EFBFBD>..");
|
||||
return false;
|
||||
}
|
||||
|
||||
if (txt_holiday_start_date > txt_holiday_end_date )
|
||||
{
|
||||
alert("<22>ް<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>ް<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>Ϻ<EFBFBD><CFBA><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>Դϴ<D4B4>. <20><><EFBFBD><EFBFBD><EFBFBD>ϼ<EFBFBD><CFBC><EFBFBD>..");
|
||||
return false;
|
||||
}
|
||||
|
||||
//<2F>ް<EFBFBD> <20><><EFBFBD><EFBFBD> üũ
|
||||
for(var i=0;i<11;i++)
|
||||
{
|
||||
if(document.frm_holiday.opt_reason[i].checked == true)
|
||||
{
|
||||
opt_reason=i;
|
||||
}
|
||||
}
|
||||
|
||||
var txt_target01 = document.frm_holiday.txt_target01.value; //<2F><><EFBFBD> <20>ѻ<EFBFBD><D1BB><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
|
||||
var txt_target02 = document.frm_holiday.txt_target02.value; //<2F><><EFBFBD> <20><><EFBFBD><EFBFBD> <20>ܿ<EFBFBD><DCBF>ϼ<EFBFBD>
|
||||
var txt_target03 = "";
|
||||
var txt_target04 = "";
|
||||
var txt_target05 = "";
|
||||
var txt_target06 = "";
|
||||
var txt_target07 = "";
|
||||
var txt_target08 = "";
|
||||
var txt_target09 = "";
|
||||
var txt_target10 = "";
|
||||
var txt_target11 = "";
|
||||
var txt_target12 = "";
|
||||
var txt_target13 = "";
|
||||
var txt_target14 = "";
|
||||
var txt_target15 = "";
|
||||
var txt_target16 = "";
|
||||
var txt_target17 = "";
|
||||
var txt_target18 = "";
|
||||
var txt_target20 = "";
|
||||
var txt_target21 = "";
|
||||
|
||||
|
||||
if (opt_reason == "-1") {
|
||||
alert("<22>ް<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> üũ <20>ϼ<EFBFBD><CFBC><EFBFBD>..");
|
||||
return false;
|
||||
} else if (opt_reason == "0") {//<2F><><EFBFBD><EFBFBD>
|
||||
if (txt_holiday_start_date.substr(5, 2) == "02" && txt_holiday_end_date.substr(5, 2) == "03") {
|
||||
alert("<22>ް<EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 3<><33> 1<><31><EFBFBD>̹Ƿ<CCB9>\n<>ش<EFBFBD> <20>Ⱓ<EFBFBD><E2B0A3> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>ް<EFBFBD><DEB0><EFBFBD><EFBFBD><EFBFBD> <20>ۼ<EFBFBD><DBBC>Ͻñ<CFBD> <20>ٶ<EFBFBD><D9B6>ϴ<EFBFBD>.");
|
||||
return false;
|
||||
}
|
||||
} else if (opt_reason == "1" || opt_reason == "2") {//<2F><><EFBFBD><EFBFBD>
|
||||
if (txt_holiday_start_date != txt_holiday_end_date) {
|
||||
alert("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>ް<EFBFBD> <20>Ⱓ<EFBFBD><E2B0A3> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>ϰ<EFBFBD> <20><><EFBFBD>ƾ<EFBFBD> <20>մϴ<D5B4>.");
|
||||
return false;
|
||||
}
|
||||
} else if (opt_reason == "3") {//<2F><><EFBFBD><EFBFBD>
|
||||
txt_target03 = allTrim(document.frm_holiday.txt_target03.value);
|
||||
txt_target04 = allTrim(document.frm_holiday.txt_target04.value);
|
||||
txt_target05 = allTrim(document.frm_holiday.txt_target05.value);
|
||||
if (txt_target03 == "") {
|
||||
alert("<22><><EFBFBD>λ<EFBFBD><CEBB><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>ּ<EFBFBD><D6BC><EFBFBD>.");
|
||||
document.frm_holiday.txt_target03.focus();
|
||||
return false;
|
||||
}
|
||||
if (txt_target04 == "") {
|
||||
alert("<22><><EFBFBD><EFBFBD><EFBFBD>ð<EFBFBD><C3B0><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>ּ<EFBFBD><D6BC><EFBFBD>.");
|
||||
document.frm_holiday.txt_target04.focus();
|
||||
return false;
|
||||
}
|
||||
if (txt_target05 == "") {
|
||||
alert("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ҹ<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>ּ<EFBFBD><D6BC><EFBFBD>.");
|
||||
document.frm_holiday.txt_target05.focus();
|
||||
return false;
|
||||
}
|
||||
} else if (opt_reason == "4") {//<2F><><EFBFBD><EFBFBD>
|
||||
txt_target06 = allTrim(document.frm_holiday.txt_target06.value);
|
||||
txt_target07 = allTrim(document.frm_holiday.txt_target07.value);
|
||||
txt_target08 = allTrim(document.frm_holiday.txt_target08.value);
|
||||
txt_target09 = allTrim(document.frm_holiday.txt_target09.value);
|
||||
txt_target10 = -1;
|
||||
for (var i = 0; i < 2; i++) {
|
||||
if (document.frm_holiday.txt_target10[i].checked == true) {
|
||||
txt_target10 = i;
|
||||
}
|
||||
}
|
||||
if (txt_target06 == "") {
|
||||
alert("<22><><EFBFBD>ܺ<EFBFBD><DCBA><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>ּ<EFBFBD><D6BC><EFBFBD>.");
|
||||
document.frm_holiday.txt_target06.focus();
|
||||
return false;
|
||||
}
|
||||
if (txt_target07 == "") {
|
||||
alert("<22><><EFBFBD>ܱⰣ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>ּ<EFBFBD><D6BC><EFBFBD>.");
|
||||
document.frm_holiday.txt_target07.focus();
|
||||
return false;
|
||||
}
|
||||
if (txt_target08 == "") {
|
||||
alert("<22><><EFBFBD>ܱⰣ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>ּ<EFBFBD><D6BC><EFBFBD>.");
|
||||
document.frm_holiday.txt_target08.focus();
|
||||
return false;
|
||||
}
|
||||
if (txt_target09 == "") {
|
||||
alert("<22><><EFBFBD>ܱ<EFBFBD><DCB1><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>ּ<EFBFBD><D6BC><EFBFBD>.");
|
||||
document.frm_holiday.txt_target09.focus();
|
||||
return false;
|
||||
}
|
||||
if (txt_target10 == "-1") {
|
||||
alert("<22>Կ<EFBFBD><D4BF><EFBFBD><EFBFBD>θ<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>ּ<EFBFBD><D6BC><EFBFBD>.");
|
||||
document.frm_holiday.txt_target10[0].focus();
|
||||
return false;
|
||||
}
|
||||
} else if (opt_reason == "5" || opt_reason == "6" || opt_reason == "10") {//<2F><><EFBFBD><EFBFBD>, <20>Ƚ<EFBFBD>, <20><>Ÿ
|
||||
txt_target11 = allTrim(document.frm_holiday.txt_target11.value);
|
||||
if (txt_target11 == "") {
|
||||
alert("<22><><EFBFBD>γ<EFBFBD><CEB3><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>ּ<EFBFBD><D6BC><EFBFBD>.");
|
||||
document.frm_holiday.txt_target11.focus();
|
||||
return false;
|
||||
}
|
||||
} else if (opt_reason == "7") {//<2F><><EFBFBD><EFBFBD>
|
||||
//12,13,14
|
||||
txt_target12 = allTrim(document.frm_holiday.txt_target12.value);
|
||||
txt_target13 = allTrim(document.frm_holiday.txt_target13.value);
|
||||
txt_target14 = allTrim(document.frm_holiday.txt_target14.value);
|
||||
if (txt_target12 == "") {
|
||||
alert("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>ּ<EFBFBD><D6BC><EFBFBD>.");
|
||||
document.frm_holiday.txt_target12.focus();
|
||||
return false;
|
||||
}
|
||||
if (txt_target13 == "") {
|
||||
alert("<22><><EFBFBD>ΰ<EFBFBD><CEB0><EFBFBD> <20><><EFBFBD>踦 <20><><EFBFBD><EFBFBD><EFBFBD>ּ<EFBFBD><D6BC><EFBFBD>.");
|
||||
document.frm_holiday.txt_target13.focus();
|
||||
return false;
|
||||
}
|
||||
if (txt_target14 == "") {
|
||||
alert("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ڸ<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>ּ<EFBFBD><D6BC><EFBFBD>.");
|
||||
document.frm_holiday.txt_target14.focus();
|
||||
return false;
|
||||
}
|
||||
} else if (opt_reason == "8") {//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
//15,16
|
||||
txt_target15 = allTrim(document.frm_holiday.txt_target15.value);
|
||||
txt_target16 = allTrim(document.frm_holiday.txt_target16.value);
|
||||
if (txt_target15 == "") {
|
||||
alert("<22><><EFBFBD>꿹<EFBFBD><EABFB9><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>ּ<EFBFBD><D6BC><EFBFBD>.");
|
||||
document.frm_holiday.txt_target15.focus();
|
||||
return false;
|
||||
}
|
||||
if (txt_target16 == "") {
|
||||
alert("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>żҸ<C5BC> <20><><EFBFBD><EFBFBD><EFBFBD>ּ<EFBFBD><D6BC><EFBFBD>.");
|
||||
document.frm_holiday.txt_target16.focus();
|
||||
return false;
|
||||
}
|
||||
|
||||
//<2F><><EFBFBD><EFBFBD> 45<34><35> Ȯ<><C8AE>Ȯ<EFBFBD><C8AE>, <20><>, <20>ް<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>꿹<EFBFBD><EABFB9><EFBFBD>Ϻ<EFBFBD><CFBA><EFBFBD> 45<34><35> <20><><EFBFBD>̾<EFBFBD><CCBE><EFBFBD> <20><>.
|
||||
var yy = txt_holiday_end_date.substring(0, 4);
|
||||
var mm = txt_holiday_end_date.substring(5, 7);
|
||||
var dd = txt_holiday_end_date.substring(8, 10);
|
||||
var txt_date1 = new Date(yy, mm, dd - 45); //<2F>ް<EFBFBD><DEB0><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
var yy = txt_target15.substring(0, 4);
|
||||
var mm = txt_target15.substring(5, 7);
|
||||
var dd = txt_target15.substring(8, 10);
|
||||
var txt_date2 = new Date(yy, mm, dd); //<2F><><EFBFBD>꿹<EFBFBD><EABFB9><EFBFBD><EFBFBD>
|
||||
|
||||
if (txt_date1 < txt_date2) {
|
||||
alert("<22><><EFBFBD><EFBFBD><EFBFBD>ް<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>꿹<EFBFBD><EABFB9><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> 45<34><35><EFBFBD><EFBFBD> <20><><EFBFBD>ƾ<EFBFBD> <20>˴ϴ<CBB4>.");
|
||||
document.frm_holiday.txt_holiday_end_date.focus();
|
||||
return false;
|
||||
}
|
||||
} else if (opt_reason == "9") {//<2F><>ü <20><EFBFBD>
|
||||
txt_target17 = allTrim(document.frm_holiday.txt_target17.value);
|
||||
if (txt_target17 == "") {
|
||||
alert("<22><><EFBFBD>γ<EFBFBD><CEB3><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>ּ<EFBFBD><D6BC><EFBFBD>.");
|
||||
document.frm_holiday.txt_target17.focus();
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
url = "doc_vacation_print.asp";
|
||||
url = url + "?txt_holiday_start_date=" + txt_holiday_start_date;
|
||||
url = url + "&txt_holiday_end_date=" + txt_holiday_end_date;
|
||||
url = url + "&opt_reason=" + document.frm_holiday.opt_reason[eval(opt_reason)].value;
|
||||
url = url + "&print_type=1";
|
||||
url = url + "&txt_target01=" + txt_target01;
|
||||
url = url + "&txt_target02=" + txt_target02;
|
||||
url = url + "&txt_target03=" + txt_target03;
|
||||
url = url + "&txt_target04=" + txt_target04;
|
||||
url = url + "&txt_target05=" + txt_target05;
|
||||
url = url + "&txt_target06=" + txt_target06;
|
||||
url = url + "&txt_target07=" + txt_target07;
|
||||
url = url + "&txt_target08=" + txt_target08;
|
||||
url = url + "&txt_target09=" + txt_target09;
|
||||
url = url + "&txt_target10=" + txt_target10;
|
||||
url = url + "&txt_target11=" + txt_target11;
|
||||
url = url + "&txt_target12=" + txt_target12;
|
||||
url = url + "&txt_target13=" + txt_target13;
|
||||
url = url + "&txt_target14=" + txt_target14;
|
||||
url = url + "&txt_target15=" + txt_target15;
|
||||
url = url + "&txt_target16=" + txt_target16;
|
||||
url = url + "&txt_target17=" + txt_target17;
|
||||
url = url + "&txt_target23=" + txt_target23;
|
||||
url = url + "&txt_target24=" + txt_target24;
|
||||
|
||||
window.open(url,"","left=50 ,top=0, menubar=no, location=no ,status=no ,toolbar=no ,width=850, height=800 ,scrollbars=yes ,resizable=yes");
|
||||
}
|
||||
|
||||
function div_visible(txt)
|
||||
{
|
||||
if (eval(txt) == 1){
|
||||
chkVacationPeriod();
|
||||
}
|
||||
if (eval(txt <= 3)){//<2F><><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD>
|
||||
Div_reason_01.style.display="";
|
||||
Div_reason_02.style.display="none";
|
||||
Div_reason_03.style.display="none";
|
||||
Div_reason_04.style.display="none";
|
||||
Div_reason_05.style.display="none";
|
||||
Div_reason_06.style.display="none";
|
||||
Div_reason_07.style.display="none";
|
||||
|
||||
document.frm_holiday.txt_target03.value="";
|
||||
document.frm_holiday.txt_target04.value="";
|
||||
document.frm_holiday.txt_target05.value="";
|
||||
document.frm_holiday.txt_target06.value="";
|
||||
document.frm_holiday.txt_target07.value="";
|
||||
document.frm_holiday.txt_target08.value="";
|
||||
document.frm_holiday.txt_target09.value="";
|
||||
document.frm_holiday.txt_target10[0].checked=false;
|
||||
document.frm_holiday.txt_target10[1].checked=false;
|
||||
document.frm_holiday.txt_target11.value="";
|
||||
document.frm_holiday.txt_target12.value="";
|
||||
document.frm_holiday.txt_target13.value="";
|
||||
document.frm_holiday.txt_target14.value="";
|
||||
document.frm_holiday.txt_target15.value="";
|
||||
document.frm_holiday.txt_target16.value="";
|
||||
document.frm_holiday.txt_target17.value="";
|
||||
|
||||
}else if (eval(txt == 4)){//<2F><><EFBFBD><EFBFBD>
|
||||
// 3,4,5
|
||||
Div_reason_01.style.display="none";
|
||||
Div_reason_02.style.display="";
|
||||
Div_reason_03.style.display="none";
|
||||
Div_reason_04.style.display="none";
|
||||
Div_reason_05.style.display="none";
|
||||
Div_reason_06.style.display="none";
|
||||
Div_reason_07.style.display="none";
|
||||
|
||||
document.frm_holiday.txt_target06.value="";
|
||||
document.frm_holiday.txt_target07.value="";
|
||||
document.frm_holiday.txt_target08.value="";
|
||||
document.frm_holiday.txt_target09.value="";
|
||||
document.frm_holiday.txt_target10[0].checked=false;
|
||||
document.frm_holiday.txt_target10[1].checked=false;
|
||||
document.frm_holiday.txt_target11.value="";
|
||||
document.frm_holiday.txt_target12.value="";
|
||||
document.frm_holiday.txt_target13.value="";
|
||||
document.frm_holiday.txt_target14.value="";
|
||||
document.frm_holiday.txt_target15.value="";
|
||||
document.frm_holiday.txt_target16.value="";
|
||||
document.frm_holiday.txt_target17.value="";
|
||||
}else if (eval(txt == 5)){//<2F><><EFBFBD><EFBFBD>
|
||||
//6,7,8,9,10
|
||||
Div_reason_01.style.display="none";
|
||||
Div_reason_02.style.display="none";
|
||||
Div_reason_03.style.display="";
|
||||
Div_reason_04.style.display="none";
|
||||
Div_reason_05.style.display="none";
|
||||
Div_reason_06.style.display="none";
|
||||
Div_reason_07.style.display="none";
|
||||
|
||||
document.frm_holiday.txt_target03.value="";
|
||||
document.frm_holiday.txt_target04.value="";
|
||||
document.frm_holiday.txt_target05.value="";
|
||||
document.frm_holiday.txt_target11.value="";
|
||||
document.frm_holiday.txt_target12.value="";
|
||||
document.frm_holiday.txt_target13.value="";
|
||||
document.frm_holiday.txt_target14.value="";
|
||||
document.frm_holiday.txt_target15.value="";
|
||||
document.frm_holiday.txt_target16.value="";
|
||||
document.frm_holiday.txt_target17.value="";
|
||||
}else if (eval(txt == 6) || eval(txt == 7) || eval(txt == 11)){//<2F><><EFBFBD><EFBFBD>, <20>Ƚ<EFBFBD>, <20><>Ÿ
|
||||
//11
|
||||
Div_reason_01.style.display="none";
|
||||
Div_reason_02.style.display="none";
|
||||
Div_reason_03.style.display="none";
|
||||
Div_reason_04.style.display="";
|
||||
Div_reason_05.style.display="none";
|
||||
Div_reason_06.style.display="none";
|
||||
Div_reason_07.style.display="none";
|
||||
|
||||
document.frm_holiday.txt_target03.value="";
|
||||
document.frm_holiday.txt_target04.value="";
|
||||
document.frm_holiday.txt_target05.value="";
|
||||
document.frm_holiday.txt_target06.value="";
|
||||
document.frm_holiday.txt_target07.value="";
|
||||
document.frm_holiday.txt_target08.value="";
|
||||
document.frm_holiday.txt_target09.value="";
|
||||
document.frm_holiday.txt_target10[0].checked=false;
|
||||
document.frm_holiday.txt_target10[1].checked=false;
|
||||
document.frm_holiday.txt_target12.value="";
|
||||
document.frm_holiday.txt_target13.value="";
|
||||
document.frm_holiday.txt_target14.value="";
|
||||
document.frm_holiday.txt_target15.value="";
|
||||
document.frm_holiday.txt_target16.value="";
|
||||
document.frm_holiday.txt_target17.value="";
|
||||
}else if (eval(txt == 8)){//<2F><><EFBFBD><EFBFBD>
|
||||
//12,13,14
|
||||
Div_reason_01.style.display="none";
|
||||
Div_reason_02.style.display="none";
|
||||
Div_reason_03.style.display="none";
|
||||
Div_reason_04.style.display="none";
|
||||
Div_reason_05.style.display="";
|
||||
Div_reason_06.style.display="none";
|
||||
Div_reason_07.style.display="none";
|
||||
|
||||
document.frm_holiday.txt_target03.value="";
|
||||
document.frm_holiday.txt_target04.value="";
|
||||
document.frm_holiday.txt_target05.value="";
|
||||
document.frm_holiday.txt_target06.value="";
|
||||
document.frm_holiday.txt_target07.value="";
|
||||
document.frm_holiday.txt_target08.value="";
|
||||
document.frm_holiday.txt_target09.value="";
|
||||
document.frm_holiday.txt_target10[0].checked=false;
|
||||
document.frm_holiday.txt_target10[1].checked=false;
|
||||
document.frm_holiday.txt_target11.value="";
|
||||
document.frm_holiday.txt_target15.value="";
|
||||
document.frm_holiday.txt_target16.value="";
|
||||
document.frm_holiday.txt_target17.value="";
|
||||
}else if (eval(txt == 9)){//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
//15,16
|
||||
Div_reason_01.style.display="none";
|
||||
Div_reason_02.style.display="none";
|
||||
Div_reason_03.style.display="none";
|
||||
Div_reason_04.style.display="none";
|
||||
Div_reason_05.style.display="none";
|
||||
Div_reason_06.style.display="";
|
||||
Div_reason_07.style.display="none";
|
||||
|
||||
document.frm_holiday.txt_target03.value="";
|
||||
document.frm_holiday.txt_target04.value="";
|
||||
document.frm_holiday.txt_target05.value="";
|
||||
document.frm_holiday.txt_target06.value="";
|
||||
document.frm_holiday.txt_target07.value="";
|
||||
document.frm_holiday.txt_target08.value="";
|
||||
document.frm_holiday.txt_target09.value="";
|
||||
document.frm_holiday.txt_target10[0].checked=false;
|
||||
document.frm_holiday.txt_target10[1].checked=false;
|
||||
document.frm_holiday.txt_target11.value="";
|
||||
document.frm_holiday.txt_target12.value="";
|
||||
document.frm_holiday.txt_target13.value="";
|
||||
document.frm_holiday.txt_target14.value="";
|
||||
document.frm_holiday.txt_target17.value="";
|
||||
}else if (eval(txt == 10)){//<2F><>ü <20><EFBFBD>
|
||||
//17(2),18,19,20,21,22
|
||||
Div_reason_01.style.display="none";
|
||||
Div_reason_02.style.display="none";
|
||||
Div_reason_03.style.display="none";
|
||||
Div_reason_04.style.display="none";
|
||||
Div_reason_05.style.display="none";
|
||||
Div_reason_06.style.display="none";
|
||||
Div_reason_07.style.display="";
|
||||
|
||||
document.frm_holiday.txt_target03.value="";
|
||||
document.frm_holiday.txt_target04.value="";
|
||||
document.frm_holiday.txt_target05.value="";
|
||||
document.frm_holiday.txt_target06.value="";
|
||||
document.frm_holiday.txt_target07.value="";
|
||||
document.frm_holiday.txt_target08.value="";
|
||||
document.frm_holiday.txt_target09.value="";
|
||||
document.frm_holiday.txt_target10[0].checked=false;
|
||||
document.frm_holiday.txt_target10[1].checked=false;
|
||||
document.frm_holiday.txt_target11.value="";
|
||||
document.frm_holiday.txt_target12.value="";
|
||||
document.frm_holiday.txt_target13.value="";
|
||||
document.frm_holiday.txt_target14.value="";
|
||||
document.frm_holiday.txt_target15.value="";
|
||||
document.frm_holiday.txt_target16.value = "";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
function changeHoliday(dt){
|
||||
if(dt == "") {
|
||||
return false;
|
||||
}
|
||||
$("#holidaySel").css("display", "none");
|
||||
$("#holidayCount").css("display", "");
|
||||
$("#holidayDate").text(dt);
|
||||
$("#holidayBlank").html(" ");
|
||||
|
||||
$.ajax({
|
||||
url: "/approval/doc_vacation_ajax.asp",
|
||||
data: {
|
||||
"p_no" : <%=Session("User_Number")%>,
|
||||
"seldate" : dt,
|
||||
"season" : ""
|
||||
},
|
||||
success: function(result){
|
||||
$("input[name=txt_target01]").val(result.split("|")[0]);
|
||||
$("input[name=txt_target02]").val(result.split("|")[1]);
|
||||
}
|
||||
});
|
||||
|
||||
chkVacationPeriod();
|
||||
//alert(dt);
|
||||
}
|
||||
|
||||
function chkVacationPeriod(){
|
||||
if($("input[name=txt_holiday_start_date]").val() != "" && $("input[name=txt_holiday_end_date]").val() != ""){
|
||||
var st_season = "";
|
||||
var ed_season = "";
|
||||
|
||||
$.ajax({
|
||||
url: "/approval/doc_vacation_ajax.asp",
|
||||
async: false,
|
||||
data: {
|
||||
"p_no" : <%=Session("User_Number")%>,
|
||||
"seldate" : $("input[name=txt_holiday_start_date]").val(),
|
||||
"season" : "season"
|
||||
},
|
||||
success: function(result){
|
||||
st_season = result;
|
||||
}
|
||||
});
|
||||
|
||||
$.ajax({
|
||||
url: "/approval/doc_vacation_ajax.asp",
|
||||
async: false,
|
||||
data: {
|
||||
"p_no" : <%=Session("User_Number")%>,
|
||||
"seldate" : $("input[name=txt_holiday_end_date]").val(),
|
||||
"season" : "season"
|
||||
},
|
||||
success: function(result){
|
||||
ed_season = result;
|
||||
}
|
||||
});
|
||||
|
||||
if(st_season != ed_season){
|
||||
alert("<22>ް<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>ϰ<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>Ⱓ<EFBFBD><E2B0A3> <20>ٸ<EFBFBD><D9B8>ϴ<EFBFBD>.\n<>ʱ<EFBFBD>ȭ <20><>¥<EFBFBD><C2A5> Ȯ<><C8AE><EFBFBD>Ͽ<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>Ͻñ<CFBD> <20>ٶ<EFBFBD><D9B6>ϴ<EFBFBD>.");
|
||||
$("input[name=txt_holiday_end_date]").val("");
|
||||
}
|
||||
}
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<form method='post' name='frm_holiday'>
|
||||
<table cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td style="padding:0 0 5 0;">
|
||||
<font class="brown"><3E>ް<EFBFBD><DEB0><EFBFBD> <20>ۼ<EFBFBD><DBBC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Դϴ<D4B4>.</font>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="710" align="center" style="padding:10;border-left:1px solid #dedede;border-right:1px solid #dedede;">
|
||||
<table class="table table-sm table-sm2 table-bordered table-head tr-colors">
|
||||
<tr>
|
||||
<td colspan="2" bgcolor="#d8d8d8" height="1"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="20%" style="padding:7 0 7 20"><b><3E><> <3B><></b></td>
|
||||
<td width="80%"><%=user_name(1)%></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" bgcolor="#d8d8d8" height="1"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="20%" style="padding:7 0 7 20"><b><3E><> <3B><></b></td>
|
||||
<td width="80%"><%=user_name(4)%></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" bgcolor="#d8d8d8" height="1"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="20%" style="padding:7 0 7 20"><b><3E><> <3B><></b></td>
|
||||
<td width="80%"><%=user_name(2)%></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" bgcolor="#d8d8d8" height="1"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" align="center" style="padding:10 0 10 0;font-size:14;font-family:dotum;"><b><3E><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20>ް<EFBFBD><DEB0><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>Ͽ<EFBFBD><CFBF><EFBFBD> <20>簡<EFBFBD>Ͽ<EFBFBD> <20>ֽñ<D6BD> <20>ٶ<EFBFBD><D9B6>ϴ<EFBFBD>.</b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="20%" style="padding:7 0 7 20"><b><3E><> <20><> <20><> <20><></b></td>
|
||||
<td width="80%">
|
||||
<input type="text" class="gray selectDate" style="width:150;text-align:right;vertical-align:middle;" name="txt_holiday_start_date" value="<%=gap(1)%>" readonly>
|
||||
<09><><EFBFBD><EFBFBD>
|
||||
<input type="text" class="gray selectDate" style="width:150;text-align:right;vertical-align:middle;" name="txt_holiday_end_date" value="<%=gap(2)%>" readonly>
|
||||
<09><><EFBFBD><EFBFBD>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="20%" style="padding:7 0 7 20"><b><3E><> <20><> <20><> <20><></b></td>
|
||||
<td width="80%" style="padding:10 0 10 0">
|
||||
<input type="radio" class="none" name='opt_reason' value='<%=holiday_title(1)%>' onclick="div_visible('1');"
|
||||
<%
|
||||
if trim(holiday_title(1)) = trim(gap(3)) then
|
||||
%>
|
||||
checked
|
||||
<%end if%>> <%=holiday_title(1)%> <br>
|
||||
<%
|
||||
for i=2 to ubound(holiday_title)%>
|
||||
<% if trim(holiday_title(i)) <> "" Then %>
|
||||
<input type=radio class="none" name='opt_reason' value='<%=holiday_title(i)%>' onclick="div_visible('<%=i%>');"
|
||||
<%if trim(holiday_title(i)) = trim(gap(3)) then%>
|
||||
checked
|
||||
<%end if%>
|
||||
<%
|
||||
if (i = 11 and gap(5) <> "0") then
|
||||
%>
|
||||
disabled
|
||||
<%end if %>
|
||||
> <%=holiday_title(i)%> <br>
|
||||
<% Else %>
|
||||
<input type=radio class="d-none" name='opt_reason' value='' />
|
||||
<% End If %>
|
||||
<%next%>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<div id='Div_reason_01' style="display:none;"><!--<2D><><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>-->
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td width="20%" style="padding:7 0 7 20"><b><3E><> <20><> <20><> Ȳ</b></td>
|
||||
<td width="80%" style="padding:10 0 10 0">
|
||||
<div id='holidayCount' style="display:none;">
|
||||
<span id='holidayDate'></span> <20><><EFBFBD><EFBFBD> <20>ѿ<EFBFBD><D1BF><EFBFBD> <20>ϼ<EFBFBD>
|
||||
<input type=text class="gray" name='txt_target01' value='<%=gap(4)%>' readonly size=4><3E><><br>
|
||||
<span id='holidayBlank'></span> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>ܿ<EFBFBD> <20>ϼ<EFBFBD> <input type=text class=gray name='txt_target02' value='<%=gap(5)%>' size=4><3E><><br>
|
||||
</div>
|
||||
<div id='holidaySel'> <20>ް<EFBFBD><DEB0>Ⱓ<EFBFBD><E2B0A3> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ּ<EFBFBD><D6BC><EFBFBD>.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div id='Div_reason_02' style="display:none;"><!--<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>-->
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td width="20%" style="padding:7 0 7 20"><b><3E><> <20><> <20><> <20><></b></td>
|
||||
<td width="80%" style="padding:10 0 10 0">
|
||||
<09><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <input type=text class="gray" name='txt_target03' style='ime-mode:achive' size=40 maxlength=30 value="<%=gap(6)%>"><br>
|
||||
<09><><EFBFBD><EFBFBD> <20>ð<EFBFBD> <input type=text class="gray" name='txt_target04' style='ime-mode:achive' size=40 maxlength=30 value="<%=gap(7)%>"><br>
|
||||
<09><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <input type=text class="gray" name='txt_target05' style='ime-mode:achive' size=40 maxlength=30 value="<%=gap(8)%>">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div id='Div_reason_03' style="display:none;"><!--<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>-->
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td width="20%" style="padding:7 0 7 20"><b><3E><> <20><> <20><> <20><></b></td>
|
||||
<td width="80%" style="padding:10 0 10 0">
|
||||
<09><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <input type=text class="gray" name='txt_target06' style='ime-mode:achive' size=40 maxlength=30 value="<%=gap(9)%>"><br>
|
||||
<09><><EFBFBD><EFBFBD> <20>Ⱓ <input type="text" class="gray selectDate" name="txt_target07" style="width:120px;text-align:right" maxlength="8" value="<%=gap(10)%>"> ~ <input type="text" class="gray selectDate" name="txt_target08" style="width:120px;text-align:right" maxlength="8" value="<%=gap(11)%>"><br>
|
||||
<09><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <input type=text class="gray" name='txt_target09' style='ime-mode:achive' size=40 maxlength=30 value="<%=gap(12)%>"><br>
|
||||
<09>Կ<EFBFBD> <20><><EFBFBD><EFBFBD> <input type=radio class="none" name='txt_target10' value='<27><>' text='<27><>'
|
||||
<%if trim(gap(13)) = "<22><>" then%>
|
||||
checked
|
||||
<%end if%>
|
||||
><3E><>
|
||||
<input type=radio class="none" name='txt_target10' value='<27><>' text='<27><>'
|
||||
<%if trim(gap(13)) = "<22><>" then%>
|
||||
checked
|
||||
<%end if%>
|
||||
><3E><>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div id='Div_reason_04' style="display:none;"><!--<2D>Ƚ<EFBFBD>/<2F><><EFBFBD><EFBFBD><EFBFBD>ް<EFBFBD>/<2F><>Ÿ<EFBFBD>ް<EFBFBD>-->
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td width="20%" style="padding:7 0 7 20"><b><3E><> <20><> <20><> <20><></b></td>
|
||||
<td width="80%" style="padding:10 0 10 0">
|
||||
<input type=text class="gray" name='txt_target11' style='ime-mode:achive' size=40 maxlength=30 value="<%=gap(14)%>"><br>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div id='Div_reason_05' style="display:none;"><!--<2D><><EFBFBD><EFBFBD><EFBFBD>ް<EFBFBD><DEB0><EFBFBD>-->
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td width="20%" style="padding:7 0 7 20"><b><3E><> <20><> <20><> <20><></b></td>
|
||||
<td width="80%" style="padding:10 0 10 0">
|
||||
<09><> <20><> <20><> <20><> <input type=text class="gray" name='txt_target12' style='ime-mode:achive' size=40 maxlength=30 value="<%=gap(15)%>"><br>
|
||||
<09><><EFBFBD>ΰ<EFBFBD><CEB0><EFBFBD><EFBFBD><EFBFBD> <input type=text class="gray" name='txt_target13' style='ime-mode:achive' size=40 maxlength=30 value="<%=gap(16)%>"><br>
|
||||
<09><> <20><> <20><> <20><> <input type="text" class="gray selectDate" name="txt_target14" style="width:120px;text-align:right" maxlength="8" value="<%=gap(17)%>">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div id='Div_reason_06' style="display:none;"><!--<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>ް<EFBFBD><DEB0><EFBFBD>-->
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td width="20%" style="padding:7 0 7 20"><b><3E><> <20><> <20><> <20><></b></td>
|
||||
<td width="80%" style="padding:10 0 10 0">
|
||||
<09><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <input type="text" class="gray selectDate" name="txt_target15" style="width:120px;text-align:right" maxlength="8" value="<%=gap(18)%>"><br>
|
||||
<09><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>ż<EFBFBD> <input type=text class="gray" name='txt_target16' style='ime-mode:achive' size=40 maxlength=30 value="<%=gap(19)%>">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div id='Div_reason_07' style="display:none;"><!--<2D><>ü <20><EFBFBD><DEB9><EFBFBD>-->
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td width="20%" style="padding:7 0 7 20"><b><3E><> <20><> <20><> <20><></b></td>
|
||||
<td width="80%" style="padding:10 0 10 0">
|
||||
<input type=text class="gray" name='txt_target17' style='ime-mode:achive' size=40 maxlength=30 value="<%=gap(14)%>"><br>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="20%" style="padding:7 0 7 20"><b><3E><> <20><> <20><> <20><></b></td>
|
||||
<td width="80%">
|
||||
<09><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
|
||||
<input type="text" class="gray" style="width:250;" name='txt_target23' value="<%=gap(26)%>"><br>
|
||||
<09><>Ÿ <20><><EFBFBD><EFBFBD>
|
||||
<input type="text" class="gray" style="width:250;" name='txt_target24' value="<%=gap(27)%>"><br>
|
||||
<font class="k_darkorange"><<3C><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>ó<EFBFBD><C3B3> <20><><EFBFBD><EFBFBD>></font>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding:10 0 0 0;" class="brown"><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>ް<EFBFBD> <20>ο<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ģ <20><> 4 <20><>(<28><><EFBFBD><EFBFBD> <20><> <20>ް<EFBFBD>) <20><><EFBFBD>ؿ<EFBFBD> <20>ǰ<EFBFBD><C7B0>մϴ<D5B4>.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='pt-2' align="center">
|
||||
<button type="button" class="btn btn-primary" onclick="goPrint();"><3E>Է<EFBFBD><D4B7>ϱ<EFBFBD></button>
|
||||
<button type="button" class="btn btn-info" onclick="history.back(-1);"><3E><><EFBFBD><EFBFBD><EFBFBD>ϱ<EFBFBD></button>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- /.content -->
|
||||
<!-- REQUIRED SCRIPTS -->
|
||||
<script>
|
||||
$(function(){
|
||||
//$(".selectDate").datepicker();
|
||||
$("input[name=txt_holiday_start_date]").datepicker({
|
||||
"onSelect": function(datetext){
|
||||
changeHoliday(datetext);
|
||||
}
|
||||
});
|
||||
$("input[name=txt_holiday_end_date]").datepicker({
|
||||
"onSelect": function(datetext){
|
||||
chkVacationPeriod();
|
||||
}
|
||||
});
|
||||
$("input[name=txt_target07]").datepicker();
|
||||
$("input[name=txt_target08]").datepicker();
|
||||
$("input[name=txt_target14]").datepicker();
|
||||
$("input[name=txt_target15]").datepicker();
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
<!-- /.content-wrapper -->
|
||||
<!-- #include virtual = "include/footer.asp" -->
|
||||
Reference in New Issue
Block a user