123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/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="">
- <send>
- <fromdd/>
- <todd/>
- <appno1/>
- <appno2/>
- <fromdate/>
- <todate/>
- <tpndrugcd/>
- <h703appno/>
- <h703lnno/>
- <unitcostappdd/>
- </send>
- <send_druginfo>
- <drugcd/>
- <appno/>
- <lnno/>
- </send_druginfo>
- <send_dbc703>
- <appno/>
- <lnno/>
- </send_dbc703>
- <send_save702>
- <status/>
- <appno/>
- <lnno/>
- <prcpprodflag/>
- <drugtype/>
- <efcygrup/>
- <reptitemcd/>
- <itemnm/>
- <notedd/>
- <clamamt/>
- <spec/>
- <unit/>
- <unitcostappdd/>
- <efcy/>
- <direcvol/>
- </send_save702>
- <send_save703>
- <save703/>
- </send_save703>
- <send_drugcd>
- <drugcd/>
- </send_drugcd>
- <send_samcret>
- <appno/>
- </send_samcret>
- <send_appno>
- <appno/>
- </send_appno>
- <send_selectlist>
- <selectlist>
- <appno/>
- <lnno/>
- </selectlist>
- </send_selectlist>
- <main>
- <list01>
- <gridpiehh702>
- <appno/>
- <lnno/>
- <calcscorcd/>
- <itemnm/>
- <prcpprodflag/>
- <drugtype/>
- <efcygrup/>
- <reptitemcd/>
- <notedd/>
- <clamamt/>
- <spec/>
- <unit/>
- <unitcostappdd/>
- <efcy/>
- <direcvol/>
- <gnrlrbpnt/>
- </gridpiehh702>
- </list01>
- <list02>
- <gridpiehh702info>
- <status/>
- <appno/>
- <lnno/>
- <prcpprodflag/>
- <drugtype/>
- <efcygrup/>
- <reptitemcd/>
- <itemnm/>
- <notedd/>
- <clamamt/>
- <spec/>
- <unit/>
- <unitcostappdd/>
- <efcy/>
- <direcvol/>
- </gridpiehh702info>
- </list02>
- <list03>
- <gridpiehh703>
- <appno/>
- <lnno/>
- <cdflag/>
- <drugcd/>
- <edicd/>
- <drugnm/>
- <drugspec/>
- <drugunit/>
- <purcdd/>
- <unitcost/>
- <durgqty/>
- <drugqtyunit/>
- <drugqtyamt/>
- <pinstbzplcergstno/>
- <pinstcmpynm/>
- </gridpiehh703>
- <claminfo>
- <clamamt/>
- </claminfo>
- </list03>
- <temp>
- <appno>200101151</appno>
- </temp>
- </main>
- <init>
- <P0280list>
- <P0280>
- <cdid/>
- <cdnm/>
- </P0280>
- </P0280list>
- <U0001list>
- <U0001>
- <cdid/>
- <cdnm/>
- </U0001>
- </U0001list>
- <P0131list>
- <P0131>
- <cdid/>
- <cdnm/>
- </P0131>
- </P0131list>
- <P0300list>
- <P0300>
- <cdid/>
- <cdnm/>
- </P0300>
- </P0300list>
- <temp>
- <newappnoinfo>
- <appno/>
- <appseqno/>
- <lnno/>
- </newappnoinfo>
- </temp>
- </init>
- <popupdata>
- <popupmenu>
- <gridpiehh702>
- <item>
- <name>신고조회</name>
- <func>fMenu1</func>
- </item>
- </gridpiehh702>
- </popupmenu>
- </popupdata>
- <source_702info>
- <status/>
- <appno/>
- <prcpprodflag/>
- <drugtype/>
- <efcygrup/>
- <reptitemcd/>
- <itemnm/>
- <appdd/>
- <clamamt/>
- <spec/>
- <unit/>
- <unitcostappdd/>
- <efcy/>
- <direcvol/>
- </source_702info>
- <hidden>
- <h702statusinfo>
- <statusinfo>
- <status/>
- </statusinfo>
- </h702statusinfo>
- <h703statusinfo>
- <statusinfo>
- <status/>
- </statusinfo>
- </h703statusinfo>
- <getseqnoinfo>
- <getseqno>
- <seqno/>
- </getseqno>
- </getseqnoinfo>
- <drugcdlist>
- <drugcdinfo>
- <drugcd/>
- <edicd/>
- <drugnm/>
- <drugspec/>
- <drugunit/>
- <unitcost/>
- <drugqtyunit/>
- </drugcdinfo>
- </drugcdlist>
- <addrowno>
- <number/>
- </addrowno>
- <appnolnno>
- <newlnno>
- <lnno/>
- </newlnno>
- </appnolnno>
- <selectlist>
- <appno/>
- <lnno/>
- </selectlist>
- <saveresult>
- <msg/>
- </saveresult>
- </hidden>
- <sendall>
- <send_save702>
- <save702>
- <status/>
- <appno/>
- <lnno/>
- <prcpprodflag/>
- <drugtype/>
- <efcygrup/>
- <reptitemcd/>
- <itemnm/>
- <notedd/>
- <clamamt/>
- <spec/>
- <unit/>
- <unitcostappdd/>
- <efcy/>
- <direcvol/>
- </save702>
- <save703/>
- </send_save702>
- <send_save703>
- <save703/>
- </send_save703>
- </sendall>
- </root>
- </instance>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRPIE00301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/hidden/getseqnoinfo"/>
- <submission id="TRPIE00302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send_druginfo" resultref="/root/main/list02"/>
- <submission id="TRPIE00303" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list01"/>
- <submission id="TRPIE00304" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send_dbc703" resultref="/root/main/list03"/>
- <submission id="TRPIE00305" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send_druginfo" resultref="/root/main/list03"/>
- <submission id="TRPIE00306" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send_drugcd" resultref="/root/hidden/drugcdlist"/>
- <submission id="TRPIE00307" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send_appno/appno" resultref="/root/hidden/appnolnno"/>
- <submission id="TRPIE00309" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list03"/>
- <submission id="TXPIE00301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/temp"/>
- <submission id="TXPIE00302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send_save702"/>
- <submission id="TXPIE00304" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send_samcret" resultref="/root/result"/>
- <submission id="TXPIE00305" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send_save703/save703"/>
- <submission id="TXPIE00306" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send_samcret"/>
- <submission id="TXPIE00307" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send_selectlist/selectlist"/>
- <submission id="TXPIE00308" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/sendall/send_save702"/>
- <submission id="TXPIE00309" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/list01" resultref="/root/hidden/saveresult"/>
- </model>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- // 공통코드 Load작업
- CommCode_Load();
- grd_piehh702.frozenCols = grd_piehh702.colRef("itemnm");
- grd_piehh703.frozenCols = grd_piehh703.colRef("drugnm");
- ]]>
- </script>
- <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="../../../com/commonweb/js/numericHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/batchinfoweb/js/ZSB001.js"/>
- <script type="javascript">
- <![CDATA[
- function Node_Init() {
- // NodeSet 초기화
- model.resetInstanceNode("/root/main/list");
- model.refresh();
- }
-
- // 공통코드 Load작업
- function CommCode_Load() {
- zbcfGetCodeList(new Array("P0280","P0300"), new Array( "/root/init/P0280list","/root/init/P0300list")); // 조제제제구분
-
- ipt_appno1.value = getCurrentDate();
- // 로딩시에 현재일자의 PIEHH701에서 신청순번을 조회한다.
- //if(submit("TRPIE00301")) {
- // setAppno2();
- //}
-
- //model.refresh();
- }
-
- // 신청번호2 Input Box 에 값 세팅
- function setAppno2() {
- if(cmb_appno2.length == 0) {
- // model.makeNode("/root/init/U0001list/U0001/cdid");
- // model.setValue("/root/init/U0001list/U0001/cdid","0001");
- // cmb_appno2.value = model.getValue("/root/init/U0001list/U0001/cdid");
- } else {
- if(cmb_appno2.length == 1) {
- cmb_appno2.select(0);
- // cmb_appno2.value = model.getValue("/root/init/U0001list/U0001/cdid");
- model.setFocus("btn_cret");
- } else {
- model.setFocus("cmb_appno2");
- }
- }
- }
-
- function fSendChk() {
- var fromdd = model.getValue("/root/send/fromdd");
- var todd = model.getValue("/root/send/todd");
- var appno1 = model.getValue("/root/send/appno1");
- var appno2 = model.getValue("/root/send/appno2");
- var appno = appno1 + appno2;
-
- if(fromdd == "" && todd == ""){
- if(appno1 == "" && appno2 == ""){
- messageBox("1조회조건을","C001");
- return false;
- }
- }
- if(fromdd == "" && todd != ""){
- messageBox("2조회조건을","C001");
- return false;
- }
- if(fromdd != "" && todd == ""){
- messageBox("3조회조건을","C001");
- return false;
- }
-
- if(appno1 != "" && appno2 != ""){
- if(appno.length == "12"){
- return true;
- }else{
- messageBox("4조회조건을","C001");
- return false;
- }
- }
- return false;
- }
-
- function fDayChk(){
- var appno = model.getValue("/root/send/appno1");
- var dd = getCurrentDate();
- if(appno != dd){
- var chk = messageBox("신청일자가 오늘일자와 다릅니다.","Q003");
- if(chk == "6"){
- return true;
- }else{
- return false;
- }
- }
- }
-
- function fNewLnnoSet(){
- var rows = grd_piehh702.rows;
- var frows = grd_piehh702.fixedRows;
- var nrows = rows - frows;
-
- var newlnno = model.getValue("/root/main/list01/gridpiehh702[" + nrows + "]/lnno")
- model.setValue("/root/main/list02/gridpiehh702info/lnno", newlnno);
-
- //약품조회시 처음에 insert한다는 전제하에 status를 I로 한다.
- var rows = grd_piehh703.rows;
- var frows = grd_piehh703.fixedRows;
- var nrows = rows - frows;
-
- for(var i = 1; i <= nrows; i++){
- model.setValue("/root/main/list03/gridpiehh703[" + i + "]/lnno",newlnno);
- grd_piehh703.rowStatus(i) = 1;
- }
- model.refresh();
- }
-
- function fSave() {
- var curr_row = 1;
-
- var appno1 = model.getValue("/root/send/appno1"); // 신청번호 앞자리
- var appno2 = model.getValue("/root/send/appno2"); // 신청번호 뒷자리
- var appno = appno1 + appno2;
- //model.setValue("/root/main/list02/gridpiehh702info/appno",appno);
- //var appno = model.getValue("/root/main/list02/gridpiehh702info[" + curr_row + "]/appno");
- var appno2 = model.getValue("/root/main/list02/gridpiehh702info/appno");
- alert(appno2);
- if(appno2 != "" && appno2.length == 12){
- // pam.piehh701/pam.piehh702/pam.piehh703 테이블에 자료를 입력한다.
- //var curr_row = grd_piehh703.row - 1;
- //grd_pirhobtspec.addStatus(curr_row, "update");
- model.setValue("/root/sendall/send_save702/save702/status", "update"); //model.getValue("/root/hidden/h702statusinfo/statusinfo/status"));
- model.setValue("/root/sendall/send_save702/save702/appno", model.getValue("/root/main/list02/gridpiehh702info/appno"));
- model.setValue("/root/sendall/send_save702/save702/lnno", model.getValue("/root/main/list02/gridpiehh702info/lnno"));
- model.setValue("/root/sendall/send_save702/save702/prcpprodflag", model.getValue("/root/main/list02/gridpiehh702info/prcpprodflag"));
- model.setValue("/root/sendall/send_save702/save702/drugtype", model.getValue("/root/main/list02/gridpiehh702info/drugtype"));
- model.setValue("/root/sendall/send_save702/save702/efcygrup", model.getValue("/root/main/list02/gridpiehh702info/efcygrup"));
- model.setValue("/root/sendall/send_save702/save702/reptitemcd", model.getValue("/root/main/list02/gridpiehh702info/reptitemcd"));
- model.setValue("/root/sendall/send_save702/save702/itemnm", model.getValue("/root/main/list02/gridpiehh702info/itemnm"));
- model.setValue("/root/sendall/send_save702/save702/notedd", model.getValue("/root/main/list02/gridpiehh702info/notedd"));
- model.setValue("/root/sendall/send_save702/save702/clamamt", model.getValue("/root/main/list02/gridpiehh702info/clamamt"));
- model.setValue("/root/sendall/send_save702/save702/spec", model.getValue("/root/main/list02/gridpiehh702info/spec"));
- model.setValue("/root/sendall/send_save702/save702/unit", model.getValue("/root/main/list02/gridpiehh702info/unit"));
- model.setValue("/root/sendall/send_save702/save702/unitcostappdd", model.getValue("/root/main/list02/gridpiehh702info/unitcostappdd"));
- model.setValue("/root/sendall/send_save702/save702/efcy", model.getValue("/root/main/list02/gridpiehh702info/efcy"));
- model.setValue("/root/sendall/send_save702/save702/direcvol", model.getValue("/root/main/list02/gridpiehh702info/direcvol"));
-
- model.setValue("/root/sendall/send_save702/save703", grd_piehh703.getUpdateData());
- //alert("info저장전" + model.getValue("/root/main/list02/gridpiehh702info/lnno"));
- submit("TXPIE00308");
-
- }else if(appno != "" && appno.length == 12){
-
- model.setValue("/root/sendall/send_save702/save702/status", "insert");
- model.setValue("/root/sendall/send_save702/save702/appno", appno);
- //model.setValue("/root/send_save702/lnno", model.getValue("/root/main/list02/gridpiehh702info/lnno"));
- model.setValue("/root/sendall/send_save702/save702/prcpprodflag", model.getValue("/root/main/list02/gridpiehh702info/prcpprodflag"));
- model.setValue("/root/sendall/send_save702/save702/drugtype", model.getValue("/root/main/list02/gridpiehh702info/drugtype"));
- model.setValue("/root/sendall/send_save702/save702/efcygrup", model.getValue("/root/main/list02/gridpiehh702info/efcygrup"));
- model.setValue("/root/sendall/send_save702/save702/reptitemcd", model.getValue("/root/main/list02/gridpiehh702info/reptitemcd"));
- model.setValue("/root/sendall/send_save702/save702/itemnm", model.getValue("/root/main/list02/gridpiehh702info/itemnm"));
- model.setValue("/root/sendall/send_save702/save702/notedd", model.getValue("/root/main/list02/gridpiehh702info/notedd"));
- model.setValue("/root/sendall/send_save702/save702/clamamt", model.getValue("/root/main/list02/gridpiehh702info/clamamt"));
- model.setValue("/root/sendall/send_save702/save702/spec", model.getValue("/root/main/list02/gridpiehh702info/spec"));
- model.setValue("/root/sendall/send_save702/save702/unit", model.getValue("/root/main/list02/gridpiehh702info/unit"));
- model.setValue("/root/sendall/send_save702/save702/unitcostappdd", model.getValue("/root/main/list02/gridpiehh702info/unitcostappdd"));
- model.setValue("/root/sendall/send_save702/save702/efcy", model.getValue("/root/main/list02/gridpiehh702info/efcy"));
- model.setValue("/root/sendall/send_save702/save702/direcvol", model.getValue("/root/main/list02/gridpiehh702info/direcvol"));
-
- model.setValue("/root/sendall/send_save702/save703", grd_piehh703.getUpdateData());
- //alert(instance1.selectNodesXml("/root/sendall/send_save702") );
- //alert("info저장전" + model.getValue("/root/main/list02/gridpiehh702info/lnno"));
- submit("TXPIE00308");
-
- // 저장후 H702의 status를 update한다. (바로 수정하여 저장할수 잇도록.
- //model.setValue("/root/hidden/h702statusinfo/statusinfo/status","update");
-
- //재조회
- // submit("TRPIE00303");
- }else{
- inputEnterKey("btn_srch", "DOMActivate");
- }
- return true;
- }
-
- function fSaveH702(){
- var curr_row = 1;
-
- var appno1 = model.getValue("/root/send/appno1");
- var appno2 = model.getValue("/root/send/appno2");
- var appno = appno1 + appno2;
- //model.setValue("/root/main/list02/gridpiehh702info/appno",appno);
- //var appno = model.getValue("/root/main/list02/gridpiehh702info[" + curr_row + "]/appno");
- var appno2 = model.getValue("/root/main/list02/gridpiehh702info/appno");
- if(appno2 != "" && appno2.length == 12){
- // pam.piehh701/pam.piehh702/pam.piehh703 테이블에 자료를 입력한다.
-
- //var curr_row = grd_piehh703.row - 1;
- //grd_pirhobtspec.addStatus(curr_row, "update");
- model.setValue("/root/send_save702/status", "update"); //model.getValue("/root/hidden/h702statusinfo/statusinfo/status"));
- model.setValue("/root/send_save702/appno", model.getValue("/root/main/list02/gridpiehh702info/appno"));
- model.setValue("/root/send_save702/lnno", model.getValue("/root/main/list02/gridpiehh702info/lnno"));
- model.setValue("/root/send_save702/prcpprodflag", model.getValue("/root/main/list02/gridpiehh702info/prcpprodflag"));
- model.setValue("/root/send_save702/drugtype", model.getValue("/root/main/list02/gridpiehh702info/drugtype"));
- model.setValue("/root/send_save702/efcygrup", model.getValue("/root/main/list02/gridpiehh702info/efcygrup"));
- model.setValue("/root/send_save702/reptitemcd", model.getValue("/root/main/list02/gridpiehh702info/reptitemcd"));
- model.setValue("/root/send_save702/itemnm", model.getValue("/root/main/list02/gridpiehh702info/itemnm"));
- model.setValue("/root/send_save702/notedd", model.getValue("/root/main/list02/gridpiehh702info/notedd"));
- model.setValue("/root/send_save702/clamamt", model.getValue("/root/main/list02/gridpiehh702info/clamamt"));
- model.setValue("/root/send_save702/spec", model.getValue("/root/main/list02/gridpiehh702info/spec"));
- model.setValue("/root/send_save702/unit", model.getValue("/root/main/list02/gridpiehh702info/unit"));
- model.setValue("/root/send_save702/unitcostappdd", model.getValue("/root/main/list02/gridpiehh702info/unitcostappdd"));
- model.setValue("/root/send_save702/efcy", model.getValue("/root/main/list02/gridpiehh702info/efcy"));
- model.setValue("/root/send_save702/direcvol", model.getValue("/root/main/list02/gridpiehh702info/direcvol"));
- //alert("info저장전" + model.getValue("/root/main/list02/gridpiehh702info/lnno"));
- submit("TXPIE00302");
-
- // 저장후 H702의 status를 update한다. (바로 수정하여 저장할수 잇도록.
- //model.setValue("/root/hidden/h702statusinfo/statusinfo/status","update");
-
- //재조회
- submit("TRPIE00303");
-
- // var newlnno = model.getValue("/root/main/list02/gridpiehh702info/lnno");
- // if(newlnno == ""){
- // fNewLnnoSet();
- // }
- }else if(appno != "" && appno.length == 12){
-
- model.setValue("/root/send_save702/status", "insert");
- model.setValue("/root/send_save702/appno", appno);
- //model.setValue("/root/send_save702/lnno", model.getValue("/root/main/list02/gridpiehh702info/lnno"));
- model.setValue("/root/send_save702/prcpprodflag", model.getValue("/root/main/list02/gridpiehh702info/prcpprodflag"));
- model.setValue("/root/send_save702/drugtype", model.getValue("/root/main/list02/gridpiehh702info/drugtype"));
- model.setValue("/root/send_save702/efcygrup", model.getValue("/root/main/list02/gridpiehh702info/efcygrup"));
- model.setValue("/root/send_save702/reptitemcd", model.getValue("/root/main/list02/gridpiehh702info/reptitemcd"));
- model.setValue("/root/send_save702/itemnm", model.getValue("/root/main/list02/gridpiehh702info/itemnm"));
- model.setValue("/root/send_save702/notedd", model.getValue("/root/main/list02/gridpiehh702info/notedd"));
- model.setValue("/root/send_save702/clamamt", model.getValue("/root/main/list02/gridpiehh702info/clamamt"));
- model.setValue("/root/send_save702/spec", model.getValue("/root/main/list02/gridpiehh702info/spec"));
- model.setValue("/root/send_save702/unit", model.getValue("/root/main/list02/gridpiehh702info/unit"));
- model.setValue("/root/send_save702/unitcostappdd", model.getValue("/root/main/list02/gridpiehh702info/unitcostappdd"));
- model.setValue("/root/send_save702/efcy", model.getValue("/root/main/list02/gridpiehh702info/efcy"));
- model.setValue("/root/send_save702/direcvol", model.getValue("/root/main/list02/gridpiehh702info/direcvol"));
- //alert("info저장전" + model.getValue("/root/main/list02/gridpiehh702info/lnno"));
- submit("TXPIE00302");
-
- // 저장후 H702의 status를 update한다. (바로 수정하여 저장할수 잇도록.
- //model.setValue("/root/hidden/h702statusinfo/statusinfo/status","update");
-
- //재조회
- submit("TRPIE00303");
- }else{
- inputEnterKey("btn_srch", "DOMActivate");
- }
- return true;
- }
-
- function fSetLnno(){
-
- // 줄번호를 받아오기 위하여 신청번호를 따온다.
- model.setValue("/root/send_appno/appno",model.getValue("/root/main/list02/gridpiehh702info/appno"));
-
- // 줄번호 조회를 위한 submit
- submit("TRPIE00307");
-
- // 줄번호 확인
- var lnno = model.getValue("/root/hidden/appnolnno/newlnno/lnno");
- //alert(lnno);
- //H702에 줄번호를 넣는다.
- model.setValue("/root/main/list02/gridpiehh702info/lnno",lnno);
-
- //H703에 줄번호를 넣는다.
- var rows = grd_piehh703.rows;
- var fixedrow = grd_piehh703.fixedRows;
- var nrows = rows - fixedrow;
-
- for(var i = 1; i <= nrows; i++){
- model.setValue("/root/main/list03/gridpiehh703[" + i + "]/lnno",lnno);
- }
- return true;
- }
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- // 신고조회
- function fMenu1() {
- var row_cnt = grd_piehh702.selectedRow(0);
- /*model.setValue("/root/send/send03/clamno", grd_pidmclbs.valueMatrix(row_cnt,12));
- model.setValue("/root/send/send03/docuseqno", grd_pidmclbs.valueMatrix(row_cnt,13));
- model.setValue("/root/send/send03/instcd", grd_pidmclbs.valueMatrix(row_cnt,14));
- model.setValue("/root/send/send03/clamkey", grd_pidmclbs.valueMatrix(row_cnt,16));
- model.setValue("/root/send/send03/workflag", grd_pidmclbs.valueMatrix(row_cnt,17));
-
- // 동의서테이블(401)에 데이터가 들어 있는지 여부(있으면 동의서 화면 이외는 팝업이 불허)
- if(submit("TRPIF70304")) {
- if(model.getValue("/root/main/list04/gridpiehc401/cnt") == 0) {
- if(submit("TRPIF70303")) {
- if(model.getValue("/root/main/list03/gridpiehc301/docuflag") == "" || model.getValue("/root/main/list03/gridpiehc301/docuflag") == "1") {
- model.setValue("/root/send/send03/docuflag", "1");
- model.setValue("/root/send/send03/savedocuflag", "1");
- window.load("SPPIF70400_검토서등록관리.xrw", "modal", "pop", "width:1140; height:640;", "/root/send/send03", "/root/send");
- } else {
- alert("현재 "+model.getValue("/root/main/list03/gridpiehc301/docuflag")+"차 검토서가 등록되어 있습니다.");
- return false;
- //model.setValue("/root/send/send03/docuflag", model.getValue("/root/main/list03/gridpiehc301/docuflag"));
- //window.load("SMPIF70410_검토서등록관리(2차).xrw", "modeless", "pop", "window.maxmize", "/root/send/send03", "/root/send");
- }
- }
- } else {
- alert("동의서등록이 완료된 환자입니다");
- return false;
- }
- }*/
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group4" scroll="auto" style="left:0px; top:15px; width:1194px; height:741px; ">
- <datagrid id="grd_piehh702" nodeset="/root/main/list01/gridpiehh702" class="datagrid2" caption="신청번호^줄번호^처방코드^품명^조제/제제
구분^투여
형태^주요효능군^신고품목코드^신고일자^청구가^일반가^규격^단위^가격적용일^효능효과^용법용량" colsep="^" colwidth="88, 44, 110, 221, 90, 40, 77, 91, 90, 80, 80, 46, 46, 81, 180, 130" dataheight="25" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:0px; top:78px; width:1194px; height:150px; ">
- <col ref="appno"/>
- <col ref="lnno" style="text-align:center; "/>
- <col ref="calcscorcd"/>
- <col ref="itemnm"/>
- <col disabled="true" ref="prcpprodflag" type="combo">
- <choices>
- <itemset nodeset="/root/init/P0280list/P0280">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="drugtype"/>
- <col ref="efcygrup"/>
- <col ref="reptitemcd"/>
- <col ref="notedd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="clamamt" format="#,###" style="text-align:right; padding-right:5; "/>
- <col ref="gnrlrbpnt" format="#,###" style="text-align:right; padding-right:5; "/>
- <col ref="spec"/>
- <col ref="unit"/>
- <col ref="unitcostappdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="efcy"/>
- <col ref="direcvol" style="left:614px; top:25px; width:74px; height:25px; "/>
- <script type="javascript" ev:event="onmousedown">
- <![CDATA[
- if(event.button == 3){
- if(grd_piehh702.isCell(event.target) && grd_piehh702.mouseRow >= grd_piehh702.fixedrows){
- window.setPopupMenu(true, "/root/popupdata/popupmenu/gridpiehh702/item", "name", "func", false);
- }else{
- window.setPopupMenu(false);
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- window.setPopupMenu(false);
- ]]>
- </script>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
-
- var row = grd_piehh702.row;
- var appno = model.getValue("/root/main/list01/gridpiehh702/appno");
- if(appno == ""){
- messageBox("값이","I004");
- false();
- }else{
- var appno = model.getValue("/root/main/list01/gridpiehh702[" + row + "]/appno");
- var lnno = model.getValue("/root/main/list01/gridpiehh702[" + row + "]/lnno");
- var calcscorcd = model.getValue("/root/main/list01/gridpiehh702[" + row + "]/calcscorcd");
- var itemnm = model.getValue("/root/main/list01/gridpiehh702[" + row + "]/itemnm");
- var prcpprodflag = model.getValue("/root/main/list01/gridpiehh702[" + row + "]/prcpprodflag");
- var drugtype = model.getValue("/root/main/list01/gridpiehh702[" + row + "]/drugtype");
- var efcygrup = model.getValue("/root/main/list01/gridpiehh702[" + row + "]/efcygrup");
- var reptitemcd = model.getValue("/root/main/list01/gridpiehh702[" + row + "]/reptitemcd");
- var notedd = model.getValue("/root/main/list01/gridpiehh702[" + row + "]/notedd");
- var clamamt = model.getValue("/root/main/list01/gridpiehh702[" + row + "]/clamamt");
- var spec = model.getValue("/root/main/list01/gridpiehh702[" + row + "]/spec");
- var unit = model.getValue("/root/main/list01/gridpiehh702[" + row + "]/unit");
- var unitcostappdd = model.getValue("/root/main/list01/gridpiehh702[" + row + "]/unitcostappdd");
- var efcy = model.getValue("/root/main/list01/gridpiehh702[" + row + "]/efcy");
- var direcvol = model.getValue("/root/main/list01/gridpiehh702[" + row + "]/direcvol");
-
- // 더블 클릭시 가운데 H702 셋팅
- model.setValue("/root/hidden/h702statusinfo/statusinfo/status","update");
- model.setValue("/root/main/list02/gridpiehh702info/appno", appno);
- model.setValue("/root/send/h703appno", appno);
- model.setValue("/root/main/list02/gridpiehh702info/lnno", lnno);
- model.setValue("/root/send/h703lnno", lnno);
- model.setValue("/root/send_druginfo/drugcd", calcscorcd);
- model.setValue("/root/send/tpndrugcd", calcscorcd);
- model.setValue("/root/main/list02/gridpiehh702info/prcpprodflag", prcpprodflag);
- model.setValue("/root/main/list02/gridpiehh702info/drugtype", drugtype);
- model.setValue("/root/main/list02/gridpiehh702info/efcygrup", efcygrup);
- model.setValue("/root/main/list02/gridpiehh702info/reptitemcd", reptitemcd);
- model.setValue("/root/main/list02/gridpiehh702info/itemnm", itemnm);
- model.setValue("/root/main/list02/gridpiehh702info/notedd", notedd);
- model.setValue("/root/main/list02/gridpiehh702info/clamamt", clamamt);
- model.setValue("/root/main/list02/gridpiehh702info/spec", spec);
- model.setValue("/root/main/list02/gridpiehh702info/unit", unit);
- model.setValue("/root/main/list02/gridpiehh702info/unitcostappdd", unitcostappdd);
- model.setValue("/root/send/unitcostappdd", unitcostappdd);
- model.setValue("/root/main/list02/gridpiehh702info/efcy", efcy);
- model.setValue("/root/main/list02/gridpiehh702info/direcvol", direcvol);
-
- // 더블클릭시 H703 조회
- model.setValue("/root/send_dbc703/appno", appno);
- model.setValue("/root/send_dbc703/lnno", lnno);
-
- submit("TRPIE00304");
-
- if ( grd_piehh703.fixedRows <= grd_piehh703.rows ) {
- btn_h703srch.disabled = false;
- } else {
- btn_h703srch.disabled = true;
- }
-
- model.refresh();
- }
- ]]>
- </script>
- </datagrid>
- <caption id="caption5" class="tit_2" style="left:5px; top:58px; width:110px; height:14px; ">H070.2</caption>
- <datagrid id="grd_piehh703" nodeset="/root/main/list03/gridpiehh703" class="datagrid2" caption="신청번호^줄번호^코드구분^처방코드^약품코드^품 명^규격^단위^구입일자^단위당가격^사용분량^분량당단위^분량당가격^구입기관
사업자등록번호^구입기관상호" colsep="^" colwidth="86, 44, 100, 78, 75, 300, 41, 49, 90, 70, 62, 71, 71, 90, 100" dataheight="25" defaultrows="2" explorerbar="sort" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" style="left:0px; top:393px; width:1194px; height:344px; ">
- <col ref="appno" style="text-align:left; "/>
- <col ref="lnno"/>
- <col ref="cdflag" type="combo" style="left:90px; top:25px; width:57px; height:25px; ">
- <choices>
- <itemset nodeset="/root/init/P0300list/P0300">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="drugcd" type="input" _chartype="upper" style="text-align:left; "/>
- <col ref="edicd" type="input" style="text-align:left; "/>
- <col ref="drugnm" type="input" style="text-align:left; "/>
- <col ref="drugspec" type="input" format="#,###" style="text-align:right; "/>
- <col ref="drugunit" type="input" style="text-align:right; "/>
- <col ref="purcdd" type="inputdate" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="unitcost" type="input" style="text-align:right; "/>
- <col ref="durgqty" type="input" style="text-align:right; "/>
- <col ref="drugqtyunit" type="input" style="text-align:right; "/>
- <col ref="drugqtyamt" style="text-align:right; "/>
- <col ref="pinstbzplcergstno" type="input" style="text-align:center; "/>
- <col ref="pinstcmpynm" type="input" style="text-align:left; "/>
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == "13") {
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onendedit">
- <![CDATA[
- // 여기부턴 분량당 가격 계산하는 곳
- var row = grd_piehh703.row;
- //setInputNodeCurText();
- if(grd_piehh703.col == 11 || grd_piehh703.col == 10 || grd_piehh703.col == 7) {
- var durgqty = Number(grd_piehh703.valueMatrix(row,11));
- var unitcost = Number(grd_piehh703.valueMatrix(row,10));
- var drugspec = Number(grd_piehh703.valueMatrix(row,7));
- //alert(durgqty+ ","+unitcost+ ","+drugspec);
- var result = (durgqty * unitcost)/drugspec;
- var result2 = (Math.round(result*100))/100;
- //alert(result2);
- grd_piehh703.valueMatrix(row, 13) = result2;
- }
-
- //여기부터는 변경된 분량당 가격을 책정하여 청구가를 변경시키는 곳.
- var rows = grd_piehh703.rows;
- var frows = grd_piehh703.fixedRows;
- var newrows = rows - frows;
- var clamamt = 0;
- var drugqtyamt = 0;
- for(var i = 1; i <= newrows; i++){
- drugqtyamt = model.getValue("/root/main/list03/gridpiehh703[" + i + "]/drugqtyamt");
- clamamt = parseFloat(clamamt) + parseFloat(drugqtyamt);
- }
- //alert(clamamt);
- var clamamt = Math.round(clamamt);
- model.setValue("/root/main/list02/gridpiehh702info/clamamt",clamamt);
- model.refresh();
-
- // 수정이 발생하면 update로 하는데 줄번호가 없으면 update변경하지 않고 insert그대로 간다.
- var lnno = model.getValue("/root/main/list02/gridpiehh702info/lnno");
- if(lnno == ""){
- }else{
- model.setValue("/root/hidden/h702statusinfo/statusinfo/status","update");
- }
-
-
- var drugcdcol = grd_piehh703.col;
- var drugcdrow = grd_piehh703.row;
- if(drugcdcol == 4){
- var drugcd = grd_piehh703.valueMatrix(drugcdrow, drugcdcol);
- model.setValue("/root/send_drugcd/drugcd",drugcd);
- submit("TRPIE00306");
- //model.setValue("", model.getValue("/root/hidden/drugcdlist/drugcdinfo/drugcd"));
- model.setValue("/root/main/list03/gridpiehh703[" + drugcdrow + "]/edicd", model.getValue("/root/hidden/drugcdlist/drugcdinfo/edicd"));
- model.setValue("/root/main/list03/gridpiehh703[" + drugcdrow + "]/drugnm", model.getValue("/root/hidden/drugcdlist/drugcdinfo/drugnm"));
- model.setValue("/root/main/list03/gridpiehh703[" + drugcdrow + "]/drugspec", model.getValue("/root/hidden/drugcdlist/drugcdinfo/drugspec"));
- model.setValue("/root/main/list03/gridpiehh703[" + drugcdrow + "]/drugunit", model.getValue("/root/hidden/drugcdlist/drugcdinfo/drugunit"));
- model.setValue("/root/main/list03/gridpiehh703[" + drugcdrow + "]/unitcost", model.getValue("/root/hidden/drugcdlist/drugcdinfo/unitcost"));
- model.setValue("/root/main/list03/gridpiehh703[" + drugcdrow + "]/drugqtyunit", model.getValue("/root/hidden/drugcdlist/drugcdinfo/drugqtyunit"));
-
- }
- model.refresh();
-
- ]]>
- </script>
- </datagrid>
- <button id="button7" class="btn2_letter2" style="left:1147px; top:368px; width:42px; height:19px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 줄번호 얻어와서 set하기
- var status = model.getValue("/root/hidden/h702statusinfo/statusinfo/status");
- if(status == "insert"){
- fSetLnno();
- }
-
- // H702저장
- fSaveH702();
-
- // H703 저장
- model.setValue("/root/send_save703/save703", grd_piehh703.getUpdateData());
- submit("TXPIE00305");
-
- // 더블클릭시 H703 조회
- model.setValue("/root/send_dbc703/appno", model.getValue("/root/main/list02/gridpiehh702info/appno"));
- model.setValue("/root/send_dbc703/lnno", model.getValue("/root/main/list02/gridpiehh702info/lnno"));
- submit("TRPIE00304");
- model.refresh();
- ]]>
- </script>
- </button>
- <line id="line2" class="line_1" style="x1:0px; y1:388px; x2:1194px; y2:388px; "/>
- <caption id="caption8" class="tit_2" style="left:5px; top:374px; width:65px; height:13px; ">H070.3</caption>
- <line id="line3" class="line_1" style="x1:0px; y1:75px; x2:1194px; y2:74px; "/>
- <input id="input13" ref="/root/send_druginfo/drugcd" class="input_default" disabled="true" _chartype="upper" appearance="input" style="left:118px; top:259px; width:114px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("button12", "DOMActivate");
- ]]>
- </script>
- </input>
- <line id="line5" class="line_3" style="x1:0px; y1:355px; x2:1151px; y2:355px; "/>
- <caption id="caption16" class="cell_1" style="left:0px; top:258px; width:115px; height:23px; vertical-align:middle; ">처방코드</caption>
- <caption id="caption18" class="cell_1" style="left:0px; top:307px; width:115px; height:23px; vertical-align:middle; ">효능효과</caption>
- <line id="line6" class="line_2" style="x1:1px; y1:305px; x2:1152px; y2:305px; "/>
- <caption id="caption25" class="tit_2" style="left:6px; top:239px; width:82px; height:13px; ">H070.2</caption>
- <caption id="caption29" class="cell_1" style="left:237px; top:258px; width:115px; height:23px; vertical-align:middle; ">품명</caption>
- <line id="line8" class="line_2" style="x1:0px; y1:280px; x2:1151px; y2:280px; "/>
- <input id="ipt_clamunitprice" ref="/root/main/list02/gridpiehh702info/clamamt" class="input_default" format="#,###" style="left:118px; top:334px; width:114px; height:19px; text-align:left; "/>
- <line id="line9" class="line_2" style="x1:1px; y1:330px; x2:1152px; y2:330px; "/>
- <input id="ipt_appdd" ref="/root/main/list02/gridpiehh702info/notedd" class="input_default" format="yyyy-mm-dd" style="left:355px; top:334px; width:118px; height:19px; text-align:left; "/>
- <caption id="caption30" class="cell_1" style="left:237px; top:332px; width:115px; height:23px; vertical-align:middle; ">신고일자</caption>
- <caption id="caption31" class="cell_1" style="left:0px; top:282px; width:115px; height:23px; vertical-align:middle; ">조제/제제구분</caption>
- <line id="line10" class="line_1" style="x1:0px; y1:253px; x2:1151px; y2:253px; "/>
- <select1 id="cmb_drugtype" ref="/root/main/list02/gridpiehh702info/drugtype" appearance="minimal" style="left:355px; top:284px; width:118px; height:19px; text-align:left; ">
- <choices>
- <item>
- <label>1. 내복약</label>
- <value>1</value>
- </item>
- <item>
- <label>2. 주사약</label>
- <value>2</value>
- </item>
- <item>
- <label>3. 외용약</label>
- <value>3</value>
- </item>
- </choices>
- </select1>
- <caption id="caption32" class="cell_1" style="left:237px; top:282px; width:115px; height:23px; vertical-align:middle; ">투여형태</caption>
- <input id="input22" ref="/root/main/list02/gridpiehh702info/itemnm" class="input_default" appearance="input" style="left:355px; top:259px; width:355px; height:19px; text-align:left; "/>
- <input id="input23" ref="/root/main/list02/gridpiehh702info/efcy" class="input_default" style="left:118px; top:309px; width:355px; height:19px; text-align:left; "/>
- <caption id="caption33" class="cell_1" style="left:0px; top:332px; width:115px; height:23px; vertical-align:middle; ">청구가</caption>
- <caption id="caption35" class="cell_1" style="left:478px; top:307px; width:115px; height:23px; vertical-align:middle; ">용법용량</caption>
- <caption id="caption36" class="cell_1" style="left:715px; top:258px; width:115px; height:23px; vertical-align:middle; ">신고품목코드</caption>
- <input id="ipt_priceappdd" ref="/root/main/list02/gridpiehh702info/unitcostappdd" class="input_default" inputtype="date" format="yyyy-mm-dd" style="left:596px; top:334px; width:114px; height:19px; text-align:left; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if ( ipt_priceappdd.value != "" ) {
- model.setValue("/root/send/unitcostappdd", model.getValue("/root/main/list02/gridpiehh702info/unitcostappdd") );
- model.refresh();
- }
-
- ]]>
- </script>
- </input>
- <input id="input29" ref="/root/main/list02/gridpiehh702info/direcvol" class="input_default" style="left:596px; top:309px; width:114px; height:19px; text-align:left; "/>
- <caption id="caption37" class="cell_1" style="left:478px; top:282px; width:115px; height:23px; vertical-align:middle; ">주요효능군</caption>
- <input id="input31" ref="/root/main/list02/gridpiehh702info/efcygrup" class="input_default" style="left:596px; top:283px; width:114px; height:19px; text-align:left; "/>
- <input id="input32" ref="/root/main/list02/gridpiehh702info/spec" class="input_default" style="left:833px; top:284px; width:118px; height:19px; text-align:left; "/>
- <input id="input33" ref="/root/main/list02/gridpiehh702info/reptitemcd" class="input_default" style="left:833px; top:259px; width:118px; height:19px; text-align:left; "/>
- <caption id="caption39" class="cell_1" style="left:715px; top:282px; width:115px; height:23px; vertical-align:middle; ">규격</caption>
- <caption id="caption40" class="cell_1" style="left:478px; top:332px; width:115px; height:23px; vertical-align:middle; ">가격적용일</caption>
- <button id="button13" class="btn5_letter2" disabled="false" style="left:1109px; top:232px; width:42px; height:19px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSaveH702();
- ]]>
- </script>
- </button>
- <group id="grp_sea" style="left:0px; top:10px; width:1194px; height:37px; vertical-align:top; ">
- <shape id="roundrect2" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:37px; background-color:#fffbf2; border-color:#ffd799; "/>
- <line id="line4" class="line_4" style="x1:1115px; y1:8px; x2:1115px; y2:30px; "/>
- <caption id="caption9" class="search_name" style="left:328px; top:9px; width:96px; height:17px; ">신청번호 :</caption>
- <caption id="caption11" style="left:200px; top:13px; width:15px; height:15px; ">~</caption>
- <input id="ipt_appno1" ref="/root/send/appno1" class="input_search" autonext="false" maxlength="8" appearance="input" style="left:419px; top:8px; width:66px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- inputEnterKey("button108", "DOMActivate");
- ]]>
- </script>
- </input>
- <input id="ipt_appno2" ref="/root/send/appno2" class="input_search" maxlength="4" appearance="input" style="left:487px; top:8px; width:60px; height:19px; "/>
- <!--
- <select1 id="cmb_appno2" ref="/root/send/appno2" class="combo_search" disabled="true" appearance="minimal" style="left:487px; top:8px; width:60px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/U0001list/U0001">
- <label ref="cdid"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- -->
- <input id="ipt_fromdd" ref="/root/send/fromdd" class="input_search" inputtype="date" format="yyyy-mm-dd" appearance="input" style="left:106px; top:8px; width:90px; height:19px; ">
- <caption id="caption7"/>
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- model.setValue("/root/send/todd",model.getValue("/root/send/fromdd"));
- model.refreshpart("/root/send/todd");
- ]]>
- </script>
- </input>
- <input id="ipt_todd" ref="/root/send/todd" class="input_search" inputtype="date" format="yyyy-mm-dd" appearance="input" style="left:216px; top:8px; width:90px; height:19px; "/>
- <button id="btn_srch" class="btn1_letter2" style="left:1130px; top:8px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSendChk();
- model.resetInstanceNode("root/send_druginfo");
- model.resetInstanceNode("/root/main/list03/gridpiehh703");
- model.resetInstanceNode("/root/main/list02/gridpiehh702info");
- model.resetInstanceNode("/root/hidden/h702statusinfo/statusinfo/status");
- model.resetInstanceNode("/root/send/tpndrugcd");
- model.resetInstanceNode("/root/send/unitcostappdd");
- submit("TRPIE00303");
- ]]>
- </script>
- </button>
- <caption id="caption41" class="search_name" style="left:15px; top:9px; width:112px; height:17px; ">신청일자 :</caption>
- <button id="button11" class="btn1_letter6" style="left:557px; top:7px; width:92px; height:22px; ">
- <caption>신청번호생성</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fDayChk();
- submit("TXPIE00301");
- var appno = model.getValue("/root/init/temp/newappnoinfo/appno");
- var appno2 = model.getValue("/root/init/temp/newappnoinfo/appseqno");
- //model.makeNode("/root/init/U0001list/U0001/cdid");
- //model.makeNode("/root/init/U0001list/U0001/cdnm");
- //model.setValue("/root/init/U0001list/U0001/cdid", appno2);
- //model.setValue("/root/init/U0001list/U0001/cdnm", appno2);
-
- // 처방코드에 따른 약품정보조회시의 신청번호와 줄번호를 send 인스턴스에 세팅
- //model.setValue("/root/send_druginfo/appno", model.getValue("/root/init/temp/newappnoinfo/appno"));
- //model.setValue("/root/send_druginfo/lnno", model.getValue("/root/init/temp/newappnoinfo/lnno"));
-
- messageBox(" 신청번호 "+appno+"(이)가 생성","I002");
- var app1 = model.getValue("/root/init/temp/newappnoinfo/appno");
- var app2 = app1.substr(0,8);
- var app3 = app1.substr(8,4);
- model.setValue("/root/send/appno1",app2);
- model.setValue("/root/send/appno2",app3);
- model.refresh();
-
- //cmb_appno2.select(0);
- ]]>
- </script>
- </button>
- </group>
- <button id="button108" class="btn2_letter12" visibility="hidden" style="left:45px; top:195px; width:152px; height:19px; ">
- <caption>[콤보박스]신청번호2 조회</caption>
- <!-- - 2007.05.30 / 화면수정 / 청구년월을 획득하기위한 [Enter] 이벤트 핸들러 -->
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(ipt_appno1.value.length > 0){
- if(submit("TRPIE00301")){
- var seqno = model.getValue("/root/hidden/getseqnoinfo/getseqno/seqno");
- if(seqno == ""){
- messageBox("생성된 신청번호가","I004");
- model.setValue("/root/send/appno2","0001");
- }else {
- model.setValue("/root/send/appno2",seqno);
- }
- }
-
- }
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="button12" class="btn2_letter6" visibility="hidden" style="left:205px; top:195px; width:86px; height:19px; ">
- <caption>약품정보조회</caption>
- <!-- - 2007.05.30 / 화면수정 / 청구년월을 획득하기위한 [Enter] 이벤트 핸들러 -->
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //가운데 H702 조회 셋팅
- submit("TRPIE00302"); // 약품정보 조회해서 그리드에 Display 해줌
- model.refresh();
- //약품정보를 조회하는건 새로운 것을 입력한다는것으로 보고. 조회조건의 신청번호와 일련번호를 가져와서 중앙에 보여준다.
- var appno1 = model.getValue("/root/send/appno1");
- var appno2 = model.getValue("/root/send/appno2");
- var appno = appno1 + appno2;
-
- var chk = model.getValue("/root/main/list02/gridpiehh702info/itemnm");
- if(chk == ""){
- messageBox("입력하신 처방코드가","I004");
- }else{
- model.setValue("/root/hidden/h702statusinfo/statusinfo/status", "insert");
- model.setValue("/root/main/list02/gridpiehh702info/appno", appno);
- model.setValue("/root/main/list02/gridpiehh702info/lnno", "");
-
- submit("TRPIE00305"); // 약품성분정보 동시에 조회해서 그리드에 Display 해줌
-
- //약품조회시 처음에 insert한다는 전제하에 status를 I로 한다.
- var rows = grd_piehh703.rows;
- var frows = grd_piehh703.fixedRows;
- var nrows = rows - frows;
-
-
- for(var i = 1; i <= nrows; i++){
- model.setValue("/root/main/list03/gridpiehh703[" + i + "]/appno",appno);
- model.setValue("/root/main/list03/gridpiehh703[" + i + "]/lnno","new");
- grd_piehh703.rowStatus(i) = 1;
- }
- }
- ]]>
- </script>
- </button>
- <input id="input6" ref="/root/main/list02/gridpiehh702info/unit" class="input_default" style="left:833px; top:309px; width:118px; height:19px; text-align:left; "/>
- <caption id="caption10" class="cell_1" style="left:715px; top:307px; width:115px; height:23px; vertical-align:middle; ">단위</caption>
- <button id="button15" class="btn5_letter6" style="left:1106px; top:53px; width:86px; height:19px; ">
- <caption>SAM생성확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var todd = getCurrentDate();
- todd = todd.toDate().getAddDate(+1, 'D');
- zsbfOpenBatchLogPopup("samfilemngtmgr.ItSlfMkDrugReptBatch",getCurrentDate(),todd.getDateFormat());
- ]]>
- </script>
- </button>
- <button id="button16" class="btn5_letter4" style="left:1041px; top:53px; width:64px; height:19px; ">
- <caption>SAM생성</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- // 신청번호 받아오기
- var appno1 = model.getValue("/root/send/appno1");
- var appno2 = model.getValue("/root/send/appno2");
- var appno = appno1 + appno2;
- model.setValue("/root/send_samcret/appno", appno);
-
- // 신청번호에 해당하는 h701정보 완료하기
- if(appno != "" && appno.length == 12){
- submit("TXPIE00306");
- var no = "1";
- }else{
- messageBox("신청번호에 해당하는 H701파일을 완성", "E001");
- var no = "2";
- }
-
- // sam생성하기.
- if(no == "1"){
- submit("TXPIE00304");
- }
- ]]>
- </script>
- </button>
- <input id="input1" ref="/root/main/list02/gridpiehh702info/lnno" class="input_default" disabled="true" style="left:1033px; top:284px; width:118px; height:19px; text-align:left; "/>
- <input id="input2" ref="/root/main/list02/gridpiehh702info/appno" class="input_default" disabled="true" style="left:1033px; top:259px; width:118px; height:19px; text-align:left; "/>
- <select1 id="cmb_joje" ref="/root/main/list02/gridpiehh702info/prcpprodflag" appearance="minimal" style="left:118px; top:285px; width:114px; height:19px; text-align:left; ">
- <choices>
- <item>
- <label>1. 조제</label>
- <value>1</value>
- </item>
- <item>
- <label>2. 제제</label>
- <value>2</value>
- </item>
- </choices>
- </select1>
- <button id="btn_delrow" class="btn5_letter3" visibility="visible" style="left:1093px; top:368px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var row = grd_piehh703.row;
- grd_piehh703.rowStatus(row) = 4;
- ]]>
- </script>
- </button>
- <button id="btn_addrow" class="btn2_letter3" visibility="visible" style="left:985px; top:368px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var num = model.getValue("/root/hidden/addrowno/number");
- if(num == "" || num == "0"){
- grd_piehh703.addRow();
-
- var rows = grd_piehh703.rows;
- var frows = grd_piehh703.fixedRows;
- var nrows = rows - frows;
- //alert(rows + "-----" + frows + "-------" + nrows);
-
- model.setValue("/root/main/list03/gridpiehh703[" + nrows + "]/appno", model.getValue("/root/main/list02/gridpiehh702info/appno"));
- model.setValue("/root/main/list03/gridpiehh703[" + nrows + "]/lnno",model.getValue("/root/main/list02/gridpiehh702info/lnno"));
- model.setValue("/root/main/list03/gridpiehh703[" + nrows + "]/cdflag","7I3");
- model.setValue("/root/main/list03/gridpiehh703[" + nrows + "]/purcdd", getCurrentDate());
- //model.setValue("/root/main/list03/gridpiehh703[" + nrows + "]/pinstbzplcergstno","5028113179");
- //model.setValue("/root/main/list03/gridpiehh703[" + nrows + "]/pinstcmpynm","보나에스");
- model.refresh();
- }else{
- for(var i=1; i<=num; i++){
-
- grd_piehh703.addRow();
-
- var rows = grd_piehh703.rows;
- var frows = grd_piehh703.fixedRows;
- var nrows = rows - frows;
- //alert(rows + "-----" + frows + "-------" + nrows);
-
- model.setValue("/root/main/list03/gridpiehh703[" + nrows + "]/appno", model.getValue("/root/main/list02/gridpiehh702info/appno"));
- model.setValue("/root/main/list03/gridpiehh703[" + nrows + "]/lnno",model.getValue("/root/main/list02/gridpiehh702info/lnno"));
- model.setValue("/root/main/list03/gridpiehh703[" + nrows + "]/cdflag","7I3");
- model.setValue("/root/main/list03/gridpiehh703[" + nrows + "]/purcdd", getCurrentDate());
- //model.setValue("/root/main/list03/gridpiehh703[" + nrows + "]/pinstbzplcergstno","2158155746");
- //model.setValue("/root/main/list03/gridpiehh703[" + nrows + "]/pinstcmpynm","보나에스");
- model.refresh();
- }
- }
-
- ]]>
- </script>
- </button>
- <button id="btn_copyrow" class="btn2_letter3" visibility="visible" style="left:1039px; top:368px; width:53px; height:19px; ">
- <caption>행복사</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var row = grd_piehh703.row;
- var appno = grd_piehh703.valueMatrix(row,1);
- var lnno = grd_piehh703.valueMatrix(row,2);
- var cdflag = grd_piehh703.valueMatrix(row,3);
- var drugcd = grd_piehh703.valueMatrix(row,4);
- var edicd = grd_piehh703.valueMatrix(row,5);
- var drugnm = grd_piehh703.valueMatrix(row,6);
- var drugspec = grd_piehh703.valueMatrix(row,7);
- var drugunit = grd_piehh703.valueMatrix(row,8);
- var purcdd = grd_piehh703.valueMatrix(row,9);
- var unitcost = grd_piehh703.valueMatrix(row,10);
- var durgqty = grd_piehh703.valueMatrix(row,11);
- var drugqtyunit = grd_piehh703.valueMatrix(row,12);
- var drugqtyamt = grd_piehh703.valueMatrix(row,13);
- var pinstbzplcergstno = grd_piehh703.valueMatrix(row,14);
- var pinstcmpynm = grd_piehh703.valueMatrix(row,15);
-
- grd_piehh703.addRow();
-
- var rows = grd_piehh703.rows;
- var frows = grd_piehh703.fixedRows;
-
- var nrows = rows - frows;
- model.setValue("/root/main/list03/gridpiehh703[" + nrows +"]/appno",appno);
- model.setValue("/root/main/list03/gridpiehh703[" + nrows +"]/lnno",lnno);
- model.setValue("/root/main/list03/gridpiehh703[" + nrows +"]/cdflag",cdflag);
- model.setValue("/root/main/list03/gridpiehh703[" + nrows +"]/drugcd",drugcd);
- model.setValue("/root/main/list03/gridpiehh703[" + nrows +"]/edicd",edicd);
- model.setValue("/root/main/list03/gridpiehh703[" + nrows +"]/drugnm",drugnm);
- model.setValue("/root/main/list03/gridpiehh703[" + nrows +"]/drugspec",drugspec);
- model.setValue("/root/main/list03/gridpiehh703[" + nrows +"]/drugunit",drugunit);
- model.setValue("/root/main/list03/gridpiehh703[" + nrows +"]/purcdd",purcdd);
- model.setValue("/root/main/list03/gridpiehh703[" + nrows +"]/unitcost",unitcost);
- model.setValue("/root/main/list03/gridpiehh703[" + nrows +"]/durgqty",durgqty);
- model.setValue("/root/main/list03/gridpiehh703[" + nrows +"]/drugqtyunit",drugqtyunit);
- model.setValue("/root/main/list03/gridpiehh703[" + nrows +"]/drugqtyamt",drugqtyamt);
- model.setValue("/root/main/list03/gridpiehh703[" + nrows +"]/pinstbzplcergstno",pinstbzplcergstno);
- model.setValue("/root/main/list03/gridpiehh703[" + nrows +"]/pinstcmpynm",pinstcmpynm);
-
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption1" class="cell_1" style="left:957px; top:258px; width:75px; height:23px; vertical-align:middle; ">신청번호</caption>
- <caption id="caption2" class="cell_1" style="left:957px; top:282px; width:75px; height:23px; vertical-align:middle; ">줄번호</caption>
- <caption id="caption3" class="cell_1" style="left:957px; top:307px; width:75px; height:23px; vertical-align:middle; ">STATUS</caption>
- <input id="input3" ref="/root/hidden/h702statusinfo/statusinfo/status" class="input_default" disabled="true" style="left:1033px; top:309px; width:118px; height:19px; text-align:left; "/>
- <input id="input4" ref="/root/hidden/addrowno/number" class="input_default" style="left:955px; top:368px; width:28px; height:19px; text-align:left; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- inputEnterKey("btn_addrow", "DOMActivate");
- ]]>
- </script>
- </input>
- <button id="button1" class="btn2_letter3" visibility="visible" style="left:987px; top:53px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 선택된 row가 있는지 확인한다.
- var selectCnt = 0;
- selectCnt = grd_piehh702.selectedRows;
-
- // 선택된 row가 없을때..
- if (selectCnt == 0) {
- model.alert("선택후 다시 시도해 주세요");
- return;
- }
-
- // 선택된 row를 옮기기위한 단계 인스턴스 초기화
- model.removeNodeset("/root/send_selectlist/selectlist");
- model.refresh();
-
-
- var rows = grd_piehh702.rows;
-
-
- // 선택된 row의 조회 조건 값을 받는다.
- for (var i=0; i<rows; i++) {
- var sel = grd_piehh702.selectedRow(i);
- if(sel != '-1'){
- model.setValue("/root/hidden/selectlist/appno", model.getValue("/root/main/list01/gridpiehh702[" + (sel - grd_piehh702.fixedRows + 1) + "]/appno"));
- model.setValue("/root/hidden/selectlist/lnno", model.getValue("/root/main/list01/gridpiehh702[" + (sel - grd_piehh702.fixedRows + 1) + "]/lnno"));
-
- copyNodeListType("/root/send_selectlist", "/root/hidden/selectlist", "after");
- }
- }
- // 선택된 값으로 명세서별로 조회
- submit("TXPIE00307");
-
- // H070.2 재조회
- btn_srch.dispatch("DOMActivate");
- // H070.2
- //submit("TRPIE00303");
-
- ]]>
- </script>
- </button>
- <button id="button2" class="btn2_letter2" disabled="false" style="left:1065px; top:232px; width:42px; height:19px; ">
- <caption>입력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.resetInstanceNode("root/send_druginfo");
- model.resetInstanceNode("/root/main/list02/gridpiehh702info");
- model.resetInstanceNode("/root/main/list03/gridpiehh703");
- model.resetInstanceNode("/root/hidden/h702statusinfo/statusinfo/status");
- model.resetInstanceNode("/root/send/tpndrugcd");
- model.resetInstanceNode("/root/send/unitcostappdd");
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="button3" class="btn4_letter4" style="left:980px; top:230px; width:80px; height:22px; ">
- <caption>대상조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var cdd = getCurrentDate();
- var today = cdd.substr(0,6) + "01";
- var appdd = today.toDate().getAddDate(1,"M").getDateFormat();
-
- clearParameter();
- modal("../../../pam/edimngtweb/xrw/SPPIE00150_조제제제약대상조회", "", "200", "200" ,"SPPIE00150_조제제제약대상조회", "", "");
- //open("../../../pam/edimngtweb/xrw/SPPIE00150_조제제제약대상조회", "", "200", "200" ,"SPPIE00150_조제제제약대상조회", "", "");
-
- if (getParameter("okflag") == "Y") {
- var tpndrugcd = getParameter("tpndrugcd");
- var drugnm = getParameter("drugnm");
- var reptitemcd = getParameter("reptitemcd");
- var prcpprodflag = getParameter("prcpprodflag");
- var drugtype = getParameter("drugtype");
- var efcygrup = getParameter("efcygrup");
- var spec = getParameter("spec");
- var efcy = getParameter("efcy");
- var direcvol = getParameter("direcvol");
- var unit = getParameter("unit");
- var fromdate = getParameter("fromdd");
- var todate = getParameter("todd");
-
- model.setValue("/root/send/tpndrugcd", tpndrugcd);
- model.setValue("/root/send_druginfo/drugcd", tpndrugcd);
- model.setValue("/root/main/list02/gridpiehh702info/itemnm", drugnm);
- model.setValue("/root/main/list02/gridpiehh702info/reptitemcd", reptitemcd);
- model.setValue("/root/main/list02/gridpiehh702info/prcpprodflag", prcpprodflag);
- model.setValue("/root/main/list02/gridpiehh702info/drugtype", drugtype );
- model.setValue("/root/main/list02/gridpiehh702info/efcygrup", efcygrup );
- model.setValue("/root/main/list02/gridpiehh702info/efcy", efcy);
- model.setValue("/root/main/list02/gridpiehh702info/spec", spec);
- model.setValue("/root/main/list02/gridpiehh702info/direcvol", direcvol );
- model.setValue("/root/main/list02/gridpiehh702info/unit", unit );
- model.setValue("/root/main/list02/gridpiehh702info/notedd", getCurrentDate() );
- model.setValue("/root/send/fromdate", fromdate);
- model.setValue("/root/send/todate", todate);
- model.setValue("/root/send/h703appno", model.getValue("/root/send_druginfo/appno"));
- model.setValue("/root/send/h703lnno", model.getValue("/root/send_druginfo/lnno"));
- model.setValue("/root/main/list02/gridpiehh702info/unitcostappdd", appdd);
- model.setValue("/root/send/unitcostappdd", appdd);
-
- model.refresh();
- btn_h703srch.dispatch("DOMActivate");
- }
- ]]>
- </script>
- </button>
- <input id="ipt_frdate" ref="/root/send/fromdate" inputtype="date" format="yyyy-mm" style="left:495px; top:365px; width:80px; height:19px; "/>
- <input id="ipt_todate" ref="/root/send/todate" inputtype="date" format="yyyy-mm" style="left:592px; top:365px; width:80px; height:19px; "/>
- <caption id="caption4" class="search_name" style="left:405px; top:365px; width:85px; height:17px; ">구매일자 :</caption>
- <caption id="caption7" style="left:578px; top:367px; width:15px; height:20px; ">~</caption>
- <button id="btn_h703srch" class="btn4_letter4" style="left:870px; top:364px; width:80px; height:22px; ">
- <caption>대상조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fromdate = model.getValue("/root/send/fromdate");
- var todate = model.getValue("/root/send/todate");
- model.setValue("/root/send/unitcostappdd", model.getValue("/root/main/list02/gridpiehh702info/unitcostappdd") );
-
- if (fromdate == "" || todate == "") {
- messageBox("구매일자를 입력하세요", "E");
- return;
- }
-
- submit("TRPIE00309");
- var clamamt = model.getValue("/root/main/list03/claminfo/clamamt");
- var amt = Math.round(clamamt);
- model.setValue("/root/main/list02/gridpiehh702info/clamamt", amt);
- model.setValue("/root/main/list02/gridpiehh702info/spec", model.getValue("/root/main/list03/claminfo/clamdurgqty"));
- for ( i=grd_piehh703.fixedRows; i< grd_piehh703.rows; i++) {
- grd_piehh703.rowStatus(i) = 1;
- }
-
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption12" class="search_name" style="left:685px; top:365px; width:100px; height:17px; ">TPN코드 :</caption>
- <input id="input5" ref="/root/send/tpndrugcd" style="left:775px; top:365px; width:90px; height:15px; "/>
- <input id="input8" ref="/root/main/list03/claminfo/clamamt" visibility="hidden" style="left:65px; top:365px; width:70px; height:19px; "/>
- <output id="output2" ref="/root/send/h703lnno" visibility="hidden" style="left:95px; top:365px; width:45px; height:19px; "/>
- <input id="input7" ref="/root/send/unitcostappdd" visibility="visible" inputtype="date" style="left:310px; top:365px; width:90px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue("/root/main/list02/gridpiehh702info/unitcostappdd", model.getValue("/root/send/unitcostappdd") );
- model.refresh();
- ]]>
- </script>
- </input>
- <output id="output1" ref="/root/send/h703appno" visibility="hidden" style="left:140px; top:365px; width:55px; height:19px; "/>
- <caption id="caption13" class="search_name" style="left:210px; top:365px; width:100px; height:17px; ">가격적용일 :</caption>
- <button id="button4" class="btn5_letter4" visibility="hidden" style="left:905px; top:230px; width:64px; height:19px; ">
- <caption>일괄저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSave();
- btn_srch.dispatch("DOMActivate");
- ]]>
- </script>
- </button>
- <button id="button5" class="btn4_letter4" style="left:905px; top:50px; width:80px; height:22px; ">
- <caption>수가적용</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- var appno1 = model.getValue("/root/send/appno1");
- var appno2 = model.getValue("/root/send/appno2");
-
- if (isNull(appno2)) {
- messageBox("신청번호로 조회 후 적용가능합니다.", "C000");
- return;
- }
-
- if (messageBox("신청번호 : " + appno1 + appno2 + "\r\n" + "H070.2 리스트에 대하여 일괄 수가적용 하시겠습니까?", "S000") == "6") {
- if (submit("TXPIE00309")) {
- var resultCnt = model.getValue("/root/hidden/saveresult/msg");
- messageBox(resultCnt + "건 적용되었습니다.", "I000");
- }
- }
- ]]>
- </script>
- </button>
- </group>
- <group id="group1" style="left:0px; top:0px; width:1194px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">자체 조제/제제약 신고서 관리</caption>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:757px; width:1194px; height:27px; ">
- <button id="btn_init" class="btn4_letter5" style="left:1099px; top:4px; width:92px; height:22px; ">
- <caption>입력초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.resetInstanceNode("/root/main/list02/gridpiehh702info");
- model.removeNodeset("/root/main/list03/gridpiehh703");
- model.resetInstanceNode("/root/hidden/h702statusinfo/statusinfo");
- model.refresh();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|