123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
- <xhtml:html xmlns:ex="http://www.comsquare.co.kr/xforms/excel" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:ms="urn:schemas-microsoft-com:xslt" xmlns:my="http://www.comsquare.co.kr/example" 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" xmlns:cs="http://www.comsquare.co.kr/xforms">
- <xhtml:head>
- <xhtml:title>처분자산감가상각</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <maindatalist>
- <instcd/>
- <jasanno/>
- <jasanname/>
- <kyukyeok/>
- <getdate/>
- <danga1/>
- <upnayongy/>
- <sangakyoul/>
- <jukwanbuseo/>
- <acntcd/>
- <acntnm/>
- <cheobunqty/>
- <cheobunkeum/>
- <cheobunjsak/>
- <cheobunsonik/>
- <cheobunhow/>
- <cheobunskbi/>
- <cheobuncdkeum/>
- <cheobundate/>
- <lastupdtdt/>
- <fstrgstrid/>
- <fstrgstdt/>
- <cheobungubun/>
- <jasanak/>
- <jasancd/>
- <jasansu/>
- <fixjssta/>
- <skprocode/>
- <oldcheobunqty/>
- <getqty/>
- <oldskprocode/>
- <oldfixjssta/>
- <boyubuseonm/>
- <boyubuseo/>
- <boyuqty/>
- <sumjasan/>
- </maindatalist>
- <maindataselect>
- </maindataselect>
- <maindataadd/>
- </main>
- <send>
- <instcd_search/>
- <cheobundate/>
- <fixasetcd_search/>
- <fixasetnm_search/>
- </send>
- <hidden>
- <save/>
- <send/>
- </hidden>
- <init>
- <sellmethod>
- <label/>
- <value/>
- </sellmethod>
- <selltype>
- <label/>
- <value/>
- </selltype>
- </init>
- <temp>
- <receive/>
- </temp>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- submit("TRRAR01803"); //처분방법, 처분유형 combo setting.
-
- misfComboComCdList("Z0007", cmb_instcd_search, "N"); //기관코드
- model.setValue(cmb_instcd_search.attribute("ref"), getUserInfo("dutplceinstcd"));
-
- model.removenode( "/root/main/maindatalist");
-
- var dt = new Date();
- var lastdt = new Date(dt.getYear(), dt.getMonth()+1, 0);
- ipt_cheobundate.value = getCurrentDate();
-
- model.setFocus("ipt_cheobundate");
-
- //button2.dispatch("DOMActivate");
- model.refresh();
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- //조회
- function fGetMainDataList() {
- if (ipt_cheobundate.value == ""){
- messageBox("처분일자를 ","C001");
- return false;
- }
- return true;
- }
-
- //행추가
- function fGetAddDataList() {
- if (ipt_cheobundate.value == ""){
- messageBox("처분일자를 ","C001");
- return false;
- }
- if (ipt_fixasetcd_search.value == ""){
- messageBox("자산코드를 ","C001");
- return false;
- }
- if (ipt_fixasetnm_search.value == ""){
- messageBox("자산코드를 다시 ","C001");
- return false;
- }
- return true;
- }
-
- //저장시 입력data checking logic..
- function fSetChackValue()
- {
- var updtdata = getGridUpdateData(grd_main);
- if (updtdata == ""){
- messageBox("변경된 데이터가","I004");
- return false;
- }
- var row = grd_main.row;
- for ( var i = grd_main.fixedRows; i <= grd_main.rows; i++ ) {
- if ( grd_main.rowStatus(i)=='1' || grd_main.rowStatus(i)=='2' ) { //insert, update..
- if ( grd_main.valueMatrix(i, grd_main.colRef("cheobundate")).length==0 ){
- messageBox("처분일자를 " ,"C001");
- return false;
- }
- if ( grd_main.valueMatrix(i, grd_main.colRef("jasanno")).length==0 ){
- messageBox("자산코드를" ,"C001");
- return false;
- }
- if ( grd_main.valueMatrix(i, grd_main.colRef("cheobunhow")).length==0 ){
- messageBox("처분방법을 " ,"C002");
- return false;
- }
- if ( grd_main.valueMatrix(i, grd_main.colRef("cheobungubun")).length==0 ){
- messageBox("처분유형을 " ,"C002");
- return false;
- }
- if ( grd_main.valueMatrix(i, grd_main.colRef("cheobunqty")).length==0 ){
- messageBox("처분수량을 " ,"C001");
- return false;
- }
- }
- }
- //rtn = messageBox("", "Q002");
- //if(rtn != "6" ) return false;
- return true;
- }
-
- //행추가시 가져오는 자산정보
- function fGetDEPRFACD(){
-
- if( submit("TRRAR01802") ){
-
- if(model.getValue("/root/main/maindataadd/cheobundate") != ""){
- model.copyNode("/root/main/maindataselect", "/root/main/maindataadd");
- cmb_cheobunhow.disabled = true;
- cmb_cheobungubun.disabled = true;
- grp_detail.refresh();
- messageBox("처분된 자산","I009");
- return;
- }
- misfGridIUD(grd_main, "A");
-
- grd_main.valueMatrix(grd_main.row, grd_main.colRef("instcd")) = model.getValue("/root/main/maindataadd/instcd");
- grd_main.valueMatrix(grd_main.row, grd_main.colRef("cheobundate")) = ipt_cheobundate.value;
- grd_main.valueMatrix(grd_main.row, grd_main.colRef("jasanno")) = model.getValue("/root/main/maindataadd/jasanno");
- grd_main.valueMatrix(grd_main.row, grd_main.colRef("jasanname")) = model.getValue("/root/main/maindataadd/jasanname");
- grd_main.valueMatrix(grd_main.row, grd_main.colRef("acntnm")) = model.getValue("/root/main/maindataadd/acntnm");
- grd_main.valueMatrix(grd_main.row, grd_main.colRef("kyukyeok")) = model.getValue("/root/main/maindataadd/kyukyeok");
- grd_main.valueMatrix(grd_main.row, grd_main.colRef("getdate")) = model.getValue("/root/main/maindataadd/getdate");
- grd_main.valueMatrix(grd_main.row, grd_main.colRef("danga1")) = model.getValue("/root/main/maindataadd/danga1");
- grd_main.valueMatrix(grd_main.row, grd_main.colRef("upnayongy")) = model.getValue("/root/main/maindataadd/upnayongy");
- grd_main.valueMatrix(grd_main.row, grd_main.colRef("sangakyoul")) = model.getValue("/root/main/maindataadd/sangakyoul");
- grd_main.valueMatrix(grd_main.row, grd_main.colRef("boyubuseonm")) = model.getValue("/root/main/maindataadd/boyubuseonm");
- grd_main.valueMatrix(grd_main.row, grd_main.colRef("boyubuseo")) = model.getValue("/root/main/maindataadd/boyubuseo");
- grd_main.valueMatrix(grd_main.row, grd_main.colRef("jasanak")) = model.getValue("/root/main/maindataadd/jasanak");
- grd_main.valueMatrix(grd_main.row, grd_main.colRef("jasancd")) = model.getValue("/root/main/maindataadd/jasancd");
- grd_main.valueMatrix(grd_main.row, grd_main.colRef("jasansu")) = model.getValue("/root/main/maindataadd/jasansu");//기초수량
- grd_main.valueMatrix(grd_main.row, grd_main.colRef("boyuqty")) = model.getValue("/root/main/maindataadd/boyuqty");//보유수량
- grd_main.valueMatrix(grd_main.row, grd_main.colRef("cheobunqty")) = model.getValue("/root/main/maindataadd/cheobunqty");//처분수량
- grd_main.valueMatrix(grd_main.row, grd_main.colRef("fixjssta")) = model.getValue("/root/main/maindataadd/fixjssta");
- grd_main.valueMatrix(grd_main.row, grd_main.colRef("skprocode")) = model.getValue("/root/main/maindataadd/skprocode");
- grd_main.valueMatrix(grd_main.row, grd_main.colRef("getqty")) = model.getValue("/root/main/maindataadd/getqty");//취득수량
- grd_main.valueMatrix(grd_main.row, grd_main.colRef("flag")) = model.getValue("/root/main/maindataadd/flag");//flag
- grd_main.valueMatrix(grd_main.row, grd_main.colRef("cheobunskbi")) = model.getValue("/root/main/maindataadd/cheobunskbi");//감가상각비
- grd_main.valueMatrix(grd_main.row, grd_main.colRef("cheobuncdkeum"))= model.getValue("/root/main/maindataadd/cheobuncdkeum");//감가상각누계
- grd_main.valueMatrix(grd_main.row, grd_main.colRef("cheobunjsak")) = model.getValue("/root/main/maindataadd/cheobunjsak");//처분자산가액
- grd_main.valueMatrix(grd_main.row, grd_main.colRef("sumjasan")) = model.getValue("/root/main/maindataadd/sumjasan");//잔존가액 쿼리에서 계산해서 던짐.(처분자산가액-감가상각누계)
- grd_main.valueMatrix(grd_main.row, grd_main.colRef("cheobunhow")) = "1"; //처분방법
- grd_main.valueMatrix(grd_main.row, grd_main.colRef("cheobungubun")) = "4"; //처분유형
- grd_main.valueMatrix(grd_main.row, grd_main.colRef("cheobunkeum")) = "0"; //매각대금
-
- out_cheobunkeum.disabled="true";
-
- if(grd_main.valueMatrix(grd_main.row, grd_main.colRef("cheobunqty")) == ""){
- grd_main.valueMatrix(grd_main.row, grd_main.colRef("cheobunhow")) = ""; //처분방법
- grd_main.valueMatrix(grd_main.row, grd_main.colRef("cheobungubun")) = ""; //처분유형
- model.copyNode("/root/main/maindataselect", "/root/main/maindatalist["+ grd_main.row +"]");
- cmb_cheobunhow.disabled = true;
- cmb_cheobungubun.disabled = true;
- grd_main.deleteRow(grd_main.row);
- model.refresh();
- messageBox("감가상각 내역이 없는 자산은 변동자산 관리에서 폐기 ","I006");
- }else{
- grd_main.dispatch("onrowchanged");
- }
- }
- }
-
- //정렬 순서로 sort함.
- function fGetSortSeq(){
- var num = grd_main.rows- 1;
- if(rdo_seq.value == 1){
- grd_main.sort(1, 2, num, 2) = "asc";
- }else{
- grd_main.sort(1, 3, num, 3) = "asc";
- }
- grd_main.refresh();
- }
-
- //출력물순서 저장
-
- //엑셀 입력
- function fInputExcel(pGrid) {
- var fileName = window.fileDialog("open", ",", false, "", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
- if(fileName != "") {
- pGrid.loadExcel(fileName, 1, true);
- pGrid.deleteRow(1);
-
- for(i = 1; i < pGrid.rows; i++) {
- pGrid.rowStatus(i) = 1;
- }
- pGrid.refresh();
- }
- }
-
-
- ]]>
- </script>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
- <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/RAC001.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <submission id="TRRAR01801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/maindatalist"/>
- <submission id="TRRAR01802" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/maindataadd"/>
- <submission id="TRRAR01803" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init"/>
- <submission id="TXRAR01801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/hidden/save" resultref="/root/temp"/>
- </model>
- </xhtml:head>
- <xhtml:body guideline="1,1194;" 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:293px; height:14px; ">처분자산감가상각</caption>
- <caption id="caption4" class="patient_text_black" style="left:922px; top:0px; width:272px; "/>
- </group>
- <group id="group3" scroll="auto" style="left:0px; top:40px; width:1195px; height:744px; ">
- <group id="grp_sea" style="left:0px; top:10px; width:1195px; height:38px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195px; height:38; background-color:#fffbf2; border-color:#ffd799; "/>
- <button id="button2" class="btn1_letter2" navindex="4" style="left:1123px; top:9px; width:56px; height:22px; text-align:left; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if( fGetMainDataList() ) {
- // setAlertOn();
- if(submit("TRRAR01801")){
- if(grd_main.rows - grd_main.fixedRows > 0){
- grd_main.row = grd_main.fixedRows + 1;
- grd_main.dispatch("onrowchanged");
- }
- }
- model.refresh();
- }
- ]]>
- </script>
- </button>
- <line id="line5" class="line_4" style="x1:1107px; y1:8px; x2:1107px; y2:30px; border-color:#ffe4bb; border-left-style:solid; "/>
- <input id="ipt_cheobundate" ref="/root/send/cheobundate" class="input_s_essential" inputtype="date" format="yyyy-mm-dd" style="left:345px; top:10px; width:100px; height:19px; "/>
- <caption id="caption3" class="search_name" style="left:256px; top:10px; width:94px; height:17px; ">처분일자 :</caption>
- <caption id="caption9" class="search_name" style="left:460px; top:10px; width:110px; height:17px; ">자산코드 :</caption>
- <input id="ipt_fixasetcd_search" ref="/root/send/fixasetcd_search" class="input_search" visibility="visible" style="left:552px; top:10px; width:95px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_fixasetcd_search.value != "")
- {
- rszfValidationCheck("TRRSD00241", "rfcmfacdlist", "instcd,requirementcd,requirementnm",
- cmb_instcd_search.value +",fixasetcd," + ipt_fixasetcd_search.value,
- "", "fixasetcd_search,fixasetnm_search", ipt_fixasetcd_search, "SPRSD00240",
- "instcd","cmb_instcd_search");
- }else{
- ipt_fixasetnm_search.value = '';
- }
- ipt_fixasetcd_search.refresh();
- ipt_fixasetnm_search.refresh();
- ]]>
- </script>
- </input>
- <button id="btn_fixasetcd" class="icon_search" style="left:651px; top:11px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- rszfOpenPopUpListByWndName(ipt_fixasetcd_search, "", "fixasetcd_search,fixasetnm_search","SPRSD00240","instcd","cmb_instcd_search");
- ipt_fixasetcd_search.refresh();
- ipt_fixasetnm_search.refresh();
- ]]>
- </script>
- </button>
- <output id="ipt_fixasetnm_search" ref="/root/send/fixasetnm_search" class="output_fix" navindex="3" appearance="output" style="left:670px; top:10px; width:200px; height:19px; "/>
- <select1 id="cmb_instcd_search" ref="/root/send/instcd_search" disabled="true" appearance="minimal" style="left:100px; top:10px; width:145px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption1" class="search_name" style="left:10px; top:10px; width:94px; height:17px; ">기관코드 :</caption>
- </group>
- <line id="line3" class="line_1" style="x1:0px; y1:325px; x2:1194px; y2:325px; "/>
- <button id="button18" class="btn2_letter3" style="left:1135px; top:52px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if ( grd_main.valueMatrix(grd_main.row, grd_main.colRef("jccnt")) > 0 ){
- messageBox( grd_main.valueMatrix(grd_main.row, grd_main.colRef("jabonjcdate")) + " 이후 취득 자료가 ","I010" );
- return false;
- }else{
- misfGridIUD(grd_main, "D");
- model.refresh();
- }
- ]]>
- </script>
- </button>
- <button id="btn_addrow" class="btn2_letter3" style="left:1078px; top:52px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var insert_cnt = 0;
- for ( var i = grd_main.fixedRows; i <= grd_main.rows; i++ ) {
- // if ( grd_main.rowStatus(i)=='1' ) { //insert
- // insert_cnt = insert_cnt + 1 ;
- // }
- if(grd_main.valueMatrix(i, grd_main.colRef("jasanno")) == ipt_fixasetcd_search.value){
- messageBox("이미 추가 된 자산","I009");
- return;
- }
- }
- if ( insert_cnt > 0) {
- // ("처분등록은 한번에 1건식 처리 가능합니다.\n\n1건만 저장 후 다시 해 주세요");
- }else{
- if ( fGetAddDataList() ) {
- fGetDEPRFACD();
- model.refresh();
- }
- }
- ]]>
- </script>
- </button>
- <datagrid id="grd_main" nodeset="/root/main/maindatalist" caption="기관코드^처분일자^자산번호^자산명^계정과목^보유부서^보유부서코드^규격^취득일^단가^상각율^취득수량^내용년수^보유수량^자산가액^수량^처분자산가액^감가상각비^감가상각누계^처분방법^처분유형^처분수량^매각대금^잔존가액^처분손익^jasancd^fixjssta^skprocode^flag" colsep="^" colwidth="60, 100, 100, 200, 140, 100, 100, 150, 90, 80, 70, 60, 60, 60, 90, 80, 90, 90, 90, 80, 80, 80, 80, 80, 80, 100, 100, 100, 100" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="16" rowsep="|" tooltip="true" style="left:0px; top:330px; width:1194px; height:380px; ">
- <col ref="instcd" style="left:20px; top:23px; width:60px; height:23px; text-align:center; "/>
- <col ref="cheobundate" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="jasanno" style="left:160px; top:23px; width:80px; height:23px; text-align:center; "/>
- <col ref="jasanname" style="text-align:left; vertical-align:middle; "/>
- <col ref="acntnm" style="text-align:left; "/>
- <col ref="boyubuseonm" style="text-align:left; "/>
- <col ref="boyubuseo" visibility="hidden"/>
- <col ref="kyukyeok"/>
- <col ref="getdate" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="danga1" format="#,###" style="text-align:right; "/>
- <col ref="sangakyoul" style="text-align:right; "/>
- <col ref="getqty" style="text-align:right; "/>
- <col ref="upnayongy" style="left:1150px; top:23px; width:60px; height:23px; text-align:right; "/>
- <col ref="boyuqty"/>
- <col ref="jasanak" format="#,###" style="text-align:right; "/>
- <col ref="jasansu" format="#,###" style="text-align:right; "/>
- <col ref="cheobunjsak" format="#,###" style="text-align:right; "/>
- <col ref="cheobunskbi" format="#,###" style="text-align:right; "/>
- <col ref="cheobuncdkeum" format="#,###" style="text-align:right; "/>
- <col disabled="true" ref="cheobunhow" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/sellmethod">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="cheobungubun" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/selltype">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </col>
- <col ref="cheobunqty" format="#,###" style="text-align:right; "/>
- <col ref="cheobunkeum" format="#,###" style="left:1950px; top:23px; width:80px; height:23px; text-align:right; "/>
- <col ref="sumjasan" format="#,###" style="left:2030px; top:23px; width:80px; height:23px; text-align:right; "/>
- <col ref="cheobunsonik" format="(-)#,###" style="text-align:right; "/>
- <col ref="jasancd"/>
- <col ref="fixjssta"/>
- <col ref="skprocode"/>
- <col ref="flag"/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_main.gridToInstance();
- ]]>
- </script>
- <script type="javascript" ev:event="onrowchanged">
- <![CDATA[
- model.copyNode("/root/main/maindataselect", "/root/main/maindatalist["+ grd_main.row +"]");
- if ( grd_main.rowStatus(grd_main.row)=='1'){
- cmb_cheobunhow.disabled = false;
- cmb_cheobungubun.disabled = false;
- }else{
- cmb_cheobunhow.disabled = true;
- cmb_cheobungubun.disabled = true;
- }
- grp_detail.refresh();
- ]]>
- </script>
- </datagrid>
- <caption id="caption21" class="tit_2" style="left:5px; top:307px; width:131px; height:13px; ">출력 목록</caption>
- <group id="grp_detail" scroll="auto" style="left:0px; top:79px; width:1195px; height:218px; ">
- <!--</group>-->
- <caption id="cap_goodflaghngnm" class="cell_1" style="left:1px; top:28px; width:130px; height:27px; vertical-align:middle; ">규격</caption>
- <caption id="cap_instcd" class="cell_1" style="left:594px; top:0px; width:130px; height:27px; vertical-align:middle; ">계정과목</caption>
- <output id="input1" ref="/root/main/maindataselect/jasanno" class="output_fix" visibility="visible" appearance="output" style="left:140px; top:4px; width:150px; height:19px; "/>
- <output id="input2" ref="/root/main/maindataselect/jasanname" class="output_fix" navindex="3" appearance="output" style="left:295px; top:4px; width:290px; height:19px; "/>
- <caption id="caption2" class="cell_1" style="left:299px; top:28px; width:130px; height:27px; vertical-align:middle; ">취득일</caption>
- <caption id="caption5" class="cell_1" style="left:1px; top:0px; width:130px; height:27px; vertical-align:middle; ">자산코드</caption>
- <line id="line1" class="line_2" style="x1:1px; y1:55px; x2:1191; y2:55px; "/>
- <line id="line6" class="line_2" style="x1:1px; y1:27px; x2:1191px; y2:27px; "/>
- <line id="line7" class="line_2" style="x1:1191px; y1:0px; x2:1191px; y2:85px; "/>
- <line id="line9" class="line_2" style="x1:0px; y1:0px; x2:0px; y2:84px; "/>
- <caption id="caption7" class="cell_1" style="left:896px; top:28px; width:130px; height:27px; vertical-align:middle; ">상각율</caption>
- <caption id="caption8" class="cell_1" style="left:1px; top:56px; width:130px; height:27px; vertical-align:middle; ">취득수량</caption>
- <caption id="caption10" class="cell_1" style="left:594px; top:28px; width:130px; height:27px; vertical-align:middle; ">단가</caption>
- <line id="line11" class="line_2" style="x1:1px; y1:83px; x2:1191px; y2:83px; "/>
- <caption id="caption11" class="cell_1" style="left:299px; top:56px; width:76px; height:27px; vertical-align:middle; ">내용년수</caption>
- <caption id="caption12" class="cell_1" style="left:594px; top:56px; width:130px; height:27px; vertical-align:middle; ">처분방법</caption>
- <caption id="caption13" class="cell_1" style="left:896px; top:56px; width:130px; height:27px; vertical-align:middle; ">처분유형</caption>
- <caption id="caption14" class="tit_2" style="left:5px; top:97px; width:131px; height:13px; ">처분전의 자산</caption>
- <caption id="caption15" class="tit_2" style="left:595px; top:95px; width:131px; height:13px; ">처분시의 자산</caption>
- <line id="line14" class="line_2" style="x1:1px; y1:146px; x2:1191px; y2:146px; "/>
- <caption id="caption16" class="cell_1" style="left:1px; top:119px; width:130px; height:27px; vertical-align:middle; ">자산가액</caption>
- <line id="line15" class="line_1" style="x1:0px; y1:114px; x2:1192px; y2:114px; "/>
- <caption id="caption17" class="cell_1" style="left:595px; top:119px; width:130; height:27px; vertical-align:middle; ">처분자산가액</caption>
- <caption id="caption18" class="cell_1" style="left:299px; top:119px; width:130px; height:27px; vertical-align:middle; ">수량</caption>
- <caption id="caption19" class="cell_1" style="left:595px; top:147px; width:130px; height:27px; vertical-align:middle; ">감가상각누계</caption>
- <caption id="cap_goodflagengnm" class="cell_1" style="left:896px; top:0px; width:130px; height:27px; vertical-align:middle; ">보유부서</caption>
- <caption id="caption20" class="cell_1" style="left:896px; top:119px; width:130px; height:27px; vertical-align:middle; ">감가상각비</caption>
- <caption id="caption22" class="cell_1" style="left:896px; top:147px; width:130px; height:27px; vertical-align:middle; ">처분수량</caption>
- <line id="line4" class="line_2" style="x1:1px; y1:174px; x2:1192px; y2:174px; "/>
- <line id="line8" class="line_2" style="x1:1191px; y1:117px; x2:1191px; y2:175px; "/>
- <line id="line12" class="line_1" style="x1:0px; y1:184px; x2:1192px; y2:184px; "/>
- <caption id="caption23" class="cell_1" style="left:0px; top:189px; width:180; height:27px; vertical-align:middle; ">매각대금</caption>
- <caption id="caption24" class="cell_1" style="left:398px; top:189px; width:180px; height:27px; vertical-align:middle; ">잔존가액</caption>
- <caption id="caption25" class="cell_1" style="left:795px; top:189px; width:180px; height:27px; vertical-align:middle; ">처분손익</caption>
- <line id="line13" class="line_2" style="x1:1px; y1:216px; x2:1191px; y2:216px; "/>
- <line id="line16" class="line_2" style="x1:0px; y1:116px; x2:0px; y2:175px; "/>
- <line id="line17" class="line_2" style="x1:0px; y1:186px; x2:0px; y2:217px; "/>
- <line id="line18" class="line_2" style="x1:1191px; y1:186px; x2:1191px; y2:217px; "/>
- <output id="output3" ref="/root/main/maindataselect/kyukyeok" class="output_fix" navindex="3" appearance="output" style="left:140px; top:32px; width:150px; height:19px; "/>
- <output id="output4" ref="/root/main/maindataselect/getdate" class="output_fix" navindex="3" format="yyyy-mm-dd" appearance="output" style="left:435px; top:32px; width:150px; height:19px; text-align:center; "/>
- <output id="output5" ref="/root/main/maindataselect/danga1" class="output_fix" navindex="3" format="#,###" appearance="output" style="left:733px; top:32px; width:150px; height:19px; text-align:center; "/>
- <output id="output6" ref="/root/main/maindataselect/sangakyoul" class="output_fix" navindex="3" appearance="output" style="left:1033px; top:32px; width:150px; height:19px; text-align:center; "/>
- <output id="output1" ref="/root/main/maindataselect/acntnm" class="output_fix" navindex="3" appearance="output" style="left:733px; top:4px; width:150px; height:19px; text-align:center; "/>
- <output id="output2" ref="/root/main/maindataselect/boyubuseonm" class="output_fix" navindex="3" appearance="output" style="left:1033px; top:4px; width:150px; height:19px; text-align:center; "/>
- <output id="output7" ref="/root/main/maindataselect/upnayongy" class="output_fix" navindex="3" appearance="output" style="left:380px; top:60px; width:55px; height:19px; text-align:right; "/>
- <output id="output8" ref="/root/main/maindataselect/getqty" class="output_fix" navindex="3" appearance="output" style="left:140px; top:60px; width:150px; height:19px; text-align:right; "/>
- <output id="output11" ref="/root/main/maindataselect/cheobunskbi" class="output_fix" navindex="3" format="#,###" appearance="output" style="left:1033px; top:122px; width:150px; height:19px; text-align:right; "/>
- <output id="output12" ref="/root/main/maindataselect/jasansu" class="output_fix" navindex="3" appearance="output" style="left:435px; top:122px; width:150px; height:19px; text-align:right; "/>
- <output id="output13" ref="/root/main/maindataselect/jasanak" class="output_fix" navindex="3" format="#,###" appearance="output" style="left:140px; top:122px; width:150px; height:19px; text-align:right; "/>
- <output id="output14" ref="/root/main/maindataselect/cheobunjsak" class="output_fix" navindex="3" format="#,###" appearance="output" style="left:733px; top:122px; width:150px; height:19px; text-align:right; "/>
- <input id="out_cheobunqty" ref="/root/main/maindataselect/cheobunqty" class="output_fix" navindex="3" appearance="input" style="left:1033px; top:152px; width:150px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- grd_main.valueMatrix(grd_main.row, grd_main.colRef("cheobunqty")) = out_cheobunqty.value;
- ]]>
- </script>
- </input>
- <output id="output16" ref="/root/main/maindataselect/cheobuncdkeum" class="output_fix" navindex="3" format="#,###" appearance="output" style="left:733px; top:152px; width:150px; height:19px; text-align:right; "/>
- <input id="out_cheobunkeum" ref="/root/main/maindataselect/cheobunkeum" navindex="3" format="#,###" appearance="input" style="left:188px; top:193px; width:200px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var cheobunsonik = out_cheobunkeum.value - opt_sumjasan.value;
- model.setValue("/root/main/maindataselect/cheobunsonik", cheobunsonik );
- grd_main.valueMatrix(grd_main.row, grd_main.colRef("cheobunsonik")) = cheobunsonik;
- grd_main.valueMatrix(grd_main.row, grd_main.colRef("cheobunkeum")) = out_cheobunkeum.value;
- model.refresh();
- ]]>
- </script>
- </input>
- <output id="opt_sumjasan" ref="/root/main/maindataselect/sumjasan" class="output_fix" navindex="3" format="#,###" appearance="output" style="left:586px; top:193px; width:200px; height:19px; text-align:right; "/>
- <caption id="opt_cheobunsonik" ref="/root/main/maindataselect/cheobunsonik" class="output_fix" navindex="3" format="(-)#,###" appearance="caption" style="left:983px; top:193px; width:200px; height:19px; text-align:right; "/>
- <select1 id="cmb_cheobunhow" ref="/root/main/maindataselect/cheobunhow" class="combo_s_essential" navindex="1" appearance="minimal" style="left:733px; top:60px; width:150px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/sellmethod">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- grd_main.valueMatrix(grd_main.row, grd_main.colRef("cheobunhow")) = cmb_cheobunhow.value;
- ]]>
- </script>
- </select1>
- <select1 id="cmb_cheobungubun" ref="/root/main/maindataselect/cheobungubun" class="combo_s_essential" navindex="1" appearance="minimal" style="left:1033px; top:60px; width:150px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/selltype">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- grd_main.valueMatrix(grd_main.row, grd_main.colRef("cheobungubun")) = cmb_cheobungubun.value;
- if ( cmb_cheobungubun.value == "3" ) {
- out_cheobunkeum.disabled="false";
- }else{
- out_cheobunkeum.disabled="true";
- }
- ]]>
- </script>
- </select1>
- <caption id="caption26" class="cell_1" style="left:440px; top:56px; width:76px; height:27px; vertical-align:middle; ">보유수량</caption>
- <output id="output9" ref="/root/main/maindataselect/boyuqty" class="output_fix" navindex="3" appearance="output" style="left:520px; top:60px; width:65px; height:19px; text-align:right; "/>
- </group>
- <line id="line10" class="line_1" style="x1:0px; y1:74px; x2:1192px; y2:74px; "/>
- </group>
- <group id="group4" scroll="auto" style="left:0px; top:13; width:1195px; height:27px; ">
- <button id="btn_save" class="btn4_letter2" style="left:1132px; top:3px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if( fSetChackValue() ) { //저장시 입력data checking logic..
- //입력하신 DATA를 저장 하시겠습니까?
- rtn = messageBox("Data변경이 일어났습니다.","Q002");
- if ( rtn == "6" ) {
- //입력,수정,삭제된 data save node 에 담기..
- model.setValue("/root/hidden/save",grd_main.getUpdateData());
- if(submit("TXRAR01801")) {
- button2.dispatch("DOMActivate");
- }
- }
- }
-
- ]]>
- </script>
- </button>
- <line id="line2" class="line_6" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|