123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203 |
- <?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>
- <bnswinsumlist/>
- <bnsmiwinlist/>
- <goodnonwin/>
- </main>
- <send>
- <instcd/>
- <goodflag/>
- <winym/>
- <instcdnm/>
- <suplplcecd/>
- <interfacegubn/>
- <bideliveno/>
- </send>
- <init>
- </init>
- <temp/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- //화면 Control을 초기화한다
- fInitialize();
- ]]>
- </script>
- <submission id="TRRSI02401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/bnswinsumlist"/>
- <submission id="TRRSI02402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/bnsmiwinlist"/>
- <submission id="TRRSI00103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/goodnonwin"/>
- </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[
-
- // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
- function fInitialize()
- {
-
- misfGridInit(grd_bnswinsumlist);
- misfGridInit(grd_bnsmiwinlist);
-
- misfMsterDetailSet(grd_bnswinsumlist, null, "TRRSI02401", "N");
- misfMsterDetailSet(grd_bnsmiwinlist, null, "TRRSI02402", "N");
- model.setValue(opt_instcd.attribute("ref") , getUserInfo("dutplceinstcd"));
- model.setValue(opt_instcdnm.attribute("ref") , getUserInfo("dutplceinstnm"));
-
- model.setValue(opt_goodflag.attribute("ref"), "PH");
- model.setValue(opt_suplplcecd.attribute("ref") , rszfGetMainCust(drg_main_suplplcecd));
-
- var curdd = getCurrentDate();
-
- model.setValue(ipt_winym.attribute("ref") ,curdd.substr(0,6) );
- //rszfGridComboLrgcdList("P", cmb_lrgcd, "lrgcd","N");
- model.refresh();
- }
-
- function fCheckRetrieveData()
- {
- if(!isRequiredControls("opt_instcd") )return false; // 물품구분
- if(!isRequiredControls("opt_goodflag") )return false; // 물품구분
- if(!isRequiredControls("ipt_winym") )return false; // 작업년월
- //if(!isRequiredControls("cmb_stocdeptcd") )return false; // 부서코드
- }
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body 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; ">도매상 월정산</caption>
- </group>
- <group id="grp_biz" scroll="auto" style="left:0px; top:38; width:1195; height:744; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1192px; height:50px; background-color:#fffbf2; border-color:#ffd799; "/>
- <line id="line1" class="line_1" style="x1:0px; y1:85px; x2:1190px; y2:85px; "/>
- <datagrid id="grd_bnswinsumlist" nodeset="/root/main/bnswinsumlist" caption="약품코드^약품명칭^도매상 코드^입고일자^발주부서^포장수량^낱개수량^입고단위^구입가^입고금액^비 고" colsep="^" colwidth="90, 260, 89, 80, 90, 80, 80, 61, 90, 105, 110" dataheight="25" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:0px; top:90px; width:1190px; height:350px; ">
- <col ref="goodcd" _key="true" style="left:161px; top:25px; width:115px; height:25px; text-align:left; "/>
- <col ref="goodnm" style="text-align:left; "/>
- <col ref="bnscd" style="text-align:left; "/>
- <col ref="windd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="windeptnm"/>
- <col ref="winpackqty" format="#,###" style="text-align:right; "/>
- <col ref="winqty" format="#,###" style="text-align:right; "/>
- <col ref="winunit" style="text-align:center; "/>
- <col ref="goodpurccost" format="#,###.#" style="text-align:right; "/>
- <col ref="winamt" format="#,###.#" style="text-align:right; "/>
- <col ref="cmt"/>
- </datagrid>
- <caption id="caption3" class="tit_2" style="left:5px; top:69px; width:165px; height:13px; ">도매상 월정산 LIST</caption>
- <button id="btn_search" class="btn1_letter2" style="left:1125px; top:26px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
-
- misfGridInit(grd_bnswinsumlist);
- misfGridInit(grd_bnsmiwinlist);
-
- if(fCheckRetrieveData(false) == false)return;
-
- submit("TRRSI02401");
- submit("TRRSI02402");
-
- model.refresh();
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:1110px; y1:16px; x2:1110px; y2:56px; "/>
- <caption id="cap_instcd" class="search_name" style="left:15px; top:26px; width:86px; height:17px; ">기관코드 :</caption>
- <caption id="cap_winym" class="search_name" style="left:375px; top:26px; width:101px; height:17px; ">입고년월 :</caption>
- <output id="opt_instcdnm" ref="/root/send/instcdnm" class="output_fix" style="left:100px; top:26px; width:150px; height:19px; text-align:center; "/>
- <output id="opt_instcd" ref="/root/send/instcd" class="output_fix" visibility="hidden" style="left:1055px; top:25px; width:20px; height:19px; "/>
- <output id="opt_goodflag" ref="/root/send/goodflag" visibility="hidden" style="left:1035px; top:25px; width:20px; height:19px; "/>
- <output id="opt_suplplcecd" ref="/root/send/suplplcecd" visibility="hidden" style="left:1075px; top:25px; width:20px; height:19px; "/>
- <button id="btn_excel_all" class="btn2_letter4" style="left:1125px; top:65px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "보나에스 월정산", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "")
- {
- grd_bnswinsumlist.saveExcel(fileName, "보나에스 월정산", true, true, "");
- }
- ]]>
- </script>
- </button>
- <input id="ipt_winym" ref="/root/send/winym" class="input_s_essential" inputtype="date" format="yyyy-mm" style="left:460px; top:26px; width:114px; height:19px; text-align:center; "/>
- <datagrid id="grd_bnsmiwinlist" nodeset="/root/main/bnsmiwinlist" caption="입고일자^발주부서^도매상 파일^건수^금액" colsep="^" colwidth="114, 116, 100, 96, 114" dataheight="25" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:0px; top:475px; width:575px; height:240px; ">
- <col ref="windd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="windeptnm"/>
- <col ref="bideliveno"/>
- <col ref="cnt" format="#,###.#" style="text-align:right; "/>
- <col ref="winamt" format="#,###.#" style="text-align:right; "/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if(isDataCell() == true) {
- model.setValue("/root/send/bideliveno", grd_bnsmiwinlist.valueMatrix(grd_bnsmiwinlist.row, grd_bnsmiwinlist.colRef("bideliveno")));
- model.setValue("/root/send/interfacegubn", "B");
- submit("TRRSI00103");
- }
- ]]>
- </script>
- </datagrid>
- <caption id="caption1" class="tit_2" style="left:5px; top:454px; width:165px; height:14px; ">도매상 미 매입 LIST</caption>
- <line id="line2" class="line_1" style="x1:0px; y1:470px; x2:575px; y2:470px; "/>
- <line id="line3" class="line_1" style="x1:578px; y1:470px; x2:1190px; y2:470px; "/>
- <datagrid id="grd_nonwin" nodeset="/root/main/goodnonwin/goodnonwinlist" caption="입고유형^발주일자^약품코드^약품명^함량^모델^제조회사^발주수량^발주수량^포장^포장^포장^단가^금액^기입고량^입고수량^입고금액" colsep="^" colwidth="60, 72, 88, 243, 85, 0, 0, 51, 52, 38, 36, 31, 69, 81, 65, 67, 89" dataheight="23" ellipsis="true" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="23" rowsep="|" tooltip="true" style="left:578px; top:475px; width:612px; height:240px; ">
- <col ref="iokindnm" style="text-align:left; "/>
- <col ref="purcdmnddd" format="yyyy-mm-dd"/>
- <col ref="goodcd"/>
- <col ref="goodnm"/>
- <col ref="goodspec"/>
- <col ref="goodmodel" visibility="hidden"/>
- <col ref="prodcmpynm" visibility="hidden"/>
- <col ref="reqpackcnt" format="#,###" style="text-align:right; "/>
- <col ref="reqqty" format="#,###" style="text-align:right; "/>
- <col ref="reqpackcntperunit"/>
- <col ref="requnit"/>
- <col ref="reqpackunit"/>
- <col ref="winunitcost" format="#,###.##" style="text-align:right; "/>
- <!--// -->
- <col ref="reqfla" format="#,###" style="text-align:right; "/>
- <col ref="prewinqty" format="#,###" style="left:1096px; top:23px; width:65px; height:23px; text-align:right; "/>
- <col ref="winpackqty" format="#,###.##" style="text-align:right; "/>
- <!--// -->
- <col ref="winamt" format="#,###.#" style="text-align:right; "/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_nonwin.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <caption id="caption2" class="tit_2" style="left:578px; top:455px; width:165px; height:14px; ">미입고조회/입고</caption>
- </group>
- <group id="group1" style="left:0px; top:12; width:1195px; height:27px; ">
- <button id="btn_init" class="btn4_letter3" style="left:1127px; top:3px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fInitialize();
- ]]>
- </script>
- </button>
- <line id="line17" class="line_6" style="x1:0px; y1:25px; x2:1195px; y2:25px; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|