123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520 |
- <!-- 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>
- <script type="text/javascript" src="<?= WEB_SITE_GLOBAL ?>js/notifications/notifications.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="saea-borad">
- <div class="borad-menu">
- <a href="/invoiceAdd" class="invoice">申请开票</a>
- </div>
- <div class="borad-news">
- <div class="saeaList">
- <div class="clearfix">
- <table class="table table-bordered table-condensed">
- <tbody>
- <tr><th class="taC">本月累计开票</th><td>¥{{isMonth.statisticsMonth.0.invoicePrice}}</td>
- <th class="taC">本月累计入账</th><td>¥{{isMonth.statisticsMonth.0.accountPrice}}</td></tr>
- {{htm}}
- <tr><th class="taC">今年累计开票</th><td>¥{{isMonth.statisticsYear.0.invoicePrice}}</td>
- <th class="taC">今年累计入账</th><td>¥{{isMonth.statisticsYear.0.accountPrice}}</td></tr>
- </tbody>
- </table>
- </div>
- <div class="clearfix">
-
- <legend><div class="fR"><a href="/invoiceUntreadIsAchieve">申请退票</a></div>待处理</legend>
- <!-- if !empty({{invoiceList.handleInvoice}}) -->
- <table class="table table-bordered table-condensed">
- <tbody>
- <tr><th class="taC" width="70">状态</th><th class="taC">开票单位(抬头)</th><th class="taC" width="90">开票金额</th><th class="taC">开票流水号</th><th class="taC">处理时间</th><th class="taC" width="120">操作</th></tr>
-
- <!-- loop invoiceList.handleInvoice -->
- <tr>
- <td>
- <!-- if {{handleInvoice' value.status}}==3 -->
- <span class="colOrange">已退回</span>
- <!-- elseif {{handleInvoice' value.status}}==4 -->
- <span class="colRed">已终止</span>
-
- <!-- elseif {{handleInvoice' value.status}}==2 and {{handleInvoice' value.printStatus}}==1 and {{handleInvoice' value.untreadStatus}}==0 -->
- <!--废弃 <span class="colBlue">已出票</span> -->
- <!-- if {{handleInvoice' value.doPost}}==1 -->
- <!--废弃 <a href="#shipping" node-post="express-msg" post-data="{{invoicePost' value.iidKey}}" data-toggle="modal">邮寄</a> -->
- <!-- endif -->
-
-
- <!-- elseif {{handleInvoice' value.status}}==2 and {{handleInvoice' value.untreadStatus}}==2 -->
- <span class="colRed">已退票</span>
- <!-- elseif {{handleInvoice' value.status}}==2 and {{handleInvoice' value.untreadStatus}}==1 -->
- <span class="colRed">退票中</span>
- <!-- endif -->
- </td>
- <td>
- <!-- if !empty({{handleInvoice' value.invoiceType}}) -->
- {{pendingInvoice' value.invoiceCompany}}
- <!-- else -->
- {{pendingInvoice' value.invoiceTitle}}
- <!-- endif -->
- </td>
- <td><!-- if !empty({{pendingInvoice' value.invoiceType}}) -->
- <b>¥{{pendingInvoice' value.invoicePrice}}</b><sup>专</sup>
- <!-- else -->
- <b>¥{{pendingInvoice' value.invoicePrice}}</b>
- <!-- endif --></td>
- <td>
- <a href="#invdetail" node-invoice='INFO' data-isKey="{{pendingInvoice' value.iidKeyUrl}}" data-toggle="modal">{{invoiceList' value.invoiceSerial}}</a>
- </td>
- <td>{{invoiceList' value.OperationLog.username}} {{invoiceList' value.OperationLog.date}}</td>
- <td width="">
- <!-- if {{pendingInvoice' value.status}}==3 and {{pendingInvoice' value.untreadStatus}}==0 -->
- <div class="btn-group">
- <a class="button btn-red btn-inline" diss-data="{{pendingInvoice' value.iidKey}}" node-invoice="droppedInvoice" data-toggle="modal" href="#invalid">终止开票</a>
- <a class="button btn-inline" href="/invoiceEdit/{{pendingInvoice' value.iidKeyUrl}}.html">重新提交</a>
- </div>
- <!-- elseif {{pendingInvoice' value.status}}==4 and {{pendingInvoice' value.untreadStatus}}==0 -->
- <a class="button btn-gray btn-block" href="/invoiceDelDo/{{pendingInvoice' value.iidKeyUrl}}.do">从待处理移除</a>
- <!-- elseif {{pendingInvoice' value.status}}==2 and {{pendingInvoice' value.printStatus}}==1 and {{pendingInvoice' value.untreadStatus}}==0 -->
- <!--废弃
- <div class="btn-group">
- <a class="button btn-red btn-inline" diss-data="{{pendingInvoice' value.iidKey}}" node-invoice="untreadInvoice" href="#return" data-toggle="modal">申请退票</a>
- <a class="button btn-green" diss-data="{{pendingInvoice' value.iidKey}}" node-receivalbles="bind" href="#recorded" data-toggle="modal">发票核销</a>
- </div>
- -->
- <!-- elseif {{pendingInvoice' value.status}}==2 and {{pendingInvoice' value.untreadStatus}}==2 -->
- <a class="button btn-gray btn-block" href="/invoiceDelDo/{{pendingInvoice' value.iidKeyUrl}}.do">从待处理移除</a>
-
- <!-- elseif {{handleInvoice' value.status}}==2 and {{handleInvoice' value.untreadStatus}}==1 and {{handleInvoice' value.untreadPost}}==1 and empty({{handleInvoice' value.untreadNumber}}) -->
- <a class="button btn-block" diss-data="{{handleInvoice' value.iidKey}}" node-invoice="untreadInvoice" data-toggle="modal" href="#return">填写快递</a>
- <!-- endif -->
- </td>
- </tr>
- <!-- endloop -->
-
-
-
- </tbody>
- </table>
- <!-- else -->
- <blockquote><p class="colGray">暂时没有需要处理的发票 </p></blockquote>
- <!-- endif -->
- </div>
- <div class="clearfix">
- <legend><div class="fR"></div>处理中</legend>
- <!-- if !empty({{invoiceList.pendingInvoice}}) -->
- <table class="table table-bordered table-condensed">
- <tbody>
- <tr><th class="taC" width="70">状态</th><th class="taC">开票单位(抬头)</th><th class="taC" width="90">开票金额</th><th class="taC">开票流水号</th><th class="taC">处理时间</th></tr>
- <!-- loop invoiceList.pendingInvoice -->
- <tr>
- <td>
- <!-- if ({{pendingInvoice' value.status}}==2 and {{pendingInvoice' value.printStatus}}==0 and {{pendingInvoice' value.untreadStatus}}==0) or ({{pendingInvoice' value.status}}==2 and {{pendingInvoice' value.untreadStatus}}==0 and {{pendingInvoice' value.postStatus}}==0 and {{pendingInvoice' value.doPost}}==1 ) -->
- <span class="colBlue">出票中</span>
- <!-- elseif {{pendingInvoice' value.status}}==1 -->
- <span class="">审核中</span>
- <!-- elseif {{pendingInvoice' value.status}}==2 and {{pendingInvoice' value.printStatus}}==1 and {{pendingInvoice' value.untreadStatus}}==1 -->
- <span class="colRed">退票中</span>
- <!-- endif -->
-
- </td>
- <td>
- <!-- if !empty({{pendingInvoice' value.invoiceType}}) -->
- {{pendingInvoice' value.invoiceCompany}}
- <!-- else -->
- {{pendingInvoice' value.invoiceTitle}}
- <!-- endif -->
- </td>
- <td>
- <!-- if !empty({{pendingInvoice' value.invoiceType}}) -->
- <b>¥{{pendingInvoice' value.invoicePrice}}</b><sup>专</sup>
- <!-- else -->
- <b>¥{{pendingInvoice' value.invoicePrice}}</b>
- <!-- endif --></td>
- <td><a href="#invdetail" node-invoice='INFO' data-isKey="{{pendingInvoice' value.iidKeyUrl}}" data-toggle="modal">{{invoiceList' value.invoiceSerial}}</a></td>
- <td>{{invoiceList' value.OperationLog.username}} {{invoiceList' value.OperationLog.date}}</td>
- </tr>
- <!-- endloop -->
-
- </tbody>
- </table>
- <!-- else -->
- <blockquote><p class="colGray">暂时没有正在处理的发票 </p></blockquote>
- <!-- endif -->
- </div>
-
-
- <div class="clearfix">
- <legend><div class="fR"><a href="/invoiceMyUnAccountAchieve">查看更多</a></div>待入账(
- <!-- if isset({{myInvoiceUnAccount.0}}) -->
- {{myInvoiceUnAccount.0.count}}
- <!-- else -->
- 0
- <!-- endif -->
- )</legend>
- <!-- if !empty({{myInvoiceUnAccount}}) -->
- <table class="table table-bordered table-condensed">
- <tbody>
- <tr><th class="taC">开票单位(抬头)</th><th class="taC" width="90">开票金额</th><th class="taC">开票流水号</th><th class="taC">出票时间</th></tr>
- <!-- loop myInvoiceUnAccount -->
- <tr>
- <td>
- <!-- if !empty({{myInvoiceUnAccount' value.invoiceType}}) -->
- {{myInvoiceUnAccount' value.invoiceCompany}}
- <!-- else -->
- {{myInvoiceUnAccount' value.invoiceTitle}}
- <!-- endif -->
- </td>
- <td>
- <!-- if !empty({{myInvoiceUnAccount' value.invoiceType}}) -->
- <b>¥{{myInvoiceUnAccount' value.invoicePrice}}</b><sup>专</sup>
- <!-- else -->
- <b>¥{{myInvoiceUnAccount' value.invoicePrice}}</b>
- <!-- endif -->
- </td>
- <td><a href="#invdetail" node-invoice='INFO' data-isKey="{{myInvoiceUnAccount' value.iidKeyK}}" data-toggle="modal">{{myInvoiceUnAccount' value.invoiceSerial}}</a></td>
-
- <td>{{myInvoiceUnAccount' value.printTime}}
- <a href="#shipping" node-post="expressActual-msg" post-data="{{myInvoiceUnAccount' value.iidKey}}" data-toggle="modal">快递信息</a>
-
- </tr>
- <!-- endloop -->
-
- </tbody>
- </table>
- <!-- else -->
- <blockquote><p class="colGray">暂时没有待入账的发票 </p></blockquote>
- <!-- endif -->
- </div>
-
-
-
- <div class="clearfix">
- <legend><div class="fR"><a href="/invoiceAchieve">查看更多</a></div>最近入账</legend>
- <!-- if !empty({{receivablesList}}) -->
- <table class="table table-bordered table-condensed">
- <tbody>
- <tr><th class="taC">开票单位(抬头)</th><th class="taC" width="90">开票金额</th><th class="taC">开票流水号</th><th class="taC" width="90">收款金额</th><th class="taC">收款流水号</th><th class="taC">处理时间</th></tr>
- <!-- loop receivablesList -->
- <tr>
- <td>
- <!-- if !empty({{receivablesList' value.invoiceType}}) -->
- {{receivablesList' value.invoiceCompany}}
- <!-- else -->
- {{receivablesList' value.invoiceTitle}}
- <!-- endif --></td>
- <td>
- <!-- if !empty({{pendingInvoice' value.invoiceType}}) -->
- <b>¥{{receivablesList' value.invoicePrice}}</b><sup>专</sup>
- <!-- else -->
- <b>¥{{receivablesList' value.invoicePrice}}</b>
- <!-- endif -->
- </td>
- <td><a href="#invdetail" node-invoice='INFO' data-isKey="{{receivablesList' value.iidKeyK}}" data-toggle="modal">{{receivablesList' value.invoiceSerial}}</a></td>
- <td><b>¥{{receivablesList' value.sumPrice}}</b></td>
- <td>
- <!-- loop list' value.irList -->
- <a href="#billing" node-invoice='INFO' data-type="receivables" data-isKey="{{list' value' value.iridKeyK}}" data-toggle="modal">{{list' value' value.receivablesSerial}}</a>
- <!-- endloop -->
- </td>
- <td>{{receivablesList' value.userName}} {{receivablesList' value.updateTime}}</td>
- </tr>
- <!-- endloop -->
-
- </tbody>
- </table>
- <!-- else -->
- <blockquote><p class="colGray">暂时没有入账完成的收款</p></blockquote>
- <!-- endif -->
-
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <div loading-msg='true' style="position:absolute; left:50%; top:50%; "></div>
- <!--弹出(发票详情)-->
- <div class="modal fade" id="invdetail">
-
- <div id="nc"></div>
- </div>
- <!--弹出发票详情-->
- <!--弹出收款-->
- <div class="modal fade" id="billing">
- <div id="nr"></div>
- </div>
- <!--弹出收款-->
- <!--弹出终止-->
- <div class="modal hide fade" id="invalid">
- <form action="/invoiceDroppedDo" method="post" name="droppedInvoice">
- <input type="hidden" name='droppedIidKey' value="">
- <div class="modal-dialog ">
- <div class="modal-content">
- <div class="modal-header">
- <h3>是否终止该发票</h3>
- </div>
- <div class="modal-body">
- 终止后该发票申请将无法继续审批。
- </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="return">
- <form action="/invoiceUntreadMailDo" method="post" name="untreadInvoice">
- <input type="hidden" name='untreadIidKey' value="">
- <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 colspan="2" class="taC">退票邮寄信息</th>
- </tr>
- <tr>
- <th class="taC" width="100"><span class="colRed">*</span>快递公司</th><td>
- <select name="untreadCompany">
- <!-- loop expressList -->
- <option value="{{expressList' value.company}}:{{expressList' value.com}}">{{expressList' value.company}}</option>
- <!-- endloop -->
- </select></td>
- </tr>
- <tr>
- <th class="taC" width="100"><span class="colRed">*</span>快递单号</th>
- <td><input type="text" name="untreadNumber" placeholder="请正确填写单号,方便跟踪查询。"></td></tr>
- <tr>
- <th class="taC" width="100"><span class="colRed">*</span>邮寄物品</th>
- <td><textarea class="span4" name="untreadItems" placeholder="请详细填写邮寄回总部的快递包含什么物件。"></textarea></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="return">
- <form action="/invoiceUntreadDo" method="post" name="untreadInvoice">
- <input type="hidden" name='untreadIidKey' value="">
- <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"><span class="colRed">*</span>退票原因</th>
- <td>
- <textarea class="span4" name="untreadReason" placeholder="请详细填写退票原因"></textarea>
- </td>
- </tr>
- <tr>
- <th class="taC"><span class="colRed">*</span>是否邮寄</th>
- <td><label class="radio inline"><input name="untreadPost" node-untread='post' value="1" checked type="radio">是</label>
- <label class="radio inline"><input name="untreadPost" value="0" type="radio">否</label>
- </td>
- </tr>
- </tbody>
- </table>
- <table post-box='ture' class="table table-bordered table-condensed">
- <tbody>
- <tr>
- <th colspan="2" class="taC">退票邮寄信息</th>
- </tr>
- <tr>
- <th class="taC" width="100"><span class="colRed">*</span>快递公司</th><td>
- <select name="untreadCompany">
- <!-- loop expressList -->
- <option value="{{expressList' value.company}}:{{expressList' value.com}}">{{expressList' value.company}}</option>
- <!-- endloop -->
- <!--弹出 退票 废弃
- </select>
- </td>
- </tr>
- <tr>
- <th class="taC" width="100"><span class="colRed">*</span>快递单号</th>
- <td><input type="text" name="untreadNumber" placeholder="请正确填写单号,方便跟踪查询。"></td>
- </tr>
- <tr>
- <th class="taC" width="100"><span class="colRed">*</span>邮寄物品</th>
- <td><textarea class="span4" name="untreadItems" placeholder="请详细填写邮寄回总部的快递包含什么物件。"></textarea>
- </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="recorded">
- <div class="modal-dialog modal-lg">
- <div class="modal-content">
- <div class="modal-header">
- <h3>发票入账</h3>
- </div>
- <form action="/invoiceEnterReceivables" method="post" onsubmit="return sures()" >
- <input type="hidden" name="key" value="">
- <input type="hidden" name="invoiceKey" value="">
- <div class="modal-body">
- <p class="alert">1.收款入账 > 2.发票核销 > 3.获取销售提成</p>
- <p node-loading='true' class="alert hide" >入账处理中...</p>
- <table node-enter="receivables" class="table table-bordered table-condensed">
- <thead>
- <tr><th colspan="5" class="taC">已入账收款</th></tr>
- <tr><th>金额</th><th>到款信息</th><th>到款银行</th><th>到款时间</th><th>入账操作</th></tr></thead>
- <tbody box-enter="true">
-
- </tbody>
- </table>
- <p node-msg='true' class="alert alert-erro hide"></p>
- <p node-msg='true2' class="alert alert-erro hide"></p>
- <table class="table table-bordered table-condensed">
- <thead><th>金额</th><th>到款信息</th><th>到款银行</th><th>到款时间</th><th>入账操作</th></thead>
- <tbody data-invoice="myReceivables" >
-
- </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="shipping">
- <div class="modal-dialog">
- <div class="modal-content">
- <div class="modal-header">
- <h3>邮寄物品</h3>
- </div>
- <div class="modal-body saeaList">
- <div style='text-align: center' loading-msg='express-msg'></div>
- <table class="table table-bordered table-condensed">
-
- <tbody>
- <tr>
- <th colspan="4" class="taC">邮寄快递信息</th>
- </tr>
- <tr>
- <th class="taC" width="150">邮寄申请物品</th><td colspan="3" mailItems-data='express-msg'>合同x1、软件锁x1</td>
- </tr>
- <tr>
- <th class="taC" width="150">邮寄快递物品</th><td colspan="3" actualItems-data='express-msg'>合同x1、软件锁x1</td>
- </tr>
- <tr>
- <th class="taC" width="150">快递单号</th><td colspan="3" expressCompany-data='express-msg'>顺丰快递:<a>123123123123</a></td>
- </tr>
- </tbody>
-
- <!--
- <tbody>
- <tr>
- <th colspan="4" class="taC">申请邮寄信息</th>
- </tr>
- <tr>
- <th class="taC" width="100">收件人</th>
- <td recipients-data='express-msg'></td>
- <th class="taC" width="100">收件人手机/电话</th>
- <td recipientsPhone-data='express-msg'></td>
- </tr>
- <tr>
- <th class="taC" width="100">收件地址</th>
- <td recipientsAddress-data='express-msg' colspan="3"></td>
- </tr>
- <tr>
- <th class="taC" width="100">邮寄物品</th>
- <td mailItems-data='express-msg' colspan="3"></td>
- </tr>
- </tbody>
- </table>
- <table class="table table-bordered table-condensed">
- <tbody>
- <tr>
- <th colspan="4" class="taC">实际邮寄信息</th>
- </tr>
- <tr>
- <th class="taC" width="100">快递公司</th>
- <td expressCompany-data='express-msg'></td>
- <th class="taC" width="100">快递单号</th>
- <td expressNumber-data='express-msg'></td>
- </tr>
- </tr>
- <tr>
- <tr>
- <th class="taC" width="100">邮寄物品</th>
- <td colspan="3" actualItems-data='express-msg'></td>
- </tr>
- </tbody>-->
- </table>
-
- </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>
|