123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216 |
- <?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>
- <monmtlist>
- <memno/>
- <membnm/>
- <sexage/>
- <paybankflag/>
- <amtyy/>
- <monamt/>
- </monmtlist>
- </main>
- <send>
- </send>
- <init>
- <A00001>
- <cdid/>
- <cdnm/>
- </A00001>
- <mondetl>
- <monamt/>
- </mondetl>
- </init>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fGetCodeList( new Array("A00001"), new Array("/root/init"));//호스피스 코드 조회
- fRemoveNode(new Array("A00001"));//콤보 공백 제거
- getdate = getCurrentDate();
- var memno = opener.javascript.getParameter("memno");
- var membnm = opener.javascript.getParameter("membnm");
- var sexage = opener.javascript.getParameter("sexage");
- var paybankflag = opener.javascript.getParameter("paybankflag");
- var getdate = getCurrentDate();
-
- grd_monmtlist.valueMatrix(1,0) = memno;
- grd_monmtlist.valueMatrix(1,1) = membnm;
- grd_monmtlist.valueMatrix(1,2) = sexage;
- grd_monmtlist.valueMatrix(1,3) = paybankflag;
- grd_monmtlist.valueMatrix(1,4) = getdate.substring(0,4);
-
- grd_monmtlist.isReadOnly(1, 3) = true;
- model.refresh();
-
-
- model.removenode("/root/send");
- model.makeValue("/root/send/membno",grd_monmtlist.valueMatrix(1,0));
- model.makeValue("/root/send/amtyy", grd_monmtlist.valueMatrix(1,4));
- submit("TRMNH04001");
- grd_monmtlist.valueMatrix(1,5) = model.getValue("/root/init/mondetl/monamt");
-
- ]]>
- </script>
- <submission id="TRMNH00001" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TXMNH04001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send"/>
- <submission id="TRMNH04001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/mondetl"/>
- </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="../../../emr/agonalcareweb/js/SMMNH00001.js"/>
- </xhtml:head>
- <xhtml:body pagewidth="563" pageheight="110" guideline="2,343;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <button id="btn_cancel" class="btn4_letter2" navindex="9" style="left:489px; top:7px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- window.close();
- ]]>
- </script>
- </button>
- <datagrid id="grd_monmtlist" nodeset="/root/main/monmtlist" caption="회원번호^회원명^S/A^입금은행^약정연도^월 약정금액" colsep="^" colwidth="87, 90, 84, 89, 92, 100" dataheight="23" defaultrows="2" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheight="23" rowsep="|" navindex="7" style="left:1px; top:35px; width:544px; height:48px; ">
- <col ref="memno" style="text-align:center; "/>
- <col ref="membnm" style="text-align:center; "/>
- <col ref="sexage" style="text-align:center; "/>
- <col ref="paybankflag" type="combo">
- <choices>
- <itemset nodeset="/root/init/A00001">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="amtyy" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>2000년</label>
- <value>2000</value>
- </item>
- <item>
- <label>2001년</label>
- <value>2001</value>
- </item>
- <item>
- <label>2002년</label>
- <value>2002</value>
- </item>
- <item>
- <label>2003년</label>
- <value>2003</value>
- </item>
- <item>
- <label>2004년</label>
- <value>2004</value>
- </item>
- <item>
- <label>2005년</label>
- <value>2005</value>
- </item>
- <item>
- <label>2006년</label>
- <value>2006</value>
- </item>
- <item>
- <label>2007년</label>
- <value>2007</value>
- </item>
- <item>
- <label>2008년</label>
- <value>2008</value>
- </item>
- <item>
- <label>2009년</label>
- <value>2009</value>
- </item>
- <item>
- <label>2010년</label>
- <value>2010</value>
- </item>
- <item>
- <label>2011년</label>
- <value>2011</value>
- </item>
- <item>
- <label>2012년</label>
- <value>2012</value>
- </item>
- <item>
- <label>2013년</label>
- <value>2013</value>
- </item>
- <item>
- <label>2014년</label>
- <value>2014</value>
- </item>
- <item>
- <label>2015년</label>
- <value>2015</value>
- </item>
- <item>
- <label>2016년</label>
- <value>2016</value>
- </item>
- <item>
- <label>2017년</label>
- <value>2017</value>
- </item>
- <item>
- <label>2018년</label>
- <value>2018</value>
- </item>
- <item>
- <label>2019년</label>
- <value>2019</value>
- </item>
- <item>
- <label>2020년</label>
- <value>2020</value>
- </item>
- </choices>
- </col>
- <col ref="monamt" type="input" format="#,###,###,###" maxlength="10" style="text-align:center; "/>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(grd_monmtlist.col == 4){
- grd_monmtlist.valueMatrix(1,5) = "";
- model.removenode("/root/send");
- model.makeValue("/root/send/membno",grd_monmtlist.valueMatrix(1,0));
- model.makeValue("/root/send/amtyy", grd_monmtlist.valueMatrix(1,4));
- submit("TRMNH04001");
- grd_monmtlist.valueMatrix(1,5) = model.getValue("/root/init/mondetl/monamt");
- }
- ]]>
- </script>
- </datagrid>
- <caption id="caption1" class="tit_2" style="left:1px; top:13px; width:131px; height:14px; ">회원별 월 약정금액</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:30px; x2:544px; y2:30px; "/>
- <button id="button1" class="btn4_letter2" navindex="9" style="left:431px; top:7px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(messageBox("","Q002") != 6) return;
- if(grd_monmtlist.valueMatrix(1,5) == ""){
- messageBox("월 약정금액은", "I003");
- return;
- }
- model.removenode("/root/send");
- model.makeValue("/root/send/membno",grd_monmtlist.valueMatrix(1,0));
- model.makeValue("/root/send/amtyy", grd_monmtlist.valueMatrix(1,4));
- model.makeValue("/root/send/monamt", grd_monmtlist.valueMatrix(1,5));
- if(submit("TXMNH04001")){
- messageBox("월 약정금액 저장이", "I001");
- }
- window.close();
- ]]>
- </script>
- </button>
- </xhtml:body>
- </xhtml:html>
|