123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189 |
- <?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>거래처DTI E-mail 관리</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <racdcustlist/>
- </main>
- <send>
- <condition>
- <instcd/>
- <entrregno/>
- <custnm/>
- </condition>
- </send>
- <init>
- <code>
- <codelist/>
- </code>
- </init>
- <temp/>
- <target/>
- </root>
- </instance>
- <submission id="TRRAC00602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/condition" resultref="/root/main/racmcust"/>
- </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="../../../mis/miscommonweb/js/MIS.js"/>
- <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/RAC001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize();
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- //========================================================================================
- //초기화
- //========================================================================================
- function fInitialize()
- {
- model.removeNodeset(grd_racdcustlist.nodeset);
- model.setValue("/root/send/condition/instcd", getUserInfo("dutplceinstcd"));
- model.setValue(ipt_entrregno.attribute("ref"), model.getValue("/root/target/condition/entrregno"));
- model.setValue(ipt_custnm.attribute("ref"), model.getValue("/root/target/condition/custnm"));
- misfMsterDetailSet(grd_racdcustlist, null, "TRRAC00602", "Y");
-
- model.refresh();
- btn_search.dispatch("DOMActivate");
- }
-
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="730" pageheight="480" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
- <group id="group1" style="left:0px; top:0px; width:710; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:190px; height:14px; ">거래처 DTI Email HELP</caption>
- </group>
- <group id="group2" scroll="auto" style="left:0px; top:12px; width:710px; height:432px; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:7px; width:710px; height:33px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption1" class="tit_2" style="left:10px; top:44px; width:190px; height:13px; ">거래처 DTI Email LIST</caption>
- <line id="line2" class="line_1" style="x1:0px; y1:58px; x2:710px; y2:58px; "/>
- <line id="line21" class="line_4" style="x1:629px; y1:34px; x2:629px; y2:11px; "/>
- <button id="btn_search" class="btn1_letter2" style="left:644px; top:14px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.removeNodeset(grd_racdcustlist.nodeset);
- misfMsterDetailRetrieve();
- ]]>
- </script>
- </button>
- <input id="ipt_custnm" ref="/root/send/condition/custnm" disabled="true" navindex="6" imemode="hangul" style="left:250px; top:14px; width:171px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == 13)
- {
- racfCustValidCheck("entrregno,custnm", "name");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- racfCustValidCheck("entrregno,custnm", "name");
- ]]>
- </script>
- </input>
- <button id="btn_entregnohelp" class="icon_search" disabled="true" style="left:230px; top:16px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- misfOpenPopUpList("14", ipt_entrregno, "", "entrregno,custnm");
- model.refresh();
-
- ]]>
- </script>
- </button>
- <input id="ipt_entrregno" ref="/root/send/condition/entrregno" disabled="true" navindex="5" format="999-99-99999" style="left:116px; top:14px; width:109px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == 13)
- {
- racfCustValidCheck("entrregno,custnm", "code");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- racfCustValidCheck("entrregno,custnm", "code");
- ]]>
- </script>
- </input>
- <caption id="caption7" class="search_name" style="left:15px; top:15px; width:100px; height:17px; ">거 래 처 :</caption>
- <datagrid id="grd_racdcustlist" nodeset="/root/main/racdcustlist" caption="사업자등록번호^종료일자^물품 구분^담당종료^담당자명^담당자 전화번호^담당자 휴대폰^담당자 이메일주소^담당직위^담당업무^담당순번^비고" colsep="^" colwidth="0, 0, 118, 55, 73, 97, 110, 126, 63, 87, 0, 122" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" navindex="56" style="left:0px; top:63px; width:708px; height:367px; ">
- <col ref="entrregno"/>
- <col ref="todd"/>
- <col ref="goodflag" type="combo" _key="true" style="left:20px; top:23px; width:118px; height:23px; ">
- <choices>
- <itemset nodeset="/root/init/R0025list/R0025">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col checkvalue="Y,N" disabled="true" ref="chrgtoyn" type="checkbox" visibility="visible"/>
- <col ref="chrgnm"/>
- <col ref="chrgtel"/>
- <col ref="chrgmpphon"/>
- <col ref="chrgemailaddr"/>
- <col ref="chrgplce"/>
- <col ref="chrgbiz"/>
- <col ref="chrgseq"/>
- <col ref="cmt"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- btn_confirm.dispatch("DOMActivate");
- ]]>
- </script>
- </datagrid>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:449px; width:710px; height:27px; ">
- <line id="line1" class="line_6" style="x1:0px; y1:0px; x2:610px; y2:-10px; "/>
- <button id="btn_close" class="btn4_letter2" style="left:644px; top:2px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- window.close();
- ]]>
- </script>
- </button>
- <button id="btn_confirm" class="btn4_letter2" style="left:586px; top:2px; width:56px; height:22px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(grd_racdcustlist.valueMatrix(grd_racdcustlist.row, grd_racdcustlist.colRef("chrgtoyn")) == "Y") { messageBox("사용하지 않는 담당자 입니다.", "I000"); return false;};
-
- var receiveref = model.getValue("/root/target/receiveref");
-
- opener.model.setValue(receiveref + "/chrgnm", grd_racdcustlist.valueMatrix(grd_racdcustlist.row, grd_racdcustlist.colRef("chrgnm")));
- opener.model.setValue(receiveref + "/chrgemailaddr", grd_racdcustlist.valueMatrix(grd_racdcustlist.row, grd_racdcustlist.colRef("chrgemailaddr")));
-
- window.close();
-
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|