최초커밋
This commit is contained in:
367
approval/doc_consultation.asp
Normal file
367
approval/doc_consultation.asp
Normal file
@@ -0,0 +1,367 @@
|
||||
<!-- #include virtual = "include/header.asp" -->
|
||||
<!-- #include virtual = "include/left.asp" -->
|
||||
<%
|
||||
dim tmpstr
|
||||
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 cnt
|
||||
dim Gap(10) '1:<3A><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʈ <20>ڵ<EFBFBD>, 2:ǰ<>Ǹ<EFBFBD><C7B8><EFBFBD>, 3:<3A><>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD>, 4:<3A><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, 5:<3A><><EFBFBD>ް<EFBFBD><DEB0><EFBFBD>, 6:<3A>ΰ<EFBFBD><CEB0><EFBFBD><EFBFBD><EFBFBD>, 7:<3A>Ѿ<EFBFBD>, 8:<3A>ŷ<EFBFBD>ó, 9:<3A><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʈ<EFBFBD>ڵ<EFBFBD>, 10:ǰ<><C7B0>
|
||||
dim krc_no
|
||||
dim pay_type(4)
|
||||
dim db_table_name
|
||||
|
||||
db_table_name = "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
||||
|
||||
title="ǰ <20><> <20><>"
|
||||
Max_Width =650
|
||||
Curr_date = year(date) & "<22><> " & month(date) & "<22><> " & day(date) & "<22><>"
|
||||
|
||||
pay_type(1) = "<22><><EFBFBD><EFBFBD>"
|
||||
pay_type(2) = "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ü"
|
||||
pay_type(3) = "<22><><EFBFBD><EFBFBD>ī<EFBFBD><C4AB>"
|
||||
pay_type(4) = "<22><><EFBFBD><EFBFBD>ī<EFBFBD><C4AB>"
|
||||
''//=================
|
||||
''//=================
|
||||
'''''<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) = ViewWord(adors("target2"))
|
||||
gap(3) = adors("target3")
|
||||
gap(4) = adors("target4")
|
||||
gap(5) = adors("target5")
|
||||
gap(6) = adors("target6")
|
||||
gap(7) = adors("target7")
|
||||
gap(8) = adors("target8")
|
||||
gap(9) = adors("p_sn")
|
||||
gap(10) = adors("target9")
|
||||
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
|
||||
%>
|
||||
<!-- 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">
|
||||
<form method='post' name='frm_money' >
|
||||
<input type=hidden name="txt_p_sn" value='<%=gap(9)%>' >
|
||||
<table cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td style="padding:0 0 5 0;">
|
||||
<font class="brown"><%=replace(title," ","")%> <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 height="24">
|
||||
<td align="center" colspan="4" style="font-size:12px;"><3E>ϱ<EFBFBD><CFB1><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʈ(<28><><EFBFBD><EFBFBD>)<29><> <20><><EFBFBD><EFBFBD><EFBFBD>Ͽ<EFBFBD> ǰ<><C7B0><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>Ͽ<EFBFBD><CFBF><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>Ͽ<EFBFBD> <20>ֽñ<D6BD> <20>ٶ<EFBFBD><D9B6>ϴ<EFBFBD>. </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="15%" align="center" ><3E><>   <3B><></td>
|
||||
<td width="85%" colspan="3">
|
||||
<input type="text" class="gray" style="width:100%;" name="txt_name" value='<%=gap(10) %>'>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="15%" align="center" ><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʈ <20><></td>
|
||||
<td width="85%" colspan="3">
|
||||
<input type="text" class="gray" style="width:calc(100% - 30px);" name="txt_prj_name" value='<%=gap(1)%>' onclick="winnewoepn('txt_prj_name','txt_p_sn');" readonly>
|
||||
<img src="/images/common/btn_smallsrch2.gif" align="absmiddle" onclick="winnewoepn('txt_prj_name','txt_p_sn');" style="CURSOR:pointer;">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="15%" align="center" >ǰ<>Ǹ<EFBFBD><C7B8><EFBFBD><br><3E><> <20><>Ÿ<EFBFBD><C5B8><EFBFBD><EFBFBD></td>
|
||||
<td width="85%" colspan="3">
|
||||
<textarea style="width:100%;" rows="4" name="txt_pay_target"><%=replace(ViewWord(gap(2)),"<br>",chr(13))%></textarea>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="15%" align="center" ><3E><><EFBFBD><EFBFBD><E0BFB9><EFBFBD><EFBFBD><EFBFBD><EFBFBD></td>
|
||||
<td width="35%" >
|
||||
<input type="text" class="gray selectDate" style="width:150;text-align:right;" name="txt_date" readonly value='<%=gap(3)%>'>
|
||||
</td>
|
||||
<td width="15%" align="center" ><3E>ŷ<EFBFBD>ó</td>
|
||||
<td width="35%" >
|
||||
<input type="text" class="gray" style="width:100%;" name="txt_client" value='<%=gap(8)%>'>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="15%" align="center" ><3E><><EFBFBD>ް<EFBFBD><DEB0><EFBFBD></td>
|
||||
<td width="35%" >
|
||||
<input type="text" id="val_supply" class="gray" style="width:150;text-align:right;" OnKeyup="OnlyNumber(this);check_comma(this.value,'1');" name="txt_pay" value='<%=gap(5)%>'> <20><>
|
||||
</td>
|
||||
<td width="15%" align="center" rowspan="2"><3E><><EFBFBD><EFBFBD><EFBFBD>Ѿ<EFBFBD></td>
|
||||
<td width="35%" rowspan="2">
|
||||
<input type="text" class="gray" style="width:150;text-align:right;" name="txt_pay_tot" readonly value='<%=gap(7)%>'> <20><>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="15%" align="center" ><3E>ΰ<EFBFBD><CEB0><EFBFBD><EFBFBD><EFBFBD><br /><input type="button" value="<22>ڵ<EFBFBD><DAB5><EFBFBD><EFBFBD><EFBFBD>" onclick="vat_auto();" /></td>
|
||||
<td width="35%" >
|
||||
<input type="text" class="gray" style="width:150;text-align:right;" OnKeyup="OnlyNumber(this);check_comma(this.value,'2');" name="txt_pay_vat" value='<%=gap(6)%>'> <20><>
|
||||
</td>
|
||||
</tr>
|
||||
<!-------><!-------><!-------><!-------><!-------><!-------><!------->
|
||||
<tr>
|
||||
<td width="15%" align="center" style="background-color:#DAF3FE;" ><3E><><EFBFBD>ݰ<EFBFBD><DDB0><EFBFBD><EFBFBD><EFBFBD></td>
|
||||
<td width="41%" style="background-color:#DAF3FE;" colspan="3" >
|
||||
<input type="text" id="txt_all_money" class="gray" style="width:150;text-align:right;" name="txt_all_money" value='' onchange="getNumber(this);" onkeyup="getNumber(this);" > <20><>
|
||||
<input type="button" value="<22>ݾ<DDBE><D7BA><EFBFBD>" onclick="calVat();" />
|
||||
</td>
|
||||
</tr>
|
||||
<!-------><!-------><!-------><!-------><!-------><!-------><!------->
|
||||
|
||||
<tr style="display: none;">
|
||||
<td width="15%" align="center" ><3E><><EFBFBD><EFBFBD><EFBFBD>ڷ<EFBFBD></td>
|
||||
<td width="85%" colspan="3">
|
||||
<img src="/images/common/upload/btn_fileadd_over.gif" style="CURSOR:pointer;" onClick="javascript:window.open('Dfile.asp','','left=0,top=0,width=100,height=100,scrollbars=yes,resizable=yes')">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding:10 0 0 0;" 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 winnewoepn(actval,actval2){
|
||||
var url = "/project_list/project_list.asp";
|
||||
url = url + "?actval=" + actval;
|
||||
url = url + "&actval2=" + actval2;
|
||||
url = url + "&part=job_project";
|
||||
|
||||
window.open(url,"wins","left=50, top=50, menubar=no, location=no, status=no, toolbar=no, width=850, height=600, scrollbars=yes ,resizable=no");
|
||||
}
|
||||
|
||||
function goPrint(){//<2F><><EFBFBD><EFBFBD>Ʈ <20>ϱ<EFBFBD>
|
||||
var txt_name = document.frm_money.txt_name.value;
|
||||
var txt_prj_name = document.frm_money.txt_prj_name.value;
|
||||
var txt_pay_target = document.frm_money.txt_pay_target.value;
|
||||
var txt_date = document.frm_money.txt_date.value;
|
||||
//var txt_date2 = document.frm_money.txt_date2.value;
|
||||
var txt_pay = document.frm_money.txt_pay.value;
|
||||
var txt_pay_vat = document.frm_money.txt_pay_vat.value;
|
||||
var txt_pay_tot = document.frm_money.txt_pay_tot.value;
|
||||
var txt_client = document.frm_money.txt_client.value;
|
||||
var txt_p_sn = document.frm_money.txt_p_sn.value;
|
||||
|
||||
if(txt_name == "" ) {
|
||||
alert("<22>Ǹ<EFBFBD><C7B8><EFBFBD> <20>Է<EFBFBD><D4B7>ϼ<EFBFBD><CFBC><EFBFBD>.");
|
||||
return false;
|
||||
}else if(txt_prj_name == ""){
|
||||
alert("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʈ<EFBFBD><C6AE><EFBFBD><EFBFBD> <20>Է<EFBFBD><D4B7>ϼ<EFBFBD><CFBC><EFBFBD>.");
|
||||
return false;
|
||||
}else if(txt_pay_target == ""){
|
||||
alert("ǰ<>Ǹ<EFBFBD><C7B8><EFBFBD> <20><> <20><>Ÿ<EFBFBD><C5B8><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>Է<EFBFBD><D4B7>ϼ<EFBFBD><CFBC><EFBFBD>.");
|
||||
return false;
|
||||
}else if(txt_date == ""){
|
||||
alert("<22><><EFBFBD><EFBFBD><E0BFB9><EFBFBD><EFBFBD><EFBFBD>ڸ<EFBFBD> <20>Է<EFBFBD><D4B7>ϼ<EFBFBD><CFBC><EFBFBD>.");
|
||||
return false;
|
||||
}else if(txt_pay == ""){
|
||||
alert("<22><><EFBFBD>ް<EFBFBD><DEB0><EFBFBD><EFBFBD><EFBFBD> <20>Է<EFBFBD><D4B7>ϼ<EFBFBD><CFBC><EFBFBD>.");
|
||||
return false;
|
||||
}else if(txt_pay_tot == ""){
|
||||
alert("<22><><EFBFBD><EFBFBD><EFBFBD>Ѿ<EFBFBD><D1BE><EFBFBD> <20>Է<EFBFBD><D4B7>ϼ<EFBFBD><CFBC><EFBFBD>.");
|
||||
return false;
|
||||
}else if(txt_client == ""){
|
||||
alert("<22>ŷ<EFBFBD>ó<EFBFBD><C3B3> <20>Է<EFBFBD><D4B7>ϼ<EFBFBD><CFBC><EFBFBD>.");
|
||||
return false;
|
||||
}
|
||||
|
||||
var agt = navigator.userAgent.toLowerCase();
|
||||
var txt = document.frm_money.txt_pay_target.value;
|
||||
//alert(txt);
|
||||
for (var i=0;i<txt.length;i++){
|
||||
var uniCode = txt.charCodeAt(i);
|
||||
if (agt.indexOf("msie") != -1){
|
||||
if((uniCode == 13 && txt.charCodeAt(i+1) == 10) ){
|
||||
txt = txt.replace(txt.charAt(i)+txt.charAt(i+1),"<br>");
|
||||
}
|
||||
}else if (agt.indexOf("chrome") != -1){
|
||||
if(uniCode == 10){
|
||||
txt = txt.replace(txt.charAt(i),"<br>");
|
||||
}
|
||||
}
|
||||
}
|
||||
txt_pay_target = txt;
|
||||
|
||||
var url = "doc_consultation_print.asp"
|
||||
url = url + "?txt_prj_name=" + txt_prj_name;
|
||||
url = url + "&txt_pay_target=" + txt_pay_target;
|
||||
url = url + "&txt_date=" + txt_date;
|
||||
//url = url + "&txt_date2=" + txt_date2;
|
||||
url = url + "&txt_pay=" + txt_pay;
|
||||
url = url + "&txt_pay_vat=" + txt_pay_vat;
|
||||
url = url + "&txt_pay_tot=" + txt_pay_tot;
|
||||
url = url + "&txt_client=" + txt_client;
|
||||
url = url + "&print_type=1";
|
||||
url = url + "&txt_p_sn=" + txt_p_sn;
|
||||
url = url + "&txt_name=" + txt_name;
|
||||
|
||||
window.open(url,"","left=50 ,top=0, menubar=no, location=no ,status=no ,toolbar=no ,width=850, height=800 ,scrollbars=yes ,resizable=yes");
|
||||
}
|
||||
|
||||
function check_comma(txt,txt2){
|
||||
txt=allTrim(txt);
|
||||
for(var i=0;i<txt.length;i++){
|
||||
txt = txt.replace(',','')
|
||||
txt = txt.replace(' ','')
|
||||
}
|
||||
if(eval(txt2)==1){
|
||||
document.frm_money.txt_pay.value = allTrim(commify(txt));
|
||||
}else{
|
||||
document.frm_money.txt_pay_vat.value = allTrim(commify(txt));
|
||||
}
|
||||
|
||||
var txt_pay = document.frm_money.txt_pay.value;
|
||||
var txt_pay_vat = document.frm_money.txt_pay_vat.value;
|
||||
for(var i=0;i<txt_pay.length;i++){
|
||||
txt_pay = txt_pay.replace(',','')
|
||||
txt_pay = txt_pay.replace(' ','')
|
||||
}
|
||||
for(var i=0;i<txt_pay_vat.length;i++){
|
||||
txt_pay_vat = txt_pay_vat.replace(',','')
|
||||
txt_pay_vat = txt_pay_vat.replace(' ','')
|
||||
}
|
||||
|
||||
if (txt_pay == ""){
|
||||
txt = txt_pay_vat;
|
||||
}else if(txt_pay_vat == ""){
|
||||
txt = txt_pay;
|
||||
}else{
|
||||
txt = eval(txt_pay) + eval(txt_pay_vat);
|
||||
}
|
||||
document.frm_money.txt_pay_tot.value = allTrim(commify(txt));
|
||||
}
|
||||
|
||||
function calVat() {
|
||||
var sumWon = document.frm_money.txt_all_money.value;
|
||||
var sumValue = uncomma(sumWon);
|
||||
var rate=10; /* <20><><EFBFBD><EFBFBD> 10% */
|
||||
|
||||
if(sumWon==""){
|
||||
alert("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>Է<EFBFBD><D4B7>Ͽ<EFBFBD> <20>ּ<EFBFBD><D6BC><EFBFBD>");
|
||||
return false;
|
||||
}
|
||||
var vatValueDefault = sumValue/((100+eval(rate))/rate);
|
||||
vatValueDefault = Math.floor(vatValueDefault/10) * 10;
|
||||
|
||||
var vatValueTmp;
|
||||
vatValueTmp = Math.floor(vatValueDefault);
|
||||
|
||||
/*VAT*/
|
||||
document.frm_money.txt_pay_vat.value = comma(vatValueTmp);
|
||||
/*<2A><><EFBFBD>ް<EFBFBD><DEB0><EFBFBD>*/
|
||||
document.frm_money.txt_pay.value = comma(Math.round(sumValue - vatValueTmp));
|
||||
/*<2A>հ<EFBFBD>*/
|
||||
document.frm_money.txt_pay_tot.value=comma(eval(uncomma(document.frm_money.txt_pay_vat.value))+eval(uncomma(document.frm_money.txt_pay.value)));
|
||||
}
|
||||
|
||||
//[] <--<2D><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> [^] <--<2D><><EFBFBD><EFBFBD> [0-9] <-- <20><><EFBFBD><EFBFBD>
|
||||
//[0-9] => \d , [^0-9] => \D
|
||||
var rgx1 = /\D/g; // /[^0-9]/g <20><> <20><><EFBFBD><EFBFBD> ǥ<><C7A5>
|
||||
var rgx2 = /(\d+)(\d{3})/;
|
||||
|
||||
function getNumber(obj){
|
||||
var num01;
|
||||
var num02;
|
||||
num01 = obj.value;
|
||||
num02 = num01.replace(rgx1,"");
|
||||
num01 = setComma(num02);
|
||||
obj.value = num01;
|
||||
|
||||
}
|
||||
|
||||
function setComma(inNum){
|
||||
var outNum;
|
||||
outNum = inNum;
|
||||
while (rgx2.test(outNum)) {
|
||||
outNum = outNum.replace(rgx2, '$1' + ',' + '$2');
|
||||
}
|
||||
return outNum;
|
||||
}
|
||||
|
||||
|
||||
//<2F><EFBFBD><DEB8><EFBFBD><EFBFBD><EFBFBD>
|
||||
function comma(str) {
|
||||
str = String(str);
|
||||
return str.replace(/(\d)(?=(?:\d{3})+(?!\d))/g, '$1,');
|
||||
}
|
||||
//<2F><EFBFBD>Ǯ<EFBFBD><C7AE>
|
||||
function uncomma(str) {
|
||||
str = String(str);
|
||||
return str.replace(/[^\d]+/g, '');
|
||||
}
|
||||
|
||||
function inputWonFormat(obj) {
|
||||
obj.value = comma(uncomma(obj.value));
|
||||
}
|
||||
|
||||
function inputNumberFormat(obj) {
|
||||
obj.value = uncomma(obj.value);
|
||||
}
|
||||
|
||||
$(function(){
|
||||
currentMenu("/approval/doc_select.asp", "");
|
||||
|
||||
$(".selectDate").datepicker();
|
||||
})
|
||||
</script>
|
||||
</div>
|
||||
<!-- /.content-wrapper -->
|
||||
<!-- #include virtual = "include/footer.asp" -->
|
||||
Reference in New Issue
Block a user