123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195 |
- <?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="">
- <init/>
- <send>
- <instcd/>
- <stocym/>
- <goodflag/>
- <stocdeptcd/>
- </send>
- <temp/>
- <main>
- <list>
- <nutrstoccustbiyul/>
- </list>
- </main>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- //화면 Control을 초기화한다
- fInitialize();
- ]]>
- </script>
- <submission id="TRRSG02101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list"/>
- </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[
- var RetrYn = "Y";
- function fInitialize() {
-
- misfGridInit(grd_nutrcustbiyul);
-
- grd_nutrcustbiyul.rowHeight(0) = "20";
- grd_nutrcustbiyul.rowHeight(1) = "20";
- rszfUserInstList(cmb_instcd,getUserInfo("userid"));
- misfMsterDetailSet(grd_nutrcustbiyul,null, "TRRSG02101" ,"N");
-
- var curdate = getCurrentDate();
-
- model.setValue(ipt_stocym.attribute("ref") ,curdate);
- // [2010.08.26]AS-IS 코드 TO_BE 코드 전환을 위한 물품구분 변경 (goodflag= P) => (goodflag= PH)
- model.setValue(ipt_goodflag.attribute("ref"),"PH");
-
- // hidden column
- // [2010.08.26]AS-IS 코드 TO_BE 코드 전환을 위한 물품구분 변경 (goodflag= S) => (goodflag= SF)
- model.setValue(ipt_goodflag.attribute("ref"),'SF');
- //model.setValue(ipt_stocdeptcd.attribute("ref") ,"3251000000"); // getUserInfo("dutplcecd"));
- model.setValue(ipt_stocdeptcd.attribute("ref") , getUserInfo("dutplcecd"));
-
- model.setValue(cmb_instcd.attribute("ref") , getUserInfo("dutplceinstcd"));
-
- model.refresh();
- }
-
- function fCheckRetrieveData(pmsg)
- {
- if(model.getValue(cmb_instcd.attribute("ref")).length== 0 )
- {
- if(pmsg == true)
- {
- messageBox("기관코드를 " ,"C002");
- model.setFocus("cmb_instcd");
- }
- return false;
- }
- if(model.getValue(ipt_stocym.attribute("ref")).length== 0 )
- {
- if(pmsg == true)
- {
- messageBox("기준년월 " ,"C002");
- model.setFocus("ipt_stocym");
- }
- return false;
- }
-
- /*
- if(model.getValue(ipt_suplplcecd.attribute("ref")).length== 0 )
- {
- if(pmsg == true)
- {
- messageBox("공급처를 " ,"C001");
- model.setFocus("ipt_suplplcecd");
- }
- return false;
- }
- */
-
- if(model.getValue(ipt_windeptcd.attribute("ref")).length== 0 )
- {
- if(pmsg == true)
- {
- messageBox("입고부서를 " ,"C001");
- model.setFocus("ipt_windeptcd");
- }
- return false;
- }
- if(model.getValue(ipt_winfrdd.attribute("ref")).length== 0 )
- {
- if(pmsg == true)
- {
- messageBox("입고시작일자를 " ,"C001");
- model.setFocus("ipt_winfrdd");
- }
- return false;
- }
-
- if(model.getValue(ipt_wintodd.attribute("ref")).length== 0 )
- {
- if(pmsg == true)
- {
- messageBox("입고종료일자를 " ,"C001");
- model.setFocus("ipt_wintodd");
- }
- return false;
- }
- return true;
- }
- ]]>
- </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:1195; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:189px; height:14px; ">월별 지출결의서</caption>
- </group>
- <group id="group5" scroll="auto" style="left:0px; top:38px; width:1195px; height:744px; ">
- <caption id="caption21" class="tit_2" style="left:5px; top:54px; width:188px; height:14px; ">지출현황</caption>
- <group id="group6" style="left:0px; top:10px; width:1195px; height:35px; vertical-align:top; ">
- <shape id="roundrect3" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption4" class="search_name" style="left:225px; top:9px; width:86px; height:17px; ">지출년월 :</caption>
- <caption id="caption2" class="search_name" style="left:15px; top:9px; width:86px; height:17px; ">기관코드 :</caption>
- <button id="button1" class="btn1_letter2" style="left:1125px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //if(fCheckRetrieveData(false) == false)return;
- misfMsterDetailRetrieve();
- //fAfterRetrieve();
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:1110px; y1:7px; x2:1110px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
- <select1 id="cmb_instcd" ref="/root/send/instcd" class="combo_search" appearance="minimal" style="left:100px; top:8px; width:100; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_stocym" ref="/root/send/stocym" class="input_s_essential" inputtype="date" format="yyyy-mm" style="left:311px; top:8px; width:100px; height:19px; text-align:center; "/>
- <input id="ipt_goodflag" ref="/root/send/goodflag" visibility="hidden" style="left:615px; top:8px; width:100px; height:19px; "/>
- <input id="ipt_stocdeptcd" ref="/root/send/stocdeptcd" visibility="hidden" style="left:745px; top:8px; width:100px; height:19px; "/>
- </group>
- <line id="line15" class="line_1" style="x1:0px; y1:69px; x2:1195px; y2:69px; "/>
- <button id="button14" class="btn2_letter2" style="left:1153px; top:48px; width:42px; height:19px; ">
- <caption>엑셀</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfSaveExcel(grd_nutrcustbiyul,"월별지출결의서");
- ]]>
- </script>
- </button>
- <datagrid id="grd_nutrcustbiyul" nodeset="/root/main/list/nutrstoccustbiyul" caption="거래처^거래처^VAT금액^환자식(일반식+치료식)^직원식(직원식+직원야식)^총계^" colsep="^" colwidth="78, 100, 203, 229, 207, 290" dataheight="25" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:0px; top:74px; width:1195px; height:660px; ">
- <col ref="maincustlastsuplplce"/>
- <col ref="maincustlastsuplplcenm"/>
- <col ref="winamtvat" format="#,###" style="text-align:right; "/>
- <col ref="custpatwinamt" format="#,###" style="text-align:right; "/>
- <col ref="custempwinamt" format="#,###" style="text-align:right; "/>
- <col ref="totwinamtwithvat" format="#,###" style="text-align:right; "/>
- </datagrid>
- </group>
- <group id="group4" scroll="auto" style="left:0px; top:12; width:1195px; height:27px; ">
- <button id="button34" class="btn6_letter2" visibility="hidden" style="left:0; top:3px; width:56px; height:22px; ">
- <caption>출력</caption>
- </button>
- <line id="line17" class="line_6" style="x1:0px; y1:25; x2:1195; y2:25; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|