123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175 |
- <?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>
- <pkgcdlst/>
- <cautlst>
- <item>
- <caucd/>
- <caucnts/>
- <gndrflag/>
- <useyn/>
- </item>
- </cautlst>
- </main>
- <send>
- <srchcautcd/>
- <srchcautcnts/>
- <save>
- <savecautcd/>
- <instcd/>
- <cautflag/>
- <userid/>
- <savecautans/>
- <cautcd/>
- </save>
- <anscautcd/>
- </send>
- <init>
- <baseinfo>
- <cautflaglst/>
- <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="TXAHA03181" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" replace="instance" resultref="/root/hidden"/>
- <submission id="TRZBC00101"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- fGetcautlst();
- ]]>
- </script>
- <submission id="TRAHA03181" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/cautlst"/>
- </model>
- <script type="javascript">
- <![CDATA[
- function fGetcautlst(){
- submit("TRAHA03181")
- }
-
- /**
- * Save function,문진코드
- */
- function fSavecautCd() {
- var ret = false;
- if( messageBox("주의사항 정보를","Q002") == 6){
-
- model.setValue("/root/send/save/savecautcd" , grd_cautlst.getUpdateData());
-
- ret = submit("TXAHA03181");
- if(ret)
- {
- fGetcautlst();
- }
- return ret;
- }
- return ret;
- }
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body 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:1195px; 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:1195px; height:744px; ">
- <datagrid id="grd_cautlst" nodeset="/root/main/cautlst/item" visibility="visible" caption="코드^주의사항 내용^남여구분^사용여부" colsep="^" colwidth="104, 876, 91, 80" frozencols="2" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:0px; top:75px; width:1194px; height:668px; ">
- <col disabled="true" ref="caucd" style="left:0px; top:23px; width:100px; height:23px; "/>
- <col ref="caucnts" type="input" style="left:100px; top:23px; width:441px; height:23px; "/>
- <col ref="gndrflag" type="combo">
- <choices>
- <item>
- <label>공통</label>
- <value>C</value>
- </item>
- <item>
- <label>남자</label>
- <value>M</value>
- </item>
- <item>
- <label>여자</label>
- <value>F</value>
- </item>
- </choices>
- </col>
- <col checkvalue="Y,N" ref="useyn" type="checkbox" style="left:541px; top:23px; width:53px; height:23px; "/>
- </datagrid>
- <group id="grp_sea" style="left:0px; top:10px; width:1194px; height:35px; vertical-align:top; ">
- <shape id="roundrect3" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1194px; height:35px; "/>
- <caption id="caption2" class="search_name" style="left:16px; top:9px; width:87px; height:17px; ">항목코드 :</caption>
- <input id="ipt_cautcnts" ref="/root/send/srchcautcnts" class="input_search" style="left:342px; top:8px; width:340px; height:19px; "/>
- <button id="btn_search" class="btn1_letter2" style="left:1123px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.removenode("/root/main/anslst");
- model.removenode("/root/main/cautlst");
-
- fGetcautlst();
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:1107px; y1:7px; x2:1107px; y2:29px; "/>
- <caption id="caption5" class="search_name" style="left:250px; top:9px; width:87px; height:17px; ">항목내용 :</caption>
- <input id="input1" ref="/root/send/srchcautcd" class="input_search" style="left:107px; top:8px; width:123px; 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:1194px; y2:70px; "/>
- <button id="btn_grddel" class="btn2_letter3" style="left:1140px; top:50px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //grd_cautlst.addStatus(grd_cautlst.row,"delete");
- deleteSelectedRows(grd_cautlst,true);
- ]]>
- </script>
- </button>
- <button id="btn_grdadd" class="btn2_letter3" style="left:1085px; top:50px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_cautlst.addRow();
- var rowNum = grd_cautlst.rows - 1;
- model.setValue("/root/main/cautlst/item[" + rowNum + "]/gndrflag", "C");
- model.setValue("/root/main/cautlst/item[" + rowNum + "]/useyn", "Y");
- model.refresh();
- ]]>
- </script>
- </button>
- </group>
- <group id="grp_btn" style="left:0px; top:757px; width:1195px; height:27px; ">
- <button id="btn_save" class="btn4_letter2" style="left:1138px; top:2px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSavecautCd();
- fGetcautlst();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|