123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
- <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
- <xhtml:head>
- <xhtml:title>부가세신고관리</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <gridacclist>
- <item>
- <subjno/>
- <stmntseqno/>
- <taxyn/>
- <taxdd/>
- <taxyy/>
- <taxqurtyy/>
- <mistrsmyn/>
- <mistaxdd/>
- <mistaxyy/>
- <mistaxqurtyy/>
- <depodd/>
- <reqinstcd/>
- <cmpynm/>
- <prsdnm/>
- <addr/>
- <bizcond/>
- <bizcondkind/>
- <supplyamt/>
- <direcamt/>
- <crccamt/>
- <hospamt/>
- <judgamt/>
- <drugmngtamt/>
- <documngtamt/>
- <mistrsmdd/>
- <mistrsmid/>
- <hidtaxyn/>
- <hidmistrsmyn/>
- <hidmistaxdd/>
- <hidmistaxyy/>
- <hidmistaxqurtyy/>
- </item>
- <item2>
- <subjno/>
- <stmntseqno/>
- <taxyn/>
- <taxdd/>
- <taxyy/>
- <taxqurtyy/>
- <mistrsmyn/>
- <mistaxdd/>
- <mistaxyy/>
- <mistaxqurtyy/>
- <confdd/>
- <reqinstcd/>
- <cmpynm/>
- <prsdnm/>
- <addr/>
- <bizcond/>
- <bizcondkind/>
- <supplyamt/>
- <direcamt/>
- <crccamt/>
- <hospamt/>
- <judgamt/>
- <drugmngtamt/>
- <documngtamt/>
- <mistrsmdd/>
- <mistrsmid/>
- <hidtaxyn/>
- <hidmistrsmyn/>
- <hidmistaxdd/>
- <hidmistaxyy/>
- <hidmistaxqurtyy/>
- </item2>
- </gridacclist>
- <gridtranlist>
- <item>
- <suprecvinstcls/>
- <depodd/>
- <reqinstcd/>
- <cmpynm/>
- <prsdnm/>
- <addr/>
- <bizcond/>
- <bizcondkind/>
- <amt/>
- <taxamt/>
- <amt/>
- <rcpttypecd/>
- <flag/>
- <addtax/>
- <count/>
- <subjno/>
- </item>
- </gridtranlist>
- </main>
- <send>
- <searchaccwh>
- <startyy/>
- <endyy/>
- <getyy/>
- <startseqno/>
- <endseqno/>
- <getseqno/>
- <teamyy/>
- <teamqurt/>
- <teamdate/>
- <chkmisyn/>
- <srchdate/>
- </searchaccwh>
- <searchtran>
- <taxyy/>
- <taxqurt/>
- <mistaxyy/>
- <mistaxqurt/>
- <taxdate1/>
- <taxdate2/>
- <mistaxdate1/>
- <mistaxdate2/>
- <suprecvinstcls/>
- <taxrdo1/>
- <taxrdo2/>
- </searchtran>
- <data/>
- </send>
- <hidden>
- </hidden>
- <init>
- <baseinfo>
- <instinfo>
- <instcd/>
- <hospnm/>
- </instinfo>
- </baseinfo>
- <dateyy>
- <item/>
- <item2/>
- </dateyy>
- <dateyy2>
- <item/>
- </dateyy2>
- </init>
- <tmp>
- <acctinfo>
- </acctinfo>
- </tmp>
- </root>
- </instance>
- <submission id="TRICS03001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/searchaccwh" replace="instance" resultref="/root/main/gridacclist"/>
- <submission id="TRICS03002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/searchaccwh" replace="instance" resultref="/root/hidden"/>
- <submission id="TRICS03003" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/searchtran" replace="instance" resultref="/root/main/gridtranlist"/>
- <submission id="TRIRZ00000" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/init" replace="instance" resultref="/root/init/baseinfo"/>
- <submission id="TRICS02901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/hidden" replace="instance" resultref="/root/init/dateyy"/>
- <submission id="TXICS01012" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- func_search();
- model.refresh();
- ]]>
- </script>
- </model>
- <script type="javascript">
- <![CDATA[
- function func_search() {
- // datagrid 조회
- //submit("TRICS03001");
- model.removeNodeset("/root/main/gridacclist");
- model.removeNodeset("/root/main/gridtranlist");
-
- // 검색란의 날짜값 조회
- var getdate = new Date().getDateFormat().substring(0,4);
- model.makeValue("/root/hidden/getyear", getdate);
- submit("TRICS02901");
- model.removenode("/root/hidden");
- combo_year1.value = getdate;
- combo_year2.value = getdate;
- combo_year3.value = getdate;
-
- model.copyNode("/root/init/dateyy2", "/root/init/dateyy");
- model.removeNodeset("/root/init/dateyy2/item2");
- model.removenode("/root/init/dateyy2/item"); // "없음" 항목을 뺌
- combo_year4.value = getdate;
- // 조회기간 데이터 초기값 지정
- input8.value = new Date(new Date().getFullYear(), "-6", new Date().getDate()).getDateFormat();
- input1.value = new Date(new Date().getFullYear(), "-6", new Date().getDate()).getDateFormat();
- input3.value = new Date().getDateFormat();
- input2.value = new Date().getDateFormat();
-
- combo3.select(0);
- combo5.select(0);
-
- group1.visible = true;
- group2.visible = false;
-
- // 부가세신고 전송내역(매출)
- model.setValue("/root/send/searchtran/taxrdo2", "1");
- input1.disabled = false;
- input2.disabled = false;
- }
- ]]>
- </script>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../crc/clinicresearchweb/js/ZME00100.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../ast/commonweb/js/AST.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
- <script type="javascript" src="../../../com/emailsenderweb/js/ZME00100.js"/>
- </xhtml:head>
- <xhtml:body>
- <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:14px; ">
- <caption id="caption120" class="tit_1" style="left:0px; top:0px; width:158px; height:14px; ">부가세신고관리</caption>
- </group>
- <group id="group2" visibility="hidden" style="left:0px; top:20px; width:1194px; height:70px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:65px; background-color:#fffbf2; border-color:#ffd799; "/>
- <button id="button1" class="btn1_letter2" _auth="R" style="left:1065px; top:20px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- switch (model.getValue("/root/send/searchtran/taxrdo1")) {
- case "1":
- if (model.getValue("/root/send/searchtran/taxdate1") == "" && model.getValue("/root/send/searchtran/taxdate2") == "") {
- messageBox("부가세신고기간의 날짜 범위를 입력해 주세요", "I999");
- return;
- }
- break;
-
- case "2":
- if (model.getValue("/root/send/searchtran/taxyy") == "" && model.getValue("/root/send/searchtran/taxqurt") == "") {
- messageBox("부가세신고분기의 년도 및 분기를 선택해 주세요", "I999");
- return;
- }
- break;
- }
-
- switch (model.getValue("/root/send/searchtran/taxrdo2")) {
- case "1":
- if (model.getValue("/root/send/searchtran/mistaxdate1") == "" && model.getValue("/root/send/searchtran/mistaxdate2") == "") {
- messageBox("재무팀 부가세신고기간의 날짜 범위를 입력해 주세요", "I999");
- return;
- }
- break;
-
- case "2":
- if (model.getValue("/root/send/searchtran/mistaxyy") == "" && model.getValue("/root/send/searchtran/mistaxqurt") == "") {
- messageBox("재무팀 부가세신고분기의 년도 및 분기를 선택해 주세요", "I999");
- return;
- }
- break;
- }
-
- submit("TRICS03003");
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption2" class="search_n_b" visibility="hidden" style="left:844px; top:10px; width:12px; height:17px; font-weight:bolder; ">~</caption>
- <line id="line1" style="x1:1049px; y1:7px; x2:1049px; y2:58px; border-color:#ffe4bb; border-left-style:solid; "/>
- <input id="input8" ref="/root/send/searchtran/taxdate1" disabled="true" visibility="hidden" inputtype="date" style="left:738px; top:8px; width:100px; height:19px; "/>
- <input id="input3" ref="/root/send/searchtran/taxdate2" disabled="true" visibility="hidden" inputtype="date" style="left:861px; top:8px; width:100px; height:19px; "/>
- <line id="line3" visibility="hidden" style="x1:605px; y1:7px; x2:605px; y2:58px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="caption1" class="search_name" style="left:428px; top:9px; width:102px; height:17px; ">공급받는자 :</caption>
- <select1 id="combo1" ref="/root/send/searchtran/suprecvinstcls" class="input_default" appearance="minimal" style="left:528px; top:8px; width:68px; height:19px; ">
- <choices>
- <item>
- <label>-전 체-</label>
- <value/>
- </item>
- <item>
- <label>의뢰자</label>
- <value>1</value>
- </item>
- <item>
- <label>대행사</label>
- <value>2</value>
- </item>
- </choices>
- </select1>
- <select1 id="rdo_date1" ref="/root/send/searchtran/taxrdo1" visibility="hidden" appearance="full" itemheight="30" rows="2" overflow="visible" style="left:615px; top:1px; width:115px; height:34px; border-style:none; ">
- <choices>
- <item>
- <label>부가세신고기간 :</label>
- <value>1</value>
- </item>
- <item>
- <label>부가세신고분기 :</label>
- <value>2</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue("/root/send/searchtran/taxrdo2", "");
- switch (model.getValue("/root/send/searchtran/taxrdo1")) {
- case "1":
- input8.disabled = false;
- input3.disabled = false;
- input1.disabled = true;
- input2.disabled = true;
- combo3.disabled = true;
- combo2.disabled = true;
- combo5.disabled = true;
- combo4.disabled = true;
- break;
-
- case "2":
- input8.disabled = true;
- input3.disabled = true;
- input1.disabled = true;
- input2.disabled = true;
- combo3.disabled = false;
- combo2.disabled = false;
- combo5.disabled = true;
- combo4.disabled = true;
- break;
- }
- model.refresh();
- ]]>
- </script>
- </select1>
- <select1 id="combo2" ref="/root/send/searchtran/taxqurt" class="input_default" disabled="true" visibility="hidden" appearance="minimal" style="left:809px; top:35px; width:68px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/dateyy/item2">
- <label ref="labelnm"/>
- <value ref="valuenm"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="combo3" ref="/root/send/searchtran/taxyy" class="input_default" disabled="true" visibility="hidden" appearance="minimal" style="left:738px; top:35px; width:68px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/dateyy2/item">
- <label ref="labelnm"/>
- <value ref="valuenm"/>
- </itemset>
- </choices>
- </select1>
- <input id="input1" ref="/root/send/searchtran/mistaxdate1" disabled="true" inputtype="date" style="left:183px; top:8px; width:100px; height:19px; "/>
- <caption id="caption3" class="search_n_b" style="left:289px; top:10px; width:12px; height:17px; font-weight:bolder; ">~</caption>
- <select1 id="combo4" ref="/root/send/searchtran/mistaxqurt" class="input_default" disabled="true" appearance="minimal" style="left:254px; top:35px; width:68px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/dateyy/item2">
- <label ref="labelnm"/>
- <value ref="valuenm"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="combo5" ref="/root/send/searchtran/mistaxyy" class="input_default" disabled="true" appearance="minimal" style="left:183px; top:35px; width:68px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/dateyy2/item">
- <label ref="labelnm"/>
- <value ref="valuenm"/>
- </itemset>
- </choices>
- </select1>
- <input id="input2" ref="/root/send/searchtran/mistaxdate2" disabled="true" inputtype="date" style="left:306px; top:8px; width:100px; height:19px; "/>
- <select1 id="rdo_date2" ref="/root/send/searchtran/taxrdo2" appearance="full" itemheight="30" overflow="visible" row="2" style="left:20px; top:1px; width:155px; height:34px; border-style:none; ">
- <choices>
- <item>
- <label>재무팀 부가세신고기간 :</label>
- <value>1</value>
- </item>
- <item>
- <label>재무팀 부가세신고분기 :</label>
- <value>2</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue("/root/send/searchtran/taxrdo1", "");
- switch (model.getValue("/root/send/searchtran/taxrdo2")) {
- case "1":
- input8.disabled = true;
- input3.disabled = true;
- input1.disabled = false;
- input2.disabled = false;
- combo3.disabled = true;
- combo2.disabled = true;
- combo5.disabled = true;
- combo4.disabled = true;
- break;
-
- case "2":
- input8.disabled = true;
- input3.disabled = true;
- input1.disabled = true;
- input2.disabled = true;
- combo3.disabled = true;
- combo2.disabled = true;
- combo5.disabled = false;
- combo4.disabled = false;
- break;
- }
- model.refresh();
- ]]>
- </script>
- </select1>
- <button id="button2" class="btn4_letter2" _auth="R" style="left:1125px; top:20px; width:56px; height:22px; ">
- <caption>엑셀</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var filename = window.fileDialog("save", ",", false, "부가세신고_전송내역(매출)", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- if (filename != "") {
- datagrid2.saveExcel(filename, "datagrid2", true, false, "", "", "");
- }
- ]]>
- </script>
- </button>
- </group>
- <group id="group1" style="left:0px; top:20px; width:1194px; height:70px; vertical-align:top; ">
- <shape id="roundrect3" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:65px; background-color:#fffbf2; border-color:#ffd799; "/>
- <button id="btn_clear" class="btn4_letter3" navindex="6" style="left:1053px; top:20px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var getdate = new Date().getDateFormat().substring(0,4);
- // 검색조건 초기화
- model.setValue("/root/send/searchaccwh/startyy", getdate);
- model.setValue("/root/send/searchaccwh/startseqno", "");
- model.setValue("/root/send/searchaccwh/endyy", getdate);
- model.setValue("/root/send/searchaccwh/endseqno", "");
- model.setValue("/root/send/searchaccwh/getyy", "");
- model.setValue("/root/send/searchaccwh/getseqno", "");
- model.setValue("/root/send/searchaccwh/teamyy", "");
- model.setValue("/root/send/searchaccwh/teamqurt", "");
- model.setValue("/root/send/searchaccwh/teamdate", "");
- input3.disabled = false;
-
- // datagrid 초기화
- model.removeNodeset("/root/main/gridacclist");
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="button6" class="btn4_letter2" _auth="X" style="left:992px; top:20px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var today = new Date().getDateFormat();
- var irow = datagrid1.row - 1;
- // datagrid1.rows
- for (var i = 1; i < datagrid1.rows - 1; i++) {
- // 재무팀 전송여부 = "Y"
- if (model.getValue("/root/main/gridacclist/item["+ i +"]/mistrsmyn") == "Y") {
- if (model.getValue("/root/main/gridacclist/item["+ i +"]/taxyn") == "N") {
- messageBox( irow +" 번째 줄에서 [재무팀전송여부]가 check 되었는데, [부가세신고여부]가 check 되지 않았습니다. 확인하여 주십시요", "I999");
- return;
- }
- }
- // update 여부 결정(재무팀 전송여부에 따라, 즉 기존의 전송상태값이 변경되지 않은 경우)
- if (model.getValue("/root/main/gridacclist/item["+ i +"]/mistrsmyn") == model.getValue("/root/main/gridacclist/item["+ i +"]/hidmistrsmyn")) {
- var ii = i + 1; // 상단의 항목이 2row 이므로 +1 처리함
- datagrid1.removeStatus(ii, "update"); // update대상에서 제외
- }
- else {
- if (model.getValue("/root/main/gridacclist/item["+ i +"]/mistrsmyn") == "Y") {
- model.setValue("/root/main/gridacclist/item["+ i +"]/mistrsmdd", today);
- model.setValue("/root/main/gridacclist/item["+ i +"]/mistrsmid", "userid"); // 로그인ID(쿼리상에서 변경해줌)
- }
- else {
- model.setValue("/root/main/gridacclist/item["+ i +"]/mistrsmdd", "99991231");
- model.setValue("/root/main/gridacclist/item["+ i +"]/mistrsmid", "00000000");
- model.setValue("/root/main/gridacclist/item["+ i +"]/mistaxyy", "");
- model.setValue("/root/main/gridacclist/item["+ i +"]/mistaxqurtyy", "");
- }
- }
-
- // update 여부 결정(부가세신고여부에 따라)
- /*
- if (model.getValue("/root/main/gridacclist/item["+ i +"]/mistrsmyn") != model.getValue("/root/main/gridacclist/item["+ i +"]/hidmistrsmyn"))
- {
- alert(model.getValue("/root/main/gridacclist/item["+ i +"]/subjno"))
- alert(model.getValue("/root/main/gridacclist/item["+ i +"]/mistrsmyn"));
- alert(model.getValue("/root/main/gridacclist/item["+ i +"]/hidmistrsmyn"));
- datagrid1.addStatus(i, "update");
- }
- */
-
- }
- var update = getGridUpdateData(datagrid1);
- model.setValue("/root/send/data", update);
- if (submit("TXICS01012")) {
- messageBox("저장이 완료되었습니다", "I999");
- model.refresh();
- }
- ]]>
- </script>
- </button>
- <button id="button3" class="btn4_letter2" _auth="R" style="left:1125px; top:20px; width:56px; height:22px; ">
- <caption>엑셀</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var filename = window.fileDialog("save", ",", false, "부가세신고", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- if (filename != "") {
- datagrid1.saveExcel(filename, "datagrid1", true, false, "", "", "");
- }
- ]]>
- </script>
- </button>
- <button id="button4" class="btn1_letter2" _auth="R" style="left:932px; top:20px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- submit("TRICS03001");
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption16" class="search_name" style="left:5px; top:9px; width:156px; height:17px; ">계산서 일련번호 조회:</caption>
- <select1 id="combo_year2" ref="/root/send/searchaccwh/endyy" class="input_default" appearance="minimal" style="left:328px; top:8px; width:65px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/dateyy/item">
- <label ref="labelnm"/>
- <value ref="valuenm"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if (model.getValue("/root/send/searchaccwh/endyy") == "") {
- model.setValue("/root/send/searchaccwh/endseqno", "");
- model.refresh();
- }
- ]]>
- </script>
- </select1>
- <select1 id="combo_year1" ref="/root/send/searchaccwh/startyy" class="input_default" appearance="minimal" style="left:163px; top:8px; width:68px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/dateyy/item">
- <label ref="labelnm"/>
- <value ref="valuenm"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if (model.getValue("/root/send/searchaccwh/endyy") == "") {
- model.setValue("/root/send/searchaccwh/startseqno", "");
- model.refresh();
- }
- ]]>
- </script>
- </select1>
- <caption id="caption24" class="search_n_b" style="left:314px; top:10px; width:12px; height:17px; font-weight:bolder; ">~</caption>
- <line id="line13" style="x1:914px; y1:7px; x2:914px; y2:58px; border-color:#ffe4bb; border-left-style:solid; "/>
- <select1 id="combo_year3" ref="/root/send/searchaccwh/getyy" class="input_default" appearance="minimal" style="left:163px; top:35px; width:68px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/dateyy/item">
- <label ref="labelnm"/>
- <value ref="valuenm"/>
- </itemset>
- </choices>
- </select1>
- <input id="input4" ref="/root/send/searchaccwh/endseqno" navindex="2" maxlength="6" format="99-9999" style="left:396px; top:8px; width:80px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if (event.keyCode == 13) {
- inputEnterKey("button4","DOMActivate");
- }
- ]]>
- </script>
- </input>
- <input id="input5" ref="/root/send/searchaccwh/startseqno" navindex="1" maxlength="6" format="99-9999" style="left:233px; top:8px; width:80px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if (event.keyCode == 13) {
- inputEnterKey("button4","DOMActivate");
- }
- ]]>
- </script>
- </input>
- <input id="input6" ref="/root/send/searchaccwh/getseqno" navindex="3" maxlength="6" format="99-9999" style="left:233px; top:35px; width:80px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if (event.keyCode == 13) {
- inputEnterKey("input6", "xforms-value-changed");
- if (submit("TRICS03002")) {
- // 검색 되어진 데이터를 추가로 넣어줌
- if (input6.value != "" && model.getValue("/root/hidden/item2[1]/count") > 0) {
- // 기존 데이터가 있는 경우
- messageBox("이미 화면에 조회되어 있습니다", "I999");
- for (var i = 1; i < datagrid1.rows; i++) {
- if (model.getValue("/root/main/gridacclist/item["+ i +"]/stmntseqno") == model.getValue("/root/hidden/item2[1]/stmntseqno")) {
- datagrid1.select(i + 1, 1) = true;
- datagrid1.topRow = datagrid1.row;
- break;
- }
- }
- } else {
- messageBox("조회하신 [세금계산서 일련번호]는 없습니다", "I999");
- return;
- /*
- // 데이터가 없는 경우 행추가
- datagrid1.addItem(datagrid1.row);
- var i = datagrid1.rows - 2;
- model.copyNode("/root/main/gridacclist/item["+ i +"]", "/root/hidden/item2[1]");
- datagrid1.topRow = datagrid1.row;
- */
- }
-
- model.removenode("/root/hidden");
- model.refresh();
- }
- }
- ]]>
- </script>
- </input>
- <select1 id="chkmisyn" ref="/root/send/searchaccwh/chkmisyn" class="input_default" appearance="minimal" style="left:665px; top:35px; width:68px; height:19px; ">
- <choices>
- <item>
- <label>-전 체-</label>
- <value/>
- </item>
- <item>
- <label>전송</label>
- <value>Y</value>
- </item>
- <item>
- <label>미전송</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <input id="input9" ref="/root/send/searchaccwh/srchdate" inputtype="date" maxlength="10" style="left:665px; top:8px; width:100px; height:19px; "/>
- <caption id="caption4" class="search_name" style="left:530px; top:9px; width:125px; height:17px; ">부과세 신고일자:</caption>
- <caption id="caption8" class="search_name" style="left:530px; top:35px; width:125px; height:17px; ">재무팀 전송여부:</caption>
- </group>
- <upload id="upload_attach" nodeset="/root/send/attach/file" filecount="5" filesize="100000000" validate="true" style="left:240px; top:195px; width:100px; height:19px; "/>
- <button id="button9" class="btn_sw" group="tab" style="left:95px; top:96px; width:163px; height:22px; ">
- <caption>부가세신고 전송내역(매출)</caption>
- <toggle case="case2" ev:event="onclick"/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- group1.visible = false;
- group2.visible = true;
- // if ( (datagrid2.row < 1 )||(model.getValue("/root/main/gridacclist/item["+ datagrid2.row +"]/subjno") =="") ) {
- //
- // button10.dispatch("onclick");
- // return;
- // }
- // if ( ( datagrid2.row >=1 )&&(datagrid2.rows > 1 )) {
- // datagrid2.dispatch("onclick");
- // datagrid2.dispatch("ondblclick");
- // }
- ]]>
- </script>
- </button>
- <button id="button10" class="btn_sw" group="tab" selected="true" style="left:2px; top:96px; width:93px; height:22px; ">
- <caption>부가세신고</caption>
- <toggle case="case1" ev:event="onclick"/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- group1.visible = true;
- group2.visible = false;
- // if ( submit("TRIPG00101")) {
- // if (datagrid2.rows > 1 ) {
- // for (var i = 1; i < datagrid2.rows; i ++) {
- // if ( model.getValue("/root/main/gridacclist/item["+i+"]/confyn") == "2" ) {
- // datagrid2.isReadOnly(i, 13) = true;
- // datagrid2.isReadOnly(i, 14) = true;
- // }
- // }
- // }
- // }
- //
- // fSetButtonText();
- //
- // model.refresh();
- ]]>
- </script>
- </button>
- <switch id="switch1" style="left:0px; top:116px; width:1194px; height:594px; border-color:#c7a3cf; border-style:solid; ">
- <case id="case1" selected="true" style="left:0px; top:0px; width:1192px; height:623px; ">
- <datagrid id="datagrid1" nodeset="/root/main/gridacclist/item" caption="계산서 일련번호^과제번호^부가세신고^부가세신고^부가세신고^부가세신고^재무팀 전송^재무팀 전송^재무팀 전송^재무팀 전송^공급받는자^공급받는자^공급받는자^공급받는자^공급받는자^공급받는자^공급받는자^공급가액^품목^품목^품목^품목^품목^품목^전송일자^전송자|계산서 일련번호^과제번호^신고여부^신고일자^년도^분기^전송여부^재무신고일자^년도^분기^작성일자^사업자등록번호^상호(법인명)^성명^주소^업태^종목^공급가액^직접비^센터간접비^병원간접비^심사비^약제관리비^문서보관비^전송일자^전송자" colsep="^" colwidth="55, 100, 70, 70, 40, 55, 60, 80, 40, 50, 90, 88, 80, 65, 75, 60, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 100, 100, 100, 100, 100, 100, 100, 100, 100" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:0px; top:35px; width:1190px; height:560px; ">
- <col ref="stmntseqno" format="99-9999" style="left:48px; top:23px; width:96px; height:23px; text-align:center; "/>
- <col ref="subjno" style="text-align:center; "/>
- <col checkvalue="Y,N" ref="taxyn" type="checkbox" style="text-align:center; "/>
- <col ref="taxdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="taxyy" style="text-align:center; "/>
- <col ref="taxqurtyy" style="text-align:center; "/>
- <col checkvalue="Y,N" ref="mistrsmyn" type="checkbox" style="text-align:center; "/>
- <col ref="mistaxdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="mistaxyy" style="text-align:center; "/>
- <col ref="mistaxqurtyy" style="text-align:center; "/>
- <col ref="depodd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="reqinstcd" style="text-align:center; "/>
- <col ref="cmpynm"/>
- <col ref="prsdnm"/>
- <col ref="addr"/>
- <col ref="bizcond"/>
- <col ref="bizcondkind"/>
- <col ref="supplyamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="direcamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="crccamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="hospamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="judgamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="drugmngtamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="documngtamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="mistrsmdd" format="yyyy-mm-dd" style="text-align:right; "/>
- <col ref="mistrsmnm" style="text-align:center; "/>
- <col ref="hidtaxyn" visibility="hidden"/>
- <col ref="hidmistrsmyn" visibility="hidden"/>
- <col ref="hidmistaxdd" visibility="hidden"/>
- <col ref="hidmistaxqurtyy" visibility="hidden"/>
- <col ref="hidmistrsmyn" visibility="hidden"/>
- <col ref="subjid" visibility="hidden"/>
- <col ref="seqno" visibility="hidden"/>
- <col ref="depokind" visibility="hidden"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="mistrsmid" visibility="hidden"/>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- //var c = confirm("장바구니에 담으시겠습니까?");
- var irow = 0;
- irow = datagrid1.row - 1;
- // 부가세 신고여부 클릭시
- if (datagrid1.col == datagrid1.colRef("taxyn")) {
- if (model.getValue("/root/main/gridacclist/item["+ irow +"]/hidtaxyn") == "Y") {
- if (model.getValue("/root/main/gridacclist/item["+ irow +"]/hidmistrsmyn") == "Y") {
- messageBox("재무팀으로 전송이 완료되었습니다", "I999");
- model.setValue("/root/main/gridacclist/item["+ irow +"]/taxyn", model.getValue("/root/main/gridacclist/item["+ irow +"]/hidtaxyn"));
- return;
- }
- }
- }
- // 재무팀 전송여부 클릭시
- if (datagrid1.col == datagrid1.colRef("mistrsmyn")) {
- /*
- var misyn = ""; // 전송여부에 대한 기존값 저장
- if (model.getValue("/root/main/gridacclist/item["+ irow +"]/mistrsmyn") == "Y")
- misyn = "N";
- else
- misyn = "Y";
- */
- if (model.getValue("/root/main/gridacclist/item["+ irow +"]/hidmistrsmyn") == "Y") {
- // 현재 재무팀 전송여부(hidden) == "Y"
- if (model.getValue("/root/main/gridacclist/item["+ irow +"]/mistrsmyn") == "N") {
- if ( messageBox("재무팀으로 전송이 완료되었습니다. 전송을 해제하시겠습니까?", "Q999") == 7 )
- model.setValue("/root/main/gridacclist/item["+ irow +"]/mistrsmyn", model.getValue("/root/main/gridacclist/item["+ irow +"]/hidmistrsmyn"));
- }
- } else {
- // 현재 재무팀 전송여부(hidden) == "N"
- model.setValue("/root/main/gridacclist/item["+ irow +"]/taxyn", "Y");
- /*
- var taxyn = ""; // 부가세 신고여부에 대한 기존값 저장
- if (model.getValue("/root/main/gridacclist/item["+ irow +"]/taxyn") == "Y")
- taxyn = "N";
- else
- taxyn = "Y";
- */
- if (model.getValue("/root/send/searchaccwh/teamdate") != "")
- model.setValue("/root/main/gridacclist/item["+ irow +"]/mistaxdd", model.getValue("/root/send/searchaccwh/teamdate"));
-
- if (model.getValue("/root/send/searchaccwh/teamyy") != "")
- model.setValue("/root/main/gridacclist/item["+ irow +"]/mistaxyy", model.getValue("/root/send/searchaccwh/teamyy"));
-
- if (model.getValue("/root/send/searchaccwh/teamqurt") != "")
- model.setValue("/root/main/gridacclist/item["+ irow +"]/mistaxqurtyy", model.getValue("/root/send/searchaccwh/teamqurt"));
- }
-
- // 체크를 풀 때(재무팀 전송여부 == "N") 재무신고일자, 년도, 분기 값을 원래대로 복원
- if (model.getValue("/root/main/gridacclist/item["+ irow +"]/mistrsmyn") == "N") {
- model.setValue("/root/main/gridacclist/item["+ irow +"]/mistaxdd", model.getValue("/root/main/gridacclist/item["+ irow +"]/hidmistaxdd"));
- model.setValue("/root/main/gridacclist/item["+ irow +"]/mistaxyy", model.getValue("/root/main/gridacclist/item["+ irow +"]/hidmistaxyy"));
- model.setValue("/root/main/gridacclist/item["+ irow +"]/mistaxqurtyy", model.getValue("/root/main/gridacclist/item["+ irow +"]/hidmistaxqurtyy"));
- model.setValue("/root/main/gridacclist/item["+ irow +"]/taxyn", model.getValue("/root/main/gridacclist/item["+ irow +"]/hidtaxyn"));
- } else {
- if (model.getValue("/root/main/gridacclist/item["+ irow +"]/mistaxyy") == "" | model.getValue("/root/main/gridacclist/item["+ irow +"]/mistaxqurtyy") == "") {
- messageBox("부가세 분기 및 신고일자를 선택해 주세요", "I999");
- model.setValue("/root/main/gridacclist/item["+ irow +"]/mistrsmyn", model.getValue("/root/main/gridacclist/item["+ irow +"]/hidmistrsmyn"));
- model.setValue("/root/main/gridacclist/item["+ irow +"]/taxyn", model.getValue("/root/main/gridacclist/item["+ irow +"]/hidtaxyn"));
- model.setValue("/root/main/gridacclist/item["+ irow +"]/mistaxdd", model.getValue("/root/main/gridacclist/item["+ irow +"]/hidmistaxdd"));
- model.setValue("/root/main/gridacclist/item["+ irow +"]/mistaxyy", model.getValue("/root/main/gridacclist/item["+ irow +"]/hidmistaxyy"));
- model.setValue("/root/main/gridacclist/item["+ irow +"]/mistaxqurtyy", model.getValue("/root/main/gridacclist/item["+ irow +"]/hidmistaxqurtyy"));
- return;
- }
- }
- }
- model.refresh();
- ]]>
- </script>
- </datagrid>
- <caption id="caption5" class="tit_2" style="left:10px; top:9px; width:156px; height:13px; ">부가세 작업기간 선택 :</caption>
- <select1 id="combo_year4" ref="/root/send/searchaccwh/teamyy" class="input_default" appearance="minimal" style="left:202px; top:8px; width:68px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/dateyy2/item">
- <label ref="labelnm"/>
- <value ref="valuenm"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption6" class="search_no_b" style="left:172px; top:7px; width:28px; height:17px; ">년도</caption>
- <caption id="caption7" class="search_no_b" style="left:277px; top:7px; width:28px; height:17px; ">분기</caption>
- <select1 id="combo_qurt" ref="/root/send/searchaccwh/teamqurt" class="input_default" appearance="minimal" style="left:306px; top:8px; width:68px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/dateyy/item2">
- <label ref="labelnm"/>
- <value ref="valuenm"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if (model.getValue("/root/send/searchaccwh/teamqurt") != "") {
- var i = parseInt(model.getValue("/root/send/searchaccwh/teamqurt")) + 1;
- var getqurt = model.getValue("/root/init/dateyy/item2["+ i +"]/detldesc");
- var nowdate = new Date().getDateFormat();
-
- if (getqurt < nowdate) {
- messageBox("신고일자가 이전날짜 입니다. 분기를 재 선택하여 주십시오", "I999");
- model.setValue("/root/send/searchaccwh/teamqurt", "");
- model.setValue("/root/send/searchaccwh/teamdate", "");
- input7.disabled = false;
- model.refresh();
- return;
- }
- var getyy = "";
- if (i == 5)
- getyy = parseInt(model.getValue("/root/send/searchaccwh/teamyy")) + 1;
- else
- getyy = model.getValue("/root/send/searchaccwh/teamyy");
-
- model.setValue("/root/send/searchaccwh/teamdate", getqurt);
- input7.disabled = true;
- }
- else {
- model.setValue("/root/send/searchaccwh/teamdate", "");
- input7.disabled = false;
- }
- model.refresh();
- ]]>
- </script>
- </select1>
- <caption id="caption10" class="search_no_b" style="left:380px; top:7px; width:58px; height:17px; ">신고일자</caption>
- <input id="input7" ref="/root/send/searchaccwh/teamdate" inputtype="date" maxlength="10" style="left:436px; top:8px; width:100px; height:19px; "/>
- <line id="line4" style="x1:544px; y1:6px; x2:544px; y2:31px; border-color:#ffe4bb; border-left-style:solid; "/>
- <button id="btn_excel" class="btn2_letter5" style="left:553px; top:8px; width:75px; height:19px; ">
- <caption>All Check</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if (model.getValue("/root/send/searchaccwh/teamdate").length < 8) {
- messageBox("[재무팀 부가세 신고일자]를 확인하십시요", "I999");
- return;
- }
-
- if (model.getValue("/root/send/searchaccwh/teamdate") == "" | model.getValue("/root/send/searchaccwh/teamyy") == "" | model.getValue("/root/send/searchaccwh/teamqurt") == "") {
- messageBox("[재무팀 부가세 신고일자]를 확인하십시요", "I999");
- return;
- }
-
- for (var i=1; i < datagrid1.rows - 1; i++) {
- if (model.getValue("/root/main/gridacclist/item["+ i +"]/mistrsmyn") != "Y") {
- if (model.getValue("/root/main/gridacclist/item["+ i +"]/taxyn") != "Y")
- model.setValue("/root/main/gridacclist/item["+ i +"]/taxyn", "Y");
- }
-
- if (model.getValue("/root/main/gridacclist/item["+ i +"]/mistrsmyn") != "Y") {
- model.setValue("/root/main/gridacclist/item["+ i +"]/mistrsmyn", "Y");
- model.setValue("/root/main/gridacclist/item["+ i +"]/mistaxdd", model.getValue("/root/send/searchaccwh/teamdate"));
- model.setValue("/root/main/gridacclist/item["+ i +"]/mistaxyy", model.getValue("/root/send/searchaccwh/teamyy"));
- model.setValue("/root/main/gridacclist/item["+ i +"]/mistaxqurtyy", model.getValue("/root/send/searchaccwh/teamqurt"));
- }
- }
- model.refresh();
- ]]>
- </script>
- </button>
- </case>
- <case id="case2" style="left:0px; top:0px; width:1192px; height:623px; ">
- <caption id="caption36" class="tit_2" style="left:10px; top:268px; width:170px; height:13px; ">연구비 입금정보</caption>
- <line id="line5" class="line_3" style="x1:3px; y1:618px; x2:1185px; y2:618px; "/>
- <datagrid id="datagrid2" nodeset="/root/main/gridtranlist/item" caption="과제번호^공급받는자^작성일자^사업자등록번호^상호(법인명)^성명^주소^업태^종목^공급가액^세액^합계^문서구분^매입/매출^과세/비과세^재무신고일자" colsep="^" colwidth="100, 70, 70, 90, 80, 70, 80, 50, 75, 65, 70, 65, 60, 70, 75, 75" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:0px; top:35px; width:1190px; height:560px; ">
- <col ref="subjno" style="left:48px; top:23px; width:96px; height:23px; text-align:center; "/>
- <col disabled="true" ref="suprecvinstcls" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>의뢰자</label>
- <value>1</value>
- </item>
- <item>
- <label>대행사</label>
- <value>2</value>
- </item>
- </choices>
- </col>
- <col ref="depodd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="reqinstcd" style="text-align:center; "/>
- <col ref="cmpynm" style="text-align:center; "/>
- <col ref="prsdnm" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="addr"/>
- <col ref="bizcond" style="text-align:center; "/>
- <col ref="bizcondkind" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="amt" format="(-)#,###" style="text-align:right; "/>
- <col ref="taxamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="sumamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="rcpttypecd" style="text-align:center; "/>
- <col ref="flag" style="text-align:center; "/>
- <col ref="addtax" style="text-align:center; "/>
- <col ref="mistaxdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- //var c = confirm("장바구니에 담으시겠습니까?");
- var irow = 0;
- irow = datagrid1.row - 1;
- // 부가세 신고여부 클릭시
- if (datagrid1.col == datagrid1.colRef("taxyn")) {
- if (model.getValue("/root/main/gridacclist/item["+ irow +"]/hidtaxyn") == "Y") {
- if (model.getValue("/root/main/gridacclist/item["+ irow +"]/hidmistrsmyn") == "Y") {
- messageBox("재무팀으로 전송이 완료되었습니다", "I999");
- model.setValue("/root/main/gridacclist/item["+ irow +"]/taxyn", model.getValue("/root/main/gridacclist/item["+ irow +"]/hidtaxyn"));
- return;
- }
- }
- }
- // 재무팀 전송여부 클릭시
- if (datagrid1.col == datagrid1.colRef("mistrsmyn")) {
- var misyn = ""; // 전송여부에 대한 기존값 저장
- if (model.getValue("/root/main/gridacclist/item["+ irow +"]/mistrsmyn") == "Y")
- misyn = "N";
- else
- misyn = "Y";
-
- if (model.getValue("/root/main/gridacclist/item["+ irow +"]/hidmistrsmyn") == "Y") {
- // 재무팀 전송여부(hidden) == "Y"
- if (model.getValue("/root/main/gridacclist/item["+ irow +"]/mistrsmyn") == "N") {
- if ( messageBox("재무팀으로 전송이 완료되었습니다. 전송을 해제하시겠습니까?", "Q999") == 7 )
- model.setValue("/root/main/gridacclist/item["+ irow +"]/mistrsmyn", misyn);
- }
- } else {
- // 재무팀 전송여부(hidden) == "N"
- model.setValue("/root/main/gridacclist/item["+ irow +"]/taxyn", "Y");
- var taxyn = ""; // 부가세 신고여부에 대한 기존값 저장
- if (model.getValue("/root/main/gridacclist/item["+ irow +"]/taxyn") == "Y")
- taxyn = "N";
- else
- taxyn = "Y";
- if (model.getValue("/root/send/searchaccwh/teamdate") != "")
- model.setValue("/root/main/gridacclist/item["+ irow +"]/mistaxdd", model.getValue("/root/send/searchaccwh/teamdate"));
-
- if (model.getValue("/root/send/searchaccwh/teamyy") != "")
- model.setValue("/root/main/gridacclist/item["+ irow +"]/mistaxyy", model.getValue("/root/send/searchaccwh/teamyy"));
-
- if (model.getValue("/root/send/searchaccwh/teamqurt") != "")
- model.setValue("/root/main/gridacclist/item["+ irow +"]/mistaxqurtyy", model.getValue("/root/send/searchaccwh/teamqurt"));
- }
-
- // 재무팀 전송여부 == "N" (재무신고일자, 년도, 분기 값을 원래대로 복원)
- if (model.getValue("/root/main/gridacclist/item["+ irow +"]/mistrsmyn") == "N") {
- model.setValue("/root/main/gridacclist/item["+ irow +"]/mistaxdd", model.getValue("/root/main/gridacclist/item["+ irow +"]/hidmistaxdd"));
- model.setValue("/root/main/gridacclist/item["+ irow +"]/mistaxyy", model.getValue("/root/main/gridacclist/item["+ irow +"]/hidmistaxyy"));
- model.setValue("/root/main/gridacclist/item["+ irow +"]/mistaxqurtyy", model.getValue("/root/main/gridacclist/item["+ irow +"]/hidmistaxqurtyy"));
- } else {
- if (model.getValue("/root/main/gridacclist/item["+ irow +"]/mistaxyy") == "" | model.getValue("/root/main/gridacclist/item["+ irow +"]/mistaxqurtyy") == "") {
- messageBox("[재무팀 부가세 신고일자]를 확인하십시요", "I999");
- model.setValue("/root/main/gridacclist/item["+ irow +"]/mistrsmyn", misyn);
- model.setValue("/root/main/gridacclist/item["+ irow +"]/taxyn", taxyn);
- return;
- }
- }
- }
- model.refresh();
- ]]>
- </script>
- </datagrid>
- </case>
- </switch>
- </xhtml:body>
- </xhtml:html>
|