123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553 |
- <?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>
- <srchcond>
- <narclist>
- <narccd/>
- <narcnm/>
- <goodspec/>
- <specunit/>
- <suplplce/>
- <brngfwrdqty/>
- <winqty/>
- <custnm/>
- </narclist>
- </srchcond>
- <prcplist>
- <item>
- <sel/>
- <prcpdd/>
- <pid/>
- <hngnm/>
- <sex/>
- <age/>
- <addr/>
- <diagcd/>
- <sympnm/>
- <ordqty/>
- <deliveqty/>
- <etccau/>
- <stocqty/>
- <seqno/>
- <narccd/>
- <narcnm/>
- <goodspec/>
- <specunit/>
- <custnm/>
- <brngfwrdqty/>
- <winqty/>
- </item>
- </prcplist>
- <printlist>
- <item>
- <narccd/>
- <narcnm/>
- <deliveqty/>
- <returnqty/>
- <bfstocqty/>
- <winqty/>
- </item>
- </printlist>
- <patinfo>
- <patinfolist/>
- </patinfo>
- <datacheck>
- <datachk>
- <yn/>
- </datachk>
- </datacheck>
- </main>
- <send>
- <srchdata>
- <narcflag>M H</narcflag>
- <enddd/>
- <m_drugkind>N','Y M</m_drugkind>
- <h_drugkind>N','Y M</h_drugkind>
- <viewopt/>
- <narcflagall>A</narcflagall>
- <stocdeptcd/>
- <stocdeptcdnm/>
- <ioflag/>
- <drugcd/>
- <preview/>
- <endflag/>
- </srchdata>
- <data>
- <narcstocdata/>
- <print1>
- <item>
- <sel/>
- <prcpdd/>
- <pid/>
- <hngnm/>
- <sex/>
- <age/>
- <addr/>
- <diagcd/>
- <sympnm/>
- <ordqty/>
- <deliveqty/>
- <etccau/>
- <stocqty/>
- <seqno/>
- <narccd/>
- <narcnm/>
- <goodspec/>
- <specunit/>
- <suplplce/>
- <brngfwrdqty/>
- <winqty/>
- </item>
- </print1>
- </data>
- </send>
- <init>
- <deptlist>
- <ward>
- <wardcd/>
- <wardnm/>
- </ward>
- </deptlist>
- </init>
- <hidden>
- <ret/>
- <chk_ok/>
- </hidden>
- </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="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../ast/commonweb/js/AST.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- model.setValue("/root/send/srchdata/enddd", getCurrentDate());
- model.refresh();
- //submit("TRADT30701");
- // 출고부서 조회, 설정
-
- submit("TRADT01106");
- if(combo2.length == 1) {
- combo2.select(0);
- }else if(combo2.length > 1) {
- astfAddCombo("/root/init/misdeptlist", "deptlist","deptcd,deptnm", "T,전체(조회용)");
- combo2.value = "T";
- }
-
- combo2.dispatch("xforms-value-changed");
- ]]>
- </script>
- <submission id="TRADT30701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srchdata" replace="instance" resultref="/root/main/srchcond"/>
- <submission id="TXADT30701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/hidden/ret"/>
- <!-- 출고부서조회-->
- <submission id="TRADT01106" mediatype="application/x-www-form-urlencoded" method="post" replace="instance" resultref="/root/init/misdeptlist"/>
- <!-- 마약이면서 향정수불을 체크-->
- <submission id="TRADT30310" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srchdata" replace="instance" resultref="/root/main/datacheck"/>
- <submission id="TRADT30302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srchdata" replace="instance" resultref="/root/main/prcplist"/>
- </model>
- <script type="javascript">
- <![CDATA[
- function stocdeptcdchg() {
- var dept = model.getValue("/root/send/srchdata/stocdeptcd");
-
- if (dept == "T") {
-
- grd_druglist.colhidden(grd_druglist.colRef("brngfwrdqty")) = true;
- grd_druglist.colhidden(grd_druglist.colRef("winqty")) = true;
- grd_druglist.colhidden(grd_druglist.colRef("deliveqty")) = true;
- grd_druglist.colhidden(grd_druglist.colRef("stocqty")) = true;
-
- grd_druglist.colhidden(grd_druglist.colRef("totbrngfwrdqty")) = false;
- grd_druglist.colhidden(grd_druglist.colRef("totwinqty")) = false;
- grd_druglist.colhidden(grd_druglist.colRef("totdeliveqty")) = false;
- grd_druglist.colhidden(grd_druglist.colRef("totstocqty")) = false;
-
- grd_druglist.colhidden(grd_druglist.colRef("inbrngfwrdqty")) = false;
- grd_druglist.colhidden(grd_druglist.colRef("inwinqty")) = false;
- grd_druglist.colhidden(grd_druglist.colRef("indeliveqty")) = false;
- grd_druglist.colhidden(grd_druglist.colRef("instocqty")) = false;
-
- grd_druglist.colhidden(grd_druglist.colRef("outbrngfwrdqty")) = false;
- grd_druglist.colhidden(grd_druglist.colRef("outwinqty")) = false;
- grd_druglist.colhidden(grd_druglist.colRef("outdeliveqty")) = false;
- grd_druglist.colhidden(grd_druglist.colRef("outstocqty")) = false;
-
- } else {
-
- grd_druglist.colhidden(grd_druglist.colRef("brngfwrdqty")) = false;
- grd_druglist.colhidden(grd_druglist.colRef("winqty")) = false;
- grd_druglist.colhidden(grd_druglist.colRef("deliveqty")) = false;
- grd_druglist.colhidden(grd_druglist.colRef("stocqty")) = false;
-
- grd_druglist.colhidden(grd_druglist.colRef("totbrngfwrdqty")) = true;
- grd_druglist.colhidden(grd_druglist.colRef("totwinqty")) = true;
- grd_druglist.colhidden(grd_druglist.colRef("totdeliveqty")) = true;
- grd_druglist.colhidden(grd_druglist.colRef("totstocqty")) =true;
-
- grd_druglist.colhidden(grd_druglist.colRef("inbrngfwrdqty")) = true;
- grd_druglist.colhidden(grd_druglist.colRef("inwinqty")) = true;
- grd_druglist.colhidden(grd_druglist.colRef("indeliveqty")) = true;
- grd_druglist.colhidden(grd_druglist.colRef("instocqty")) = true;
-
- grd_druglist.colhidden(grd_druglist.colRef("outbrngfwrdqty")) = true;
- grd_druglist.colhidden(grd_druglist.colRef("outwinqty")) = true;
- grd_druglist.colhidden(grd_druglist.colRef("outdeliveqty")) = true;
- grd_druglist.colhidden(grd_druglist.colRef("outstocqty")) = true;
- }
- }
-
-
- //수불대장 출력시 전체 약품에 대한 내역을 출력하기위해 약품별 출고내역 조회
- function fPrint1() {
-
- var cnt = 1;
- var numflag = 'N';
- model.setValue("/root/send/srchdata/ioflag", "");
- model.removeNodeset("/root/send/data/print1/item");
- model.removeNodeset("/root/main/prcplist/item");
-
- if (model.getValue("/root/hidden/chk_ok") == "Y") { // 전체 출력 유무
- numflag = "Y";
- }
-
- for (var i = 1; i <= grd_druglist.rows-1; i++) {
-
- //마약이면서 향정수불을 체크한다.
- model.setValue("/root/send/srchdata/drugcd", model.getValue("/root/main/srchcond/narclist["+i+"]/drugcd"));
- submit("TRADT30310", false);
- var dataChk = model.getValue("/root/main/datacheck/datachk/yn");
- if (dataChk != "Y") {
- continue;
- }
-
- // 입출 내역 조회
- model.setValue("/root/send/srchdata/drugcd", model.getValue("/root/main/srchcond/narclist["+i+"]/narccd"));
- submit("TRADT30302", false);
-
- if(getNodesetCount("/root/main/prcplist/item") < 2 && model.getValue("/root/main/prcplist/item[1]/pid") == "" && numflag == "N"){
- continue;
- }
-
- for ( var j = 1; j <= getNodesetCount("/root/main/prcplist/item") ; j++){
-
- model.makeNode("/root/send/data/print1/item["+cnt+"]");
-
- model.setValue("/root/main/prcplist/item["+j+"]/narccd", model.getValue("/root/main/srchcond/narclist["+i+"]/narccd"));
- model.setValue("/root/main/prcplist/item["+j+"]/narcnm", model.getValue("/root/main/srchcond/narclist["+i+"]/narcnm"));
- model.setValue("/root/main/prcplist/item["+j+"]/goodspec", model.getValue("/root/main/srchcond/narclist["+i+"]/goodspec"));
- model.setValue("/root/main/prcplist/item["+j+"]/specunit", model.getValue("/root/main/srchcond/narclist["+i+"]/specunit"));
- model.setValue("/root/main/prcplist/item["+j+"]/custnm", model.getValue("/root/main/srchcond/narclist["+i+"]/custnm"));
- model.makeValue("/root/main/prcplist/item["+j+"]/hospnm", model.getValue("/root/main/srchcond/narclist["+i+"]/hospnm"));
- model.makeValue("/root/main/prcplist/item["+j+"]/lncsno", model.getValue("/root/main/srchcond/narclist["+i+"]/lncsno"));
- model.makeValue("/root/main/prcplist/item["+j+"]/mngtrid", model.getValue("/root/main/srchcond/narclist["+i+"]/mngtrid"));
- //model.setValue("/root/main/prcplist/item["+j+"]/brngfwrdqty", model.getValue("/root/main/srchcond/narclist["+i+"]/brngfwrdqty"));
- //model.setValue("/root/main/prcplist/item["+j+"]/winqty", model.getValue("/root/main/srchcond/narclist["+i+"]/winqty"));
-
- model.copyNode("/root/send/data/print1/item["+cnt+"]", "/root/main/prcplist/item["+j+"]");
- cnt = cnt + 1;
- }
-
- model.removeNodeset("/root/send/data/print1/item["+cnt+"]");
- model.refresh();
-
- } // for
- } // function fPrint1
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="1200" guideline="1,1194;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:545px; height:13px; ">
- <caption id="caption19" class="tit_1" style="left:0px; top:0px; width:185px; height:14px; ">마약향정재고관리</caption>
- </group>
- <group id="group3" scroll="auto" style="left:0px; top:20px; width:1183px; height:744px; ">
- <group id="group2" style="left:0px; top:0px; width:1180px; height:40px; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:3px; width:1175px; height:32px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption2" class="search_name" style="left:5px; top:10px; width:96px; height:17px; ">재고일자 :</caption>
- <button id="btn_sea" class="btn1_letter2" style="left:1110px; top:10px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- submit("TRADT30701");
- //submit("TRADT30302");
- stocdeptcdchg();
- ]]>
- </script>
- </button>
- <input id="input3" ref="/root/send/srchdata/enddd" class="input_search" inputtype="date" style="left:100px; top:10px; width:100px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- submit("TRADT30701");
- stocdeptcdchg();
- ]]>
- </script>
- </input>
- <caption id="caption3" class="search_name" style="left:210px; top:11px; width:86px; height:17px; ">구분 :</caption>
- <select id="checkbox2" ref="/root/send/srchdata/narcflag" overflow="visible" appearance="full" cols="2" style="left:485px; top:10px; width:45px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>향정</label>
- <value>H</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var h_drug = model.getValue("/root/send/srchdata/narcflag");
- if(isSearchString(h_drug, "H")) {
- model.setValue("/root/send/srchdata/h_drugkind", "N','Y M");
- } else {
- model.setValue("/root/send/srchdata/h_drugkind", "");
- }
-
- if(h_drug != "M H"){
- model.setValue("/root/send/srchdata/narcflagall", "");
- }
-
- model.refresh();
- ]]>
- </script>
- </select>
- <caption id="caption4" style="left:530px; top:10px; width:100px; height:20px; ">( )</caption>
- <select id="checkbox1" ref="/root/send/srchdata/narcflag" overflow="visible" appearance="full" cols="2" style="left:325px; top:10px; width:50px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>마약</label>
- <value>M</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var m_drug = model.getValue("/root/send/srchdata/narcflag");
- if(isSearchString(m_drug, "M")) {
- model.setValue("/root/send/srchdata/m_drugkind", "N','Y M");
- } else {
- model.setValue("/root/send/srchdata/m_drugkind", "");
- }
-
- if(m_drug != "M H"){
- model.setValue("/root/send/srchdata/narcflagall", "");
- }
-
- model.refresh();
- ]]>
- </script>
- </select>
- <caption id="caption1" style="left:375px; top:10px; width:100px; height:20px; ">( )</caption>
- <select id="checkbox3" ref="/root/send/srchdata/m_drugkind" overflow="visible" appearance="full" cols="2" rows="1" style="left:385px; top:10px; width:100px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>약</label>
- <value>N','Y</value>
- </item>
- <item>
- <label>주사</label>
- <value>M</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var m_drug = model.getValue("/root/send/srchdata/m_drugkind");
- if(m_drug == "" ) {
- var spcldrug = model.getValue("/root/send/srchdata/narcflag");
- model.setValue("/root/send/srchdata/narcflag", spcldrug.setReplaceWord("M", ""));
- } else {
- if(checkbox1.value == "" ) {
- var narcflag = model.getValue("/root/send/srchdata/narcflag");
- model.setValue("/root/send/srchdata/narcflag", narcflag + " M");
- }
- }
- model.refresh();
- ]]>
- </script>
- </select>
- <select id="checkbox5" ref="/root/send/srchdata/narcflagall" overflow="visible" appearance="full" cols="2" style="left:270px; top:10px; width:50px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value>A</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var allyn = model.getValue("/root/send/srchdata/narcflagall");
-
- if(allyn == "A") {
- model.setValue("/root/send/srchdata/narcflag", "M H");
- model.setValue("/root/send/srchdata/m_drugkind", "N','Y M");
- model.setValue("/root/send/srchdata/h_drugkind", "N','Y M");
- } else {
- model.setValue("/root/send/srchdata/narcflag", "");
- model.setValue("/root/send/srchdata/m_drugkind", "");
- model.setValue("/root/send/srchdata/h_drugkind", "");
- }
-
- model.refresh();
- ]]>
- </script>
- </select>
- <select id="checkbox4" ref="/root/send/srchdata/h_drugkind" overflow="visible" appearance="full" cols="2" rows="1" style="left:540px; top:10px; width:100px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>약</label>
- <value>N','Y</value>
- </item>
- <item>
- <label>주사</label>
- <value>M</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var h_drug = model.getValue("/root/send/srchdata/h_drugkind");
- if(h_drug == "" ) {
- var spcldrug = model.getValue("/root/send/srchdata/narcflag");
- model.setValue("/root/send/srchdata/narcflag", spcldrug.setReplaceWord("H", ""));
- } else {
- if(checkbox2.value == "") {
- var narcflag = model.getValue("/root/send/srchdata/narcflag");
- model.setValue("/root/send/srchdata/narcflag", narcflag + " H");
- }
- }
- model.refresh();
- ]]>
- </script>
- </select>
- </group>
- <datagrid id="grd_druglist" nodeset="/root/main/srchcond/narclist" autoresize="false" backcoloralternate="#f0f0f0" caption="약품코드^약품명^단위^전일재고^전일재고^전일재고^전일재고^입고량^입고량^입고량^입고량^출고량^출고량^출고량^출고량^현재고^현재고^현재고^현재고^당월출고량합^caption1^caption2^caption3|약품코드^약품명^단위^전일재고^총재고^병동^외래^입고량^총입고^병동^외래^출고량^총출고^병동^외래^현재고^총재고^병동^외래^당월출고량합^caption1^caption2^caption3" colsep="^" colwidth="92, 182, 43, 100, 70, 70, 70, 100, 70, 70, 70, 100, 70, 70, 70, 100, 70, 70, 70, 70, 100, 100, 100" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:0px; top:65px; width:1175px; height:675px; ">
- <col ref="narccd"/>
- <col ref="narcnm"/>
- <col ref="packunit"/>
- <col ref="brngfwrdqty" type="input" format="####.99" maxlength="11" style="text-align:right; "/>
- <col ref="totbrngfwrdqty" type="input" visibility="hidden" format="####.99" maxlength="11" style="text-align:right; "/>
- <col ref="inbrngfwrdqty" type="input" visibility="hidden" format="####.99" maxlength="11" style="text-align:right; "/>
- <col ref="outbrngfwrdqty" type="input" visibility="hidden" format="####.99" maxlength="11" style="text-align:right; "/>
- <col ref="winqty" format="####.99" maxlength="11" style="text-align:right; "/>
- <col ref="totwinqty" visibility="hidden" format="####.99" maxlength="11" style="text-align:right; "/>
- <col ref="inwinqty" visibility="hidden" format="####.99" maxlength="11" style="text-align:right; "/>
- <col ref="outwinqty" visibility="hidden" format="####.99" maxlength="11" style="text-align:right; "/>
- <col ref="deliveqty" format="####.99" maxlength="11" style="text-align:right; "/>
- <col ref="totdeliveqty" visibility="hidden" format="####.99" maxlength="11" style="text-align:right; "/>
- <col ref="indeliveqty" visibility="hidden" format="####.99" maxlength="11" style="text-align:right; "/>
- <col ref="outdeliveqty" visibility="hidden" format="####.99" maxlength="11" style="text-align:right; "/>
- <col ref="stocqty" format="####.99" maxlength="11" style="text-align:right; "/>
- <col ref="totstocqty" visibility="hidden" format="####.99" maxlength="11" style="text-align:right; "/>
- <col ref="instocqty" visibility="hidden" format="####.99" maxlength="11" style="text-align:right; "/>
- <col ref="outstocqty" visibility="hidden" format="####.99" maxlength="11" style="text-align:right; "/>
- <col ref="mnthsum" format="####.99" maxlength="11" style="text-align:right; "/>
- <col ref="alldeptcd" visibility="hidden"/>
- <col ref="indeptcd" visibility="hidden"/>
- <col ref="outdeptcd" visibility="hidden"/>
- <script type="javascript" ev:event="onendedit">
- <![CDATA[
- var ivalue = parseFloat(grd_druglist.labelMatrix(grd_druglist.row, grd_druglist.colRef("inbrngfwrdqty")));
- var ovalue = parseFloat(grd_druglist.labelMatrix(grd_druglist.row, grd_druglist.colRef("outbrngfwrdqty")));
- var total = ivalue + ovalue;
-
- if(total > 0) {
- grd_druglist.valueMatrix(grd_druglist.row, grd_druglist.colRef("brngfwrdqty")) = total;
- }
- ]]>
- </script>
- </datagrid>
- <button id="btn_save" class="btn4_letter2" style="left:1110px; top:40px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/send/data/narcstocdata", grd_druglist.getUpdateData());
-
- if(submit("TXADT30701")) {
- submit("TRADT30701");
- stocdeptcdchg();
- }
- ]]>
- </script>
- </button>
- <button id="btn_excel" class="btn2_letter4" style="left:66px; top:42px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if (grd_druglist.rows>2) {
- var fileName = window.fileDialog("save", ",", false, "마약향정재고관리"+getCurrentDate(), "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
-
- if (fileName != "")
- {
- grd_druglist.saveExcel(fileName);
- }
- }
- ]]>
- </script>
- </button>
- <button id="btn_print" class="btn6_letter2" style="left:5px; top:40px; width:80px; height:22px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/send/srchdata/stocdeptcdnm", combo2.label);
- if( grd_druglist.rows != 0){
- exeReportPreview("RPADT30700", "XMLSTR", "", "", "false","","","","","false");
- }
- ]]>
- </script>
- </button>
- <caption id="caption10" class="search_name" style="left:646px; top:10px; width:104px; height:17px; font-weight:bold; color:#ff0000; ">실출고부서 :</caption>
- <select1 id="combo2" ref="/root/send/srchdata/stocdeptcd" appearance="minimal" style="left:750px; top:10px; width:131px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/misdeptlist/deptlist">
- <label ref="deptnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- ]]>
- </script>
- </select1>
- <button id="button17" class="btn6_letter8" style="left:135px; top:40px; width:120px; height:22px; ">
- <caption>마약수불대장출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var ioflag = model.getValue("/root/send/srchdata/ioflag");
- model.makeValue("/root/send/srchdata/stocyn", "");
- model.setValue("/root/send/srchdata/endflag", "A");
- model.makeValue("/root/send/srchdata/stocprntyn", "Y");
- model.makeValue("/root/send/srchdata/usernm", getUserName());
- fPrint1(); //수불대장 조회
- if (checkbox6.value == 1) { //미리보기가 체크된 경우
- exeReportPreview("RPADT30302", "XMLSTR", "RPADT30302", "", "false","","","","","false", "", "");
- } else {
- exeReportPreview("RPADT30302", "XMLSTR", "RPADT30302", "", "true","","","","","true", "", "");
- }
-
- model.setValue("/root/send/srchdata/ioflag", ioflag);
- model.removeNodeset("/root/send/data/print1/item");
- model.removeNodeset("/root/main/prcplist/item");
- model.setValue("/root/send/srchdata/endflag", "");
- ]]>
- </script>
- </button>
- <select id="checkbox6" ref="/root/send/srchdata/preview" class="checkbox_search" overflow="visible" appearance="full" cols="2" rows="1" style="left:265px; top:45px; width:68px; height:14px; border-style:none; ">
- <choices>
- <item>
- <label>미리보기</label>
- <value>1</value>
- </item>
- </choices>
- </select>
- <select id="chk_ok" ref="/root/hidden/chk_ok" overflow="visible" appearance="full" style="left:345px; top:45px; width:70px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- </group>
- </xhtml:body>
- </xhtml:html>
|