123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/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>SPMNP01800_수술마취간호처방팝업</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <InputGood>
- <goodcd/>
- <allsizespecid/>
- <goodengnm/>
- <goodspec/>
- <goodmodel/>
- <prodcmpynm/>
- <deliveunit/>
- <outqty/>
- <aftqty/>
- <prcpmemo/>
- </InputGood>
- </main>
- <init>
- </init>
- <send>
- <reqdata>
- </reqdata>
- <savedata>
- <oprsrvno/>
- <delivefact/>
- </savedata>
- </send>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- if ( checkOpener() ) {
- model.setValue("/root/main/InputGood/goodcd" , opener.javascript.getParameter("goodcd")); // 01 물품코드
- model.setValue("/root/main/InputGood/allsizespecid" , opener.javascript.getParameter("allsizespecid")); // 02 ALLSIZE규격ID
- model.setValue("/root/main/InputGood/goodengnm" , opener.javascript.getParameter("goodengnm" )); // 03 물품(처방)명
- model.setValue("/root/main/InputGood/goodspec" , opener.javascript.getParameter("goodspec" )); // 04 규격명
- model.setValue("/root/main/InputGood/goodmodel" , opener.javascript.getParameter("goodmodel" )); // 05 모델
- model.setValue("/root/main/InputGood/prodcmpynm" , opener.javascript.getParameter("prodcmpynm" )); // 06 제조사
- model.setValue("/root/main/InputGood/deliveunit" , opener.javascript.getParameter("deliveunit" )); // 07 단위
- model.setValue("/root/main/InputGood/outqty" , opener.javascript.getParameter("outqty" )); // 08 변경전 수량
- model.setValue("/root/main/InputGood/aftqty" , opener.javascript.getParameter("aftqty" )); // 09 변경할 수량
- model.setValue("/root/main/InputGood/prcpmemo" , opener.javascript.getParameter("prcpmemo" )); // 10 변경사유
- grp_data.refresh();
- //model.setValue("/root/main/cond/oprsrvno", opener.javascript.getParameter("oprsrvno"));
- //model.copyNode("/root/send/reqdata", "/root/main/cond");
- //submit("TRMNP00105");
- }
- ]]>
- </script>
- <submission id="TRMNP00105" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/delivefactinfo"/>
- <submission id="TXMNP00105" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- </xhtml:head>
- <xhtml:body pagewidth="520" pageheight="200" style="margin-left:0; margin-top:0; margin-right:0; margin-bottom:0; ">
- <group id="grp_data" scroll="auto" style="left:0px; top:0px; width:515px; height:185px; ">
- <caption id="caption47" class="cell_1" style="left:2px; top:7px; width:68px; height:43px; text-align:left; vertical-align:middle; ">물품</caption>
- <input id="inp_good" ref="/root/main/InputGood/goodcd" class="input_search" disabled="true" style="left:73px; top:7px; width:72px; height:19px; "/>
- <input id="inp_allsize" ref="/root/main/InputGood/allsizespecid" class="input_search" disabled="true" style="left:146px; top:7px; width:20px; height:19px; "/>
- <output id="opt_goodnm" ref="/root/main/InputGood/goodengnm" class="output_fix" style="left:170px; top:7px; width:337px; height:19px; "/>
- <output id="opt_goodspec" ref="/root/main/InputGood/goodspec" class="output_fix" style="left:73px; top:30px; width:142px; height:19px; "/>
- <output id="opt_goodmodel" ref="/root/main/InputGood/goodmodel" class="output_fix" style="left:218px; top:30px; width:142px; height:19px; "/>
- <output id="opt_prodcmpynm" ref="/root/main/InputGood/prodcmpynm" class="output_fix" style="left:365px; top:30px; width:142px; height:19px; "/>
- <caption id="caption1" class="cell_1" style="left:2px; top:55px; width:68px; height:20px; vertical-align:middle; ">변경전수량</caption>
- <output id="bef_qty" ref="/root/main/InputGood/outqty" class="output_fix" style="left:73px; top:55px; width:102px; height:19px; text-align:right; "/>
- <caption id="caption2" class="cell_1" style="left:2px; top:80px; width:68px; height:20px; vertical-align:middle; ">변경수량</caption>
- <input id="aft_qty" ref="/root/main/InputGood/aftqty" class="input_search" style="left:73px; top:80px; width:102px; height:19px; "/>
- <caption id="caption3" class="cell_1" style="left:2px; top:105px; width:68px; height:50px; vertical-align:middle; ">변경사유</caption>
- <textarea id="txt_prcpmemo" ref="/root/main/InputGood/prcpmemo" style="left:73px; top:105px; width:433px; height:50px; "/>
- <button id="btn_confirm" class="btn4_letter2" style="left:391px; top:162px; width:56px; height:22px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var sAfterQty = model.getValue("/root/main/InputGood/aftqty" );
- var sPrcpMemo = model.getValue("/root/main/InputGood/prcpmemo" );
- if (bef_qty.value == aft_qty.value) {
- sPrcpMemo = "";
- } else {
- if (sPrcpMemo=="") {
- alert("변경사유를 입력하십시요!!");
- return;
- }
- }
-
- opener.javascript.setParameter("aftqty" , sAfterQty);
- opener.javascript.setParameter("prcpmemo", sPrcpMemo);
-
- window.close();
- ]]>
- </script>
- </button>
- <button id="button1" class="btn4_letter2" style="left:451px; top:162px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- opener.javascript.setParameter("prcpmemo", "");
- window.close();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|