123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163 |
- <?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="">
- <init>
- <ComboLists>
- <deptlist>
- <depthngnm/>
- <deptcd/>
- </deptlist>
- </ComboLists>
- <hardcodeinfo>
- <cdid/>
- <cdnm/>
- </hardcodeinfo>
- </init>
- <main>
- <custlist>
- <custcd/>
- <custnm/>
- <custdeptcd/>
- <custtel/>
- <custmail/>
- <chargenm/>
- <chargetel/>
- <memo/>
- <histno/>
- </custlist>
- </main>
- <send/>
- <hidden/>
- </root>
- </instance>
- <submission id="TRMNP00107" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/ComboLists"/>
- <submission id="TRMNP04903" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/hardcodeinfo"/>
- <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/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- model.removenode("/root/send");
- model.makeValue("/root/send/flag" , "X" );
- model.makeValue("/root/send/searchitem", "XX" );
- model.makeValue("/root/send/deptflag" , "011" );
-
- submit("TRMNP00107", false);
-
- model.removenode("/root/send");
- model.makeValue("/root/send/reqdata/cdgrupid", "200");//메모기준자료
- model.makeValue("/root/send/reqdata/supcdid", "");//서브구분
- model.makeValue("/root/send/reqdata/cdid", "");//서브구분
- submit("TRMNP04903", false);
-
- submit("TRMNP02201");
- ]]>
- </script>
- <submission id="TRMNP02201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/custlist"/>
- <submission id="TXMNP02201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/custlist"/>
- </model>
- </xhtml:head>
- <xhtml:body pagewidth="850" pageheight="550" guideline="1,5;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <line id="line1" class="line_1" style="x1:0px; y1:30px; x2:830px; y2:30px; "/>
- <!--(20101114) 경북대
- <datagrid id="grd_custlist" nodeset="/root/main/custlist" class="datagrid2" caption="거래처
코드^거래처명^거래과^거래처대표전화^거래처메일^담당직원^담당자전화^MEMO^이력번호" colsep="^" colwidth="70, 120, 70, 110, 136, 60, 115, 100, 0" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="23" rowsep="|" style="left:0px; top:35px; width:830px; height:500px; ">
- -->
- <datagrid id="grd_custlist" nodeset="/root/main/custlist" class="datagrid2" caption="거래처코드^거래처명^거래과^거래처대표전화^거래처메일^담당직원^담당자전화^MEMO^이력번호" colsep="^" colwidth="80, 120, 70, 151, 185, 60, 115, 0, 0" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="23" rowsep="|" style="left:0px; top:35px; width:830px; height:500px; ">
- <!--(20101114) 경북대 -->
- <col ref="custcd" style="text-align:center; "/>
- <col ref="custnm" style="text-align:center; "/>
- <col ref="custdeptcd" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/ComboLists/deptlist">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- </col>
- <col ref="custtel" type="input" style="text-align:center; "/>
- <col ref="custmail" type="input" style="text-align:center; "/>
- <col ref="chargenm" type="input" style="text-align:center; "/>
- <col ref="chargetel" type="input" style="text-align:left; "/>
- <col editmode="inputsearch" ref="memo" type="combo" style="text-align:left; ">
- <choices>
- <itemset nodeset="/root/init/hardcodeinfo">
- <label ref="cdnm"/>
- <value ref="cdnm"/>
- </itemset>
- </choices>
- </col>
- <col ref="histno"/>
- </datagrid>
- <caption id="caption1" class="tit_2" style="left:0px; top:10px; width:113px; height:13px; ">거래처 기준자료</caption>
- <button id="button4" class="btn2_letter5" style="left:627px; top:10px; width:75px; height:19px; ">
- <caption>거래처추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("SMMNP04410" ,"", "100", "100", "SMMNP04410", "", "");
-
- var getData = model.getValue("/root/properties/parameters/SendData/SendDatavalue");
- if( getData == "") {
- return;
- }else {
- grd_custlist.addRow();
- var getDataTemp = getData.split("|");
-
- model.setValue("/root/main/custlist[" + (grd_custlist.rows-1) + "]/custcd" , getDataTemp[0]);
- model.setValue("/root/main/custlist[" + (grd_custlist.rows-1) + "]/custnm", getDataTemp[1]);
- model.setValue("/root/main/custlist[" + (grd_custlist.rows-1) + "]/custtel", getDataTemp[2]);
-
- model.refresh();
- }
- ]]>
- </script>
- </button>
- <button id="button1" class="btn5_letter2" style="left:785px; top:10px; width:42px; height:19px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.removenode("/root/send");
- model.makeValue("/root/send/savedata", grd_custlist.getUpdateData());
-
- submit("TXMNP02201");
- ]]>
- </script>
- </button>
- <!--(20101114) 경북대
- 기능없음
- <button id="button2" class="btn2_letter6" style="left:537px; top:10px; width:86px; height:19px; ">
- <caption>메모기준자료</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("SMMNP04420" ,"", "100", "100", "SMMNP04420", "", "");
-
- model.removenode("/root/send");
- model.makeValue("/root/send/reqdata/cdgrupid", "200");//메모기준자료
- model.makeValue("/root/send/reqdata/supcdid", "");//서브구분
- model.makeValue("/root/send/reqdata/cdid", "");//서브구분
- submit("TRMNP04903");
- ]]>
- </script>
- </button>
- -->
- <button id="button3" class="btn2_letter5" style="left:706px; top:10px; width:75px; height:19px; ">
- <caption>거래처삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if( grd_custlist.row < 1 ) {
- messageBox("삭제할 거래처를 선택하십시요.!", "E000");
- return;
- }
- grd_custlist.rowStatus(grd_custlist.row) = 4;
- model.refresh();
- ]]>
- </script>
- </button>
- </xhtml:body>
- </xhtml:html>
|