123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
- <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" 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">
- <xhtml:head>
- <xhtml:title>일계표</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <daysumrept/>
- <detail>
- <wlnlist/>
- <delivelist/>
- <mngtlist/>
- </detail>
- <testgrupdetl>
- <chk/>
- <tclsnm/>
- <tclscd/>
- </testgrupdetl>
- </main>
- <send>
- <srchdd/>
- <tempym/>
- <srchbdioflag/>
- <srchym/>
- <globalinstance>
- <instance1/>
- </globalinstance>
- <wlnlist/>
- <delivelist/>
- <mngtlist/>
- <divgrupcd/>
- <codeflag/>
- <tclscd/>
- <srchcnfmid/>
- <srchcnfmnm/>
- </send>
- <tmp>
- <tmpym/>
- <divgrupcd>00</divgrupcd>
- <tclscd/>
- <divgrupnmlist>
- <divgrupcd/>
- <tclscd/>
- <tclsnm/>
- <spccd/>
- <instcd/>
- </divgrupnmlist>
- <getGbn>1</getGbn>
- </tmp>
- <hidden>
- <ref>
- <tclscdlist>
- <tclsnmlist/>
- <tclscdlist/>
- <tclscdlist2/>
- <testgrup/>
- <tclsnmlist2/>
- </tclscdlist>
- </ref>
- <Rex/>
- <cnfm>
- <nm/>
- <dt/>
- </cnfm>
- </hidden>
- <cnfm>
- <cnfminfo>
- <cnfmid/>
- <cnfmnm/>
- </cnfminfo>
- </cnfm>
- </root>
- </instance>
- <submission id="TRLNP00302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/daysumrept"/>
- <submission id="TRAEQ01002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/detail"/>
- <submission id="TXAEQ01001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/result"/>
- <submission id="TRLLF90401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/testgrupdetl"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- aezfSetSuppDeptcd();
- var toDay = getCurrentDate();
- //alert(toDay);
- var toDays = toDay.substr(0,6)
- model.setValue("/root/send/srchbdioflag","O");
- model.setValue("/root/send/srchym", toDays);
- input3.attribute("format") = "yyyy-mm";
-
- model.setValue("/root/send/codeflag","0116|0000|0103|0125|");
- submit("TRLZZ00101");
-
- model.setValue("/root/hidden/cnfm/nm", model.getValue("/root/init/LB0125/nm"));
- model.setValue("/root/hidden/cnfm/dt", model.getValue("/root/init/LB0125/cd"));
-
- model.refresh();
- ]]>
- </script>
- <submission id="TRLNP00301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/detail"/>
- <submission id="TRLNP00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/tmp/divgrupnmlist"/>
- <submission id="TRLZZ00103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/LB0210"/>
- <submission id="TRLZZ00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/LB0116"/>
- <submission id="TRAEQ00403" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/cnfm/cnfminfo"/>
- <submission id="TXLNP00302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send"/>
- </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/stringHelper.js"/>
- <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
- <script type="javascript" src="../../../lis/commonweb/js/LLZ001.js"/>
- <script type="javascript">
- <![CDATA[
-
- function fSelectTestGrup(){
-
- model.removeNodeset("/root/main/detail/wlnlist");
- model.removeNodeset("/root/main/detail/delivelist");
- model.removeNodeset("/root/main/detail/mngtlist");
- model.makeValue("/root/send/testgrupnm", combo1.label);
- submit("TRLLF90401" ,false);
- fSetPopUpTclscdList();
- }
-
- function fSetPopUpTclscdList(){
- var count = getNodesetCount("/root/main/testgrupdetl")
- if(count > 0){
-
- var sendtclsnm = model.getValue("/root/main/testgrupdetl[1]/tclsnm");
- var sendtclsnm2 = model.getValue("/root/main/testgrupdetl[1]/tclsnm");
- var sendtclscd = model.getValue("/root/main/testgrupdetl[1]/tclscd");
- var sendtclscd2 = model.getValue("/root/main/testgrupdetl[1]/tclscd");
-
-
- // 검사그룹 상세 목록 없을때
- if(sendtclsnm == ""){
- model.setValue("/root/hidden/tclscdlist/tclscdlist", "");
- model.setValue("/root/hidden/tclscdlist/tclsnmlist", "");
-
- }else{ // 검사그룹 상세 목록 있을때
- for(i=2; i<= count; i++){
- sendtclsnm = sendtclsnm + ", " + model.getValue("/root/main/testgrupdetl["+i+"]/tclsnm");
- sendtclsnm2 = sendtclsnm2 + "▦ " + model.getValue("/root/main/testgrupdetl["+i+"]/tclsnm");
- //sendtclscd = sendtclscd + "▦" + model.getValue("/root/main/testgrupdetl["+i+"]/tclscd");
- sendtclscd = sendtclscd + "','" + model.getValue("/root/main/testgrupdetl["+i+"]/tclscd");
- sendtclscd2 = sendtclscd2 + "▦" + model.getValue("/root/main/testgrupdetl["+i+"]/tclscd");
- }
- model.setValue("/root/hidden/ref/tclscdlist/tclsnmlist", sendtclsnm);
- model.setValue("/root/hidden/ref/tclscdlist/tclscdlist", "'" + sendtclscd + "'");
- model.setValue("/root/hidden/ref/tclscdlist/tclscdlist2", sendtclscd2);
- model.setValue("/root/hidden/ref/tclscdlist/tclsnmlist2", sendtclsnm2);
- }
- model.refresh();
- }
- model.setValue("/root/send/tclscd", model.getValue("/root/hidden/ref/tclscdlist/tclscdlist"));
-
- }
-
- function fSetInit(flag) {
-
- if(flag != 2) {
- model.setValue("/root/hidden/ref/tclscdlist/tclsnmlist", "");
- model.setValue("/root/hidden/ref/tclscdlist/testgrup", "");
- }
- model.refresh();
- }
-
- function fPrintRex(){
-
- model.removeNodeset("/root/hidden/Rex");
- var row = 1;
- for(i = 1 ; i < datagrid1.rows ; i++){
- if(i%4 == 1){
- model.makeValue("/root/hidden/Rex["+row+"]/itemnm", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/itemnm"));
- model.makeValue("/root/hidden/Rex["+row+"]/specnm", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/specnm"));
- model.makeValue("/root/hidden/Rex["+row+"]/ioflag", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/ioflag"));
- model.makeValue("/root/hidden/Rex["+row+"]/d00", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d00"));
- model.makeValue("/root/hidden/Rex["+row+"]/d01", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d01"));
- model.makeValue("/root/hidden/Rex["+row+"]/d02", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d02"));
- model.makeValue("/root/hidden/Rex["+row+"]/d03", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d03"));
- model.makeValue("/root/hidden/Rex["+row+"]/d04", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d04"));
- model.makeValue("/root/hidden/Rex["+row+"]/d05", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d05"));
- model.makeValue("/root/hidden/Rex["+row+"]/d06", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d06"));
- model.makeValue("/root/hidden/Rex["+row+"]/d07", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d07"));
- model.makeValue("/root/hidden/Rex["+row+"]/d08", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d08"));
- model.makeValue("/root/hidden/Rex["+row+"]/d09", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d09"));
- model.makeValue("/root/hidden/Rex["+row+"]/d10", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d10"));
- model.makeValue("/root/hidden/Rex["+row+"]/d11", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d11"));
- model.makeValue("/root/hidden/Rex["+row+"]/d12", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d12"));
- model.makeValue("/root/hidden/Rex["+row+"]/d13", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d13"));
- model.makeValue("/root/hidden/Rex["+row+"]/d14", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d14"));
- model.makeValue("/root/hidden/Rex["+row+"]/d15", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d15"));
- model.makeValue("/root/hidden/Rex["+row+"]/d16", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d16"));
- model.makeValue("/root/hidden/Rex["+row+"]/d17", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d17"));
- model.makeValue("/root/hidden/Rex["+row+"]/d18", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d18"));
- model.makeValue("/root/hidden/Rex["+row+"]/d19", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d19"));
- model.makeValue("/root/hidden/Rex["+row+"]/d20", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d20"));
- model.makeValue("/root/hidden/Rex["+row+"]/d21", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d21"));
- model.makeValue("/root/hidden/Rex["+row+"]/d22", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d22"));
- model.makeValue("/root/hidden/Rex["+row+"]/d23", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d23"));
- model.makeValue("/root/hidden/Rex["+row+"]/d24", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d24"));
- model.makeValue("/root/hidden/Rex["+row+"]/d25", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d25"));
- model.makeValue("/root/hidden/Rex["+row+"]/d26", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d26"));
- model.makeValue("/root/hidden/Rex["+row+"]/d27", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d27"));
- model.makeValue("/root/hidden/Rex["+row+"]/d28", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d28"));
- model.makeValue("/root/hidden/Rex["+row+"]/d29", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d29"));
- model.makeValue("/root/hidden/Rex["+row+"]/d30", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d30"));
- model.makeValue("/root/hidden/Rex["+row+"]/d31", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d31"));
- model.makeValue("/root/hidden/Rex["+row+"]/dsum", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/dsum"));
- model.makeValue("/root/hidden/Rex["+row+"]/dadd", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/dadd"));
- }else if(i%4 == 2){
- model.makeValue("/root/hidden/Rex["+row+"]/eioflag", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/ioflag"));
- model.makeValue("/root/hidden/Rex["+row+"]/e00", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d00"));
- model.makeValue("/root/hidden/Rex["+row+"]/e01", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d01"));
- model.makeValue("/root/hidden/Rex["+row+"]/e02", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d02"));
- model.makeValue("/root/hidden/Rex["+row+"]/e03", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d03"));
- model.makeValue("/root/hidden/Rex["+row+"]/e04", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d04"));
- model.makeValue("/root/hidden/Rex["+row+"]/e05", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d05"));
- model.makeValue("/root/hidden/Rex["+row+"]/e06", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d06"));
- model.makeValue("/root/hidden/Rex["+row+"]/e07", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d07"));
- model.makeValue("/root/hidden/Rex["+row+"]/e08", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d08"));
- model.makeValue("/root/hidden/Rex["+row+"]/e09", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d09"));
- model.makeValue("/root/hidden/Rex["+row+"]/e10", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d10"));
- model.makeValue("/root/hidden/Rex["+row+"]/e11", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d11"));
- model.makeValue("/root/hidden/Rex["+row+"]/e12", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d12"));
- model.makeValue("/root/hidden/Rex["+row+"]/e13", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d13"));
- model.makeValue("/root/hidden/Rex["+row+"]/e14", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d14"));
- model.makeValue("/root/hidden/Rex["+row+"]/e15", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d15"));
- model.makeValue("/root/hidden/Rex["+row+"]/e16", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d16"));
- model.makeValue("/root/hidden/Rex["+row+"]/e17", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d17"));
- model.makeValue("/root/hidden/Rex["+row+"]/e18", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d18"));
- model.makeValue("/root/hidden/Rex["+row+"]/e19", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d19"));
- model.makeValue("/root/hidden/Rex["+row+"]/e20", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d20"));
- model.makeValue("/root/hidden/Rex["+row+"]/e21", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d21"));
- model.makeValue("/root/hidden/Rex["+row+"]/e22", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d22"));
- model.makeValue("/root/hidden/Rex["+row+"]/e23", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d23"));
- model.makeValue("/root/hidden/Rex["+row+"]/e24", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d24"));
- model.makeValue("/root/hidden/Rex["+row+"]/e25", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d25"));
- model.makeValue("/root/hidden/Rex["+row+"]/e26", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d26"));
- model.makeValue("/root/hidden/Rex["+row+"]/e27", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d27"));
- model.makeValue("/root/hidden/Rex["+row+"]/e28", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d28"));
- model.makeValue("/root/hidden/Rex["+row+"]/e29", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d29"));
- model.makeValue("/root/hidden/Rex["+row+"]/e30", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d30"));
- model.makeValue("/root/hidden/Rex["+row+"]/e31", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d31"));
- model.makeValue("/root/hidden/Rex["+row+"]/esum", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/dsum"));
- model.makeValue("/root/hidden/Rex["+row+"]/eadd", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/dadd"));
- }else if(i%4 == 3){
- model.makeValue("/root/hidden/Rex["+row+"]/mioflag", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/ioflag"));
- model.makeValue("/root/hidden/Rex["+row+"]/m00", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d00"));
- model.makeValue("/root/hidden/Rex["+row+"]/m01", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d01"));
- model.makeValue("/root/hidden/Rex["+row+"]/m02", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d02"));
- model.makeValue("/root/hidden/Rex["+row+"]/m03", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d03"));
- model.makeValue("/root/hidden/Rex["+row+"]/m04", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d04"));
- model.makeValue("/root/hidden/Rex["+row+"]/m05", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d05"));
- model.makeValue("/root/hidden/Rex["+row+"]/m06", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d06"));
- model.makeValue("/root/hidden/Rex["+row+"]/m07", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d07"));
- model.makeValue("/root/hidden/Rex["+row+"]/m08", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d08"));
- model.makeValue("/root/hidden/Rex["+row+"]/m09", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d09"));
- model.makeValue("/root/hidden/Rex["+row+"]/m10", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d10"));
- model.makeValue("/root/hidden/Rex["+row+"]/m11", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d11"));
- model.makeValue("/root/hidden/Rex["+row+"]/m12", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d12"));
- model.makeValue("/root/hidden/Rex["+row+"]/m13", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d13"));
- model.makeValue("/root/hidden/Rex["+row+"]/m14", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d14"));
- model.makeValue("/root/hidden/Rex["+row+"]/m15", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d15"));
- model.makeValue("/root/hidden/Rex["+row+"]/m16", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d16"));
- model.makeValue("/root/hidden/Rex["+row+"]/m17", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d17"));
- model.makeValue("/root/hidden/Rex["+row+"]/m18", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d18"));
- model.makeValue("/root/hidden/Rex["+row+"]/m19", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d19"));
- model.makeValue("/root/hidden/Rex["+row+"]/m20", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d20"));
- model.makeValue("/root/hidden/Rex["+row+"]/m21", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d21"));
- model.makeValue("/root/hidden/Rex["+row+"]/m22", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d22"));
- model.makeValue("/root/hidden/Rex["+row+"]/m23", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d23"));
- model.makeValue("/root/hidden/Rex["+row+"]/m24", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d24"));
- model.makeValue("/root/hidden/Rex["+row+"]/m25", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d25"));
- model.makeValue("/root/hidden/Rex["+row+"]/m26", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d26"));
- model.makeValue("/root/hidden/Rex["+row+"]/m27", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d27"));
- model.makeValue("/root/hidden/Rex["+row+"]/m28", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d28"));
- model.makeValue("/root/hidden/Rex["+row+"]/m29", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d29"));
- model.makeValue("/root/hidden/Rex["+row+"]/m30", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d30"));
- model.makeValue("/root/hidden/Rex["+row+"]/m31", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d31"));
- model.makeValue("/root/hidden/Rex["+row+"]/msum", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/dsum"));
- model.makeValue("/root/hidden/Rex["+row+"]/madd", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/dadd"));
- }else{
- model.makeValue("/root/hidden/Rex["+row+"]/sioflag", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/ioflag"));
- model.makeValue("/root/hidden/Rex["+row+"]/s00", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d00"));
- model.makeValue("/root/hidden/Rex["+row+"]/s01", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d01"));
- model.makeValue("/root/hidden/Rex["+row+"]/s02", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d02"));
- model.makeValue("/root/hidden/Rex["+row+"]/s03", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d03"));
- model.makeValue("/root/hidden/Rex["+row+"]/s04", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d04"));
- model.makeValue("/root/hidden/Rex["+row+"]/s05", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d05"));
- model.makeValue("/root/hidden/Rex["+row+"]/s06", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d06"));
- model.makeValue("/root/hidden/Rex["+row+"]/s07", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d07"));
- model.makeValue("/root/hidden/Rex["+row+"]/s08", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d08"));
- model.makeValue("/root/hidden/Rex["+row+"]/s09", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d09"));
- model.makeValue("/root/hidden/Rex["+row+"]/s10", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d10"));
- model.makeValue("/root/hidden/Rex["+row+"]/s11", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d11"));
- model.makeValue("/root/hidden/Rex["+row+"]/s12", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d12"));
- model.makeValue("/root/hidden/Rex["+row+"]/s13", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d13"));
- model.makeValue("/root/hidden/Rex["+row+"]/s14", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d14"));
- model.makeValue("/root/hidden/Rex["+row+"]/s15", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d15"));
- model.makeValue("/root/hidden/Rex["+row+"]/s16", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d16"));
- model.makeValue("/root/hidden/Rex["+row+"]/s17", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d17"));
- model.makeValue("/root/hidden/Rex["+row+"]/s18", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d18"));
- model.makeValue("/root/hidden/Rex["+row+"]/s19", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d19"));
- model.makeValue("/root/hidden/Rex["+row+"]/s20", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d20"));
- model.makeValue("/root/hidden/Rex["+row+"]/s21", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d21"));
- model.makeValue("/root/hidden/Rex["+row+"]/s22", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d22"));
- model.makeValue("/root/hidden/Rex["+row+"]/s23", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d23"));
- model.makeValue("/root/hidden/Rex["+row+"]/s24", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d24"));
- model.makeValue("/root/hidden/Rex["+row+"]/s25", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d25"));
- model.makeValue("/root/hidden/Rex["+row+"]/s26", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d26"));
- model.makeValue("/root/hidden/Rex["+row+"]/s27", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d27"));
- model.makeValue("/root/hidden/Rex["+row+"]/s28", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d28"));
- model.makeValue("/root/hidden/Rex["+row+"]/s29", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d29"));
- model.makeValue("/root/hidden/Rex["+row+"]/s30", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d30"));
- model.makeValue("/root/hidden/Rex["+row+"]/s31", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/d31"));
- model.makeValue("/root/hidden/Rex["+row+"]/ssum", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/dsum"));
- model.makeValue("/root/hidden/Rex["+row+"]/sadd", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/dadd"));
- row++;
- }
- }
- exeReportPreview("RPLNP00300", "XMLSTR", "", "", "true", "", "", "", "","true");
- }
-
-
-
-
- function fPrintRexAct(){
-
- model.removeNodeset("/root/hidden/Rex");
- var row = 1;
- var row2 = 1;
- var row3 = 1;
-
- //var n = parseInt(datagrid1.rows/4/3) + 1;
- //var n2 = n * 2
-
-
- for(i = 1 ; i < datagrid1.rows ; i++){
-
- if(i <= 36 || (i >108 && i<=148) || (i >228 && i<=268)){ // 첫번째 열
- if(i%4 == 1){
- model.makeValue("/root/hidden/Rex["+row+"]/itemnm", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/itemnm"));
- model.makeValue("/root/hidden/Rex["+row+"]/specnm", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/specnm"));
- model.makeValue("/root/hidden/Rex["+row+"]/ioflag", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/ioflag"));
- model.makeValue("/root/hidden/Rex["+row+"]/dsum", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/dsum"));
- model.makeValue("/root/hidden/Rex["+row+"]/dadd", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/dadd"));
- model.makeValue("/root/hidden/Rex["+row+"]/dkact", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/kact"));
- model.makeValue("/root/hidden/Rex["+row+"]/dmact", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/mact"));
-
- }else if(i%4 == 2){
- model.makeValue("/root/hidden/Rex["+row+"]/eioflag", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/ioflag"));
- model.makeValue("/root/hidden/Rex["+row+"]/esum", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/dsum"));
- model.makeValue("/root/hidden/Rex["+row+"]/eadd", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/dadd"));
- model.makeValue("/root/hidden/Rex["+row+"]/ekact", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/kact"));
- model.makeValue("/root/hidden/Rex["+row+"]/emact", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/mact"));
- }else if(i%4 == 3){
- }else{
- model.makeValue("/root/hidden/Rex["+row+"]/sioflag", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/ioflag"));
- model.makeValue("/root/hidden/Rex["+row+"]/ssum", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/dsum"));
- model.makeValue("/root/hidden/Rex["+row+"]/sadd", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/dadd"));
- model.makeValue("/root/hidden/Rex["+row+"]/skact", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/kact"));
- model.makeValue("/root/hidden/Rex["+row+"]/smact", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/mact"));
- row++;
- }
- }else if((i >36 && i<=72) || (i >148 && i<=188)){ // 두번째 열
- if(i%4 == 1){
- model.makeValue("/root/hidden/Rex["+(row2)+"]/itemnm1", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/itemnm"));
- model.makeValue("/root/hidden/Rex["+(row2)+"]/specnm1", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/specnm"));
- model.makeValue("/root/hidden/Rex["+(row2)+"]/ioflag1", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/ioflag"));
- model.makeValue("/root/hidden/Rex["+(row2)+"]/dsum1", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/dsum"));
- model.makeValue("/root/hidden/Rex["+(row2)+"]/dadd1", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/dadd"));
- model.makeValue("/root/hidden/Rex["+(row2)+"]/dkact1", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/kact"));
- model.makeValue("/root/hidden/Rex["+(row2)+"]/dmact1", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/mact"));
-
- }else if(i%4 == 2){
- model.makeValue("/root/hidden/Rex["+(row2)+"]/eioflag1", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/ioflag"));
- model.makeValue("/root/hidden/Rex["+(row2)+"]/esum1", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/dsum"));
- model.makeValue("/root/hidden/Rex["+(row2)+"]/eadd1", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/dadd"));
- model.makeValue("/root/hidden/Rex["+(row2)+"]/ekact1", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/kact"));
- model.makeValue("/root/hidden/Rex["+(row2)+"]/emact1", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/mact"));
- }else if(i%4 == 3){
- }else{
- model.makeValue("/root/hidden/Rex["+(row2)+"]/sioflag1", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/ioflag"));
- model.makeValue("/root/hidden/Rex["+(row2)+"]/ssum1", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/dsum"));
- model.makeValue("/root/hidden/Rex["+(row2)+"]/sadd1", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/dadd"));
- model.makeValue("/root/hidden/Rex["+(row2)+"]/skact1", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/kact"));
- model.makeValue("/root/hidden/Rex["+(row2)+"]/smact1", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/mact"));
- row2++;
- }
- }else if((i >72 && i<=108) || (i >188 && i<=228)){ // 세번째 열
- if(i%4 == 1){
- model.makeValue("/root/hidden/Rex["+(row3)+"]/itemnm2", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/itemnm"));
- model.makeValue("/root/hidden/Rex["+(row3)+"]/specnm2", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/specnm"));
- model.makeValue("/root/hidden/Rex["+(row3)+"]/ioflag2", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/ioflag"));
- model.makeValue("/root/hidden/Rex["+(row3)+"]/dsum2", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/dsum"));
- model.makeValue("/root/hidden/Rex["+(row3)+"]/dadd2", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/dadd"));
- model.makeValue("/root/hidden/Rex["+(row3)+"]/dkact2", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/kact"));
- model.makeValue("/root/hidden/Rex["+(row3)+"]/dmact2", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/mact"));
-
- }else if(i%4 == 2){
- model.makeValue("/root/hidden/Rex["+(row3)+"]/eioflag2", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/ioflag"));
- model.makeValue("/root/hidden/Rex["+(row3)+"]/esum2", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/dsum"));
- model.makeValue("/root/hidden/Rex["+(row3)+"]/eadd2", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/dadd"));
- model.makeValue("/root/hidden/Rex["+(row3)+"]/ekact2", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/kact"));
- model.makeValue("/root/hidden/Rex["+(row3)+"]/emact2", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/mact"));
- }else if(i%4 == 3){
- }else{
- model.makeValue("/root/hidden/Rex["+(row3)+"]/sioflag2", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/ioflag"));
- model.makeValue("/root/hidden/Rex["+(row3)+"]/ssum2", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/dsum"));
- model.makeValue("/root/hidden/Rex["+(row3)+"]/sadd2", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/dadd"));
- model.makeValue("/root/hidden/Rex["+(row3)+"]/skact2", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/kact"));
- model.makeValue("/root/hidden/Rex["+(row3)+"]/smact2", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/mact"));
- row3++;
- }
- }
-
- }
-
-
- /*
- for(i = 1 ; i < datagrid1.rows ; i++){
-
- if(i > n*4 && i <= n2*4){ // 두번째 열
- if(i%4 == 1){
- model.makeValue("/root/hidden/Rex["+(row-n)+"]/itemnm1", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/itemnm"));
- model.makeValue("/root/hidden/Rex["+(row-n)+"]/specnm1", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/specnm"));
- model.makeValue("/root/hidden/Rex["+(row-n)+"]/ioflag1", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/ioflag"));
- model.makeValue("/root/hidden/Rex["+(row-n)+"]/dsum1", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/dsum"));
- model.makeValue("/root/hidden/Rex["+(row-n)+"]/dadd1", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/dadd"));
- model.makeValue("/root/hidden/Rex["+(row-n)+"]/dkact1", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/kact"));
- model.makeValue("/root/hidden/Rex["+(row-n)+"]/dmact1", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/mact"));
-
- }else if(i%4 == 2){
- model.makeValue("/root/hidden/Rex["+(row-n)+"]/eioflag1", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/ioflag"));
- model.makeValue("/root/hidden/Rex["+(row-n)+"]/esum1", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/dsum"));
- model.makeValue("/root/hidden/Rex["+(row-n)+"]/eadd1", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/dadd"));
- model.makeValue("/root/hidden/Rex["+(row-n)+"]/ekact1", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/kact"));
- model.makeValue("/root/hidden/Rex["+(row-n)+"]/emact1", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/mact"));
- }else if(i%4 == 3){
- }else{
- model.makeValue("/root/hidden/Rex["+(row-n)+"]/sioflag1", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/ioflag"));
- model.makeValue("/root/hidden/Rex["+(row-n)+"]/ssum1", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/dsum"));
- model.makeValue("/root/hidden/Rex["+(row-n)+"]/sadd1", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/dadd"));
- model.makeValue("/root/hidden/Rex["+(row-n)+"]/skact1", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/kact"));
- model.makeValue("/root/hidden/Rex["+(row-n)+"]/smact1", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/mact"));
- row++;
- }
- }else if(i >n2*4){ // 세번째 열
- if(i%4 == 1){
- model.makeValue("/root/hidden/Rex["+(row-n2)+"]/itemnm2", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/itemnm"));
- model.makeValue("/root/hidden/Rex["+(row-n2)+"]/specnm2", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/specnm"));
- model.makeValue("/root/hidden/Rex["+(row-n2)+"]/ioflag2", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/ioflag"));
- model.makeValue("/root/hidden/Rex["+(row-n2)+"]/dsum2", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/dsum"));
- model.makeValue("/root/hidden/Rex["+(row-n2)+"]/dadd2", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/dadd"));
- model.makeValue("/root/hidden/Rex["+(row-n2)+"]/dkact2", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/kact"));
- model.makeValue("/root/hidden/Rex["+(row-n2)+"]/dmact2", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/mact"));
-
- }else if(i%4 == 2){
- model.makeValue("/root/hidden/Rex["+(row-n2)+"]/eioflag2", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/ioflag"));
- model.makeValue("/root/hidden/Rex["+(row-n2)+"]/esum2", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/dsum"));
- model.makeValue("/root/hidden/Rex["+(row-n2)+"]/eadd2", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/dadd"));
- model.makeValue("/root/hidden/Rex["+(row-n2)+"]/ekact2", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/kact"));
- model.makeValue("/root/hidden/Rex["+(row-n2)+"]/emact2", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/mact"));
- }else if(i%4 == 3){
- }else{
- model.makeValue("/root/hidden/Rex["+(row-n2)+"]/sioflag2", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/ioflag"));
- model.makeValue("/root/hidden/Rex["+(row-n2)+"]/ssum2", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/dsum"));
- model.makeValue("/root/hidden/Rex["+(row-n2)+"]/sadd2", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/dadd"));
- model.makeValue("/root/hidden/Rex["+(row-n2)+"]/skact2", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/kact"));
- model.makeValue("/root/hidden/Rex["+(row-n2)+"]/smact2", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/mact"));
- row++;
- }
- }else{ // 첫번째 열
- if(i%4 == 1){
- model.makeValue("/root/hidden/Rex["+row+"]/itemnm", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/itemnm"));
- model.makeValue("/root/hidden/Rex["+row+"]/specnm", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/specnm"));
- model.makeValue("/root/hidden/Rex["+row+"]/ioflag", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/ioflag"));
- model.makeValue("/root/hidden/Rex["+row+"]/dsum", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/dsum"));
- model.makeValue("/root/hidden/Rex["+row+"]/dadd", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/dadd"));
- model.makeValue("/root/hidden/Rex["+row+"]/dkact", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/kact"));
- model.makeValue("/root/hidden/Rex["+row+"]/dmact", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/mact"));
-
- }else if(i%4 == 2){
- model.makeValue("/root/hidden/Rex["+row+"]/eioflag", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/ioflag"));
- model.makeValue("/root/hidden/Rex["+row+"]/esum", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/dsum"));
- model.makeValue("/root/hidden/Rex["+row+"]/eadd", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/dadd"));
- model.makeValue("/root/hidden/Rex["+row+"]/ekact", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/kact"));
- model.makeValue("/root/hidden/Rex["+row+"]/emact", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/mact"));
- }else if(i%4 == 3){
- }else{
- model.makeValue("/root/hidden/Rex["+row+"]/sioflag", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/ioflag"));
- model.makeValue("/root/hidden/Rex["+row+"]/ssum", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/dsum"));
- model.makeValue("/root/hidden/Rex["+row+"]/sadd", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/dadd"));
- model.makeValue("/root/hidden/Rex["+row+"]/skact", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/kact"));
- model.makeValue("/root/hidden/Rex["+row+"]/smact", model.getValue("/root/main/daysumrept/daysumreptlist["+i+"]/mact"));
- row++;
- }
- }
- }
- */
- //exeReportPreview("RPLNP00301", "XMLSTR", "", "", "true", "", "", "", "","true");
-
- exeReportPreview("RPLNP00301", "XMLSTR", "");
- }
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="1,1195;" style="font-size:11pt; margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1194px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:106px; height:14px; ">일계표</caption>
- </group>
- <group id="group3" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
- <group id="group2" style="left:0px; top:10px; width:1195px; height:35px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <line id="line1" style="x1:1115px; y1:9px; x2:1115px; y2:24px; border-color:#ffe4bb; border-left-style:solid; "/>
- <input id="input3" ref="/root/send/srchym" class="input_default" inputtype="date" format="yyyy-mm" style="left:100px; top:8px; width:90px; height:19px; "/>
- <caption id="caption11" class="search_name" style="left:10px; top:8px; width:86px; height:17px; text-align:left; ">기준월 :</caption>
- <button id="btn_sea" class="btn1_letter2" style="left:1125px; top:5px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/tmp/tmpym", model.getValue("/root/send/srchym"));
- submit("TRLNP00302");
- open("SPLNP90300");
- ]]>
- </script>
- </button>
- <caption id="caption3" class="search_name" visibility="hidden" style="left:915px; top:10px; width:65px; height:17px; ">구분 :</caption>
- <select1 id="radio1" ref="/root/send/srchbdioflag" visibility="hidden" appearance="full" cols="2" overflow="visible" style="left:985px; top:11px; width:95px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>체내</label>
- <value>I</value>
- </item>
- <item>
- <label>체외</label>
- <value>O</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var bdioflag = model.getValue("/root/send/srchbdioflag");
-
- if (bdioflag == "I") {
- model.toggle("case1");
- } else if (bdioflag == "O") {
- model.toggle("case2");
- }
- model.refresh();
- ]]>
- </script>
- </select1>
- <button id="button61" class="icon_search" style="left:630px; top:10px; width:16px; height:16px; background-image:../../../com/commonweb/images/icon_search.gif; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("SMLLF90400", "", "", "", "", "/root/hidden/ref/tclscdlist/testgrup", "/root/hidden/tclscdlist/testgrup");
- model.removeNodeset("/root/init/LB01032");
- fBaseInfoRef2("01032|");
- ]]>
- </script>
- </button>
- <select1 id="combo1" ref="/root/hidden/ref/tclscdlist/testgrup" class="combo_search" appearance="minimal" style="left:465px; top:9px; width:160px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/LB0103">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fSelectTestGrup();
- ]]>
- </script>
- </select1>
- <caption id="caption5" class="search_name" style="left:355px; top:9px; width:105px; height:17px; ">사용자 그룹 :</caption>
- </group>
- <button id="button2" class="btn2_letter2" style="left:1153px; top:73px; width:42px; height:19px; ">
- <caption>엑셀</caption>
- </button>
- <line id="line2" class="line_1" style="x1:0px; y1:50px; x2:1195px; y2:50px; "/>
- <datagrid id="datagrid1" nodeset="/root/main/daysumrept/daysumreptlist" caption="품명^규격^구분^전월재고^1^2^3^4^5^6^7^8^9^10^11^12^13^14^15^16^17^18^19^20^21^22^23^24^25^26^27^28^29^30^31^합계^잔고^act(kBq)^act(uCi)^^" colsep="^" colwidth="130, 80, 80, 80, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 75, 75, 100" fixedcols="2" frozencols="2" mergecellsfixedcols="bycol" mergecellsfixedrows="bycolrec" rowsep="|" selectionmode="bycol" style="left:0px; top:55px; width:1195px; height:415px; ">
- <col ref="itemnm" style="text-align:center; "/>
- <col ref="specnm" visibility="hidden" style="text-align:center; "/>
- <col ref="ioflag" style="left:210px; top:23px; width:80px; height:23px; text-align:center; "/>
- <col ref="d00" style="text-align:right; "/>
- <col ref="d01" style="text-align:right; "/>
- <col ref="d02" style="text-align:right; "/>
- <col ref="d03" style="text-align:right; "/>
- <col ref="d04" style="text-align:right; "/>
- <col ref="d05" style="text-align:right; "/>
- <col ref="d06" style="text-align:right; "/>
- <col ref="d07" style="text-align:right; "/>
- <col ref="d08" style="text-align:right; "/>
- <col ref="d09" style="text-align:right; "/>
- <col ref="d10" style="text-align:right; "/>
- <col ref="d11" style="text-align:right; "/>
- <col ref="d12" style="text-align:right; "/>
- <col ref="d13" style="text-align:right; "/>
- <col ref="d14" style="text-align:right; "/>
- <col ref="d15" style="text-align:right; "/>
- <col ref="d16" style="text-align:right; "/>
- <col ref="d17" style="text-align:right; "/>
- <col ref="d18" style="text-align:right; "/>
- <col ref="d19" style="text-align:right; "/>
- <col ref="d20" style="text-align:right; "/>
- <col ref="d21" style="text-align:right; "/>
- <col ref="d22" style="text-align:right; "/>
- <col ref="d23" style="text-align:right; "/>
- <col ref="d24" style="text-align:right; "/>
- <col ref="d25" style="text-align:right; "/>
- <col ref="d26" style="text-align:right; "/>
- <col ref="d27" style="text-align:right; "/>
- <col ref="d28" style="text-align:right; "/>
- <col ref="d29" style="text-align:right; "/>
- <col ref="d30" style="text-align:right; "/>
- <col ref="d31" style="text-align:right; "/>
- <col ref="dsum" style="text-align:right; "/>
- <col ref="dadd" style="text-align:right; "/>
- <col ref="kact" style="text-align:right; "/>
- <col ref="mact" style="text-align:right; "/>
- <col ref="gong" style="text-align:right; "/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
-
- if(datagrid1.col > 3 && datagrid1.col < 35){
- var col = datagrid1.colAttribute(datagrid1.col, "ref")
- col = col.replace("d", "");
- model.setValue("/root/send/srchdd", model.getValue("/root/tmp/tmpym") + col);
- submit("TRLNP00301");
-
- //조회 후 최종 확인일자 보다 작은 날짜를 선택하면 관리현황 disable 로(과거일 수정 못하게 하기 위함)
- /*var ym = model.getValue("/root/send/srchym") + col; //년 월 + 일
- var cnfmdt = model.getValue("/root/init/LB0125/cd").replace('-', '').replace('-', '').substr(0 ,8);
- if(ym < cnfmdt){
- grd_mngtlist.colDisabled(3) = true;
-
- }else{
- grd_mngtlist.colDisabled(3) = false;
- }*/ //기능 구현했다 강영직 선생님 결사반대로 수정 가능하게 풀어놓음 20090423 추후 요구시 변경요청서 받고 처리하기로 협의
- }else{
- model.removeNodeset("/root/main/detail/wlnlist");
- model.removeNodeset("/root/main/detail/delivelist");
- model.removeNodeset("/root/main/detail/mngtlist");
- model.refresh();
- }
- ]]>
- </script>
- </datagrid>
- <datagrid id="grd_wlnlist" nodeset="/root/main/detail/wlnlist" caption="거래처^항목^규격^수량" colsep="^" colwidth="140,100,65,65" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:500px; width:390px; height:230px; ">
- <col ref="suplcustnm" type="output"/>
- <col ref="goodnm" type="output"/>
- <col ref="specnm" type="output"/>
- <col ref="qty" type="output"/>
- <col ref="suplcustcd" visibility="hidden"/>
- <col ref="lossresncd" visibility="hidden"/>
- <col ref="iodd" visibility="hidden"/>
- <col ref="ioflag" visibility="hidden"/>
- <col ref="bdioflag" visibility="hidden"/>
- <col ref="itemflag" visibility="hidden"/>
- <col ref="goodcd" visibility="hidden"/>
- <col ref="rem" visibility="hidden"/>
- <col ref="suppdeptcd" visibility="hidden" style="text-align:center; "/>
- </datagrid>
- <datagrid id="grd_delivelist" nodeset="/root/main/detail/delivelist" caption="거래처^항목^규격^수량" colsep="^" colwidth="140,100,65,65" mergecellsfixedrows="bycolrec" rowsep="|" style="left:400px; top:500px; width:395px; height:230px; ">
- <col ref="suplcustnm" type="output"/>
- <col ref="goodnm" type="output"/>
- <col ref="specnm" type="output"/>
- <col ref="qty" type="output"/>
- <col ref="suplcustcd" visibility="hidden"/>
- <col ref="lossresncd" visibility="hidden"/>
- <col ref="iodd" visibility="hidden"/>
- <col ref="ioflag" visibility="hidden"/>
- <col ref="bdioflag" visibility="hidden"/>
- <col ref="itemflag" visibility="hidden"/>
- <col ref="goodcd" visibility="hidden"/>
- <col ref="rem" visibility="hidden"/>
- <col ref="suppdeptcd" visibility="hidden" style="text-align:center; "/>
- </datagrid>
- <datagrid id="grd_mngtlist" nodeset="/root/main/detail/mngtlist" caption="거래처^항목^규격^수량^사유" colsep="^" colwidth="140, 100, 65, 65, 180" mergecellsfixedrows="bycolrec" rowsep="|" selectionmode="free" style="left:805px; top:500px; width:390px; height:230px; ">
- <col ref="suplcustnm" type="output"/>
- <col ref="goodnm" type="output"/>
- <col ref="specnm" type="output"/>
- <col ref="qty" type="input"/>
- <col ref="suplcustcd" visibility="hidden"/>
- <col ref="lossresncd" visibility="hidden"/>
- <col ref="iodd" visibility="hidden"/>
- <col ref="ioflag" visibility="hidden"/>
- <col ref="bdioflag" visibility="hidden"/>
- <col ref="itemflag" visibility="hidden"/>
- <col ref="goodcd" visibility="hidden"/>
- <col ref="rem" visibility="hidden"/>
- <col ref="suppdeptcd" visibility="hidden" style="text-align:center; "/>
- </datagrid>
- <caption id="caption4" class="tit_2" style="left:400px; top:485px; width:84px; height:13px; ">사용 현황</caption>
- <caption id="caption1" class="tit_2" style="left:5px; top:485px; width:84px; height:14px; ">입고현황</caption>
- <caption id="caption2" class="tit_2" style="left:805px; top:485px; width:84px; height:13px; ">관리 현황</caption>
- </group>
- <group id="grp_btn" style="left:0px; top:747px; width:1195px; height:27px; ">
- <button id="btn_prt" class="btn6_letter2" style="left:0px; top:3px; width:56px; height:22px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fPrintRex();
- ]]>
- </script>
- </button>
- <button id="btn_excel" class="btn2_letter2" style="left:162px; top:4px; width:42px; height:19px; ">
- <caption>엑셀</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- var fileName = window.fileDialog("save", ",", false, "일계표_"+getCurrentDate(), "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
- if (fileName != "")
- {
- datagrid1.saveExcel(fileName);
- }
- ]]>
- </script>
- </button>
- <button id="button1" class="btn6_letter6" style="left:57px; top:3px; width:104px; height:22px; ">
- <caption>Activity출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fPrintRexAct();
- ]]>
- </script>
- </button>
- <caption id="caption9" class="search_name" style="left:666px; top:5px; width:178px; height:17px; ">일계표 확인자 :</caption>
- <input id="input2" ref="/root/cnfm/cnfminfo/cnfmid" class="input_search" style="left:789px; top:4px; width:78px; height:19px; text-align:left; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if ( event.keyCode == 13 ) {
- model.setValue("/root/send/srchcnfmid", input2.currentText);
- submit("TRAEQ00403");
- }
- ]]>
- </script>
- </input>
- <output id="opt_nm" ref="/root/hidden/cnfm/nm" class="output_fix" style="left:444px; top:4px; width:70px; height:19px; "/>
- <output id="opt_dt" ref="/root/hidden/cnfm/dt" class="output_fix" style="left:517px; top:4px; width:130px; height:19px; "/>
- <output id="output2" ref="/root/cnfm/cnfminfo/cnfmnm" class="output_fix" style="left:869px; top:4px; width:70px; height:19px; "/>
- <button id="btnSave" class="btn4_letter2" style="left:941px; top:3px; width:56px; height:22px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var cnfmnm = model.getValue("/root/cnfm/cnfminfo/cnfmnm");
- if(cnfmnm == ""){
- alert("일계표 확인자를 입력하세요");
- model.setFocus("input2");
- return;
- }
-
- if(messageBox("", "Q004")==6){ //실행하시겠습니까? 6:ok
- model.setValue("/root/send/srchcnfmid" , model.getValue("/root/cnfm/cnfminfo/cnfmid"));
- model.setValue("/root/send/srchcnfmnm", model.getValue("/root/cnfm/cnfminfo/cnfmnm"));
- if(submit("TXLNP00302")){ //확인자 저장
- model.removenode("/root/init/LB0125");
- model.resetInstanceNode("/root/cnfm/cnfminfo");
-
- model.setValue("/root/send/codeflag","0125|");
- submit("TRLZZ00101"); //일계표 최종 확인자 재 조회
-
- model.setValue("/root/hidden/cnfm/nm", model.getValue("/root/init/LB0125/nm"));
- model.setValue("/root/hidden/cnfm/dt", model.getValue("/root/init/LB0125/cd"));
- }
- model.refresh();
- }
- ]]>
- </script>
- </button>
- <caption id="caption7" class="search_name" style="left:291px; top:5px; width:178px; height:17px; ">일계표 최종 확인자 :</caption>
- </group>
- <button id="button3" class="btn4_letter2" style="left:1137px; top:750px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var uptwln = getGridUpdateData(grd_wlnlist);
- var uptdelive = getGridUpdateData(grd_delivelist);
- var uptmngt = getGridUpdateData(grd_mngtlist);
-
- model.setValue("/root/send/wlnlist", uptwln);
- model.setValue("/root/send/delivelist", uptdelive);
- model.setValue("/root/send/mngtlist", uptmngt);
-
- if ( submit("TXAEQ01001")) {
- // 저장 후 재 조회
- submit("TRLNP00302");
- model.refresh();
- }
-
- ]]>
- </script>
- </button>
- <button id="btn_del" class="btn4_letter2" visibility="hidden" style="left:1139px; top:750px; width:56px; height:22px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- exeReportPreview("RPAEQ00400", "XMLSTR", "/root/list");
- ]]>
- </script>
- </button>
- </xhtml:body>
- </xhtml:html>
|