123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.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>
- <ipgoinfo>
- <ipgolist>
- <goodcd/>
- <goodnm/>
- <goodspec/>
- <allsizespecidnm/>
- <goodmodel/>
- <deliveunit/>
- <goodunitcost/>
- <prodcmpynm/>
- <custcd/>
- <custnm/>
- <suppcustnm/>
- <perchgr/>
- <safestocqty/>
- <suppdeptcd/>
- <allsizespecid/>
- </ipgolist>
- </ipgoinfo>
- </main>
- <send>
- <iodate/>
- <custnm/>
- <prodcmpynm/>
- <goodcd/>
- <goodnm/>
- <totinqty/>
- <totrtninqty/>
- <totoutqty/>
- <prcpdd/>
- <globalinstance>
- <instance1/>
- </globalinstance>
- <req>
- <data/>
- </req>
- <openerid>SMAGA00200</openerid>
- </send>
- <init>
- <baseinfo>
- <intiunit/>
- </baseinfo>
- </init>
- <hidden>
- <item/>
- </hidden>
- <cmb_info>
- <dpcminfo>
- <dpcmcust>
- <custnm/>
- <perchgr/>
- <cntctel/>
- <faxno/>
- <mpphontel/>
- <email/>
- <auttrsmflag/>
- <custcd/>
- <suppdeptcd/>
- <instcd/>
- <trsmtrid/>
- <useyn/>
- </dpcmcust>
- </dpcminfo>
- </cmb_info>
- </root>
- </instance>
- <submission id="TRAGA00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/ipgoinfo"/>
- <submission id="TXAGA00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" replace="instance" resultref="/root/hidden"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- aezfSetSuppDeptcd();
-
- zbcfGetCodeList( new Array("R0039"), new Array("/root/init/baseinfo/intiunit") );
-
- submit("TRAGA00101");
-
- model.removeNodeset("/root/main/ipgoinfo/ipgolist");
- //btn_sea.dispatch("DOMActivate");
- model.refresh();
- ]]>
- </script>
- <submission id="TRZBC00101"/>
- <submission id="TRAGA00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/cmb_info/dpcminfo"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../ast/commonweb/js/AST.js"/>
- <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
- <script type="javascript" src="../../../com/authinfoweb/js/ZSA001.js"/>
- </xhtml:head>
- <xhtml:body guideline="1,1195;2,784;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
- <group id="grp_sea" style="left:0px; top:10px; width:1194px; height:35px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <line id="line13" class="line_4" style="x1:1112px; y1:7px; x2:1112px; y2:29px; "/>
- <button id="btn_sea" class="btn1_letter2" style="left:1128px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.removeNodeset("/root/main/ipgoinfo/ipgolist");
- submit("TRAGA00201");
- ]]>
- </script>
- </button>
- <caption id="caption2" class="search_name" style="left:15px; top:8px; width:86px; height:17px; ">물품명 :</caption>
- <input id="input5" ref="/root/send/goodnm" navindex="5" style="left:95px; top:7px; width:120px; height:19px; "/>
- <select1 id="combo1" ref="/root/send/custnm" appearance="minimal" editmode="input" style="left:395px; top:7px; width:145px; height:19px; ">
- <choices>
- <itemset nodeset="/root/cmb_info/dpcminfo">
- <label ref="dpcmcust/custnm"/>
- <value ref="dpcmcust/custnm"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption3" class="search_name" style="left:300px; top:8px; width:86px; height:17px; ">거래처명 :</caption>
- </group>
- <caption id="caption1" class="tit_2" style="left:5px; top:55px; width:131px; height:14px; ">물품 마스터 현황</caption>
- <line id="line1" class="line_1" style="x1:3px; y1:73px; x2:1194px; y2:74px; "/>
- <datagrid id="datagrid1" nodeset="/root/main/ipgoinfo/ipgolist" caption="물품코드^물품명^규격^All Size^모델^단위^단가^제조회사^거래처코드^거래처명^보조거래처^담당자^안전재고량^caption1^caption2" colsep="^" colwidth="78, 212, 89, 79, 77, 58, 79, 107, 71, 77, 112, 72, 75, 100, 100" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:3px; top:77px; width:1191px; height:660px; ">
- <col ref="goodcd" style="text-align:left; "/>
- <col ref="goodnm" style="text-align:left; "/>
- <col ref="goodspec" style="text-align:left; "/>
- <col ref="allsizespecidnm" style="text-align:left; "/>
- <col ref="goodmodel" style="text-align:left; "/>
- <col disabled="true" ref="deliveunit" type="combo" style="text-align:left; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/intiunit/R0039">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="goodunitcost" format="#,###" style="text-align:right; "/>
- <col ref="prodcmpynm" style="text-align:left; "/>
- <col ref="custcd" type="inputbutton"/>
- <col ref="custnm" style="text-align:left; "/>
- <col ref="suppcustnm" style="text-align:left; "/>
- <col ref="perchgr" type="input" style="text-align:left; "/>
- <col ref="safestocqty" type="input" format="999999" style="text-align:right; "/>
- <col ref="suppdeptcd" visibility="hidden"/>
- <col ref="allsizespecid" visibility="hidden"/>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- datagrid1.gridToInstance();
- ]]>
- </script>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- modal("SPAGA05600", "", "200", "200", "popup", "", "");
- ]]>
- </script>
- </datagrid>
- <button id="btn_grddel" class="btn2_letter3" disabled="false" style="left:1137px; top:52px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // grd_examcureroom.add(grd_examcureroom.row,"delete");
- deleteSelectedRows(datagrid1, true);
- ]]>
- </script>
- </button>
- <button id="button9" class="btn3_letter6" style="left:955px; top:50px; width:104px; height:22px; background-image:../../../com/commonweb/images/btn3_letter4.gif; ">
- <caption>물품코드추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("SPAGA05500", "", "200", "200", "popup", "", "");
- ]]>
- </script>
- </button>
- <button id="btn_excel" class="btn2_letter4" disable.background-image="../../../com/commonweb/images/dis_btn2_letter2.gif" style="left:1070px; top:52px; width:64px; height:19px; background-image:../../../com/commonweb/images/btn2_letter2.gif; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var file = window.fileDialog("save","","true","","xls","Excel Files(*.xls)|*.xls");
- if(file == "") return;
- datagrid1.saveExcel(file, "sheet1");
- ]]>
- </script>
- </button>
- </group>
- <group id="grp_btn" style="left:0px; top:757px; width:1195px; height:27px; ">
- <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:1194px; y2:0px; "/>
- <button id="btn_save" class="btn4_letter2" style="left:1139px; top:4px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if ( messageBox("","Q002")==6 ) {
- var update = getGridUpdateData(datagrid1);
- if(update == ""){
- messageBox("업데이트 정보가 없습니다.", "I");
- return 0;
-
- } else {
- model.setValue("/root/send/req/data", update);
- if (submit("TXAGA00201")){
- btn_sea.dispatch("DOMActivate");
- }
- }
- }
-
- ]]>
- </script>
- </button>
- </group>
- <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:144px; height:14px; ">물품 마스터 관리</caption>
- </group>
- </xhtml:body>
- </xhtml:html>
|