123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163 |
- <?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>
- <acntperchgrinfo>
- <acntperchgrlist/>
- </acntperchgrinfo>
- </main>
- <init>
- </init>
- <send>
- <reqdata/>
- <savedata/>
- </send>
- <hidden>
- <commoninfo>
- <perchgrlist1/>
- <perchgrlist2/>
- <perchgrlist3/>
- <perchgrlist4/>
- <perchgrlist5/>
- <acntlist/>
- </commoninfo>
- </hidden>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- model.removeNodeset("/root/main/acntperchgrinfo/acntperchgrlist");
- misfComboComCdList("030M0006" ,cmb_sanctflag);
- model.makeValue("/root/send/reqdata/instcd", getUserInfo("dutplceinstcd"));
- if(submit("TRRSA00101")){
- if(submit("TRRSA00102")){
-
- }
- }
- model.refresh();
- ]]>
- </script>
- <submission id="TRRSA00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/hidden/commoninfo"/>
- <submission id="TRRSA00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/acntperchgrinfo"/>
- <submission id="TXRSA00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/main/acntperchgrinfo"/>
- </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/basiccodeweb/js/ZBC001.js"/>
- </xhtml:head>
- <xhtml:body pagewidth="1200" pageheight="750" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group3" scroll="auto" style="left:8px; top:0px; width:1190px; height:710px; ">
- <line id="line1" class="line_1" style="x1:0px; y1:41px; x2:1180px; y2:41px; "/>
- <datagrid id="grd_acntperchgrlist" nodeset="/root/main/acntperchgrinfo/acntperchgrlist" caption="배부코드^배부명^구분^적용일자^자료구분^시작코드^종료코드^단위^비고^instcd^seqno^oldsanctflag^oldacntcd" colsep="^" colwidth="74, 258, 57, 112, 71, 132, 134, 50, 255, 100, 100, 100, 100" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" tooltip="true" style="left:0px; top:45px; width:1185px; height:645px; ">
- <col ref="sanctflag" type="input" style="text-align:center; "/>
- <col editmode="inputsearch" itemcount="20" ref="acntcd" type="input" showmask="true" style="text-align:left; "/>
- <col editmode="inputsearch" itemcount="20" ref="perchgr_1" type="combo" showmask="true" style="text-align:left; ">
- <choices>
- <itemset nodeset="/root/hidden/commoninfo/perchgrlist1">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col editmode="inputsearch" itemcount="20" ref="perchgr_2" type="input" format="yyyy/mm/dd" mask="include" showmask="true" style="text-align:center; "/>
- <col editmode="inputsearch" itemcount="20" ref="perchgr_3" type="combo" showmask="true" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/hidden/commoninfo/perchgrlist3">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col editmode="inputsearch" itemcount="20" ref="perchgr_4" type="combo" showmask="true" style="text-align:left; ">
- <choices>
- <itemset nodeset="/root/hidden/commoninfo/perchgrlist4">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col editmode="inputsearch" itemcount="20" ref="perchgr_5" type="combo" showmask="true" style="text-align:left; ">
- <choices>
- <itemset nodeset="/root/hidden/commoninfo/perchgrlist5">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="cmt" type="input"/>
- <col ref="bigo" type="input"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="seqno" visibility="hidden"/>
- <col ref="oldsanctflag" visibility="hidden"/>
- <col ref="oldacntcd" visibility="hidden"/>
- </datagrid>
- <group id="group2" style="left:0px; top:0px; width:465px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:255px; height:13px; color:#000000; ">원가 배부코드 등록 ( w_won0e020 )</caption>
- </group>
- <button id="btn_chrtdeptdel" class="btn2_letter3" style="left:1012px; top:20px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var acntcd = grd_acntperchgrlist.valueMatrix(grd_acntperchgrlist.row,grd_acntperchgrlist.colRef("acntcd"));
- if((grd_acntperchgrlist.rowStatus(grd_acntperchgrlist.row)=="1")||(grd_acntperchgrlist.rowStatus(grd_acntperchgrlist.row)=="3")){
- grd_acntperchgrlist.deleteRow(grd_acntperchgrlist.row);
- }else{
- grd_acntperchgrlist.rowStatus(grd_acntperchgrlist.row) ="4";
- }
-
- ]]>
- </script>
- </button>
- <button id="btn_chrtdeptadd" class="btn2_letter3" style="left:955px; top:20px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_acntperchgrlist.addRow(false);
- model.setValue("/root/main/acntperchgrinfo/acntperchgrlist["+grd_acntperchgrlist.row+"]/instcd",getUserInfo("dutplceinstcd"));
- model.setFocus("grd_acntperchgrlist");
- grd_acntperchgrlist.col = grd_acntperchgrlist.colRef("sanctflag");
- grd_acntperchgrlist.editCell();
- ]]>
- </script>
- </button>
- <button id="btn_chrtdeptsave" class="btn4_letter2" style="left:1069px; top:17px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.makeValue("/root/send/savedata/acntperchgrlist",grd_acntperchgrlist.getUpdateData());
- if(submit("TXRSA00101")){
- btn_search.dispatch("DOMActivate");
- }
- ]]>
- </script>
- </button>
- <button id="btn_search" class="btn1_letter2" navindex="4" style="left:1129px; top:17px; width:56px; height:22px; text-align:left; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- model.makeValue("/root/send/reqdata/instcd", getUserInfo("dutplceinstcd"));
- if(submit("TRRSA00102")){
- model.removeNodeset("/root/send/reqdata");
- }
- ]]>
- </script>
- </button>
- <select1 id="cmb_sanctflag" ref="/root/cond/sanctflag" class="combo_s_fix" visibility="hidden" appearance="minimal" style="left:520px; top:20px; width:135px; height:19px; text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/sanctflag">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- </group>
- </xhtml:body>
- </xhtml:html>
|