| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 수정이력 :
-
- [2007.10.18 HBH : 공급실 불출구분이 "응급"이면 마감차수를 입력받지 않는다.
-
- -->
- <?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>부서별 CSR물품이력조회.</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <csrdeptlist>
- <deptnm/>
- <deptcd/>
- <instcd/>
- <goodflag/>
- </csrdeptlist>
- <csrinfo>
- <csrbipumlist/>
- </csrinfo>
- </main>
- <send>
- <instcd/>
- <csrreqdeptcd/>
- <deptcd/>
- <deptnm/>
- <goodflag/>
- <csrreqdeptcd2/>
- </send>
- </root>
- </instance>
- <bind id="savedeliveprcsflag" ref="/root/main/list/goodreq/goodreqlist/savedeliveprcsflag" calculate="../deliveprcsflag"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- misfComboComCdListMulti("Z0007", "cmb_instcd");
-
- model.setValue(cmb_instcd.attribute("ref") , getUserInfo("dutplceinstcd"));
- model.setValue("/root/send/goodflag", "T");
-
- model.makeValue("/root/send/reqdata/instcd", getUserInfo("dutplceinstcd"));
- submit("TRRSS01211");
-
- addComboItem("cmb_csrreqdeptcd", "전체", "", "above");
- cmb_csrreqdeptcd.select(0);
- ]]>
- </script>
- <submission id="TRRSS01211" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/csrreqdeptlist"/>
- <submission id="TRRSS01212" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/csrdeptlist"/>
- <submission id="TRRSD00114" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/csrinfo"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript">
- <![CDATA[
- function fSearch2() {
- // model.copyNode("/root/main/cond", "/root/main/csrreqdeptlist[" + grd_csrreqdeptlist.row + "]"); //부서구분이 가지고 있는 instance를 복사(아래 상세 화면에 보여줌.)
-
-
- model.makeValue("/root/send/reqdata/csrreqdeptcd", cmb_csrreqdeptcd.value); //청구부서구분코드
- model.makeValue("/root/send/reqdata/useyn", model.getValue("/root/send/useyn"));
-
- submit("TRRSS01212");
-
- var dept = model.getValue(ipt_reqdeptcd.attribute("ref"));
-
- if(dept != "") {
- for(var i = grd_deptlist.fixedRows; i < grd_deptlist.rows; i++) {
-
- if(dept = grd_deptlist.valueMatrix(i, grd_deptlist.colRef("deptcd")) ) {
-
- grd_deptlist.row = i;
- fSearch();
- break;
- }
- }
-
- }
- // finitCtrl("ture");
-
- }
-
- function fSearch()
- {
- if(curRow > -1) {
- grd_deptlist.row = curRow;
- } else {
- grd_deptlist.row = 1;
- }
- var deptcd = grd_deptlist.valueMatrix(grd_deptlist.row, grd_deptlist.colRef("deptcd"));
- var instcd = grd_deptlist.valueMatrix(grd_deptlist.row, grd_deptlist.colRef("instcd"));
-
- model.makeValue("/root/send/reqdata/deptcd", deptcd);
- model.makeValue("/root/send/reqdata/instcd", instcd);
-
-
- submit("TRRSD00114");
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="1,625;" 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:243px; height:14px; ">부서별 CSR물품이력조회</caption>
- </group>
- <group id="grp_biz" style="left:0px; top:13px; width:1195px; height:744px; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1195px; height:40px; "/>
- <button id="btn_search" class="btn1_letter2" navindex="7" style="left:1005px; top:19px; width:56px; height:22px; text-align:left; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- opt_csrdeptnm.value = cmb_csrreqdeptcd.label;
- fSearch2();
- ]]>
- </script>
- </button>
- <line id="line14" class="line_4" style="x1:990px; y1:17px; x2:990px; y2:39px; "/>
- <caption id="caption14" class="search_name" style="left:15; top:19; width:86px; height:17px; ">기관코드 :</caption>
- <select1 id="cmb_instcd" ref="/root/send/instcd" class="combo_s_essential" appearance="minimal" style="left:105px; top:19px; width:95px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <button id="btn_excel" class="btn1_letter2" navindex="7" style="left:1065px; top:19px; width:56px; height:22px; text-align:left; ">
- <caption>엑셀</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "CSR물품이력조회", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "")
- {
- grd_csrbipumlist.saveExcel(fileName, "CSR물품이력조회");
- }
- ]]>
- </script>
- </button>
- <button id="button3" class="btn1_letter2" navindex="7" style="left:1125px; top:19px; width:56px; height:22px; text-align:left; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- ]]>
- </script>
- </button>
- <line id="line3" class="line_1" style="x1:210px; y1:84px; x2:1197px; y2:84px; "/>
- <button id="btn_reqdept" class="icon_search" style="left:553px; top:20px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("SPRSS01203");
-
- model.setValue(ipt_reqdeptcd.attribute("ref"), model.property("deptcd"));
- model.setValue(ipt_reqdeptnm.attribute("ref"), model.property("deptnm"));
- model.setValue(ipt_csrreqdeptcd2.attribute("ref"), model.property("csrreqdeptcd"));
-
- ipt_reqdeptcd.refresh();
- ipt_reqdeptnm.refresh();
- ipt_csrreqdeptcd2.refresh();
- // grd_csrdeptnm.valueMatrix(1,0) = model.getValue("/root/send/deptnm");
-
- // getCsrDeptList();
-
- cmb_csrreqdeptcd.value = model.getValue("/root/send/csrreqdeptcd2");
- //btn_search.dispatch("DOMActivate");
-
- if(cmb_csrreqdeptcd.value != "") {
- if(isRequiredControls("cmb_csrreqdeptcd")) {
- opt_csrdeptnm.value = cmb_csrreqdeptcd.label;
- //fSearch2();
- //
- // for(var i = 1; i <= grd_deptlist.rows; i++) {
- //
- // if( grd_deptlist.valueMatrix(i, grd_deptlist.colRef("deptcd")) == ipt_reqdeptcd.value ) {
- // grd_deptlist.row = i;
- // curRow = grd_deptlist.row;
- // fSearch();
- // break;
- // }
- // }
- }
- }
-
-
- ]]>
- </script>
- </button>
- <caption id="caption1" class="search_name" style="left:390px; top:20px; width:88px; height:17px; ">부 서 명 :</caption>
- <input id="ipt_reqdeptnm" ref="/root/send/deptnm" class="input_search" style="left:575px; top:20px; width:102px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfValidationCheck("02", "", "deptcd,deptnm");
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_reqdeptcd" ref="/root/send/deptcd" class="input_default" maxlength="10" style="left:480px; top:19px; width:70px; height:19px; "/>
- <caption id="cap_csrreqdeptcd" class="search_name" style="left:215px; top:20px; width:89px; height:17px; ">부서구분 :</caption>
- <select1 id="cmb_csrreqdeptcd" ref="/root/send/csrreqdeptcd" class="combo_s_essential" appearance="minimal" style="left:304px; top:19px; width:76px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/csrreqdeptlist">
- <label ref="csrreqdeptnm"/>
- <value ref="csrreqdeptcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue(ipt_reqdeptcd.attribute("ref"), "");
- model.setValue(ipt_reqdeptnm.attribute("ref"), "");
-
- ipt_reqdeptcd.refresh();
- ipt_reqdeptnm.refresh();
-
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </select1>
- <input id="ipt_csrreqdeptcd2" ref="/root/send/csrreqdeptcd2" visibility="hidden" style="left:90px; top:55px; width:100px; height:19px; "/>
- <caption id="caption2" class="tit_2" style="left:5px; top:69px; width:77px; height:13px; ">부서</caption>
- <line id="line2" class="line_1" style="x1:0px; y1:84px; x2:200px; y2:84px; "/>
- <output id="opt_csrdeptnm" class="output_fix" style="left:0px; top:89px; width:200px; height:19px; font-weight:bold; text-align:center; "/>
- <datagrid id="grd_deptlist" nodeset="/root/main/csrdeptlist" caption="부서명^부서코드^기관코드^물품구분" colsep="^" colwidth="154, 139, 97, 100" dataheight="25" ellipsis="true" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" tooltip="true" style="left:0px; top:109px; width:200px; height:634px; ">
- <col disabled="true" ref="deptnm"/>
- <col ref="deptcd" visibility="hidden"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="goodflag" visibility="hidden"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if(grd_deptlist.isCell(event.target) && grd_deptlist.mouseRow >= grd_deptlist.fixedrows){
- curRow = grd_deptlist.row;
- fSearch();
- }
-
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_deptlist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <datagrid id="grd_csrbipumlist" nodeset="/root/main/csrinfo/csrbipumlist" class="datagrid2" caption="부서코드^상태^물품
구분^부서명^물품코드^물품명^규격^모델^단위^멸균구분^재고
수량^처음
재고^비품
수량^청구
수량^반납
수량^사유^실사량^수리
수량^확정^비품관리구분^불출/반납
수량^최종
저장일시^최종
저장자^최종
확정일시^최종
확정자^수정자ID^수정자^수정일자^최초
등록일자^청구구분^instcd^goodflag^purcunit^minexch^ddavguseqty^lrgcd^lrgnm^mdlcd^mdlnm^smlcd^smlnm^reqflag" colsep="^" colwidth="0, 34, 44, 75, 95, 150, 62, 70, 40, 60, 50, 0, 50, 50, 50, 100, 48, 48, 37, 60, 77, 100, 60, 100, 60, 70, 70, 80, 80, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" frozencols="8" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:210px; top:89px; width:987px; height:654px; ">
- <col class="input_essential" ref="deptcd" visibility="hidden" _key="true"/>
- <col disabled="true" ref="rgstflag" type="combo">
- <choices>
- <item>
- <label>등록</label>
- <value>1</value>
- </item>
- <item>
- <label>변경</label>
- <value>2</value>
- </item>
- <item>
- <label>실사</label>
- <value>3</value>
- </item>
- <item>
- <label>확정</label>
- <value>4</value>
- </item>
- </choices>
- </col>
- <col disabled="true" ref="reqflag" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>비품</label>
- <value>1</value>
- </item>
- <item>
- <label>소모품</label>
- <value>2</value>
- </item>
- <item>
- <label>린넨</label>
- <value>4</value>
- </item>
- <item>
- <label>멸균품목</label>
- <value>3</value>
- </item>
- <item>
- <label>세척멸균품목</label>
- <value>5</value>
- </item>
- </choices>
- </col>
- <col ref="deptnm"/>
- <col class="input_essential" ref="goodcd" type="inputbutton" _key="true"/>
- <col ref="goodnm"/>
- <col ref="goodspec"/>
- <col ref="goodmodel"/>
- <col ref="deliveunit"/>
- <col disabled="true" ref="dinfdivs" type="combo">
- <choices>
- <item>
- <label>멸균</label>
- <value>1</value>
- </item>
- <item>
- <label>비멸균</label>
- <value>2</value>
- </item>
- </choices>
- </col>
- <col ref="realqty" style="text-align:right; "/>
- <col ref="minexch"/>
- <!-- 처음재고수량(처음 안전재고를 입력시에 처음 가질 재고량) -->
- <col ref="safestocqty" type="input" format="(-)#,###.##" style="text-align:right; "/>
- <col disabled="true" ref="chngsafestocqty" type="input" style="text-align:right; "/>
- <col ref="reqlmtqty" type="input" style="text-align:right; "/>
- <col ref="cmt" type="input"/>
- <col disabled="true" ref="orginspqty" type="input" style="text-align:right; "/>
- <col ref="rpirqty" type="input" visibility="hidden" style="text-align:right; "/>
- <col checkvalue="Y,N" ref="certyn" type="checkbox"/>
- <col class="input_essential" ref="goodmngtflag" type="combo" visibility="hidden" _key="true">
- <choices>
- <item>
- <label>청구</label>
- <value>1</value>
- </item>
- <item>
- <label>반납</label>
- <value>2</value>
- </item>
- </choices>
- </col>
- <col ref="mngtqty" visibility="hidden"/>
- <col ref="lastupdtdt" format="yyyy-mm-dd hh:nn"/>
- <col ref="lastupdtrnm"/>
- <col ref="certdt" format="yyyy-mm-dd hh:nn"/>
- <col ref="certnm"/>
- <col ref="lastupdtrid"/>
- <col ref="lastupdtrnm"/>
- <col ref="lastupdtdt" format="yyyy-mm-dd"/>
- <col ref="fstrgstdt" format="yyyy-mm-dd"/>
- <col ref="reqflag" visibility="hidden"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="goodflag" visibility="hidden"/>
- <col ref="purcunit" visibility="hidden"/>
- <col ref="minexch" visibility="hidden"/>
- <col ref="ddavguseqty" visibility="hidden"/>
- <col ref="lrgcd" visibility="hidden"/>
- <col ref="lrgnm" visibility="hidden"/>
- <col ref="mdlcd" visibility="hidden"/>
- <col ref="mdlnm" visibility="hidden"/>
- <col ref="smlcd" visibility="hidden"/>
- <col ref="smlnm" visibility="hidden"/>
- <col ref="reqflag" visibility="hidden"/>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- fGridSetData("grd_csrbipumlist");
-
- ]]>
- </script>
- </datagrid>
- <caption id="caption3" class="tit_2" style="left:215px; top:70px; width:77px; height:13px; ">물품이력</caption>
- </group>
- </xhtml:body>
- </xhtml:html>
|