123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
- <xhtml:html xmlns:ex="http://www.comsquare.co.kr/xforms/excel" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:my="http://www.comsquare.co.kr/example" xmlns:ms="urn:schemas-microsoft-com:xslt" 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" xmlns:cs="http://www.comsquare.co.kr/xforms">
- <xhtml:head>
- <xhtml:title>재고자산 BarCode 출력</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <list>
- <stokasetcnfminfo>
- <stokasetcnfmlist/>
- </stokasetcnfminfo>
- <cpstokasetcnfm>
- <cpstokasetcnfmlist>
- <goodnm/>
- <allsizespecidnm/>
- <goodmodel/>
- <prodcmpynm/>
- <subcustnm/>
- <goodcd2/>
- <barcode/>
- </cpstokasetcnfmlist>
- </cpstokasetcnfm>
- </list>
- <barcdprntsetup>
- <prntkind>2</prntkind>
- <commkind>02</commkind>
- <setupval/>
- <comm/>
- <databit>8</databit>
- <stopbit>1</stopbit>
- <baudrate>9600</baudrate>
- <parity>n</parity>
- </barcdprntsetup>
- </main>
- <send>
- <search>
- <execyymm/>
- <instcd/>
- <goodflag>U</goodflag>
- <lrgcd/>
- <mdlcd/>
- <goodcd/>
- <goodnm/>
- <purcflag/>
- <stocmngtflag/>
- </search>
- <stokasetcnfmlist/>
- </send>
- <init>
- </init>
- <temp/>
- </root>
- </instance>
- <submission id="TRRPZ00701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/barcdprntsetup"/>
- <submission id="TXRSG06102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/stokasetcnfmlist" resultref="/root/temp"/>
- <submission id="TRRSG06002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/main/list/stokasetcnfminfo"/>
- </model>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- //화면 Control을 초기화한다
- fInitialize();
- ]]>
- </script>
- <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" src="../../../mis/purcbaseweb/js/SMRFC00700.js"/>
- <script type="javascript" src="../../../mis/purcstatsweb/js/SMRSG06000.js"/>
- <script type="javascript">
- <![CDATA[
-
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:230px; height:14px; ">재고자산 BarCode 출력</caption>
- <caption id="caption4" class="patient_text_black" style="left:922px; top:0px; width:272px; "/>
- </group>
- <group id="group3" scroll="auto" style="left:0px; top:20px; width:1195px; height:764px; ">
- <line id="line1" class="line_1" style="x1:0px; y1:104px; x2:1194px; y2:104px; "/>
- <caption id="caption21" class="tit_2" style="left:5px; top:86px; width:143px; height:13px; ">물품 정보</caption>
- <button id="btn_allcancel" class="btn2_letter5" style="left:1054px; top:83px; width:75px; height:19px; ">
- <caption>전체 취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- for (var i=grd_stokasetcnfmlist.fixedRows; i<grd_stokasetcnfmlist.rows; i++){
- grd_stokasetcnfmlist.valueMatrix(i, grd_stokasetcnfmlist.colRef("chk")) = "N";
- grd_stokasetcnfmlist.rowStatus(i) = 0;
- }
- ]]>
- </script>
- </button>
- <button id="btn_allselect" class="btn2_letter5" style="left:969px; top:83px; width:75px; height:19px; ">
- <caption>전체 선택</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- for (var i=grd_stokasetcnfmlist.fixedRows; i<grd_stokasetcnfmlist.rows; i++){
- grd_stokasetcnfmlist.valueMatrix(i, grd_stokasetcnfmlist.colRef("chk")) = "Y";
- grd_stokasetcnfmlist.rowStatus(i) = 1;
- }
- ]]>
- </script>
- </button>
- <button id="btn_print" class="btn2_letter2" style="left:1139px; top:83px; width:42px; height:19px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var updtdata = getGridUpdateData(grd_stokasetcnfmlist);
- if (updtdata == "" || grd_stokasetcnfmlist.rows == 0)
- {
- messageBox("출력할 데이터가","I004");
- return;
- }
- var retMes = messageBox("출력 하시겠습니까?", "Q999");
- if ( retMes != 6) {
- return;
- }
- model.setValue("/root/send/stokasetcnfmlist", updtdata);
- submit("TXRSG06102");
- fStokAsetLabel_DrvType();
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </button>
- <group id="grp_search" style="left:0px; top:7px; width:1195px; height:63px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195px; height:63px; background-color:#fffbf2; border-color:#ffd799; "/>
- <line id="line30" class="line_4" style="x1:1110px; y1:4px; x2:1110px; y2:58px; "/>
- <button id="btn_search" class="btn1_letter2" style="left:1125px; top:22px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.resetInstanceNode("/root/main/list/stokasetcnfminfo/stokasetcnfmlist");
- model.setValue("/root/send/search/execyymm", model.getValue("/root/send/search/execyymm").substr(0, 6));
-
- submit("TRRSG06002");
- model.refresh();
- ]]>
- </script>
- </button>
- <select1 id="cmb_instcd" ref="/root/send/search/instcd" class="combo_default" appearance="minimal" style="left:104px; top:10px; width:130px; height:19px; ">
- <choices>
- <itemset nodeset="/root/main/init">
- <label ref="cnstnm"/>
- <value ref="cnstcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fSetPrintUseCheck();
- ]]>
- </script>
- </select1>
- <caption id="cap_instcd" class="search_name" style="left:10px; top:10px; width:86px; height:17px; ">기관코드 :</caption>
- <select1 id="cmb_goodflag" ref="/root/send/search/goodflag" class="combo_default" appearance="minimal" style="left:344px; top:11px; width:161px; height:19px; ">
- <choices>
- <item>
- <label>의료비품</label>
- <value>U</value>
- </item>
- <item>
- <label>의료소모품</label>
- <value>Y</value>
- </item>
- <item>
- <label>공급실물품</label>
- <value>T</value>
- </item>
- <item>
- <label>일반소모품</label>
- <value>Z</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- rszfLMSComboList(model.getValue(cmb_goodflag.attribute("ref")), "", "", "cmb_lrgcd", "", "L", "", "Y");
- addComboItem( "cmb_lrgcd", "전체", "", "above");
- cmb_mdlcd.value='';
-
- model.refresh();
- ]]>
- </script>
- </select1>
- <caption id="cap_goodflag" class="search_name" style="left:250px; top:10px; width:86px; height:17px; ">물품구분 :</caption>
- <select1 id="cmb_lrgcd" ref="/root/send/search/lrgcd" appearance="minimal" style="left:344px; top:38px; width:161px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- rszfLMSComboList(model.getValue(cmb_goodflag.attribute("ref")), cmb_lrgcd.value, "", "cmb_mdlcd", "", "M", "", "Y");
- cmb_mdlcd.dispatch("xforms-value-changed");
- addComboItem( "cmb_mdlcd", "전체", "", "above");
- model.refresh();
- ]]>
- </script>
- </select1>
- <select1 id="cmb_mdlcd" ref="/root/send/search/mdlcd" appearance="minimal" style="left:610px; top:40px; width:150px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption7" class="search_name" style="left:250px; top:39px; width:88px; height:17px; ">대 분 류 :</caption>
- <caption id="caption8" class="search_name" style="left:516px; top:39px; width:88px; height:17px; ">중 분 류 :</caption>
- <input id="ipt_goodnm" ref="/root/send/search/goodnm" class="input_search" style="left:730px; top:10px; width:160px; height:19px; "/>
- <button id="btn_goodcd" class="icon_search" style="left:711px; top:10px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //rszfOpenPopUpListByWndName(ipt_goodcd,"","goodcd,goodnm","SPRSD00210","instcd,goodflag","cmb_instcd,cmb_goodflag");
- rszfOpenPopUpListByWndName(ipt_goodcd,"","goodcd,goodnm","SPRSD00210","instcd,goodflag","cmb_instcd,cmb_goodflag");
- //rszfOpenPopUpListByWndName(ipt_goodcd,"","goodcd,goodnm","SPRSD00210","instcd,goodflag,reqflag","cmb_instcd,cmb_goodflag,cmb_reqflag");
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_goodcd" ref="/root/send/search/goodcd" class="input_search" maxlength="10" appearance="input" style="left:610px; top:10px; width:95px; height:19px; "/>
- <caption id="caption1" class="search_name" style="left:518px; top:10px; width:86px; height:17px; ">물품코드 :</caption>
- <input id="ipt_execyymm" ref="/root/send/search/execyymm" class="input_default" inputtype="date" format="yyyy-mm" appearance="input" style="left:104px; top:40px; width:130px; height:19px; "/>
- <caption id="caption15" class="search_name" style="left:10px; top:39px; width:88px; height:17px; ">실사년월 :</caption>
- <select1 id="cmb_purcflag" ref="/root/send/search/purcflag" appearance="minimal" style="left:995px; top:10px; width:101px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/purcflag">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption2" class="search_name" style="left:905px; top:10px; width:86px; height:17px; ">구매구분 :</caption>
- <select1 id="cmb_stocmngtflag" ref="/root/send/search/stocmngtflag" appearance="minimal" style="left:896px; top:40px; width:200px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/stocmngtflag">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption3" class="search_name" style="left:775px; top:40px; width:112px; height:17px; ">재고관리기준 :</caption>
- </group>
- <button id="btn_prntset" class="btn3_letter5" visibility="visible" style="left:95px; top:80px; width:92px; height:22px; ">
- <caption>프린터설정</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetPrint();
- ]]>
- </script>
- </button>
- <button id="btn_init" class="btn4_letter3" style="left:885px; top:80px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fInitialize();
- ]]>
- </script>
- </button>
- <datagrid id="grd_cpstokasetcnfmlist" nodeset="/root/main/list/cpstokasetcnfm/cpstokasetcnfmlist" visibility="hidden" caption="물품명^규격^모델^제조원^거래처^물품코드^바코드" colsep="^" colwidth="100, 100, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:10px; top:620px; width:640px; height:105px; ">
- <col ref="goodnm"/>
- <col ref="allsizespecidnm"/>
- <col ref="goodmodel"/>
- <col ref="prodcmpynm"/>
- <col ref="subcustnm"/>
- <col ref="goodcd2"/>
- <col ref="barcode"/>
- </datagrid>
- <datagrid id="grd_stokasetcnfmlist" nodeset="/root/main/list/stokasetcnfminfo/stokasetcnfmlist" class="datagrid3" caption="선택^실사년월^기관코드^물품구분^물품코드^물품코드^물품명^규격^모델^제조원^주거래처명^보조거래처명^현재고수량^출력 여부" colsep="^" colwidth="37, 3, 1, 2, 80, 25, 285, 160, 130, 100, 100, 100, 69, 62" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="24" rowsep="|" style="left:0px; top:110px; width:1194px; height:620px; font-weight:normal; text-align:center; ">
- <col checkvalue="Y,N" ref="chk" type="checkbox" style="text-align:left; "/>
- <col ref="execyymm" visibility="hidden" style="text-align:left; "/>
- <col ref="instcd" visibility="hidden" style="text-align:left; "/>
- <col ref="goodflag" visibility="hidden" style="text-align:left; "/>
- <col ref="goodcd" style="text-align:center; "/>
- <col ref="allsizespecid" style="text-align:center; "/>
- <col ref="goodnm" style="text-align:left; padding-left:10; "/>
- <col ref="allsizespecidnm" style="text-align:left; padding-left:10; "/>
- <col ref="goodmodel" style="text-align:left; padding-left:10; "/>
- <col ref="prodcmpynm" style="text-align:left; padding-left:10; "/>
- <col ref="maincustnm" style="text-align:left; padding-left:10; "/>
- <col ref="subcustnm" style="text-align:left; padding-left:10; "/>
- <col ref="totstocqty" format="#,###" style="text-align:right; "/>
- <col checkvalue="Y,N" disabled="true" ref="barcdprintyn" type="checkbox"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if (grd_stokasetcnfmlist.col == grd_stokasetcnfmlist.colRef("chk")){
- var chk;
- chk = grd_stokasetcnfmlist.valueMatrix(grd_stokasetcnfmlist.row, grd_stokasetcnfmlist.colRef("chk"));
- if (chk == "Y"){
- grd_stokasetcnfmlist.rowStatus(grd_stokasetcnfmlist.row) = 1;
- }else{
- grd_stokasetcnfmlist.rowStatus(grd_stokasetcnfmlist.row) = 0;
- }
-
- }
- ]]>
- </script>
- </datagrid>
- </group>
- </xhtml:body>
- </xhtml:html>
|