123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624 |
- <?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:my="http://www.comsquare.co.kr/example" xmlns:ms="urn:schemas-microsoft-com:xslt" 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>
- <indlvlist>
- <suppcustcd/>
- <goodcd/>
- <goodnm/>
- <goodspec/>
- <goodmodel/>
- <inputamt/>
- <inputamt2/>
- <incrateamt/>
- <inputamt3/>
- <incrateamt2/>
- <inputqty/>
- <inputqty2/>
- <incrateqty/>
- <inputqty3/>
- <incrateqty2/>
- </indlvlist>
- </main>
- <send>
- <goodreq>
- <refflag>M</refflag>
- <workyyyy/>
- <workyymm/>
- <qurt/>
- <maincustlastsuplplce/>
- <maincustlastsuplplcenm/>
- <suppcustcd/>
- <suppcustcdnm/>
- <instcd/>
- <goodflag/>
- <lrgcd/>
- <mdlcd/>
- <amnt/>
- <morthn/>
- <goodcd/>
- <goodnm/>
- </goodreq>
- </send>
- <init>
- </init>
- <temp/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize();
- ]]>
- </script>
- <submission id="TRRST06101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/goodreq" resultref="/root/main/indlvlist"/>
- </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/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript">
- <![CDATA[
-
- // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
- function fInitialize()
- {
- rszfUserReqInstList(cmb_instcd,getUserInfo("userid"),"%","B");
- // rszfUserReqFlagList(cmb_reqflag,getUserInfo("dutplceinstcd"),getUserInfo("userid"),"1","B");
- rszfGoodFlagListByPgmGubn(cmb_goodflag,"1","N");
- misfComboComCdListMulti("R0025","cmb_goodflag");
-
-
- model.setValue(cmb_instcd.attribute("ref"), getUserInfo("dutplceinstcd"));
- cmb_instcd.refresh();
-
- model.setValue(ipt_workyymm.attribute("ref"), getCurrentDate().substr(0,6));
- ipt_workyymm.refresh();
- }
-
- function fCheckRetrieveData()
- {
- if(!isRequiredControls("opt_goodflag") )return false; // 물품구분
- if(!isRequiredControls("ipt_orginspym") )return false; // 작업년월
- if(!isRequiredControls("opt_stocdeptcd") )return false; // 부서코드
- // if(!isRequiredControls("cmb_lrgcd") )return false; // 대분류
- }
-
- function fSetRefdata() {
-
- var refflag = model.getValue(rdo_refflag.attribute("ref"));
-
- if(refflag == "M") {
-
- var workyymm = model.getValue(ipt_workyymm.attribute("ref"));
- var workyymm2;
- var workyymm3;
-
- var yy = workyymm.substr(0,4);
- var mm = workyymm.substr(4,2);
- var tmp;
-
- if(mm == "01") {
-
- workyymm2 = String(parseInt(yy) - 1) + "12";
- workyymm3 = String(parseInt(yy) - 1) + mm;
-
-
- } else {
- tmp = Number(mm) -1;
-
- if(tmp < 10) {
- tmp = "0" + tmp;
- }
-
- workyymm2 = yy + tmp;
- workyymm3 = String(parseInt(yy) - 1) + mm;
- }
-
- model.makeValue("/root/send/goodreq/workyymm2", workyymm2);
- model.makeValue("/root/send/goodreq/workyymm3", workyymm3);
- } else if(refflag == "Q") {
-
- var workyymm;
- var workyymm2;
- var workyymm3;
- var workyyyy = model.getValue(ipt_workyyyy.attribute("ref"));
-
- var yy = String(Number(workyyyy) - 1);
- var qurt = model.getValue(rdo_qurt.attribute("ref"));
-
- if(qurt == "1") {
- workyymm = workyyyy + "01," + workyyyy + "02," + workyyyy + "03";
- workyymm2 = yy + "10," + yy + "11," + yy + "12";
- workyymm3 = yy + "01," + yy + "02," + yy + "03"
- } else if(qurt == "2") {
- workyymm = workyyyy + "04," + workyyyy + "05," + workyyyy + "06";
- workyymm2 = workyyyy + "01," + workyyyy + "02," + workyyyy + "03";
- workyymm3 = yy + "04," + yy + "05," + yy + "06"
- } else if(qurt == "3") {
- workyymm = workyyyy + "07," + workyyyy + "08," + workyyyy + "09";
- workyymm2 = workyyyy + "04," + workyyyy + "05," + workyyyy + "06";
- workyymm3 = yy + "07," + yy + "08," + yy + "09"
- } else if(qurt == "4") {
- workyymm = workyyyy + "10," + workyyyy + "11," + workyyyy + "12";
- workyymm2 = workyyyy + "07," + workyyyy + "08," + workyyyy + "09";
- workyymm3 = yy + "10," + yy + "11," + yy + "12"
- }
- model.makeValue("/root/send/goodreq/workyymm", workyymm);
- model.makeValue("/root/send/goodreq/workyymm2", workyymm2);
- model.makeValue("/root/send/goodreq/workyymm3", workyymm3);
- // alert("금분기: " + workyymm + " 전분기: " + workyymm2 + " 전년분기: " + workyymm3);
-
- } else if(refflag == "Y") {
- var workyyyy = model.getValue(ipt_workyyyy.attribute("ref"));
- var workyyyy2 = String(Number(workyyyy) - 1);
- model.makeValue("/root/send/goodreq/workyyyy2", String( Number(workyyyy) -1 ) );
-
- }
- }
-
- ]]>
- </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:1195px; height:120px; "/>
- <select1 id="cmb_instcd" ref="/root/send/goodreq/instcd" class="combo_s_essential" appearance="minimal" style="left:95px; top:19px; width:120px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/instcd">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption14" class="search_name" style="left:5px; top:19px; width:91px; height:17px; ">기관코드 :</caption>
- <caption id="caption1" class="search_name" style="left:5px; top:45px; width:88px; height:17px; ">물품분류 :</caption>
- <select1 id="cmb_goodflag" ref="/root/send/goodreq/goodflag" class="combo_s_essential" appearance="minimal" style="left:95px; top:45px; width:120px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/goodflag">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- rszfLMSComboList(model.getValue(cmb_goodflag.attribute("ref")), "", "", "cmb_lrgcd", "", "L", "", "Y");
- model.setValue(cmb_lrgcd.attribute("ref"), "");
- addComboItem( "cmb_lrgcd", "전체", "", "above");
- cmb_lrgcd.dispatch("xforms-value-changed");
- ]]>
- </script>
- </select1>
- <select1 id="cmb_lrgcd" ref="/root/send/goodreq/lrgcd" class="combo_search" appearance="minimal" style="left:95px; top:70px; width:120px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- rszfLMSComboList(model.getValue(cmb_goodflag.attribute("ref")), cmb_lrgcd.value, "", "cmb_mdlcd", "", "M", "", "Y");
- cmb_mdlcd.dispatch("xforms-value-changed");
- addComboItem( "cmb_mdlcd", "전체", "", "above");
- cmb_mdlcd.refresh();
- ]]>
- </script>
- </select1>
- <select1 id="cmb_mdlcd" ref="/root/send/goodreq/mdlcd" class="combo_search" appearance="minimal" style="left:95px; top:95px; width:120px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption11" class="search_name" style="left:5px; top:70px; width:91px; height:17px; ">대 분 류 :</caption>
- <caption id="caption12" class="search_name" style="left:5px; top:95px; width:91px; height:17px; ">중 분 류 :</caption>
- <input id="ipt_maincustlastsuplplce" ref="/root/send/goodreq/maincustlastsuplplce" class="input_search" style="left:333px; top:20px; width:77px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_maincustlastsuplplce.value != ""){
- rszfValidationCheck("TRRSD00221", "reqcustomlist", "instcd,refcond,retrnm",
- model.getValue(cmb_instcd.attribute("ref")) +",," + model.getValue(ipt_maincustlastsuplplce.attribute("ref"))
- ,"","maincustlastsuplplce,maincustlastsuplplcenm" ,ipt_maincustlastsuplplce,"SPRSD00220","instcd","cmb_instcd");
- }else{
- ipt_maincustlastsuplplcenm.value = "";
- }
- model.refresh();
- ]]>
- </script>
- </input>
- <button id="btn_suppcustcd" class="icon_search" style="left:416px; top:44px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- rszfOpenPopUpListByWndName(ipt_suppcustcd,"","suppcustcd,suppcustcdnm","SPRSD00220","instcd","cmb_instcd");
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption31" class="search_name" style="left:230px; top:20px; width:101px; height:17px; ">주 거 래 처 :</caption>
- <caption id="caption3" class="search_name" style="left:230px; top:44px; width:103px; height:17px; ">보조거래처 :</caption>
- <button id="btn_maincustlastsuplplce" class="icon_search" style="left:416px; top:20px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- rszfOpenPopUpListByWndName(ipt_maincustlastsuplplce,"","maincustlastsuplplce,maincustlastsuplplcenm","SPRSD00220","instcd","cmb_instcd");
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_maincustlastsuplplcenm" ref="/root/send/goodreq/maincustlastsuplplcenm" class="output_search" style="left:435px; top:20px; width:170px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_maincustlastsuplplcenm.value != ""){
- rszfValidationCheck("TRRSD00221", "reqcustomlist", "instcd,refcond,retrnm",
- model.getValue(cmb_instcd.attribute("ref")) +",custnm," + model.getValue(ipt_maincustlastsuplplcenm.attribute("ref"))
- ,"","maincustlastsuplplce,maincustlastsuplplcenm" ,ipt_maincustlastsuplplce,"SPRSD00220","instcd","cmb_instcd");
- }else{
- ipt_maincustlastsuplplce.value = "";
- }
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_suppcustnm" ref="/root/send/goodreq/suppcustcdnm" class="output_search" style="left:435px; top:44px; width:170px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_suppcustnm.value != ""){
- rszfValidationCheck("TRRSD00221", "reqcustomlist", "instcd,refcond,retrnm",
- model.getValue(cmb_instcd.attribute("ref")) +",custnm," + model.getValue(ipt_suppcustnm.attribute("ref"))
- ,"","suppcustcd,suppcustcdnm" ,ipt_suppcustcd,"SPRSD00220","instcd","cmb_instcd");
- }else{
- ipt_suppcustcd.value = "";
- }
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_suppcustcd" ref="/root/send/goodreq/suppcustcd" class="input_search" style="left:333px; top:44px; width:77px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_suppcustcd.value != ""){
- rszfValidationCheck("TRRSD00221", "reqcustomlist", "instcd,refcond,retrnm",
- model.getValue(cmb_instcd.attribute("ref")) +",," + model.getValue(ipt_suppcustcd.attribute("ref"))
- ,"","suppcustcd,suppcustcdnm" ,ipt_suppcustcd,"SPRSD00220","instcd","cmb_instcd");
- }else{
- ipt_suppcustnm.value = "";
- }
- model.refresh();
- ]]>
- </script>
- </input>
- <caption id="caption2" class="search_name" style="left:615px; top:20px; width:86px; height:17px; ">조회구분 :</caption>
- <select1 id="rdo_refflag" ref="/root/send/goodreq/refflag" overflow="visible" appearance="full" cellspacing="15" cols="3" style="left:705px; top:20px; width:140px; height:13px; border-style:none; ">
- <choices>
- <item>
- <label>월</label>
- <value>M</value>
- </item>
- <item>
- <label>분기</label>
- <value>Q</value>
- </item>
- <item>
- <label>년</label>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.removeNodeset(grd_indlvlist.nodeset);
- grd_indlvlist.refresh();
- var refflag = model.getValue(rdo_refflag.attribute("ref"));
-
- if(refflag == "M") {
-
- model.setValue(ipt_workyymm.attribute("ref"), getCurrentDate().substr(0,6));
- model.setValue(rdo_qurt.attribute("ref"), "");
-
- ipt_workyymm.refresh();
- rdo_qurt.refresh();
-
- cap_workyyyy.visible = false;
- ipt_workyyyy.visible = false;
- cap_workyymm.visible = true;
- ipt_workyymm.visible = true;
- rdo_qurt.disabled = true;
-
- grd_indlvlist.valueMatrix(1, grd_indlvlist.colRef("inputamt")) = "금월";
- grd_indlvlist.valueMatrix(1, grd_indlvlist.colRef("inputamt2")) = "전월";
- grd_indlvlist.valueMatrix(1, grd_indlvlist.colRef("inputamt3")) = "전년";
-
- grd_indlvlist.valueMatrix(1, grd_indlvlist.colRef("inputqty")) = "금월";
- grd_indlvlist.valueMatrix(1, grd_indlvlist.colRef("inputqty2")) = "전월";
- grd_indlvlist.valueMatrix(1, grd_indlvlist.colRef("inputqty3")) = "전년";
-
- grd_indlvlist.colHidden(grd_indlvlist.colRef("inputamt3")) = false;
- grd_indlvlist.colHidden(grd_indlvlist.colRef("incrateamt2")) = false;
-
- grd_indlvlist.colHidden(grd_indlvlist.colRef("inputqty3")) = false;
- grd_indlvlist.colHidden(grd_indlvlist.colRef("incrateqty2")) = false;
- } else if(refflag == "Q") {
-
- var tmp = getCurrentDate().substr(4,2);
-
- if(tmp == "01" || tmp == "02" || tmp == "03") {
- model.setValue(rdo_qurt.attribute("ref"), "1");
- } else if(tmp == "04" || tmp == "05" || tmp == "06") {
- model.setValue(rdo_qurt.attribute("ref"), "2");
- } else if(tmp == "07" || tmp == "08" || tmp == "09") {
- model.setValue(rdo_qurt.attribute("ref"), "3");
- } else if(tmp == "10" || tmp == "11" || tmp == "12") {
- model.setValue(rdo_qurt.attribute("ref"), "4");
- }
-
- model.setValue(ipt_workyyyy.attribute("ref"), getCurrentDate().substr(0,4));
- model.setValue(ipt_workyymm.attribute("ref"), "");
-
- ipt_workyyyy.refresh();
- ipt_workyymm.refresh();
-
- cap_workyyyy.visible = true;
- ipt_workyyyy.visible = true;
- cap_workyymm.visible = false;
- ipt_workyymm.visible = false;
-
- rdo_qurt.disabled = false;
- rdo_qurt.refresh();
-
- grd_indlvlist.valueMatrix(1, grd_indlvlist.colRef("inputamt")) = "금분기";
- grd_indlvlist.valueMatrix(1, grd_indlvlist.colRef("inputamt2")) = "전분기";
- grd_indlvlist.valueMatrix(1, grd_indlvlist.colRef("inputamt3")) = "전년";
-
- grd_indlvlist.valueMatrix(1, grd_indlvlist.colRef("inputqty")) = "금분기";
- grd_indlvlist.valueMatrix(1, grd_indlvlist.colRef("inputqty2")) = "전분기";
- grd_indlvlist.valueMatrix(1, grd_indlvlist.colRef("inputqty3")) = "전년";
- grd_indlvlist.colHidden(grd_indlvlist.colRef("inputamt3")) = false;
- grd_indlvlist.colHidden(grd_indlvlist.colRef("incrateamt2")) = false;
-
- grd_indlvlist.colHidden(grd_indlvlist.colRef("inputqty3")) = false;
- grd_indlvlist.colHidden(grd_indlvlist.colRef("incrateqty2")) = false;
- } else if(refflag == "Y") {
- model.setValue(ipt_workyyyy.attribute("ref"), getCurrentDate().substr(0,4));
- model.setValue(ipt_workyymm.attribute("ref"), "");
- model.setValue(rdo_qurt.attribute("ref"), "");
-
- ipt_workyyyy.refresh();
- ipt_workyymm.refresh();
- rdo_qurt.refresh();
-
- cap_workyyyy.visible = true;
- ipt_workyyyy.visible = true;
- cap_workyymm.visible = false;
- ipt_workyymm.visible = false;
-
- rdo_qurt.disabled = true;
-
- grd_indlvlist.valueMatrix(1, grd_indlvlist.colRef("inputamt")) = "금년";
- grd_indlvlist.valueMatrix(1, grd_indlvlist.colRef("inputamt2")) = "전년";
- grd_indlvlist.valueMatrix(1, grd_indlvlist.colRef("inputamt3")) = "전년";
-
- grd_indlvlist.valueMatrix(1, grd_indlvlist.colRef("inputqty")) = "금년";
- grd_indlvlist.valueMatrix(1, grd_indlvlist.colRef("inputqty2")) = "전년";
- grd_indlvlist.valueMatrix(1, grd_indlvlist.colRef("inputqty3")) = "전년";
-
- grd_indlvlist.colHidden(grd_indlvlist.colRef("inputamt3")) = true;
- grd_indlvlist.colHidden(grd_indlvlist.colRef("incrateamt2")) = true;
-
- grd_indlvlist.colHidden(grd_indlvlist.colRef("inputqty3")) = true;
- grd_indlvlist.colHidden(grd_indlvlist.colRef("incrateqty2")) = true;
- }
-
- ]]>
- </script>
- </select1>
- <line id="line14" class="line_4" style="x1:1110px; y1:29px; x2:1110px; y2:96px; "/>
- <button id="button1" class="btn1_letter2" navindex="7" style="left:1125px; top:55px; width:56px; height:22px; text-align:left; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- if(model.getValue(cmb_goodflag.attribute("ref")) == "") {
- messageBox("물품구분은 필수입력입니다.", "E");
- model.setFocus("cmb_goodflag");
- return;
- }
-
- var refflag = model.getValue(rdo_refflag.attribute("ref"));
- if(model.getValue(ipt_amnt.attribute("ref")) != "") {
- if(model.getValue(rdo_morthn.attribute("ref") == "")) {
- messageBox("이상,이하 여부를 선택하십시오.", "E");
- model.setFocus("rdo_morthn");
- return;
- }
- }
-
- if(refflag == "") {
- messageBox("조회구분을 선택하세요.", "E");
- return;
- } else {
-
- if(refflag == "M") {
- if(model.getValue(ipt_workyymm.attribute("ref")) == "") {
- messageBox("작업년월을 입력하여주세요.", "E");
- model.setFocus("ipt_workyymm");
- return;
- }
- fSetRefdata();
-
- } else if(refflag == "Q") {
- if(model.getValue(ipt_workyyyy.attribute("ref")) == "") {
- messageBox("작업년도를 입력하여 주세요.", "E");
- model.setFocus("ipt_workyyyy");
- return;
- }
-
- if(model.getValue(rdo_qurt.attribute("ref")) == "") {
- messageBox("분기구분을 입력하여 주세요.", "E");
- model.setFocus("rdo_qurt");
- return;
- }
- fSetRefdata();
- } else if(refflag == "Y") {
- if(model.getValue(ipt_workyyyy.attribute("ref")) == "") {
- messageBox("작업년도를 입력하여 주세요.", "E");
- model.setFocus("ipt_workyyyy");
- return;
- }
- fSetRefdata();
- }
- }
-
- if(model.getValue(ipt_amnt.attribute("ref")) != "") {
- if(model.getValue(rdo_morthn.attribute("ref")) == "") {
- messageBox("이상이하 여부를 선택하여 주세요.", "E");
- model.setFocus("rdo_morthn");
- return;
- }
- }
-
- submit("TRRST06101");
- ]]>
- </script>
- </button>
- <input id="ipt_workyymm" ref="/root/send/goodreq/workyymm" class="input_search" inputtype="date" format="yyyy-mm" style="left:703px; top:43px; width:77px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- ]]>
- </script>
- </input>
- <caption id="cap_workyymm" class="search_name" style="left:615px; top:43px; width:86px; height:17px; ">작업년월 :</caption>
- <caption id="cap_workyyyy" class="search_name" visibility="hidden" style="left:615px; top:43px; width:86px; height:17px; ">작업년도 :</caption>
- <input id="ipt_workyyyy" ref="/root/send/goodreq/workyyyy" class="input_search" visibility="hidden" inputtype="date" maxlength="4" format="yyyy" style="left:703px; top:43px; width:77px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- ]]>
- </script>
- </input>
- <datagrid id="grd_indlvlist" nodeset="/root/main/indlvlist" caption="보조거래처^물품코드^물품명^규격^모델^금액^금액^금액^금액^금액^수량^수량^수량^수량^수량|보조거래처^물품코드^물품명^규격^모델^금월^전월^증감율^전년^증감율^금월^전월^증감율^전년^증감율" colsep="^" colwidth="100, 80, 170, 60, 60, 100, 100, 50, 100, 50, 60, 60, 50, 60, 50" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:175px; width:1195px; height:565px; ">
- <col ref="suppcustnm"/>
- <col ref="goodcd"/>
- <col ref="goodnm"/>
- <col ref="goodspec"/>
- <col ref="goodmodel"/>
- <col ref="inputamt" format="#,###" style="text-align:right; "/>
- <col ref="inputamt2" format="#,###" style="text-align:right; "/>
- <col ref="incrateamt" format="(-)#,###.###" style="text-align:right; "/>
- <col ref="inputamt3" format="#,###" style="text-align:right; "/>
- <col ref="incrateamt2" format="(-)#,###.###" style="text-align:right; "/>
- <col ref="inputqty" style="text-align:right; "/>
- <col ref="inputqty2" style="text-align:right; "/>
- <col ref="incrateqty" format="(-)#,###.###" style="text-align:right; "/>
- <col ref="inputqty3" style="text-align:right; "/>
- <col ref="incrateqty2" format="(-)#,###.###" style="text-align:right; "/>
- </datagrid>
- <caption id="cap_qurt" class="search_name" style="left:615px; top:68px; width:86px; height:17px; ">분기구분 :</caption>
- <select1 id="rdo_qurt" ref="/root/send/goodreq/qurt" disabled="true" overflow="visible" appearance="full" cellspacing="10" cols="4" style="left:705px; top:70px; width:220px; height:13px; border-style:none; ">
- <choices>
- <item>
- <label>1/4</label>
- <value>1</value>
- </item>
- <item>
- <label>2/4</label>
- <value>2</value>
- </item>
- <item>
- <label>3/4</label>
- <value>3</value>
- </item>
- <item>
- <label>4/4</label>
- <value>4</value>
- </item>
- </choices>
- </select1>
- <caption id="caption4" class="search_name" style="left:615px; top:90px; width:86px; height:17px; ">증감금액 :</caption>
- <input id="ipt_amnt" ref="/root/send/goodreq/amnt" class="input_search" format="#,###" style="left:705px; top:90px; width:100px; height:20px; text-align:right; "/>
- <select1 id="rdo_morthn" ref="/root/send/goodreq/morthn" overflow="visible" appearance="full" cellspacing="10" cols="2" style="left:808px; top:92px; width:100px; height:13px; border-style:none; ">
- <choices>
- <item>
- <label>이상</label>
- <value>1</value>
- </item>
- <item>
- <label>이하</label>
- <value>2</value>
- </item>
- </choices>
- </select1>
- <input id="ipt_goodnm" ref="/root/send/goodreq/goodnm" class="output_search" style="left:435px; top:70px; width:170px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_goodnm.value != "")
- {
- rszfValidationCheck("TRRSD00191", "goodlist" , "refcond,instcd,goodflag,goodcd,goodnm,indexgb,indexnm",
- "goodnm," + model.getValue(cmb_instcd.attribute("ref")) + ",,," + model.getValue(ipt_goodnm.attribute("ref")) + ",," ,
- "","goodcd,goodnm",ipt_goodcd,"SPRSD00210","instcd,reqflag","cmb_instcd,cmb_reqflag");
- }else{
- ipt_goodnm.value = "";
- ipt_goodcd.value = "";
- }
- model.refresh();
- ]]>
- </script>
- </input>
- <button id="btn_goodcd" class="icon_search" style="left:416px; top:70px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- rszfOpenPopUpListByWndName(ipt_goodcd,"","goodcd,goodnm","SPRSD00210","instcd,reqflag","cmb_instcd,cmb_reqflag");
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_goodcd" ref="/root/send/goodreq/goodcd" class="input_search" appearance="input" style="left:335px; top:70px; width:75px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_goodcd.value != "")
- {
- rszfValidationCheck("TRRSD00191", "goodlist" , "refcond,instcd,goodflag,goodcd,goodnm,indexgb,indexnm","goodcd," + model.getValue(cmb_instcd.attribute("ref")) + ",," + model.getValue(ipt_goodcd.attribute("ref")) + ",,,," ,"","goodcd,goodnm",ipt_goodcd,"SPRSD00210","instcd,reqflag","cmb_instcd,cmb_reqflag");
- model.refresh();
- }else{
- ipt_goodcd.value = "";
- ipt_goodnm.value = "";
- model.refresh();
- }
- ]]>
- </script>
- </input>
- <caption id="caption16" class="search_name" style="left:230px; top:70px; width:101px; height:17px; ">물 품 코 드 :</caption>
- <caption id="caption5" class="tit_2" style="left:5px; top:155px; width:110px; height:14px; ">월수불증감내역</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:170px; x2:1195px; y2:170px; "/>
- </group>
- <group id="group1" style="left:0px; top:12; width:1195px; height:27px; ">
- <button id="btn_print" class="btn6_letter5" style="left:0px; top:3px; width:92px; height:22px; ">
- <caption>리스트출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- exeReportPreview("RPRST05301", "XMLSTR");
- ]]>
- </script>
- </button>
- <line id="line17" class="line_6" style="x1:0px; y1:25px; x2:1195px; y2:25px; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|