1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SMAED00100.xrw
- * 설 명 : 치기공접수
- * 설 계 자 : 손승현
- * 작 성 자 : 손승현
- * 작 성 일 : 2010.09.26
- * 수정이력 : 2010.09.26 손승현 신규
- * 기 타 :
- -->
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
- <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
- <xhtml:head>
- <xhtml:title>치 기공접수</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <acptinfo>
- <item>
- <mode/>
- <acptno/>
- <pid/>
- <hngnm/>
- <rrgstno1/>
- <rrgstno2/>
- <sex/>
- <age/>
- <telno/>
- <calcscorcd/>
- <prcpnm/>
- <rcptyn/>
- <prcpgenrflag/>
- <orddeptcd/>
- <orddepthngnm/>
- <orddrid/>
- <orddrnm/>
- <insuflag/>
- <prcpno/>
- <prcpdd/>
- <rsrvdd/>
- <execdd/>
- <state/>
- <rcptamt/>
- <tootfact11/>
- <tootfact12/>
- <tootfact21/>
- <tootfact22/>
- <prodroom/>
- <prodcd/>
- <enddd/>
- <metalcd/>
- <useqty/>
- <prodid/>
- <prodnm/>
- <outordyn/>
- <bigo/>
- <cnclyn/>
- </item>
- </acptinfo>
- <acptlist>
- <item>
- <mode/>
- <acptno/>
- <pid/>
- <hngnm/>
- <rrgstno1/>
- <rrgstno2/>
- <sex/>
- <age/>
- <telno/>
- <calcscorcd/>
- <prcpnm/>
- <rcptyn/>
- <prcpgenrflag/>
- <orddeptcd/>
- <orddepthngnm/>
- <orddrid/>
- <orddrnm/>
- <insuflag/>
- <prcpno/>
- <prcpdd/>
- <rsrvdd/>
- <execdd/>
- <state/>
- <rcptamt/>
- <tootfact11/>
- <tootfact12/>
- <tootfact21/>
- <tootfact22/>
- <prodroom/>
- <prodcd/>
- <enddd/>
- <metalcd/>
- <useqty/>
- <prodid/>
- <prodnm/>
- <outordyn/>
- <bigo/>
- <cnclyn/>
- </item>
- </acptlist>
- </main>
- <send>
- <srch>
- <srchsearch/>
- <srchfromdd/>
- <srchtodd/>
- <srchpid/>
- <srchhngnm/>
- <srchstate/>
- <srchcnclyn/>
- </srch>
- <req>
- <savedata/>
- </req>
- </send>
- <init>
- <combobscdlst/>
- </init>
- <hidden>
- <item/>
- </hidden>
- <temp>
- <templst/>
- </temp>
- </root>
- </instance>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../ast/dentalcraftweb/js/dentalcraftcombolist.js"/>
- <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fGetComboInit();
- fGetScreenInit();
- fGetAcptList();
- ]]>
- </script>
- <submission id="TRAVB00001"/>
- <submission id="TRAVB00002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/comboptcdlst"/>
- <submission id="TRAVB00003" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/combogtcdlst"/>
- <submission id="TRAED00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srch" replace="instance" resultref="/root/main/acptlist"/>
- <submission id="TXAED00101" mediatype="application/x-www-form-urlencoded" method="post" ref="root/main/acptinfo/item" replace="instance" resultref="/root/main/acptinfo"/>
- </model>
- <script type="javascript">
- <![CDATA[
- /**
- * 콤보 초기화
- */
- function fGetComboInit() {
- tbGetBscdList( new Array("C06", "C08", "C09", "C10", "C11", "C12", "C13", "C14", "C15", "C16", "C17", "C18"),
- new Array("/root/init/combobscdlst", // C06 구분
- "/root/init/combobscdlst", // C08 상태
- "/root/init/combobscdlst", // C09 유무구분
- "/root/init/combobscdlst", // C10 ABO형
- "/root/init/combobscdlst", // C11 RH형
- "/root/init/combobscdlst", // C12 +/-
- "/root/init/combobscdlst", // C12 조회조건
- "/root/init/combobscdlst", // C14 기증구분
- "/root/init/combobscdlst", // C15 이식여부
- "/root/init/combobscdlst", // C16 처리법
- "/root/init/combobscdlst", // C17 멸균법
- "/root/init/combobscdlst") ); // C18 방향
-
- // 코드없는값 첫번째 내용 삭제
- model.removeNodeset("/root/init/combobscdlst/C08[" + 1 + "]");
- model.removeNodeset("/root/init/combobscdlst/C09[" + 1 + "]");
- model.removeNodeset("/root/init/combobscdlst/C13[" + 1 + "]");
- model.removeNodeset("/root/init/combobscdlst/C14[" + 1 + "]");
- model.removeNodeset("/root/init/combobscdlst/C15[" + 1 + "]");
- model.removeNodeset("/root/init/combobscdlst/C19[" + 1 + "]");
-
- model.refresh();
- // 콤보선택
- cmb_srchsearch.select(1);
- // 부위콤보 List
- model.removeNodeset("/root/init/comboptcdlst/item");
- model.refresh();
- submit("TRAVB00002");
- // Graft Type List
- model.removeNodeset("/root/init/combogtcdlst/item");
- model.refresh();
-
- model.setValue("/root/send/srchuseyn", "Y");
- submit("TRAVB00003");
-
- }
- /**
- * 화면 기본 초기화
- */
- function fGetScreenInit() {
- var curDD = getCurrentDate();
- model.setValue("/root/send/srch/srchfromdd" , curDD ); // 조회시작일자
- model.setValue("/root/send/srch/srchtodd" , curDD ); // 조회종료일자
- model.removeNodeset("/root/main/acptlist/item");
-
- model.resetInstanceNode("/root/main/acptinfo/item");
-
-
- /*
- model.removeNodeset("/root/main/partlist/item");
- model.resetInstanceNode("/root/main/partinfo/item");
- model.resetInstanceNode("/root/main/baseinsptinfo/item");
- model.removeNodeset("/root/main/etcinsptlist/item");
- model.resetInstanceNode("/root/main/partinfo1");
- model.removeNodeset("/root/main/proclist1/item");
- model.removeNodeset("/root/main/proclist2/item");
- model.removeNodeset("/root/main/batchlist/item");
- model.resetInstanceNode("/root/main/batchinfo/item");
-
- // GRAFTNO는 초기화, 등록일자 및 채취일자 적용
- model.setValue("/root/main/acptinfo/item/orddd", getCurrentDate() );
- model.setValue("/root/main/acptinfo/item/pickdd", getCurrentDate() );
- model.setValue("/root/main/acptinfo/item/dntgbd", "1");
- model.setValue("/root/main/acptinfo/item/dntynd", "Y");
- model.setValue("/root/main/acptinfo/item/bntynd", "Y");
- model.setValue("/root/main/acptinfo/item/chrynd", "Y");
-
- fGetScreenChangSet1();
- fGetScreenChangSet2();
- */
- model.refresh();
- }
-
- /**
- * 화면 변경 setting
- */
- function fGetScreenChangSet1() {
- /* 생존기증인경우 사망원인 및 사망일시 입력불가 */
- if (cmb_dntgb.value == 1 || cmb_dntgb.value == "") {
- ipt_deathsau.disabled = true;
- ipt_deathdt.disabled = true;
- } else {
- ipt_deathsau.disabled = false;
- ipt_deathdt.disabled = false;
- }
- }
-
- function fGetScreenChangSet2() {
- /* 폐기 등록시 변경 */
- if (cmb_state.value == "X") {
- cmb_delstep.disabled = false;
- cmb_delsau.disabled = false;
- ipt_deldd.disabled = false;
- } else {
- model.setValue("root/main/partinfo/item/delstepd", "");
- model.setValue("root/main/partinfo/item/delsaud", "");
- model.setValue("root/main/partinfo/item/deldd", "");
- model.refresh();
- cmb_delstep.disabled = true;
- cmb_delsau.disabled = true;
- ipt_deldd.disabled = true;
- }
- cmb_delsau.dispatch("xforms-value-changed");
- }
-
- /**
- * 기증정보 List 조회
- */
- function fGetAcptList() {
- /*
- // 조회조건이 전체 인경우는 등록번호를 지정해야함.
- if (cmb_srchsearch.value == 1) {
- if (model.getValue("/root/send/srch/srchpid") == "") {
- messageBox("조회조건이 전체인경우는 등록번호를 " , "C001");
- return;
- }
- }
- */
- var ret = submit("TRAED00101");
- return ret;
- }
-
- /**
- * 기증정보 Info 조회
- */
- function fGetAcptInfo() {
-
- // 조회조건 넘기기
- var idx = grd_maininfo.row;
- model.setValue("/root/send/graftno", model.getValue("/root/main/acptlist/item[ " + idx + "]/graftno") );
-
- var ret = submit("TRAVT00104");
- return ret;
- }
-
- /**
- * 접수정보 저장
- */
- function fSaveAcpt(vMode) {
- var mesg = "";
- if (vMode == "i") {
- mesg = "신규";
- }
- else if (vMode == "u") {
- mesg = "변경";
- } else {
- mesg = "취소";
- }
- model.setValue("/root/main/acptinfo/item/mode", vMode);
-
- if ( messageBox("조직은행 접수 " + mesg + " 정보를","Q002")== 6 ) {
- var ret = submit("TXAVT00101");
- }
-
- return ret;
- }
-
- /**
- * 부위정보 List 조회
- */
- function fGetPartList() {
- model.removeNodeset("/root/main/partlist/item");
- model.resetInstanceNode("/root/main/partinfo/item");
- model.resetInstanceNode("/root/main/partinfo1");
- cmb_delsau.dispatch("xforms-value-changed");
-
- var ret = submit("TRAVT00105");
- return ret;
- }
-
- /**
- * partseq max 값
- */
- function fmaxValue(grd_temp, nodename) {
- var maxValue = 1;
- var j;
- var Check = false;
-
- if (grd_temp.rows >= 1 ) {
- // 값찾기
- for (var i = 1; i <= 40; i++) {
- Check = false;
- // grid에서 같은 값 찾기
- for (j = 1; j <= grd_temp.rows; j++) {
- if (model.getValue(grd_temp.nodeset + "[" + j + "]/" + nodename) == i) {
- Check = true;
- break;
- }
- }
-
- if (Check == false) {
- return i;
- }
- }
- }
- }
- /**
- * 부위정보 저장
- */
- function fSavepart(grd_tmp) {
- if( ! getGridUpdateData(grd_tmp) )
- {
- alert("저장할 내역이 없습니다.");
- return ;
- }
- var ret = false;
- if ( messageBox("조직은행 부위 정보를","Q002")== 6 ) {
- model.setValue("/root/send/req/savedata", grd_tmp.getUpdateData() );
- ret = submit("TXAVT00102");
- }
- return ret;
- }
- /**
- * 부위상태 저장
- */
- function fSavepart_State(grd_tmp) {
- var ret = false;
- if ( messageBox("조직은행 적합성판정 정보를","Q002")== 6 ) {
- ret = submit("TXAVT00107");
- }
- return ret;
- }
-
- /**
- * 기본검사 조회
- */
- function fGetBaseInfo() {
- model.resetInstanceNode("/root/main/baseinsptinfo/item");
-
- var ret = submit("TRAVT00106");
- return ret;
- }
- /**
- * 기본검사 저장
- */
- function fSavebase() {
- if ( messageBox("조직은행 기본검사 정보를","Q002")== 6 ) {
- alert(model.getValue("/root/main/acptinfo/item/graftno") );
-
- if (model.getValue("/root/main/baseinsptinfo/item/graftno") == "") {
- model.setValue("/root/main/baseinsptinfo/item/graftno", model.getValue("/root/main/acptinfo/item/graftno") );
- alert(model.getValue("/root/main/baseinsptinfo/item/graftno"));
- model.setValue("/root/main/baseinsptinfo/item/mode", "i");
- } else {
- model.setValue("/root/main/baseinsptinfo/item/mode", "u");
- }
- submit("TXAVT00103");
- }
- }
-
- /**
- * 기타검사 조회
- */
- function fGetEtciList() {
- model.removeNodeset("/root/main/etcinsptlist/item");
-
- var ret = submit("TRAVT00107");
- return ret;
- }
- /**
- * 기타검사 저장
- */
- function fSaveetci() {
- if( ! getGridUpdateData(grd_etcinfo) )
- {
- alert("저장할 내역이 없습니다.");
- return ;
- }
- var rsv_cnt = grd_etcinfo.rows ;
- var sNode = grd_etcinfo.nodeset+ "[";
- for( var i = 1; i < rsv_cnt ; i++){
- if( model.getValue(sNode + i + "]/insptcdd" ) == "") {
- alert("기타검사의 값이 비어있습니다.");
- return ;
- }
- }
-
- var ret = false;
- if ( messageBox("기타검사정보를","Q002")==6 ) {
- model.setValue("/root/send/req/savedata", grd_etcinfo.getUpdateData());
- ret = submit("TXAVT00104");
- }
-
- return ret;
- }
-
- /**
- * 처리 List
- */
- function fGetProcList(vMode) {
- var ret = null;
-
- if (vMode == "1") {
- model.removeNodeset("/root/main/proclist1/item");
- model.setValue("/root/send/proc/partseq", model.getValue("/root/main/partinfo1/partseq") );
- model.setValue("/root/send/proc/bandcd", "C04" );
- model.setValue("/root/send/proc/bandmcd", "P01" );
-
- submit("TRAVT00108");
- } else {
- model.removeNodeset("/root/main/proclist2/item");
- model.setValue("/root/send/proc/partseq", model.getValue("/root/main/partinfo1/partseq") );
- model.setValue("/root/send/proc/bandcd", "C04" );
- model.setValue("/root/send/proc/bandmcd", "M01" );
- submit("TRAVT00109");
- }
- }
-
- /**
- * 팝업창 Call 및 파라메타 설정
- */
- function fsetPopupCall(param2) {
- // 선택화면 Call
- clearParameter("SPAVB00100_PARAM1");
- setParameter ("SPAVB00100_PARAM1", "T");
- clearParameter("SPAVB00100_PARAM2");
- setParameter ("SPAVB00100_PARAM2", param2);
- modal("SPAVB00100");
- }
-
- /**
- * Grid에 선택된값 추가
- */
- function fsetGrideAdd1(tmp_grd, i, maxrow) {
- var curDD = getCurrentDate();
- tmp_grd.addRow();
-
- model.makeValue(tmp_grd.nodeset + "[" + maxrow + "]/graftno", model.getValue("/root/main/acptinfo/item/graftno") ); // GRAFTNO
- model.makeValue(tmp_grd.nodeset + "[" + maxrow + "]/partseq", model.getValue("/root/main/partinfo1/partseq") ); // 부위SEQ
- model.makeValue(tmp_grd.nodeset + "[" + maxrow + "]/bandcd", "C04" ); // 밴드코드
- model.makeValue(tmp_grd.nodeset + "[" + maxrow + "]/bandmcd", model.getValue("/root/temp/templst/list[" + i + "]/etccd") ); // 밴드코드M
- model.makeValue(tmp_grd.nodeset + "[" + maxrow + "]/procseq", fmaxValue(tmp_grd, "procseq") ); // 처리SEQ
- model.makeValue(tmp_grd.nodeset + "[" + maxrow + "]/banddcd", model.getValue("/root/temp/templst/list[" + i + "]/etcdetlcd") ); // 밴드코드D
- model.makeValue(tmp_grd.nodeset + "[" + maxrow + "]/gbmcd", "C06" ); // 구분M
- model.makeValue(tmp_grd.nodeset + "[" + maxrow + "]/gbdcd", model.getValue("/root/temp/templst/list[" + i + "]/etcitemcnts") ); // 구분D
- if ( model.getValue("/root/temp/templst/list[" + i + "]/etccd") == "P01" ) {
- model.makeValue(tmp_grd.nodeset + "[" + maxrow + "]/fromdt", curDD + "000000" ); // 시작시간
- model.makeValue(tmp_grd.nodeset + "[" + maxrow + "]/todt", curDD + "000000" ); // 종료시간
- } else {
- model.makeValue(tmp_grd.nodeset + "[" + maxrow + "]/qty", 1 ); // 수량
- }
- }
-
- /**
- * Grid에 선택된값 추가
- */
- function fsetGrideAdd2(tmp_grd, i, maxrow) {
- var curDD = getCurrentDate();
- tmp_grd.addRow();
-
- model.makeValue(tmp_grd.nodeset + "[" + maxrow + "]/graftno", model.getValue("/root/main/acptinfo/item/graftno") ); // GRAFTNO
- model.makeValue(tmp_grd.nodeset + "[" + maxrow + "]/partseq", model.getValue("/root/main/partinfo1/partseq") ); // 부위SEQ
- model.makeValue(tmp_grd.nodeset + "[" + maxrow + "]/bandcd", model.getValue("/root/temp/templst/list[" + i + "]/bandcd") ); // 밴드코드
- model.makeValue(tmp_grd.nodeset + "[" + maxrow + "]/bandmcd", model.getValue("/root/temp/templst/list[" + i + "]/bandmcd") ); // 밴드코드M
- model.makeValue(tmp_grd.nodeset + "[" + maxrow + "]/procseq", fmaxValue(tmp_grd, "procseq") ); // 처리SEQ
- model.makeValue(tmp_grd.nodeset + "[" + maxrow + "]/banddcd", model.getValue("/root/temp/templst/list[" + i + "]/banddcd") ); // 밴드코드D
- model.makeValue(tmp_grd.nodeset + "[" + maxrow + "]/gbmcd", model.getValue("/root/temp/templst/list[" + i + "]/gbmcd") ); // 구분M
- model.makeValue(tmp_grd.nodeset + "[" + maxrow + "]/gbdcd", model.getValue("/root/temp/templst/list[" + i + "]/gbdcd") ); // 구분D
- if ( model.getValue("/root/temp/templst/list[" + i + "]/bandmcd") == "P01" ) {
- model.makeValue(tmp_grd.nodeset + "[" + maxrow + "]/fromdt", curDD + "000000" ); // 시작시간
- model.makeValue(tmp_grd.nodeset + "[" + maxrow + "]/todt", curDD + "000000" ); // 종료시간
- } else {
- model.makeValue(tmp_grd.nodeset + "[" + maxrow + "]/qty", model.getValue("/root/temp/templst/list[" + i + "]/qty") ); // 수량
- }
- }
- /**
- * 처리 저장
- */
- function fSaveproc(grd_tmp1, grd_tmp2) {
- if( ! getGridUpdateData(grd_tmp1) && ! getGridUpdateData(grd_tmp2) )
- {
- alert("저장할 내역이 없습니다.");
- return ;
- }
- var ret = false;
- if ( messageBox("처리정보를","Q002")==6 ) {
- model.setValue("/root/send/req/savedata1", grd_tmp1.getUpdateData());
- model.setValue("/root/send/req/savedata2", grd_tmp2.getUpdateData());
- ret = submit("TXAVT00105");
- }
-
- return ret;
- }
-
- /**
- * 배치 List
- */
- function fGetBatchList() {
- model.removeNodeset("/root/main/batchlist/item");
- model.setValue("/root/send/proc/partseq", model.getValue("/root/main/partinfo1/partseq") );
- model.refresh();
- submit("TRAVT00110");
- }
- /**
- * 배치 저장
- */
- function fSaveBatch(grd_tmp) {
- if( ! getGridUpdateData(grd_tmp) )
- {
- alert("저장할 내역이 없습니다.");
- return ;
- }
- var ret = false;
- if ( messageBox("배치정보를","Q002")==6 ) {
- model.setValue("/root/send/req/savedata", grd_tmp.getUpdateData() );
- ret = submit("TXAVT00106");
- }
- return ret;
- }
-
- /**
- * 완료시간 - 시작시간 차의 분구하기
- */
- function fTodtFromdtMIn() {
- // 변수 설정
- var vFromdt = model.getValue(grd_processlist.nodeset + "[" + grd_processlist.row + "]/fromdt");
- var vTodt = model.getValue(grd_processlist.nodeset + "[" + grd_processlist.row + "]/todt");
- var vFormat = "YYYYMMDDhhmmss";
- var ret = false;
- // 일자가 정확한지 확인
- if ( 0 < vFromdt.length && vFromdt.length < 8 ) {
- alert("시작일자를 정확하게 입력하세요");
- return ret;
- }
-
- if ( 0 < vTodt.length && vTodt.length < 8 ) {
- alert("완료일자를 정확하게 입력하세요");
- return ret;
- }
-
- // 자리수 채우기
- for (var i = vFromdt.length; i < 14; i++)
- vFromdt += "0";
- for (var i = vTodt.length; i < 14; i++)
- vTodt += "0";
- if (isValidDateTime(vFromdt, vFormat) == false) {
- alert("시작일시를 정확하게 입력하세요");
- vFromdt = vFromdt.substr(0, 8) + "000000";
- alert(vFromdt);
- model.setValue(grd_processlist.nodeset + "[" + grd_processlist.row + "]/fromdt", vFromdt);
- model.refresh();
- return ret;
- }
-
- if (isValidDateTime(vTodt, vFormat) == false) {
- alert("완료일시를 정확하게 입력하세요");
- vTodt = vTodt.substr(0, 8) + "000000";
- model.setValue(grd_processlist.nodeset + "[" + grd_processlist.row + "]/todt", vTodt);
- model.refresh();
- return ret;
- }
-
- if (vFromdt < vTodt) {
- var vTat = (vTodt.toDate(vFormat).getTime() - vFromdt.toDate(vFormat).getTime()) / (1000 * 60);
- vTat = Math.round(vTat);
- model.setValue(grd_processlist.nodeset + "[" + grd_processlist.row + "]/tat", vTat);
- model.refresh();
- } else {
- model.setValue(grd_processlist.nodeset + "[" + grd_processlist.row + "]/tat", "0");
- model.refresh();
- }
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="1,1195;" 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:200px; height:14px; ">치기공 접수</caption>
- </group>
- <group id="grp_btn" style="left:0px; top:757px; width:1195px; height:27px; ">
- <button id="btn_del" class="btn4_letter2" style="left:1124px; top:3px; width:56px; height:22px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/main/acptinfo/item/cnclyn", "Y");
- fSaveAcpt("d");
- fGetScreenInit();
- fGetAcptList();
- ]]>
- </script>
- </button>
- <button id="btn_prt" class="btn6_letter2" style="left:0px; top:5px; width:56px; height:22px; ">
- <caption>출력</caption>
- </button>
- <button id="btn_save" class="btn4_letter2" style="left:1005px; top:3px; width:56px; height:22px; ">
- <caption>접수</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if (model.getValue("/root/main/acptinfo/item/graftno") != "") {
- alert("접수정보를 변경할경우 변경 버튼을 누르세요");
- } else {
- model.setValue("/root/main/acptinfo/item/cnclyn", "N");
- fSaveAcpt("i");
- fGetAcptList();
- }
- ]]>
- </script>
- </button>
- <button id="btn_edit" class="btn4_letter2" style="left:1065px; top:3px; width:56px; height:22px; ">
- <caption>변경</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if (model.getValue("/root/main/acptinfo/item/graftno") == "") {
- alert("신규접수인경우 접수 버튼을 누르세요");
- } else {
- if (fSaveAcpt("u") == true) {
- fGetPartList();
- }
- }
- ]]>
- </script>
- </button>
- <button id="btn_clear" class="btn4_letter3" style="left:933px; top:3px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetScreenInit();
- ]]>
- </script>
- </button>
- </group>
- <group id="grp_main" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
- <group id="grp_srch" style="left:0px; top:10px; width:1195px; height:35px; vertical-align:top; ">
- <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:1px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <line id="line16" class="line_4" style="x1:1107px; y1:7px; x2:1107px; y2:29px; "/>
- <input id="ipt_srchpid" ref="/root/send/srch/srchpid" class="input_search" style="left:610px; top:8px; width:80px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if (ipt_srchpid.value == "") {
- opt_srchhngnm.value = "";
- }
- ]]>
- </script>
- </input>
- <output id="opt_srchhngnm" ref="/root/send/srch/srchhngnm" class="output_search" style="left:714px; top:8px; width:100px; height:19px; "/>
- <button id="btn_select" class="btn1_letter2" style="left:1123px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetScreenInit();
- // fGetAcptList();
- ]]>
- </script>
- </button>
- <input id="ipt_srchtodd" ref="/root/send/srch/srchtodd" class="input_s_essential" inputtype="date" style="left:405px; top:9px; width:100px; height:19px; "/>
- <input id="ipt_srchfromdd" ref="/root/send/srch/srchfromdd" class="input_s_essential" inputtype="date" style="left:288px; top:9px; width:100px; height:19px; "/>
- <select1 id="cmb_srchsearch" ref="/root/send/srch/srchsearch" class="combo_search" appearance="minimal" style="left:105px; top:8px; width:105px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/combobscdlst/C13">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var curDD = getCurrentDate();
- var idate = new Date();
-
- if (cmb_srchsearch.value == 4 || cmb_srchsearch.value == 5) {
- ipt_srchfromdd.disabled = false;
- ipt_srchtodd.disabled = false;
- } else {
- ipt_srchfromdd.disabled = true;
- ipt_srchtodd.disabled = true;
- }
-
- // 오늘이 선택되면 등록번호 와 성명을 지움
- if (cmb_srchsearch.value == 2) {
- model.setValue("/root/send/srch/srchpid", "" ); // 등록번호
- model.setValue("/root/send/srch/srchhngnm" , "" ); // 성명
- }
- if (cmb_srchsearch.value == 3) {
- // 일수만큼 차감하고 문자형으로 변형
- var chacng_date = idate.getAddDate(-7, "D").getDateFormat();
- model.setValue("/root/send/srch/srchfromdd" , chacng_date ); // 조회시작일자
- model.setValue("/root/send/srch/srchtodd" , curDD ); // 조회종료일자
- } else {
- model.setValue("/root/send/srch/srchfromdd" , curDD ); // 조회시작일자
- model.setValue("/root/send/srch/srchtodd" , curDD ); // 조회종료일자
- }
- model.refresh();
- ]]>
- </script>
- </select1>
- <button id="btn_search1" class="icon_search" style="left:694px; top:10px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 선택화면 Call
- modal("SPAVT00100");
-
- // 정상인 경우 가져온값 setting
- if (model.getValue("/root/temp/okflag") == "ok") {
- // 조회조건에 값넣기
- model.setValue("/root/send/srch/srchpid", model.getValue("/root/temp/templst/item/pid" ) );
- model.setValue("/root/send/srch/srchhngnm", model.getValue("/root/temp/templst/item/hngnm" ) );
-
- // 임시 Node 삭제
- model.removenode("/root/temp/okflag");
- model.removenode("/root/temp/templst/item");
- model.refresh();
- }
- ]]>
- </script>
- </button>
- <caption id="lbl_srchpid" class="search_name" style="left:521px; top:9px; width:86px; height:17px; ">등록번호 :</caption>
- <caption id="lbl_srchsearch" class="search_name" style="left:15px; top:9px; width:86px; height:17px; ">조회조건 :</caption>
- <caption id="lbl_srchdd" class="search_name" style="left:225px; top:9px; width:60px; height:17px; ">기간 :</caption>
- <caption id="lbl_~" class="search_no_b" style="left:391px; top:10px; width:12px; height:17px; ">~</caption>
- <bool id="bool1" checkvalue="Y,N" ref="/root/send/srch/srchcnclyn" style="left:975px; top:8px; width:25px; height:20px; "/>
- <caption id="caption75" style="left:1000px; top:9px; width:74px; height:20px; ">취소포함</caption>
- <select1 id="combo2" ref="/root/send/srch/srchstate" class="combo_search" appearance="minimal" style="left:900px; top:8px; width:56px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/combobscdlstsrch/C08">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption2" class="search_name" style="left:835px; top:9px; width:70px; height:17px; ">상태 :</caption>
- </group>
- <datagrid id="grd_maininfo" nodeset="/root/main/acptlist/item" caption="접수번호^등록번호^성명^성별^나이^처방명^처방일자^예약일자^처치일자^완료일자^상태^처방의^외주" colsep="^" colwidth="100, 70, 80, 40, 40, 275, 80, 80, 80, 80, 80, 100, 50" dataheight="23" defaultrows="1" extendlastcol="scroll" focuscolor="#b9e5fb" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:0px; top:75px; width:1195px; height:480px; text-align:center; ">
- <col ref="acptno" type="output"/>
- <col ref="pid" type="output"/>
- <col ref="hngnm" type="output"/>
- <col ref="sex" type="output"/>
- <col ref="age" type="output"/>
- <col ref="prcpnm"/>
- <col ref="prcpdd" format="yyyy-mm-dd"/>
- <col ref="rsrvdd" format="yyyy-mm-dd"/>
- <col ref="execdd" format="yyyy-mm-dd"/>
- <col ref="enddd" format="yyyy-mm-dd"/>
- <col ref="state"/>
- <col ref="orddrnm"/>
- <col checkvalue="Y,N" ref="outordyn" type="checkbox"/>
- </datagrid>
- <caption id="caption45" class="tit_2" style="left:5px; top:55px; width:72px; height:14px; ">접수정보</caption>
- <line id="line18" class="line_1" style="x1:0px; y1:70px; x2:1195px; y2:70px; "/>
- <group id="grp_pidinfo" style="left:0px; top:560px; width:210px; height:180px; ">
- <caption id="lbl_pidinfo" class="tit_2" style="left:5px; top:5px; width:110px; height:13px; ">환자정보</caption>
- <line id="line19" class="line_1" style="x1:0px; y1:20px; x2:204px; y2:20px; "/>
- <caption id="lbl_acptno" class="cell_1" style="left:0px; top:25px; width:80px; height:20px; text-align:center; vertical-align:middle; ">접수번호</caption>
- <input id="ipt_acptno" ref="/root/main/acptinfo/item/acptno" class="input_essential" disabled="true" format="9999-99-9999" style="left:84px; top:25px; width:120px; height:19px; "/>
- <caption id="lbl_pid" class="cell_1" style="left:0px; top:47px; width:80px; height:20px; text-align:center; vertical-align:middle; ">등록번호</caption>
- <input id="ipt_pid" ref="/root/main/acptinfo/item/pid" class="input_essential" maxlength="10" style="left:84px; top:47px; width:100px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_search2", "DOMActivate");
- ]]>
- </script>
- </input>
- <button id="btn_search2" class="icon_search" style="left:188px; top:50px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 선택화면 Call
- clearParameter("SPAVT00110_PID");
- setParameter ("SPAVT00110_PID", ipt_pid.value);
- modal("SPAED00100");
-
- // 정상인 경우 가져온값 setting
- if (model.getValue("/root/temp/okflag") == "ok") {
- // 조회조건에 값넣기
- model.setValue("/root/main/acptinfo/item/pid", model.getValue("/root/temp/templst/item/pid" ) );
- model.setValue("/root/main/acptinfo/item/hngnm", model.getValue("/root/temp/templst/item/hngnm" ) );
- model.setValue("/root/main/acptinfo/item/rrgstno1", model.getValue("/root/temp/templst/item/rrgstno1" ) );
- model.setValue("/root/main/acptinfo/item/rrgstno2", model.getValue("/root/temp/templst/item/rrgstno2" ) );
- model.setValue("/root/main/acptinfo/item/sex", model.getValue("/root/temp/templst/item/sex" ) );
- model.setValue("/root/main/acptinfo/item/age", model.getValue("/root/temp/templst/item/age" ) );
- model.setValue("/root/main/acptinfo/item/telno", model.getValue("/root/temp/templst/item/telno" ) );
- model.setValue("/root/main/acptinfo/item/abom", "C10" );
- model.setValue("/root/main/acptinfo/item/abod", model.getValue("/root/temp/templst/item/abo" ) );
- model.setValue("/root/main/acptinfo/item/rhm", "C11" );
- model.setValue("/root/main/acptinfo/item/rhd", model.getValue("/root/temp/templst/item/rh" ) );
- model.setValue("/root/main/acptinfo/item/zipcd1", model.getValue("/root/temp/templst/item/zipcd1" ) );
- model.setValue("/root/main/acptinfo/item/zipcd2", model.getValue("/root/temp/templst/item/zipcd2" ) );
- model.setValue("/root/main/acptinfo/item/zipseq", model.getValue("/root/temp/templst/item/zipcdseq" ) );
- model.setValue("/root/main/acptinfo/item/addr", model.getValue("/root/temp/templst/item/addr" ) );
- model.setValue("/root/main/acptinfo/item/address", model.getValue("/root/temp/templst/item/address" ) );
- model.setValue("/root/main/acptinfo/item/diagcd", model.getValue("/root/temp/templst/item/diagcd" ) );
- model.setValue("/root/main/acptinfo/item/diaghngnm", model.getValue("/root/temp/templst/item/diaghngnm" ) );
- model.setValue("/root/main/acptinfo/item/diagengnm", model.getValue("/root/temp/templst/item/diagengnm" ) );
- model.setValue("/root/main/acptinfo/item/opcd", model.getValue("/root/temp/templst/item/opcd" ) );
- model.setValue("/root/main/acptinfo/item/ophngnm", model.getValue("/root/temp/templst/item/ophngnm" ) );
- model.setValue("/root/main/acptinfo/item/opengnm", model.getValue("/root/temp/templst/item/opengnm" ) );
- model.setValue("/root/main/acptinfo/item/oproomcd", model.getValue("/root/temp/templst/item/oproomcd" ) );
- model.setValue("/root/main/acptinfo/item/oproomnm", model.getValue("/root/temp/templst/item/oproomnm" ) );
- model.setValue("/root/main/acptinfo/item/opsd", model.getValue("/root/temp/templst/item/opsdd" ) );
- model.setValue("/root/main/acptinfo/item/opst", model.getValue("/root/temp/templst/item/opstm" ) );
- model.setValue("/root/main/acptinfo/item/oped", model.getValue("/root/temp/templst/item/opedd" ) );
- model.setValue("/root/main/acptinfo/item/opet", model.getValue("/root/temp/templst/item/opetm" ) );
-
- // GRAFTNO는 초기화, 등록일자 및 채취일자 적용
- model.setValue("/root/main/acptinfo/item/orddd", getCurrentDate() );
- model.setValue("/root/main/acptinfo/item/pickdd", getCurrentDate() );
- // 임시 Node 삭제
- model.removenode("/root/temp/okflag");
- model.removenode("/root/temp/templst/item");
-
- fGetScreenChangSet1();
- }
- ]]>
- </script>
- </button>
- <caption id="caption1" class="cell_1" style="left:0px; top:69px; width:80px; height:20px; text-align:center; vertical-align:middle; ">성 명</caption>
- <output id="opt_hngnm" ref="/root/main/acptinfo/item/hngnm" class="output_search" style="left:84px; top:69px; width:120px; height:19px; "/>
- <caption id="lbl_rrgstno" class="cell_1" style="left:0px; top:91px; width:80px; height:20px; text-align:center; vertical-align:middle; ">주민번호</caption>
- <input id="ipt_rrgstno1" ref="/root/main/acptinfo/item/rrgstno1" class="output_search" maxlength="6" format="999999" style="left:84px; top:91px; width:50px; height:19px; "/>
- <caption id="caption48" class="search_n_b" style="left:136px; top:93px; width:12px; height:17px; font-weight:bolder; ">-</caption>
- <input id="ipt_rrgstno2" ref="/root/main/acptinfo/item/rrgstno2" class="output_search" maxlength="7" format="9999999" style="left:149px; top:91px; width:55px; height:19px; "/>
- <caption id="lbl_sexage" class="cell_1" style="left:0px; top:113px; width:80px; height:20px; text-align:center; vertical-align:middle; ">성 별</caption>
- <output id="opt_sex" ref="/root/main/acptinfo/item/sex" class="output_search" style="left:84px; top:113px; width:50px; height:19px; "/>
- <caption id="caption3" class="cell_1" style="left:0px; top:135px; width:80px; height:20px; text-align:center; vertical-align:middle; ">나 이</caption>
- <output id="opt_age" ref="/root/main/acptinfo/item/age" class="output_search" style="left:84px; top:135px; width:50px; height:19px; "/>
- <caption id="lbl_telno" class="cell_1" style="left:0px; top:157px; width:80px; height:20px; text-align:center; vertical-align:middle; ">전화번호</caption>
- <input id="ipt_telno" ref="/root/main/acptinfo/item/telno" class="input_default" imemode="hangul" maxlength="100" style="left:84px; top:157px; width:120px; height:19px; "/>
- </group>
- <group id="grp_prcpinfo" disabled="false" style="left:207px; top:560px; width:781px; height:180px; ">
- <caption id="caption31" class="tit_2" style="left:5px; top:5px; width:110px; height:13px; ">처방정보</caption>
- <line id="line5" class="line_1" style="x1:0px; y1:20px; x2:781px; y2:20px; "/>
- <caption id="lbl_rsrvdd" class="cell_1" style="left:0px; top:25px; width:80px; height:20px; text-align:center; vertical-align:middle; ">예약일자</caption>
- <input id="ipt_rsrvdd" ref="/root/main/acptinfo/item/rsrvdd" class="input_essential" inputtype="date" style="left:84px; top:25px; width:100px; height:19px; "/>
- <caption id="lbl_prcpdd" class="cell_1" style="left:188px; top:25px; width:80px; height:20px; text-align:center; vertical-align:middle; ">처방일자</caption>
- <input id="ipt_prcpdd" ref="/root/main/acptinfo/item/prcpdd" class="input_essential" disabled="true" inputtype="date" style="left:272px; top:25px; width:100px; height:19px; "/>
- <caption id="lbl_execdd" class="cell_1" style="left:376px; top:25px; width:80px; height:20px; text-align:center; vertical-align:middle; ">처치일자</caption>
- <input id="ipt_execdd" ref="/root/main/acptinfo/item/execdd" class="input_essential" inputtype="date" style="left:460px; top:25px; width:100px; height:19px; "/>
- <caption id="lbl_prcp" class="cell_1" style="left:0px; top:47px; width:80px; height:20px; text-align:center; vertical-align:middle; ">처방명</caption>
- <input id="ipt_calcscorcd" ref="/root/main/acptinfo/item/calcscorcd" class="input_default" style="left:84px; top:47px; width:100px; height:19px; "/>
- <input id="opt_prcpnm" ref="/root/main/acptinfo/item/prcpnm" class="input_default" style="left:188px; top:47px; width:593px; height:19px; "/>
- <caption id="lbl_orddr" class="cell_1" style="left:0px; top:69px; width:80px; height:20px; text-align:center; vertical-align:middle; ">처방의</caption>
- <input id="ipt_orddrid" ref="/root/main/acptinfo/item/orddrid" class="input_default" style="left:84px; top:69px; width:100px; height:19px; "/>
- <input id="opt_orddrnm" ref="/root/main/acptinfo/item/orddrnm" class="input_default" style="left:188px; top:69px; width:184px; height:19px; "/>
- <caption id="lbl_orddept" class="cell_1" style="left:376px; top:69px; width:80px; height:20px; text-align:center; vertical-align:middle; ">처방과</caption>
- <input id="ipt_orddeptcd" ref="/root/main/acptinfo/item/orddeptcd" class="input_default" style="left:460px; top:69px; width:100px; height:19px; "/>
- <input id="opt_orddepthngnm" ref="/root/main/acptinfo/item/orddepthngnm" class="input_default" style="left:564px; top:69px; width:217px; height:19px; "/>
- <caption id="lbl_state" class="cell_1" style="left:0px; top:91px; width:80px; height:20px; text-align:center; vertical-align:middle; ">상태</caption>
- <select1 id="cmb_state" ref="/root/main/acptinfo/item/state" class="combo_search" appearance="minimal" style="left:84px; top:91px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/combobscdlst/A002">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue("/root/main/partinfo/item/dntgbm", "A002");
- fGetScreenChangSet1();
- ]]>
- </script>
- </select1>
- <caption id="caption38" class="cell_1" style="left:188px; top:91px; width:80px; height:20px; text-align:center; vertical-align:middle; ">수납여부</caption>
- <select1 id="combo10" ref="/root/main/acptinfo/item/rcptyn" class="combo_search" appearance="minimal" style="left:272px; top:91px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/combobscdlst/A003">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue("/root/main/partinfo/item/dntgbm", "A003");
- fGetScreenChangSet1();
- ]]>
- </script>
- </select1>
- <caption id="caption40" class="cell_1" style="left:376px; top:91px; width:80px; height:20px; text-align:center; vertical-align:middle; ">입/외구분</caption>
- <select1 id="combo11" ref="/root/main/acptinfo/item/prcpgenrflag" class="combo_search" appearance="minimal" style="left:460px; top:91px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/combobscdlst/A001">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue("/root/main/partinfo/item/dntgbm", "A001");
- fGetScreenChangSet1();
- ]]>
- </script>
- </select1>
- <caption id="lbl_tootfact" class="cell_1" style="left:0px; top:113px; width:80px; height:42px; text-align:center; vertical-align:middle; ">치식</caption>
- <caption id="lbl_up" class="cell_1" style="left:84px; top:113px; width:25px; height:20px; text-align:left; vertical-align:middle; ">상</caption>
- <input id="ipt_tootfact11" ref="/root/main/acptinfo/item/tootfact11" class="input_default" style="left:113px; top:113px; width:90px; height:19px; "/>
- <input id="ipt_tootfact12" ref="/root/main/acptinfo/item/tootfact12" class="input_default" style="left:207px; top:113px; width:90px; height:19px; "/>
- <caption id="lbl_down" class="cell_1" style="left:84px; top:135px; width:25px; height:20px; text-align:left; vertical-align:middle; ">하</caption>
- <input id="ipt_tootfact21" ref="/root/main/acptinfo/item/tootfact21" class="input_default" style="left:113px; top:135px; width:90px; height:19px; "/>
- <input id="ipt_tootfact22" ref="/root/main/acptinfo/item/tootfact22" class="input_default" style="left:207px; top:135px; width:90px; height:19px; "/>
- <caption id="lbl_insuflag" class="cell_1" style="left:376px; top:113px; width:80px; height:20px; text-align:center; vertical-align:middle; ">보험종류</caption>
- <select1 id="cmb_insuflag" ref="/root/main/acptinfo/item/rcptyn" class="combo_search" appearance="minimal" style="left:460px; top:113px; width:288px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/combobscdlst/C14">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue("/root/main/partinfo/item/dntgbm", "C14");
- fGetScreenChangSet1();
- ]]>
- </script>
- </select1>
- <caption id="caption46" class="cell_1" style="left:376px; top:135px; width:80px; height:20px; text-align:center; vertical-align:middle; ">수납금액</caption>
- <input id="input29" ref="/root/main/acptinfo/item/rcptamt" class="input_default" format="#,###" style="left:460px; top:135px; width:93px; height:19px; text-align:right; "/>
- </group>
- <group id="grp_prodinfo" style="left:991px; top:560px; width:204px; height:180px; ">
- <caption id="caption12" class="tit_2" style="left:5px; top:5px; width:110px; height:13px; ">제작정보</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:20px; x2:204px; y2:20px; "/>
- <caption id="lbl_prodcd" class="cell_1" style="left:0px; top:25px; width:80px; height:20px; text-align:center; vertical-align:middle; ">제작물</caption>
- <select1 id="cmb_prodcd" ref="/root/main/acptinfo/item/prodcd" class="combo_search" appearance="minimal" style="left:84px; top:25px; width:120px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/combobscdlst/C14">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue("/root/main/partinfo/item/dntgbm", "C14");
- fGetScreenChangSet1();
- ]]>
- </script>
- </select1>
- <caption id="lbl_enddd" class="cell_1" style="left:0px; top:47px; width:80px; height:20px; text-align:center; vertical-align:middle; ">완성일자</caption>
- <input id="ipt_enddd" ref="/root/main/acptinfo/item/enddd" class="input_essential" inputtype="date" style="left:84px; top:47px; width:120px; height:19px; "/>
- <caption id="lbl_metalcd" class="cell_1" style="left:0px; top:69px; width:80px; height:20px; text-align:center; vertical-align:middle; ">금속종류</caption>
- <select1 id="cmb_metalcd" ref="/root/main/acptinfo/item/metalcd" class="combo_search" appearance="minimal" style="left:84px; top:69px; width:120px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/combobscdlst/C14">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue("/root/main/partinfo/item/dntgbm", "C14");
- fGetScreenChangSet1();
- ]]>
- </script>
- </select1>
- <caption id="lbl_useqty" class="cell_1" style="left:0px; top:91px; width:80px; height:20px; text-align:center; vertical-align:middle; ">사용량</caption>
- <input id="ipt_useqty" ref="/root/main/acptinfo/item/useqty" class="input_default" format="#,###.##" style="left:84px; top:91px; width:120px; height:19px; text-align:right; "/>
- <caption id="lbl_prodid" class="cell_1" style="left:0px; top:113px; width:80px; height:20px; text-align:center; vertical-align:middle; ">제작자명</caption>
- <select1 id="cmb_prodid" ref="/root/main/acptinfo/item/prodid" class="combo_search" appearance="minimal" style="left:84px; top:113px; width:120px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/combobscdlst/C14">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue("/root/main/partinfo/item/dntgbm", "C14");
- fGetScreenChangSet1();
- ]]>
- </script>
- </select1>
- <caption id="lbl_outordyn" class="cell_1" style="left:0px; top:135px; width:80px; height:20px; text-align:center; vertical-align:middle; ">외주여부</caption>
- <select1 id="cmb_outordyn" ref="/root/main/acptinfo/item/outordyn" class="combo_search" appearance="minimal" style="left:84px; top:135px; width:120px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/combobscdlst/C14">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue("/root/main/partinfo/item/dntgbm", "C14");
- fGetScreenChangSet1();
- ]]>
- </script>
- </select1>
- </group>
- <caption id="lbl_bigo" class="cell_1" style="left:207px; top:717px; width:80px; height:20px; text-align:center; vertical-align:middle; ">비고</caption>
- <input id="ipt_bigo" ref="/root/main/acptinfo/item/bigo" class="input_default" imemode="hangul" maxlength="100" style="left:291px; top:717px; width:697px; height:19px; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|