123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SMAHB00100.xrw
- * 설 명 : 검사코드관리
- * 설 계 자 : 손주연
- * 작 성 자 : 박원희
- * 작 성 일 : 2007.03.13
- * 수정이력 :
- * 기 타 :
- -->
- <?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>
- <inqrlst>
- <item>
- <sel/>
- <inqrcd/>
- <inqrnm/>
- <answcnt/>
- <useyn/>
- <inqrdispseq/>
- <lastupdtrid/>
- <lastupdtdt/>
- </item>
- </inqrlst>
- </main>
- <send>
- <srchinqrcd/>
- <srchinqrcnts/>
- <save>
- <saveinqrcd/>
- <instcd/>
- <inqrflag/>
- <userid/>
- <saveinqrans/>
- <inqrcd/>
- </save>
- <ansinqrcd/>
- </send>
- <init>
- <baseinfo>
- <inqrflaglst/>
- <answflaglst/>
- </baseinfo>
- </init>
- <hidden/>
- </root>
- </instance>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../ast/commonweb/js/AST.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <submission id="TRAHB03191" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/inqrlst"/>
- <submission id="TRZBC00101"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fGetinqrlst();
- ]]>
- </script>
- <submission id="TRAHA03181" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/inqrlst"/>
- </model>
- <script type="javascript">
- <![CDATA[
- function fGetinqrlst(){
- submit("TRAHB03191")
- }
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="600" pageheight="800" guideline="1,1194;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_tle" style="left:0px; top:0px; width:600px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:155px; height:14px; ">패키지별 사전질의 관리</caption>
- </group>
- <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:600px; height:744px; ">
- <group id="grp_sea" style="left:0px; top:10px; width:600px; height:35px; vertical-align:top; ">
- <shape id="roundrect3" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:600px; height:35px; "/>
- <caption id="caption2" class="search_name" style="left:16px; top:9px; width:87px; height:17px; ">항목코드 :</caption>
- <input id="ipt_inqrcnts" ref="/root/send/srchinqrcnts" class="input_search" style="left:284px; top:7px; width:161px; height:19px; "/>
- <button id="btn_search" class="btn1_letter2" style="left:530px; top:5px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.removenode("/root/main/anslst");
- model.removenode("/root/main/inqrlst");
-
- fGetinqrlst();
- ]]>
- </script>
- </button>
- <caption id="caption5" class="search_name" style="left:193px; top:8px; width:87px; height:17px; ">항목내용 :</caption>
- <input id="input1" ref="/root/send/srchinqrcd" class="input_search" style="left:107px; top:8px; width:78px; height:19px; "/>
- </group>
- <caption id="caption1" class="tit_2" style="left:5px; top:55px; width:100px; height:14px; ">사전질의 코드</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:70px; x2:600px; y2:70px; "/>
- <datagrid id="grd_inqrlst" nodeset="/root/main/inqrlst/item" caption="선택^코드^사전질의내역^답안선택수^사용여부^최종수정자^최종수정일시" colsep="^" colwidth="49, 70, 260, 80, 50, 100, 100" frozencols="2" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:0px; top:75px; width:595px; height:660px; ">
- <col ref="sel" type="checkbox"/>
- <col ref="inqrcd"/>
- <col ref="inqrnm"/>
- <col ref="answcnt"/>
- <col checkvalue="Y,N" ref="useyn" type="checkbox"/>
- <col ref="lastupdtrid"/>
- <col ref="lastupdtdt" type="input"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- model.refresh();
- ]]>
- </script>
- </datagrid>
- </group>
- <group id="grp_btn" style="left:0px; top:757px; width:600px; height:27px; ">
- <button id="btn_save" class="btn4_letter2" style="left:540px; top:2px; width:56px; height:22px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.makeNode("/root/temp/inqrlst");
- var desCnt = parseInt(opener.model.getXPathValue("count(/root/main/pkgtestcdlst/iteminqr)"));
- for(var i = 1; i < grd_inqrlst.rows; i++)
- {
- if(model.getValue("/root/main/inqrlst/item[" + i + "]/sel") != "true")
- {
- continue;
- }
- desCnt = desCnt + 1;
- opener.grd_inqrlst.addRow();
- opener.model.makeValue("/root/main/pkgtestcdlst/iteminqr[" + desCnt + "]/pkgflag", opener.model.getValue("/root/send/srchpkgflag"));
- opener.model.makeValue("/root/main/pkgtestcdlst/iteminqr[" + desCnt + "]/pkgcd", opener.model.getValue("/root/send/srchpkgcd2"));
- opener.model.makeValue("/root/main/pkgtestcdlst/iteminqr[" + desCnt + "]/inqrcd", model.getValue("/root/main/inqrlst/item[" + i + "]/inqrcd"));
- opener.model.makeValue("/root/main/pkgtestcdlst/iteminqr[" + desCnt + "]/inqrnm", model.getValue("/root/main/inqrlst/item[" + i + "]/inqrnm"));
- }
- window.close();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|