| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 수정이력 :
-
- [2007.10.18 HBH : 공급실 불출구분이 "응급"이면 마감차수를 입력받지 않는다.
-
- -->
- <?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>부서별 CSR물품이력조회.</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <csrgoodinfo>
- <reqflag/>
- <deptnm/>
- <goodcd/>
- <goodnm/>
- <goodspec/>
- <goodmodel/>
- <deliveunit/>
- <dinfdivs/>
- </csrgoodinfo>
- <csrinfo>
- <csrbipumhistlist/>
- </csrinfo>
- </main>
- <send>
- <instcd/>
- <csrreqdeptcd/>
- <deptcd/>
- <deptnm/>
- <goodflag/>
- <csrreqdeptcd2/>
- <goodcd/>
- <goodnm/>
- </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"), model.property("instcd"));
- model.setValue(ipt_reqdeptcd.attribute("ref"), model.property("deptcd"));
- model.setValue(ipt_reqdeptnm.attribute("ref"), model.property("deptnm"));
- model.setValue(ipt_goodcd.attribute("ref"), model.property("goodcd"));
- model.setValue(ipt_goodnm.attribute("ref"), model.property("goodnm"));
-
- cmb_instcd.refresh();
- ipt_reqdeptcd.refresh();
- ipt_reqdeptnm.refresh();
- ipt_goodcd.refresh();
- ipt_goodnm.refresh();
-
- grd_csrgoodinfo.valueMatrix(1, grd_csrgoodinfo.colRef("reqflag")) = model.property("reqflag");
- grd_csrgoodinfo.valueMatrix(1, grd_csrgoodinfo.colRef("deptnm")) = model.property("deptnm");
- grd_csrgoodinfo.valueMatrix(1, grd_csrgoodinfo.colRef("goodcd")) = model.property("goodcd");
- grd_csrgoodinfo.valueMatrix(1, grd_csrgoodinfo.colRef("goodnm")) = model.property("goodnm");
- grd_csrgoodinfo.valueMatrix(1, grd_csrgoodinfo.colRef("goodspec")) = model.property("goodspec");
- grd_csrgoodinfo.valueMatrix(1, grd_csrgoodinfo.colRef("goodmodel")) = model.property("goodmodel");
- grd_csrgoodinfo.valueMatrix(1, grd_csrgoodinfo.colRef("deliveunit")) = model.property("deliveunit");
- grd_csrgoodinfo.valueMatrix(1, grd_csrgoodinfo.colRef("dinfdivs")) = model.property("dinfdivs");
-
- fSearch();
- ]]>
- </script>
- <submission id="TRRSD00114" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" 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 fSearch()
- {
-
- 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:1015px; 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:1015px; height:744px; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1015px; height:40px; "/>
- <button id="btn_search" class="btn1_letter2" navindex="7" style="left:830px; top:20px; width:56px; height:22px; text-align:left; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSearch();
- ]]>
- </script>
- </button>
- <line id="line14" class="line_4" style="x1:815px; y1:18px; x2:815px; y2:40px; "/>
- <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:890px; top:20px; 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:950px; top:20px; 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:0px; y1:153px; x2:1015px; y2:153px; "/>
- <button id="btn_reqdept" class="icon_search" style="left:383px; 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:220px; top:20px; width:88px; height:17px; ">부 서 명 :</caption>
- <input id="ipt_reqdeptnm" ref="/root/send/deptnm" class="input_search" style="left:405px; 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:310px; top:19px; width:70px; height:19px; "/>
- <datagrid id="grd_csrbipumlist" nodeset="/root/main/csrinfo/csrbipumhistlist" class="datagrid2" caption="부서코드^상태^물품
구분^부서명^물품코드^물품명^규격^모델^단위^멸균구분^처음
재고^비품
수량^재고
수량^청구
수량^반납
수량^파손
수량^분실
수량^분실상세^실사량^사유^수리
수량^확정^비품관리구분^불출/반납
수량^최종
저장일시^최종
저장자^최종
확정일시^최종
확정자^수정자ID^수정자^수정일자^최초
등록일자^청구구분^instcd^goodflag^purcunit^minexch^ddavguseqty^lrgcd^lrgnm^mdlcd^mdlnm^smlcd^smlnm^reqflag" colsep="^" colwidth="0, 44, 0, 0, 0, 0, 0, 0, 0, 0, 0, 50, 50, 50, 50, 50, 50, 100, 55, 100, 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:0px; top:158px; width:1015px; height:582px; ">
- <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" visibility="hidden" 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" visibility="hidden"/>
- <col class="input_essential" ref="goodcd" type="inputbutton" visibility="hidden" _key="true"/>
- <col ref="goodnm" visibility="hidden"/>
- <col ref="goodspec" visibility="hidden"/>
- <col ref="goodmodel" visibility="hidden"/>
- <col ref="deliveunit" visibility="hidden"/>
- <col disabled="true" ref="dinfdivs" type="combo" visibility="hidden">
- <choices>
- <item>
- <label>멸균</label>
- <value>1</value>
- </item>
- <item>
- <label>비멸균</label>
- <value>2</value>
- </item>
- </choices>
- </col>
- <col ref="minexch"/>
- <!-- 처음재고수량(처음 안전재고를 입력시에 처음 가질 재고량) -->
- <col ref="safestocqty" type="input" format="(-)#,###.##" style="text-align:right; "/>
- <col ref="realqty"/>
- <col disabled="true" ref="chngsafestocqty" type="input" style="text-align:right; "/>
- <col ref="reqlmtqty" type="input" style="text-align:right; "/>
- <col/>
- <col/>
- <col type="combo">
- <choices>
- <item>
- <label>비품변경없이청구</label>
- <value>1</value>
- </item>
- <item>
- <label>비품수량감소</label>
- <value>2</value>
- </item>
- </choices>
- </col>
- <col ref="orginspqty"/>
- <col ref="cmt" type="input"/>
- <col ref="rpirqty" type="input" visibility="hidden" style="text-align:right; "/>
- <col checkvalue="Y,N" ref="certyn" type="checkbox" visibility="hidden"/>
- <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" visibility="hidden"/>
- <col ref="lastupdtrnm" visibility="hidden"/>
- <col ref="lastupdtdt" visibility="hidden" format="yyyy-mm-dd"/>
- <col ref="fstrgstdt" visibility="hidden" 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:5px; top:139px; width:77px; height:13px; ">물품이력</caption>
- <caption id="caption2" class="search_name" style="left:520px; top:21px; width:88px; height:17px; ">물품코드 :</caption>
- <input id="ipt_goodnm" ref="/root/send/goodnm" class="input_search" style="left:705px; top:21px; width:102px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfValidationCheck("02", "", "deptcd,deptnm");
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_goodcd" ref="/root/send/goodcd" class="input_default" maxlength="10" style="left:610px; top:20px; width:70px; height:19px; "/>
- <caption id="caption4" class="tit_2" style="left:5px; top:61px; width:77px; height:14px; ">물품정보</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:75px; x2:1015px; y2:75px; "/>
- <datagrid id="grd_csrgoodinfo" nodeset="/root/main/csrgoodinfo" caption="물품구분^부서명^물품코드^물품명^규격^모델^단위^멸균구분" colsep="^" colwidth="63, 99, 100, 150, 164, 146, 48, 64" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:80px; width:1015px; height:48px; ">
- <col ref="reqflag" type="combo">
- <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 ref="goodcd"/>
- <col ref="goodnm"/>
- <col ref="goodspec"/>
- <col ref="goodmodel"/>
- <col ref="deliveunit"/>
- <col ref="dinfdivs" type="combo">
- <choices>
- <item>
- <label>멸균</label>
- <value>1</value>
- </item>
- <item>
- <label>비멸균</label>
- <value>2</value>
- </item>
- </choices>
- </col>
- </datagrid>
- <button id="btn_goodcd" class="icon_search" style="left:685px; top:22px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- modal("SMRSS00130");
-
- model.setValue(ipt_goodcd.attribute("ref"), model.property("goodcd"));
- model.setValue(ipt_goodnm.attribute("ref"), model.property("goodnm"));
-
-
- model.removeNodeset("/root/send/reqdata");
-
- model.makeValue("/root/send/reqdata/instcd", getUserInfo("dutplceinstcd"));
- model.makeValue("/root/send/reqdata/goodcd", model.getValue(ipt_goodcd.attribute("ref")));
-
- model.makeValue("/root/send/reqdata/deptcd", "");
- model.makeValue("/root/send/reqdata/reqflag", model.getValue(rdo_reqflag.attribute("ref")));
- model.makeValue("/root/send/reqdata/reqflag2", model.getValue(rdo_reqflag2.attribute("ref")));
-
- model.makeValue("/root/send/reqdata/reqflag3", "1");
- model.makeValue("/root/send/reqdata/rgstflag" , "");
-
- ipt_goodcd.refresh();
- ipt_goodnm.refresh();
-
- fSearch();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|