123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175 |
- <?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>
- <rscmpcomlist/>
- </main>
- <send>
- <prodcmpynm/>
- </send>
- <init/>
- <hidden/>
- <temp/>
- </root>
- </instance>
- <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/miscommonweb/js/RSZ001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize();
-
- misfMsterDetailSet(grd_rscmpcomlist, null, "TRRSC00803", "Y");
- //화면 권한 설정
- btn_save.disabled = !(checkAuth("X"));
- btn_prt.disabled= !(checkAuth("P"));
- model.refresh();
- ]]>
- </script>
- <submission id="TRRSC00803" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/rscmpcomlist"/>
- <submission id="TXRSC00802" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/rscmpcomlist" resultref="/root/temp"/>
- </model>
- <script type="javascript">
- <![CDATA[
- function fInitialize()
- {
- misfGridInit(grd_rscmpcomlist);
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body>
- <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:152px; height:14px; ">제조회사코드 등록.</caption>
- </group>
- <group id="grp_biz" scroll="auto" style="left:0px; top:38px; width:1195px; height:744px; ">
- <group id="grp_sea" style="left:0px; top:10px; width:1195px; height:35px; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195px; height:35px; "/>
- <caption id="cap_prodcmpynm" class="search_name" style="left:15px; top:9px; width:104px; height:17px; ">제조회사 명 :</caption>
- <line id="line13" class="line_4" style="x1:1110px; y1:7px; x2:1110px; y2:29px; "/>
- <button id="btn_search" class="btn1_letter2" style="left:1125px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if( getGridUpdateData(grd_rscmpcomlist) != "" )
- {
- if( messageBox("작업중인 Data가 있습니다.\n조회를 하시면 작업중인 Data가 사라집니다.", "Q005") == '6'){
- model.makeValue("/root/send/goodflag","PH");
- submit("TRRSC00803");
- }else{
- return;
- }
-
- }else{
- model.makeValue("/root/send/goodflag","PH");
- submit("TRRSC00803");
- }
-
- //misfSetReadOnlyCol(grd_rscmpcomlist,"prodcmpycd,prodcmpynm", true);
- misfSetReadOnlyCol(grd_rscmpcomlist,"prodcmpycd", true);
- model.refresh();
-
- ]]>
- </script>
- </button>
- <input id="ipt_prodcmpynm" ref="/root/send/prodcmpynm" class="input_default" style="left:125px; top:8px; width:260px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == 13)
- {
- ipt_prodcmpynm.value = ipt_prodcmpynm.currentText;
- ipt_prodcmpynm.refresh();
- btn_search.dispatch("DOMActivate");
- }
-
- ]]>
- </script>
- </input>
- </group>
- <caption id="caption1" class="tit_2" style="left:5px; top:54px; width:157px; height:14px; ">제조회사 list</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:69px; x2:1195px; y2:69px; "/>
- <datagrid id="grd_rscmpcomlist" nodeset="/root/main/rscmpcomlist" allowuserresize="false" caption="제조회사코드^제조회사명^전화번호^주소^비고^goodflag^기관코드^물품구분^최초등록자ID^최초등록일시^최종수정자ID^최종수정일시^최종수정일시" colsep="^" colwidth="100, 300, 160, 310, 300, 100" dataheight="25" ellipsis="true" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" tooltip="true" style="left:0px; top:74px; width:1195px; height:661px; ">
- <col class="input_essential" disabled="true" ref="prodcmpycd" _key="true" style="text-align:center; "/>
- <col class="input_essential" ref="prodcmpynm" type="input" style="text-align:left; "/>
- <col ref="prodcmpytel" type="input" format="9999999999"/>
- <col ref="prodcmpyaddr" type="input" style="text-align:left; "/>
- <col ref="cmt" type="input" style="text-align:left; "/>
- <col ref="goodflag" visibility="hidden"/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_rscmpcomlist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <button id="btn_grdadd1" class="btn2_letter3" style="left:1030px; top:48px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- misfGridIUD(grd_rscmpcomlist, "A");
- model.makeValue("/root/main/rscmpcomlist["+grd_rscmpcomlist.row+"]/goodflag","PH");
- ]]>
- </script>
- </button>
- <button id="btn_grddel1" class="btn2_letter3" style="left:1086px; top:48px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfGridIUD(grd_rscmpcomlist, "D");
- ]]>
- </script>
- </button>
- <button id="btn_excel" class="btn2_letter2" style="left:1145px; top:48px; width:42px; height:19px; ">
- <caption>엑셀</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- misfSaveExcel(grd_rscmpcomlist, "제조회사코드내역_"+getCurrentDate());
- ]]>
- </script>
- </button>
- </group>
- <group id="group4" style="left:0px; top:12px; width:1195px; height:27px; ">
- <button id="btn_save" class="btn4_letter2" style="left:1068px; top:3px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if( getGridUpdateData(grd_rscmpcomlist) == "" )
- {
- messageBox("업데이트 된 내용이", "I004");
- return;
- }
-
- misfSave("TXRSC00802");
- if (model.getValue(gvErrorMsgPath + "/type") != "error")
- btn_search.dispatch("DOMAtivate");
- model.refresh();
- ]]>
- </script>
- </button>
- <line id="line14" class="line_6" style="x1:0px; y1:25; x2:1195; y2:25; "/>
- <button id="btn_clear" class="btn4_letter3" style="left:1127px; top:3px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fInitialize();
- ]]>
- </script>
- </button>
- <button id="btn_prt" class="btn6_letter2" visibility="hidden" style="left:0px; top:3px; width:56px; height:22px; ">
- <caption>출력</caption>
- </button>
- <button id="btn_scrnmove" class="btn3_letter4" visibility="hidden" style="left:58px; top:3px; width:80px; height:22px; ">
- <caption>화면이동</caption>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|