123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SMLAF00100_물품코드관리.xrw
- * 설 명 : 물품코드관리 상세설명 화면
- * 설 계 자 : 한음미
- * 작 성 자 : 한음미
- * 작 성 일 : 2007.07.24
- * 수정이력 :
- * 기 타 :
- -->
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
- <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
- <xhtml:head>
- <xhtml:title>물품코드관리</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <goodcd>
- <goodcdlist>
- <goodcd/>
- <goodnm/>
- <goodengnm/>
- <deptgoodnm/>
- <fromdd/>
- <todd/>
- <goodflagyn/>
- <unit/>
- <spec/>
- <unitcost/>
- <prod/>
- <supp/>
- <goodflagcd/>
- <useunitcd/>
- <useqty/>
- <tunitcd/>
- <tqty/>
- <fstrgstdt/>
- <fstrgstrid/>
- <lastupdtdt/>
- <lastupdtrid/>
- <cntctel/>
- <setunit/>
- <model/>
- </goodcdlist>
- </goodcd>
- <goodinfo>
- <gooddetlinfo>
- <goodcd/>
- <goodnm/>
- <goodengnm/>
- <deptgoodnm/>
- <fromdd/>
- <todd/>
- <unit/>
- <spec/>
- <unitcost/>
- <prod/>
- <supp/>
- <goodflagcd/>
- <useqty/>
- <tqty/>
- <fstrgstdt/>
- <fstrgstrid/>
- <lastupdtdt/>
- <lastupdtrid/>
- <useunitcd/>
- <tunitcd/>
- <goodflagyn>0</goodflagyn>
- <cntctel/>
- <prntcnt/>
- <setunit/>
- <model/>
- <keeptmpr/>
- </gooddetlinfo>
- </goodinfo>
- <barcd>
- <barcdlist>
- <barcd/>
- <goodcd/>
- <goodnm/>
- <unit/>
- <validd/>
- <lotno/>
- </barcdlist>
- </barcd>
- <barcdprntsetup>
- </barcdprntsetup>
- </main>
- <send>
- <use/>
- <scrnid/>
- </send>
- <init>
- <seamthdcd>0</seamthdcd>
- <useflagcd>0</useflagcd>
- <seaval/>
- <list>
- <dutdept>
- <dutdeptlist>
- <choi/>
- <dutdeptcd/>
- <dutdeptnm/>
- <todd/>
- <existyn/>
- <today/>
- </dutdeptlist>
- </dutdept>
- <eqmt>
- <eqmtlist>
- <choi/>
- <eqmtcd/>
- <eqmtnm/>
- <todd/>
- <existyn/>
- <today/>
- </eqmtlist>
- </eqmt>
- </list>
- <gooddetlinfo>0</gooddetlinfo>
- <depteqtlist>
- <eqt>
- <eqmtcd/>
- </eqt>
- <dept>
- <dutdeptcd/>
- </dept>
- </depteqtlist>
- <sysdt>
- <sysdtinfo>
- <sysdd/>
- <systm/>
- </sysdtinfo>
- </sysdt>
- <cdid/>
- <codeinfo>
- <R0025>
- <cdid/>
- <cdnm/>
- </R0025>
- </codeinfo>
- </init>
- <hidden>
- <barcd>
- <barcdprnt/>
- <barcdprntcnt/>
- <barcdprntdirec/>
- </barcd>
- </hidden>
- </root>
- </instance>
- <submission id="TRLPZ00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/sysdt/sysdtinfo"/>
- <submission id="TRLLC90101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/barcdprntsetup"/>
- <submission id="TRLAF00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/goodcd/goodcdlist"/>
- <submission id="TRLAF00103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init"/>
- <submission id="TRLAF00104" mediatype="application/x-www-form-urlencoded" method="post" ref="root/send" replace="instance" resultref="root/main/goodinfo/gooddetlinfo"/>
- <submission id="TRLAF00105" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/depteqtlist"/>
- <submission id="TXLAF00101" mediatype="application/x-www-form-urlencoded" method="post" ref="root/send" replace="instance" resultref="root/message"/>
- <submission id="TXLAF00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/barcdlist" replace="instance" resultref="/root/main/barcd/barcdlist"/>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="urlencoded-post" replace="instance"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fExeInitialize();
- ]]>
- </script>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../lis/commonweb/js/LZZ001.js"/>
- <script type="javascript" src="../../../lis/commonweb/js/LPZ001.js"/>
- <script type="javascript" src="../../../lis/commonweb/js/LAZ001.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../lis/commonweb/js/HanFont24.js"/>
- <script type="javascript">
- <![CDATA[
- /* @group : 물품코드관리
- * @ver : 2007.07.24 (CMCDEV-0001)
- * @by : 한음미
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 화면 초기화
- */
- function fExeInitialize() {
-
- model.removeNodeset("/root/send");
-
- //----------------------------
- //lzzfMakeBrcdPrntObj("CommAX");
-
- model.makeValue("/root/send/scrnid", getScreenID());
- submit("TRLLC90101");
-
- lzzfMakeBrcdPrntObjHanDo("CommAX");
-
-
- model.makeValue("/root/send/useyn", "1");
- submit("TRLAF00103"); // 장비와 부서목록 조회
-
- //--------------------------------------------------------------------
- model.makeValue("/root/init/seamthdcd", "0"); // 검색방법 기본값
- model.makeValue("/root/init/useflagcd", "0"); // 사용구분 기본값
- model.makeValue("/root/init/seaval", ""); // 검색값 기본값
- model.makeValue("/root/init/gooddetlinfo","0"); // 물품상세정보 기본값
-
- //------------------------------------------------------------------------------
- model.makeNode("/root/init/depteqtlist"); // 부서목록, 장비목록 선택값
- model.makeNode("/root/init/sysdt/sysdtinfo"); // 시스템 시간값
-
- //----------------------------------------------
- submit("TRLPZ00102"); // 현재의 time 가져오기
-
- //-----------------------
- // 물품구분 코드목록 조회
- model.makeNode("/root/init/codeinfo");
- model.makeValue("/root/init/codeinfo/R0025/cdid", "");
- model.makeValue("/root/init/codeinfo/R0025/cdnm", "");
- zbcfGetCodeList( new Array("R0025"), new Array("/root/init/codeinfo") , null, null, null);
- cmb_cdid.refresh();
- model.makeValue("/root/init/cdid", "");
- model.refresh();
- }
-
- function fBarCdOut(){
- if(grd_goodlist.row == -1){
- messageBox("물품이 선택되지 않았습니다. 바코드 출력을 ", "E001");
- return;
- }
- var listRow = grd_goodlist.row;
- var listRows = grd_goodlist.rows;
- //var rowStatus = "";
- //var iCnt = 0;
-
- if(listRow > 0 && listRow < listRows){
-
- var Execd = messageBox("바코드 재출력을", "Q004");
- if (Execd == 6) {
- model.makeNode("/root/hidden/barcd");
- model.makeValue("/root/hidden/barcd/barcd", model.getValue("/root/main/goodinfo/gooddetlinfo/goodcd"));
- model.makeValue("/root/hidden/barcd/goodcd", model.getValue("/root/main/goodinfo/gooddetlinfo/goodcd"));
- model.makeValue("/root/hidden/barcd/goodnm", model.getValue("/root/main/goodinfo/gooddetlinfo/goodnm"));
- model.makeValue("/root/hidden/barcd/unit", model.getValue("/root/main/goodinfo/gooddetlinfo/unit"));
- model.makeValue("/root/hidden/barcd/keeptmpr", model.getValue("/root/main/goodinfo/gooddetlinfo/keeptmpr"));
- model.makeValue("/root/hidden/barcd/barcdprnt", "0"); // 바코드 자동출력(0:자동, 1:수동)
- model.makeValue("/root/hidden/barcd/barcdprntdirec", "0"); // 바코드 출력방향(0:로컬, 1:원격)
- model.makeValue("/root/hidden/barcd/barcdprntcnt", "1"); // 바코드 출력매수
- //copyNodeType("/root/hidden/barcd", "/root/main/barcdprntsetup/prntsetupinfo/setupinfo", "after");
- fExeGoodBarCdPrnt("/root/hidden/barcd") ;
- }
- }
- }
-
-
-
-
- /* @group : 물품코드관리
- * @ver : 2007.07.24 (CMCDEV-0001)
- * @by : 한음미
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 엑셀저장 Function
- */
- function fExcelOut(){
- // grd_goodlist.saveExcel("C:\\SMLAF00100_물품코드관리.xls", "물품코드목록", false,true);
-
- var fileName = window.fileDialog("save", ",", false, "물품코드목록", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
-
- if (fileName != ""){
- grd_goodlist.saveExcel(fileName);
- }
-
- }
-
- model.removeNodeset("/root/main/goodcd/goodcdlist"); // 물품 목록의 첫 라인 삭제
- /* @group : 물품코드관리
- * @ver : 2007.07.24 (CMCDEV-0001)
- * @by : 한음미
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 물품코드목록 검색 Function
- */
- function fGetGoodCdList() { // 물품목록 검색
- model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd")); // 기관코드
- model.makeValue("/root/send/seamthdcd", model.getValue("/root/init/seamthdcd")); // 검색방법
- model.makeValue("/root/send/useflagcd", model.getValue("/root/init/useflagcd")); // 사용구분
- model.makeValue("/root/send/seaval", model.getValue("/root/init/seaval")); // 검색값
- model.makeValue("/root/send/goodflag", model.getValue("/root/init/cdid")); // 물품구분
- model.makeValue("/root/send/xrwnm", "SMLAF00100"); // 화면ID
-
- submit("TRLAF00102"); // 물품코드 목록 조회 하기
- model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
- model.makeValue("/root/send/appdeptcd", model.getValue("/root/init/choideptcd"));
- model.makeValue("/root/send/goodflag", model.getValue("/root/init/cdid"));
- model.makeValue("/root/send/useflagcd", "0");
- }
-
-
- /* @group : 물품코드관리
- * @ver : 2007.07.24 (CMCDEV-0001)
- * @by : 한음미
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 부서와 장비목록의 선택적 체크박스를 위한 Function
- */
- function fExeSavelist() { // 체크박스와 DB와의 선택 구별하여 저장과 삭제, 업데이트
-
- var sGoodNode = "/root/main/goodcd/goodcdlist";
- var sDeptNode = "/root/init/list/dutdept/dutdeptlist";
- var sEqmtNode = "/root/init/list/eqmt/eqmtlist";
-
- //--------------------------------
- model.removeNodeset("/root/send");
- model.makeValue("/root/send/count2", model.getValue(sGoodNode+"["+grd_goodlist.row+"]/goodcd")); // 물품코드 목록에서의 물품코드 선택적 값 send
-
- //---------------------------- 부서
- grd_dutdeptlist.clearStatus();
- grd_gooddetlinfo.clearStatus();
- grd_gooddetlinfo.addStatus(1, "insert");
-
-
- //---------------------------------------------------------
- for (var iNo=1; iNo <= getNodesetCount(sDeptNode); iNo++) { // 부서목록에서 선택한 값만큼 루프
-
- //-------------------------------------------------------------
- if (model.getValue(sDeptNode+"[" + iNo + "]/existyn") == "Y") { // 데이터가 DB에 남아 있을때.
- if (model.getValue(sDeptNode+"[" + iNo + "]/choi") == "true") { // 데이터가 DB에 남아있고 체크버튼에 체크가 되었을때
- if (model.getValue(sDeptNode+"[" + iNo + "]/today") == model.getValue("/root/init/sysdt/sysdtinfo/sysdd")) { // today와 시스템의 오늘날짜 비교.
- grd_dutdeptlist.addStatus(iNo, "insert"); // 위 세가지가 만족되었을때 delete와 insert를 실행.
- } else {
- grd_dutdeptlist.addStatus(iNo, "delete");
- }
- } else { // 데이터가 DB에 남아있고 체크버튼에 체크가 되어있지 않을때.
- if(model.getValue("/root/init/sysdt/sysdtinfo/sysdd")!= model.getValue("/root/init/list/dutdept/dutdeptlist["+iNo+"]/today")) {
- grd_dutdeptlist.addStatus(iNo, "update"); // 현 날짜와 today의 날짜가 다를때.
- } else {
- grd_dutdeptlist.addStatus(iNo,"delete"); // 현 날짜와 today의 날짜가 같을때.
- }
- }
- } else { // 데이터가 DB에 남아있지 않을때.
- if (model.getValue(sDeptNode+"[" + iNo + "]/choi") == "true") { // // 데이터가 DB에 남아있지 않고 체크버튼에 체크가 되었을때.
- grd_dutdeptlist.addStatus(iNo, "insert"); // 데이터를 새로 삽입.
- }
- }
-
- //---------------------------------------------------
- model.setValue(sDeptNode+"["+ iNo +"]/choi","false"); // 작업이 끝나고 저장버튼 누름과 동시에 빈 체크박스
- }
-
- //--------------------- 장비
- grd_eqmtlist.clearStatus();
-
- //---------------------------------------------------------
- for (var jNo=1; jNo <= getNodesetCount(sEqmtNode); jNo++) { // 장비목록에서 선택한 값만큼 루프
-
- //---------------------------------------------------------
- if (model.getValue(sEqmtNode+"[" + jNo + "]/existyn") =="Y") { // 데이터가 DB에 남아 있을때.
- if (model.getValue(sEqmtNode+"[" + jNo + "]/choi") == "true") { // 데이터가 DB에 남아있고 체크버튼에 체크가 되어을때
- if(model.getValue(sEqmtNode+"[" + jNo + "]/today") == model.getValue("/root/init/sysdt/sysdtinfo/sysdd")){ // today와 시스템의 오늘날짜 비교.
- grd_eqmtlist.addStatus(jNo,"insert"); // 위 세가지가 만족되었을때 delete와 insert를 실행.
- } else{
- grd_eqmtlist.addStatus(jNo,"delete");
- }
- } else{ // 데이터가 DB에 남아있고 체크버튼에 체크가 되어있지 않을때.
- if(model.getValue("/root/init/sysdt/sysdtinfo/sysdd")!= model.getValue("/root/init/list/eqmt/eqmtlist[" + jNo + "]/today")) {
- grd_eqmtlist.addStatus(jNo,"update"); // 현 날짜와 today의 날짜가 다를때.
- }else {
- grd_eqmtlist.addStatus(jNo,"delete"); // 현 날짜와 today의 날짜가 같을때.
- }
- }
- }else { // 데이터가 DB에 남아있지 않을때.
- if (model.getValue(sEqmtNode+"[" + jNo + "]/choi") == "true") {
- grd_eqmtlist.addStatus(jNo, "insert"); // 데이터를 새로 삽입.
- }
- }
-
- //----------------------------------------------------
- model.setValue(sEqmtNode+"["+ jNo +"]/choi", "false"); // 작업이 끝나고 저장버튼 누름과 동시에 빈 체크박스
- }
-
- //--------------------------------------------------------------------
- model.makeValue("/root/send/count", grd_dutdeptlist.getUpdateData()); // 부서목록에서 선택된 값 업데이트
- model.makeValue("/root/send/count1", grd_eqmtlist.getUpdateData()); // 장비목록에서 선택된 값 업데이트
- model.makeValue("/root/send/goodinfo", grd_gooddetlinfo.getUpdateData()); // 물품코드 상세정보
- /*
- model.makeValue("/root/send/deptgoodnm", model.getValue("/root/main/goodinfo/gooddetlinfo/deptgoodnm")); // 물품상세목록에서 물품구분 send
- model.makeValue("/root/send/goodflagcd", model.getValue("/root/main/goodinfo/gooddetlinfo/goodflagcd")); // 물품상세목록에서 물품구분 send
- model.makeValue("/root/send/useunitcd", model.getValue("/root/main/goodinfo/gooddetlinfo/useunitcd")); // 물품상세목록에서 환산단위 send
- model.makeValue("/root/send/useqty", model.getValue("/root/main/goodinfo/gooddetlinfo/useqty")); // 물품상세목록에서 환산수량 send
- model.makeValue("/root/send/tunitcd", model.getValue("/root/main/goodinfo/gooddetlinfo/tunitcd")); // 물품상세목록에서 T단위 send
- model.makeValue("/root/send/tqty", model.getValue("/root/main/goodinfo/gooddetlinfo/tqty")) // 물품상세목록에서 T수량 send
- model.makeValue("/root/send/prntcnt", model.getValue("/root/main/goodinfo/gooddetlinfo/prntcnt")) // 물품상세목록에서 바코드 출력매수
- model.makeValue("/root/send/todd", model.getValue("/root/main/goodinfo/gooddetlinfo/todd")) // 물품상세목록에서 종료일자
- */
- //------------------------------------------------------------------
- var mess= model.getValue("/root/main/goodinfo/gooddetlinfo/useqty");
- var wess= model.getValue("/root/main/goodinfo/gooddetlinfo/tqty");
-
- //--------------------------------------------------------------------
- if (model.getValue("/root/main/goodinfo/gooddetlinfo/goodcd") == "") {
- messageBox("데이터를","C001");
- return false;
- } else if(mess=="0"||mess==""||wess=="0"||wess=="") {
- messageBox("환산수량과 TEST 수량은 0 이상의 수를","C001");
- return false;
- }
-
- //-----------
- setAlertOn();
- if(submit("TXLAF00101")) { // 물품코드목록, 부서목록, 장비목록 연결
-
- //-------------------------------------------
- // 저장 후 물품코드 그리드에 변경된 값을 저장
- model.makeValue(sGoodNode+"["+grd_goodlist.row+"]/todd", model.getValue("/root/main/goodinfo/gooddetlinfo/todd")); // 종료일자
- model.makeValue(sGoodNode+"["+grd_goodlist.row+"]/prntcnt", model.getValue("/root/main/goodinfo/gooddetlinfo/prntcnt")); // 바코드 출력매수
- model.makeValue(sGoodNode+"["+grd_goodlist.row+"]/tunitcd", model.getValue("/root/main/goodinfo/gooddetlinfo/tunitcd")); // Test단위
- model.makeValue(sGoodNode+"["+grd_goodlist.row+"]/tqty", model.getValue("/root/main/goodinfo/gooddetlinfo/tqty")); // Test수량
- model.makeValue(sGoodNode+"["+grd_goodlist.row+"]/goodflagcd", model.getValue("/root/main/goodinfo/gooddetlinfo/goodflagcd")); // 물품구분
- model.makeValue(sGoodNode+"["+grd_goodlist.row+"]/useunitcd", model.getValue("/root/main/goodinfo/gooddetlinfo/useunitcd")); // 사용기준단위
- model.makeValue(sGoodNode+"["+grd_goodlist.row+"]/useqty", model.getValue("/root/main/goodinfo/gooddetlinfo/useqty")); // 사용기준수량
- model.makeValue(sGoodNode+"["+grd_goodlist.row+"]/keeptmpr", model.getValue("/root/main/goodinfo/gooddetlinfo/keeptmpr")); //보관온도
-
- //----------------------------------------------------------
- model.makeValue("/root/hidden/barcd/barcdprnt", "0"); // 바코드 자동출력(0:자동, 1:수동)
- model.makeValue("/root/hidden/barcd/barcdprntdirec", "0"); // 바코드 출력방향(0:로컬, 1:원격)
- model.makeValue("/root/hidden/barcd/barcdprntcnt", "1"); // 바코드 출력매수
-
- //model.setXPathValue("/root/main/goodinfo/gooddetlinfo/*", " "); // 물품상세정보테이블 저장버튼 누름과 동시에 빈 출력박스
- model.refresh();
- } else {
- return false;
- }
- }
-
- /* @group : 물품코드관리
- * @ver : 2007.07.24 (CMCDEV-0001)
- * @by : 한음미
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 물품과 부서목록,장비목록의 연결저장 Function
- */
- function fExeOnClick() { // 물품코드 클릭시 변화되는 부서목록과 장비목록의 상태
-
- var sGoodNode = "/root/main/goodcd/goodcdlist";
- var sDeptNode = "/root/init/list/dutdept/dutdeptlist";
- var sEqmtNode = "/root/init/list/eqmt/eqmtlist";
-
- //---------------------------------------------------------
- for (var iNo=1 ; iNo <= getNodesetCount(sDeptNode); iNo++) {
- model.setValue(sDeptNode+"["+iNo+"]/choi", "false");
- model.setValue(sDeptNode+"["+iNo+"]/existyn", "N");
- }
-
- //---------------------------------------------------------
- for(var iNo=1 ; iNo <= getNodesetCount(sEqmtNode); iNo++) {
- model.setValue(sEqmtNode+"["+iNo+"]/choi", "false");
- model.setValue(sEqmtNode+"["+iNo+"]/existyn", "N");
- }
-
- //model.setValue("/root/init/list/dutdept/dutdeptlist[*]/choi","true");
- //model.setValue("/root/init/list/dutdept/dutdeptlist[*]/existyn","N");
- //model.setValue("/root/init/list/eqmt/eqmtlist[*]/choi","false");
- //model.setValue("/root/init/list/eqmt/eqmtlist[*]/existyn","N");
-
- //--------------------------------
- model.removeNodeset("/root/send");
- model.makeValue("/root/send/goodcd", model.getValue(sGoodNode+"["+grd_goodlist.row+"]/goodcd")); // 선택된 물품코드값 send
- model.makeValue("/root/send/useflagcd", model.getValue("/root/init/useflagcd")); // 선택된 물품의 사용여부 send
- model.copyNode("/root/main/goodinfo/gooddetlinfo", "/root/main/goodcd/goodcdlist["+grd_goodlist.row+"]"); // 물품 상세정보 카피
- submit("TRLAF00105"); // 관련 부서, 장비 목록 조회
-
- //----------------------------------------------------------------------------
- for(var row=1; row <= getNodesetCount("/root/init/depteqtlist/dept"); row++) {
- var iNo = grd_dutdeptlist.findRow(model.getValue("/root/init/depteqtlist/dept["+row+"]/dutdeptcd"),1,2,false,true); // 선택된 row 찾기
- if(iNo>0)
- {
- model.setValue("/root/init/list/dutdept/dutdeptlist["+iNo+"]/choi", "true"); // 선택된 값 체크하기
- model.setValue("/root/init/list/dutdept/dutdeptlist["+iNo+"]/existyn", "Y"); // 선택된 값 DB에 있으면 "Y" 체크하기
- model.setValue("/root/init/list/dutdept/dutdeptlist["+iNo+"]/today", model.getValue("/root/init/depteqtlist/dept["+ row +"]/today")); // DB의 fromdd값 입력
- model.setValue("/root/init/list/dutdept/dutdeptlist["+iNo+"]/todd", model.getValue("/root/init/depteqtlist/dept["+ row +"]/todd")); // DB의 todd 값 입력
- }
- }
-
- //-------------------------------------------------------------------------
- for (var rw=1; rw <= getNodesetCount("/root/init/depteqtlist/eqt"); rw++) {
- var jNo = grd_eqmtlist.findRow(model.getValue("/root/init/depteqtlist/eqt["+rw+"]/eqmtcd"),1,2,false,true);
- if(jNo>0)
- {
- model.setValue("/root/init/list/eqmt/eqmtlist["+jNo+"]/choi", "true"); // 선택된 값 체크하기
- model.setValue("/root/init/list/eqmt/eqmtlist["+jNo+"]/existyn", "Y"); // 선택된 값 DB에 있으면 "Y" 체크하기
- model.setValue("/root/init/list/eqmt/eqmtlist["+jNo+"]/today", model.getValue("/root/init/depteqtlist/eqt["+ rw +"]/today")); // DB의 fromdd값 입력
- model.setValue("/root/init/list/eqmt/eqmtlist["+jNo+"]/todd", model.getValue("/root/init/depteqtlist/eqt["+ rw +"]/todd")); // DB의 todd값 입력
- }
- }
- }
-
- /* @group : 물품코드관리
- * @ver : 2007.07.24 (CMCDEV-0001)
- * @by : 한음미
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 물품상세목록 조회와 수정 기본값 Function
- */
- function fExeValueChange(){ // 물품 상세정보가 조회일때 수정일때 구별
-
- if (rdo_gooddetlinfo.value =="0") { // 물품상세정보가 조회일때
- cmb_goodflag.disabled = true; // 물품구분 사용불가능
- ipt_unit.disabled = true; // 환산단위 사용불가능
- ipt_exchqty.disabled = true; // 환산수량 사용불가능
- ipt_tunit.disabled = true; // T단위 사용불가능
- ipt_tqty.disabled = true; // T수량 사용불가능
- ipt_deptgoodnm.disabled = true; // 과별 자체 물품명
- ipt_prntcnt.disabled = true; // 바코드 출력매수
- ipt_todd.disabled = true; // 적용종료일자
- rdo_goodflag.disabled = true; // 사용여부
- ipt_keeptmpr.disabled = true; //보관온도
- } else {
- cmb_goodflag.disabled = false; // 물품구분 사용가능
- ipt_unit.disabled = false; // 환산단위 사용가능
- ipt_exchqty.disabled = false; // 환산수량 사용가능
- ipt_tunit.disabled = false; // T단위 사용가능
- ipt_tqty.disabled = false; // T수량 사용가능
- ipt_deptgoodnm.disabled = false; // 과별 자체 물품명
- ipt_prntcnt.disabled = false; // 바코드 출력매수
- ipt_todd.disabled = false; // 적용종료일자
- rdo_goodflag.disabled = false; // 사용여부
- ipt_keeptmpr.disabled = false; //보관온도
- }
- }
-
- /* @group : 물품코드관리
- * @ver : 2007.07.24 (CMCDEV-0001)
- * @by : 한음미
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 물품상세목록 수정(라디오버튼) 클릭시 값변경 Function
- */
- function fExeAllValue() { // 기본적으로 물품상세목록에서 조회버튼이므로 사용 불가능하게 셋팅
-
- var iGoodRowNo = 0;
-
- //----------------------------------------------------------
- model.resetInstanceNode("/root/main/goodinfo/gooddetlinfo"); // 물품상세정보만 남기고 공백으로 셋팅
- if (rdo_gooddetlinfo.value == "1") { // 물품상세정보에 수정이 클릭되었다면
- rdo_gooddetlinfo.value = "0"; // 물품상세정보를 조회로 교체
- cmb_goodflag.disabled = true; // 물품구분 사용불가능
- ipt_unit.disabled = true; // 환산단위 사용불가능
- ipt_exchqty.disabled = true; // 환산수량 사용불가능
- ipt_tunit.disabled = true; // T단위 사용불가능
- ipt_tqty.disabled = true; // T수량 사용불가능
- ipt_deptgoodnm.disabled = true; // 과별 자체 물품명
- ipt_prntcnt.disabled = true; // 과별 자체 물품명
- ipt_todd.disabled = true; // 종료일자
- ipt_keeptmpr.disabled = true; //보관온도
- //submit("TRLAF00105");
-
- iGoodRowNo = grd_goodlist.row;
- //fGetGoodCdList();
-
- //---------------------------------------
- grd_goodlist.select(iGoodRowNo,1) = true;
- grd_goodlist.row = iGoodRowNo;
- }
-
- //------------
- fExeOnClick();
- model.refresh();
- }
-
- function fSetPrint() {
- var count = getNodesetCount("/root/main/barcdprntsetup/prntsetupinfo/setupinfo");
-
- if(count == 0) {
- model.makeNode("/root/main/barcdprntsetup/prntsetupinfo/setupinfo");
- }
-
- //----------------------------------------------------
- open("SPLLC90100_바코드프린터설정.xrw", "", "", "", "", "/root/main/barcdprntsetup/prntsetupinfo/setupinfo", "/root/main/barcdprntsetup/prntsetupinfo/setupinfo");
- }
-
- /* @group : 물품코드관리
- * @ver : 2008.04.15 (CMCDEV-0001)
- * @by : 한음미
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 물품코드 클릭 시 처리 Function
- */
- function fExeGoodClick() {
- if (grd_goodlist.isCell(event.target) && grd_goodlist.row >= grd_goodlist.fixedRows ) {
- fExeOnClick();
- }
- }
-
- /* @group : 물품코드관리
- * @ver : 2008.10.23 (CMCDEV-0001)
- * @by : 한음미
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 검색값 Enter키 입력 처리 Function
- */
- function fExeRefValKeyPress() {
-
- if (event.KeyCode == 13) {
- model.makeValue("/root/init/seaval", ipt_seaval.currentText);
- ipt_seaval.refresh();
-
- //---------------
- fGetGoodCdList();
- }
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body 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:800px; height:14px; ">물품코드관리</caption>
- </group>
- <group id="grp_biz" scroll="auto" style="left:0px; top:35px; width:1195px; height:744px; ">
- <group id="group2" style="left:0px; top:10px; width:1194; height:35; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1194; height:35; "/>
- <caption id="caption1" class="search_name" style="left:15px; top:9px; width:75px; height:17px; ">검색값 :</caption>
- <caption id="caption7" class="search_name" style="left:335px; top:9px; width:86px; height:17px; ">검색방법 :</caption>
- <button id="button1" class="btn1_letter2" navindex="5" style="left:1123; top:7; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetGoodCdList();
- ]]>
- </script>
- </button>
- <line id="line1" class="line_4" style="x1:1108; y1:7px; x2:1108; y2:29; "/>
- <input id="ipt_seaval" ref="/root/init/seaval" class="input_search" navindex="1" style="left:93px; top:8px; width:167px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- fExeRefValKeyPress();
- ]]>
- </script>
- </input>
- <caption id="caption2" class="search_name" style="left:902; top:9px; width:86px; height:17px; ">사용구분 :</caption>
- <select1 id="rdo_seamthdcd" ref="/root/init/seamthdcd" navindex="2" appearance="full" cols="2" overflow="visible" style="left:427px; top:9px; width:123px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>물품코드</label>
- <value>0</value>
- </item>
- <item>
- <label>물품명</label>
- <value>1</value>
- </item>
- </choices>
- </select1>
- <select1 id="rdo_useflagcd" ref="/root/init/useflagcd" navindex="4" appearance="full" cols="2" overflow="visible" style="left:991; top:9; width:102px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>사용</label>
- <value>0</value>
- </item>
- <item>
- <label>미사용</label>
- <value>1</value>
- </item>
- </choices>
- </select1>
- <caption id="caption31" class="search_name" style="left:620px; top:9px; width:86px; height:17px; ">물품구분 :</caption>
- <select1 id="cmb_cdid" ref="/root/init/cdid" navindex="3" appearance="minimal" style="left:710px; top:8px; width:130px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/codeinfo/R0025">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fGetGoodCdList();
- ]]>
- </script>
- </select1>
- </group>
- <line id="line12" class="line_1" style="x1:0px; y1:71px; x2:355px; y2:71px; "/>
- <caption id="caption3" class="tit_2" style="left:5px; top:55px; width:95px; height:13px; ">물품코드목록</caption>
- <caption id="caption4" class="cell_1" style="left:882px; top:75px; width:90; height:23px; vertical-align:middle; ">물품코드</caption>
- <caption id="caption39" class="cell_1" style="left:882px; top:99px; width:90; height:23px; vertical-align:middle; ">물 품 명</caption>
- <line id="line2" class="line_1" style="x1:359px; y1:71px; x2:615px; y2:71px; "/>
- <caption id="caption5" class="tit_2" style="left:368px; top:55px; width:90px; height:13px; ">부서목록</caption>
- <datagrid id="grd_goodlist" nodeset="/root/main/goodcd/goodcdlist" scroll="auto" autoresize="true" caption="물품코드^물품명^물품명(영문)^과물품명^적용시작일자^적용종료일자^물품사용여부^단위^규격^단가^포장구성단위^제조사^납품처^물품구분^환산단위^환산수량^TEST단위^TEST수량^최초등록일자^최초등록자^최종수정일자^최종수정자^보관온도" colsep="^" colwidth="100, 182, 0, 0, 0, 0, 0, 0, 80, 0, 80, 100, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0" dataheight="23" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" navindex="6" style="left:0px; top:76px; width:355px; height:666px; ">
- <col ref="goodcd"/>
- <col ref="goodnm"/>
- <col ref="goodengnm"/>
- <col ref="deptgoodnm"/>
- <col ref="fromdd"/>
- <col ref="todd"/>
- <col ref="goodflagyn"/>
- <col ref="unit"/>
- <col ref="spec"/>
- <col ref="unitcost"/>
- <col class="text_center" ref="setunit"/>
- <col ref="prod"/>
- <col ref="supp"/>
- <col ref="goodflagcd"/>
- <col ref="useunitcd"/>
- <col ref="useqty"/>
- <col ref="tunitcd"/>
- <col ref="tqty"/>
- <col ref="fstrgstdt"/>
- <col ref="fstrgstrid"/>
- <col ref="lastupdtdt"/>
- <col ref="lastupdtrid"/>
- <col ref="keeptmpr"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fExeGoodClick();
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_goodlist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <datagrid id="grd_dutdeptlist" nodeset="/root/init/list/dutdept/dutdeptlist" caption="선택^부서코드^부 서 명^종료일자^existyn^today" colsep="^" colwidth="34, 60, 120, 0, 0, 0, 0" dataheight="23" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" navindex="7" style="left:359px; top:76px; width:256px; height:666px; ">
- <col ref="choi" type="checkbox"/>
- <col ref="dutdeptcd"/>
- <col ref="dutdeptnm"/>
- <col ref="todd"/>
- <col ref="existyn"/>
- <col ref="today"/>
- <col ref="useflagcd"/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_dutdeptlist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <datagrid id="grd_eqmtlist" nodeset="/root/init/list/eqmt/eqmtlist" caption="선택^장비코드^장 비 명^종료일자^existyn" colsep="^" colwidth="34, 60, 121, 0, 0, 0, 0" dataheight="23" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" navindex="8" style="left:620px; top:76px; width:256px; height:666px; ">
- <col ref="choi" type="checkbox"/>
- <col ref="eqmtcd"/>
- <col ref="eqmtnm"/>
- <col ref="todd"/>
- <col ref="existyn"/>
- <col ref="today"/>
- <col ref="useflagcd"/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_eqmtlist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <caption id="caption8" class="tit_2" style="left:629px; top:55px; width:90px; height:13px; ">장비목록</caption>
- <line id="line3" class="line_1" style="x1:620px; y1:71px; x2:876px; y2:71px; "/>
- <caption id="caption9" class="tit_2" style="left:887px; top:55px; width:95px; height:13px; ">물품상세정보</caption>
- <output id="output1" ref="/root/main/goodinfo/gooddetlinfo/goodcd" class="output_fix" style="left:975; top:76px; width:219px; height:19px; "/>
- <output id="output2" ref="/root/main/goodinfo/gooddetlinfo/goodnm" class="output_fix" style="left:975px; top:100; width:219px; height:19px; "/>
- <line id="line8" class="line_2" style="x1:882px; y1:121px; x2:1194px; y2:121px; "/>
- <line id="line4" class="line_1" style="x1:882px; y1:71px; x2:1194px; y2:71px; "/>
- <line id="line5" class="line_2" style="x1:882px; y1:97px; x2:1194px; y2:97px; "/>
- <line id="line7" class="line_2" style="x1:882px; y1:145px; x2:1194px; y2:145px; "/>
- <caption id="caption11" class="cell_1" style="left:882px; top:172px; width:90px; height:23px; vertical-align:middle; ">적용시작일자</caption>
- <line id="line9" class="line_2" style="x1:882px; y1:170px; x2:1194px; y2:170px; "/>
- <caption id="caption12" class="cell_1" style="left:1048px; top:172px; width:60px; height:23px; vertical-align:middle; ">종료일자</caption>
- <line id="line10" class="line_2" style="x1:882px; y1:194px; x2:1194px; y2:194px; "/>
- <output id="output6" ref="/root/main/goodinfo/gooddetlinfo/unit" class="output_fix" style="left:975px; top:245px; width:60px; height:19px; "/>
- <caption id="caption13" class="cell_1" style="left:882px; top:244px; width:90px; height:23px; vertical-align:middle; ">단 위</caption>
- <caption id="caption14" class="cell_1" style="left:1038px; top:244px; width:90px; height:23px; vertical-align:middle; ">규 격</caption>
- <output id="output7" ref="/root/main/goodinfo/gooddetlinfo/spec" class="output_fix" style="left:1131px; top:245px; width:63px; height:19px; "/>
- <caption id="caption15" class="cell_1" style="left:882px; top:268px; width:90px; height:23px; vertical-align:middle; ">단 가</caption>
- <line id="line13" class="line_2" style="x1:882px; y1:266px; x2:1194px; y2:266px; "/>
- <output id="output9" ref="/root/main/goodinfo/gooddetlinfo/prod" class="output_fix" style="left:975px; top:293px; width:219px; height:19px; "/>
- <caption id="caption16" class="cell_1" style="left:882px; top:292px; width:90px; height:23px; vertical-align:middle; ">제 조 사</caption>
- <line id="line14" class="line_2" style="x1:882px; y1:290px; x2:1194px; y2:290px; "/>
- <output id="output10" ref="/root/main/goodinfo/gooddetlinfo/supp" class="output_fix" style="left:975px; top:317px; width:219px; height:19px; "/>
- <caption id="caption17" class="cell_1" style="left:882px; top:316px; width:90px; height:23px; vertical-align:middle; ">거 래 처</caption>
- <line id="line15" class="line_2" style="x1:882px; y1:314px; x2:1194px; y2:314px; "/>
- <caption id="caption18" class="cell_1" style="left:882px; top:412px; width:90px; height:23px; vertical-align:middle; ">사용기준단위</caption>
- <caption id="caption19" class="cell_1" style="left:1038px; top:413px; width:90px; height:23px; vertical-align:middle; ">사용기준수량</caption>
- <input id="ipt_unit" ref="/root/main/goodinfo/gooddetlinfo/useunitcd" class="input_default" disabled="true" navindex="14" maxlength="5" style="left:975px; top:413px; width:60px; height:19px; "/>
- <line id="line16" class="line_2" style="x1:882px; y1:218px; x2:1194px; y2:218px; "/>
- <input id="ipt_exchqty" ref="/root/main/goodinfo/gooddetlinfo/useqty" class="input_default" disabled="true" navindex="15" maxlength="4" style="left:1131px; top:413px; width:63px; height:19px; "/>
- <input id="ipt_tqty" ref="/root/main/goodinfo/gooddetlinfo/tqty" class="input_default" disabled="true" navindex="17" maxlength="4" style="left:1131px; top:437px; width:63px; height:19px; "/>
- <caption id="caption21" class="cell_1" style="left:1038px; top:437px; width:90px; height:23px; vertical-align:middle; ">TEST 수량</caption>
- <line id="line17" class="line_2" style="x1:882px; y1:242px; x2:1194px; y2:242px; "/>
- <output id="output11" ref="/root/main/goodinfo/gooddetlinfo/fstrgstdt" class="output_fix" format="yyyy-mm-dd" style="left:975px; top:486px; width:219px; height:19px; "/>
- <caption id="caption22" class="cell_1" style="left:882px; top:485px; width:90px; height:23px; vertical-align:middle; ">최초등록일자</caption>
- <line id="line18" class="line_2" style="x1:882px; y1:410px; x2:1194px; y2:410px; "/>
- <output id="output12" ref="/root/main/goodinfo/gooddetlinfo/fstrgstrid" class="output_fix" style="left:975px; top:510px; width:219px; height:19px; "/>
- <caption id="caption23" class="cell_1" style="left:882px; top:509px; width:90px; height:23px; vertical-align:middle; ">최초등록자</caption>
- <line id="line19" class="line_2" style="x1:882px; y1:434px; x2:1194px; y2:434px; "/>
- <output id="output13" ref="/root/main/goodinfo/gooddetlinfo/lastupdtdt" class="output_fix" format="yyyy-mm-dd" style="left:975px; top:534px; width:219px; height:19px; "/>
- <output id="output14" ref="/root/main/goodinfo/gooddetlinfo/lastupdtrid" class="output_fix" style="left:975px; top:558px; width:219px; height:19px; "/>
- <caption id="caption24" class="cell_1" style="left:882px; top:533px; width:90px; height:23px; vertical-align:middle; ">최종수정일자</caption>
- <caption id="caption25" class="cell_1" style="left:882px; top:557px; width:90px; height:23px; vertical-align:middle; ">최종수정자</caption>
- <line id="line20" class="line_2" style="x1:882px; y1:483px; x2:1194px; y2:483px; "/>
- <select1 id="rdo_gooddetlinfo" ref="/root/init/gooddetlinfo" navindex="18" appearance="full" cols="2" overflow="visible" style="left:992px; top:54px; width:93px; height:16px; border-style:none; ">
- <choices>
- <item>
- <label>조회</label>
- <value>0</value>
- </item>
- <item>
- <label>수정</label>
- <value>1</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fExeValueChange();
- ]]>
- </script>
- </select1>
- <line id="line6" class="line_3" style="x1:882px; y1:579px; x2:1194px; y2:579px; "/>
- <caption id="caption20" class="cell_1" style="left:882px; top:388px; width:90px; height:23px; vertical-align:middle; ">물품구분</caption>
- <select1 id="cmb_goodflag" ref="/root/main/goodinfo/gooddetlinfo/goodflagcd" class="combo_search" disabled="true" navindex="13" appearance="minimal" style="left:975px; top:389px; width:219px; height:19px; ">
- <choices>
- <item>
- <label>시약</label>
- <value>0</value>
- </item>
- <item>
- <label>소모품</label>
- <value>1</value>
- </item>
- </choices>
- </select1>
- <line id="line21" class="line_2" style="x1:882px; y1:338px; x2:1194px; y2:338px; "/>
- <caption id="caption26" class="cell_1" style="left:882px; top:436px; width:90px; height:23px; vertical-align:middle; ">TEST 단위</caption>
- <input id="ipt_tunit" ref="/root/main/goodinfo/gooddetlinfo/tunitcd" class="input_default" disabled="true" navindex="16" maxlength="5" style="left:975px; top:437px; width:60px; height:19px; "/>
- <caption id="caption27" class="cell_1" visibility="hidden" style="left:882px; top:196px; width:90px; height:23px; vertical-align:middle; ">물품사용여부</caption>
- <select1 id="rdo_goodflag" ref="/root/main/goodinfo/gooddetlinfo/goodflagyn" disabled="true" navindex="11" visibility="hidden" appearance="full" cols="2" overflow="visible" style="left:975px; top:197px; width:210px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>사용</label>
- <value>0</value>
- </item>
- <item>
- <label>미사용</label>
- <value>1</value>
- </item>
- </choices>
- </select1>
- <line id="line11" class="line_2" style="x1:882px; y1:362px; x2:1194px; y2:362px; "/>
- <line id="line22" class="line_2" style="x1:881px; y1:386px; x2:1194px; y2:386px; "/>
- <caption id="caption28" class="cell_1" style="left:882px; top:147px; width:90px; height:23px; vertical-align:middle; ">과 물 품 명</caption>
- <line id="line24" class="line_2" style="x1:882px; y1:507px; x2:1194px; y2:507px; "/>
- <caption id="caption29" class="cell_1" style="left:882px; top:123px; width:90px; height:23px; vertical-align:middle; ">물 품 명(영문)</caption>
- <output id="output16" ref="/root/main/goodinfo/gooddetlinfo/goodengnm" class="output_fix" style="left:975px; top:124px; width:219px; height:19px; "/>
- <input id="ipt_deptgoodnm" ref="/root/main/goodinfo/gooddetlinfo/deptgoodnm" class="input_default" disabled="true" navindex="9" maxlength="255" style="left:975px; top:149px; width:219px; height:19px; "/>
- <line id="line23" class="line_2" style="x1:882px; y1:530px; x2:1194px; y2:530px; "/>
- <line id="line25" class="line_2" style="x1:882px; y1:555px; x2:1194px; y2:555px; "/>
- <output id="output3" ref="/root/main/goodinfo/gooddetlinfo/cntctel" class="output_fix" style="left:975px; top:341px; width:219px; height:19px; "/>
- <caption id="caption10" class="cell_1" style="left:882px; top:340px; width:90px; height:23px; vertical-align:middle; ">거래처 연락처</caption>
- <caption id="caption30" class="cell_1" style="left:882px; top:364px; width:91px; height:23px; vertical-align:middle; ">바코드출력매수</caption>
- <input id="ipt_prntcnt" ref="/root/main/goodinfo/gooddetlinfo/prntcnt" class="input_default" disabled="true" navindex="12" maxlength="1" style="left:975px; top:365px; width:70px; height:19px; "/>
- <output id="opt_unitcost" ref="/root/main/goodinfo/gooddetlinfo/unitcost" class="output_fix" format="#,###" style="left:975px; top:269px; width:219px; height:19px; "/>
- <input id="ipt_todd" ref="/root/main/goodinfo/gooddetlinfo/todd" disabled="true" navindex="10" inputtype="date" format="yyyy-mm-dd" mask="exclude" showmask="true" style="left:1111px; top:173px; width:83px; height:19px; "/>
- <datagrid id="grd_gooddetlinfo" nodeset="/root/main/goodinfo/gooddetlinfo" visibility="hidden" caption="caption1^caption2^caption3^caption4^caption18^caption17^caption16^caption15^caption14^caption13^caption12^caption11^caption10^caption9^caption8^caption7^caption6^caption5^caption19^caption20^caption21^caption22^caption23^caption24" colsep="^" colwidth="100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:580px; top:570px; width:600px; height:150px; ">
- <col ref="goodcd"/>
- <col ref="goodnm"/>
- <col ref="goodengnm"/>
- <col ref="deptgoodnm"/>
- <col ref="fromdd"/>
- <col ref="todd"/>
- <col ref="unit"/>
- <col ref="spec"/>
- <col ref="unitcost"/>
- <col ref="prod"/>
- <col ref="supp"/>
- <col ref="goodflagcd"/>
- <col ref="useqty"/>
- <col ref="tqty"/>
- <col ref="fstrgstdt"/>
- <col ref="fstrgstrid"/>
- <col ref="lastupdtdt"/>
- <col ref="lastupdtrid"/>
- <col ref="useunitcd"/>
- <col ref="tunitcd"/>
- <col ref="goodflagyn"/>
- <col ref="cntctel"/>
- <col ref="prntcnt"/>
- <col ref="keeptmpr"/>
- </datagrid>
- <output id="opt_fromdd" ref="/root/main/goodinfo/gooddetlinfo/fromdd" class="output_fix" format="yyyy-mm-dd" style="left:975px; top:173px; width:70; height:19px; "/>
- <caption id="caption32" class="cell_1" style="left:882px; top:220px; width:90px; height:23px; vertical-align:middle; ">포장구성단위</caption>
- <output id="output4" ref="/root/main/goodinfo/gooddetlinfo/setunit" class="output_fix" style="left:975px; top:221px; width:219px; height:19px; "/>
- <caption id="caption33" class="cell_1" style="left:1048px; top:364px; width:60px; height:23px; vertical-align:middle; ">모 델</caption>
- <output id="opt_model" ref="/root/main/goodinfo/gooddetlinfo/model" class="output_fix" style="left:1111px; top:365px; width:83px; height:19px; "/>
- <input id="ipt_keeptmpr" ref="/root/main/goodinfo/gooddetlinfo/keeptmpr" class="input_default" disabled="true" navindex="9" maxlength="255" style="left:975px; top:462px; width:219px; height:19px; "/>
- <caption id="caption34" class="cell_1" style="left:882px; top:460px; width:90px; height:23px; vertical-align:middle; ">보 관 온 도</caption>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:13px; width:1195px; height:27px; ">
- <line id="line32" class="line_6" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
- <button id="btn_save" class="btn4_letter2" navindex="23" style="left:1138px; top:3px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExeSavelist();
- fExeAllValue();
- ]]>
- </script>
- </button>
- <button id="btn_prntexcel" class="btn3_letter5" navindex="19" style="left:0px; top:3px; width:80; height:22px; ">
- <caption>Excel출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExcelOut();
- ]]>
- </script>
- </button>
- <button id="button2" class="btn3_letter6" navindex="20" style="left:95; top:3; width:68px; height:22px; ">
- <caption>물품코드생성</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("SPLAF00300_물품코드관리");
- ]]>
- </script>
- </button>
- <button id="button3" class="btn4_letter6" navindex="22" style="left:1031; top:3; width:110px; height:15px; ">
- <caption>바코드재출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fBarCdOut();
- ]]>
- </script>
- </button>
- <button id="btn_prnt" class="btn3_letter5" navindex="21" style="left:200px; top:3px; width:92px; height:22px; ">
- <caption>프린터설정</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //fSetPrntSetting();
- fSetPrint();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|