1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?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>선별심사코드관리(SMPIB00200)</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <list1>
- <listjchk>
- <judgid/>
- <calcscorcd/>
- <ordnm/>
- <ioflag/>
- <workflag/>
- <seqno/>
- <fromdd/>
- <todd/>
- <diaginclyn/>
- <diagcdfrom/>
- <diagnmfrom/>
- <diagcdto/>
- <diagnmto/>
- <drugqty/>
- <dayno/>
- <totdrugqty/>
- <orddeptinclyn/>
- <orddeptcd/>
- <gndr/>
- <ageinclyn/>
- <agefrom/>
- <ageto/>
- <hosinoutflag/>
- <remfact/>
- <oldcalcscorcd/>
- <oldordnm/>
- <oldtodd/>
- <oldworkflag/>
- </listjchk>
- </list1>
- </main>
- <send>
- <item1>
- <itemjchk>
- <badd/>
- <workflag/>
- <ioflag/>
- <calcscorcd/>
- <endinclude/>
- <judgid/>
- <rownum/>
- </itemjchk>
- </item1>
- <item2>
- <grdsrchnm>
- <searchkind/>
- <iptsearch/>
- </grdsrchnm>
- </item2>
- <item3>
- <srchdiag>
- <basedd/>
- <diagcd/>
- <diagnm/>
- <selectedrdodiagkind/>
- </srchdiag>
- </item3>
- <list1>
- <listjchk/>
- </list1>
- <updatedata>
- <datalist/>
- </updatedata>
- </send>
- <init>
- <P0165list>
- <P0165>
- <cdnm/>
- <cdid/>
- </P0165>
- </P0165list>
- <judgerlist>
- <judger>
- <judgid/>
- <judgnm/>
- </judger>
- </judgerlist>
- </init>
- <hidden>
- <item>
- <orddeptcd/>
- </item>
- <sppiz00400>
- <rslt>
- <diagcd/>
- <diaghngnm/>
- <diagengnm/>
- </rslt>
- </sppiz00400>
- <smpic00200>
- <cond>
- <calcnm/>
- </cond>
- </smpic00200>
- </hidden>
- <init>
- <orddeptcd>
- <nm/>
- <cd>-</cd>
- </orddeptcd>
- </init>
- <temp>
- <calcdiagnm>
- <hngnm/>
- </calcdiagnm>
- <list1>
- <listjchk/>
- </list1>
- </temp>
- <tmp>
- <remfact>
- <text>
- <memo/>
- </text>
- </remfact>
- </tmp>
- </root>
- </instance>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
- <submission id="TRPIB00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" add="top" resultref="/root/main/list1"/>
- <submission id="TXPIB00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/updatedata" resultref="/root/result"/>
- <submission id="TRPAM00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance" add="bottom" resultref="/root/hidden/tmp"/>
- <submission id="TRPIB00202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/item2/grdsrchnm" resultref="/root/temp"/>
- <submission id="TRPIB00203" mediatype="application/x-www-form-urlencoded" method="post" resultref="/root/init/judgerlist"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize();
-
- // 20070822 => 기초정보관리 화면 수정요청사항 - default 빈칸 자동 생성되어 있도록!(행추가 없이도 자동 한줄추가) : 2007.08.27 김건기
- fAddRow();
- ]]>
- </script>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../pam/pamcomnweb/js/PAM.js"/>
- <script type="javascript">
- <![CDATA[
- // 화면 open시와 초기화 버튼 클릭시) 화면 초기화 기능을 수행한다.
- function fInitialize() {
-
- grp_remfact.visible = false;
- var today = getCurrentDate(); // 현재 날짜를 얻어옴
-
- model.setValue("/root/send/item1/itemjchk/badd",today);
- model.setValue("/root/send/item1/itemjchk/workflag","-");
- model.setValue("/root/send/item1/itemjchk/ioflag","-");
- model.setValue("/root/send/item1/itemjchk/rownum",0);
- // grid를 인스턴스에 mapping후 인스턴스에 해당하는 빈줄 1줄이 생기므로 grid 초기화
- model.removeNodeset("/root/main/list1/listjchk");
-
- // (PAM.js) submission id="TRPAM00101" 를 사용하여 Combo item을 가져온다.
- pamGetDeptCDDrIDList();
-
- submit("TRPIB00203");
- addComboItem("cmb_judger","전체","-","above");
- //model.setValue("/root/init/judgerlist/judger[1]/judgnm","전체");
- //model.setValue("/root/init/judgerlist/judger[1]/judgid","-");
- model.setValue("/root/init/orddeptcd/orddeptcdlist[1]/nm","전체");
- model.setValue("/root/init/orddeptcd/orddeptcdlist[1]/cd","-");
-
- model.setValue("/root/send/item1/itemjchk/endinclude","2");
-
- var userid = getUserId();
- // var userid = "-"; // test
- model.setValue("/root/send/item1/itemjchk/judgid",userid);
-
- // 공통코드를 조회한다.
- // (ZBC001.js) com.ZBCMCODE에서 기초코드 값을 가져와서 Combo 컨트롤 item으로 설정하기 위해 사용한다.
- // P0165 : 원내외구분
- zbcfGetCodeList(
- new Array("P0165"),
- new Array("/root/init/P0165list" ) );
-
- // 수가코드 input의 영문자는 모두 대문자
- ipt_calcscorcd.attribute("_chartype") = "upper";
- // 코드명(처방,상병)은 대문자로
- grd_asrtjudg.colAttribute ( 2, "_chartype" ) = "upper";
- grd_asrtjudg.colAttribute ( 10, "_chartype" ) = "upper";
- grd_asrtjudg.colAttribute ( 12, "_chartype" ) = "upper";
- // 데이터 작업을 위하여 임시로 막아 놓음 ... 박도형
- // btn_addRow.disabled = true; // 행추가버튼 비활성화
- // btn_delRow.disabled = true; // 행삭제버튼 비활성화
- // btn_save.disabled = true;
-
- model.refresh();
-
- cmb_judger.select(0);
- model.setFocus("cmb_judger");
- }
-
- // 조회와 관련된 입력된 데이터의 항목을 검증한다.(기준일자,작업구분,입원/외래,수가코드 모두 필수입력 항목임)
- function fCheckGetAsrtJudgCdInfo() {
- if (model.getValue("/root/send/item1/itemjchk/badd") == "") {
- messageBox("기준일자는","I003"); //기준일자는 필수입력입니다.
- return false;
- }
- if (model.getValue("/root/send/item1/itemjchk/workflag") == "") {
- messageBox("작업구분은","I003"); //작업구분은 필수입력입니다.
- return false;
- }
- if (model.getValue("/root/send/item1/itemjchk/ioflag") == "") {
- messageBox("입원/외래는","I003"); //입원/외래는 필수입력입니다.
- return false;
- }
- // 2008.01.17 박지욱 주석처리
- // if ((model.getValue("/root/send/item1/itemjchk/judgid") == "-" || model.getValue("/root/send/item1/itemjchk/judgid") == "" || model.getValue("/root/send/item1/itemjchk/judgid") == "PAM") && model.getValue("/root/send/item1/itemjchk/calcscorcd") == "") {
- // messageBox("심사자 전체 선택시, 수가코드는","I003"); //전체선택시, 수가코드는 필수입력입니다.
- // return false;
- // }
- return true;
- }
-
- // 저장과 관련된 입력된 데이터의 항목을 검증한다.
- function fCheckSaveAsrtJudgCdInfo() {
-
- for( i = grd_asrtjudg.fixedRows; i < grd_asrtjudg.rows ; i++ ) {
- var rowstatus = grd_asrtjudg.rowStatus(i);
-
- if (rowstatus == 1 || rowstatus == 3) {
-
- var changeflag = model.getValue("/root/main/list1/listjchk[" + i + "]/changeflag");
-
- if (changeflag == "I") {
- grd_asrtjudg.rowStatus(i) = 0;
- }
- }
- }
-
- var updtdata = getGridUpdateData(grd_asrtjudg);
-
- if (updtdata == "") { // 변경된 데이터가 없는경우
- messageBox("변경된 데이터가","I004"); // 변경된 데이이터가 없습니다.
- return false;
- }
-
- //data grid에 잘못된 값이 존재하는 지 체크한다. - fromdd, todd
- for( i = grd_asrtjudg.fixedRows; i < grd_asrtjudg.rows ; i++ ) {
- var today = getCurrentDate(); // 현재 날짜를 얻어옴
-
- var judgid = grd_asrtjudg.valueMatrix(i,grd_asrtjudg.colRef("judgid")); // 심사자
- var calcscorcd = grd_asrtjudg.valueMatrix(i,grd_asrtjudg.colRef("calcscorcd")); // 수가코드
- var ordnm = grd_asrtjudg.valueMatrix(i,grd_asrtjudg.colRef("ordnm")); // 수가명
- var fromdd = grd_asrtjudg.valueMatrix(i,grd_asrtjudg.colRef("fromdd")); // 시작일자
- var todd = grd_asrtjudg.valueMatrix(i,grd_asrtjudg.colRef("todd")); // 종료일자
- var diaginclyn = grd_asrtjudg.valueMatrix(i,grd_asrtjudg.colRef("diaginclyn")); // 상병포함여부
- var diagcdfrom = grd_asrtjudg.valueMatrix(i,grd_asrtjudg.colRef("diagcdfrom")); // 시작상병코드
- var diagcdto = grd_asrtjudg.valueMatrix(i,grd_asrtjudg.colRef("diagcdto")); // 종료상병코드
- var orddeptinclyn = grd_asrtjudg.valueMatrix(i,grd_asrtjudg.colRef("orddeptinclyn")); // 진료과포함여부
- var orddeptcd = grd_asrtjudg.valueMatrix(i,grd_asrtjudg.colRef("orddeptcd")); // 진료과코드
- var ageinclyn = grd_asrtjudg.valueMatrix(i,grd_asrtjudg.colRef("ageinclyn")); // 나이포함여부
- var agefrom = grd_asrtjudg.valueMatrix(i,grd_asrtjudg.colRef("agefrom")); // 시작나이
- var ageto = grd_asrtjudg.valueMatrix(i,grd_asrtjudg.colRef("ageto")); // 종료나이
- var status = grd_asrtjudg.rowStatus(i);
-
- if (status == 0) {
- continue;
-
- } else {
- // 심사자는 선택되어야 한다.
- if (judgid == "") {
- messageBox("심사자를","C002");
- return false;
- }
-
- // 수가코드는 필수 입력되어야 한다.
- if (calcscorcd == "") {
- messageBox("수가코드는","I003");
- return false;
- }
-
- // 종료일자는 필수 입력되어야 한다.
- if (todd == "") {
- messageBox("종료일자는","I003");
- return false;
- }
-
- // 시작일자가 종료일자보다 클 수 없습니다.
- if (todd < fromdd) {
- messageBox("시작일자가 종료일자보다 큽니다.","I999");
- return false;
- }
-
- // 상병포함여부가 체크 되었을때는 시작상병 코드가 입력되어야 한다.
- if (diaginclyn == "true") {
- if (isNull(diagcdfrom)) {
- messageBox("상병포함여부가 체크되었을때 시작상병 코드는","I003");
- return false;
- }
- if (isNull(diagcdto)) {
- messageBox("상병포함여부가 체크되었을때 종료상병 코드는","I003");
- return false;
- }
- }
-
- // 진료과포함여부가 체크 되었을때는 진료과 코드가 입력되어야 한다.
- if (orddeptinclyn == "true") {
- if (isNull(orddeptcd) || orddeptcd == "-") {
- messageBox("진료과포함여부가 체크되었을때 진료과는","I003");
- return false;
- }
- }
-
- // 나이포함여부가 체크 되었을때는 시작나이가 입력되어야 한다.
- if (orddeptinclyn == "true") {
- if (isNull(agefrom)) {
- messageBox("나이포함여부가 체크되었을때 시작나이는.","I003");
- return false;
- }
- if (isNull(ageto)) {
- messageBox("나이포함여부가 체크되었을때 종료나이는.","I003");
- return false;
- }
- if (agefrom > ageto) {
- messageBox("시작나이가 종료나이보다 많습니다.","I999");
- return false;
- }
- if (agefrom < 0 || ageto < 0 || agefrom > 150 || ageto > 150) {
- messgaeBox("나이 범위가 올바르지 않습니다.","I999");
- return false;
- }
- }
- }
- }
- return true;
- }
-
- // 상병조회 팝업에서 상병을 더블클릭 했을경우 상병 그리드에 반영, 상병명은 상병조회팝업의 상병명을 사용하지 않고 ICD10의 상병명 사용(상병조회팝업은 확장상병명)
- function fSetDiagCdNm() {
- model.setValue("/root/send/item2/grdsrchnm/searchkind","2");
- model.setValue("/root/send/item2/grdsrchnm/iptsearch",model.getValue("/root/hidden/sppiz00400/rslt/diagcd"));
-
- submit("TRPIB00202");
- model.setValue("/root/hidden/sppiz00400/rslt/diaghngnm",model.getValue("/root/temp/calcdiagnm/hngnm"));
-
- var row = grd_asrtjudg.row;
- var col = grd_asrtjudg.col;
-
- if (col == 10) {
- model.setValue("/root/main/list1/listjchk["+row+"]/diagcdfrom", model.getValue("/root/hidden/sppiz00400/rslt/diagcd"));
- model.setValue("/root/main/list1/listjchk["+row+"]/diagnmfrom", model.getValue("/root/hidden/sppiz00400/rslt/diaghngnm"));
- }
- if (col ==12) {
- model.setValue("/root/main/list1/listjchk["+row+"]/diagcdto", model.getValue("/root/hidden/sppiz00400/rslt/diagcd"));
- model.setValue("/root/main/list1/listjchk["+row+"]/diagnmto", model.getValue("/root/hidden/sppiz00400/rslt/diaghngnm"));
- }
- //model.refresh();
- }
-
- function fSrchNm() {
- var row = grd_asrtjudg.row;
- var col = grd_asrtjudg.col;
-
- // 수가코드
- if (col == 2) {
- model.setValue("/root/send/item2/grdsrchnm/iptsearch",model.getValue("/root/main/list1/listjchk["+row+"]/calcscorcd"));
- model.setValue("/root/send/item2/grdsrchnm/searchkind","1");
- }
- // 시작상병코드
- else if (col == 10){
- model.setValue("/root/send/item2/grdsrchnm/iptsearch",model.getValue("/root/main/list1/listjchk["+row+"]/diagcdfrom"));
- model.setValue("/root/send/item2/grdsrchnm/searchkind","2");
- }
- // 종료상병코드
- else if (col == 12){
- model.setValue("/root/send/item2/grdsrchnm/iptsearch",model.getValue("/root/main/list1/listjchk["+row+"]/diagcdto"));
- model.setValue("/root/send/item2/grdsrchnm/searchkind","2");
- }
-
- submit("TRPIB00202");
-
- var hngnm = model.getValue("/root/temp/calcdiagnm/hngnm");
- if (hngnm == "") {
- if (col == 2) {
- modal("SMPIC00200" ,"", "10", "10", "SMPIC00200","/root/send/item2/grdsrchnm/iptsearch", "/root/temp", "", "");
- model.setValue("/root/main/list1/listjchk["+row+"]/calcscorcd",model.getValue("/root/temp/picmmech/picmmech_calcscorcd"));
- model.setValue("/root/main/list1/listjchk["+row+"]/ordnm",model.getValue("/root/temp/picmmech/picmmech_hngnm"));
- }
- else {
- if (col == 10 || col == 12) {
- model.setValue("/root/send/item3/srchdiag/basedd", model.getValue("/root/send/item1/itemjchk/badd"));
- if (col == 10) {
- model.setValue("/root/send/item3/srchdiag/diagcd", model.getValue("/root/main/list1/listjchk["+row+"]/diagcdfrom"));
- } else {
- model.setValue("/root/send/item3/srchdiag/diagcd", model.getValue("/root/main/list1/listjchk["+row+"]/diagcdto"));
- }
- model.setValue("/root/send/item3/srchdiag/selectedrdodiagkind","1"); // icd10으로
- modal("SPPIZ00400" ,"", "10", "10", "SPPIZ00400", "/root/send/item3/srchdiag", "/root/init", "", "");
- }
- }
- // 팝업에서 아무것도 선택하지 않았을 경우- 그리드의 내용을 지운다.
- if (col == 2) {
- var srchnm = model.getValue("/root/temp/picmmech/picmmech_hngnm");
- if (srchnm == "") {
- model.setValue("/root/main/list1/listjchk[" + row + " ]/calcscorcd","");
- model.setValue("/root/main/list1/listjchk[" + row + " ]/ordnm","");
- }
- }
- if (col == 10) {
- var srchnm = model.getValue("/root/hidden/sppiz00400/rslt/diaghngnm");
- if (srchnm == "") {
- model.setValue("/root/main/list1/listjchk[" + row + " ]/diagcdfrom","");
- model.setValue("/root/main/list1/listjchk[" + row + " ]/diagnmfrom","");
- }
- }
- if (col == 12) {
- var srchnm = model.getValue("/root/hidden/sppiz00400/rslt/diaghngnm");
- if (srchnm == "") {
- model.setValue("/root/main/list1/listjchk[" + row + " ]/diagcdto","");
- model.setValue("/root/main/list1/listjchk[" + row + " ]/diagnmto","");
- }
- }
- }
- else {
- if (col == 2) {
- model.setValue("/root/main/list1/listjchk["+row+"]/ordnm",model.getValue("/root/temp/calcdiagnm/hngnm"));
- }
- if (col == 10) {
- model.setValue("/root/main/list1/listjchk["+row+"]/diagnmfrom",model.getValue("/root/temp/calcdiagnm/hngnm"));
- var diagcdto = model.getValue("/root/main/list1/listjchk[" + row + " ]/diagcdto");
- var diagnmto = model.getValue("/root/main/list1/listjchk[" + row + " ]/diagnmto");
- if(diagcdto == "" && diagnmto == "") {
- model.setValue("/root/main/list1/listjchk[" + row + " ]/diagcdto",model.getValue("/root/main/list1/listjchk[" + row + " ]/diagcdfrom"));
- model.setValue("/root/main/list1/listjchk[" + row + " ]/diagnmto",model.getValue("/root/temp/calcdiagnm/hngnm"));
- }
- }
- if (col == 12) {
- model.setValue("/root/main/list1/listjchk["+row+"]/diagnmto",model.getValue("/root/temp/calcdiagnm/hngnm"));
- }
- }
-
-
- }
-
- function fCheckDelData() {
- var rows = grd_asrtjudg.rows;
-
- for(var i = 1; i <= rows; i++){
- grd_asrtjudg.rowStyle(i,"all","color") = "#000000";
- var todd = model.getValue("/root/main/list1/listjchk[" + i + "]/todd");
- var currentdate = getCurrentDate()
- if(todd <= currentdate) {
- grd_asrtjudg.rowStyle(i,"all","color") = "#FF0000";
- grd_asrtjudg.isReadOnly(i, 1, i, 24) = true;
- } else {
- grd_asrtjudg.isReadOnly(i, 1, i, 24) = false;
- }
- }
- //model.refresh();
- }
-
- function fCheckJudgrid(mode)
- {
-
- // 2008. 01. 30 박지욱 임시 주석처리 (행추가, 행삭제시에 아이디 체크하지 않고 저장가능하게 함)
-
-
- // var row = grd_asrtjudg.rows;
- //
- // if (mode == 1) { // 그리드에서 호출
- // var userid = model.getValue("/root/main/list1/listjchk[" + grd_asrtjudg.row + "]/judgid");
- // } else {
- // var userid = getUserId();
- // }
- //
- // // 그리드 활성화
- // for(var i = 1; i<row;i++) {
- // for(var j=1;j<row;j++) {
- // grd_asrtjudg.isReadOnly(i,j) = false;
- // }
- // }
- //
- // // 심사자가 세션userid와 같지 않으면
- // if(cmb_judger.value != userid ) {
- // btn_addRow.disabled = true; // 행추가버튼 비활성화
- // btn_delRow.disabled = true; // 행삭제버튼 비활성화
- // btn_save.disabled = true;
- //
- // // 그리드 비활성화
- // for(var i = 1; i<row;i++) {
- // for(var j=1;j<row;j++) {
- // grd_asrtjudg.isReadOnly(i,j) = true;
- // }
- // }
- // if (mode == 1 && userid == "-") {
- // btn_addRow.disabled = false; // 행추가버튼 활성화
- // btn_delRow.disabled = false; // 행삭제버튼 활성화
- // btn_save.disabled = false;
- //
- // for(var i = 1; i<row;i++) {
- // for(var j=1;j<row;j++) {
- // grd_asrtjudg.isReadOnly(i,j) = false;
- // }
- // }
- // }
- // }
- // // 심사자가 세션userid와 같으면
- // else {
- // btn_addRow.disabled = false; // 행추가버튼 활성화
- // btn_delRow.disabled = false; // 행삭제버튼 활성화
- // btn_save.disabled = false;
- // }
- }
-
- // 20070822 => 기초정보관리 화면 수정요청사항 - default 빈칸 자동 생성되어 있도록!(행추가 없이도 자동 한줄추가) : 2007.08.27 김건기
- function fAddRow() {
-
- if (!btn_addRow.disabled) {
- grd_asrtjudg.addRow();
-
- var today = getCurrentDate(); // 현재 날짜를 얻어옴
- var userid = getUserId();
-
-
- // 행추가후 기본적인 data를 넣어준다(default 값)
- model.setValue("/root/main/list1/listjchk[" + grd_asrtjudg.row+ "]/judgid",userid);
- model.setValue("/root/main/list1/listjchk[" + grd_asrtjudg.row+ "]/ioflag","-");
- model.setValue("/root/main/list1/listjchk[" + grd_asrtjudg.row+ "]/workflag","-");
- model.setValue("/root/main/list1/listjchk[" + grd_asrtjudg.row+" ]/fromdd", today);
- model.setValue("/root/main/list1/listjchk[" + grd_asrtjudg.row+" ]/todd", "99991231");
- model.setValue("/root/main/list1/listjchk[" + grd_asrtjudg.row+ "]/diaginclyn","false");
- model.setValue("/root/main/list1/listjchk[" + grd_asrtjudg.row+ "]/drugqty",0);
- model.setValue("/root/main/list1/listjchk[" + grd_asrtjudg.row+ "]/dayno",0);
- model.setValue("/root/main/list1/listjchk[" + grd_asrtjudg.row+ "]/totdrugqty",0);
- model.setValue("/root/main/list1/listjchk[" + grd_asrtjudg.row+ "]/orddeptcd","-");
- model.setValue("/root/main/list1/listjchk[" + grd_asrtjudg.row+ "]/gndr","-");
- model.setValue("/root/main/list1/listjchk[" + grd_asrtjudg.row+ "]/hosinoutflag","-");
- model.setValue("/root/main/list1/listjchk[" + grd_asrtjudg.row+ "]/ageinclyn","false");
- model.setValue("/root/main/list1/listjchk[" + grd_asrtjudg.row+ "]/orddeptinclyn","false");
- model.setValue("/root/main/list1/listjchk[" + grd_asrtjudg.row+ "]/bfjudgflag","N");
-
- // 자동 행추가에 따른 변경 여부 확인을 위해 추가
- model.makeNode("/root/main/list1/listjchk[" + grd_asrtjudg.row+ "]/changeflag");
- model.setValue("/root/main/list1/listjchk[" + grd_asrtjudg.row+ "]/changeflag","I");
- }
- }
-
- // 조회 및 다음페이지
- function fChangePage() {
- // 행추가 없이도 자동 한줄추가에 따른 자동 추가된 행 제외 부분 추가
- for( i = grd_asrtjudg.fixedRows; i < grd_asrtjudg.rows ; i++ ) {
-
- var rowstatus = grd_asrtjudg.rowStatus(i);
-
- if (rowstatus == 1 || rowstatus == 3) {
-
- var changeflag = model.getValue("/root/main/list1/listjchk[" + i + "]/changeflag");
-
- if (changeflag == "I") {
- grd_asrtjudg.rowStatus(i) = 0;
- }
- }
- }
-
- var updtdata = getGridUpdateData(grd_asrtjudg);
-
- if (updtdata != "") // 그리드에 작업중인 내용이 있을때 조회여부를 체크한다.
- {
- var ret = messageBox("그리드에 작업중인 내용이 있습니다. 조회를","Q003");
- if(ret != 6){
- return false;
- }
- }
-
- model.removeNodeset("/root/main/list1/listjchk");
-
- if ( fCheckGetAsrtJudgCdInfo()) { //입력항목을 체크
- submit("TRPIB00201");
-
- // 데이터 입력을 위하여 임시로 막아 놓음... 박도형
- //judgridCheck(0);
- fCheckDelData();
-
- // 그리드에 수가코드를 edit 할 수 없게 막아 놓음...박지욱
- // var row = grd_asrtjudg.rows;
- // for(var i = 1; i<row;i++) {
- // grd_asrtjudg.isReadOnly(i,2) = true;
- // }
-
- // 20070822 => 기초정보관리 화면 수정요청사항 - default 빈칸 자동 생성되어 있도록!(행추가 없이도 자동 한줄추가) : 2007.08.27 김건기
- fAddRow();
- }
- //grd_asrtjudg.row= 1;
- }
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="1,1194;1,1591;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:134px; height:13px; ">선별 심사 코드 관리</caption>
- </group>
- <group id="group3" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
- <group id="group2" style="left:0px; top:10px; width:1194px; height:35px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" style="left:0px; top:0px; width:1194px; height:35px; "/>
- <button id="btn_srch" class="btn1_letter2" style="left:1128px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/send/item1/itemjchk/rownum",0);
-
- fChangePage();
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:1118px; y1:7px; x2:1118px; y2:29px; "/>
- <caption id="caption2" class="search_name" style="left:180px; top:9px; width:86px; height:17px; ">기준일자 :</caption>
- <caption id="caption3" class="search_name" style="left:365px; top:9px; width:86px; height:17px; ">작업구분 :</caption>
- <input id="ipt_badd" ref="/root/send/item1/itemjchk/badd" class="input_search" inputtype="date" style="left:270px; top:8px; width:91px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- // 데이터 입력작업을 위하여 임시로 막아 놓음
- // model.setFocus("cmb_workflag");
- ]]>
- </script>
- </input>
- <select1 id="cmb_workflag" ref="/root/send/item1/itemjchk/workflag" class="combo_search" appearance="minimal" style="left:454px; top:8px; width:60px; height:19px; ">
- <choices>
- <item>
- <label>전 체</label>
- <value>-</value>
- </item>
- <item>
- <label>사전</label>
- <value>11</value>
- </item>
- <item>
- <label>사후</label>
- <value>12</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- model.setFocus("cmb_ioflag");
- ]]>
- </script>
- </select1>
- <select1 id="cmb_ioflag" ref="/root/send/item1/itemjchk/ioflag" class="combo_search" appearance="minimal" style="left:615px; top:8px; width:60px; height:19px; ">
- <choices>
- <item>
- <label>전 체</label>
- <value>-</value>
- </item>
- <item>
- <label>입 원</label>
- <value>I</value>
- </item>
- <item>
- <label>외 래</label>
- <value>O</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- model.setFocus("ipt_calcscorcd");
- ]]>
- </script>
- </select1>
- <caption id="caption1" class="search_name" style="left:519px; top:9px; width:95px; height:17px; ">입원/외래 :</caption>
- <caption id="caption7" class="search_name" style="left:681px; top:9px; width:86px; height:17px; ">수가코드 :</caption>
- <input id="ipt_calcscorcd" ref="/root/send/item1/itemjchk/calcscorcd" class="input_search" imemode="disabled" inputtype="button" style="left:770px; top:8px; width:100px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_srch", "DOMActivate");
- ]]>
- </script>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- modal("SMPIC00200" ,"", "10", "10", "SMPIC00200", "/root/send/item1/itemjchk/calcscorcd", "/root/temp", "", "");
- var calcscorcd = model.getValue("/root/temp/picmmech/picmmech_calcscorcd");
- if (calcscorcd != "") {
- model.setValue("/root/send/item1/itemjchk/calcscorcd", calcscorcd);
- ipt_calcscorcd.refresh();
- }
- ]]>
- </script>
- </input>
- <caption id="caption4" class="search_name" style="left:875px; top:9px; width:125px; height:17px; ">종료건포함여부 :</caption>
- <select1 id="rdo_delinclude" ref="/root/send/item1/itemjchk/endinclude" appearance="full" cellspacing="5" cols="2" overflow="visible" style="left:1005px; top:10px; width:110px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>포함</label>
- <value>1</value>
- </item>
- <item>
- <label>미포함</label>
- <value>2</value>
- </item>
- </choices>
- </select1>
- <caption id="caption8" class="search_name" style="left:10px; top:9px; width:75px; height:17px; ">심사자 :</caption>
- <select1 id="cmb_judger" ref="/root/send/item1/itemjchk/judgid" class="combo_search" appearance="minimal" style="left:85px; top:8px; width:90px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/judgerlist/judger">
- <label ref="judgnm"/>
- <value ref="judgid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- // 데이터 입력을 위하여 임시로 막아 놓음... 박도형
- // judgridCheck(0);
- ]]>
- </script>
- </select1>
- </group>
- <button id="btn_prev" class="icon_left" visibility="hidden" _auth="R" style="left:955px; top:50px; width:26px; height:19px; ">
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var rownum = model.getValue("/root/send/item1/itemjchk/rownum");
- var prevnum = parseInt(rownum)-1;
- if (rownum >0) {
- model.setValue("/root/send/item1/itemjchk/rownum", prevnum);
- fChangePage();
- } else if (rownum == 0) {
- messageBox("첫 페이지입니다", "I008");
- return;
- }
- ]]>
- </script>
- <caption/>
- </button>
- <button id="btn_next" class="icon_right" visibility="hidden" _auth="R" style="left:985px; top:50px; width:26px; height:19px; ">
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var rownum = model.getValue("/root/send/item1/itemjchk/rownum");
- if (rownum > -1) {
- var nextnum = parseInt(rownum)+1;
- model.setValue("/root/send/item1/itemjchk/rownum", nextnum);
- fChangePage();
- }
- ]]>
- </script>
- <caption/>
- </button>
- <line id="line3" class="line_1" style="x1:0px; y1:70px; x2:1194px; y2:70px; "/>
- <datagrid id="grd_asrtjudg" nodeset="/root/main/list1/listjchk" overflow="scroll" scroll="auto" caption="심사자^수가코드^수가명^입원/외래^작업구분^순번^시작일자^종료일자^상병포함여부^시작상병코드^시작상병명^종료상병코드^종료상병명^수량^일수^총투^진료과포함여부^진료과^성별^나이포함여부^시작나이^종료나이^원내원외구분^수납전심사여부^참고사항^oldcalcscorcd^oldordnm^oldtodd^oldworkflag^changeflag" colsep="^" colwidth="100, 120, 200, 70, 70, 45, 90, 90, 82, 80, 80, 80, 80, 50, 50, 50, 90, 90, 40, 90, 55, 55, 90, 100, 250, 100, 100, 100, 100, 100" dataheight="23" ellipsis="true" explorerbar="sortshowmove" extendlastcol="scroll" focuscolor="#b9e5fb" frozencols="8" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" tooltip="true" style="left:0px; top:75px; width:1194px; height:640px; ">
- <col disabled="true" ref="judgid" type="combo">
- <choices>
- <itemset nodeset="/root/init/judgerlist/judger">
- <label ref="judgnm"/>
- <value ref="judgid"/>
- </itemset>
- </choices>
- </col>
- <col ref="calcscorcd" type="inputbutton"/>
- <col ref="ordnm" type="input"/>
- <col ref="ioflag" type="combo">
- <choices>
- <item>
- <label>전체</label>
- <value>-</value>
- </item>
- <item>
- <label>입원</label>
- <value>I</value>
- </item>
- <item>
- <label>외래</label>
- <value>O</value>
- </item>
- </choices>
- </col>
- <col disabled="true" ref="workflag" type="combo">
- <choices>
- <item>
- <label>전체</label>
- <value>-</value>
- </item>
- <item>
- <label>사전심사</label>
- <value>11</value>
- </item>
- <item>
- <label>사후심사</label>
- <value>12</value>
- </item>
- </choices>
- </col>
- <col ref="seqno" type="output"/>
- <col ref="fromdd" type="inputdate"/>
- <col ref="todd" type="inputdate"/>
- <col ref="diaginclyn" type="checkbox"/>
- <col disabled="true" imemode="disabled" ref="diagcdfrom" type="inputbutton"/>
- <col ref="diagnmfrom" type="output" style="left:830px; top:23px; width:199px; height:23px; "/>
- <col disabled="true" imemode="disabled" ref="diagcdto" type="inputbutton"/>
- <col ref="diagnmto" type="output"/>
- <col ref="drugqty" type="input" visibility="hidden" style="left:1060px; top:23px; width:50px; height:23px; "/>
- <col ref="dayno" type="input" visibility="hidden"/>
- <col ref="totdrugqty" type="input" visibility="hidden"/>
- <col ref="orddeptinclyn" type="checkbox"/>
- <col id="col_orddeptcd" ref="orddeptcd" type="combo" style="left:570px; top:23px; width:100px; height:23px; ">
- <choices>
- <itemset nodeset="/root/init/orddeptcd/orddeptcdlist">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col ref="gndr" type="combo" visibility="hidden">
- <choices>
- <item>
- <label>전 체</label>
- <value>-</value>
- </item>
- <item>
- <label>M</label>
- <value>M</value>
- </item>
- <item>
- <label>F</label>
- <value>F</value>
- </item>
- </choices>
- </col>
- <col ref="ageinclyn" type="checkbox"/>
- <col ref="agefrom" type="input" format="###" maxlength="3"/>
- <col ref="ageto" type="input" format="###" maxlength="3"/>
- <col ref="hosinoutflag" type="combo" visibility="hidden">
- <choices>
- <itemset nodeset="/root/init/P0165list/P0165">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="bfjudgflag" type="combo" visibility="hidden">
- <choices>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- </choices>
- </col>
- <col ref="remfact" type="inputbutton"/>
- <col ref="oldcalcscorcd" visibility="hidden"/>
- <col ref="oldordnm" visibility="hidden"/>
- <col ref="oldtodd" visibility="hidden"/>
- <col ref="oldworkflag" visibility="hidden"/>
- <col ref="changeflag" visibility="hidden"/>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- var col = grd_asrtjudg.col;
- var row = grd_asrtjudg.row;
- if ( col == 2 || col == 10 || col == 12) { // 수가코드, 시작상병코드, 종료상병코드
- fSrchNm();
- }
- if (col == 24) { // 참고사항
- model.setValue("/root/tmp/remfact/text/memo",model.getValue("/root/main/list1/listjchk[" + row + " ]/remfact"));
- ipt_remfact.refresh();
- grp_remfact.visible= true;
- }
-
- var rowstatus = grd_asrtjudg.rowStatus(row);
-
- if (rowstatus == 1 || rowstatus == 3) {
- model.setValue("/root/main/list1/listjchk[" + row+ "]/changeflag","U");
- //model.refresh();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onendedit">
- <![CDATA[
- var col = grd_asrtjudg.col;
- var row = grd_asrtjudg.row;
- if ( col == 2 || col == 10 || col == 12) {
- fSrchNm();
- }
-
- var rowstatus = grd_asrtjudg.rowStatus(row);
-
- if (rowstatus == 1 || rowstatus == 3) {
- model.setValue("/root/main/list1/listjchk[" + row+ "]/changeflag","U");
- //model.refresh();
- }
-
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var col = grd_asrtjudg.col;
- var row = grd_asrtjudg.row;
-
- // 심사자 변경시 심사자 체크
- if (col == 1) {
- fCheckJudgrid(1);
- }
- // 기존 수가 변경시 변경 못하게 처리, row 변경상태도 안되게 처리
- else if (col == 2) {
- var newcalcscorcd = grd_asrtjudg.valueMatrix(row, grd_asrtjudg.colRef("calcscorcd"));
- var oldcalcscorcd = grd_asrtjudg.valueMatrix(row, grd_asrtjudg.colRef("oldcalcscorcd"));
- if (oldcalcscorcd != "" && oldcalcscorcd != newcalcscorcd) {
- messageBox("수가코드는 변경", "E001");
- grd_asrtjudg.valueMatrix(row, grd_asrtjudg.colRef("calcscorcd")) = oldcalcscorcd;
- grd_asrtjudg.rowstatus(row) = 0;
- grd_asrtjudg.gridToInstance();
- }
- }
- // 기존 수가명 변경 못하게 처리, row 변경상태도 안되게 처리
- else if (col == 3) {
- var oldordnm = grd_asrtjudg.valueMatrix(row, grd_asrtjudg.colRef("oldordnm"));
- var newordnm = grd_asrtjudg.valueMatrix(row, grd_asrtjudg.colRef("ordnm"));
- if (oldordnm != "" && oldordnm != newordnm) {
- messageBox("수가명은 변경", "E001");
- grd_asrtjudg.valueMatrix(row, grd_asrtjudg.colRef("ordnm")) = oldordnm;
- grd_asrtjudg.rowstatus(row) = 0;
- grd_asrtjudg.gridToInstance();
- }
- }
-
- var rowstatus = grd_asrtjudg.rowStatus(row);
- if (rowstatus == 1 || rowstatus == 3) {
- model.setValue("/root/main/list1/listjchk[" + row+ "]/changeflag","U");
- //model.refresh();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_asrtjudg.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <caption id="caption5" class="tit_2" style="left:5px; top:55px; width:136px; height:13px; ">선별 심사 코드 목록</caption>
- <button id="btn_delRow" class="btn2_letter3" style="left:1140px; top:50px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var row = grd_asrtjudg.row;
-
- if (row < 1) {
- messageBox("먼저 삭제할 내역을 선택하십시요!","E999","");
- return;
- }
-
- grd_asrtjudg.deleteitem(row);
-
- /*
- var rowstatus = grd_asrtjudg.rowstatus(row);
-
- if (rowstatus == 1 || rowstatus == 3) {
- grd_asrtjudg.deleteRow(row,true);
- } else {
- grd_asrtjudg.addstatus(row, "delete");
- }
- */
- ]]>
- </script>
- </button>
- <button id="button2" class="btn2_letter4" style="left:1015px; top:50px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if (grd_asrtjudg.rows == 1) {
- return;
- }
-
- var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "")
- {
- grd_asrtjudg.saveExcel(fileName, "SheetName", true, true, "", "", true);
- messageBox("EXCEL 저장이 완료되었습니다.","I999");
- }
- ]]>
- </script>
- </button>
- <button id="btn_addRow" class="btn2_letter3" style="left:1083px; top:50px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 20070822 => 기초정보관리 화면 수정요청사항 - default 빈칸 자동 생성되어 있도록!(행추가 없이도 자동 한줄추가) : 2007.08.27 김건기
- fAddRow();
- ]]>
- </script>
- </button>
- <group id="grp_remfact" visibility="hidden" style="left:410px; top:255px; width:415px; height:275px; ">
- <shape id="roundrect3" appearance="roundrect" ellipsewidth="20" ellipseheight="20" style="left:2px; top:2px; width:413px; height:272px; "/>
- <textarea id="ipt_remfact" ref="/root/tmp/remfact/text/memo" style="left:6px; top:24px; width:404px; height:216px; "/>
- <caption id="caption15" class="search_name" style="left:6px; top:5px; width:154px; height:17px; ">참고사항 입력/조회</caption>
- <button id="btn_confirm" class="btn4_letter2" style="left:295px; top:245px; width:56px; height:22px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var row = grd_asrtjudg.row;
- var value = model.getValue("/root/main/list1/listjchk[" + row + "]/remfact");
- if(value != ipt_remfact.value){
- model.setValue("/root/main/list1/listjchk[" + row + "]/remfact",ipt_remfact.currentText);
- grd_asrtjudg.addstatus(grd_asrtjudg.row, "update");
- }
- ipt_remfact.value= "";
- ipt_remfact.refresh();
- grp_remfact.visible = false;
- ]]>
- </script>
- </button>
- <button id="btn_cancel" class="btn4_letter2" style="left:354px; top:245px; width:56px; height:22px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- ipt_remfact.value= "";
- grp_remfact.visible = false;
- ]]>
- </script>
- </button>
- </group>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:757px; width:1195px; height:27px; ">
- <line id="line23" class="line_6" style="x1:0px; y1:0px; x2:1194px; y2:0px; "/>
- <button id="button5" class="btn4_letter3" style="left:1125px; top:5px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fInitialize();
-
- // 20070822 => 기초정보관리 화면 수정요청사항 - default 빈칸 자동 생성되어 있도록!(행추가 없이도 자동 한줄추가) : 2007.08.27 김건기
- fAddRow();
-
- ]]>
- </script>
- </button>
- <button id="btn_save" class="btn4_letter2" style="left:1064px; top:5px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- if (fCheckSaveAsrtJudgCdInfo()) { // 저장될 데이터의 유효성 체크
-
- model.setValue("/root/send/updatedata/datalist",grd_asrtjudg.getupdatedata());
-
- if ( submit("TXPIB00201") ) {
- model.removeNodeset("/root/main/list1/listjchk");
- submit("TRPIB00201");
- fCheckDelData();
- grd_asrtjudg.clearStatus(); // submit() 성공하면 그리드의 i,u 상태 제거
-
- // 20070822 => 기초정보관리 화면 수정요청사항 - default 빈칸 자동 생성되어 있도록!(행추가 없이도 자동 한줄추가) : 2007.08.27 김건기
- fAddRow();
-
- messageBox("정상적으로 저장되었습니다.", "I999");
- }
- }
- ]]>
- </script>
- </button>
- <button id="button1" class="btn4_letter5" style="left:965px; top:5px; width:56px; height:22px; ">
- <caption>다음페이지</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var rownum = model.getValue("/root/send/item1/itemjchk/rownum");
- if (rownum > -1) {
- var nextnum = parseInt(rownum)+1;
- model.setValue("/root/send/item1/itemjchk/rownum", nextnum);
- fChangePage();
- }
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|