1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021 |
- <?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>
- <custlist>
- </custlist>
- <racmcust>
- <entrregno/>
- <custnm/>
- <cmpynm/>
- <fromdd/>
- <todd/>
- <prsdnm/>
- <rrgstno/>
- <custstat/>
- <bizcont/>
- <item/>
- <mainbizitem/>
- <oldentrregno/>
- <custflag/>
- <instflag/>
- <zipcd/>
- <zipcd1/>
- <zipcd2/>
- <zipcdseqno/>
- <supaddr/>
- <infaddr/>
- <cntctel/>
- <faxno/>
- <emailaddr/>
- <homepgaddr/>
- <bankcd/>
- <banknm/>
- <depor/>
- <paycond/>
- <aactno/>
- <cmt/>
- <acntchrgnm/>
- <acntchrgtelno/>
- <acntchrgmpphonno/>
- <acntchrgemailaddr/>
- <statflag/>
- <modifytodd/>
- <fstrgstrid/>
- <fstrgstrnm/>
- <fstrgstdt/>
- <lastupdtrid/>
- <lastupdtrnm/>
- <lastupdtdt/>
- <prntseqno/>
- <seizureyn/>
- <purcuseyn/>
- <nutruseyn/>
- <pharmuseyn/>
- <ctmsuseyn/>
- <seizurecmt/>
- <seizurepaydd/>
- </racmcust>
- <racdcustlist>
- </racdcustlist>
- </main>
- <send>
- <custlist>
- <entrregno/>
- <todd/>
- </custlist>
- <save>
- <racmcust/>
- <racdcustlist/>
- </save>
- <retrlist>
- <entrregno/>
- <custnm/>
- <custflag/>
- <custstat/>
- <todd/>
- <insertfromdd>20080301</insertfromdd>
- <inserttodd/>
- <purcuseyn/>
- <nutruseyn/>
- <pharmuseyn/>
- </retrlist>
- <data3>
- <instcd/>
- <mngtcd/>
- </data3>
- </send>
- <init>
- <init_R0015list>
- <item>
- <label>법인사업자</label>
- <value>1</value>
- </item>
- <item>
- <label>일반과세자</label>
- <value>2</value>
- </item>
- <item>
- <label>간이과세자</label>
- <value>3</value>
- </item>
- <item>
- <label>과세특례자</label>
- <value>4</value>
- </item>
- </init_R0015list>
- <R0015list>
- <R0015>
- <cdnm/>
- <cdid/>
- </R0015>
- </R0015list>
- <R0025list>
- <R0025>
- <cdnm/>
- <cdid/>
- </R0025>
- </R0025list>
- <custflaglist>
- <custflag>
- <cdid/>
- <cdnm/>
- </custflag>
- <custflag>
- <cdid>1</cdid>
- <cdnm>매입처</cdnm>
- </custflag>
- <custflag>
- <cdid>2</cdid>
- <cdnm>매출처</cdnm>
- </custflag>
- <custflag>
- <cdid>3</cdid>
- <cdnm>매입/매출처</cdnm>
- </custflag>
- <custflag>
- <cdid>4</cdid>
- <cdnm>기타</cdnm>
- </custflag>
- </custflaglist>
- <code>
- <codelist/>
- </code>
- <R0001list>
- <R0001/>
- </R0001list>
- </init>
- <hidden>
- <return>
- <custcnt/>
- </return>
- </hidden>
- <temp>
- <racdcustlist/>
- <condition>
- <tempcreate/>
- </condition>
- </temp>
- </root>
- </instance>
- <submission id="TRZBC00101" method="urlencoded-post" replace="instance"/>
- <submission id="TRRAS00160" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/retrlist" resultref="/root/main/custlist"/>
- <submission id="TRRAS00170" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/custlist" resultref="/root/main/racmcust"/>
- <submission id="TXRAS00150" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/hidden"/>
- <submission id="TRRAS00110" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data3" resultref="/root/init/code/codelist"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fCheckAuth();
- fInitialize();
- ]]>
- </script>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.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="../../../mis/miscommonweb/js/RAC001.js"/>
- <script type="javascript" src="../../../mis/acntcommonweb/js/RAD001.js"/>
- <script type="javascript">
- <![CDATA[
- var acntdept = "";
-
- //========================================================================================
- //화면 권한 체크
- //========================================================================================
- function fCheckAuth() {
- btn_search.disabled = !checkAuth("R") ;
- btn_save.disabled = !checkAuth("X") ;
- }
-
- //========================================================================================
- //초기화
- //========================================================================================
- function fInitialize() {
- var instcd = getUserInfo("dutplceinstcd");
- var deptcd = getUserInfo("dutplcecd");
-
-
-
- model.setValue(ipt_inserttodd.attribute("ref"), getCurrentDate().toString());
-
- chk_ctmsuseyn
-
- // 은행코드 조회
- zbcfGetCodeList(new Array("R0001"), new Array("/root/init/R0001list"));
-
- model.refresh();
-
- model.setValue("/root/send/data3/instcd", instcd);
-
-
- model.setValue("/root/send/data3/mngtcd", "acntdept");
- submit("TRRAS00110");
- var acntdept = model.getValue("/root/init/code/code/codelist[1]/cdid");
- model.removenode("/root/init/code/code/codelist[1]/cdid")
-
- model.setValue("/root/send/data3/mngtcd", "custaactnomodifydeptcd");
- submit("TRRAS00110");
- var purchasedept = model.getValue("/root/init/code/code/codelist[1]/cdid");
- model.removenode("/root/init/code/code/codelist[1]/cdid")
-
- if (instance1.selectNodes("root/init/code/code/codelist").length != 0)
- {
-
-
- if (deptcd != acntdept && deptcd != purchasedept)
- {
- ipt_bankcd.disabled = true;
- btn_bankhelp.disabled = true;
- ipt_banknm.disabled = true;
- ipt_depor.disabled = true;
- ipt_paycond.disabled = true;
- ipt_aactno.disabled = true;
- chk_seizureyn.disabled = true;
- chk_tempcreate.disabled = true;
- }
- }
-
- // model.setValue("/root/send/retrlist/custflag","1");
- model.setValue("/root/send/retrlist/custstat","1");
- model.removenode("/root/main/custlist");
- model.copyNode("/root/temp/racdcustlist", "/root/main/racdcustlist");
- model.removenode("/root/main/racdcustlist");
- //콩통코드 자료
- zbcfGetCodeList(new Array("R0015"), new Array("/root/init/R0015list"));
- zbcfGetCodeList(new Array("R0025"), new Array("/root/init/R0025list"));
- model.setValue("/root/main/racmcust/custstat", "1");
- model.setValue("/root/main/racmcust/statflag","u");
- ipt_entrregno2.disabled = true;
- //ipt_todd.disabled = true;
- misfMsterDetailSet(grd_custlist, null, "TRRAS00160", "N");
- misfMsterDetailSet(grd_racdcustlist, grd_custlist, "TRRAS00170", "Y");
-
- misfMsterDetailRetrieve();
- model.refresh();
- }
-
- //========================================================================================
- //우편번호 Help Open
- //========================================================================================
- function fOpenPopupZipHelp(pControl, pInstance)
- {
- //04 우편번호 Helper
- misfOpenPopUpList("04", pControl, "", pInstance);
- var sZipcd = model.getValue("/root/main/racmcust/zipcd1") + '-' + model.getValue("/root/main/racmcust/zipcd2");
- model.setValue("/root/main/racmcust/zipcd", sZipcd);
- model.refresh();
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="1,1195;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:230px; height:14px; ">거래처 관리</caption>
- <caption id="caption4" class="patient_text_black" style="left:922px; top:0px; width:272px; "/>
- </group>
- <group id="group3" scroll="auto" style="left:0px; top:40; width:1195px; height:744px; ">
- <datagrid id="grd_custlist" nodeset="/root/main/custlist" caption="사업자등록번호^거래처명^시작일자^종료일자^상호명^대표자명^업태^종목^우편번호^주소1^주소2^전화번호^팩스번호^은행명^계좌번호^예금주^거래처번호유효성" colsep="^" colwidth="118, 208, 90, 90, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:1px; top:144px; width:558px; height:574px; ">
- <col class="text_center" ref="entrregno" format="999-99-99999"/>
- <col ref="custnm"/>
- <col class="text_center" ref="fromdd" format="yyyy-mm-dd"/>
- <col class="text_center" ref="todd" format="yyyy-mm-dd"/>
- <col ref="custnm" visibility="hidden"/>
- <col ref="prsdnm" visibility="hidden"/>
- <col ref="bizcont" visibility="hidden"/>
- <col ref="item" visibility="hidden"/>
- <col ref="zipcd1" visibility="hidden"/>
- <col ref="supaddr" visibility="hidden"/>
- <col ref="infaddr" visibility="hidden"/>
- <col ref="cntctel" visibility="hidden"/>
- <col ref="faxno" visibility="hidden"/>
- <col disabled="true" ref="bankcd" type="combo">
- <choices>
- <itemset nodeset="/root/init/R0001list/R0001">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="aactno"/>
- <col ref="depor"/>
- <col ref="validyn" visibility="hidden"/>
- <script type="javascript" ev:event="onrowchanged">
- <![CDATA[
-
- model.removeNodeset("/root/main/racdcustlist");
- model.setValue("/root/send/custlist/entrregno", grd_custlist.valueMatrix(grd_custlist.row, grd_custlist.colRef("entrregno")));
- model.setValue("/root/send/custlist/todd", grd_custlist.valueMatrix(grd_custlist.row, grd_custlist.colRef("todd")));
- misfMsterDetailRetrieve();
- model.makeNode("/root/main/racmcust/statflag");
- model.setValue("/root/main/racmcust/statflag", "u");
- misfSetReadOnlyCol(grd_racdcustlist, "goodflag");
- ipt_entrregno2.disabled = true;
- //ipt_todd.disabled = true;
- model.refresh();
- grd_racdcustlist.rebuild();
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_custlist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <line id="line1" class="line_1" style="x1:0px; y1:138px; x2:558px; y2:138px; "/>
- <group id="group4" style="left:0px; top:7px; width:558px; height:107px; vertical-align:top; ">
- <shape id="roundrect2" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:558px; height:107px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption5" class="search_name" style="left:6px; top:9px; width:125px; height:17px; ">사업자등록번호 :</caption>
- <caption id="caption1" class="search_name" style="left:6px; top:34px; width:126px; height:17px; ">거래 상태 :</caption>
- <button id="btn_regnohelp" class="icon_search" style="left:246px; top:10px; width:16px; height:16px; text-align:center; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- misfOpenPopUpList("14", ipt_entrregno, "", "entrregno,custnm", cmb_custstat.value, "custuseyn");
- model.refresh();
-
- ]]>
- </script>
- </button>
- <input id="ipt_entrregno" ref="/root/send/retrlist/entrregno" class="input_s_essential" navindex="1" format="999-99-99999" style="left:135px; top:8px; width:105px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == 13)
- {
- // racfCustValidCheck("entrregno,custnm", "code");
- ipt_entrregno.value = ipt_entrregno.currentText;
- btn_search.dispatch("DOMActivate");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- // racfCustValidCheck("entrregno,custnm", "code");
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </input>
- <input id="ipt_custnm" ref="/root/send/retrlist/custnm" class="input_s_essential" navindex="2" style="left:266px; top:8px; width:194px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == 13)
- {
- // racfCustValidCheck("entrregno,custnm", "name");
- ipt_custnm.value = ipt_custnm.currentText;
- btn_search.dispatch("DOMActivate");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- // racfCustValidCheck("entrregno,custnm", "name");
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </input>
- <select1 id="cmb_custstat" ref="/root/send/retrlist/custstat" class="combo_s_essential" navindex="4" appearance="minimal" style="left:135px; top:33px; width:105px; height:19px; text-align:center; ">
- <choices>
- <item>
- <label>거래중</label>
- <value>1</value>
- </item>
- <item>
- <label>거래종료</label>
- <value>2</value>
- </item>
- </choices>
- </select1>
- <button id="btn_search" class="btn1_letter2" navindex="3" style="left:487px; top:19px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- model.removeNodeset(grd_custlist.nodeset);
- grd_custlist.refresh();
- misfMsterDetailRetrieve();
-
- for(var i = grd_custlist.fixedRows ; i <= grd_custlist.rows ; i ++)
- {
- if(grd_custlist.valueMatrix(i, grd_custlist.colRef("fromdd")) >= grd_custlist.valueMatrix(i, grd_custlist.colRef("todd")))
- {
- grd_custlist.rowStyle(i, "data", "background-color") = "#00ffff";
- }
- }
- model.refresh();
- ]]>
- </script>
- </button>
- <line id="line30" class="line_4" style="x1:471px; y1:8px; x2:471px; y2:51px; "/>
- <caption id="caption9" class="search_name" style="left:250px; top:34px; width:95px; height:17px; ">종료일자 :</caption>
- <input id="ipt_unsldd" ref="/root/send/retrlist/todd" class="input_s_essential" navindex="5" inputtype="date" style="left:340px; top:33px; width:120px; height:19px; "/>
- <input id="ipt_insertfromdd" ref="/root/send/retrlist/insertfromdd" class="input_s_essential" navindex="6" inputtype="date" style="left:135px; top:58px; width:105px; height:19px; "/>
- <caption id="caption12" class="search_name" style="left:6px; top:59px; width:134px; height:17px; ">최초입력일자 :</caption>
- <input id="ipt_inserttodd" ref="/root/send/retrlist/inserttodd" class="input_s_essential" navindex="7" inputtype="date" style="left:266px; top:58px; width:105px; height:19px; "/>
- <caption id="caption13" style="left:247px; top:63px; width:20px; height:15px; ">~</caption>
- <caption id="caption15" class="search_name" style="left:6px; top:84px; width:134px; height:17px; ">업무구분 :</caption>
- <select1 id="combo1" ref="/root/send/retrlist/purcuseyn" class="combo_s_essential" navindex="8" appearance="minimal" style="left:190px; top:83px; width:70px; height:19px; text-align:center; ">
- <choices>
- <item>
- <label>전체</label>
- <value/>
- </item>
- <item>
- <label>사용</label>
- <value>Y</value>
- </item>
- <item>
- <label>사용않함</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <caption id="caption16" style="left:150px; top:85px; width:40px; height:15px; font-weight:bold; text-align:center; ">구매</caption>
- <caption id="caption17" style="left:279px; top:85px; width:40px; height:15px; font-weight:bold; text-align:center; ">영양</caption>
- <caption id="caption18" style="left:408px; top:85px; width:40px; height:15px; font-weight:bold; text-align:center; ">약국</caption>
- <select1 id="combo2" ref="/root/send/retrlist/pharmuseyn" class="combo_s_essential" navindex="10" appearance="minimal" style="left:450px; top:83px; width:70px; height:19px; text-align:center; ">
- <choices>
- <item>
- <label>전체</label>
- <value/>
- </item>
- <item>
- <label>사용</label>
- <value>Y</value>
- </item>
- <item>
- <label>사용않함</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <select1 id="combo3" ref="/root/send/retrlist/nutruseyn" class="combo_s_essential" navindex="9" appearance="minimal" style="left:320px; top:83px; width:70px; height:19px; text-align:center; ">
- <choices>
- <item>
- <label>전체</label>
- <value/>
- </item>
- <item>
- <label>사용</label>
- <value>Y</value>
- </item>
- <item>
- <label>사용않함</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- </group>
- <line id="line4" class="line_1" style="x1:561px; y1:25px; x2:1188px; y2:25px; "/>
- <line id="line13" class="line_2" style="x1:562px; y1:52px; x2:1194px; y2:52px; "/>
- <input id="ipt_entrregno2" ref="/root/main/racmcust/entrregno" class="input_essential" navindex="14" format="999-99-99999" style="left:698px; top:31px; width:175px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(radfcheckCustExist(getUserInfo("dutplceinstcd"), ipt_entrregno2.value, "Y") != "")
- {
- model.setValue("/root/send/custlist/entrregno", ipt_entrregno2.value);
- submit("TRRAS00170");
- model.setValue("/root/main/racmcust/statflag", "u");
- ipt_entrregno2.disabled = false;
- }
- ]]>
- </script>
- </input>
- <caption id="cap_entrregno" class="cell_1" style="left:561px; top:29px; width:135px; height:23px; text-align:left; vertical-align:middle; ">사업자등록번호</caption>
- <line id="line5" class="line_2" style="x1:563px; y1:77px; x2:1195px; y2:77px; "/>
- <input id="ipt_custnm2" ref="/root/main/racmcust/custnm" class="input_essential" navindex="15" style="left:698px; top:56px; width:315px; height:19px; "/>
- <caption id="cap_custnm" class="cell_1" style="left:561px; top:54px; width:135px; height:23px; text-align:left; vertical-align:middle; ">거래처명</caption>
- <caption id="cap_fromdd" class="cell_1" style="left:561px; top:79px; width:135px; height:23px; text-align:left; vertical-align:middle; ">상호명</caption>
- <line id="line6" class="line_2" style="x1:562px; y1:102px; x2:1194px; y2:102px; "/>
- <caption id="cap_prsdnm" class="cell_1" style="left:561px; top:128px; width:135px; height:23px; text-align:left; vertical-align:middle; ">대표자명</caption>
- <line id="line8" class="line_2" style="x1:562px; y1:151px; x2:1194px; y2:151px; "/>
- <input id="ipt_prsdnm" ref="/root/main/racmcust/prsdnm" class="input_default" navindex="19" style="left:698px; top:130px; width:175px; height:19px; "/>
- <line id="line9" class="line_2" style="x1:563px; y1:176px; x2:1195px; y2:176px; "/>
- <input id="ipt_rrgstno" ref="/root/main/racmcust/rrgstno" class="input_default" navindex="20" format="999999-9999999" style="left:1014px; top:130px; width:175px; height:19px; "/>
- <caption id="cap_rrgstno" class="cell_1" style="left:877px; top:128px; width:135px; height:23px; text-align:left; vertical-align:middle; ">주민등록번호</caption>
- <line id="line10" class="line_3" style="x1:561px; y1:201px; x2:1193px; y2:201px; "/>
- <caption id="cap_custstat" class="cell_1" style="left:561px; top:153px; width:135px; height:23px; text-align:left; vertical-align:middle; ">거래상태</caption>
- <line id="line11" class="line_3" style="x1:561px; y1:179px; x2:1193px; y2:179px; "/>
- <line id="line14" class="line_3" style="x1:561px; y1:277px; x2:1193px; y2:277px; "/>
- <input id="ipt_mainbizitem" ref="/root/main/racmcust/mainbizitem" class="input_default" navindex="25" style="left:698px; top:207px; width:175px; height:19px; "/>
- <caption id="cap_bizcont" class="cell_1" style="left:561px; top:180px; width:135px; height:23px; text-align:left; vertical-align:middle; ">업태</caption>
- <line id="line15" class="line_2" style="x1:560px; y1:227px; x2:1192px; y2:227px; "/>
- <input id="ipt_item" ref="/root/main/racmcust/item" class="input_default" navindex="24" style="left:1014px; top:182px; width:175px; height:19px; "/>
- <line id="line16" class="line_2" style="x1:559px; y1:252px; x2:1190px; y2:252px; "/>
- <line id="line17" class="line_3" style="x1:561px; y1:280px; x2:1193px; y2:280px; "/>
- <input id="ipt_supaddr" ref="/root/main/racmcust/supaddr" class="input_default" navindex="34" style="left:698px; top:308px; width:491px; height:19px; "/>
- <line id="line18" class="line_2" style="x1:560px; y1:354px; x2:1192px; y2:354px; "/>
- <line id="line19" class="line_2" style="x1:560px; y1:379px; x2:1192px; y2:379px; "/>
- <line id="line20" class="line_2" style="x1:560px; y1:304px; x2:1192px; y2:304px; "/>
- <line id="line21" class="line_2" style="x1:561px; y1:329px; x2:1193px; y2:329px; "/>
- <caption id="cap_zipcd" class="cell_1" style="left:561px; top:281px; width:135px; height:23px; text-align:left; vertical-align:middle; ">우편번호</caption>
- <input id="ipt_cntctel" ref="/root/main/racmcust/infaddr" class="input_default" navindex="35" style="left:698px; top:333px; width:340px; height:19px; "/>
- <input id="ipt_faxno" ref="/root/main/racmcust/faxno" class="input_default" navindex="37" style="left:1014px; top:358px; width:175px; height:19px; "/>
- <line id="line22" class="line_2" style="x1:560px; y1:532px; x2:1192px; y2:532px; "/>
- <line id="line23" class="line_2" style="x1:560px; y1:557px; x2:1192px; y2:557px; "/>
- <line id="line24" class="line_3" style="x1:561px; y1:480px; x2:1193px; y2:480px; "/>
- <caption id="cap_aactno" class="cell_1" style="left:561px; top:535px; width:135px; height:23px; text-align:left; vertical-align:middle; ">계좌번호</caption>
- <caption id="cap_cmt" class="cell_1" style="left:876px; top:535px; width:135px; height:23px; text-align:left; vertical-align:middle; ">비고</caption>
- <input id="ipt_cmt" ref="/root/main/racmcust/cmt" class="input_default" navindex="50" style="left:1014px; top:535px; width:175px; height:19px; "/>
- <caption id="cap_bankcd" class="cell_1" style="left:561px; top:484px; width:135px; height:23px; text-align:left; vertical-align:middle; ">은행</caption>
- <line id="line26" class="line_3" style="x1:561px; y1:483px; x2:1193px; y2:483px; "/>
- <caption id="cap_depor" class="cell_1" style="left:561px; top:509px; width:135px; height:23px; text-align:left; vertical-align:middle; ">예금주</caption>
- <line id="line29" class="line_2" style="x1:560px; y1:507px; x2:1192px; y2:507px; "/>
- <button id="btn_init" class="btn2_letter2" style="left:1147px; top:5px; width:42px; height:19px; ">
- <caption>신규</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.resetInstanceNode("/root/main/racmcust");
-
- for(var i=0; i<grd_racdcustlist.rows; i++)
- {
- model.removenode("/root/main/racdcustlist");
- }
-
- model.setValue("/root/main/racmcust/custstat", "1");
- model.setValue("/root/main/racmcust/statflag", "i");
-
- model.setValue("/root/main/racmcust/fromdd", getCurrentDate().toString());
- model.setValue("/root/main/racmcust/todd","99991231");
- model.setValue("/root/main/racmcust/modifytodd","99991231");
- ipt_entrregno2.disabled = false;
- ipt_todd.disabled = false;
-
- model.setFocus("ipt_entrregno2");
- model.refresh();
-
- ]]>
- </script>
- </button>
- <caption id="cap_mainbizitem" class="cell_1" style="left:561px; top:204px; width:135px; height:23px; text-align:left; vertical-align:middle; ">주거래종목</caption>
- <caption id="cap_custflag" class="cell_1" style="left:561px; top:229px; width:135px; height:23px; text-align:left; vertical-align:middle; ">거래처구분</caption>
- <caption id="cap_item" class="cell_1" style="left:877px; top:180px; width:135px; height:23px; text-align:left; vertical-align:middle; ">종목</caption>
- <caption id="cap_supaddr" class="cell_1" style="left:561px; top:306px; width:135px; height:23px; text-align:left; vertical-align:middle; ">주소</caption>
- <caption id="cap_infaddr" class="cell_1" style="left:561px; top:331px; width:135px; height:23px; text-align:left; vertical-align:middle; ">상세주소</caption>
- <caption id="cap_faxno" class="cell_1" style="left:877px; top:356px; width:135px; height:23px; text-align:left; vertical-align:middle; ">팩스번호</caption>
- <caption id="cap_emailaddr" class="cell_1" style="left:561px; top:381px; width:135px; height:23px; text-align:left; vertical-align:middle; ">이메일주소</caption>
- <line id="line3" class="line_2" style="x1:560px; y1:403px; x2:1192px; y2:403px; "/>
- <caption id="cap_homepgaddr" class="cell_1" style="left:561px; top:405px; width:135px; height:23px; text-align:left; vertical-align:middle; ">홈페이지주소</caption>
- <line id="line31" class="line_3" style="x1:561px; y1:428px; x2:1193px; y2:428px; "/>
- <caption id="cap_acntchrgemailaddr" class="cell_1" style="left:877px; top:457px; width:135px; height:23px; text-align:left; vertical-align:middle; ">거래담당자이메일</caption>
- <input id="ipt_acntchrgemailaddr" ref="/root/main/racmcust/acntchrgemailaddr" class="input_default" navindex="44" style="left:1014px; top:459px; width:175px; height:19px; "/>
- <line id="line32" class="line_3" style="x1:561px; y1:582px; x2:1193px; y2:582px; "/>
- <caption id="cap_acntchrgnm" class="cell_1" style="left:561px; top:432px; width:135px; height:23px; text-align:left; vertical-align:middle; ">거래담당자명</caption>
- <caption id="cap_acntchrgtelno" class="cell_1" style="left:877px; top:432px; width:135px; height:23px; text-align:left; vertical-align:middle; ">거래담당자전화번호</caption>
- <line id="line33" class="line_2" style="x1:560px; y1:455px; x2:1192px; y2:455px; "/>
- <caption id="cap_acntchrgmpphonno" class="cell_1" style="left:561px; top:457px; width:135px; height:23px; text-align:left; vertical-align:middle; ">거래담당자휴대폰</caption>
- <input id="ipt_acntchrgmpphonno" ref="/root/main/racmcust/acntchrgmpphonno" class="input_default" navindex="43" style="left:698px; top:459px; width:175px; height:19px; "/>
- <input id="ipt_acntchrgtelno" ref="/root/main/racmcust/acntchrgtelno" class="input_default" navindex="42" style="left:1014px; top:434px; width:175px; height:19px; "/>
- <input id="ipt_acntchrgnm" ref="/root/main/racmcust/acntchrgnm" class="input_default" navindex="41" style="left:698px; top:434px; width:175px; height:19px; "/>
- <input id="ipt_aactno" ref="/root/main/racmcust/aactno" class="input_default" navindex="49" style="left:698px; top:535px; width:172px; height:19px; "/>
- <input id="ipt_depor" ref="/root/main/racmcust/depor" class="input_default" navindex="47" style="left:698px; top:511px; width:172px; height:19px; "/>
- <input id="ipt_bankcd" ref="/root/main/racmcust/bankcd" class="input_default" navindex="45" style="left:698px; top:486px; width:115px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
-
- if(event.keyCode == 13)
- {
- ipt_bankcd.value = ipt_bankcd.currentText.substr(0, 2);
-
- misfValidationCheck("03", "R0001", "bankcd,banknm");
- model.refresh();
- }
-
- ]]>
- </script>
- </input>
- <input id="ipt_banknm" ref="/root/main/racmcust/banknm" class="input_default" navindex="46" style="left:835px; top:486px; width:180px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == 13)
- {
- ipt_banknm.value = ipt_banknm.currentText.substr(0, 2);
-
- misfValidationCheck("03", "R0001", "bankcd,banknm");
- model.refresh();
- }
- ]]>
- </script>
- </input>
- <input id="ipt_emailaddr" ref="/root/main/racmcust/emailaddr" class="input_default" navindex="38" style="left:698px; top:383px; width:175px; height:19px; "/>
- <input id="ipt_homepgaddr" ref="/root/main/racmcust/homepgaddr" class="input_default" navindex="40" style="left:698px; top:407px; width:317px; height:19px; "/>
- <button id="button1" class="icon_search" style="left:816px; top:285px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fOpenPopupZipHelp(opt_zipcd1,"zipcd1,zipcd2,supaddr,zipcdseqno");
-
- ]]>
- </script>
- </button>
- <input id="ipt_zipcd" ref="/root/main/racmcust/zipcd" class="input_default" navindex="33" style="left:698px; top:283px; width:115px; height:19px; "/>
- <select1 id="cmb_custflag2" ref="/root/main/racmcust/custflag" class="combo_essential" navindex="27" appearance="minimal" style="left:698px; top:231px; width:175px; height:19px; ">
- <choices>
- <item>
- <label/>
- <value/>
- </item>
- <item>
- <label>매입처</label>
- <value>1</value>
- </item>
- <item>
- <label>매출처</label>
- <value>2</value>
- </item>
- <item>
- <label>매입/매출처</label>
- <value>3</value>
- </item>
- <item>
- <label>기타</label>
- <value>4</value>
- </item>
- </choices>
- </select1>
- <input id="ipt_bizcont" ref="/root/main/racmcust/bizcont" class="input_default" navindex="23" style="left:698px; top:182px; width:175px; height:19px; "/>
- <input id="ipt_fromdd" ref="/root/main/racmcust/fromdd" class="input_essential" navindex="17" inputtype="date" style="left:698px; top:105px; width:135px; height:19px; "/>
- <select1 id="rdo_custstat2" ref="/root/main/racmcust/custstat" navindex="21" overflow="visible" appearance="full" cellspacing="50" cols="2" style="left:698px; top:155px; width:182px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>거래중</label>
- <value>1</value>
- </item>
- <item>
- <label>거래종료</label>
- <value>2</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- // if(rdo_custstat2.value == "1")
- // {
- // ipt_todd.disabled = true;
- // }
- // else
- // {
- // ipt_todd.disabled = false;
- // }
- ]]>
- </script>
- </select1>
- <caption id="caption35" class="tit_2" style="left:5px; top:121px; width:118px; height:13px; ">거래처 목록</caption>
- <caption id="caption36" class="tit_2" style="left:567px; top:10px; width:118px; height:13px; ">거래처 정보</caption>
- <button id="button3" class="btn2_letter4" navindex="13" style="left:495px; top:117px; width:64px; height:19px; text-align:left; ">
- <caption>엑셀출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfSaveExcel(grd_custlist);
-
- ]]>
- </script>
- </button>
- <line id="line28" class="line_3" style="x1:561px; y1:431px; x2:1193px; y2:431px; "/>
- <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:561px; top:635px; width:632px; height:84px; ">
- <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" ref="chrgtoyn" type="checkbox"/>
- <col ref="chrgnm" type="input"/>
- <col ref="chrgtel" type="input"/>
- <col ref="chrgmpphon" type="input"/>
- <col ref="chrgemailaddr" type="input"/>
- <col ref="chrgplce" type="input"/>
- <col ref="chrgbiz" type="input"/>
- <col ref="chrgseq"/>
- <col ref="cmt" type="input"/>
- </datagrid>
- <caption id="cap_todd" class="cell_1" style="left:561px; top:104px; width:135px; height:23px; text-align:left; vertical-align:middle; ">시작일자</caption>
- <line id="line7" class="line_2" style="x1:562px; y1:126px; x2:1194px; y2:126px; "/>
- <input id="ipt_todd" ref="/root/main/racmcust/modifytodd" class="input_essential" navindex="18" inputtype="date" style="left:1014px; top:105px; width:135px; height:19px; "/>
- <caption id="cap_instflag" class="cell_1" style="left:877px; top:229px; width:135px; height:23px; text-align:left; vertical-align:middle; ">법인구분</caption>
- <select1 id="cmb_instflag" ref="/root/main/racmcust/instflag" class="combo_essential" navindex="28" appearance="minimal" style="left:1014px; top:231px; width:175px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/init_R0015list/item">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select1>
- <caption id="cap_oldentrregno" class="cell_1" style="left:877px; top:204px; width:135px; height:23px; text-align:left; vertical-align:middle; ">승계구거래처번호</caption>
- <input id="ipt_oldentrregno" ref="/root/main/racmcust/oldentrregno" class="input_default" navindex="26" style="left:1014px; top:206px; width:175px; height:19px; "/>
- <caption id="cap_cntctel" class="cell_1" style="left:561px; top:356px; width:135px; height:23px; text-align:left; vertical-align:middle; ">전화번호</caption>
- <input id="input1" ref="/root/main/racmcust/cntctel" class="input_default" navindex="36" style="left:698px; top:358px; width:175px; height:19px; "/>
- <button id="but_grddel" class="btn2_letter3" navindex="55" style="left:1137px; top:613px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfGridIUD(grd_racdcustlist, "D");
- ]]>
- </script>
- </button>
- <button id="but_grdinst" class="btn2_letter3" navindex="54" style="left:1081px; top:613px; width:53px; height:19px; ">
- <caption>행삽입</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- if(ipt_entrregno2.value.replace(" ", "") == "")
- {
- messageBox("사업자등록번호가 ", "I004");
- return;
- }
- misfGridIUD(grd_racdcustlist, "I");
- grd_racdcustlist.valueMatrix(grd_racdcustlist.row, grd_racdcustlist.colRef("entrregno")) = ipt_entrregno2.value;
- model.refresh();
- ]]>
- </script>
- </button>
- <output id="opt_zipcdseqno" ref="/root/main/racmcust/zipcdseqno" visibility="hidden" style="left:860px; top:284px; width:10px; height:19px; text-align:left; "/>
- <output id="opt_zipcd1" ref="/root/main/racmcust/zipcd1" visibility="hidden" style="left:840px; top:284px; width:10px; height:19px; text-align:left; "/>
- <output id="opt_zipcd2" ref="/root/main/racmcust/zipcd2" visibility="hidden" style="left:850px; top:284px; width:10px; height:19px; text-align:left; "/>
- <caption id="cap_paycond" class="cell_1" style="left:876px; top:509px; width:135px; height:23px; text-align:left; vertical-align:middle; ">지불조건</caption>
- <input id="ipt_paycond" ref="/root/main/racmcust/paycond" class="input_default" navindex="48" format="9" style="left:1014px; top:511px; width:121px; height:19px; text-align:right; "/>
- <button id="btn_bankhelp" class="icon_search" style="left:816px; top:487px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfOpenPopUpList("03", ipt_bankcd, "R0001", "bankcd,banknm");
- model.refresh()
-
- ]]>
- </script>
- </button>
- <caption id="caption2" class="cell_1" style="left:877px; top:104px; width:135px; height:23px; text-align:left; vertical-align:middle; ">종료일자</caption>
- <input id="ipt_cmpynm" ref="/root/main/racmcust/cmpynm" class="input_essential" navindex="16" style="left:698px; top:80px; width:315px; height:19px; "/>
- <caption id="caption8" class="cell_1" visibility="hidden" style="left:877px; top:153px; width:135px; height:23px; text-align:left; vertical-align:middle; ">기존종료일자</caption>
- <input id="input2" ref="/root/main/racmcust/todd" class="input_essential" navindex="22" visibility="hidden" inputtype="date" style="left:1014px; top:154px; width:135px; height:19px; "/>
- <button id="button2" class="btn2_letter4" navindex="12" style="left:425px; top:117px; width:64px; height:19px; text-align:left; ">
- <caption>엑셀입력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("SPRAC00610");
-
- ]]>
- </script>
- </button>
- <button id="btn_del" class="btn4_letter2" visibility="hidden" style="left:1139px; top:485px; width:56px; height:22px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 1개일때도 삭제됨 검증 필요
- if(ipt_entrregno2.value != "" && ipt_todd.value != "" && model.getValue("/root/main/racmcust/statflag") != "i")
- {
- ret = messageBox("삭제하시겠습니까?","Q999");
- if (ret == "6")
- {
- model.setValue("/root/main/racmcust/statflag", "d");
- model.copyNode("/root/send/save/racmcust", "/root/main/racmcust");
-
- for(var i = grd_racdcustlist.fixedRows ; i < grd_racdcustlist.rows ; i++)
- {
- grd_racdcustlist.rowStatus(i) = 4;
- }
- model.setValue("/root/send/save/racdcustlist", grd_racdcustlist.getUpdateData());
-
- misfSave("TXRAS00150");
-
- if(model.getValue("/root/hidden/return/custcnt") == "1")
- {
- messageBox("거래처가 1개 존재합니다.\n삭제할 수 없습니다.","I000");
- }
- else
- {
- btn_search.dispatch("DOMActivate");
- }
-
- //btn_search.dispatch("DOMActivate");
- }
- }
-
- ]]>
- </script>
- </button>
- <input id="input3" ref="/root/main/racmcust/fstrgstrid" class="input_default" editable="false" style="left:697px; top:587px; width:98px; height:19px; text-align:center; vertical-align:middle; "/>
- <caption id="caption7" class="cell_1" style="left:560px; top:585px; width:135px; height:23px; text-align:left; vertical-align:middle; ">최초작성자</caption>
- <caption id="caption10" class="cell_1" style="left:560px; top:610px; width:135px; height:23px; text-align:left; vertical-align:middle; ">최종작성자</caption>
- <input id="input4" ref="/root/main/racmcust/lastupdtrid" class="input_default" editable="false" style="left:697px; top:612px; width:98px; height:19px; text-align:center; vertical-align:middle; "/>
- <input id="input5" ref="/root/main/racmcust/fstrgstrnm" class="input_default" editable="false" style="left:800px; top:587px; width:98px; height:19px; text-align:center; vertical-align:middle; "/>
- <input id="input6" ref="/root/main/racmcust/lastupdtrnm" class="input_default" editable="false" style="left:800px; top:612px; width:98px; height:19px; text-align:center; vertical-align:middle; "/>
- <input id="input7" ref="/root/main/racmcust/fstrgstdt" class="input_default" editable="false" style="left:903px; top:587px; width:168px; height:19px; text-align:center; vertical-align:middle; "/>
- <input id="input8" ref="/root/main/racmcust/lastupdtdt" class="input_default" editable="false" style="left:903px; top:612px; width:168px; height:19px; text-align:center; vertical-align:middle; "/>
- <input id="ipt_prntseqno" ref="/root/main/racmcust/prntseqno" class="input_default" navindex="39" format="9999999999" style="left:1014px; top:383px; width:175px; height:19px; "/>
- <caption id="caption11" class="cell_1" style="left:877px; top:381px; width:135px; height:23px; text-align:left; vertical-align:middle; ">출력순서</caption>
- <select id="chk_seizureyn" ref="/root/main/racmcust/seizureyn" navindex="51" visibility="visible" overflow="visible" appearance="full" cellspacing="70" cols="4" style="left:700px; top:560px; width:75px; height:19px; border-style:none; ">
- <choices>
- <item>
- <label>압류여부</label>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- model.setValue("/root/main/racmcust/seizureyn", 'Y');
- ]]>
- </script>
- </select>
- <button id="button4" class="btn2_letter10" navindex="11" style="left:105px; top:117px; width:130px; height:19px; text-align:left; ">
- <caption>사업자등록번호 검사</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- openLoadingBar("작업중");
-
- for(var i = grd_custlist.fixedRows ; i <= grd_custlist.rows ; i++)
- {
- sEntrregno = grd_custlist.valueMatrix(i, grd_custlist.colRef("entrregno"));
- if(!radfBizCheck(sEntrregno))
- {
- grd_custlist.rowStyle(i, "data", "background-color") = "#ff99cc";
- model.setValue(grd_custlist.nodeset + "[" + i + "]/validyn", "N");
- }
- grd_custlist.refresh();
- }
-
- closeLoadingBar();
-
- ]]>
- </script>
- </button>
- <select id="chk_purcuseyn" ref="/root/main/racmcust/purcuseyn" navindex="29" overflow="visible" appearance="full" cellspacing="0" cols="4" style="left:700px; top:256px; width:95px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>구매 사용여부</label>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- model.setValue(chk_purcuseyn.attribute("ref"), 'Y');
- ]]>
- </script>
- </select>
- <select id="chk_nutruseyn" ref="/root/main/racmcust/nutruseyn" navindex="30" overflow="visible" appearance="full" cellspacing="0" cols="4" style="left:805px; top:256px; width:95px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>영양 사용여부</label>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- model.setValue(chk_nutruseyn.attribute("ref"), 'Y');
- ]]>
- </script>
- </select>
- <caption id="caption14" class="cell_1" style="left:561px; top:254px; width:135px; height:23px; text-align:left; vertical-align:middle; ">업무구분</caption>
- <select id="chk_pharmuseyn" ref="/root/main/racmcust/pharmuseyn" navindex="31" overflow="visible" appearance="full" cellspacing="0" cols="4" style="left:910px; top:256px; width:100px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>약국 사용여부</label>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- model.setValue(chk_pharmuseyn.attribute("ref"), 'Y');
- ]]>
- </script>
- </select>
- <caption id="caption19" class="cell_1" style="left:561px; top:560px; width:135px; height:19px; text-align:left; vertical-align:middle; ">압류</caption>
- <caption id="caption20" class="cell_1" style="left:785px; top:560px; width:85px; height:19px; text-align:left; vertical-align:middle; ">압류내용</caption>
- <input id="ipt_seizurecmt" ref="/root/main/racmcust/seizurecmt" class="input_default" navindex="52" style="left:875px; top:560px; width:140px; height:19px; "/>
- <caption id="caption21" class="cell_1" style="left:1020px; top:560px; width:70px; height:19px; text-align:left; vertical-align:middle; ">압류지급일</caption>
- <input id="ipt_seizurepaydd" ref="/root/main/racmcust/seizurepaydd" class="input_essential" navindex="53" inputtype="date" style="left:1090px; top:560px; width:99px; height:19px; "/>
- <button id="button5" class="icon_search" visibility="hidden" style="left:1017px; top:57px; width:16px; height:16px; text-align:center; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- setParameter("PPRAC00600_custnm", model.getValue("/root/main/racmcust/custnm") );
- modalUrl("../../../mis/miscommonweb/xrw/PPRAC00600_거래처코드HELP.xrw", 1, 0, 0, "", "", "");
- ]]>
- </script>
- </button>
- <select id="chk_tempcreate" ref="/root/temp/condition/tempcreate" overflow="visible" appearance="full" cellspacing="0" cols="4" style="left:1100px; top:488px; width:95px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>임시 생성</label>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- model.setValue(chk_purcuseyn.attribute("ref"), 'Y');
- ]]>
- </script>
- </select>
- <select id="chk_ctmsuseyn" ref="/root/main/racmcust/ctmsuseyn" navindex="32" overflow="visible" appearance="full" cellspacing="0" cols="4" style="left:1020px; top:256px; width:115px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>CTMS 사용여부</label>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- model.setValue(chk_ctmsuseyn.attribute("ref"), 'Y');
- ]]>
- </script>
- </select>
- <caption id="caption3" style="left:1129px; top:513px; width:40px; height:15px; text-align:center; ">개월</caption>
- </group>
- <group id="group2" scroll="auto" style="left:0px; top:13; width:1195px; height:27px; ">
- <button id="btn_save" class="btn4_letter2" navindex="57" style="left:1136px; top:3; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(!isRequiredControls("ipt_entrregno2","ipt_custnm2","ipt_fromdd","ipt_todd","cmb_custflag2"))
- {
- return false;
- }
-
- sEntrregno = model.getValue("/root/main/racmcust/entrregno");
- /*if(!radfBizCheck(sEntrregno) && model.getValue("/root/temp/condition/tempcreate") != "Y")
- {
- messageBox("틀린 사업자 번호 입니다.\n다시 확인하세요 ", "I000");
- return false;
- }*/
-
-
- model.copyNode("/root/send/save/racmcust", "/root/main/racmcust");
- // model.copyNode("/root/send/save/racdcustlist", "/root/main/racdcustlist");
- model.setValue("/root/send/save/racdcustlist", grd_racdcustlist.getUpdateData());
-
- if(misfSave("TXRAS00150"))
- {
- if(model.getValue("/root/main/racmcust/statflag") == "i")
- {
- messageBox("저장되었습니다.", "I000");
- }
- else if(model.getValue("/root/main/racmcust/statflag") == "u")
- {
- messageBox("수정되었습니다.", "I000");
- }
- }
-
- model.setValue("/root/main/racmcust/statflag", "u");
- ipt_entrregno2.disabled = true;
-
-
-
-
- ]]>
- </script>
- </button>
- <line id="line2" class="line_6" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
- <button id="button23" class="btn6_letter2" style="left:2; top:3; width:56px; height:22px; ">
- <caption>출력</caption>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|