123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/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>
- <list>
- <goodreq>
- <goodreqlist/>
- </goodreq>
- <goodmstsum>
- <goodmstsumlist/>
- </goodmstsum>
- <gooddetsum>
- <gooddetsumlist/>
- </gooddetsum>
- </list>
- <item/>
- </main>
- <init>
- <coldeptcd/>
- <coldeptnm/>
- </init>
- <send>
- <goodreq>
- <instcd/>
- <reqflag/>
- <reqdeptcd/>
- <reqdeptnm/>
- <goodcd/>
- <goodnm/>
- <reqfrdd/>
- <reqtodd/>
- <acptflag/>
- </goodreq>
- <gooddetsum>
- <instcd/>
- <colreqdd/>
- <colreqno/>
- <colreqseqno/>
- </gooddetsum>
- <save>
- <goodreq>
- <goodreqlist/>
- <reqsum>
- <coldeptcd/>
- </reqsum>
- </goodreq>
- </save>
- <adjtqty>
- <adjtqtylist/>
- <tarreqlist/>
- </adjtqty>
- </send>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- //화면 Control을 초기화한다
- fInitialize();
- ]]>
- </script>
- <submission id="TRRSD04901" ref="/root/send/goodreq" method="post" mediatype="application/x-www-form-urlencoded" resultref="/root/main/list/goodreq"/>
- <submission id="TRRSD04902" ref="/root/send/goodreq" method="post" mediatype="application/x-www-form-urlencoded" resultref="/root/main/list/goodmstsum"/>
- <submission id="TRRSD04903" ref="/root/send/gooddetsum" method="post" mediatype="application/x-www-form-urlencoded" resultref="/root/main/list/gooddetsum"/>
- <submission id="TXRSD04901" ref="/root/send/save/goodreq" method="post" mediatype="application/x-www-form-urlencoded" resultref="/root/hidden/temp"/>
- <submission id="TXRSD04902" ref="/root/send/save/goodreq" method="post" mediatype="application/x-www-form-urlencoded" resultref="/root/hidden/temp"/>
- <submission id="TXRSD07003" ref="/root/send/adjtqty" method="post" mediatype="application/x-www-form-urlencoded" resultref="/root/temp"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript">
- <![CDATA[
- // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
- function fInitialize() {
- misfComboComCdListMulti("Z0007","cmb_instcd");
- rszfReqFlagComboComCdList(getUserInfo("userid"),cmb_reqflag);
- model.setValue(cmb_instcd.attribute("ref") , getUserInfo("dutplceinstcd"));
- model.setValue(ipt_reqdeptcd.attribute("ref") , getUserInfo("dutplcecd"));
- model.setValue(ipt_reqdeptnm.attribute("ref") , getUserInfo("dutplcenm"));
-
- var curdate = getCurrentDate();
- var cvtdate = curdate.toDate("YYYYMMDD");
-
- model.setValue(ipt_reqfrdd.attribute("ref") , cvtdate.getAddDate(-10,"D").getDateFormat("YYYYMMDD"));
- model.setValue(ipt_reqtodd.attribute("ref") ,curdate);
- misfGridInit(grd_goodreq);
- misfGridInit(grd_goodmstsum);
- misfGridInit(grd_gooddetsum);
- misfMsterDetailSet(grd_goodreq,null, "TRRSD04901" ,"Y");
- grd_goodmstsum.selectionMode = "free";
- grd_gooddetsum.selectionMode = "free";
- model.refresh();
- }
- function fCheckRetrieveData(pmsg)
- {
- if(model.getValue(cmb_instcd.attribute("ref")).length== 0 )
- {
- if(pmsg == true)
- {
- messageBox("기관코드를 " ,"C002");
- model.setFocus("cmb_instcd");
- }
- return false;
- }
-
- if(model.getValue(cmb_reqflag.attribute("ref")).length== 0 )
- {
- if(pmsg == true)
- {
- messageBox("청구구분을 " ,"C002");
- model.setFocus("cmb_reqflag");
- }
- return false;
- }
-
- if(model.getValue(ipt_reqfrdd.attribute("ref")).length== 0 )
- {
- if(pmsg == true)
- {
- messageBox("청구시작일자를 " ,"C001");
- model.setFocus("ipt_reqfrdd");
- }
- return false;
- }
-
- if(model.getValue(ipt_reqtodd.attribute("ref")).length== 0 )
- {
- if(pmsg == true)
- {
- messageBox("청구종료일자를 " ,"C001");
- model.setFocus("ipt_reqtodd");
- }
- return false;
- }
- return true;
- }
- function fSaveReqQty()
- {
- if(swcselect.selectedIndex == 0)
- {
- model.setValue("/root/send/save/goodreq/goodreqlist" ,grd_goodreq.getUpdateData());
- }
- else
- {
- for(var currow = grd_goodmstsum.fixedRows ; currow < grd_goodmstsum.rows ; currow++)
- model.setValue(grd_goodmstsum.nodeset + "[" + (currow - grd_goodmstsum.fixedRows + 1) + "]/acptflag" , "Y");
-
- model.setValue("/root/send/save/goodreq/goodreqlist" ,grd_goodmstsum.getUpdateData());
- }
- submit("TXRSD04902");
- if (model.getValue(gvErrorMsgPath + "/type") != "error")btn_search.dispatch("DOMActivate");
- }
- function fsetRowStyle(pcol, pvalue)
- {
- grd_goodreq.backcoloralternate = "transparent";
- for(var currow = grd_goodreq.fixedRows ; currow < grd_goodreq.rows ; currow++)
- if(grd_goodreq.valueMatrix(currow , pcol) == pvalue)grd_goodreq.rowstyle( currow , "data" , "background-color" ) ="#ffe79d";
- }
- function fSetReqAuth()
- {
-
- /* ---------------------------------------------------------------------------------------
- * [2007.12.12 HBH ] 청구주기 추가.
- * 수리,장비등 청구주기가 없는 것들은 '1'로셋팅
- ---------------------------------------------------------------------------------------*/
- rszfGetPurcReqAuthInfo(model.getValue(cmb_instcd.attribute("ref")), model.getValue(cmb_reqflag.attribute("ref")) , getUserInfo("dutplcecd"), getUserInfo("userid"),"1");
- model.setValue(opt_coldeptcd.attribute("ref"),rszfGetPurcAuthInfoByCond("reqfnldeptcd"));
- model.setValue(opt_coldeptnm.attribute("ref"),rszfGetPurcAuthInfoByCond("reqfnldeptnm"));
-
- model.refresh();
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:243px; height:14px; ">물품청구량 집계 및 수정</caption>
- </group>
- <group id="grp_biz" scroll="auto" style="left:0px; top:38; width:1195; height:745px; ">
- <switch id="swcselect" style="left:0px; top:122px; width:1195px; height:612px; ">
- <case id="csereqsum">
- <datagrid id="grd_goodreq" nodeset="/root/main/list/goodreq/goodreqlist" caption="청구부서^일자^번호^순번^물품코드^품명^규격^모델^제조회사^청구수량^접수상태^불출수량^진행상태^처리내역^청구사유" colwidth="66, 76, 61, 56, 78, 106, 58, 87, 60, 58, 60, 67, 79, 156, 100" dataheight="25" ellipsis="true" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" colsep="^" tooltip="true" style="left:0px; top:29px; width:1193px; height:570px; ">
- <col ref="reqdeptnm"/>
- <col ref="reqdd" format="yyyy-mm-dd"/>
- <col ref="reqno" style="text-align:center; "/>
- <col ref="reqseqno" style="text-align:center; "/>
- <col ref="goodcd"/>
- <col ref="goodnm"/>
- <col ref="goodspec" type="output"/>
- <col ref="goodmodel" type="output"/>
- <col ref="prodcmpynm" type="output"/>
- <col ref="reqqty" type="input" format="#,###" style="text-align:right; "/>
- <col ref="acptflagnm"/>
- <col ref="deliveqty" format="#,###" style="text-align:right; "/>
- <col ref="deliveprcsflagnm"/>
- <col/>
- <col/>
- <col ref="colreqdd"/>
- <col ref="colreqno"/>
- <col ref="colreqseqno"/>
- <col ref="instcd"/>
- <col ref="reqflag"/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_goodreq.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <line id="line2" class="line_1" style="x1:0px; y1:24px; x2:1193; y2:24px; "/>
- <button id="button2" class="btn2_letter5" style="left:1074px; top:3px; width:75px; height:19px; ">
- <caption>청구량조정</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSaveReqQty();
- ]]>
- </script>
- </button>
- <button id="button6" class="btn2_letter2" style="left:1151px; top:3px; width:42px; height:19px; ">
- <caption>집계</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.resetInstanceNode("/root/send/save/goodreq");
- model.setValue("/root/send/save/goodreq/goodreqlist" ,getNodeListCSV(instance1.selectNodes(grd_goodreq.nodeset)));
- model.setValue("/root/send/save/goodreq/reqsum/coldeptcd" ,model.getValue(opt_coldeptcd.attribute("ref")));
-
- submit("TXRSD04901");
-
- if (model.getValue(gvErrorMsgPath + "/type") != "error")btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </button>
- </case>
- <case id="csereqlist" selected="true" style="left:0px; top:0px; width:1193px; height:612px; ">
- <datagrid id="grd_goodmstsum" nodeset="/root/main/list/goodmstsum/goodmstsumlist" caption="청구부서^일자^번호^순번^물품코드^품명^규격^모델^제조회사^청구수량^접수상태^불출수량^진행상태^처리내역^청구사유^접수여부" colwidth="66, 76, 44, 45, 78, 135, 58, 68, 60, 58, 60, 67, 79, 73, 100, 100" dataheight="25" ellipsis="true" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" colsep="^" tooltip="true" style="left:0; top:29px; width:1193; height:296px; ">
- <col ref="reqdeptnm"/>
- <col ref="reqdd" format="yyyy-mm-dd"/>
- <col ref="reqno" format="#,###" style="text-align:center; "/>
- <col ref="reqseqno" format="#,###" style="text-align:center; "/>
- <col ref="goodcd"/>
- <col ref="goodnm"/>
- <col ref="goodspec" type="output"/>
- <col ref="goodmodel" type="output"/>
- <col ref="prodcmpynm" type="output"/>
- <col ref="reqqty" type="input" format="#,###" style="text-align:right; "/>
- <col ref="acptflagnm"/>
- <col ref="deliveqty" format="#,###" style="text-align:right; "/>
- <col ref="deliveprcsflagnm"/>
- <col/>
- <col/>
- <col ref="acptflag" visibility="hidden"/>
- <col ref="reqdeptcd" visibility="hidden"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="reqflag" visibility="hidden"/>
- <col ref="requnit" visibility="hidden"/>
- <col ref="goodflag" visibility="hidden"/>
- <col ref="workflag" visibility="hidden"/>
- <col ref="reqmthdflag" visibility="hidden"/>
- <col ref="deliveflag" visibility="hidden"/>
- <col ref="reqpridflag" visibility="hidden"/>
- <col ref="bugtcd" visibility="hidden"/>
- <col ref="stdysubjno" visibility="hidden"/>
- <col ref="reqcollcdeptcd" visibility="hidden"/>
- <col ref="delivedeptcd" visibility="hidden"/>
- <col ref="delivehopedd" visibility="hidden"/>
- <col ref="reqpsnid" visibility="hidden"/>
- <col ref="reqtm" visibility="hidden"/>
- <col ref="ddavguseqty" visibility="hidden"/>
- <col ref="basevol" visibility="hidden"/>
- <col ref="adjtqty" visibility="hidden"/>
- <col ref="adjtrsn" visibility="hidden"/>
- <col ref="deptaprvyn" visibility="hidden"/>
- <col ref="deptaprvdd" visibility="hidden"/>
- <col ref="acptdd" visibility="hidden"/>
- <col ref="acptcharid" visibility="hidden"/>
- <col ref="purcdmnddd" visibility="hidden"/>
- <col ref="purcdmndno" visibility="hidden"/>
- <col ref="purcdmndseq" visibility="hidden"/>
- <col ref="colreqdd" visibility="hidden"/>
- <col ref="colreqno" visibility="hidden"/>
- <col ref="colreqseqno" visibility="hidden"/>
- <col ref="unwinresn" visibility="hidden"/>
- <col ref="deliveprcsflag" visibility="hidden"/>
- <col ref="cmt" visibility="hidden"/>
- <script type="javascript" ev:event="onrowchanged">
- <![CDATA[
- misfGridInit(grd_gooddetsum);
- if(grd_goodmstsum.row >= grd_goodmstsum.fixedRows)
- {
- model.setValue("/root/send/gooddetsum/instcd" , model.getValue(grd_goodmstsum.nodeset + "[" + (grd_goodmstsum.row - grd_goodmstsum.fixedRows + 1) + "]/instcd"));
- model.setValue("/root/send/gooddetsum/colreqdd" , model.getValue(grd_goodmstsum.nodeset + "[" + (grd_goodmstsum.row - grd_goodmstsum.fixedRows + 1) + "]/reqdd"));
- model.setValue("/root/send/gooddetsum/colreqno" , model.getValue(grd_goodmstsum.nodeset + "[" + (grd_goodmstsum.row - grd_goodmstsum.fixedRows + 1) + "]/reqno"));
- model.setValue("/root/send/gooddetsum/colreqseqno" , model.getValue(grd_goodmstsum.nodeset + "[" + (grd_goodmstsum.row - grd_goodmstsum.fixedRows + 1) + "]/reqseqno"));
- submit("TRRSD04903");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_goodmstsum.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <datagrid id="grd_gooddetsum" nodeset="/root/main/list/gooddetsum/gooddetsumlist" caption="청구부서^일자^번호^순번^물품코드^품명^규격^모델^제조회사^청구수량^접수상태^불출수량^진행상태^처리내역^청구사유" colwidth="66, 76, 61, 56, 78, 106, 58, 87, 60, 58, 60, 67, 79, 156, 100" dataheight="25" ellipsis="true" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" colsep="^" tooltip="true" style="left:0px; top:350px; width:1193px; height:249px; ">
- <col ref="reqdeptnm"/>
- <col ref="reqdd" format="yyyy-mm-dd"/>
- <col ref="reqno" format="#,###" style="text-align:center; "/>
- <col ref="reqseqno" format="#,###" style="text-align:center; "/>
- <col ref="goodcd"/>
- <col ref="goodnm"/>
- <col ref="goodspec" type="output"/>
- <col ref="goodmodel" type="output"/>
- <col ref="prodcmpynm" type="output"/>
- <col ref="reqqty" format="#,###" style="text-align:right; "/>
- <col ref="acptflagnm"/>
- <col ref="deliveqty" format="#,###" style="text-align:right; "/>
- <col ref="deliveprcsflagnm"/>
- <col/>
- <col/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_gooddetsum.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <button id="button13" class="btn2_letter5" style="left:1118px; top:4px; width:75px; height:19px; ">
- <caption>청구량조정</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSaveReqQty();
- ]]>
- </script>
- </button>
- <line id="line15" class="line_1" style="x1:0px; y1:24px; x2:1193; y2:24px; "/>
- <line id="line1" class="line_1" style="x1:0px; y1:345px; x2:1193px; y2:345px; "/>
- </case>
- </switch>
- <button id="button4" class="btn_sw" group="tab" style="left:124px; top:101px; width:144px; height:22px; ">
- <caption>청구분 조정</caption>
- <toggle case="csereqlist" ev:event="DOMActivate"/>
- </button>
- <button id="button10" class="btn_sw" group="tab" selected="true" style="left:0px; top:101px; width:125px; height:22px; ">
- <caption>청구분 집계</caption>
- <toggle case="csereqsum" ev:event="DOMActivate"/>
- </button>
- <group id="group6" style="left:0px; top:10px; width:1195px; height:87px; vertical-align:top; ">
- <shape id="roundrect3" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195px; height:87px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption1" class="search_name" style="left:15; top:9; width:101px; height:17px; ">기관코드 :</caption>
- <caption id="caption3" class="search_name" style="left:566px; top:9px; width:93px; height:17px; ">청구일자 :</caption>
- <caption id="caption11" class="search_n_b" style="left:794px; top:10px; width:12px; height:17px; font-weight:bolder; ">~</caption>
- <caption id="caption4" class="search_name" style="left:540px; top:61; width:113px; height:17px; ">청구취합부서 :</caption>
- <caption id="caption13" class="search_name" style="left:15; top:35; width:93px; height:17px; ">청구부서 :</caption>
- <caption id="caption14" class="search_name" style="left:566px; top:35; width:101px; height:17px; ">접수상태 :</caption>
- <caption id="caption15" class="search_name" style="left:295px; top:9px; width:86px; height:17px; vertical-align:middle; ">청구구분 :</caption>
- <select1 id="cmb_instcd" ref="/root/send/goodreq/instcd" class="combo_default" appearance="minimal" style="left:100px; top:8px; width:137px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/instcd">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_reqtodd" ref="/root/send/goodreq/reqtodd" class="input_default" inputtype="date" style="left:812px; top:8px; width:137px; height:19px; "/>
- <input id="ipt_reqfrdd" ref="/root/send/goodreq/reqfrdd" class="input_default" inputtype="date" style="left:652px; top:8px; width:137px; height:19px; "/>
- <select1 id="rbo_acptflag" ref="/root/send/goodreq/acptflag" overflow="visible" appearance="full" rows="1" cols="3" style="left:652px; top:35px; width:158px; height:15px; background-color:transparent; border-style:none; ">
- <choices>
- <item>
- <label>미접수</label>
- <value>N</value>
- </item>
- <item>
- <label>접수</label>
- <value>Y</value>
- </item>
- <item>
- <label>전체</label>
- <value/>
- </item>
- </choices>
- </select1>
- <input id="ipt_goodnm" ref="/root/send/goodreq/goodnm" class="input_fix" appearance="input" style="left:235px; top:60px; width:275px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_goodnm.value.length == 0)
- ipt_goodcd.value = "";
- else
- rszfValidationCheck("TRRSD00191", "goodlist" , "refcond,instcd,reqflag,goodnm",
- "goodnm," + model.getValue(cmb_instcd.attribute("ref")) + "," + model.getValue(cmb_reqflag.attribute("ref")) + "," + model.getValue(ipt_goodnm.attribute("ref")) ,"","goodcd,goodnm",
- ipt_goodnm,"SPRSD00210","instcd,reqflag","cmb_instcd,cmb_reqflag");
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_goodcd" ref="/root/send/goodreq/goodcd" class="input_default" style="left:100; top:60; width:110; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_goodcd.value.length == 0)
- ipt_goodnm.value = "";
- else
- rszfValidationCheck("TRRSD00191", "goodlist" , "refcond,instcd,reqflag,goodcd",
- "goodcd," + model.getValue(cmb_instcd.attribute("ref")) + "," + model.getValue(cmb_reqflag.attribute("ref")) + "," + model.getValue(ipt_goodcd.attribute("ref")) ,"","goodcd,goodnm",
- ipt_goodcd,"SPRSD00210","instcd,reqflag","cmb_instcd,cmb_reqflag");
- model.refresh();
- ]]>
- </script>
- </input>
- <button id="button9" class="icon_search" style="left:215px; top:62px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- rszfOpenPopUpListByWndName(ipt_goodcd,"","goodcd,goodnm","SPRSD00210","instcd,reqflag","cmb_instcd,cmb_reqflag");
- model.refresh();
- ]]>
- </script>
- </button>
- <output id="opt_coldeptnm" ref="/root/init/coldeptnm" class="output_fix" appearance="output" style="left:726px; top:60px; width:223px; height:19px; "/>
- <output id="opt_coldeptcd" ref="/root/init/coldeptcd" class="output_fix" appearance="output" style="left:652px; top:60px; width:71px; height:19px; "/>
- <button id="button7" class="icon_search" style="left:215px; top:36px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var recv_list = "reqdeptcd,reqdeptnm";
- misfOpenPopUpList("02", ipt_reqdeptcd,"", recv_list) ;
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_reqdeptnm" ref="/root/send/goodreq/reqdeptnm" class="input_fix" appearance="input" style="left:235px; top:34px; width:275px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_reqdeptnm.value.length == 0)
- {
- ipt_reqdeptcd.value = "";
- }
- else
- misfValidationCheck("02", "", "reqdeptcd,reqdeptnm" );
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_reqdeptcd" ref="/root/send/goodreq/reqdeptcd" class="input_default" appearance="input" style="left:100px; top:34; width:110px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_reqdeptcd.value.length == 0)
- {
- ipt_reqdeptnm.value = "";
- }
- else
- misfValidationCheck("02", "", "reqdeptcd,reqdeptnm" );
- model.refresh();
- ]]>
- </script>
- </input>
- <select1 id="cmb_reqflag" ref="/root/send/goodreq/reqflag" class="combo_default" appearance="minimal" style="left:382px; top:8px; width:128px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/reqflag">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fSetReqAuth();
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </select1>
- <line id="line30" class="line_4" style="x1:1109px; y1:9px; x2:1109px; y2:80px; "/>
- <button id="btn_search" navindex="7" class="btn1_letter2" style="left:1124px; top:35px; width:56px; height:22px; text-align:left; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(fCheckRetrieveData(false) == false)return;
- if(swcselect.selectedIndex == 0)
- {
- misfGridInit(grd_goodreq);
- misfMsterDetailRetrieve();
- //setRowStyle("grd_goodreq" , "1" , "" ,"colreqno");
- fsetRowStyle(grd_goodreq.colRef("colreqno"), "");
- }
- else
- {
- misfGridInit(grd_goodmstsum);
- misfGridInit(grd_gooddetsum);
- submit("TRRSD04902");
- if(grd_goodmstsum.rows - grd_goodmstsum.fixedRows > 0)
- {
- grd_goodmstsum.row = grd_goodmstsum.fixedRows;
- model.setValue("/root/send/gooddetsum/instcd" , model.getValue(grd_goodmstsum.nodeset + "[" + (grd_goodmstsum.row - grd_goodmstsum.fixedRows + 1) + "]/instcd"));
- model.setValue("/root/send/gooddetsum/colreqdd" , model.getValue(grd_goodmstsum.nodeset + "[" + (grd_goodmstsum.row - grd_goodmstsum.fixedRows + 1) + "]/reqdd"));
- model.setValue("/root/send/gooddetsum/colreqno" , model.getValue(grd_goodmstsum.nodeset + "[" + (grd_goodmstsum.row - grd_goodmstsum.fixedRows + 1) + "]/reqno"));
- model.setValue("/root/send/gooddetsum/colreqseqno" , model.getValue(grd_goodmstsum.nodeset + "[" + (grd_goodmstsum.row - grd_goodmstsum.fixedRows + 1) + "]/reqseqno"));
- submit("TRRSD04903");
- }
- }
- ]]>
- </script>
- </button>
- <caption id="caption2" class="search_name" style="left:15; top:61; width:93px; height:17px; ">물품코드 :</caption>
- </group>
- </group>
- <group id="group1" style="left:0px; top:12; width:1195px; height:27px; ">
- <button id="button1" class="btn3_letter4" visibility="hidden" style="left:58px; top:3; width:80px; height:22px; ">
- <caption>화면이동</caption>
- </button>
- <button id="button3" class="btn6_letter2" visibility="hidden" style="left:0px; top:3; width:56px; height:22px; ">
- <caption>출력</caption>
- </button>
- <button id="button5" class="btn4_letter3" style="left:1127px; top:3px; width:68px; height:22px; ">
- <caption>초기화</caption>
- </button>
- <line id="line17" class="line_6" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|