123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390 |
- <!-- include 'header' -->
- <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>
- <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>
- </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="80">绑定发票</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.receivablesStaff}}!='PUBLIC' -->
- <a class="button btn-block" 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.balance}}</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>
- </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="position:absolute;z-index=1;width:150px;top:-12px" 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>
- </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>
-
-
-
-
-
- <!--弹出(录入收款)-->
- <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>
- </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>
- </div>
-
- <!--弹出内容-->
- <script type="text/javascript">autoFlashHeight();</script>
- </body>
|