123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
- <xhtml:html xmlns:ex="http://www.comsquare.co.kr/xforms/excel" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:ms="urn:schemas-microsoft-com:xslt" xmlns:my="http://www.comsquare.co.kr/example" 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" xmlns:cs="http://www.comsquare.co.kr/xforms">
- <xhtml:head>
- <xhtml:title>품의요구 관리</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <list>
- <purccnsttninfo>
- <purccnsttnmainlist>
- <supdirecdd/>
- <purccnsttndd/>
- <conflag/>
- <acntcd/>
- <suplimdd/>
- <cmt/>
- <cnsttndeptcd/>
- <teamflag/>
- <goodcntnm/>
- <mdvan_message/>
- <mdvan_send/>
- <needterm/>
- <notino/>
- <old_gm_seq/>
- <old_gm_ymd/>
- <purccnsttnno/>
- <reqdeptcd/>
- <reqresn/>
- <suplplcecd/>
- <totbfcnsttnamt/>
- <totcnsttnamt/>
- <writid/>
- <writnm/>
- <acntnm/>
- <cnsttndeptnm/>
- <reqdeptnm/>
- <suplplcenm/>
- <newyn/>
- </purccnsttnmainlist>
- <purccnsttnsublist/>
- </purccnsttninfo>
- <bfpurccnsttnmaininfo>
- <bfpurccnsttnmainlist/>
- </bfpurccnsttnmaininfo>
- <purccnsttnnoinfo>
- <maxpurccnsttnno>
- <purccnsttnno/>
- </maxpurccnsttnno>
- </purccnsttnnoinfo>
- </list>
- </main>
- <send>
- <search>
- <instcd/>
- <wareflag/>
- <purccnsttndd/>
- <purccnsttnno/>
- <notinoyn>Y</notinoyn>
- </search>
- <stocsearch>
- <instcd/>
- <wareflag/>
- <winacnt/>
- </stocsearch>
- <save>
- <purccnsttnlist/>
- </save>
- <nosearch>
- <instcd/>
- <purccnsttndd/>
- </nosearch>
- </send>
- <init>
- </init>
- <temp>
- </temp>
- </root>
- </instance>
- <submission id="TRRSK00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/main/list/purccnsttninfo"/>
- <submission id="TRRSK00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/nosearch" resultref="/root/main/list/purccnsttnnoinfo"/>
- <submission id="TXRSK00701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/temp"/>
- </model>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- //화면 Control을 초기화한다
- fInitialize();
- ]]>
- </script>
- <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/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript">
- <![CDATA[
- function fInitialize()
- {
- // 금일 날자 설정
- var curdate = getCurrentDate();
- var cvtdate = curdate.toDate("YYYYMMDD");
- misfComboComCdList("R0095" ,cmb_conflag);
- misfComboComCdList("030M0001",cmb_wareflag_search);
- // misfComboCopyItemSet(cmb_wareflag ,"" , cmb_wareflag_search, ""); //창고구분
- misfComboComCdListMulti("Z0007","cmb_instcd");
- model.setValue("/root/send/search/instcd", getUserInfo("dutplceinstcd")); // 기관 설정
- //model.setValue(ipt_windtfrom.attribute("ref") ,cvtdate.getAddDate(-10,"D").getDateFormat("YYYYMMDD"));
- model.setValue(cal_purccnsttndd_search.attribute("ref") , curdate);
-
- model.setValue("/root/send/nosearch/instcd" , model.getValue(cmb_instcd.attribute("ref")));
- model.setValue("/root/send/nosearch/purccnsttndd" , model.getValue(cal_purccnsttndd_search.attribute("ref")));
- if (submit("TRRSK00102")){
- var purccnsttnno = model.getValue("/root/main/list/purccnsttnnoinfo/maxpurccnsttnno/purccnsttnno");
- model.setValue(ipt_purccnsttnno_search.attribute("ref"), purccnsttnno);
- }
- model.setValue("/root/send/nosearch/instcd" , "");
- model.setValue("/root/send/nosearch/purccnsttndd" , "");
- btn_search.dispatch("DOMActivate");
- model.refresh();
-
- }
- function fSave(){
- var updtdata = "", rowno = "";
-
- updtdata = getGridUpdateData(grd_purccnsttn);
-
- if(updtdata == ""){
- messageBox("저장할 데이타가 ","E014");
- return false;
- }
- for(i=grd_purccnsttn.fixedRows;i<grd_purccnsttn.rows;i++){
- grd_purccnsttn.valueMatrix(i, grd_purccnsttn.colRef("purccnsttndd" )) = model.getValue(cal_purccnsttndd.attribute("ref"));
- grd_purccnsttn.valueMatrix(i, grd_purccnsttn.colRef("purccnsttnno" )) = model.getValue(ipt_purccnsttnno.attribute("ref"));
- grd_purccnsttn.valueMatrix(i, grd_purccnsttn.colRef("conflag" )) = model.getValue(cmb_conflag.attribute("ref"));
- grd_purccnsttn.valueMatrix(i, grd_purccnsttn.colRef("acntcd" )) = model.getValue(ipt_acntcd.attribute("ref"));
- grd_purccnsttn.valueMatrix(i, grd_purccnsttn.colRef("cmt" )) = model.getValue(ipt_cmt.attribute("ref"));
- grd_purccnsttn.valueMatrix(i, grd_purccnsttn.colRef("cnsttndeptcd" )) = model.getValue(ipt_cnsttndeptcd.attribute("ref"));
- grd_purccnsttn.valueMatrix(i, grd_purccnsttn.colRef("goodcntnm" )) = model.getValue(ipt_goodcntnm.attribute("ref"));
- grd_purccnsttn.valueMatrix(i, grd_purccnsttn.colRef("totcnsttnamt" )) = model.getValue(ipt_totcnsttnamt.attribute("ref"));
- }
- model.setValue("/root/send/save/purccnsttnlist", updtdata);
-
- if (submit("TXRSK00701")){
- messageBox("저장이","I002");
- }else{
- messageBox("저장","E009");
- return;
- }
- btn_search.dispatch("DOMActivate");
- }
-
- function freqlistprint() {
- var Path = "/root/send/winregstprnt/winregstprntlist";
- model.removenode(Path);
- model.makeNode(Path);
-
- copyNodesetType(Path, grd_winregst.nodeset+ "[chk='Y']");
- exeReportPreview("RPRSK00100","XMLSTR");
- }
-
- ]]>
- </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:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:230px; height:14px; ">총액 품목입찰 단가변경</caption>
- <caption id="caption4" class="patient_text_black" style="left:922px; top:0px; width:272px; "/>
- </group>
- <group id="group3" scroll="auto" style="left:0px; top:40; width:1195px; height:744px; ">
- <group id="grp_search" style="left:0px; top:17px; width:1195px; height:48px; vertical-align:top; ">
- <caption id="cap_allsizespecid" class="search_name" style="left:975px; top:10px; width:111px; height:17px; ">규격코드 :</caption>
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195px; height:40px; background-color:#fffbf2; border-color:#ffd799; "/>
- <button id="btn_search" class="btn1_letter2" style="left:1065px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var spath = "/root/main/list/purccnsttninfo"
- model.removeNodeset(spath);
- submit("TRRSK00101");
-
- model.refresh();
-
- ]]>
- </script>
- </button>
- <select1 id="cmb_instcd" ref="/root/send/search/instcd" class="combo_default" disabled="true" appearance="minimal" style="left:99px; top:10px; width:136px; height:19px; ">
- <choices>
- <itemset nodeset="/root/main/init">
- <label ref="cnstnm"/>
- <value ref="cnstcd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="cap_instcd" class="search_name" style="left:8px; top:10px; width:86px; height:17px; ">기관코드 :</caption>
- <input id="cal_purccnsttndd_search" ref="/root/send/search/purccnsttndd" navindex="1" inputtype="date" style="left:596px; top:10px; width:105px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- model.setValue("/root/send/nosearch/instcd" , model.getValue(cmb_instcd.attribute("ref")));
- model.setValue("/root/send/nosearch/purccnsttndd" , model.getValue(cal_purccnsttndd_search.attribute("ref")));
- if (submit("TRRSK00102")){
- var purccnsttnno = model.getValue("/root/main/list/purccnsttnnoinfo/maxpurccnsttnno/purccnsttnno");
- model.setValue(ipt_purccnsttnno_search.attribute("ref"), purccnsttnno);
- }
- model.setValue("/root/send/nosearch/instcd" , "");
- model.setValue("/root/send/nosearch/purccnsttndd" , "");
-
- model.refresh();
- ]]>
- </script>
- </input>
- <caption id="caption20" class="search_name" style="left:505px; top:10px; width:96px; height:17px; vertical-align:middle; ">품의일자 :</caption>
- <line id="line30" class="line_4" style="x1:1055px; y1:3px; x2:1055px; y2:35px; "/>
- <caption id="caption2" class="search_name" style="left:250px; top:10px; width:106px; height:17px; ">창고 구분 :</caption>
- <select1 id="cmb_wareflag_search" ref="/root/send/search/wareflag" appearance="minimal" style="left:346px; top:10px; width:134px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/wareflag">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_purccnsttnno_search" ref="/root/send/search/purccnsttnno" class="input_default" navindex="2" maxlength="4" style="left:710px; top:10px; width:75px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- </input>
- <button id="btn_save" class="btn4_letter2" style="left:1126px; top:7px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSave();
- ]]>
- </script>
- </button>
- </group>
- <line id="line1" class="line_1" style="x1:0px; y1:93px; x2:1190px; y2:93px; "/>
- <caption id="caption1" class="tit_2" style="left:0px; top:74px; width:180px; height:14px; ">총액 품목입찰 단가 변경</caption>
- <button id="btn_excel" class="btn2_letter2" style="left:1140px; top:71px; width:42px; height:19px; ">
- <caption>엑셀</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfSaveExcel(grd_purccnsttn);
- ]]>
- </script>
- </button>
- <caption id="cap_purccnsttndd" class="cell_1" style="left:0px; top:100px; width:90px; height:23px; vertical-align:middle; ">품의일/NO</caption>
- <line id="line2" class="line_1" style="x1:0px; y1:202px; x2:1190px; y2:202px; "/>
- <input id="ipt_purccnsttnno" ref="/root/main/list/purccnsttninfo/purccnsttnmainlist/purccnsttnno" class="input_default" disabled="true" maxlength="4" style="left:244px; top:102px; width:51px; height:19px; text-align:center; "/>
- <input id="cal_purccnsttndd" ref="/root/main/list/purccnsttninfo/purccnsttnmainlist/purccnsttndd" disabled="true" inputtype="date" format="yyyy-mm-dd" style="left:94px; top:102px; width:146px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue("/root/send/nosearch/instcd" , model.getValue(cmb_instcd.attribute("ref")));
- model.setValue("/root/send/nosearch/purccnsttndd" , model.getValue(cal_purccnsttndd.attribute("ref")));
- if (submit("TRRSK00102")){
- var purccnsttnno = model.getValue("/root/main/list/purccnsttnnoinfo/maxpurccnsttnno/purccnsttnno");
- model.setValue(ipt_purccnsttnno.attribute("ref"), purccnsttnno);
- }
- model.setValue("/root/send/nosearch/instcd" , "");
- model.setValue("/root/send/nosearch/purccnsttndd" , "");
-
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_newyn" ref="/root/main/list/purccnsttninfo/purccnsttnmainlist/newyn" class="input_default" disabled="true" visibility="hidden" maxlength="1" style="left:189px; top:72px; width:61px; height:19px; text-align:center; "/>
- <caption id="caption36" class="cell_1" style="left:304px; top:100px; width:90px; height:23px; vertical-align:middle; ">공고번호</caption>
- <caption id="caption8" class="cell_1" style="left:570px; top:100px; width:75px; height:23px; vertical-align:middle; ">계약방법</caption>
- <line id="line18" class="line_2" style="x1:0px; y1:124px; x2:1195px; y2:124px; "/>
- <caption id="cap_reqdeptcd" class="cell_1" style="left:840px; top:100px; width:90px; height:23px; vertical-align:middle; ">예산부서</caption>
- <input id="ipt_goodcntnm" ref="/root/main/list/purccnsttninfo/purccnsttnmainlist/goodcntnm" class="input_default" disabled="true" style="left:93px; top:152px; width:361px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- ]]>
- </script>
- </input>
- <input id="ipt_needterm" ref="/root/main/list/purccnsttninfo/purccnsttnmainlist/needterm" class="input_default" disabled="true" style="left:509px; top:126px; width:56px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- ]]>
- </script>
- </input>
- <input id="ipt_cmt" ref="/root/main/list/purccnsttninfo/purccnsttnmainlist/cmt" class="input_default" disabled="true" style="left:675px; top:178px; width:506px; height:19px; text-align:left; padding-left:10; "/>
- <input id="ipt_reqdeptcd" ref="/root/main/list/purccnsttninfo/purccnsttnmainlist/reqdeptcd" class="input_default" disabled="true" style="left:934px; top:152px; width:76px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- ]]>
- </script>
- </input>
- <button id="btn_suplplcecd" class="icon_search" disabled="true" style="left:630px; top:155px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- rszfOpenPopUpListByWndName(ipt_suplplcecd,"","suplplcecd,suplplcenm","SPRSD00220","instcd","cmb_instcd");
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption10" class="cell_1" style="left:570px; top:125px; width:75px; height:23px; vertical-align:middle; ">작성자</caption>
- <input id="ipt_writid" ref="/root/main/list/purccnsttninfo/purccnsttnmainlist/writid" class="input_search" disabled="true" style="left:650px; top:127px; width:70px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_writnm.value.length == 0)
- ipt_writnm.value = "";
- else
- misfValidationCheck("01-1", "", "winpsn,winpsnnm");
- model.refresh();
-
- //btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </input>
- <button id="btn_writid" class="icon_search" disabled="true" style="left:726px; top:127px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfOpenPopUpList("01", ipt_writid, "", "winpsn,winpsnnm");
- model.refresh();
-
- // btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </button>
- <caption id="caption22" class="cell_1" style="left:0px; top:176px; width:90px; height:23px; vertical-align:middle; ">총금액</caption>
- <input id="ipt_suplimdd" ref="/root/main/list/purccnsttninfo/purccnsttnmainlist/suplimdd" disabled="true" inputtype="date" style="left:498px; top:178px; width:107px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- ]]>
- </script>
- </input>
- <caption id="caption11" class="cell_1" style="left:840px; top:125px; width:90px; height:23px; vertical-align:middle; ">계정과목</caption>
- <caption id="caption12" class="cell_1" style="left:0px; top:151px; width:90px; height:23px; vertical-align:middle; ">품건명</caption>
- <input id="ipt_notino" ref="/root/main/list/purccnsttninfo/purccnsttnmainlist/notino" class="input_default" disabled="true" style="left:398px; top:102px; width:167px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- ]]>
- </script>
- </input>
- <caption id="caption13" class="cell_1" style="left:435px; top:125px; width:70px; height:23px; vertical-align:middle; ">소요일</caption>
- <caption id="caption25" class="cell_1" style="left:610px; top:176px; width:60px; height:23px; vertical-align:middle; ">비고</caption>
- <caption id="caption14" class="cell_1" style="left:840px; top:151px; width:90px; height:23px; vertical-align:middle; ">요구부서</caption>
- <caption id="caption15" class="cell_1" style="left:200px; top:176px; width:90px; height:23px; vertical-align:middle; ">납품지시일</caption>
- <input id="ipt_writnm" ref="/root/main/list/purccnsttninfo/purccnsttnmainlist/writnm" class="output_search" appearance="input" style="left:745px; top:127px; width:90px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_winpsnnm.value.length == 0)
- ipt_writid.value = "";
- else
- misfValidationCheck("01-2", "", "winpsn,winpsnnm");
- model.refresh();
-
- // btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </input>
- <caption id="caption37" class="cell_1" style="left:0px; top:126px; width:90px; height:23px; vertical-align:middle; ">요구사항</caption>
- <input id="ipt_totcnsttnamt" ref="/root/main/list/purccnsttninfo/purccnsttnmainlist/totcnsttnamt" class="input_default" disabled="true" format="#,###" style="left:93px; top:178px; width:102px; height:19px; text-align:right; "/>
- <caption id="caption16" class="cell_1" style="left:405px; top:176px; width:90px; height:23px; vertical-align:middle; ">납품기한</caption>
- <line id="line3" class="line_2" style="x1:0px; y1:149px; x2:650px; y2:149px; "/>
- <line id="line4" class="line_2" style="x1:0px; y1:149px; x2:1190px; y2:149px; "/>
- <caption id="caption17" class="cell_1" style="left:458px; top:151px; width:90px; height:23px; vertical-align:middle; ">거래처</caption>
- <line id="line5" class="line_2" style="x1:0px; y1:174px; x2:1190px; y2:174px; "/>
- <line id="line6" class="line_2" style="x1:0px; y1:200px; x2:1190px; y2:200px; "/>
- <output id="opt_suplplcenm" ref="/root/main/list/purccnsttninfo/purccnsttnmainlist/suplplcenm" class="output_fix" style="left:649px; top:152px; width:186px; height:19px; "/>
- <input id="ipt_reqresn" ref="/root/main/list/purccnsttninfo/purccnsttnmainlist/reqresn" class="input_default" disabled="true" style="left:93px; top:127px; width:337px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- ]]>
- </script>
- </input>
- <select1 id="cmb_conflag" ref="/root/main/list/purccnsttninfo/purccnsttnmainlist/conflag" disabled="true" appearance="minimal" style="left:650px; top:102px; width:185px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/wareflag">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <output id="opt_reqdeptnm" ref="/root/main/list/purccnsttninfo/purccnsttnmainlist/reqdeptnm" class="output_fix" style="left:1031px; top:152px; width:150px; height:19px; "/>
- <button id="btn_reqdeptcd" class="icon_search" disabled="true" style="left:1012px; top:153px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var recv_list = "reqdeptcd,reqdeptnm";
- misfOpenPopUpList("02", ipt_reqdeptcd,"", recv_list, cmb_instcd.value, "instcd") ;
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="cal_supdirecdd" ref="/root/main/list/purccnsttninfo/purccnsttnmainlist/supdirecdd" disabled="true" inputtype="date" style="left:293px; top:178px; width:107px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- ]]>
- </script>
- </input>
- <input id="ipt_suplplcecd" ref="/root/main/list/purccnsttninfo/purccnsttnmainlist/suplplcecd" class="input_default" disabled="true" style="left:552px; top:152px; width:76px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_suplplcecd.value.length == 0)
- ipt_suplplcenm.value = "";
- else
- rszfValidationCheck("TRRSD00221", "reqcustomlist", "instcd,refcond,retrnm",
- model.getValue(cmb_instcd.attribute("ref")) +",," + model.getValue(ipt_suplplcecd.attribute("ref")),"","suplplcecd,suplplcenm" ,
- ipt_suplplcecd,"SPRSD00220","instcd","cmb_instcd");
- model.refresh();
-
- ]]>
- </script>
- </input>
- <output id="opt_acntnm" ref="/root/main/list/purccnsttninfo/purccnsttnmainlist/acntnm" class="output_fix" appearance="output" style="left:1031px; top:127px; width:150px; height:19px; "/>
- <input id="ipt_acntcd" ref="/root/main/list/purccnsttninfo/purccnsttnmainlist/acntcd" class="input_essential" disabled="true" style="left:934px; top:127px; width:76px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- rszfValidationCheck("TRRAC00111", "acntlist", "acntflag,useyn,jobgb,srhtxt","1,,," + model.getValue(ipt_acntcd.attribute("ref")) ,"","acntcd,acntnm" ,ipt_acntcd,"PPRAC00100","","");
- model.refresh();
- model.setFocus("ipt_amtacnt");
- ]]>
- </script>
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 9)
- {
- if(event.shiftKey)model.setFocus("cmb_lrgcd");
- else model.setFocus("ipt_amtacnt");
- }
- //event.preventDefault();
- ]]>
- </script>
- </input>
- <button id="btn_acntcd" class="icon_search" disabled="true" style="left:1012px; top:127px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- rszfOpenPopUpListByWndName(ipt_acntcd,"","acntcd,acntnm","PPRAC00100","","");
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_cnsttndeptcd" ref="/root/main/list/purccnsttninfo/purccnsttnmainlist/cnsttndeptcd" class="input_default" disabled="true" style="left:934px; top:102px; width:76px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfValidationCheck("02", "", "cnsttndeptcd,cnsttndeptnm" );
- model.refresh();
- ]]>
- </script>
- </input>
- <button id="btn_cnsttndeptcd" class="icon_search" disabled="true" style="left:1012px; top:104px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var recv_list = "cnsttndeptcd,cnsttndeptnm";
- misfOpenPopUpList("02", ipt_cnsttndeptcd,"", recv_list) ;
- model.refresh();
- ]]>
- </script>
- </button>
- <output id="opt_cnsttndeptnm" ref="/root/main/list/purccnsttninfo/purccnsttnmainlist/cnsttndeptnm" class="output_fix" style="left:1031px; top:102px; width:150px; height:19px; "/>
- <datagrid id="grd_purccnsttn" nodeset="/root/main/list/purccnsttninfo/purccnsttnsublist" caption="순번^계정과목코드^계정과목^물품코드^물품코드^물품명^규격^모델^단위^계약량^당초계약 단가^변경계약 단가^BOX 단위^신규여부^품의일^품의번호^계약일자^계약번호^계약순번^acntcd^cnsttndeptcd^totcnsttnamt^conflag^goodcntnm" colsep="^" colwidth="55, 23, 77, 16, 18, 109, 80, 17, 56, 56, 100, 100, 20, 25, 22, 17, 25, 18, 20, 30, 34, 49, 41, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="24" rowsep="|" style="left:0px; top:209px; width:1190px; height:506px; font-weight:normal; text-align:center; ">
- <col ref="purccnsttnseq" style="text-align:center; "/>
- <col ref="acntcd" visibility="hidden" style="text-align:center; "/>
- <col ref="acntnm" style="text-align:left; padding-left:10; "/>
- <col ref="goodcd" visibility="hidden" style="text-align:center; "/>
- <col ref="allsizespecid" visibility="hidden" style="text-align:center; "/>
- <col ref="goodnm" style="text-align:left; padding-left:10; "/>
- <col ref="goodspec" style="text-align:left; padding-left:10; "/>
- <col ref="goodmodel" visibility="hidden" style="text-align:left; padding-left:10; "/>
- <col ref="cnsttnunit" style="text-align:left; padding-left:10; "/>
- <col ref="conqty" type="output" format="#,###" style="text-align:right; "/>
- <col ref="congoodunitcost" type="output" format="#,###" style="text-align:right; "/>
- <col ref="chnggoodunitcost" type="input" format="#,###" style="text-align:right; "/>
- <col ref="fullpurcunit" visibility="hidden" style="text-align:left; padding-left:10; "/>
- <col ref="newyn" visibility="hidden" style="text-align:center; "/>
- <col ref="purccnsttndd" visibility="hidden" style="text-align:center; "/>
- <col ref="purccnsttnno" visibility="hidden" style="text-align:center; "/>
- <col ref="purccondd" visibility="hidden"/>
- <col ref="purcconno" visibility="hidden"/>
- <col ref="purcconseq" visibility="hidden"/>
- <col ref="acntcd" visibility="visible"/>
- <col ref="cnsttndeptcd" visibility="visible"/>
- <col ref="totcnsttnamt" visibility="visible"/>
- <col ref="conflag" visibility="visible"/>
- <col ref="goodcntnm" visibility="visible"/>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- rszfOpenPopUpListByWndName(grd_purccnsttn,"","goodcd,goodnm","SPRSD00190","instcd,goodflag","cmb_instcd,cmb_goodflag");
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(grd_purccnsttn.col == grd_purccnsttn.colRef("chnggoodunitcost")) {
- var totcnsttnamt =0;
- var conqty;
- for(var currow = grd_purccnsttn.fixedRows ; currow < grd_purccnsttn.rows ; currow++)
- {
-
- var rowStatus = grd_purccnsttn.rowStatus(currow);
-
- var chnggoodunitcost = parseFloat(grd_purccnsttn.valueMatrix(currow , grd_purccnsttn.colRef("chnggoodunitcost")));
- var conqty = parseFloat(grd_purccnsttn.valueMatrix(currow , grd_purccnsttn.colRef("conqty")));
- totcnsttnamt += (conqty*chnggoodunitcost);
- }
- model.setValue(ipt_totcnsttnamt.attribute("ref") ,totcnsttnamt);
- }
- ]]>
- </script>
- </datagrid>
- </group>
- <group id="group4" scroll="auto" style="left:0px; top:13; width:1195px; height:27px; ">
- <line id="line7" class="line_6" style="x1:0px; y1:25; x2:1194px; y2:25; "/>
- <button id="btn_init" class="btn4_letter3" style="left:1126; top:3; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fInitialize();
- ]]>
- </script>
- </button>
- <button id="btn_prnt" class="btn6_letter2" visibility="hidden" style="left:0px; top:5px; width:56px; height:22px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- /*var prntyn = model.getValue(chk_prntyn.attribute("ref"));
- if (prntyn != 'Y'){
- submit("TXRSK00100");
- }*/
- freqlistprint();
- //exeReportPreview("RPRSK00100","XMLSTR");
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|