123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261 |
- <?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>SERIAL NO 등록</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <eqmtplcepaylist1>
- <instcd/>
- <stdysubjno/>
- <stdysubjnm/>
- <stdypsn/>
- <stdypnm/>
- <cmt/>
- <fromdd/>
- <todd/>
- <goodflag/>
- <plceorddd/>
- <plceordseqno/>
- <costflag/>
- </eqmtplcepaylist1>
- </main>
- <send>
- <instcd/>
- <studylist/>
- <slipdeptcd/>
- <slipdeptcdnm/>
- <goodflag/>
- <plceorddd/>
- <plceordseqno/>
- <save>
- <eqmtplcepaylist1>
- <slipinstcd/>
- <acntcd/>
- <acntnm/>
- <acctdr/>
- <acctcr/>
- <dramt/>
- <sliprsvd/>
- <instcd/>
- <plceordseqno/>
- <goodflag/>
- <plceorddd/>
- <slipdeptcd/>
- <slipdeptcdnm/>
- <slipdate/>
- <slipno/>
- </eqmtplcepaylist1>
- </save>
- <slipdata>
- <sliplist/>
- <taxlist/>
- <plcelist/>
- </slipdata>
- <fixasetlist/>
- <tempfixasetlist/>
- </send>
- <init>
- <costflag>
- <label>L/C개설비</label>
- <value>A</value>
- <label>적하보험</label>
- <value>B</value>
- <label>항공(해운)운송료</label>
- <value>C</value>
- <label>통관비용</label>
- <value>D</value>
- <label>대금결재</label>
- <value>E</value>
- <label>기타</label>
- <value>F</value>G
- </costflag>
- <sumamt/>
- </init>
- <hidden/>
- <temp>
- <slipnodata>
- <slipno/>
- <sanctyn/>
- <slipnoyn/>
- </slipnodata>
- </temp>
- </root>
- </instance>
- <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/dateHelper.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/common.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
- <script type="javascript" src="../../../mis/purcorderweb/js/SMRSC02102.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- // misfGridInit(grd_eqmtplcepaylist);
- model.removeNodeset(grd_fixasetlist.nodeset);
- model.copyNode("/root/main","/root/temp");
-
- if(model.getValue("/root/temp/fixasetlist[1]/pggubun") == "SMRFC00300")
- {
- //grd_fixasetlist.colHidden("pggubun") = false;
- //이현민
-
- // grd_fixasetlist.colHidden("mngtdeptcd") = false;
- // grd_fixasetlist.colHidden("mngtdeptnm")= false;
- // grd_fixasetlist.colHidden("installplcecd")= false;
- // grd_fixasetlist.colHidden("installplcenm")= false;
- // grd_fixasetlist.colHidden("tempmngtdeptcd")= false;
- // grd_fixasetlist.colHidden("tempmngtdeptnm")= false;
- // grd_fixasetlist.colHidden(9) = true; //mngtdeptcd 사용부서코드
- // grd_fixasetlist.colHidden(10)= true; //mngtdeptnm 사용부서이름
- // grd_fixasetlist.colHidden(11)= true; //installplcecd 설치장소코드
- // grd_fixasetlist.colHidden(12)= true; //installplcenm 설치장소이름
- // grd_fixasetlist.colHidden(13)= true; //tempmngtdeptcd 관리부서코드
- // grd_fixasetlist.colHidden(14)= true; //tempmngtdeptnm 관리부서이름
- }
- // ipt_slipdate.value = getCurrentDate();
- // textarea1.value = model.getValue("/root/temp/eqmtplcepaylist/sliprsvd" );
- // cmb_instcd.value = model.getValue("/root/temp/eqmtplcepaylist/slipinstcd" );
- // misfComboComCdList("Z0007", cmb_instcd); //기관코드
- // fDispSumAmt();
- model.refresh();
-
- //fInit();
-
- ]]>
- </script>
- <submission id="TRRFC02201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/eqmtplcepaylist1"/>
- <submission id="TXRSR02201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/slipdata" resultref="/root/temp"/>
- <submission id="TXRFC00402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/tempfixasetlist" resultref="/root/temp"/>
- </model>
- </xhtml:head>
- <xhtml:body pagewidth="860" pageheight="516" style="font-weight:bold; margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_tle" style="left:0px; top:0px; width:835px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:186px; height:14px; ">SERIAL NO 등록</caption>
- </group>
- <group id="grp_biz" scroll="auto" style="left:0px; top:23px; width:835px; height:477px; ">
- <line id="line2" class="line_1" style="x1:0px; y1:39px; x2:821px; y2:39px; "/>
- <caption id="caption8" class="tit_2" style="left:5px; top:24px; width:170px; height:14px; ">자산코드 목록</caption>
- <datagrid id="grd_fixasetlist" nodeset="/root/main/fixasetlist" scroll="auto" caption="기관CODE^자산코드^자산한글명^자산영문명^모델명^제조회사^공급처명^메인장비^취득일자^사용부서^사용부서^설치장소^설치장소^관리부서^관리부서^S/N^구성품유무^부서변경^S/N변경^관리부서코드^공급처코드^gubun" colsep="^" colwidth="92, 95, 100, 155, 91, 95, 88, 99, 153, 95, 110, 95, 110, 95, 110, 100, 100, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:0px; top:45px; width:820px; height:415px; ">
- <col ref="instcd" visibility="hidden"/>
- <col ref="fixasetcd"/>
- <col ref="goodflaghngnm"/>
- <col ref="goodflagengnm"/>
- <col ref="goodmodel"/>
- <col ref="prodcmpynm"/>
- <col ref="suplplcenm"/>
- <col ref="maineqmt" visibility="hidden" style="left:636px; top:23px; width:99px; height:23px; "/>
- <col ref="possndd" visibility="hidden" format="yyyy-mm-dd" style="text-align:center; "/>
- <col class="input_default" disabled="true" ref="mngtdeptcd" type="inputbutton" _key="true" style="text-align:center; "/>
- <col disabled="true" ref="mngtdeptnm" style="text-align:center; "/>
- <col class="input_default" disabled="true" ref="installplcecd" type="inputbutton" _key="true" style="text-align:center; "/>
- <col disabled="true" ref="installplcenm" style="text-align:center; "/>
- <col class="input_default" disabled="true" ref="tempmngtdeptcd" type="inputbutton" _key="true" style="text-align:center; "/>
- <col disabled="true" ref="tempmngtdeptnm" style="text-align:center; "/>
- <col ref="mngtno" type="input"/>
- <col ref="chkcnt" visibility="hidden" style="text-align:center; "/>
- <col checkvalue="Y,N" ref="chk" type="checkbox" visibility="hidden"/>
- <col checkvalue="Y,N" ref="serialchk" type="checkbox" visibility="hidden"/>
- <col ref="tempmngtdeptcd" visibility="hidden"/>
- <col ref="suplplcecd" visibility="hidden"/>
- <col ref="pggubun" visibility="hidden"/>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
-
- //아래의 /* */ 부분 막음 20100408 이화면은 Serialno변경화면이므로 아래의 컬럼들이 control되면 안됨
- /*
- if (grd_fixasetlist.col == grd_fixasetlist.colRef("mngtdeptcd"))//사용부서 버튼을 눌렀을 때
- {
- misfOpenPopUpList("02", grd_fixasetlist,"","mngtdeptcd,mngtdeptnm");
-
- // rszfOpenPopUpListByWndName(grd_chgnhistlist,"","upddeptcd,upddeptnm","PPRAC00700","instcd","cmb_instcd");
- // model.refresh();
-
- grd_fixasetlist.valueMatrix(grd_fixasetlist.row, grd_fixasetlist.colRef("installplcecd")) = grd_fixasetlist.valueMatrix(grd_fixasetlist.row, grd_fixasetlist.colRef("mngtdeptcd"));
- grd_fixasetlist.valueMatrix(grd_fixasetlist.row, grd_fixasetlist.colRef("installplcenm")) = grd_fixasetlist.valueMatrix(grd_fixasetlist.row, grd_fixasetlist.colRef("mngtdeptnm"));
- grd_fixasetlist.refresh()
-
- }else if (grd_fixasetlist.col == grd_fixasetlist.colRef("installplcecd"))//설치장소 버튼을 눌렀을 때
- {
- rszfOpenPopUpListByWndName(grd_fixasetlist,"","installplcecd,installplcenm","PPRAC00700","instcd","instcd");
- model.refresh();
- }
-
- if (grd_fixasetlist.col == grd_fixasetlist.colRef("tempmngtdeptcd"))//관리부서 버튼을 눌렀을 때
- {
- misfOpenPopUpList("02", grd_fixasetlist,"","tempmngtdeptcd,tempmngtdeptnm");
- grd_fixasetlist.refresh()
- }
- // if (grd_studylist.col == grd_studylist.colRef("stdypsn")) {//책임자 버튼을 눌렀을 때
- // misfOpenPopUpList("12", grd_studylist, "", "stdypsn,stdypnm", "%", "instcd");
- // }
- */
-
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- // if (grd_studylist.col == grd_studylist.colRef("stdypsn")) {//책임자 버튼을 눌렀을 때
- // misfValidationCheck("12", "", "stdypsn,stdypnm" );
- // }
- ]]>
- </script>
- </datagrid>
- <button id="button1" class="btn4_letter2" style="left:700px; top:10px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //fDataSubmit(); // 전표저장처리
- // if(messageBox("", "Q002") == "6")
- // {
- // fSettingSaveInData();
- model.setValue("/root/send/tempfixasetlist", grd_fixasetlist.getUpdateData("update"));
- var updtdata = getGridUpdateData(grd_fixasetlist);
- submit("TXRFC00402");
- // grd_fixasetlist.gridToInstance();
- // }
- // model.removeNodeset(grd_fixasetlist.nodeset);
- // model.copyNode("/root/main","/root/temp");
- // model.refresh();
- // for(var i = 1; i < grd_fixasetlist.rows ; i++)
- // {
- // model.setValue(grd_fixasetlist.nodeset + "["+i+"]/chk", "N");
- // }
- // ipt_vFlag.value = "";
- // btn_search.dispatch("DOMActivate");
-
- ]]>
- </script>
- </button>
- <button id="button2" class="btn4_letter2" style="left:765px; top:10px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- window.close()
- ]]>
- </script>
- </button>
- <output id="opt_plceordseqno" ref="/root/send/plceordseqno" visibility="hidden" appearance="minimal" style="left:359px; top:10px; width:60px; height:19px; "/>
- <output id="opt_goodflag" ref="/root/send/goodflag" visibility="hidden" appearance="minimal" style="left:609px; top:0px; width:60px; height:19px; "/>
- <output id="opt_instcd" ref="/root/send/instcd" visibility="hidden" appearance="minimal" style="left:159px; top:10px; width:60px; height:19px; "/>
- <output id="opt_plceorddd" ref="/root/send/plceorddd" visibility="hidden" appearance="minimal" style="left:289px; top:10px; width:60px; height:19px; "/>
- <line id="line8" class="line_3" style="x1:0px; y1:468px; x2:820px; y2:468px; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|