123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560 |
- <!-- include 'header' -->
- <script type="text/javascript" src="<?= WEB_SITE_GLOBAL ?>js/swfuplad2/swfupload.js"></script>
- <script type="text/javascript" src="<?= WEB_SITE_GLOBAL ?>js/swfuplad2/swfupload.queue.js"></script>
- <script type="text/javascript" src="<?= WEB_SITE_GLOBAL ?>js/swfuplad2/fileprogress.js"></script>
- <script type="text/javascript" src="<?= WEB_SITE_GLOBAL ?>js/swfuplad2/handlers.js"></script>
- <link rel=stylesheet href="<?= WEB_SITE_GLOBAL ?>css/jquery.validator.css">
- <script type="text/javascript" src="<?= WEB_SITE_GLOBAL ?>js/jquery.validator.min.js"></script>
- <script type="text/javascript" src="<?= WEB_SITE_GLOBAL ?>js/zh-CN.js"></script>
- <script src="<?= WEB_SITE_GLOBAL ?>js/invoice.validator.js"></script>
- <script src="<?= WEB_SITE_GLOBAL ?>js/invoice.js"></script>
- <script type="text/javascript">
- var swfu;
- window.onload = function() {
- var settings = {
- flash_url : "<?= WEB_SITE_GLOBAL ?>js/swfuplad2/swfupload.swf",
- upload_url: "/invoiceReceivablesBankUpload", // Relative to the SWF file
-
- file_size_limit : "8 MB",
- file_types : "*.xlsx",
- file_types_description : "*.xlsx",
- file_upload_limit : 8,
- file_queue_limit : 1,
- custom_settings : {
- progressTarget : "fsUploadProgress",
- cancelButtonId : "btnCancel"
- },
- debug: false,
- // Button settings
- button_image_url: "<?= WEB_SITE_GLOBAL ?>images/btn-normal1.jpg", // Relative to the Flash file
-
- button_width: "200",
- button_height: "40",
- button_placeholder_id: "spanButtonPlaceHolder",
- //button_text: '<span class="theFont">浏览</span>',
- //button_text_style: ".theFont { font-size: 16; }",
- //button_text_left_padding: 12,
- //button_text_top_padding: 3,
- // The event handler functions are defined in handlers.js
- file_queued_handler : fileQueued,
- file_queue_error_handler : fileQueueError,
- file_dialog_complete_handler : fileDialogComplete,
- upload_start_handler : uploadStart,
- upload_progress_handler : uploadProgress,
- upload_error_handler : uploadError,
- upload_success_handler : uploadSuccess,
- upload_complete_handler : uploadComplete,
- queue_complete_handler : queueComplete // Queue plugin event
- };
- swfu = new SWFUpload(settings);
- };
- </script>
- <body>
- <div class="mainLayout">
- <div class="mainMenu">
- <div class="menuItem">
- <a href="#" class="mLogo">CLD</a>
- <ul>
- <!-- include 'menuReceipt' -->
- </ul>
- </div>
-
- </div>
- <div class="warpContent">
- <div class="subMenu fL">
- <div class="menuItem">
- <!-- include 'invoiceMenu' -->
- </div>
- </div>
- <div class="adminContent autoHeight">
- <div class="borad-menu">
- <a href="#inputbill" data-toggle="modal" class="invoice">录入收款</a>
- <a href="#batch" data-toggle="modal" class="invoice">导入银行到款</a>
- </div>
-
- <div class="borad-news">
- <div class="saeaList">
-
- <div class="clearfix">
- <legend><div class="fR"><a href="/invoiceAS">查看所有</a></div>未入账发票</legend>
- <!-- if !empty({{invoiceUnAccount}}) -->
- <div class="input-append">
- <form action="/invoiceReceivables" id="ira" method="post">
- <input name="invoiceTC" class="datepicker-here span6" placeholder="输入开票单位查询" data-range="true" data-multiple-dates-separator=" - " data-language="zh" type="text">
-
- <input type="submit" value="查询" class="btn btn-small">
-
- </form>
- </div>
- <table class="table table-bordered table-condensed">
- <thead><tr><th>开票单位(抬头)</th><th>开票金额</th><th>提交开票</th><th>出票</th><th>开票流水号</th><th width="80">入账</th></tr></thead>
- <tbody>
- <!-- loop invoiceUnAccount -->
- <tr>
- <td><!-- if !empty({{invoiceUnAccount' value.invoiceType}}) -->
- {{invoiceUnAccount' value.invoiceCompany}}
- <!-- else -->
- {{invoiceUnAccount' value.invoiceTitle}}
- <!-- endif -->
- </td>
- <td>
- <!-- if !empty({{invoiceUnAccount' value.invoiceType}}) -->
- <b>¥{{invoiceUnAccount' value.invoicePrice}}</b><sup>专</sup>
- <!-- else -->
- <b>¥{{invoiceUnAccount' value.invoicePrice}}</b>
- <!-- endif -->
- </td>
- <td>{{invoiceUnAccount' value.categoryName}}{{invoiceUnAccount' value.userName}} {{invoiceUnAccount' value.date}}</td>
- <td>{{invoiceUnAccount' value.lastApprover.username}} {{invoiceUnAccount' value.printTime}}</td>
- <td>
- <a href="#invdetail" node-invoice='INFO' data-isKey="{{invoiceUnAccount' value.iidKeyUrl}}" data-toggle="modal">{{invoiceUnAccount' value.invoiceSerial}}</a>
- </td>
- <td>
- <a class="button btn-block" href="#recorded" node-invoiceReceivables='INFO' data-isKey="{{invoiceUnAccount' value.iidKeyUrl}}" data-toggle="modal">入账</a>
- </td>
- </tr>
- <!-- endloop -->
- </tbody>
- </table>
-
- <!-- else -->
- <blockquote><p class="colGray">暂时未入账发票</p></blockquote>
- <!-- endif -->
- </div>
-
- <div class="clearfix">
-
- <legend><div class="fR"><a href="/invoiceReceivablesAS">查看所有</a></div>最近认领&录入</legend>
- <!-- if !empty({{receivablesInput}}) -->
- <table class="table table-bordered table-condensed">
- <tbody>
- <tr><th class="taC" width="70">收款金额</th><th class="taC">银行到账信息</th><th class="taC">银行/到账时间</th><th class="taC">收款录入</th><th class="taC">收款认领</th><th class="taC">开票单位</th>
- <th class="taC" width="160">绑定发票</th></tr>
-
- <!-- loop receivablesInput -->
- <tr>
- <td><b>¥{{receivablesInput' value.receivablesPrice}}</b></td>
- <td>{{receivablesInput' value.receivablesMessage}}</td>
- <td>{{receivablesInput' value.receivablesBank}}<br>{{receivablesInput' value.receivablesDate}}</td>
- <td>{{receivablesInput' value.inputStaff}} {{receivablesInput' value.date}}<br>
- <!-- if {{receivablesInput' value.inputType}}==1 -->
- 办事处待认领款项
- <!-- else -->
- 公共待认领款项
- <!-- endif -->
- </td>
- <td>
- <!-- if {{receivablesInput' value.receivablesStaff}}!='PUBLIC' -->
- {{receivablesInput' value.receivablesCategory.1}}-{{receivablesInput' value.receivablesStaff.1}}<br>
- {{receivablesInput' value.confirmTime}}
- <!-- endif -->
- </td>
- <td>
- {{receivablesInput' value.recepitTitleMark}}
- </td>
- <td>
-
- <!-- if {{receivablesInput' value.bindStatus}}==0&&{{receivablesInput' value.receivablesCategory}}!='PUBLIC' -->
- <a class="button btn-block" href="#search-invoice" bind-invoice='receivables' node-key="{{receivablesInput' value.iridKey}}" data-toggle="modal">查询发票</a>
- <!-- elseif {{receivablesInput' value.bindStatus}}==0&&{{receivablesInput' value.receivablesCategory}}=='PUBLIC' -->
- <a class="button btn-inline" href="#claim" node-claim="receivables" data-key="{{receivablesInput' value.iridKeyXD}}" data-toggle="modal">设置认领</a>
- <a class="button btn-inline" href="#search-invoice" bind-invoice='receivables' node-key="{{receivablesInput' value.iridKey}}" data-toggle="modal">查询发票</a>
- <!-- endif -->
- </td>
- </tr>
- <!-- endloop -->
-
- </tbody>
-
- </table>
- <!-- else -->
- <blockquote><p class="colGray">暂时没有最近认领的收款</p></blockquote>
- <!-- endif -->
- </div>
-
-
- <div class="clearfix">
-
- <legend>最近入账</legend>
- <!-- if !empty({{receivablesList}}) -->
- <table class="table table-bordered table-condensed">
- <tbody>
- <tr><th class="taC" width="70">收款金额</th><th class="taC">银行到账信息</th><th class="taC">银行/到账时间</th>
- <th class="taC">开票金额</th><th class="taC">开票单位</th><th class="taC">开票流水号</th></tr>
- <!-- loop receivablesList -->
- <tr>
- <td><b>¥{{receivablesList' value.receivablesPrice}}</b></td>
- <td>{{receivablesList' value.receivablesMessage}}</td>
- <td>{{receivablesList' value.receivablesBank}} {{receivablesList' value.receivablesDate}}</td>
- <td>{{receivablesList' value.invoiceDetail.invoicePrice}}</td>
- <td>
- <!-- if !empty({{receivablesList' value.invoiceDetail.invoiceType}}) -->
- {{receivablesList' value.invoiceDetail.invoiceCompany}}
- <!-- else -->
- {{receivablesList' value.invoiceDetail.invoiceTitle}}
- <!-- endif -->
- </td>
- <td><a href="#invdetail" node-invoice='INFO' data-isKey="{{receivablesList' value.invoiceDetail.iidKeyUrl}}" data-toggle="modal">{{receivablesList' value.invoiceDetail.invoiceSerial}}</a></td>
- </tr>
- <!-- endloop -->
-
- </tbody>
- </table>
- <!-- else -->
- <blockquote><p class="colGray">暂时没有最近入账</p></blockquote>
- <!-- endif -->
- </div>
-
- <div class="clearfix">
- <legend><div class="fR"><a href="/invoiceAS">查看所有</a></div>部分入账发票({{ieaCount}})</legend>
-
- <!-- if !empty({{invoiceExistAccount}}) -->
- <table class="table table-bordered table-condensed">
- <thead><tr><th>开票单位(抬头)</th><th>开票金额</th><th>提交开票</th>
- <th>已入账金额</th>
- <th>剩余入账金额</th>
- <th>开票流水号</th><th width="80">入账</th></tr></thead>
- <tbody>
-
- <!-- loop invoiceExistAccount -->
- <tr>
- <td>
- <!-- if !empty({{invoiceUnAccount' value.invoiceType}}) -->
- {{invoiceUnAccount' value.invoiceCompany}}
- <!-- else -->
- {{invoiceUnAccount' value.invoiceTitle}}
- <!-- endif -->
- </td>
- <td>
- <!-- if !empty({{invoiceUnAccount' value.invoiceType}}) -->
- <b>¥{{invoiceUnAccount' value.invoicePrice}}</b><sup>专</sup>
- <!-- else -->
- <b>¥{{invoiceUnAccount' value.invoicePrice}}</b>
- <!-- endif -->
- </td>
- <td>{{invoiceUnAccount' value.categoryName}}{{invoiceUnAccount' value.userName}} {{invoiceUnAccount' value.date}}</td>
-
- <td>{{invoiceUnAccount' value.existAccount}}</td>
- <td>{{invoiceUnAccount' value.invoiceBalance}}</td>
-
- <td>
- <a href="#invdetail" node-invoice='INFO' data-isKey="{{invoiceUnAccount' value.iidKeyUrl}}" data-toggle="modal">{{invoiceUnAccount' value.invoiceSerial}}</a>
- </td>
- <td>
- <a class="button btn-block" href="#recorded" node-invoiceReceivables='INFO' data-isKey="{{invoiceUnAccount' value.iidKeyUrl}}" data-toggle="modal">入账</a>
- </td>
- </tr>
-
- <!-- endloop -->
-
-
- </tbody>
- </table>
- <!-- else -->
- <blockquote><p class="colGray">暂时没有部分入账发票</p></blockquote>
- <!-- endif -->
- </div>
-
-
- <div class="clearfix">
- <legend><div class="fR"><a href="/invoiceReceivablesAS">查看所有</a></div>部分入账收款({{halfCount}})</legend>
- <!-- if !empty({{halfList}}) -->
- <table class="table table-bordered table-condensed">
- <tbody>
- <tr><th class="taC" width="70">收款金额</th><th class="taC">银行到帐信息</th><th class="taC">银行/到帐时间</th><th class="taC">已入账金额</th><th class="taC">剩余入账金额</th><th class="taC">已入账开票</th><th class="taC" width="120">绑定发票</th></tr>
- <!-- loop halfList -->
- <tr>
- <td><b>¥{{halfList' value.receivablesPrice}}</b></td>
- <td>{{halfList' value.receivablesMessage}}</td>
- <td>{{halfList' value.receivablesBank}}<br>{{halfList' value.receivablesDate}}</td>
- <td><b>¥{{halfList' value.bindPrice}}</b></td>
- <td><b>¥{{halfList' value.uPrice}}</b></td>
- <td>
- <!-- loop halfList' value.invoiceList -->
- <a href="#invdetail" node-invoice='INFO' data-isKey="{{halfList' value' key}}" data-toggle="modal">{{halfList' value' value}}</a>
- <!-- endloop -->
- </td>
- <td>
- <a class="button btn-block" href="#search-invoice" bind-invoice='receivables' node-key="{{halfList' value.iridAuthKey}}" data-toggle="modal">查询发票</a>
-
- </tr>
- <!-- endloop -->
- </tbody>
- </table>
- <!-- else -->
- <blockquote><p class="colGray">暂时没有部分入账收款</p></blockquote>
- <!-- endif -->
- </div>
-
-
- </div>
- </div>
- </div>
- </div>
- </div>
- <!--弹出(发票详情)-->
- <div class="modal fade" id="invdetail">
-
- <div id="nc"></div>
- </div>
- <!--弹出发票详情-->
- <div class="modal hide fade" id="recorded">
- <div class="modal-dialog modal-lg">
- <div class="modal-content">
-
- <form action="/invoiceCompareClaimPrice" method="post" name="receivablesInvoiceBind">
- <input type="hidden" name="iidKey" id="inKey" value="">
- <div class="modal-header">
- <h3>发票入账</h3>
- </div>
- <div class="modal-body saeaList">
-
- <table class="table table-bordered table-condensed">
- <tbody>
- <tr>
- <th class="taC" colspan="4">收款信息填写</th>
- </tr>
- <tr>
- <th class="taC">收款金额</th>
- <td><input name="receivablesPrice" checkInvoicePrice=true placeholder="输入开票金额" pattern="[0-9]" min="0" step="0.01" type="number">
- <span class="colRed colTip"><span style="" checkInvoicePrice=msg></span></span></td>
- </tr>
- <tr>
- <th class="taC">收款信息</th><td><input type="text" name="receivablesMessage" ></td>
- </tr>
- <tr>
- <th class="taC">收款银行</th><td>
- <select name="receivablesBank">
- <option value="纵横广发">纵横广发</option>
- <option value="纵横工行">纵横工行</option>
- <option value="华润银行">华润银行</option>
- <option value="个人广发">个人广发</option>
- </select>
- </td>
- </tr>
- <tr>
- <th class="taC">银行到账时间</th><td><input name="receivablesDate" type="date"></td>
- </tr>
- </tbody>
- </table>
-
-
-
- <div id="irtc"></div>
- </div>
- <div class="modal-footer">
- <input type="submit" class="button" value="确认入账">
-
- <a href="#" class="button btn-gray" data-dismiss="modal" aria-hidden="true">关闭</a>
- </div>
- </form>
- </div>
- </div>
- </div>
-
-
- <form action="/invoiceReceivablesImport" method="post" name="receivablesInvoice" class="nice-validator n-default" novalidate="novalidate">
- <input type="hidden" id="enclosurName" name="bankName" value="">
- <div class="modal hide fade" id="batch">
- <div class="modal-dialog ">
- <div class="modal-content">
- <div class="modal-header">
- <h3>导入银行到款</h3>
- </div>
- <div class="modal-body saeaList">
- <table class="table table-bordered table-condensed">
- <tbody>
- <tr>
- <th class="taC" colspan="4">选择Excel文件</th>
- </tr>
- <tr>
- <td>
- <div class="controls">
- <span id="spanButtonPlaceHolder"></span>
- <input id="btnCancel" type="button" value="取消所有上传" style="display:none" onclick="swfu.cancelQueue();" disabled="disabled" style="margin-left: 2px; font-size: 8pt; height: 29px;" />
- </div>
- <span class="fieldset flash" id="fsUploadProgress"></span>
- <span id="divStatus">0 个文件已上传</span>
- </td>
- </tr>
- </tbody></table>
- </div>
- <div class="modal-footer">
- <input type="submit" class="button" value="确认导入">
-
- <a href="#" class="button btn-gray" data-dismiss="modal" aria-hidden="true">关闭</a>
- </div>
- </div></div>
- </div>
- </form>
-
-
-
- <!--弹出(录入收款)-->
- <div class="modal hide fade" id="inputbill">
- <form action="/invoiceReceivablesDo" method="post" name="receivablesInvoice">
- <div class="modal-dialog ">
- <div class="modal-content">
- <div class="modal-header">
- <h3>录入收款</h3>
- </div>
- <div class="modal-body saeaList">
- <table class="table table-bordered table-condensed">
- <tbody>
- <tr>
- <th class="taC" colspan="4">收款信息填写</th>
- </tr>
- <tr>
- <th class="taC">收款金额</th>
- <td>
- <input value="" name="receivablesPrice" placeholder="输入收款金额" pattern="[0-9]" min="0" step="0.01" type="number">
- </td>
- </tr>
- <tr>
- <th class="taC" >收款信息</th>
- <td>
- <input name="receivablesMessage" type="text">
- </td>
- </tr>
- <tr>
- <th class="taC">收款银行</th><td>
- <select name="receivablesBank">
- <option value="纵横广发">纵横广发</option>
- <option value="纵横工行">纵横工行</option>
- <option value="华润银行">华润银行</option>
- <option value="个人广发">个人广发</option>
- </select>
- </td>
- </tr>
- <tr>
- <th class="taC">银行到账时间</th>
- <td><input name="receivablesDate" value='{{receivablesDate}}' type="date"></td>
- </tr>
- <tr>
- <th class="taC">认领收款</th><td colspan="3">
- <select name="receivablesCategory" >
- <option post-data="PUBLIC" value="PUBLIC" >公共待认领款项</option>
- <!-- loop category -->
- <option <!-- if {{category' value.cid}} == {{staff.0.cid}} --> selected <!-- endif --> post-data="{{category' value.cid}}" value="{{category' value.cid}}:{{category' value.title}}" >{{category' value.title}}</option>
- <!-- endloop -->
- </select>
- <select name="receivablesStaff" style="display:none">
- <option value="PUBLIC">办事处待认领款项</option>
- <!-- loop staffList -->
- <option value="{{staffList' value.sid}}-{{staffList' value.username}}">{{staffList' value.category}}-{{staffList' value.username}}</option>
- <!-- endloop -->
- </select></td>
- </tr>
- </tbody></table>
- </div>
- <div class="modal-footer">
- <input type="submit" class="button" value="确认录入">
- <a href="#" class="button btn-gray" data-dismiss="modal" aria-hidden="true">关闭</a>
- </div>
- </div></div>
- </form>
- </div>
-
- <!--弹出(查询发票)-->
- <div class="modal hide fade" id="search-invoice">
- <form action="/invoiceBindReceivables" id="IBR" method="post">
- <input type="hidden" name="key" value="">
- <input type="hidden" name="invoiceKey" value="">
- <div class="modal-dialog modal-lg">
- <div class="modal-content">
- <div class="modal-header">
- <h3>查询发票</h3>
- </div>
-
- <div class="modal-body saeaList" >
- <div node-receivablesHtml='true'>
-
- </div>
-
-
-
- <!--没找到对应开票-->
- <blockquote node-search='invoice' style="display:none">
- <p>暂时没有查询到“珠海XXXX公司”的未入账发票</p>
- <p><div class="input-append">
- <input class="datepicker-here span4" name='searchTitle' placeholder="你可以按关键词模糊搜索" data-range="true" data-multiple-dates-separator=" - " data-language="zh" type="text">
- <button class="btn btn-small" invoice-search='title' type="button">查询</button>
- </div></p>
- </blockquote>
-
- <div node-invoiceHtml='true'>
- <!--搜索结果-->
- <table class="table table-bordered table-condensed">
- <thead><tr><th>开票单位(抬头)</th><th>开票金额</th><th>提交开票</th><th>出票</th><th>开票流水号</th><th width="80">入账</th></tr></thead>
-
- </table>
-
- </div>
-
-
-
- </div>
-
- <div class="modal-footer">
- <a href="#" class="button btn-gray" data-dismiss="modal" aria-hidden="true">关闭</a>
- </div>
- </div>
- </div>
- </form>
- </div>
-
-
- <div class="modal hide fade" id="claim">
- <form action="/setInvoiceReceivablesClaim" id="SIRC" method="post">
- <input type="hidden" name="iridKey" id="iridKey" value="">
- <div class="modal-dialog">
- <div class="modal-content">
- <div class="modal-header">
- <h3>设置到款待认领</h3>
- </div>
- <div class="modal-body">
- <form class="form-horizontal">
- <div class="control-group">
- <label class="control-label"><span class="colRed">*</span>办事处</label>
- <div class="controls">
- <select name="receivablesCategory">
- <option post-data="PUBLIC" value="PUBLIC" >公共待认领款项</option>
- <!-- loop category -->
- <option <!-- if {{category' value.cid}} == {{staff.0.cid}} --> selected <!-- endif --> post-data="{{category' value.cid}}" value="{{category' value.cid}}:{{category' value.title}}" >{{category' value.title}}</option>
- <!-- endloop -->
- </select>
- </div>
- </div>
- </form>
- </div>
- <div class="modal-footer">
- <input type="submit" class="button" value="确定">
- <a href="#" class="button btn-gray" data-dismiss="modal" aria-hidden="true">关闭</a>
- </div>
- </div></div>
-
- </form>
- </div>
-
- <!--弹出内容-->
- <script type="text/javascript">autoFlashHeight();</script>
- </body>
|