123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/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>
- <!--2010.03.24 황신희 작성 -->
- <xhtml:title>물품조회(행위재료)</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <hidden>
- <rscdgood>
- <rscdgoodlist/>
- </rscdgood>
- <goodlist/>
- </hidden>
- <subsend>
- <rscdgoodlist>
- <instcd/>
- <goodflag/>
- <goodcd/>
- <goodnm/>
- <allsizespecid/>
- <actcd/>
- <goodcd/>
- <goodnm2/>
- <basedd/>
- </rscdgoodlist>
- <saverscdgood>
- <savegoodlist/>
- </saverscdgood>
- </subsend>
- <init>
- <init_instcd/>
- <init_goodflag/>
- </init>
- <template>
- <resdata>
- <actdata/>
- </resdata>
- </template>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- model.setValue("/root/subsend/rscdgoodlist/instcd" ,getUserInfo("dutplceinstcd"));
- ]]>
- </script>
- <submission id="TRPIC90001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/subsend/rscdgoodlist" resultref="/root/hidden/rscdgood"/>
- <submission id="TRPIC90002" mediatype="application/x-www-form-urlencoded" method="post" ref="root/send/reslist" resultref="/root/template/resdata"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/SPZUR00100.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../pam/actmatrweb/js/SMPIC90000.js"/>
- <script type="javascript">
- <![CDATA[
- function fItemAllChoice( vFlag ) {
- if( fGridItemCheck()!=true ) return;
- for( cnt = grd_gresult.fixedRows; cnt < grd_gresult.rows ; cnt++ ) {
- grd_gresult.valueMatrix( cnt, grd_gresult.colRef("select")) = vFlag;
- if (grd_gresult.valueMatrix( cnt, grd_gresult.colRef("select")) == "Y"){
- grd_gresult.rowStatus(cnt) = "2";
- }else{
- grd_gresult.rowStatus(cnt) = "0";
- }
- }
- }
-
- function fActcdSearch(actcd, hngnm) {
-
- // 싱글수가를 개별로 조회할 수 없도록 처리 by 조중래 20170530
- // var goodcd = model.getValue(ipt_goodcd.attribute("ref"));
- // var goodnm = model.getValue(ipt_goodnm.attribute("ref"));
- //
- // if(goodcd == "" && goodnm == "") {
-
- if (!isNull(actcd)) {
-
- model.setValue("/root/subsend/rscdgoodlist/actcd", actcd);
- model.setValue("/root/subsend/rscdgoodlist/goodnm2", hngnm);
-
- fSmGridInit(grd_gresult);
-
- if(submit("TRPIC90001",false)) {
- model.refresh();
- }
- }
- //model.setValue("/root/subsend/rscdgoodlist/actcd","");
- // }
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="1172" pageheight="250">
- <input id="ipt_instcd" ref="/root/subsend/rscdgoodlist/instcd" visibility="hidden" style="left:1095px; top:5px; width:45px; height:19px; "/>
- <select1 id="cmb_goodflag" ref="/root/subsend/rscdgoodlist/goodflag" visibility="hidden" appearance="minimal" style="left:1043px; top:5px; width:47px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/init_goodflag">
- <label ref="cdid"/>
- <value ref="cdnm"/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_allsizespecid" ref="/root/subsend/rscdgoodlist/allsizespecid" visibility="hidden" style="left:1145px; top:5px; width:20px; height:19px; "/>
- <caption id="caption1" class="tit_2" style="left:5px; top:8px; width:190px; height:15px; ">그룹수가 내 싱글수가 조회</caption>
- <line id="line1" class="line_1" x0="0px" style="x1:0px; y1:34px; x2:1170px; y2:34px; "/>
- <datagrid id="grd_gresult" nodeset="/root/hidden/rscdgood/rscdgoodlist" caption="선택^기관코드^물품구분^물품코드^물품코드^물품명^규격^단가^수량^모델^EDICD^수불단위^주거래처명^주거래처명^보조거래처명^보조거래처명" colsep="^" colwidth="36, 19, 17, 93, 29, 188, 146, 96, 45, 106, 100, 68, 12, 131, 14, 111" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:40px; width:1170px; height:210px; ">
- <col checkvalue="Y,N" ref="select" type="checkbox"/>
- <col ref="instcd" type="output" visibility="hidden" style="text-align:center; "/>
- <col ref="goodflag" type="output" visibility="hidden"/>
- <col ref="goodcd" type="output" style="text-align:center; "/>
- <col ref="allsizespecid" type="output" style="text-align:center; "/>
- <col ref="goodnm" type="output" style="text-align:left; padding-left:5; "/>
- <col ref="goodspec" type="output" style="text-align:left; padding-left:5; "/>
- <col ref="goodunitcost" type="output" format="#,###" style="text-align:right; padding-right:5; "/>
- <col ref="drugqty" type="output" format="#,###.##" style="text-align:right; padding-right:5; "/>
- <col ref="goodmodel" type="output" style="text-align:left; padding-left:5; "/>
- <col ref="edicd" type="output" style="text-align:center; "/>
- <col ref="deliveunit" type="output" style="text-align:center; "/>
- <col ref="maincustlastsuplplce" type="output" visibility="hidden"/>
- <col ref="maincustlastsuplplcenm" type="output" style="text-align:left; padding-left:5; "/>
- <col ref="suppcustcd" type="output" visibility="hidden"/>
- <col ref="suppcustnm" type="output" style="text-align:left; padding-left:5; "/>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(grd_gresult.col == grd_gresult.colRef("select"))
- {
- if(model.getValue(grd_gresult.nodeset + "[" + (grd_gresult.row - grd_gresult.fixedRows +1)+"]/select") == "Y")
- {
- btn_goodinsert.dispatch("DOMActivate");
- }
- }
- ]]>
- </script>
- </datagrid>
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="20" ellipseheight="20" style="left:190px; top:1px; width:980px; height:30px; "/>
- <button id="btn_goodinsert" class="btn2_letter2" disabled="true" disable.background-image="../../../com/commonweb/images/dis_btn2_letter2.gif" style="left:1115px; top:6px; width:42px; height:19px; background-image:../../../com/commonweb/images/btn2_letter2.gif; ">
- <caption>추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var acode = grd_synomcode.valueMatrix(grd_synomcode.rows - grd_synomcode.fixedRows , grd_synomcode.colRef("actcd"));
-
- if(acode == ""){
- fsetting();
- }
- ]]>
- </script>
- </button>
- <button id="btn_goodsearch" class="btn1_letter2" style="left:1045px; top:5px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 싱글수가를 개별로 조회할 수 없도록 처리 by 조중래 20170530
- // var goodcd = model.getValue(ipt_goodcd.attribute("ref"));
- // var goodnm = model.getValue(ipt_goodnm.attribute("ref"));
- // if(goodcd == "" && goodnm == "") {
- // messageBox("조회 정보를", "C001");
- // return;
- // }
- var spath = "/root/hidden/rscdgood/rscdgoodlist/";
- var rpath = "/root/subsend/rscdgoodlist/"
- fSmGridInit(grd_gresult);
- //model.makeValue(spath+"goodcd", goodcd);
- //model.makeValue(spath+"goodnm", goodnm);
- if(submit("TRPIC90001",false)) {
- grd_gresult.refresh();
- }
- ]]>
- </script>
- </button>
- <caption id="caption2" class="search_name" style="left:202px; top:7px; width:113px; height:17px; ">그룹수가코드 :</caption>
- <button id="btn_subsearch01" class="icon_search" visibility="hidden" style="left:432px; top:8px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSmGridInit(grd_gresult);
- fSmOpenPopUpListByWndName(ipt_goodcd,"","goodcd,goodnm","SPRSD00210");
- ipt_goodcd.refresh();
- ipt_goodnm.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_goodcd" ref="/root/subsend/rscdgoodlist/goodcd" class="input_essential" _chartype="upper" style="left:315px; top:7px; width:115px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_goodsearch", "DOMActivate");
- ]]>
- </script>
- </input>
- <input id="ipt_goodnm" ref="/root/subsend/rscdgoodlist/goodnm2" disabled="true" visibility="visible" editable="true" style="left:595px; top:7px; width:425px; height:19px; text-align:left; padding-left:5; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_goodsearch", "DOMActivate");
- ]]>
- </script>
- </input>
- <line id="line2" class="line_4" style="x1:1033px; y1:8px; x2:1033px; y2:26px; "/>
- <datagrid id="grd_synomcode" nodeset="/root/template/resdata/actdata" visibility="hidden" caption="actcd" colsep="^" colwidth="67" mergecellsfixedrows="bycolrec" rowsep="|" style="left:1055px; top:185px; width:80px; height:52px; ">
- <col ref="actcd"/>
- </datagrid>
- <caption id="caption5" class="search_name" visibility="visible" style="left:460px; top:6px; width:135px; height:17px; ">그룹수가명(한글) :</caption>
- <input id="input1" ref="/root/subsend/rscdgoodlist/actcd" disabled="true" visibility="visible" editable="true" _chartype="upper" style="left:315px; top:7px; width:135px; height:19px; text-align:left; padding-left:5; "/>
- <input id="input2" ref="/root/subsend/rscdgoodlist/basedd" visibility="hidden" style="left:1060px; top:160px; width:100px; height:19px; "/>
- </xhtml:body>
- </xhtml:html>
|