123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497 |
- <?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>세탁물청구관리</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <porqinfo>
- <porqlist>
- <goodcd/>
- <goodnm/>
- <goodspec/>
- <goodunit/>
- <reqcnt/>
- <reqid/>
- <outcnt/>
- <outid/>
- <stockcnt/>
- <remark1/>
- <reqdd/>
- <deptcd/>
- <ioflag/>
- <instcd/>
- <deptnm/>
- <reqnm/>
- <outnm/>
- </porqlist>
- <csrdeptlist/>
- </porqinfo>
- <cond>
- <reqdd/>
- <deptcd/>
- <instcd/>
- <lowdept/>
- </cond>
- <csrdeptlist/>
- <possmenucnt/>
- <possmenulist/>
- </main>
- <send>
- <reqdd/>
- <deptcd/>
- <rexport/>
- <cdgrupid/>
- <gubuncd>01</gubuncd>
- <cdid/>
- <lowflag/>
- </send>
- <init>
- <csrdeptinfo/>
- </init>
- <temp/>
- </root>
- </instance>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../emr/carecomweb/js/CareCom.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize();
-
- ]]>
- </script>
- <submission id="TRMNG00402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/csrdeptlist"/>
- <submission id="TRMNG02301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/porqinfo"/>
- <submission id="TXMNG02301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/temp"/>
- <submission id="TRMNG00404" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/deptcodelist"/>
- <submission id="TRMNV00001" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TXMNG02302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/prntdata" resultref="/root/temp"/>
- <submission id="TRMNG02302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp"/>
- </model>
- <script type="javascript">
- <![CDATA[
- // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
- function fInitialize()
- {
- model.setValue(opt_instcdnm.attribute("ref"), getUserInfo("dutplceinstnm")); //기관코드
- model.setValue(ipt_reqdd.attribute("ref"), getCurrentDate());
-
-
- fGetHardCodeInfo("/root/send/cdgrupid", "/root/init/csrdeptinfo", "160"); // 중앙공급실 부서코드 조회
- var userdutplcecd = model.getValue("/root/init/csrdeptinfo/codelist[cdid = '"+getUserInfo("dutplcecd")+"']/cdid");
- if (!isNull(userdutplcecd)) {
- model.setValue(cmb_deptcd.attribute("ref"), 'ALL');
- model.setValue("/root/send/cdid", "Y");
- } else {
- model.setValue(cmb_deptcd.attribute("ref"), getUserInfo("dutplcecd"));
- model.setValue("/root/send/cdid", "N");
- cmb_deptcd.disabled = true; //중앙공급실이 아닐 경우 부서선택 숨김
- }
-
- ipt_reqdd.refresh();
- cmb_deptcd.refresh();
-
- model.makeValue("/root/send/reqdata/instcd", getUserInfo("dutplceinstcd"));
- model.makeValue("/root/send/reqdata/useyn", "Y");
- model.makeValue("/root/send/reqdata/deptcd", getUserInfo("dutplcecd"));
-
- submit("TRMNG00402");
-
- submit("TRMNG00404");
-
- addComboItem("cmb_deptcd","--전체--","ALL","above");
-
- submit("TRMNG02302");
- var getuserinstcd = model.getValue("/root/temp/useinfo/cdid");
-
- if (getuserinstcd == "Y" ) {
- chk_low.visible = true;
- // cmb_lowdept.visible = true;
- } else {
- chk_low.visible = false;
- cmb_lowdept.visible = false;
- }
- fSearch();
-
- }
-
- function fUsrSetting() {
- var ioflag;
- var userdutplcecd = model.getValue("/root/init/csrdeptinfo/codelist[cdid = '"+getUserInfo("dutplcecd")+"']/cdid");
- submit("TRMNG02302");
- var getuserinstcd = model.getValue("/root/temp/useinfo/cdid");
-
- // for(var i = grd_porqlist.fixedRows; i < grd_porqlist.rows; i++) {
- for(var i = 1; i < grd_porqlist.rows; i++) {
- // ioflag = grd_porqlist.valueMatrix(i, grd_porqlist.colRef("ioflag"));
- // outidflag = grd_porqlist.valueMatrix(i, grd_porqlist.col Ref("outid"));
- // reqidflag = grd_porqlist.valueMatrix(i, grd_porqlist.colRef("reqid"));
-
- ioflag = model.getValue("/root/main/porqinfo/porqlist[" + i + "]/ioflag");
- outidflag = model.getValue("/root/main/porqinfo/porqlist[" + i + "]/outid");
- reqidflag = model.getValue("/root/main/porqinfo/porqlist[" + i + "]/reqid");
-
- if(ioflag == "N") {
- grd_porqlist.rowStatus(i) = "1";
-
- if (!isNull(userdutplcecd) && isNull(outidflag)) {
- grd_porqlist.colType(grd_porqlist.colRef("reqcnt")) = 'output'; //중앙공급실에서 병동 청구수량 비활성화
- //grd_pnrqlist.colType(grd_pnrqlist.colRef("remark2")) = 'output'; //중앙공급실에서 비고 비활성화
- // grd_porqlist.valueMatrix(i, grd_porqlist.colRef("outnm")) = getUserInfo("usernm"); //담당자
- // grd_porqlist.valueMatrix(i, grd_porqlist.colRef("outid")) = getUserInfo("userid"); //담당자
- // model.setValue("/root/main/porqinfo/porqlist[" + i + "]/outnm", getUserInfo("usernm")); //담당자
- // model.setValue("/root/main/porqinfo/porqlist[" + i + "]/outid", getUserInfo("userid")) //담당자
- } else if (isNull(userdutplcecd) && isNull(outidflag)) {
- grd_porqlist.colType(grd_porqlist.colRef("outcnt")) = 'output'; //병동에서에서 병동 불출수량 비활성화
- //grd_pnrqlist.colType(grd_pnrqlist.colRef("remark1")) = 'output'; //중앙공급실에서 비고 비활성화
- // grd_porqlist.valueMatrix(i, grd_porqlist.colRef("reqnm")) = getUserInfo("usernm"); //청구요청자
- // grd_porqlist.valueMatrix(i, grd_porqlist.colRef("reqid")) = getUserInfo("userid"); //담당자
- // model.setValue("/root/main/porqinfo/porqlist[" + i + "]/reqnm", getUserInfo("usernm")); //담당자
- // model.setValue("/root/main/porqinfo/porqlist[" + i + "]/reqid", getUserInfo("userid")); //담당자
- }
- }
- if (ioflag == "O" && !isNull(userdutplcecd)) {
-
- grd_porqlist.colType(grd_porqlist.colRef("reqcnt")) = 'output'; //중앙공급실에서 병동 청구수량 비활성화
- //grd_pnrqlist.colType(grd_pnrqlist.colRef("remark2")) = 'output'; //중앙공급실에서 비고 비활성화
- if (isNull(outidflag)) {
- grd_porqlist.rowStatus(i) = "2";
- // grd_porqlist.valueMatrix(i, grd_porqlist.colRef("outnm")) = getUserInfo("usernm"); //담당자
- // grd_porqlist.valueMatrix(i, grd_porqlist.colRef("outid")) = getUserInfo("userid"); //담당자
- // model.setValue("/root/main/porqinfo/porqlist[" + i + "]/outnm", getUserInfo("usernm")); //담당자
- // model.setValue("/root/main/porqinfo/porqlist[" + i + "]/outid", getUserInfo("userid")) //담당자
- }
- } else if (ioflag == "O" && isNull(userdutplcecd)) {
-
- grd_porqlist.colType(grd_porqlist.colRef("outcnt")) = 'output'; //병동에서에서 병동 불출수량 비활성화
- //grd_pnrqlist.colType(grd_pnrqlist.colRef("remark1")) = 'output'; //중앙공급실에서 비고 비활성화
- if (isNull(reqidflag)) {
- grd_porqlist.rowStatus(i) = "2";
- // grd_porqlist.valueMatrix(i, grd_porqlist.colRef("reqnm")) = getUserInfo("usernm"); //청구요청자
- // grd_porqlist.valueMatrix(i, grd_porqlist.colRef("reqid")) = getUserInfo("userid"); //담당자
- // model.setValue("/root/main/porqinfo/porqlist[" + i + "]/reqnm", getUserInfo("usernm")); //담당자
- // model.setValue("/root/main/porqinfo/porqlist[" + i + "]/reqid", getUserInfo("userid")); //담당자
- }
- }
- // alert(model.getValue("/root/main/porqinfo/porqlist[" + i + "]/reqid"));
- // alert(instance1.selectNodesXml("/root/main/porqinfo/porqlist[" + i + "]"));
- }
- //grd_porqlist.mergecol(1)=false; //병합 비활성화
- grd_porqlist.mergecol(grd_porqlist.colRef("goodcd"))=false;
- grd_porqlist.mergecol(grd_porqlist.colRef("goodnm"))=false;
- grd_porqlist.mergecol(grd_porqlist.colRef("goodspec"))=false;
- grd_porqlist.mergecol(grd_porqlist.colRef("goodunit"))=false;
- grd_porqlist.mergecol(grd_porqlist.colRef("reqcnt"))=false;
- grd_porqlist.mergecol(grd_porqlist.colRef("reqnm"))=false;
- grd_porqlist.mergecol(grd_porqlist.colRef("outcnt"))=false;
- grd_porqlist.mergecol(grd_porqlist.colRef("outnm"))=false;
- grd_porqlist.mergecol(grd_porqlist.colRef("stockcnt"))=false;
- grd_porqlist.mergecol(grd_porqlist.colRef("prntnm"))=false;
- grd_porqlist.mergecol(grd_porqlist.colRef("gooddesc"))=false;
- grd_porqlist.mergecol(grd_porqlist.colRef("prntdt"))=false;
- if ( getuserinstcd == "Y") {
- grd_porqlist.mergeCol(grd_porqlist.colRef("remark1")) = false;
- grd_porqlist.colHidden(grd_porqlist.colRef("prntnm")) = false;
- grd_porqlist.colHidden(grd_porqlist.colRef("gooddesc")) = false;
- grd_porqlist.colHidden(grd_porqlist.colRef("prntdt")) = false;
- } else {
- grd_porqlist.colHidden(grd_porqlist.colRef("prntnm")) = true;
- grd_porqlist.colHidden(grd_porqlist.colRef("gooddesc")) = true;
- grd_porqlist.colHidden(grd_porqlist.colRef("prntdt")) = true;
- }
- grd_porqlist.mergecells="bycol";
- }
-
- function fSearch() {
-
- model.setValue("/root/send/reqdd", model.getValue(ipt_reqdd.attribute("ref")));
- model.setValue("/root/send/deptcd", model.getValue(cmb_deptcd.attribute("ref")));
- model.setValue("/root/send/gubuncd", model.getValue(rdo_gubuncd.attribute("ref"))); //마스터코드구분 01:물품마스터02:창고마스터
-
- submit("TRMNG02301", "false");
-
- fUsrSetting();
-
- }
-
- function fPrintRex() {
- model.removenode("/root/send/report/porqlist");
- model.makeNode("/root/send/report/porqlist");
-
- copyNodesetType("/root/send/report/porqlist", "/root/main/porqinfo/porqlist");
-
- var userdutplcecd = model.getValue("/root/init/csrdeptinfo/codelist[cdid = '"+getUserInfo("dutplcecd")+"']/cdid");
-
- // 중앙공급실 유저만 출력여부 업데이트
- if (getUserInfo("dutplcecd") == userdutplcecd) {
- fSaveprnt();
-
- }
- exeReportPreview("RPMNG02300", "XMLSTR", "/root/send/report/porqlist");
-
- fSearch();
-
- }
-
- function fSearch2() {
- model.setValue("/root/send/reqdd", model.getValue(ipt_reqdd.attribute("ref")));
- model.setValue("/root/send/deptcd", model.getValue(cmb_lowdept.attribute("ref")));
- model.setValue("/root/send/gubuncd", model.getValue(rdo_gubuncd.attribute("ref"))); //마스터코드구분 01:물품마스터02:창고마스터
-
- submit("TRMNG02301", "false");
-
- fUsrSetting();
- }
-
- function fSaveprnt() {
-
- for (i=0; i< grd_porqlist.rows; i++) {
- if(grd_porqlist.valueMatrix(i, grd_porqlist.colRef("prntdt")) == "" || grd_porqlist.valueMatrix(i, grd_porqlist.colRef("prntdt")) == null ) {
- grd_porqlist.rowStatus(i) = 2;
- }
- }
- model.makeValue("/root/send/prntdata/porqlist", getGridUpdateData(grd_porqlist) );
-
- submit("TXMNG02302");
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="1024" pageheight="746" guideline="1,1007;2,547;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_tle" style="left:0px; top:0px; width:995px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:186px; height:14px; ">세탁물청구관리</caption>
- </group>
- <group id="grp_biz" scroll="auto" style="left:0px; top:60px; width:995px; height:665px; ">
- <caption id="caption12" class="tit_2" style="left:5px; top:9px; width:121px; height:14px; ">세탁물청구관리</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:25px; x2:990px; y2:26px; "/>
- <button id="btn_sav" class="btn5_letter2" style="left:946px; top:3px; width:42px; height:19px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.makeValue("/root/send/savedata/porqlist", getGridUpdateData(grd_porqlist) );
-
- submit("TXMNG02301");
-
- if ( chk_low.value == "Y") {
- fSearch2(); // 하위부서 check시 조회는 하위부서로.
- } else {
- fSearch();
- }
- ]]>
- </script>
- </button>
- <datagrid id="grd_porqlist" nodeset="/root/main/porqinfo/porqlist" caption="부서명^품목코드^품명^규격^단위^청구요청량^청구자^실제불출량^담당자^실재고 수량^비고^상세설명^출력여부^출력시간" colsep="^" colwidth="96, 86, 100, 70, 67, 83, 79, 83, 65, 77, 125, 100, 60, 120, 34, 30, 28, 100, 100, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:0px; top:29px; width:990px; height:635px; ">
- <col ref="deptnm" visibility="visible"/>
- <col ref="goodcd" visibility="visible"/>
- <col ref="goodnm" visibility="visible"/>
- <col ref="goodspec" visibility="visible"/>
- <col ref="goodunit" visibility="visible"/>
- <col ref="reqcnt" type="input" visibility="visible" format="#,###"/>
- <col ref="reqnm" visibility="visible"/>
- <col ref="outcnt" type="input" visibility="visible" format="#,###"/>
- <col ref="outnm" visibility="visible"/>
- <col ref="stockcnt" visibility="visible"/>
- <col ref="remark1" type="input"/>
- <col ref="gooddesc" visibility="visibile"/>
- <col ref="prntnm" visibility="visible"/>
- <col ref="prntdt" visibility="visible"/>
- <col ref="prntyn" visibility="hidden"/>
- <col ref="reqdd" visibility="hidden"/>
- <col ref="deptcd" visibility="hidden"/>
- <col ref="ioflag" visibility="hidden"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="reqid" visibility="hidden"/>
- <col ref="outid" visibility="hidden"/>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- var remark1 = "";
- var reqid = "";
- var outid = "";
-
- var userdutplcecd = model.getValue("/root/init/csrdeptinfo/codelist[cdid = '"+getUserInfo("dutplcecd")+"']/cdid");
- var getuseinstcd = model.getValue("/root/temp/useinfo/cdid");
-
- if(grd_porqlist.col == grd_porqlist.colRef("remark1") || grd_porqlist.col == grd_porqlist.colRef("reqcnt") || grd_porqlist.col == grd_porqlist.colRef("outcnt")) {
- remark1 = grd_porqlist.valueMatrix(grd_porqlist.row, grd_porqlist.colRef("remark1"));
- reqid = getUserInfo("userid");
- outid = getUserInfo("userid");
-
-
- for(var i = grd_porqlist.fixedRows; i < grd_porqlist.rows; i++) { //전체 행에서 같은 셀병합을 위하여 같은 부서만 적용.
- if(getuseinstcd != "Y") {
- if ( grd_porqlist.valueMatrix(i, grd_porqlist.colRef("deptcd")) == grd_porqlist.valueMatrix(grd_porqlist.row, grd_porqlist.colRef("deptcd")) ) {
- if (grd_porqlist.rowStatus(i) == "1" || grd_porqlist.rowStatus(i) == "3" ) { //그리드 상태를 변경한다
- grd_porqlist.rowStatus(i) = "1";
- } else if (grd_porqlist.rowStatus(i) == "2" || grd_porqlist.rowStatus(i) == "0") { //그리드 상태를 변경한다
- grd_porqlist.rowStatus(i) = "2";
- }
-
- grd_porqlist.valueMatrix(i, grd_porqlist.colRef("remark1")) = remark1;
-
- if (isNull(userdutplcecd) ){
- grd_porqlist.valueMatrix(i, grd_porqlist.colRef("reqid")) = reqid;
- } else {
- grd_porqlist.valueMatrix(i, grd_porqlist.colRef("outid")) = outid;
- }
- }
- } else if (getuseinstcd == "Y") {
-
- if (isNull(userdutplcecd) ){
- grd_porqlist.valueMatrix(i, grd_porqlist.colRef("reqid")) = reqid;
- } else {
- grd_porqlist.valueMatrix(i, grd_porqlist.colRef("outid")) = outid;
- }
- // grd_porqlist.valueMatrix(i, grd_porqlist.colRef("prntdt")) = "";
- }
- }
-
- if (getuseinstcd == "Y") {
- if ( grd_porqlist.valueMatrix(grd_porqlist.row, grd_porqlist.colRef("prntdt")) != "" || grd_porqlist.valueMatrix(grd_porqlist.row, grd_porqlist.colRef("prntdt")) != null) {
- grd_porqlist.valueMatrix(grd_porqlist.row, grd_porqlist.colRef("prntdt")) = "";
- grd_porqlist.valueMatrix(grd_porqlist.row, grd_porqlist.colRef("prntnm")) = "";
- grd_porqlist.valueMatrix(grd_porqlist.row, grd_porqlist.colRef("prntyn")) = "";
- }
- }
-
- // alert(grd_porqlist.valueMatrix(grd_porqlist.row, grd_porqlist.colRef("outcnt")));
- if( getuseinstcd == "Y" && (grd_porqlist.valueMatrix(grd_porqlist.row, grd_porqlist.colRef("outid")) == ""
- || grd_porqlist.valueMatrix(grd_porqlist.row, grd_porqlist.colRef("outid")) == null) ) {
- grd_porqlist.valueMatrix(grd_porqlist.row, grd_porqlist.colRef("outcnt")) = grd_porqlist.valueMatrix(grd_porqlist.row, grd_porqlist.colRef("reqcnt"));
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- var row = grd_porqlist.row;
- if(event.keyCode == 13) { // Enter 쳤을 경우 아래 수량으로
- if(grd_porqlist.col == grd_porqlist.colRef("reqcnt") || grd_porqlist.col == grd_porqlist.colRef("outcnt")) { //불출수량이나 미불출수량 엔터시
- if(grd_porqlist.row + 1 < grd_porqlist.rows) {
- grd_porqlist.row = row + 1;
- }
- }
- }
- ]]>
- </script>
- </datagrid>
- <select1 id="rdo_gubuncd" ref="/root/send/gubuncd" disabled="true" visibility="hidden" appearance="full" cols="2" overflow="visible" style="left:220px; top:5px; width:390px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>물품마스터</label>
- <value>01</value>
- </item>
- <item>
- <label>창고마스터</label>
- <value>02</value>
- </item>
- </choices>
- </select1>
- </group>
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:20px; width:995px; height:35px; background-color:#fffbf2; border-color:#ffd799; ">.,m</shape>
- <select1 id="cmb_lowdept" ref="/root/main/cond/lowdept" appearance="minimal" style="left:500px; top:30px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/main/deptcodelist">
- <label ref="deptnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fSearch2();
- ]]>
- </script>
- </select1>
- <caption id="caption2" class="search_name" style="left:430px; top:30px; width:88px; height:17px; ">부서명:</caption>
- <caption id="cap_csrreqdeptcd" class="search_name" style="left:260px; top:30px; width:68px; height:17px; ">청구일:</caption>
- <button id="btn_search" class="btn1_letter2" navindex="2" style="left:818px; top:26px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSearch();
- ]]>
- </script>
- </button>
- <input id="ipt_reqdd" ref="/root/main/cond/reqdd" class="input_default" inputtype="date" maxlength="6" format="yyyy-mm-dd" style="left:330px; top:30px; width:90px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fSearch();
- ]]>
- </script>
- </input>
- <line id="line2" class="line_4" style="x1:812px; y1:25px; x2:812px; y2:50px; "/>
- <caption id="cap_instcd" class="search_name" style="left:10px; top:30px; width:86px; height:17px; ">기관코드 :</caption>
- <output id="opt_instcdnm" ref="/root/main/cond/instcd" class="output_fix" style="left:100px; top:30px; width:150px; height:19px; text-align:center; "/>
- <button id="button3" class="btn1_letter2" style="left:876px; top:26px; width:56px; height:22px; ">
- <caption>엑셀</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "세탁물창고재고현황", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
-
- if (fileName != "")
- {
- grd_porqlist.saveExcel(fileName, "SheetName", false, false, "", "", "false");
- }
-
- ]]>
- </script>
- </button>
- <button id="btn_prt" class="btn1_letter2" style="left:934px; top:26px; width:56px; height:22px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- fPrintRex();
-
- ]]>
- </script>
- </button>
- <select id="chk_low" ref="/root/send/lowflag" overflow="visible" appearance="full" style="left:720px; top:30px; width:100px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>하위부서</label>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if ( chk_low.value == "Y" ) {
- cmb_deptcd.visible = false;
- cmb_lowdept.visible = true;
- if ( cmb_lowdept.value != null && cmb_lowdept.value != "") {
- fSearch2();
- }
- } else {
- cmb_deptcd.visible = true;
- cmb_lowdept.visible = false;
- fSearch();
- }
- ]]>
- </script>
- </select>
- <select1 id="cmb_deptcd" ref="/root/main/cond/deptcd" disabled="false" appearance="minimal" style="left:500px; top:30px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/main/csrdeptlist">
- <label ref="deptnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fSearch();
- ]]>
- </script>
- </select1>
- </xhtml:body>
- </xhtml:html>
|