12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
- <xhtml:html xmlns:ex="http://www.comsquare.co.kr/xforms/excel" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:my="http://www.comsquare.co.kr/example" xmlns:ms="urn:schemas-microsoft-com:xslt" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:cs="http://www.comsquare.co.kr/xforms">
- <xhtml:head>
- <xhtml:title>연구비청구서(인건비)</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <repdetl>
- <R0252001/>
- <R0252002/>
- <R0252003/>
- <R0252004/>
- <R0252005/>
- <R0252006/>
- <R0252007/>
- <R0252008/>
- <R0252009/>
- <R0252010/>
- <R0252011/>
- <R0252012/>
- <R0252013/>
- <R0252014/>
- <R0252015/>
- <R0252016/>
- <R0252017/>
- <R0252018/>
- <R0252019/>
- <R0252020/>
- <R0252021/>
- <R0252022/>
- <R0252023/>
- <R0252024/>
- <R0252025/>
- <R0252026/>
- <R0252027/>
- <R0252028/>
- <R0252029/>
- <R0252030/>
- <R0252031/>
- <R0252032/>
- <R0252033/>
- <R0252034/>
- <R0252035/>
- <R0252036/>
- <R0252037/>
- <R0252038/>
- <R0252039/>
- <R0252040/>
- <R0252041/>
- <R0252042/>
- <R0252043/>
- <R0252044/>
- <R0252045/>
- <R0252046/>
- <R0252047/>
- <R0252048/>
- <R0252049/>
- <R0252050/>
- <R0252051/>
- <R0252052/>
- <R0252053/>
- <R0252054/>
- <R0252055/>
- <R0252056/>
- <R0252057/>
- <R0252058/>
- <R0252059/>
- <R0252060/>
- <R0252061/>
- <R0252062/>
- <R0252063/>
- <R0252064/>
- <R0252065/>
- <R0252066/>
- <R0252067/>
- <R0252068/>
- <R0252069/>
- <R0252070/>
- <R0252071/>
- <R0252072/>
- <R0252073/>
- <R0252074/>
- <R0252075/>
- <R0252076/>
- <R0252077/>
- <R0252078/>
- <R0252079/>
- <R0252080/>
- <R0252081/>
- <R0252082/>
- <R0252083/>
- <R0252084/>
- <R0252085/>
- <R0252086/>
- <R0252087/>
- <R0252088/>
- <R0252089/>
- <R0252090/>
- <R0252091/>
- <R0252092/>
- <R0252093/>
- <R0252094/>
- <R0252095/>
- <R0252096/>
- <R0252097/>
- <R0252098/>
- <R0252099/>
- <R0252100/>
- <R0252101/>
- <R0252102/>
- <R0252103/>
- <R0252104/>
- <R0252105/>
- <R0252106/>
- <R0252107/>
- <R0252108/>
- <R0252109/>
- <R0252110/>
- <R0252111/>
- <R0252112/>
- <R0252113/>
- <R0252114/>
- <R0252115/>
- <R0252116/>
- <R0252117/>
- <R0252118/>
- <R0252119/>
- <R0252120/>
- <R0252121/>
- <R0252122/>
- <R0252123/>
- <R0252124/>
- </repdetl>
- </main>
- <send/>
- <init>
- </init>
- <hidden/>
- <temp>
- </temp>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-close">
- <![CDATA[
- ]]>
- </script>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- //fInitialize();
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- function fSetInitData(){
- model.setValue("/root/main/repdetl/R0252005", model.getValue("/root/main/repmain/projnm"));
- model.setValue("/root/main/repdetl/R0252006", model.getValue("/root/main/repmain/empldeptnm"));
- model.setValue("/root/main/repdetl/R0252007", model.getValue("/root/main/repmain/rshnm"));
- model.setValue("/root/main/repdetl/R0252009", model.getValue("/root/main/repmain/reqfirm"));
- //model.setValue("/root/main/repdetl/R0252008", model.getValue("/root/main/repmain/fromdd")+" ~ "+model.getValue("/root/main/repmain/todd"));
-
- model.setValue("/root/main/repdetl/R0252008",
- model.getValue("/root/main/repmain/fromdd").substring(0,4) + "-" + model.getValue("/root/main/repmain/fromdd").substring(4,6) + "-" + model.getValue("/root/main/repmain/fromdd").substring(6,8)
- + " ~ " + model.getValue("/root/main/repmain/todd").substring(0,4) + "-" + model.getValue("/root/main/repmain/todd").substring(4,6) + "-" + model.getValue("/root/main/repmain/todd").substring(6,8) );
-
- model.setValue("/root/main/repdetl/R0252010", model.getValue("/root/main/repmain/projamt"));
- model.setValue("/root/main/repdetl/R0252011", model.getValue("/root/main/repmain/bstotjamt"));
- fAmtCalc();
- fAmtCalc2();
- fAmtCalc3();
- model.refresh();
- }
-
- // 금액합계
- function fAmtCalc(){
- var amt1 = model.getValue("/root/main/repdetl/R0252015");
- var amt2 = model.getValue("/root/main/repdetl/R0252022");
- var amt3 = model.getValue("/root/main/repdetl/R0252029");
- var amt4 = model.getValue("/root/main/repdetl/R0252036");
- var amt5 = model.getValue("/root/main/repdetl/R0252043");
- var amt6 = model.getValue("/root/main/repdetl/R0252050");
- var amt7 = model.getValue("/root/main/repdetl/R0252057");
- var amt8 = model.getValue("/root/main/repdetl/R0252064");
- var amt9 = model.getValue("/root/main/repdetl/R0252071");
- var amt10 = model.getValue("/root/main/repdetl/R0252078");
- var amt11 = model.getValue("/root/main/repdetl/R0252085");
- var amt12 = model.getValue("/root/main/repdetl/R0252092");
- var amt13 = model.getValue("/root/main/repdetl/R0252099");
- var amt14 = model.getValue("/root/main/repdetl/R0252106");
- var amt15 = model.getValue("/root/main/repdetl/R0252113");
-
- if( amt1.length == 0 ){ amt1 = 0; }else{ amt1 = parseInt(amt1); }
- if( amt2.length == 0 ){ amt2 = 0; }else{ amt2 = parseInt(amt2); }
- if( amt3.length == 0 ){ amt3 = 0; }else{ amt3 = parseInt(amt3); }
- if( amt4.length == 0 ){ amt4 = 0; }else{ amt4 = parseInt(amt4); }
- if( amt5.length == 0 ){ amt5 = 0; }else{ amt5 = parseInt(amt5); }
- if( amt6.length == 0 ){ amt6 = 0; }else{ amt6 = parseInt(amt6); }
- if( amt7.length == 0 ){ amt7 = 0; }else{ amt7 = parseInt(amt7); }
- if( amt8.length == 0 ){ amt8 = 0; }else{ amt8 = parseInt(amt8); }
- if( amt9.length == 0 ){ amt9 = 0; }else{ amt9 = parseInt(amt9); }
- if( amt10.length == 0 ){ amt10 = 0; }else{ amt10 = parseInt(amt10); }
- if( amt11.length == 0 ){ amt11 = 0; }else{ amt11 = parseInt(amt11); }
- if( amt12.length == 0 ){ amt12 = 0; }else{ amt12 = parseInt(amt12); }
- if( amt13.length == 0 ){ amt13 = 0; }else{ amt13 = parseInt(amt13); }
- if( amt14.length == 0 ){ amt14 = 0; }else{ amt14 = parseInt(amt14); }
- if( amt15.length == 0 ){ amt15 = 0; }else{ amt15 = parseInt(amt15); }
-
- model.setValue("/root/main/repdetl/R0252119", (amt1+amt2+amt3+amt4+amt5+amt6+amt7+amt8+amt9+amt10+amt11+amt12+amt13+amt14+amt15) );
- model.setValue("/root/main/repdetl/R0252012", (amt1+amt2+amt3+amt4+amt5+amt6+amt7+amt8+amt9+amt10+amt11+amt12+amt13+amt14+amt15) );
-
- model.refresh();
- }
-
- // 세액 합계
- function fAmtCalc2(){
- var amt1 = model.getValue("/root/main/repdetl/R0252016");
- var amt2 = model.getValue("/root/main/repdetl/R0252023");
- var amt3 = model.getValue("/root/main/repdetl/R0252030");
- var amt4 = model.getValue("/root/main/repdetl/R0252037");
- var amt5 = model.getValue("/root/main/repdetl/R0252044");
- var amt6 = model.getValue("/root/main/repdetl/R0252051");
- var amt7 = model.getValue("/root/main/repdetl/R0252058");
- var amt8 = model.getValue("/root/main/repdetl/R0252065");
- var amt9 = model.getValue("/root/main/repdetl/R0252072");
- var amt10 = model.getValue("/root/main/repdetl/R0252079");
- var amt11 = model.getValue("/root/main/repdetl/R0252086");
- var amt12 = model.getValue("/root/main/repdetl/R0252093");
- var amt13 = model.getValue("/root/main/repdetl/R0252100");
- var amt14 = model.getValue("/root/main/repdetl/R0252107");
- var amt15 = model.getValue("/root/main/repdetl/R0252114");
-
- if( amt1.length == 0 ){ amt1 = 0; }else{ amt1 = parseInt(amt1); }
- if( amt2.length == 0 ){ amt2 = 0; }else{ amt2 = parseInt(amt2); }
- if( amt3.length == 0 ){ amt3 = 0; }else{ amt3 = parseInt(amt3); }
- if( amt4.length == 0 ){ amt4 = 0; }else{ amt4 = parseInt(amt4); }
- if( amt5.length == 0 ){ amt5 = 0; }else{ amt5 = parseInt(amt5); }
- if( amt6.length == 0 ){ amt6 = 0; }else{ amt6 = parseInt(amt6); }
- if( amt7.length == 0 ){ amt7 = 0; }else{ amt7 = parseInt(amt7); }
- if( amt8.length == 0 ){ amt8 = 0; }else{ amt8 = parseInt(amt8); }
- if( amt9.length == 0 ){ amt9 = 0; }else{ amt9 = parseInt(amt9); }
- if( amt10.length == 0 ){ amt10 = 0; }else{ amt10 = parseInt(amt10); }
- if( amt11.length == 0 ){ amt11 = 0; }else{ amt11 = parseInt(amt11); }
- if( amt12.length == 0 ){ amt12 = 0; }else{ amt12 = parseInt(amt12); }
- if( amt13.length == 0 ){ amt13 = 0; }else{ amt13 = parseInt(amt13); }
- if( amt14.length == 0 ){ amt14 = 0; }else{ amt14 = parseInt(amt14); }
- if( amt15.length == 0 ){ amt15 = 0; }else{ amt15 = parseInt(amt15); }
-
- model.setValue("/root/main/repdetl/R0252120", (amt1+amt2+amt3+amt4+amt5+amt6+amt7+amt8+amt9+amt10+amt11+amt12+amt13+amt14+amt15) );
-
- model.refresh();
- }
-
- // 실지급액 합계
- function fAmtCalc3(){
- var amt1 = model.getValue("/root/main/repdetl/R0252017");
- var amt2 = model.getValue("/root/main/repdetl/R0252024");
- var amt3 = model.getValue("/root/main/repdetl/R0252031");
- var amt4 = model.getValue("/root/main/repdetl/R0252038");
- var amt5 = model.getValue("/root/main/repdetl/R0252045");
- var amt6 = model.getValue("/root/main/repdetl/R0252052");
- var amt7 = model.getValue("/root/main/repdetl/R0252059");
- var amt8 = model.getValue("/root/main/repdetl/R0252066");
- var amt9 = model.getValue("/root/main/repdetl/R0252073");
- var amt10 = model.getValue("/root/main/repdetl/R0252080");
- var amt11 = model.getValue("/root/main/repdetl/R0252087");
- var amt12 = model.getValue("/root/main/repdetl/R0252094");
- var amt13 = model.getValue("/root/main/repdetl/R0252101");
- var amt14 = model.getValue("/root/main/repdetl/R0252108");
- var amt15 = model.getValue("/root/main/repdetl/R0252115");
-
- if( amt1.length == 0 ){ amt1 = 0; }else{ amt1 = parseInt(amt1); }
- if( amt2.length == 0 ){ amt2 = 0; }else{ amt2 = parseInt(amt2); }
- if( amt3.length == 0 ){ amt3 = 0; }else{ amt3 = parseInt(amt3); }
- if( amt4.length == 0 ){ amt4 = 0; }else{ amt4 = parseInt(amt4); }
- if( amt5.length == 0 ){ amt5 = 0; }else{ amt5 = parseInt(amt5); }
- if( amt6.length == 0 ){ amt6 = 0; }else{ amt6 = parseInt(amt6); }
- if( amt7.length == 0 ){ amt7 = 0; }else{ amt7 = parseInt(amt7); }
- if( amt8.length == 0 ){ amt8 = 0; }else{ amt8 = parseInt(amt8); }
- if( amt9.length == 0 ){ amt9 = 0; }else{ amt9 = parseInt(amt9); }
- if( amt10.length == 0 ){ amt10 = 0; }else{ amt10 = parseInt(amt10); }
- if( amt11.length == 0 ){ amt11 = 0; }else{ amt11 = parseInt(amt11); }
- if( amt12.length == 0 ){ amt12 = 0; }else{ amt12 = parseInt(amt12); }
- if( amt13.length == 0 ){ amt13 = 0; }else{ amt13 = parseInt(amt13); }
- if( amt14.length == 0 ){ amt14 = 0; }else{ amt14 = parseInt(amt14); }
- if( amt15.length == 0 ){ amt15 = 0; }else{ amt15 = parseInt(amt15); }
-
- model.setValue("/root/main/repdetl/R0252121", (amt1+amt2+amt3+amt4+amt5+amt6+amt7+amt8+amt9+amt10+amt11+amt12+amt13+amt14+amt15) );
-
- model.refresh();
- }
-
- function fAmtSetting(){
- if( model.getValue("/root/main/repdetl/R0252015").length == 0 ){
- model.setValue("/root/main/repdetl/R0252016", "" );
- model.setValue("/root/main/repdetl/R0252017", "" );
- }else if( model.getValue("/root/main/repdetl/R0252022").length == 0 ){
- model.setValue("/root/main/repdetl/R0252023", "" );
- model.setValue("/root/main/repdetl/R0252024", "" );
- }else if( model.getValue("/root/main/repdetl/R0252029").length == 0 ){
- model.setValue("/root/main/repdetl/R0252030", "" );
- model.setValue("/root/main/repdetl/R0252031", "" );
- }else if( model.getValue("/root/main/repdetl/R0252036").length == 0 ){
- model.setValue("/root/main/repdetl/R0252037", "" );
- model.setValue("/root/main/repdetl/R0252038", "" );
- }else if( model.getValue("/root/main/repdetl/R0252043").length == 0 ){
- model.setValue("/root/main/repdetl/R0252044", "" );
- model.setValue("/root/main/repdetl/R0252045", "" );
- }else if( model.getValue("/root/main/repdetl/R0252050").length == 0 ){
- model.setValue("/root/main/repdetl/R0252051", "" );
- model.setValue("/root/main/repdetl/R0252052", "" );
- }else if( model.getValue("/root/main/repdetl/R0252057").length == 0 ){
- model.setValue("/root/main/repdetl/R0252058", "" );
- model.setValue("/root/main/repdetl/R0252059", "" );
- }else if( model.getValue("/root/main/repdetl/R0252064").length == 0 ){
- model.setValue("/root/main/repdetl/R0252065", "" );
- model.setValue("/root/main/repdetl/R0252066", "" );
- }else if( model.getValue("/root/main/repdetl/R0252071").length == 0 ){
- model.setValue("/root/main/repdetl/R0252072", "" );
- model.setValue("/root/main/repdetl/R0252073", "" );
- }else if( model.getValue("/root/main/repdetl/R0252078").length == 0 ){
- model.setValue("/root/main/repdetl/R0252079", "" );
- model.setValue("/root/main/repdetl/R0252080", "" );
- }else if( model.getValue("/root/main/repdetl/R0252085").length == 0 ){
- model.setValue("/root/main/repdetl/R0252086", "" );
- model.setValue("/root/main/repdetl/R0252087", "" );
- }else if( model.getValue("/root/main/repdetl/R0252092").length == 0 ){
- model.setValue("/root/main/repdetl/R0252093", "" );
- model.setValue("/root/main/repdetl/R0252094", "" );
- }else if( model.getValue("/root/main/repdetl/R0252099").length == 0 ){
- model.setValue("/root/main/repdetl/R0252100", "" );
- model.setValue("/root/main/repdetl/R0252101", "" );
- }else if( model.getValue("/root/main/repdetl/R0252106").length == 0 ){
- model.setValue("/root/main/repdetl/R0252107", "" );
- model.setValue("/root/main/repdetl/R0252108", "" );
- }else if( model.getValue("/root/main/repdetl/R0252113").length == 0 ){
- model.setValue("/root/main/repdetl/R0252114", "" );
- model.setValue("/root/main/repdetl/R0252115", "" );
- }
-
- var amt = 0;
- var num = 0;
- for( var i = 1 ; i <= 15 ; i++ ){
-
- if( i == "1" ){
- amt = model.getValue("/root/main/repdetl/R0252015");
- num = fcalcAmt(amt);
- model.setValue("/root/main/repdetl/R0252016", num );
- model.setValue("/root/main/repdetl/R0252017", amt-num );
- }else if( i == "2" ){
- amt = model.getValue("/root/main/repdetl/R0252022");
- num = fcalcAmt(amt);
- model.setValue("/root/main/repdetl/R0252023", num );
- model.setValue("/root/main/repdetl/R0252024", amt-num );
- }else if( i == "3" ){
- amt = model.getValue("/root/main/repdetl/R0252029");
- num = fcalcAmt(amt);
- model.setValue("/root/main/repdetl/R0252030", num );
- model.setValue("/root/main/repdetl/R0252031", amt-num );
- }else if( i == "4" ){
- amt = model.getValue("/root/main/repdetl/R0252036");
- num = fcalcAmt(amt);
- model.setValue("/root/main/repdetl/R0252037", num );
- model.setValue("/root/main/repdetl/R0252038", amt-num );
- }else if( i == "5" ){
- amt = model.getValue("/root/main/repdetl/R0252043");
- num = fcalcAmt(amt);
- model.setValue("/root/main/repdetl/R0252044", num );
- model.setValue("/root/main/repdetl/R0252045", amt-num );
- }else if( i == "6" ){
- amt = model.getValue("/root/main/repdetl/R0252050");
- num = fcalcAmt(amt);
- model.setValue("/root/main/repdetl/R0252051", num );
- model.setValue("/root/main/repdetl/R0252052", amt-num );
- }else if( i == "7" ){
- amt = model.getValue("/root/main/repdetl/R0252057");
- num = fcalcAmt(amt);
- model.setValue("/root/main/repdetl/R0252058", num );
- model.setValue("/root/main/repdetl/R0252059", amt-num );
- }else if( i == "8" ){
- amt = model.getValue("/root/main/repdetl/R0252064");
- num = fcalcAmt(amt);
- model.setValue("/root/main/repdetl/R0252065", num );
- model.setValue("/root/main/repdetl/R0252066", amt-num );
- }else if( i == "9" ){
- amt = model.getValue("/root/main/repdetl/R0252071");
- num = fcalcAmt(amt);
- model.setValue("/root/main/repdetl/R0252072", num );
- model.setValue("/root/main/repdetl/R0252073", amt-num );
- }else if( i == "10" ){
- amt = model.getValue("/root/main/repdetl/R0252078");
- num = fcalcAmt(amt);
- model.setValue("/root/main/repdetl/R0252079", num );
- model.setValue("/root/main/repdetl/R0252080", amt-num );
- }else if( i == "11" ){
- amt = model.getValue("/root/main/repdetl/R0252085");
- num = fcalcAmt(amt);
- model.setValue("/root/main/repdetl/R0252086", num );
- model.setValue("/root/main/repdetl/R0252087", amt-num );
- }else if( i == "12" ){
- amt = model.getValue("/root/main/repdetl/R0252092");
- num = fcalcAmt(amt);
- model.setValue("/root/main/repdetl/R0252093", num );
- model.setValue("/root/main/repdetl/R0252094", amt-num );
- }else if( i == "13" ){
- amt = model.getValue("/root/main/repdetl/R0252099");
- num = fcalcAmt(amt);
- model.setValue("/root/main/repdetl/R0252100", num );
- model.setValue("/root/main/repdetl/R0252101", amt-num );
- }else if( i == "14" ){
- amt = model.getValue("/root/main/repdetl/R0252106");
- num = fcalcAmt(amt);
- model.setValue("/root/main/repdetl/R0252107", num );
- model.setValue("/root/main/repdetl/R0252108", amt-num );
- }else if( i == "15" ){
- amt = model.getValue("/root/main/repdetl/R0252113");
- num = fcalcAmt(amt);
- model.setValue("/root/main/repdetl/R0252114", num );
- model.setValue("/root/main/repdetl/R0252115", amt-num );
- }
- }
- model.refresh();
- }
-
- function fcalcAmt(amt){
-
- if(amt == null || amt == ""){
- amt = 0;
- }
- var totamt = 0;
- var sTaxRate = 20;
- var iPayTotAmt = parseInt(amt, 10);
- var iPayAmt = 0;
- var iProfTax = 0;
- var fTaxRate = parseFloat(sTaxRate);
- var fNeedPay = 80;
- var iIncmTax = 0;
- var iResdnTax = 0;
-
- iPayAmt = Math.round((iPayTotAmt * fNeedPay) / 100);
- iProfTax = iPayTotAmt - iPayAmt;
-
- iIncmTax = (iPayTotAmt <= 250000) ? 0 : parseInt((iProfTax * fTaxRate /100) / 10, 10) * 10;
- iResdnTax = (iPayTotAmt <= 250000) ? 0 : parseInt((iIncmTax * 0.1) / 10, 10) * 10;
-
- if (iIncmTax < 1000 )
- {
- iIncmTax = 0;
- iResdnTax = 0;
- }
-
- totamt = parseInt(iIncmTax) + parseInt(iResdnTax);
- return totamt;
- }
-
- function fSeAmtSetting( seq, num ){
- if( num.length == 0 ){
- num = 0;
- }
-
- if( seq == "1" ){
- amt = model.getValue("/root/main/repdetl/R0252015");
- if( amt.length == 0 ){ amt = 0; }
- model.setValue("/root/main/repdetl/R0252017", amt-num );
- }else if( seq == "2" ){
- amt = model.getValue("/root/main/repdetl/R0252022");
- if( amt.length == 0 ){ amt = 0; }
- model.setValue("/root/main/repdetl/R0252024", amt-num );
- }else if( seq == "3" ){
- amt = model.getValue("/root/main/repdetl/R0252029");
- if( amt.length == 0 ){ amt = 0; }
- model.setValue("/root/main/repdetl/R0252031", amt-num );
- }else if( seq == "4" ){
- amt = model.getValue("/root/main/repdetl/R0252036");
- if( amt.length == 0 ){ amt = 0; }
- model.setValue("/root/main/repdetl/R0252038", amt-num );
- }else if( seq == "5" ){
- amt = model.getValue("/root/main/repdetl/R0252043");
- if( amt.length == 0 ){ amt = 0; }
- model.setValue("/root/main/repdetl/R0252045", amt-num );
- }else if( seq == "6" ){
- amt = model.getValue("/root/main/repdetl/R0252050");
- if( amt.length == 0 ){ amt = 0; }
- model.setValue("/root/main/repdetl/R0252052", amt-num );
- }else if( seq == "7" ){
- amt = model.getValue("/root/main/repdetl/R0252057");
- if( amt.length == 0 ){ amt = 0; }
- model.setValue("/root/main/repdetl/R0252059", amt-num );
- }else if( seq == "8" ){
- amt = model.getValue("/root/main/repdetl/R0252064");
- if( amt.length == 0 ){ amt = 0; }
- model.setValue("/root/main/repdetl/R0252066", amt-num );
- }else if( seq == "9" ){
- amt = model.getValue("/root/main/repdetl/R0252071");
- if( amt.length == 0 ){ amt = 0; }
- model.setValue("/root/main/repdetl/R0252073", amt-num );
- }else if( seq == "10" ){
- amt = model.getValue("/root/main/repdetl/R0252078");
- if( amt.length == 0 ){ amt = 0; }
- model.setValue("/root/main/repdetl/R0252080", amt-num );
- }else if( seq == "11" ){
- amt = model.getValue("/root/main/repdetl/R0252085");
- if( amt.length == 0 ){ amt = 0; }
- model.setValue("/root/main/repdetl/R0252087", amt-num );
- }else if( seq == "12" ){
- amt = model.getValue("/root/main/repdetl/R0252092");
- if( amt.length == 0 ){ amt = 0; }
- model.setValue("/root/main/repdetl/R0252094", amt-num );
- }else if( seq == "13" ){
- amt = model.getValue("/root/main/repdetl/R0252099");
- if( amt.length == 0 ){ amt = 0; }
- model.setValue("/root/main/repdetl/R0252101", amt-num );
- }else if( seq == "14" ){
- amt = model.getValue("/root/main/repdetl/R0252106");
- if( amt.length == 0 ){ amt = 0; }
- model.setValue("/root/main/repdetl/R0252108", amt-num );
- }else if( seq == "15" ){
- amt = model.getValue("/root/main/repdetl/R0252113");
- if( amt.length == 0 ){ amt = 0; }
- model.setValue("/root/main/repdetl/R0252115", amt-num );
- }
- }
-
- // 세액 따로따로 계산 ( 연말정산때문에 직원의 경우 세액입력X , Edit가능하도록 )
- function fApartAmtSetting( seq , amt ){
- if( amt.length == 0 ){
- model.setValue("/root/main/repdetl/R0252016", "" );
- model.setValue("/root/main/repdetl/R0252017", "" );
- }else if( amt.length == 0 ){
- model.setValue("/root/main/repdetl/R0252023", "" );
- model.setValue("/root/main/repdetl/R0252024", "" );
- }else if( amt.length == 0 ){
- model.setValue("/root/main/repdetl/R0252030", "" );
- model.setValue("/root/main/repdetl/R0252031", "" );
- }else if( amt.length == 0 ){
- model.setValue("/root/main/repdetl/R0252037", "" );
- model.setValue("/root/main/repdetl/R0252038", "" );
- }else if( amt.length == 0 ){
- model.setValue("/root/main/repdetl/R0252044", "" );
- model.setValue("/root/main/repdetl/R0252045", "" );
- }else if( amt.length == 0 ){
- model.setValue("/root/main/repdetl/R0252051", "" );
- model.setValue("/root/main/repdetl/R0252052", "" );
- }else if( amt.length == 0 ){
- model.setValue("/root/main/repdetl/R0252058", "" );
- model.setValue("/root/main/repdetl/R0252059", "" );
- }else if( amt.length == 0 ){
- model.setValue("/root/main/repdetl/R0252065", "" );
- model.setValue("/root/main/repdetl/R0252066", "" );
- }else if( amt.length == 0 ){
- model.setValue("/root/main/repdetl/R0252072", "" );
- model.setValue("/root/main/repdetl/R0252073", "" );
- }else if( amt.length == 0 ){
- model.setValue("/root/main/repdetl/R0252079", "" );
- model.setValue("/root/main/repdetl/R0252080", "" );
- }else if( amt.length == 0 ){
- model.setValue("/root/main/repdetl/R0252086", "" );
- model.setValue("/root/main/repdetl/R0252087", "" );
- }else if( amt.length == 0 ){
- model.setValue("/root/main/repdetl/R0252093", "" );
- model.setValue("/root/main/repdetl/R0252094", "" );
- }else if( amt.length == 0 ){
- model.setValue("/root/main/repdetl/R0252100", "" );
- model.setValue("/root/main/repdetl/R0252101", "" );
- }else if( amt.length == 0 ){
- model.setValue("/root/main/repdetl/R0252107", "" );
- model.setValue("/root/main/repdetl/R0252108", "" );
- }else if( amt.length == 0 ){
- model.setValue("/root/main/repdetl/R0252114", "" );
- model.setValue("/root/main/repdetl/R0252115", "" );
- }
-
- var num = 0;
-
- if( seq == "1" ){
- num = fcalcAmt(amt);
- model.setValue("/root/main/repdetl/R0252016", num );
- model.setValue("/root/main/repdetl/R0252017", amt-num );
- }else if( seq == "2" ){
- num = fcalcAmt(amt);
- model.setValue("/root/main/repdetl/R0252023", num );
- model.setValue("/root/main/repdetl/R0252024", amt-num );
- }else if( seq == "3" ){
- num = fcalcAmt(amt);
- model.setValue("/root/main/repdetl/R0252030", num );
- model.setValue("/root/main/repdetl/R0252031", amt-num );
- }else if( seq == "4" ){
- num = fcalcAmt(amt);
- model.setValue("/root/main/repdetl/R0252037", num );
- model.setValue("/root/main/repdetl/R0252038", amt-num );
- }else if( seq == "5" ){
- num = fcalcAmt(amt);
- model.setValue("/root/main/repdetl/R0252044", num );
- model.setValue("/root/main/repdetl/R0252045", amt-num );
- }else if( seq == "6" ){
- num = fcalcAmt(amt);
- model.setValue("/root/main/repdetl/R0252051", num );
- model.setValue("/root/main/repdetl/R0252052", amt-num );
- }else if( seq == "7" ){
- num = fcalcAmt(amt);
- model.setValue("/root/main/repdetl/R0252058", num );
- model.setValue("/root/main/repdetl/R0252059", amt-num );
- }else if( seq == "8" ){
- num = fcalcAmt(amt);
- model.setValue("/root/main/repdetl/R0252065", num );
- model.setValue("/root/main/repdetl/R0252066", amt-num );
- }else if( seq == "9" ){
- num = fcalcAmt(amt);
- model.setValue("/root/main/repdetl/R0252072", num );
- model.setValue("/root/main/repdetl/R0252073", amt-num );
- }else if( seq == "10" ){
- num = fcalcAmt(amt);
- model.setValue("/root/main/repdetl/R0252079", num );
- model.setValue("/root/main/repdetl/R0252080", amt-num );
- }else if( seq == "11" ){
- num = fcalcAmt(amt);
- model.setValue("/root/main/repdetl/R0252086", num );
- model.setValue("/root/main/repdetl/R0252087", amt-num );
- }else if( seq == "12" ){
- num = fcalcAmt(amt);
- model.setValue("/root/main/repdetl/R0252093", num );
- model.setValue("/root/main/repdetl/R0252094", amt-num );
- }else if( seq == "13" ){
- num = fcalcAmt(amt);
- model.setValue("/root/main/repdetl/R0252100", num );
- model.setValue("/root/main/repdetl/R0252101", amt-num );
- }else if( seq == "14" ){
- num = fcalcAmt(amt);
- model.setValue("/root/main/repdetl/R0252107", num );
- model.setValue("/root/main/repdetl/R0252108", amt-num );
- }else if( seq == "15" ){
- num = fcalcAmt(amt);
- model.setValue("/root/main/repdetl/R0252114", num );
- model.setValue("/root/main/repdetl/R0252115", amt-num );
- }
- model.refresh();
- }
-
-
-
- // 최종저장시 한번더 계산
- function fLastAmtSave(){
- // fAmtSetting();
- fAmtCalc();
- fAmtCalc2();
- fAmtCalc3();
- model.refresh();
- }
- ]]>
- </script>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
- <script type="javascript" src="../../../mis/ctmsweb/js/SMRIF02101.js"/>
- </xhtml:head>
- <xhtml:body scroll="none" pagewidth="664" pageheight="654">
- <script type="javascript" ev:event="onloadcomplete">
- <![CDATA[
- fSetInitData();
- ]]>
- </script>
- <caption id="caption9" style="left:175px; top:0px; width:310px; height:35px; font-family:맑은 고딕; font-size:18pt; font-weight:bold; text-decoration:underline; text-align:center; ">연 구 비 청 구 서 (인건비)</caption>
- <caption id="caption1" style="left:10px; top:215px; width:90px; height:30px; font-family:맑은 고딕; font-size:12pt; font-weight:bold; text-align:center; ">(청구 내역)</caption>
- <group id="group1" style="left:10px; top:88px; width:645px; height:130px; ">
- <caption id="caption4" class="cell_1" style="left:3px; top:5px; width:77px; height:55px; text-align:center; vertical-align:middle; ">과제명</caption>
- <caption id="caption5" class="cell_1" style="left:3px; top:82px; width:77px; height:20px; text-align:center; vertical-align:middle; ">연구기간</caption>
- <input id="input1" ref="/root/main/repdetl/R0252008" style="left:82px; top:82px; width:253px; height:19px; "/>
- <input id="input3" ref="/root/main/repdetl/R0252010" format="#,###" style="left:82px; top:103px; width:127px; height:19px; text-align:right; "/>
- <caption id="caption2" class="cell_1" style="left:3px; top:103px; width:77px; height:20px; text-align:center; vertical-align:middle; ">연구비총액</caption>
- <caption id="caption3" class="cell_1" style="left:210px; top:103px; width:90px; height:20px; text-align:center; vertical-align:middle; ">청구 전 잔액</caption>
- <caption id="caption8" class="cell_1" style="left:81px; top:61px; width:80px; height:20px; text-align:center; vertical-align:middle; ">소 속</caption>
- <caption id="caption19" class="cell_1" style="left:336px; top:61px; width:88px; height:19px; text-align:center; vertical-align:middle; ">성 명</caption>
- <input id="input4" ref="/root/main/repdetl/R0252006" style="left:162px; top:61px; width:173px; height:19px; "/>
- <input id="input5" ref="/root/main/repdetl/R0252007" style="left:425px; top:61px; width:215px; height:19px; "/>
- <input id="input6" ref="/root/main/repdetl/R0252011" format="#,###" style="left:301px; top:103px; width:123px; height:19px; text-align:right; "/>
- <caption id="caption34" class="cell_1" style="left:425px; top:103px; width:85px; height:20px; text-align:center; vertical-align:middle; ">금회 청구액</caption>
- <input id="input95" ref="/root/main/repdetl/R0252012" format="#,###" style="left:510px; top:103px; width:130px; height:19px; text-align:right; "/>
- <textarea id="textarea1" ref="/root/main/repdetl/R0252005" scroll="false" style="left:82px; top:5px; width:558px; height:55px; "/>
- <caption id="caption6" class="cell_1" style="left:336px; top:81px; width:88px; height:20px; text-align:center; vertical-align:middle; ">연구 의뢰기관</caption>
- <input id="input2" ref="/root/main/repdetl/R0252009" style="left:425px; top:82px; width:215px; height:19px; "/>
- <caption id="caption11" class="cell_1" style="left:3px; top:61px; width:77px; height:20px; text-align:center; vertical-align:middle; ">연구책임자</caption>
- </group>
- <group id="group2" style="left:10px; top:244px; width:645px; height:390px; ">
- <caption id="caption12" class="cell_1" style="left:4px; top:3px; width:64px; height:40px; text-align:center; vertical-align:middle; ">항 목</caption>
- <caption id="caption13" class="cell_1" style="left:68px; top:3px; width:118px; height:40px; text-align:center; vertical-align:middle; ">청구내용</caption>
- <caption id="caption14" class="cell_1" style="left:186px; top:3px; width:64px; height:40px; text-align:center; vertical-align:middle; ">금액(원)</caption>
- <caption id="caption15" class="cell_1" style="left:250px; top:3px; width:69px; height:40px; text-align:center; vertical-align:middle; ">세액</caption>
- <caption id="caption16" class="cell_1" style="left:317px; top:3px; width:93px; height:40px; text-align:center; vertical-align:middle; ">실지급액</caption>
- <caption id="caption17" class="cell_1" style="left:407px; top:3px; width:65px; height:40px; text-align:center; vertical-align:middle; ">지급대상</caption>
- <caption id="caption20" class="cell_1" style="left:472px; top:3px; width:170px; height:40px; text-align:center; vertical-align:middle; ">
- <![CDATA[(금융기관명)
- 입 금 계 좌]]>
- </caption>
- <input id="input8" ref="/root/main/repdetl/R0252013" style="left:4px; top:42px; width:64px; height:19px; "/>
- <input id="input9" ref="/root/main/repdetl/R0252014" style="left:67px; top:42px; width:118px; height:19px; "/>
- <input id="input10" ref="/root/main/repdetl/R0252015" format="(-)#,###" style="left:184px; top:42px; width:64px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fApartAmtSetting( "1", model.getValue("/root/main/repdetl/R0252015") );
- fAmtCalc();
- fAmtCalc2();
- fAmtCalc3();
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="input11" ref="/root/main/repdetl/R0252016" format="(-)#,###" style="left:247px; top:42px; width:69px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fSeAmtSetting( "1", model.getValue("/root/main/repdetl/R0252016") );
- fAmtCalc2();
- fAmtCalc3();
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="input12" ref="/root/main/repdetl/R0252017" format="(-)#,###" style="left:315px; top:42px; width:93px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fAmtCalc3();
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="input13" ref="/root/main/repdetl/R0252018" style="left:407px; top:42px; width:65px; height:19px; "/>
- <input id="input14" ref="/root/main/repdetl/R0252019" style="left:471px; top:42px; width:171px; height:19px; "/>
- <input id="input16" ref="/root/main/repdetl/R0252020" style="left:4px; top:60px; width:64px; height:19px; "/>
- <input id="input17" ref="/root/main/repdetl/R0252021" style="left:67px; top:60px; width:118px; height:19px; "/>
- <input id="input18" ref="/root/main/repdetl/R0252022" format="(-)#,###" style="left:184px; top:60px; width:64px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fApartAmtSetting( "2", model.getValue("/root/main/repdetl/R0252022") );
- fAmtCalc();
- fAmtCalc2();
- fAmtCalc3();
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="input19" ref="/root/main/repdetl/R0252023" format="(-)#,###" style="left:247px; top:60px; width:69px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fSeAmtSetting( "2", model.getValue("/root/main/repdetl/R0252023") );
- fAmtCalc2();
- fAmtCalc3();
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="input20" ref="/root/main/repdetl/R0252024" format="(-)#,###" style="left:315px; top:60px; width:93px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fAmtCalc3();
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="input21" ref="/root/main/repdetl/R0252025" style="left:407px; top:60px; width:65px; height:19px; "/>
- <input id="input22" ref="/root/main/repdetl/R0252026" style="left:471px; top:60px; width:171px; height:19px; "/>
- <input id="input23" ref="/root/main/repdetl/R0252031" format="(-)#,###" style="left:315px; top:78px; width:93px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fAmtCalc3();
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="input24" ref="/root/main/repdetl/R0252032" style="left:407px; top:78px; width:65px; height:19px; "/>
- <input id="input25" ref="/root/main/repdetl/R0252033" style="left:471px; top:78px; width:171px; height:19px; "/>
- <input id="input27" ref="/root/main/repdetl/R0252027" style="left:4px; top:78px; width:64px; height:19px; "/>
- <input id="input28" ref="/root/main/repdetl/R0252028" style="left:67px; top:78px; width:118px; height:19px; "/>
- <input id="input29" ref="/root/main/repdetl/R0252029" format="(-)#,###" style="left:184px; top:78px; width:64px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fApartAmtSetting( "3", model.getValue("/root/main/repdetl/R0252029") );
- fAmtCalc();
- fAmtCalc2();
- fAmtCalc3();
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="input30" ref="/root/main/repdetl/R0252030" format="(-)#,###" style="left:247px; top:78px; width:69px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fSeAmtSetting( "3", model.getValue("/root/main/repdetl/R0252030") );
- fAmtCalc2();
- fAmtCalc3();
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="input31" ref="/root/main/repdetl/R0252037" format="(-)#,###" style="left:247px; top:95px; width:69px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fSeAmtSetting( "4", model.getValue("/root/main/repdetl/R0252037") );
- fAmtCalc2();
- fAmtCalc3();
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="input32" ref="/root/main/repdetl/R0252038" format="(-)#,###" style="left:315px; top:95px; width:93px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fAmtCalc3();
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="input33" ref="/root/main/repdetl/R0252039" style="left:407px; top:95px; width:65px; height:19px; "/>
- <input id="input34" ref="/root/main/repdetl/R0252040" style="left:471px; top:95px; width:171px; height:19px; "/>
- <input id="input36" ref="/root/main/repdetl/R0252034" style="left:4px; top:95px; width:64px; height:19px; "/>
- <input id="input37" ref="/root/main/repdetl/R0252035" style="left:67px; top:95px; width:118px; height:19px; "/>
- <input id="input38" ref="/root/main/repdetl/R0252036" format="(-)#,###" style="left:184px; top:95px; width:64px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fApartAmtSetting( "4", model.getValue("/root/main/repdetl/R0252036") );
- fAmtCalc();
- fAmtCalc2();
- fAmtCalc3();
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="input39" ref="/root/main/repdetl/R0252044" format="(-)#,###" style="left:247px; top:113px; width:69px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fSeAmtSetting( "5", model.getValue("/root/main/repdetl/R0252044") );
- fAmtCalc2();
- fAmtCalc3();
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="input40" ref="/root/main/repdetl/R0252045" format="(-)#,###" style="left:315px; top:113px; width:93px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fAmtCalc3();
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="input41" ref="/root/main/repdetl/R0252046" style="left:407px; top:113px; width:65px; height:19px; "/>
- <input id="input42" ref="/root/main/repdetl/R0252047" style="left:471px; top:113px; width:171px; height:19px; "/>
- <input id="input44" ref="/root/main/repdetl/R0252041" style="left:4px; top:113px; width:64px; height:19px; "/>
- <input id="input45" ref="/root/main/repdetl/R0252042" style="left:67px; top:113px; width:118px; height:19px; "/>
- <input id="input46" ref="/root/main/repdetl/R0252043" format="(-)#,###" style="left:184px; top:113px; width:64px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fApartAmtSetting( "5", model.getValue("/root/main/repdetl/R0252043") );
- fAmtCalc();
- fAmtCalc2();
- fAmtCalc3();
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="input48" ref="/root/main/repdetl/R0252048" style="left:4px; top:131px; width:64px; height:19px; "/>
- <input id="input49" ref="/root/main/repdetl/R0252080" format="(-)#,###" style="left:315px; top:202px; width:93px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fAmtCalc3();
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="input50" ref="/root/main/repdetl/R0252049" style="left:67px; top:131px; width:118px; height:19px; "/>
- <input id="input51" ref="/root/main/repdetl/R0252081" style="left:407px; top:202px; width:65px; height:19px; "/>
- <input id="input52" ref="/root/main/repdetl/R0252065" format="(-)#,###" style="left:247px; top:167px; width:69px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fSeAmtSetting( "8", model.getValue("/root/main/repdetl/R0252065") );
- fAmtCalc2();
- fAmtCalc3();
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="input53" ref="/root/main/repdetl/R0252082" style="left:471px; top:202px; width:171px; height:19px; "/>
- <input id="input54" ref="/root/main/repdetl/R0252072" format="(-)#,###" style="left:247px; top:184px; width:69px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fSeAmtSetting( "9", model.getValue("/root/main/repdetl/R0252072") );
- fAmtCalc2();
- fAmtCalc3();
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="input55" ref="/root/main/repdetl/R0252059" format="(-)#,###" style="left:315px; top:149px; width:93px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fAmtCalc3();
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="input57" ref="/root/main/repdetl/R0252073" format="(-)#,###" style="left:315px; top:184px; width:93px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fAmtCalc3();
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="input58" ref="/root/main/repdetl/R0252060" style="left:407px; top:149px; width:65px; height:19px; "/>
- <input id="input59" ref="/root/main/repdetl/R0252050" format="(-)#,###" style="left:184px; top:131px; width:64px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fApartAmtSetting( "6", model.getValue("/root/main/repdetl/R0252050") );
- fAmtCalc();
- fAmtCalc2();
- fAmtCalc3();
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="input60" ref="/root/main/repdetl/R0252076" style="left:4px; top:202px; width:64px; height:19px; "/>
- <input id="input61" ref="/root/main/repdetl/R0252074" style="left:407px; top:184px; width:65px; height:19px; "/>
- <input id="input62" ref="/root/main/repdetl/R0252061" style="left:471px; top:149px; width:171px; height:19px; "/>
- <input id="input63" ref="/root/main/repdetl/R0252051" format="(-)#,###" style="left:247px; top:131px; width:69px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fSeAmtSetting( "6", model.getValue("/root/main/repdetl/R0252051") );
- fAmtCalc2();
- fAmtCalc3();
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="input64" ref="/root/main/repdetl/R0252077" style="left:67px; top:202px; width:118px; height:19px; "/>
- <input id="input65" ref="/root/main/repdetl/R0252075" style="left:471px; top:184px; width:171px; height:19px; "/>
- <input id="input66" ref="/root/main/repdetl/R0252066" format="(-)#,###" style="left:315px; top:167px; width:93px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fAmtCalc3();
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="input67" ref="/root/main/repdetl/R0252052" format="(-)#,###" style="left:315px; top:131px; width:93px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fAmtCalc3();
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="input68" ref="/root/main/repdetl/R0252078" format="(-)#,###" style="left:184px; top:202px; width:64px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fApartAmtSetting( "10", model.getValue("/root/main/repdetl/R0252078") );
- fAmtCalc();
- fAmtCalc2();
- fAmtCalc3();
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="input70" ref="/root/main/repdetl/R0252067" style="left:407px; top:167px; width:65px; height:19px; "/>
- <input id="input71" ref="/root/main/repdetl/R0252053" style="left:407px; top:131px; width:65px; height:19px; "/>
- <input id="input72" ref="/root/main/repdetl/R0252069" style="left:4px; top:184px; width:64px; height:19px; "/>
- <input id="input73" ref="/root/main/repdetl/R0252068" style="left:471px; top:167px; width:171px; height:19px; "/>
- <input id="input74" ref="/root/main/repdetl/R0252054" style="left:471px; top:131px; width:171px; height:19px; "/>
- <input id="input75" ref="/root/main/repdetl/R0252070" style="left:67px; top:184px; width:118px; height:19px; "/>
- <input id="input78" ref="/root/main/repdetl/R0252071" format="(-)#,###" style="left:184px; top:184px; width:64px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fApartAmtSetting( "9", model.getValue("/root/main/repdetl/R0252071") );
- fAmtCalc();
- fAmtCalc2();
- fAmtCalc3();
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="input79" ref="/root/main/repdetl/R0252062" style="left:4px; top:167px; width:64px; height:19px; "/>
- <input id="input80" ref="/root/main/repdetl/R0252055" style="left:4px; top:149px; width:64px; height:19px; "/>
- <input id="input81" ref="/root/main/repdetl/R0252079" format="(-)#,###" style="left:247px; top:202px; width:69px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fSeAmtSetting( "10", model.getValue("/root/main/repdetl/R0252079") );
- fAmtCalc2();
- fAmtCalc3();
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="input82" ref="/root/main/repdetl/R0252063" style="left:67px; top:167px; width:118px; height:19px; "/>
- <input id="input83" ref="/root/main/repdetl/R0252056" style="left:67px; top:149px; width:118px; height:19px; "/>
- <input id="input84" ref="/root/main/repdetl/R0252064" format="(-)#,###" style="left:184px; top:167px; width:64px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fApartAmtSetting( "8", model.getValue("/root/main/repdetl/R0252064") );
- fAmtCalc();
- fAmtCalc2();
- fAmtCalc3();
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="input85" ref="/root/main/repdetl/R0252057" format="(-)#,###" style="left:184px; top:149px; width:64px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fApartAmtSetting( "7", model.getValue("/root/main/repdetl/R0252057") );
- fAmtCalc();
- fAmtCalc2();
- fAmtCalc3();
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="input86" ref="/root/main/repdetl/R0252058" format="(-)#,###" style="left:247px; top:149px; width:69px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fSeAmtSetting( "7", model.getValue("/root/main/repdetl/R0252058") );
- fAmtCalc2();
- fAmtCalc3();
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="input87" ref="/root/main/repdetl/R0252083" style="left:4px; top:220px; width:64px; height:19px; "/>
- <input id="input88" ref="/root/main/repdetl/R0252088" style="left:407px; top:220px; width:65px; height:19px; "/>
- <input id="input89" ref="/root/main/repdetl/R0252084" style="left:67px; top:220px; width:118px; height:19px; "/>
- <input id="input90" ref="/root/main/repdetl/R0252089" style="left:471px; top:220px; width:171px; height:19px; "/>
- <input id="input92" ref="/root/main/repdetl/R0252085" format="(-)#,###" style="left:184px; top:220px; width:64px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fApartAmtSetting( "11", model.getValue("/root/main/repdetl/R0252085") );
- fAmtCalc();
- fAmtCalc2();
- fAmtCalc3();
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="input93" ref="/root/main/repdetl/R0252087" format="(-)#,###" style="left:315px; top:220px; width:93px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fAmtCalc3();
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="input94" ref="/root/main/repdetl/R0252086" format="(-)#,###" style="left:247px; top:220px; width:69px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fSeAmtSetting( "11", model.getValue("/root/main/repdetl/R0252086") );
- fAmtCalc2();
- fAmtCalc3();
- model.refresh();
- ]]>
- </script>
- </input>
- <caption id="caption31" style="left:7px; top:330px; width:213px; height:28px; ">※ 참고로 세액은 금액의 4.4%입니다.</caption>
- <input id="input15" ref="/root/main/repdetl/R0252105" style="left:67px; top:274px; width:118px; height:19px; "/>
- <input id="input26" ref="/root/main/repdetl/R0252095" style="left:407px; top:238px; width:65px; height:19px; "/>
- <input id="input35" style="left:4px; top:309px; width:64px; height:19px; "/>
- <input id="input47" ref="/root/main/repdetl/R0252098" style="left:67px; top:256px; width:118px; height:19px; "/>
- <input id="input56" ref="/root/main/repdetl/R0252111" style="left:4px; top:291px; width:64px; height:19px; "/>
- <input id="input69" ref="/root/main/repdetl/R0252116" style="left:407px; top:291px; width:65px; height:19px; "/>
- <input id="input76" ref="/root/main/repdetl/R0252091" style="left:67px; top:238px; width:118px; height:19px; "/>
- <input id="input77" ref="/root/main/repdetl/R0252106" format="(-)#,###" style="left:184px; top:274px; width:64px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fApartAmtSetting( "14", model.getValue("/root/main/repdetl/R0252106") );
- fAmtCalc();
- fAmtCalc2();
- fAmtCalc3();
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="input91" ref="/root/main/repdetl/R0252110" style="left:471px; top:274px; width:171px; height:19px; "/>
- <input id="input96" ref="/root/main/repdetl/R0252103" style="left:471px; top:256px; width:171px; height:19px; "/>
- <input id="input97" ref="/root/main/repdetl/R0252122" style="left:407px; top:309px; width:65px; height:19px; "/>
- <input id="input98" ref="/root/main/repdetl/R0252099" format="(-)#,###" style="left:184px; top:256px; width:64px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fApartAmtSetting( "13", model.getValue("/root/main/repdetl/R0252099") );
- fAmtCalc();
- fAmtCalc2();
- fAmtCalc3();
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="input99" ref="/root/main/repdetl/R0252096" style="left:471px; top:238px; width:171px; height:19px; "/>
- <input id="input100" ref="/root/main/repdetl/R0252093" format="(-)#,###" style="left:247px; top:238px; width:69px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fSeAmtSetting( "12", model.getValue("/root/main/repdetl/R0252093") );
- fAmtCalc2();
- fAmtCalc3();
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="input101" ref="/root/main/repdetl/R0252107" format="(-)#,###" style="left:247px; top:274px; width:69px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fSeAmtSetting( "14", model.getValue("/root/main/repdetl/R0252107") );
- fAmtCalc2();
- fAmtCalc3();
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="input102" ref="/root/main/repdetl/R0252100" format="(-)#,###" style="left:247px; top:256px; width:69px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fSeAmtSetting( "13", model.getValue("/root/main/repdetl/R0252100") );
- fAmtCalc2();
- fAmtCalc3();
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="input103" ref="/root/main/repdetl/R0252112" style="left:67px; top:291px; width:118px; height:19px; "/>
- <input id="input104" ref="/root/main/repdetl/R0252118" style="left:67px; top:309px; width:118px; height:19px; "/>
- <input id="input105" ref="/root/main/repdetl/R0252123" style="left:471px; top:309px; width:171px; height:19px; "/>
- <input id="input107" ref="/root/main/repdetl/R0252117" style="left:471px; top:291px; width:171px; height:19px; "/>
- <input id="input108" ref="/root/main/repdetl/R0252114" format="(-)#,###" style="left:247px; top:291px; width:69px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fSeAmtSetting( "15", model.getValue("/root/main/repdetl/R0252114") );
- fAmtCalc2();
- fAmtCalc3();
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="input110" ref="/root/main/repdetl/R0252108" format="(-)#,###" style="left:315px; top:274px; width:93px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fAmtCalc3();
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="input111" ref="/root/main/repdetl/R0252101" format="(-)#,###" style="left:315px; top:256px; width:93px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fAmtCalc3();
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="input113" ref="/root/main/repdetl/R0252113" format="(-)#,###" style="left:184px; top:291px; width:64px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fApartAmtSetting( "15", model.getValue("/root/main/repdetl/R0252113") );
- fAmtCalc();
- fAmtCalc2();
- fAmtCalc3();
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="input114" ref="/root/main/repdetl/R0252094" format="(-)#,###" style="left:315px; top:238px; width:93px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fAmtCalc3();
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="input115" ref="/root/main/repdetl/R0252104" style="left:4px; top:274px; width:64px; height:19px; "/>
- <input id="input116" ref="/root/main/repdetl/R0252119" disabled="true" format="(-)#,###" style="left:184px; top:309px; width:64px; height:19px; text-align:right; "/>
- <input id="input117" ref="/root/main/repdetl/R0252115" format="(-)#,###" style="left:315px; top:291px; width:93px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fAmtCalc3();
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="input118" ref="/root/main/repdetl/R0252102" style="left:407px; top:256px; width:65px; height:19px; "/>
- <input id="input119" ref="/root/main/repdetl/R0252092" format="(-)#,###" style="left:184px; top:238px; width:64px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fApartAmtSetting( "12", model.getValue("/root/main/repdetl/R0252092") );
- fAmtCalc();
- fAmtCalc2();
- fAmtCalc3();
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="input120" ref="/root/main/repdetl/R0252090" style="left:4px; top:238px; width:64px; height:19px; "/>
- <input id="input121" ref="/root/main/repdetl/R0252121" disabled="true" format="(-)#,###" style="left:315px; top:309px; width:93px; height:19px; text-align:right; "/>
- <input id="input123" ref="/root/main/repdetl/R0252097" style="left:4px; top:256px; width:64px; height:19px; "/>
- <input id="input125" ref="/root/main/repdetl/R0252120" disabled="true" format="(-)#,###" style="left:247px; top:309px; width:69px; height:19px; text-align:right; "/>
- <input id="input126" ref="/root/main/repdetl/R0252109" style="left:407px; top:274px; width:65px; height:19px; "/>
- <caption id="caption10" style="left:25px; top:310px; width:20px; height:20px; ">계</caption>
- <input id="input7" ref="/root/main/repdetl/R0252124" inputtype="date" style="left:255px; top:355px; width:100px; height:19px; "/>
- </group>
- <group id="group3" style="left:10px; top:35px; width:645px; height:50px; ">
- <caption id="caption32" style="left:245px; top:5px; width:100px; height:20px; ">아래 해당과제에</caption>
- <shape id="rectangle1" appearance="rectangle" style="left:345px; top:6px; width:15px; height:15px; "/>
- <caption id="caption33" style="left:347px; top:5px; width:15px; height:20px; ">V</caption>
- <select id="checkbox1" ref="/root/main/repdetl/R0252001" overflow="visible" appearance="full" style="left:55px; top:25px; width:70px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>원내과제</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select id="checkbox2" ref="/root/main/repdetl/R0252002" overflow="visible" appearance="full" style="left:188px; top:25px; width:120px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>국책(지자체) 과제</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select id="checkbox3" ref="/root/main/repdetl/R0252003" overflow="visible" appearance="full" style="left:371px; top:25px; width:100px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>외부위탁과제</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select id="checkbox4" ref="/root/main/repdetl/R0252004" overflow="visible" appearance="full" style="left:529px; top:25px; width:70px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>기타과제</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- </group>
- </xhtml:body>
- </xhtml:html>
|