123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698 |
- <?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>QC접수관리</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <qcacptlist>
- <acptdt/>
- <eqmtnm/>
- <eqmtcd/>
- </qcacptlist>
- <tclscdlist>
- <bcchk/>
- <chk/>
- <bcno/>
- <levlnm/>
- <matrnm/>
- <testnm/>
- <matrcd/>
- <levlcd/>
- <testcd/>
- <matrfromdd/>
- <acptbcflag/>
- <rsltstat/>
- <lotno/>
- </tclscdlist>
- <bcnoinfo/>
- <barcdprntsetup>
- <prntsetupinfo>
- <setupinfo/>
- </prntsetupinfo>
- </barcdprntsetup>
- </main>
- <send>
- <codeflag/>
- <deptflag/>
- <basecdid/>
- <eqmtcd/>
- <acptflag/>
- <acptdt/>
- <tclscdlist/>
- <scrnid/>
- <acptfromdd/>
- <acpttodd/>
- <matrcd/>
- <bcno/>
- </send>
- <init/>
- <hidden>
- <acptdt/>
- <execdept>00</execdept>
- <eqmt>00</eqmt>
- <acptflag>00</acptflag>
- <acptfromdd/>
- <acpttodd/>
- <bcno/>
- </hidden>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fSetInit();
- ]]>
- </script>
- <script type="javascript" src="../../../lis/commonweb/js/LZZ001.js"/>
- <script type="javascript" src="../../../lis/commonweb/js/LQZ001.js"/>
- <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="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../lis/commonweb/js/HanFont24.js"/>
- <submission id="TRLZZ00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/LB0111"/>
- <submission id="TRLQJ00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/tclscdlist"/>
- <submission id="TXLQJ00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/bcnoinfo"/>
- <submission id="TRLLC90101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/barcdprntsetup"/>
- <submission id="TRLQJ00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/qcacptlist"/>
- <submission id="TRLQJ00103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/tclscdlist"/>
- <submission id="TXLQJ00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send"/>
- </model>
- <script type="javascript">
- <![CDATA[
- //#################################### 접수, 미접수 공통 #########################################################
- //초기화 버튼
- function fSetInit(){
-
- model.setValue("/root/send/scrnid", getScreenID()); //바코드프린터 설정 관련 화면아이디조회?
- submit("TRLLC90101");
- //lzzfMakeBrcdPrntObj("CommAX"); //바코드출력 위해
- lzzfMakeBrcdPrntObjHanDo("CommAX"); //한도에서 제공한 OCX로 변경 20080701
-
-
- //그리드 초기화
- model.removeNodeset("/root/main/qcacptlist");
- grd_qcAcptList.rebuild();
- model.removeNodeset("/root/main/tclscdlist");
- grd_tclsCdList.rebuild();
- model.removeNodeset("/root/init");
-
- //조회구분 날짜 설정
- model.setValue("/root/hidden/acptdt", getCurrentDate());
- model.setValue("/root/hidden/acptfromdd", getCurrentDate());
- model.setValue("/root/hidden/acpttodd", getCurrentDate());
-
- //미접수탭 선택
- fBcnoVisible("F");
- model.toggle("case1");
-
- model.setValue("/root/send/codeflag","0000|0111|0701|"); //0000:사용자부서코드, 0111:시행부서계 0707: 장비코드
- submit("TRLZZ00101");
- model.setValue("/root/send/codeflag","0704|"); //0704: 접수구분
- model.setValue("/root/send/basecdid", model.getValue("/root/init/LB0000/nm"));
- submit("TRLZZ00101"); //부서에 따른 접수구분 조회
-
- }
-
- //키입력이벤트
- function fKeyEvent(){
- if(event.keyCode == "13"){
- if(event.target == "ipt_bcno"){
- model.setValue("/root/hidden/bcno", (ipt_bcno.currentText).toUpperCase());
-
- fGetAcptList();
- }
- }
- }
-
- //장비코드설정
- function fSetEqmtCd(){
- model.removeNodeset("/root/main/tclscdlist");
- grd_tclsCdList.rebuild();
-
- model.removeNodeset("/root/init/LB0701");
-
- var execdept = model.getValue("/root/hidden/execdept");
- model.setValue("/root/send/basecdid", execdept); //검사실구분 코드(장비코드앞자리)
- model.setValue("/root/send/codeflag","0701|");
- model.setValue("/root/hidden/eqmt", '00');
-
- submit("TRLZZ00101");
- }
-
- //검사항목리스트 바코드 컬럼 보이기
- function fBcnoVisible(ref){
-
- model.resetInstanceNode("/root/send");
-
- model.removeNodeset("/root/main/qcacptlist");
- grd_qcAcptList.rebuild();
- model.removeNodeset("/root/main/tclscdlist");
- grd_tclsCdList.rebuild();
-
- if(ref == "T"){ //접수탭 선택
- grd_tclsCdList.colHidden(3) = false; //바코드번호 안보이기
- grd_tclsCdList.colHidden(15) = false; //결과상태 안보이기
- btn_acpt.attribute("visibility") = "hidden"; //접수버튼 사라지기
- btn_reiss.attribute("visibility") = "visible"; //재발행 버튼 보이게
- btn_acptcan.attribute("visibility") = "visible"; //접수취소버튼 보이게
- model.setValue("/root/hidden/acptflag", "00"); //접수구분 -전체- 로 셋팅
- }
- else { //미접수탭 선택
- grd_tclsCdList.colHidden(3) = true;
- grd_tclsCdList.colHidden(15) = true;
- btn_acpt.attribute("visibility") = "visible";
- btn_reiss.attribute("visibility") = "hidden";
- btn_acptcan.attribute("visibility") = "hidden";
- model.setValue("/root/hidden/acptflag", "0"); //접수구분 QC로 셋팅
- }
- model.refresh();
- }
-
- //바코드 구분 이미지 표시
- function fSetBcnoImg(){
-
- for(i=1; i<=grd_tclsCdList.rows-1; i++){
- if(model.getValue("/root/main/tclscdlist[" +i+"]/bcflag")=="0"){ //bcflag = 바코드구분하기 위한 값이 있다면 바코드 구분됨 0 or 1(미접수탭은 0, 접수탭은 1)
- grd_tclsCdList.cellstyle("background-image", i, 1) = "../../../lis/commonweb/images/chkBC0.gif"; //바코드체크이미지 설정
- grd_tclsCdList.cellstyle("background-position", i, 1) = "center";
- }else if(model.getValue("/root/main/tclscdlist[" +i+"]/bcflag")=="1"){ //bcflag = 바코드구분하기 위한 값
- grd_tclsCdList.cellstyle("background-image", i, 1) = "../../../lis/commonweb/images/chkBC1.gif"; //바코드체크이미지 설정
- grd_tclsCdList.cellstyle("background-position", i, 1) = "center";
- }
- }
- grd_tclsCdList.refresh();
- }
-
- //검사항목 리스트 바코드 구분 선택(바코드이미지 선택했을때 체크박스 자동 선택 해제기능)
- function fSetGrdChoi(){
- var row = grd_tclsCdList.row;
- var col = grd_tclsCdList.col;
-
- if(grd_tclsCdList.isCell(event.target) && grd_tclsCdList.row >= grd_tclsCdList.fixedRows){
-
- if(col == 1){ //바코드 구분을 선택하였을때
- if(model.getValue("/root/main/tclscdlist[" + row + "]/bcflag") == "1"){ //바코드 구분이 선택되어있으면
- model.setValue("/root/main/tclscdlist[" + row + "]/bcflag", "0"); //바코드 선택을 해제하고
- model.setValue("/root/main/tclscdlist[" + row + "]/chk", "0"); //선택된 체크값도 해제한다
-
- grd_tclsCdList.cellstyle("background-image", row, 1) = "../../../lis/commonweb/images/chkBC0.gif"; //바코드 구분 이미지를 체크해제 이미지로 변경한다
-
- if(row+1 <= grd_tclsCdList.rows-1){
- for(iRow=row+1; ;iRow++){
- if(model.getValue("/root/main/tclscdlist[" + iRow + "]/bcflag") == "1" ||model.getValue("/root/main/tclscdlist[" + iRow + "]/bcflag") == "0" || iRow>grd_tclsCdList.rows-1 ){
- break; //다음 바코드구분을 만나거나 마지막이라면 끝~
- }
- model.setValue("/root/main/tclscdlist[" + iRow + "]/chk", "0"); //선택값 체크해제
- }
- }
- }else if(model.getValue("/root/main/tclscdlist[" + row + "]/bcflag") == "0"){ //바코드 구분이 선택되어있지 않다면(해제상태)
- model.setValue("/root/main/tclscdlist[" + row + "]/bcflag", "1"); //바코드 선택하고
- model.setValue("/root/main/tclscdlist[" + row + "]/chk", "1"); //해제된 체크값도 선택한다
-
- grd_tclsCdList.cellstyle("background-image", row, 1) = "../../../lis/commonweb/images/chkBC1.gif"; //바코드 구분 이미지를 체크 이미지로 변경한다
-
- if(row+1 <= grd_tclsCdList.rows-1){
- for(iRow=row+1; ;iRow++){
- if(model.getValue("/root/main/tclscdlist[" + iRow + "]/bcflag") == "1" || model.getValue("/root/main/tclscdlist[" + iRow + "]/bcflag") == "0" || iRow>grd_tclsCdList.rows-1){
- break; //다음 바코드구분을 만나거나 마지막이라면 끝~
- }
- model.setValue("/root/main/tclscdlist[" + iRow + "]/chk", "1"); //선택값 체크해제
- }
- }
- }
- }
- }
- }
-
- //접수, 접수취소된 리스트 항목에서 사라진다~ removenodeset으로.. (사용안함)
- function fDelAcptList(){
- var kRows = grd_tclsCdList.rows;
- var i;
- for(i = 1 ; i < kRows ; i ++){
- if(model.getValue("/root/main/tclscdlist["+i+"]/chk") == "1"){
- model.removenodeset("/root/main/tclscdlist["+i+"]");
- i = i -1;
- kRows = kRows -1 ;
- }
- }
- model.refresh();
- }
-
- //접수, 접수취소된 항목 화면에서 사라지게~~ deleteRow방식 (사용안함.. 바코드 이미지 재설정하는 기능과 합침)
- function fSetDelSelect(){
- var maxRow = grd_tclsCdList.rows;
- for(i=0; i<=maxRow; i++){
- if(model.getValue("/root/main/tclscdlist[" + i + "]/chk") == "1"){ //선택된 항목
- grd_tclsCdList.deleteRow(i, "false")
- i = i-1;
- maxRow = maxRow -1
- }
- }
- }
-
- //선택된 항목 화면에서 지우고 바코드 이미지 다시 설정
- function fSetBcImg(){
- //접수된 항목 화면에서 사라지게~~ deleteRow방식
- var maxRow = grd_tclsCdList.rows;
- for(i=0; i<=maxRow; i++){
- if(model.getValue("/root/main/tclscdlist[" + i + "]/chk") == "1"){ //선택된 항목
- grd_tclsCdList.deleteRow(i, "false")
- i = i-1;
- maxRow = maxRow -1
- }
- }
-
- //바코드 구분 비교하여 바코드 이미지 셋팅
- for(i=1; i<maxRow; i++){
- var j = i-1; //이전 바코드구분값과 비교하기 위한 값 -_-
- if(i == 1){ //접수된 항목이 지워지고 난 후 첫번째 항목에 바코드이미지 셋팅
- grd_tclsCdList.cellstyle("background-image", i, 1) = "../../../lis/commonweb/images/chkBC0.gif";
- grd_tclsCdList.cellstyle("background-position", i, 1) = "center";
- model.setValue("/root/main/tclscdlist[" + i + "]/bcflag", "0");
- }else if(model.getValue("/root/main/tclscdlist[" + j +"]/acptbcflag") != model.getValue("/root/main/tclscdlist[" +i+"]/acptbcflag")){ //두번째부터는 이전 바코드 구분과 비교하여 다르다면 바코드 이미지 셋팅
- grd_tclsCdList.cellstyle("background-image", i, 1) = "../../../lis/commonweb/images/chkBC0.gif";
- grd_tclsCdList.cellstyle("background-position", i, 1) = "center";
- model.setValue("/root/main/tclscdlist[" + i + "]/bcflag", "0");
- }
- }
- grd_tclsCdList.refresh();
- }
-
- //###################################################### 미접수탭 ######################################################
- //미접수탭 검사항목리스트 조회
- function fGetTestList(){
-
- model.removeNodeset("/root/main/tclscdlist");
- grd_tclsCdList.rebuild();
-
- model.setValue("/root/send/eqmtcd", model.getValue("/root/hidden/eqmt")); //장비코드
- model.setValue("/root/send/deptflag", model.getValue("/root/init/LB0000/nm"));
-
- submit("TRLQJ00101");
-
- //바코드 구분별로 바코드 이미지 셋팅
- fSetBcnoImg();
- }
-
- //접수 버튼
- function fInstAcpt(){
- //model.removeNodeset("/root/send/tclscdlist");
- if(model.getValue("/root/hidden/acptdt") != getCurrentDate()){
- var rtn = messageBox("선택하신 날짜가 현재일과 일치하지 않습니다. \n접수를", "Q003");
- if(rtn == "7"){
- return;
- }
- }
- if(model.getValue("/root/hidden/acptflag") == "00"){
- alert("접수구분을 선택하세요");
- return;
- }
- for(i=1; i<=grd_tclsCdList.rows; i++){
- if(model.getValue("/root/main/tclscdlist[" + i + "]/chk") == "1"){ //선택된 항목
- grd_tclsCdList.addStatus(i, "insert"); //status 를 insert로 변경
- }else{
- grd_tclsCdList.removeStatus(i , "update"); //선택된 항목이 아니라면 update를 초기화한다
- }
- }
-
- model.setValue("/root/send/tclscdlist", grd_tclsCdList.getUpdateData());
-
- model.setValue("/root/send/deptflag", model.getValue("/root/init/LB0000/nm")); //사용자부서코드
- model.setValue("/root/send/acptdt", model.getValue("/root/hidden/acptdt")); //접수일자
- model.setValue("/root/send/acptflag", model.getValue("/root/hidden/acptflag")); //접수구분
- model.setValue("/root/send/eqmtcd", model.getValue("/root/hidden/eqmt")); //장비코드
- model.setValue("/root/send/basecdid", model.getValue("/root/hidden/execdept")); //검사실
-
- //선택항목 접수 및 바코드 정보 조회
- submit("TXLQJ00101");
-
-
- var prtkind = model.getvalue("/root/main/barcdprntsetup/prntsetupinfo/setupinfo/prntkind");
- var portnm = model.getvalue("/root/main/barcdprntsetup/prntsetupinfo/setupinfo/commkind");
-
- if((prtkind == "9" && portnm == "01") || (prtkind == "11" && portnm == "01") || prtkind == "10" || prtkind == "2" || prtkind == "6" || prtkind == "7"){
-
- fLisQCBarcodePrint_NewOCX2("/root/main/bcnoinfo");
- }else{
-
- fLisQCBarcodePrint_NewOCX("/root/main/bcnoinfo"); //바코드출력
- }
-
- fSetBcImg(); //체크된 항목 지우고 바코드 이미지 다시 셋팅
- }
-
- //########################################### 접수탭 #####################################################
- //접수취소 버튼
- function fSetAcptCancel(){
-
- for(i=1; i<=grd_tclsCdList.rows; i++){
- if(model.getValue("/root/main/tclscdlist[" + i + "]/chk") == "1"){ //선택된 항목
- if(model.getValue("/root/main/tclscdlist[" + i + "]/rsltstat") != "접수"){ //결과상태가 '-'인것만 취소가능(결과미입력상태)
- alert("결과가 저장된 항목이 있어 취소가 불가능합니다!!");
- return 0;
- }
- grd_tclsCdList.addStatus(i, "delete"); //status 를 delete로 변경
- }else{
- grd_tclsCdList.removeStatus(i , "update"); //선택된 항목이 아니라면 update를 초기화한다
- }
- }
- model.setValue("/root/send/tclscdlist", grd_tclsCdList.getUpdateData());
-
- submit("TXLQJ00102");
- //선택된 항목 그리드에서 삭제후 바코드 재생성
- //fSetBcImg();
- //접수리스트부터 재조회
- fGetAcptList();
- }
-
- //재발행 버튼
- function fSetReIss(){
-
- model.removeNodeset("/root/main/bcnoinfo");
- model.makeNode("/root/main/bcnoinfo");
-
- //var count = 0; // 체크된 값을 makeValue 하기 위해 변수 선언
- for(i = 1; i<grd_tclsCdList.rows; i++){
- if(model.getValue("/root/main/tclscdlist["+i+"]/chk") == "1"){
- copyNodeListType("/root/main/bcnoinfo", "/root/main/tclscdlist["+i+"]", "after"); //바코드 재출력위해 선택된 항목 바코드정보 복사
- //++count;
- /*model.makeValue("/root/main/bcnoinfo["+count+"]/bcno", model.getValue("/root/main/tclscdlist["+i+"]/bcno"));
- model.makeValue("/root/main/bcnoinfo["+count+"]/matrcd", model.getValue("/root/main/tclscdlist["+i+"]/matrcd"));
- model.makeValue("/root/main/bcnoinfo["+count+"]/levlcd", model.getValue("/root/main/tclscdlist["+i+"]/levlcd"));
- model.makeValue("/root/main/bcnoinfo["+count+"]/eqmtnm", model.getValue("/root/main/tclscdlist["+i+"]/eqmtnm"));
- model.makeValue("/root/main/bcnoinfo["+count+"]/testroom", model.getValue("/root/main/tclscdlist["+i+"]/sectnm"));
- model.makeValue("/root/main/bcnoinfo["+count+"]/acptdt", model.getValue("/root/main/tclscdlist["+i+"]/acptdt"));
- */
- }
- model.refresh();
- }
- fLisQCBarcodePrint_NewOCX("/root/main/bcnoinfo/tclscdlist"); // 바코드 출력 //경로 바꿔서 makeValue해결했음
- }
-
- //접수탭 조회버튼
- function fGetAcptList(){
-
- model.removeNodeset("/root/main/tclscdlist");
- grd_tclsCdList.rebuild();
-
- model.setValue("/root/send/matrcd" , model.getValue("/root/hidden/matrcd"));
- model.setValue("/root/send/acptflag" , model.getValue("/root/hidden/acptflag"));
- model.setValue("/root/send/eqmtcd" , model.getValue("/root/hidden/eqmt"));
- model.setValue("/root/send/basecdid" , model.getValue("/root/hidden/execdept")); //검사실
- model.setValue("/root/send/acptfromdd" , model.getValue("/root/hidden/acptfromdd"));
- model.setValue("/root/send/acpttodd" , model.getValue("/root/hidden/acpttodd"));
- model.setValue("/root/send/deptflag" , model.getValue("/root/init/LB0000/nm"));
- model.setValue("/root/send/bcno" , model.getValue("/root/hidden/bcno"));
-
- submit("TRLQJ00102");
-
- //QC 접수리스트 첫번째 항목 검사리스트 조회
- grd_qcAcptList.row = 1;
- fGetDetlAcptList();
-
- }
-
- //접수된 검사항목 리스트를 조회하기 위해 QC접수 리스트 클릭시
- function fGetDetlAcptList(){
-
- model.removeNodeset("/root/main/tclscdlist");
- grd_tclsCdList.rebuild();
-
- model.setValue("/root/send/acptdt" , model.getValue("/root/main/qcacptlist["+ grd_qcAcptList.row +"]/acptdt"));
- model.setValue("/root/send/eqmtcd" , model.getValue("/root/main/qcacptlist["+ grd_qcAcptList.row +"]/eqmtcd"));
- model.setValue("/root/send/deptflag" , model.getValue("/root/init/LB0000/nm"));
-
- submit("TRLQJ00103");
-
- //바코드 구분별로 바코드 이미지 셋팅
- fSetBcnoImg();
- model.setFocus("ipt_bcno");
- }
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body style="font-size:10pt; margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:40px; width:1195px; height:744px; font-size:18pt; ">
- <datagrid id="grd_tclsCdList" nodeset="/root/main/tclscdlist" caption="검체구분^선택^바코드^LEVEL^물질명^검사항목^바코드구분^물질코드^lotno^레벨코드^검사코드^물질시작일자^시작일자^acptbcflag^결과상태" colsep="^" colwidth="60, 40, 100, 100, 210, 210, 10, 10, 10, 10, 10, 10, 10, 10, 80" dataheight="23" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:345px; top:107px; width:849px; height:621px; ">
- <col ref="bcchk" type="output" uncheckimage="1" style="left:20px; top:32px; width:43px; height:23px; "/>
- <col checkvalue="1,0" ref="chk" type="checkbox"/>
- <col ref="bcno"/>
- <col ref="levlnm"/>
- <col ref="matrnm"/>
- <col ref="testnm"/>
- <col ref="bcflag" visibility="hidden"/>
- <col ref="matrcd" visibility="hidden"/>
- <col ref="lotno" visibility="hidden"/>
- <col ref="levlcd" visibility="hidden"/>
- <col ref="testcd" visibility="hidden"/>
- <col ref="matrfromdd" visibility="hidden"/>
- <col ref="testfromdd" visibility="hidden"/>
- <col ref="acptbcflag" visibility="hidden"/>
- <col ref="rsltstat"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- //바코드 이미지 체크시 자동 체크 기능위한..
- fSetGrdChoi();
- ]]>
- </script>
- </datagrid>
- <line id="line1" class="line_1" style="x1:0px; y1:102px; x2:340px; y2:102px; "/>
- <caption id="caption7" class="tit_2" style="left:5px; top:87px; width:115px; height:13px; ">QC 접수 리스트</caption>
- <datagrid id="grd_qcAcptList" nodeset="/root/main/qcacptlist" caption="접수일시^장비명^장비코드" colsep="^" colwidth="120, 150^30" dataheight="23" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:0px; top:107px; width:340px; height:621px; ">
- <col ref="acptdt" format="yyyy-mm-dd hh:mm:ss"/>
- <col ref="eqmtnm"/>
- <col ref="eqmtcd" visibility="hidden"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if(grd_qcAcptList.isCell(event.target) && grd_qcAcptList.row >= grd_qcAcptList.fixedRows){
- fGetDetlAcptList();
- }
- ]]>
- </script>
- </datagrid>
- <line id="line14" class="line_1" style="x1:345px; y1:102px; x2:1194px; y2:102px; "/>
- <caption id="caption3" class="tit_2" style="left:350px; top:87px; width:115px; height:13px; ">검사항목 리스트</caption>
- <group id="group5" style="left:0px; top:10px; width:1195px; height:67px; ">
- <switch id="switch1" class="sw_box" style="left:0px; top:21px; width:1195px; height:45px; ">
- <case id="case1" selected="true" style="left:0px; top:0px; width:1195px; height:70px; ">
- <shape id="roundrect3" class="roundrect_search" appearance="roundrect" style="left:5px; top:5px; width:1185px; height:35px; "/>
- <button id="btn_get" class="btn1_letter2" style="left:1119px; top:12px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- //장비 선택 안하면 뜬다
- if(model.getValue("/root/hidden/eqmt") == "00"){
- messageBox("장비를 ", "C002");
- model.setFocus("cbo_eqmtList");
- }else
- fGetTestList(); //검사항목리스트 조회
- ]]>
- </script>
- </button>
- <caption id="caption8" class="search_name" style="left:216px; top:14px; width:73px; height:17px; ">검사실 :</caption>
- <input id="cbo_acptDt" ref="/root/hidden/acptdt" class="input_s_essential" inputtype="date" style="left:109px; top:13px; width:90px; height:19px; "/>
- <caption id="caption9" class="search_name" style="left:20px; top:14px; width:86px; height:17px; ">접수일자 :</caption>
- <caption id="caption1" class="search_name" style="left:590px; top:14px; width:86px; height:17px; ">접수구분 :</caption>
- <caption id="caption2" class="search_name" style="left:410px; top:14px; width:61px; height:17px; ">장비 :</caption>
- <select1 id="cbo_acptFlag" ref="/root/hidden/acptflag" class="combo_s_essential" appearance="minimal" style="left:681px; top:13px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/LB0704">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cbo_execDept" ref="/root/hidden/execdept" class="combo_s_essential" appearance="minimal" style="left:294px; top:13px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/LB0111">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- fSetEqmtCd();
- ]]>
- </script>
- </select1>
- <select1 id="cbo_eqmtList" ref="/root/hidden/eqmt" class="combo_s_essential" appearance="minimal" style="left:475px; top:13px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/LB0701">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- fGetTestList();
- ]]>
- </script>
- </select1>
- <line id="line2" class="line_4" style="x1:1104px; y1:11px; x2:1104px; y2:33px; "/>
- </case>
- <case id="case2" style="left:0px; top:0px; width:1195px; height:70px; ">
- <shape id="roundrect4" class="roundrect_search" appearance="roundrect" style="left:5px; top:5px; width:1185px; height:35px; "/>
- <caption id="caption10" class="search_n_b" style="left:201px; top:16px; width:12px; height:17px; ">~</caption>
- <input id="ipt_acptFromdd" ref="/root/hidden/acptfromdd" class="input_s_essential" inputtype="date" style="left:109px; top:13px; width:90px; height:19px; "/>
- <caption id="caption11" class="search_name" style="left:20px; top:14px; width:86px; height:17px; ">접수일자 :</caption>
- <input id="ipt_acptTodd" ref="/root/hidden/acpttodd" class="input_s_essential" inputtype="date" style="left:215px; top:13px; width:90px; height:19px; "/>
- <caption id="caption12" class="search_name" style="left:320px; top:14; width:73px; height:17px; ">검사실 :</caption>
- <button id="btn_getAcpt" class="btn1_letter2" style="left:1119px; top:12px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fGetAcptList();
- ]]>
- </script>
- </button>
- <select1 id="cbo_acptExecDept" ref="/root/hidden/execdept" class="combo_s_essential" appearance="minimal" style="left:397px; top:13; width:90px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/LB0111">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fSetEqmtCd();
- ]]>
- </script>
- </select1>
- <caption id="caption4" class="search_name" style="left:502px; top:14; width:60px; height:17px; ">장비 :</caption>
- <caption id="caption5" class="search_name" style="left:859px; top:14px; width:96px; height:17px; ">바코드번호:</caption>
- <caption id="caption13" class="search_name" style="left:676px; top:14px; width:86px; height:17px; ">접수구분 :</caption>
- <line id="line5" class="line_4" style="x1:1104px; y1:11px; x2:1104px; y2:33px; "/>
- <select1 id="cbo_acptEqmtList" ref="/root/hidden/eqmt" class="combo_s_essential" appearance="minimal" style="left:565px; top:13; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/LB0701">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="acptFlagCd" ref="/root/hidden/acptflag" class="combo_s_essential" appearance="minimal" style="left:765px; top:13px; width:80px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/LB0704">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_bcno" ref="/root/hidden/bcno" class="input_s_button" imemode="disabled" inputtype="button" _chartype="upper" style="left:959px; top:13px; width:120px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- fKeyEvent();
- ]]>
- </script>
- </input>
- <button id="btn_matrSearch" class="icon_search" visibility="hidden" style="left:1082px; top:14px; width:16px; height:16px; ">
- <caption/>
- </button>
- </case>
- </switch>
- <button id="button2" class="btn_sw" group="tab" select.background-image="../../../com/commonweb/images/tab_show.gif" style="left:70px; top:0px; width:70px; height:22px; ">
- <caption>접수</caption>
- <toggle case="case2" ev:event="onclick"/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fBcnoVisible("T");
- ]]>
- </script>
- </button>
- <button id="button3" class="btn_sw" group="tab" selected="true" select.background-image="../../../com/commonweb/images/tab_show.gif" style="left:0px; top:0px; width:70px; height:22px; ">
- <caption>미접수</caption>
- <toggle case="case1" ev:event="onclick"/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fBcnoVisible("F");
- ]]>
- </script>
- </button>
- </group>
- </group>
- <group id="group2" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:126px; height:14px; ">QC접수관리</caption>
- </group>
- <group id="grp_btn" style="left:0px; top:13px; width:1195px; height:27px; ">
- <line id="line3" class="line_6" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
- <button id="btn_reiss" class="btn4_letter3" style="left:974px; top:3px; width:68px; height:22px; ">
- <caption>재발행</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var acptcount = 0;
- for(i=1; i<=grd_tclsCdList.rows; i++){
- if(model.getValue("/root/main/tclscdlist[" + i + "]/chk") == "1"){ //선택된 항목
- acptcount = acptcount + 1;
- }
- }
- if(acptcount !=0) fSetReIss(); // 선택된 항목이 있다면 고고싱~
- else {
- messageBox("재발행할 항목이 ", "I004");
- }
- ]]>
- </script>
- </button>
- <button id="btn_acpt" class="btn4_letter2" style="left:1068px; top:3px; width:56px; height:22px; ">
- <caption>접수</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var acptcount = 0;
- for(i=1; i<=grd_tclsCdList.rows; i++){
- if(model.getValue("/root/main/tclscdlist[" + i + "]/chk") == "1"){ //선택된 항목
- acptcount = acptcount + 1;
- }
- }
- if(acptcount !=0) fInstAcpt(); // 선택된 항목이 있다면 고고싱~
- else {
- messageBox("접수할 내역이", "I004");
- }
- ]]>
- </script>
- </button>
- <button id="btn_acptcan" class="btn4_letter4" style="left:1045px; top:3px; width:80px; height:22px; ">
- <caption>접수취소</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var acptcount = 0;
- for(i=1; i<=grd_tclsCdList.rows; i++){
- if(model.getValue("/root/main/tclscdlist[" + i + "]/chk") == "1"){ //선택된 항목
- acptcount = acptcount + 1;
- }
- }
- if(acptcount !=0) fSetAcptCancel();
- else {
- messageBox("접수를 취소할 내역이", "I004");
- }
- ]]>
- </script>
- </button>
- <button id="btn_cle" class="btn4_letter3" style="left:1127px; top:3px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- window.reload();
- ]]>
- </script>
- </button>
- <button id="btn_prtSet" class="btn3_letter5" style="left:0px; top:2px; width:92px; height:22px; ">
- <caption>프린터설정</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- //window.load("SPLLC90100_바코드프린터설정.xrw","modeless","width:327px; height:128;min:hidden;max:hidden;align:center");
- var count = getNodesetCount("/root/main/barcdprntsetup/prntsetupinfo/setupinfo");
-
- if(count == 0) {
- model.makeNode("/root/main/barcdprntsetup/prntsetupinfo/setupinfo");
- }
- modal("SPLLC90100" , "","","","","/root/main/barcdprntsetup/prntsetupinfo/setupinfo", "/root/main/barcdprntsetup/prntsetupinfo/setupinfo");
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|