123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SMLAW00200_물품분배.xrw
- * 설 명 : 물품분배
- * 설 계 자 : 설계자가 별도로 존재시 작성
- * 작 성 자 : 유동철(ACK)
- * 작 성 일 : 2007.02.16
- * 수정이력 : 최종작성일 기준으로 변경사항 이력관리
- * 기 타 : 주석문에 반영되어야 할 사항 표기
- -->
- <?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>
- <choi/>
- <goodcd/>
- <goodnm/>
- <goodengnm/>
- <stocqty/>
- <unitcost/>
- </goodcdlist>
- </goodcd>
- <dtbtappgood>
- <dtbtappgoodlist>
- <choi/>
- <goodcd/>
- <goodnm/>
- <lotno/>
- <spec/>
- <unit/>
- <winqty/>
- <winunitcost/>
- <validd/>
- <deptcd/>
- <deptnm/>
- </dtbtappgoodlist>
- </dtbtappgood>
- <dtbtgood>
- <dtbtgoodlist>
- <choi/>
- <goodcd/>
- <goodnm/>
- <lotno/>
- <spec/>
- <unit/>
- <winqty/>
- <winunitcost/>
- <validd/>
- <deptnm/>
- <deptcd/>
- <dtbtdd/>
- <dtbtdg/>
- <exist/>
- <posdeptcd/>
- </dtbtgoodlist>
- </dtbtgood>
- </main>
- <send>
- <seaval/>
- <seamthdcd/>
- <appdeptcd/>
- <dutfromdd/>
- <duttodd/>
- <posdeptcd/>
- </send>
- <init>
- <seaval/>
- <seamthdcd/>
- <useflagcd/>
- <dutdept>
- <appdeptcd/>
- </dutdept>
- <seamthdcd/>
- <popupmenu>
- <item>
- <name>행추가</name>
- <func>fExeInsertRow</func>
- </item>
- <item>
- <name>행삭제</name>
- <func>fExeDeleteRow</func>
- </item>
- </popupmenu>
- <dutfromdd/>
- <duttodd/>
- <sysdt>
- <sysdtinfo>
- <sysdd/>
- <systm/>
- </sysdtinfo>
- </sysdt>
- <subappdeptcd/>
- </init>
- <hidden>
- <barcd>
- <barcdprnt>1</barcdprnt>
- <barcdprntcnt>1</barcdprntcnt>
- <barcdprntdirec>0</barcdprntdirec>
- </barcd>
- </hidden>
- </root>
- </instance>
- <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" ev:event="xforms-ready">
- <![CDATA[
- fExeInitialize();
-
-
- ]]>
- </script>
- <submission id="TRLAA00103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/dutdept/appdeptcd"/>
- <submission id="TRLAW00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/dtbtappgood/dtbtappgoodlist"/>
- <submission id="TRLPZ00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/sysdt/sysdtinfo"/>
- <submission id="TXLAW00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance"/>
- <submission id="TXLAW00202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="root/message"/>
- <submission id="TRLAW00203" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/dtbtgood/dtbtgoodlist"/>
- <submission id="TRLAF00402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/deptinfo"/>
- </model>
- <script type="javascript">
- <![CDATA[
-
- /* @group : 물품분배
- * @ver : 2007.02.16 (CMCDEV-0001)
- * @by : 유동철(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 초기화 Function
- */
- function fExeInitialize() {
- model.removeNodeset("/root/main/goodcd/goodcdlist"); // 물품코드목록 초기화
- model.removeNodeset("/root/main/dtbtappgood/dtbtappgoodlist"); // 분배신청 물품목록 초기화
- //model.removeNodeset("/root/main/dtbtgood/dtbtgoodlist"); // 분배물품 목록 초기화
-
- model.setValue("/root/init/seaval", ""); // 검색값 초기화
- model.setValue("/root/init/seamthdcd", "0"); // 검색방법 초기화(0:바코드, 1:물품코드, 2:물품명)
- //model.setValue("/root/init/dutdept", "-"); // 검색부서 초기화
-
- //model.makeNode("/root/init/sysdt/sysdtinfo");
- //submit("TRLPZ00102");
- submit("TRLAF00402", false); // 사용자가 속한 과코드 조회
- //model.setValue("/root/init/dutfromdd", model.getValue("/root/init/sysdt/sysdtinfo/sysdd"));
- //model.setValue("/root/init/duttodd", model.getValue("/root/init/sysdt/sysdtinfo/sysdd"));
- model.setValue("/root/init/dutfromdd" , getCurrentDate());
- model.setValue("/root/init/duttodd" , getCurrentDate());
-
- model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
-
- //model.setValue("/root/hidden/barcd/barcdprnt", "1"); // 바코드 자동출력(0:자동, 1:수동)
- //model.setValue("/root/hidden/barcd/barcdprntdirec", "0"); // 바코드 출력방향(0:로컬, 1:원격)
- //model.setValue("/root/hidden/barcd/barcdprntcnt", "1"); // 바코드 출력매수
- model.makeValue("/root/send/posdeptcd", model.getValue("/root/init/deptinfo/cd"));
- submit("TRLAA00103", false); // 부서코드 목록
-
- cmb_seadept.select(0);
-
-
-
- model.refresh();
-
-
- }
-
- /* @group : 물품분배
- * @ver : 2007.10.06 (CMCDEV-0001)
- * @by : 한음미
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 엑셀 출력 function
- */
- function fExcelOut(){
- var fileName = window.fileDialog("save", ",", false, "분배물품 목록", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
-
- if (fileName != ""){
- grd_dtbtlist.saveExcel(fileName);
- }
-
- }
-
- /* @group : 물품분배
- * @ver : 2007.10.06 (CMCDEV-0001)
- * @by : 한음미
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 물품분배목록 삭제 function
- */
- function fDeleteDtbt(){
- if(grd_dtbtlist.rows > 1){
- for(var i = 1; i< grd_dtbtlist.rows; i++){
- if(model.getValue("/root/main/dtbtgood/dtbtgoodlist["+i+"]/choi")=="true"){
- if(model.getValue("/root/main/dtbtgood/dtbtgoodlist["+i+"]/exist")=="Y"){
- grd_dtbtlist.addStatus(i,"delete");
- }
-
- if(model.getValue("/root/main/dtbtgood/dtbtgoodlist["+i+"]/dtbtdg")==""){
- messageBox("분배된 내역만 취소가 가능합니다.","I");
- return false;
- }
- }
- }
- }
- model.makeValue("/root/send/count", grd_dtbtlist.getUpdateData());
- setAlertOn();
- if(submit("TXLAW00202")){ // 조회되어 있는 데이터 삭제
- model.removeNodeset("/root/main/dtbtgood/dtbtgoodlist");
- model.refresh();
- }
-
- }
-
- /* @group : 물품분배
- * @ver : 2007.10.06 (CMCDEV-0001)
- * @by : 한음미
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 물품분배 저장 function
- */
- function fSaveGoodDtbt(){
-
- if(grd_dtbtlist.rows > 1){
- for(var inu = 1; inu <= grd_dtbtlist.rows; inu++){
- if(model.getValue("/root/main/dtbtgood/dtbtgoodlist["+inu+"]/choi")=="true"){
- if(model.getValue("/root/main/dtbtgood/dtbtgoodlist["+inu+"]/exist")!="Y"){
- grd_dtbtlist.addStatus(inu,"insert");
- }else{
- grd_dtbtlist.addStatus(inu,"update");
- }
-
- if(model.getValue("/root/main/dtbtgood/dtbtgoodlist["+inu+"]/lotno") == ""){
- messageBox(inu+"행에 Lot번호가 입력되지 않았습니다.","I");
- return false;
- }
-
- if(model.getValue("/root/main/dtbtgood/dtbtgoodlist["+inu+"]/winqty") == "0"){
- messageBox(inu+"행에 분배수량이 입력되지 않았습니다.","I");
- return false;
- }
-
- if(model.getValue("/root/main/dtbtgood/dtbtgoodlist["+inu+"]/validd") == ""){
- messageBox(inu+"행에 유효기간이 입력되지 않았습니다.","I");
- return false;
- }
- }
- }
- }
- //alert(grd_dtbtlist.getUpdateData());
- model.makeValue("/root/send/dtbtgoodlist", grd_dtbtlist.getUpdateData());
-
- if(submit("TXLAW00201")){ // 목록에 있는 데이터 저장
- for(var iNum = 1; iNum<=grd_dtbtapplist.rows; iNum++){
- if(model.getValue("/root/main/dtbtappgood/dtbtappgoodlist["+iNum+"]/choi")=="true"){
- model.setValue("/root/main/dtbtappgood/dtbtappgoodlist["+iNum+"]/choi", "false");
- }
- model.removeNodeset("/root/main/dtbtgood/dtbtgoodlist");
- }
- model.refresh();
- }
-
- }
-
- /* @group : 물품분배
- * @ver : 2007.10.06 (CMCDEV-0001)
- * @by : 한음미
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 분배 물품목록 조회 function
- */
- function fGetSelectDtbt(){
-
- model.makeValue("/root/send/seaval", model.getValue("/root/init/seaval"));
- model.makeValue("/root/send/seamthdcd", model.getValue("/root/init/seamthdcd"));
- model.makeValue("/root/send/appdeptcd", model.getValue("/root/init/subappdeptcd"));
- model.makeValue("/root/send/dutfromdd", model.getValue("/root/init/dutfromdd"));
- model.makeValue("/root/send/duttodd", model.getValue("/root/init/duttodd"));
-
- submit("TRLAW00203"); // 목록 조회
- }
-
- /* @group : 물품분배
- * @ver : 2007.10.06 (CMCDEV-0001)
- * @by : 한음미
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 분배대상 물품목록에서 분배목록으로 데이터 가져오기 function
- */
- function fOnClickDtbtGoodList(){
-
- if(model.getValue("/root/main/dtbtappgood/dtbtappgoodlist["+ grd_dtbtapplist.row +"]/choi")=="true") {
-
- grd_dtbtlist.addRow();
-
- var goodcd = model.getValue("/root/main/dtbtappgood/dtbtappgoodlist["+ grd_dtbtapplist.row +"]/goodcd");
- var goodnm = model.getValue("/root/main/dtbtappgood/dtbtappgoodlist["+ grd_dtbtapplist.row +"]/goodnm");
- var lotno = model.getValue("/root/main/dtbtappgood/dtbtappgoodlist["+ grd_dtbtapplist.row +"]/lotno");
- var spec = model.getValue("/root/main/dtbtappgood/dtbtappgoodlist["+ grd_dtbtapplist.row +"]/spec");
- var unit = model.getValue("/root/main/dtbtappgood/dtbtappgoodlist["+ grd_dtbtapplist.row +"]/unit");
- var winunitcost = model.getValue("/root/main/dtbtappgood/dtbtappgoodlist["+ grd_dtbtapplist.row +"]/winunitcost");
- var deptnm = model.getValue("/root/main/dtbtappgood/dtbtappgoodlist["+ grd_dtbtapplist.row +"]/deptnm");
- var deptcd = model.getValue("/root/main/dtbtappgood/dtbtappgoodlist["+ grd_dtbtapplist.row +"]/deptcd");
- var posdeptcd = model.getValue("/root/init/deptinfo/cd");
-
- model.setValue("/root/main/dtbtgood/dtbtgoodlist["+ grd_dtbtlist.row +"]/choi" ,'true');
- model.setValue("/root/main/dtbtgood/dtbtgoodlist["+ grd_dtbtlist.row +"]/goodcd" , goodcd);
- model.setValue("/root/main/dtbtgood/dtbtgoodlist["+ grd_dtbtlist.row +"]/goodnm" , goodnm);
- model.setValue("/root/main/dtbtgood/dtbtgoodlist["+ grd_dtbtlist.row +"]/lotno" , lotno);
- model.setValue("/root/main/dtbtgood/dtbtgoodlist["+ grd_dtbtlist.row +"]/spec" , spec);
- model.setValue("/root/main/dtbtgood/dtbtgoodlist["+ grd_dtbtlist.row +"]/unit" , unit);
- model.setValue("/root/main/dtbtgood/dtbtgoodlist["+ grd_dtbtlist.row +"]/winunitcost", winunitcost);
- model.setValue("/root/main/dtbtgood/dtbtgoodlist["+ grd_dtbtlist.row +"]/deptcd" , deptcd);
- model.setValue("/root/main/dtbtgood/dtbtgoodlist["+ grd_dtbtlist.row +"]/winqty" ,'0');
- model.setValue("/root/main/dtbtgood/dtbtgoodlist["+ grd_dtbtlist.row +"]/validd" ,'99991231');
- model.setValue("/root/main/dtbtgood/dtbtgoodlist["+ grd_dtbtlist.row +"]/exist" ,'N');
- model.setValue("/root/main/dtbtgood/dtbtgoodlist["+ grd_dtbtlist.row +"]/posdeptcd", posdeptcd);
-
- grd_dtbtlist.toprow = grd_dtbtlist.rows-1;
- }
- }
-
- /* @group : 물품분배
- * @ver : 2007.10.06 (CMCDEV-0001)
- * @by : 한음미
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 물품코드목록에서 분배목록으로 데이터 가져오기 function
- */
- function fExeChoiTrue(){
-
- grd_dtbtlist.addRow();
-
- if(model.getValue("/root/main/goodcd/goodcdlist["+ grd_goodlist.row +"]/choi")=="true") {
- var goodcd = model.getValue("/root/main/goodcd/goodcdlist["+ grd_goodlist.row +"]/goodcd");
- var goodnm = model.getValue("/root/main/goodcd/goodcdlist["+ grd_goodlist.row +"]/goodnm");
- var lotno = model.getValue("/root/main/goodcd/goodcdlist["+ grd_goodlist.row +"]/lotno");
- var spec = model.getValue("/root/main/goodcd/goodcdlist["+ grd_goodlist.row +"]/goodspec");
- var unit = model.getValue("/root/main/goodcd/goodcdlist["+ grd_goodlist.row +"]/deliveunit");
- var winunitcost = model.getValue("/root/main/goodcd/goodcdlist["+ grd_goodlist.row +"]/goodunitcost");
- //var deptnm = model.getValue("/root/main/goodcd/goodcdlist["+ grd_goodlist.row +"]/deptnm");
- var deptcd = model.getValue("/root/main/goodcd/goodcdlist["+ grd_goodlist.row +"]/dutdeptcd");
- var posdeptcd = model.getValue("/root/init/deptinfo/cd");
-
- model.setValue("/root/main/dtbtgood/dtbtgoodlist["+ grd_dtbtlist.row +"]/choi" ,'true');
- model.setValue("/root/main/dtbtgood/dtbtgoodlist["+ grd_dtbtlist.row +"]/goodcd" , goodcd);
- model.setValue("/root/main/dtbtgood/dtbtgoodlist["+ grd_dtbtlist.row +"]/goodnm" , goodnm);
- model.setValue("/root/main/dtbtgood/dtbtgoodlist["+ grd_dtbtlist.row +"]/lotno" , lotno);
- model.setValue("/root/main/dtbtgood/dtbtgoodlist["+ grd_dtbtlist.row +"]/spec" , spec);
- model.setValue("/root/main/dtbtgood/dtbtgoodlist["+ grd_dtbtlist.row +"]/unit" , unit);
- model.setValue("/root/main/dtbtgood/dtbtgoodlist["+ grd_dtbtlist.row +"]/winunitcost", winunitcost);
- //model.setValue("/root/main/dtbtgood/dtbtgoodlist["+ grd_dtbtlist.row +"]/deptnm" , deptnm);
- model.setValue("/root/main/dtbtgood/dtbtgoodlist["+ grd_dtbtlist.row +"]/deptcd" , deptcd);
- model.setValue("/root/main/dtbtgood/dtbtgoodlist["+ grd_dtbtlist.row +"]/winqty" ,'0');
- model.setValue("/root/main/dtbtgood/dtbtgoodlist["+ grd_dtbtlist.row +"]/validd" ,'99991231');
- model.setValue("/root/main/dtbtgood/dtbtgoodlist["+ grd_dtbtlist.row +"]/exist" ,'N'); // 존재여부
- model.setValue("/root/main/dtbtgood/dtbtgoodlist["+ grd_dtbtlist.row +"]/posdeptcd", posdeptcd);
- grd_dtbtlist.toprow = grd_dtbtlist.rows-1;
-
- }
- }
-
- /* @group : 물품분배
- * @ver : 2007.10.06 (CMCDEV-0001)
- * @by : 한음미
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 물품코드목록 조회 function
- */
- function fGetSelectDeptCd(){
-
- //fGoodCodeList(); // import한 화면
- fGetGoodCodeSubList();
- model.removeNodeset("/root/main/dtbtappgood/dtbtappgoodlist");
- model.removeNodeset("/root/main/dtbtgood/dtbtgoodlist");
- model.refresh();
-
- }
-
- /* @group : 물품분배
- * @ver : 2007.10.06 (CMCDEV-0001)
- * @by : 한음미
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 분배대상 물품목록 조회 function
- */
- function fGetGoodCodeList(){
-
- model.makeValue("/root/send/seaval", model.getValue("/root/init/seaval"));
- model.makeValue("/root/send/seamthdcd", model.getValue("/root/init/seamthdcd"));
- model.makeValue("/root/send/appdeptcd", model.getValue("/root/init/subappdeptcd"));
- model.makeValue("/root/send/dutfromdd", model.getValue("/root/init/dutfromdd"));
- model.makeValue("/root/send/duttodd", model.getValue("/root/init/duttodd"));
-
- submit("TRLAW00201");
- }
-
-
- /* @group : 물품분배
- * @ver : 2007.02.16 (CMCDEV-0001)
- * @by : 유동철(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 그리드 Mouse Down 처리 Function
- */
- function fExeMouseDown() {
-
- //-----------------------------------------
- // 마우스 오른쪽 버튼클릭 검사(1:왼쪽, 3:우측)
- // grd_dtbtapplist.mouseRow : 클릭 로우
- // grd_dtbtapplist.fixedrows : 고정 로우 수
- if(event.button == 3){
- if(grd_dtbtapplist.isCell(event.target) && grd_dtbtapplist.mouseRow >= grd_dtbtapplist.fixedrows){
- window.setPopupMenu(true, "/root/init/popupmenu/item", "name", "func", false);
- }else{
- window.setPopupMenu(false);
- }
- }
- }
-
- /* @group : 물품분배
- * @ver : 2007.02.16 (CMCDEV-0001)
- * @by : 유동철(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 그리드 행 추가 Function
- */
- function fExeInsertRow() {
-
- if(getNodesetCount("/root/main/dtbtgood/dtbtgoodlist") > 0) {
- grd_dtbtlist.insertRow(grd_dtbtlist.row, true);
- model.copyNode("/root/main/dtbtgood/dtbtgoodlist["+ grd_dtbtlist.row +"]", "/root/main/dtbtgood/dtbtgoodlist["+ (grd_dtbtlist.row-1) +"]");
- model.setValue("/root/main/dtbtgood/dtbtgoodlist["+ grd_dtbtlist.row +"]/choi","true");
- grd_dtbtlist.refresh();
- }
- }
-
-
- /* @group : 물품분배
- * @ver : 2007.02.16 (CMCDEV-0001)
- * @by : 유동철(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 그리드 행 삭제 Function
- */
- function fExeDeleteRow() {
- if(getNodesetCount("/root/main/dtbtgood/dtbtgoodlist") > 0) {
- grd_dtbtlist.deleteRow(grd_dtbtlist.row, true);
- grd_dtbtlist.refresh();
- }
- }
-
- /* @group : 물품분배
- * @ver : 2007.02.16 (CMCDEV-0001)
- * @by : 유동철(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 그리드 포커스 아웃 Function
- */
- function fExeFocusOut() {
- window.setPopupMenu(false);
- }
- ]]>
- </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:744; ">
- <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:86px; height:17px; ">검색값 :</caption>
- <caption id="caption7" class="search_name" style="left:245; top:9px; width:86px; height:17px; ">검색방법 :</caption>
- <line id="line1" class="line_4" style="x1:1107px; y1:7px; x2:1107px; y2:29; "/>
- <input id="ipt_seaval" ref="/root/init/seaval" class="input_search" navindex="1" style="left:95px; top:8px; width:100px; height:19px; "/>
- <caption id="caption26" class="search_name" style="left:504; top:9px; width:86px; height:17px; ">검색부서 :</caption>
- <select1 id="cmb_seadept" ref="/root/init/subappdeptcd" class="combo_search" navindex="3" appearance="minimal" style="left:596; top:8px; width:140px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/dutdept/appdeptcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fGetSelectDeptCd();
- ]]>
- </script>
- </select1>
- <button id="btn_sea" class="btn1_letter2" navindex="5" style="left:1122; top:7; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetGoodCodeList();
- ]]>
- </script>
- </button>
- <select1 id="combo1" ref="/root/init/seamthdcd" class="combo_search" navindex="3" appearance="minimal" style="left:338; top:8px; width:105px; height:19px; ">
- <choices>
- <item>
- <label>바코드번호</label>
- <value>0</value>
- </item>
- <item>
- <label>물품코드</label>
- <value>1</value>
- </item>
- <item>
- <label>물품명</label>
- <value>2</value>
- </item>
- </choices>
- </select1>
- <caption id="caption4" class="search_name" style="left:781px; top:10px; width:105px; height:17px; ">분배일자 :</caption>
- <caption id="caption8" class="search_no_b" style="left:977; top:9px; width:12px; height:17px; ">~</caption>
- <input id="ipt_todd" ref="/root/init/duttodd" class="input_s_essential" inputtype="date" style="left:992; top:8; width:100px; height:19px; background-image:../../../com/commonweb/images/input_s_essential.gif; "/>
- <input id="ipt_fromdd" ref="/root/init/dutfromdd" class="input_s_essential" inputtype="date" style="left:874; top:8px; width:100px; height:19px; background-image:../../../com/commonweb/images/input_s_essential.gif; "/>
- </group>
- <line id="line2" class="line_1" style="x1:305px; y1:70px; x2:1194px; y2:70px; "/>
- <caption id="caption5" class="tit_2" style="left:310px; top:55px; width:144px; height:14px; ">분배대상 물품목록</caption>
- <caption id="caption2" class="tit_2" style="left:310px; top:383px; width:144px; height:14px; ">분배물품 목록</caption>
- <line id="line3" class="line_1" style="x1:305px; y1:398; x2:1194px; y2:398; "/>
- <button id="button3" class="btn4_letter2" navindex="6" style="left:1138; top:376px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fGetSelectDtbt();
- ]]>
- </script>
- </button>
- <datagrid id="grd_dtbtapplist" nodeset="/root/main/dtbtappgood/dtbtappgoodlist" class="datagrid2" autoresize="true" caption="선택^분배부서^물품코드^물품명^Lot번호^규격^단위^청구수량^단가^유효일자" colsep="^" colwidth="24, 100, 100, 153, 100, 90, 70, 70, 70, 90" dataheight="23" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:305; top:75px; width:889; height:299; ">
- <col ref="choi" type="checkbox"/>
- <col disabled="true" ref="deptcd" type="combo">
- <choices>
- <itemset nodeset="/root/init/dutdept/appdeptcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col ref="goodcd"/>
- <col ref="goodnm"/>
- <col ref="lotno"/>
- <col ref="spec"/>
- <col ref="unit"/>
- <col ref="winqty" format="#,###" mask="exclude" showmask="true" style="text-align:right; "/>
- <col ref="winunitcost" format="#,###" mask="exclude" showmask="true" style="text-align:right; "/>
- <col ref="validd" format="yyyy-mm-dd" mask="exclude" showmask="true" style="text-align:center; "/>
- <script type="javascript" ev:event="onmousedown">
- <![CDATA[
- fExeMouseDown();
- ]]>
- </script>
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- fExeFocusOut();
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- fOnClickDtbtGoodList();
- ]]>
- </script>
- </datagrid>
- <datagrid id="grd_dtbtlist" nodeset="/root/main/dtbtgood/dtbtgoodlist" class="datagrid2" autoresize="true" caption="선택^차수^분배부서^물품코드^물품명^Lot번호^규격^단위^분배수량^분배단가^존재^분배날짜^유효일자^posdeptcd" colsep="^" colwidth="24, 0, 100, 100, 153, 100, 80, 70, 70, 70, 0, 0, 100, 0" dataheight="23" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:305px; top:403px; width:889px; height:337px; ">
- <col ref="choi" type="checkbox"/>
- <col ref="dtbtdg"/>
- <col disabled="true" ref="deptcd" type="combo">
- <choices>
- <itemset nodeset="/root/init/dutdept/appdeptcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col ref="goodcd"/>
- <col ref="goodnm"/>
- <col ref="lotno" maxlength="30"/>
- <col ref="spec"/>
- <col ref="unit"/>
- <col ref="winqty" type="input" format="#,###" mask="exclude" maxlength="6" showmask="true" style="text-align:right; "/>
- <col ref="winunitcost" format="#,###" mask="exclude" showmask="true" style="text-align:right; "/>
- <col ref="exist"/>
- <col ref="dtbtdd"/>
- <col ref="validd" type="inputdate" format="yyyy-mm-dd" mask="exclude" maxlength="8" showmask="true" style="text-align:center; "/>
- <col ref="posdeptcd"/>
- </datagrid>
- <import id="import1" src="../../../lis/gooddelivemngtweb/xrw/SSLAW00100_물품목록.xrw" ref="/root/main/goodcd/goodcdlist" style="left:0px; top:55px; width:300px; height:688px; "/>
- <button id="button4" class="btn2_letter3" navindex="6" visibility="hidden" style="left:960px; top:378px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fExeInsertRow();
- ]]>
- </script>
- </button>
- <button id="btn_del" class="btn2_letter3" navindex="6" style="left:1016px; top:378px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fExeDeleteRow();
- ]]>
- </script>
- </button>
- <button id="btn_excsave" class="btn2_letter4" navindex="6" style="left:1072px; top:378px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExcelOut();
- ]]>
- </script>
- </button>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:13px; width:1194px; 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="6" style="left:1079; top:3px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSaveGoodDtbt();
- ]]>
- </script>
- </button>
- <button id="btn_can" class="btn4_letter2" navindex="7" style="left:1138; top:3px; width:56px; height:22px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fDeleteDtbt();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|