123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990 |
- /**
- * @---------------------------------------------------
- * @desc : 감면사례보고 조회시 기본정보 setting
- * @param :
- * @return :
- * @---------------------------------------------------
- */
- function fInitialize_00900(){
- zbcfGetCodeList(new Array("M0446"), new Array("/root/init/reductcaserept/insuflag"), true);
- mmbfGetDeptCodeComboList("/root/send/reqdata", "/root/init/reductcaserept/orddept", "O"); //진료과 항목 설정
- mmbfGetUserComboList("/root/send/reqdata", "/root/init/reductcaserept/anstdr", "2090000000", "0330"); //마취의 항목설정
-
- if(parent.model.getValue("/root/main/condition/acptno") == ""){ //최초입력 시
- fSetDr();
- }
- else{ //조회 후 초기화
- var orddept = parent.model.getValue("/root/tmp/reptinfo/reductinfo/civilapldeptcd" );
- model.setValue("/root/main/cond/civilapldeptcd" , orddept);
- mmbfGetUserComboList("/root/send/reqdata", "/root/init/reductcaserept/pertdr", orddept, "0330");
-
- model.setValue("/root/main/cond/insuflagcd" , parent.model.getValue("/root/tmp/reptinfo/reductinfo/insuflagcd" ) );
- model.setValue("/root/main/cond/opdate" , parent.model.getValue("/root/tmp/reptinfo/reductinfo/opdate" ) );
- model.setValue("/root/main/cond/opnm" , parent.model.getValue("/root/tmp/reptinfo/reductinfo/opnm" ) );
- model.setValue("/root/main/cond/pertdr" , parent.model.getValue("/root/tmp/reptinfo/reductinfo/pertdr" ) );
- model.setValue("/root/main/cond/anstdr" , parent.model.getValue("/root/tmp/reptinfo/reductinfo/anstdr" ) );
- model.setValue("/root/main/cond/reldremp" , parent.model.getValue("/root/tmp/reptinfo/reductinfo/reldremp" ) );
- var chkcase = parent.model.getValue("/root/tmp/reptinfo/reductinfo/chkcase" )
- model.setValue("/root/main/cond/chkcase" , chkcase );
- if(chkcase.search("07") > -1){
- model.setValue("/root/main/cond/caseetccnts" , parent.model.getValue("/root/tmp/reptinfo/reductinfo/caseetccnts" ) );
- tar_caseetccnts.visible = true;
- }
- model.setValue("/root/main/cond/detldesccnts" , parent.model.getValue("/root/tmp/reptinfo/reductinfo/detldesccnts" ) );
-
- }
- model.refresh();
- }
- /**
- * @---------------------------------------------------
- * @desc : 대상자정보 가져오기
- * @param :
- * @return :
- * @---------------------------------------------------
- */
- function fSetDr(){
- model.setValue("/root/main/cond/opdate" , parent.model.getValue("/root/tmp/trgtinfo/opdate"));
- orddept = parent.model.getValue("/root/tmp/trgtinfo/civilapldeptcd");
- if(orddept == ""){
- mmbfGetUserComboList("/root/send/reqdata", "/root/init/reductcaserept/pertdr", getUserInfo("dutplcecd"), "0330"); //
- }else{
- mmbfGetUserComboList("/root/send/reqdata", "/root/init/reductcaserept/pertdr", orddept, "0330");
- }
-
- model.setValue("/root/main/cond/civilapldeptcd" , orddept );
- model.setValue("/root/main/cond/opnm" , parent.model.getValue("/root/tmp/trgtinfo/opnm"));
- model.setValue("/root/main/cond/pertdr" , parent.model.getValue("/root/tmp/trgtinfo/pertdr"));
- model.setValue("/root/main/cond/anstdr" , parent.model.getValue("/root/tmp/trgtinfo/anstdr"));
- model.refresh();
- }
- /**
- * @---------------------------------------------------
- * @desc : 필수입력 콘트롤에 값이 입력되어있는지 체크
- * @param :
- * @return : true or false
- * @---------------------------------------------------
- */
- function fDetlCheck(){
-
-
-
-
- if(!isRequiredControls("cmb_insuflagcd", "chk_chkcase")){
- return false;
- }
- return true;
- }
-
-
-
-
-
-
-
-
-
-
-
-
|