123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236 |
- <?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>
- <instcd/>
- </init>
- <send>
- <instcd/>
- <bonawinlist/>
- <bonaordlist/>
- </send>
- <main>
- <bonawinlist/>
- <bonaordlist/>
- </main>
- <temp/>
- <hidden/>
- </root>
- </instance>
- <submission id="TRRSI06001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main"/>
- <submission id="TXRSI06001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp"/>
- <submission id="TRRSI06101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main"/>
- <submission id="TXRSI06101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize();
- misfComboComCdList("Z0007", cmb_instcd); //기관코드
-
- misfMsterDetailSet(grd_bonawinlist,null,"TRRSI06001","Y");
-
- btn_save.disabled = !(checkAuth("X"));
-
- model.refresh();
- ]]>
- </script>
- </model>
- <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/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript">
- <![CDATA[
- // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
- function fInitialize() {
- model.resetInstanceNode("/root/send");
- misfGridInit(grd_bonawinlist);
- misfGridInit(grd_bonaordlist);
- model.refresh();
- }
- ]]>
- </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:190px; height:13px; ">보나에스입고관리</caption>
- </group>
- <group id="grp_biz" scroll="auto" style="left:0px; top:40px; width:1195px; height:744px; ">
- <group id="grp_sea" style="left:0px; top:10px; width:1194px; height:45px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:45px; background-color:#fffbf2; border-color:#ffd799; "/>
- <line id="line13" class="line_4" style="x1:1107px; y1:7px; x2:1107px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
- <button id="btn_search" class="btn1_letter2" style="left:1123px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //Mater에 해당하는 정보를 클릭시 Detail이 출력됨
- if ( switch1.selectedIndex == 0 ) {
- misfGridInit(grd_bonawinlist);
- misfMsterDetailRetrieve();
- }else if ( switch1.selectedIndex == 1 ) {
- misfGridInit(grd_bonaordlist);
- submit("TRRSI06101");
- }
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption2" class="search_name" style="left:11px; top:11px; width:86px; height:17px; ">기관코드 :</caption>
- <select1 id="cmb_instcd" ref="/root/send/instcd" class="combo_s_essential" appearance="minimal" style="left:100px; top:10px; width:189px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/instcd">
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- </group>
- <switch id="switch1" style="left:0px; top:85px; width:1195px; height:659px; ">
- <case id="case1" selected="true" style="left:0px; top:0px; width:1193px; height:657px; ">
- <button id="btn_grdadd1" class="btn2_letter3" style="left:1081px; top:5px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfGridIUD(grd_bonawinlist, "A");
- ]]>
- </script>
- </button>
- <button id="btn_grddel1" class="btn2_letter3" style="left:1137px; top:5px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfGridIUD(grd_bonawinlist, "D");
- ]]>
- </script>
- </button>
- <caption id="caption19" class="tit_2" style="left:5px; top:10px; width:110px; height:13px; ">보나에스 입고</caption>
- <datagrid id="grd_bonawinlist" nodeset="/root/main/bonawinlist" allowuserresize="true" caption="IF ID^IF 송신일자^IF 종류^IF 수신일자^IF 상태^IF 에러사유^기관코드^물품구분^입고일자^입고번호^입고일련번호^물품코드^보나에스코드^입고부서코드^구매요구일자^구매요구번호^구매요구일련번호^입고포장수량^입고포장단위^입고포장단위당갯수^입고수량^입고단위^입고단가^입고금액^유효기간^제품번호^EDICD^보나에스출고번호^보나에스 출고순번^최초등록자ID^최초등록일시^최종수정자ID^최종수정일시" colsep="^" colwidth="50,50,50" dataheight="25" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" style="left:0px; top:31px; width:1193px; height:626px; ">
- <col ref="ifid"/>
- <col ref="ifsnddt" type="input"/>
- <col ref="ifcmd" type="input"/>
- <col ref="ifrsvdt" type="input"/>
- <col ref="ifstatus" type="input"/>
- <col ref="iffailrsn" type="input"/>
- <col ref="instcd" type="input"/>
- <col ref="goodflag" type="input"/>
- <col ref="windd" type="input"/>
- <col ref="winno" type="input"/>
- <col ref="winseqno" type="input"/>
- <col ref="goodcd" type="input"/>
- <col ref="bnscd" type="input"/>
- <col ref="windeptcd" type="input"/>
- <col ref="purcdmnddd" type="input"/>
- <col ref="purcdmndno" type="input"/>
- <col ref="purcdmndseq" type="input"/>
- <col ref="winpackqty" type="input"/>
- <col ref="winpackunit" type="input"/>
- <col ref="winpackcntperunit" type="input"/>
- <col ref="winqty" type="input"/>
- <col ref="winunit" type="input"/>
- <col ref="winunitcost" type="input"/>
- <col ref="winamt" type="input"/>
- <col ref="valiterm" type="input"/>
- <col ref="lotno" type="input"/>
- <col ref="edicd" type="input"/>
- <col ref="bideliveno" type="input"/>
- <col ref="bideliveseq" type="input"/>
- <col ref="fstrgstrid" type="input"/>
- <col ref="fstrgstdt" type="input"/>
- <col ref="lastupdtrid" type="input"/>
- <col ref="lastupdtdt" type="input"/>
- </datagrid>
- <line id="line1" class="line_1" style="x1:0px; y1:26px; x2:1193px; y2:26px; "/>
- </case>
- <case id="case2">
- <button id="btn_save2" class="btn2_letter3" style="left:1081px; top:5px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfGridIUD(grd_bonaordlist, "A");
- ]]>
- </script>
- </button>
- <button id="btn_del2" class="btn2_letter3" style="left:1137px; top:5px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfGridIUD(grd_bonaordlist, "D");
- ]]>
- </script>
- </button>
- <caption id="caption20" class="tit_2" style="left:5px; top:10px; width:110px; height:13px; ">보나에스 발주</caption>
- <line id="line3" class="line_1" style="x1:0px; y1:26px; x2:1193px; y2:26px; "/>
- <datagrid id="grd_bonaordlist" nodeset="/root/main/bonaordlist" allowuserresize="true" caption="IF ID^IF 송신일자^IF 종류^IF 수신일자^IF 상태^IF 에러사유^기관코드^물품구분^구매요구일자^구매요구번호^구매요구일련번호^구매요구구분^요구부서코드^요구자ID^물품코드^보나에스코드^요구포장수량^요구포장단위^요구포장단위당갯수^요구량^요구단위^물품단가^요구금액^보조거래처코드^공급처코드^최초등록자ID^최초등록일시^최종수정자ID^최종수정일시" colsep="^" colwidth="50,50,50" dataheight="25" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" style="left:0px; top:31px; width:1193px; height:626px; ">
- <col ref="ifid"/>
- <col ref="ifsnddt" type="input"/>
- <col ref="ifcmd" type="input"/>
- <col ref="ifrsvdt" type="input"/>
- <col ref="ifstatus" type="input"/>
- <col ref="iffailrsn" type="input"/>
- <col ref="instcd" type="input"/>
- <col ref="goodflag" type="input"/>
- <col ref="purcdmnddd" type="input"/>
- <col ref="purcdmndno" type="input"/>
- <col ref="purcdmndseq" type="input"/>
- <col ref="purcreqflag" type="input"/>
- <col ref="reqdeptcd" type="input"/>
- <col ref="reqpsn" type="input"/>
- <col ref="goodcd" type="input"/>
- <col ref="bnscd" type="input"/>
- <col ref="reqpackcnt" type="input"/>
- <col ref="reqpackunit" type="input"/>
- <col ref="reqpackcntperunit" type="input"/>
- <col ref="reqqty" type="input"/>
- <col ref="requnit" type="input"/>
- <col ref="goodunitcost" type="input"/>
- <col ref="reqfla" type="input"/>
- <col ref="subsuplplcecd" type="input"/>
- <col ref="suplplcecd" type="input"/>
- <col ref="fstrgstrid" type="input"/>
- <col ref="fstrgstdt" type="input"/>
- <col ref="lastupdtrid" type="input"/>
- <col ref="lastupdtdt" type="input"/>
- </datagrid>
- </case>
- </switch>
- <button id="button2" class="btn_sw" group="tab" style="left:145px; top:64px; width:144px; height:22px; ">
- <caption>보나에스발주</caption>
- <toggle case="case2" ev:event="onclick"/>
- </button>
- <button id="button3" class="btn_sw" group="tab" selected="true" style="left:0px; top:64px; width:144px; height:22px; ">
- <caption>보나에스입고</caption>
- <toggle case="case1" ev:event="onclick"/>
- </button>
- </group>
- <group id="group4" style="left:0px; top:13px; width:1195px; height:27px; ">
- <line id="line16" class="line_6" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
- <button id="btn_save" class="btn4_letter2" style="left:1067px; top:3px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if ( switch1.selectedIndex == 0 ) {
- misfSave("TXRSI06001");
- }else if ( switch1.selectedIndex == 1 ) {
- model.setValue("/root/send/bonaordlist" ,grd_bonaordlist.getUpdateData());
- submit("TXRSI06101");
- }
- misfMsterDetailRetrieve();
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_clear" class="btn4_letter3" style="left:1126px; top:3px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fInitialize();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|