|
@@ -1,9 +1,61 @@
|
|
|
<!-- 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">
|
|
@@ -24,6 +76,7 @@
|
|
|
<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">
|
|
@@ -82,7 +135,8 @@
|
|
|
<!-- 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>
|
|
|
+ <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>
|
|
@@ -106,8 +160,12 @@
|
|
|
{{receivablesInput' value.recepitTitleMark}}
|
|
|
</td>
|
|
|
<td>
|
|
|
- <!-- if {{receivablesInput' value.bindStatus}}==0&&{{receivablesInput' value.receivablesStaff}}!='PUBLIC' -->
|
|
|
+
|
|
|
+ <!-- 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>
|
|
@@ -302,6 +360,42 @@
|
|
|
</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>
|
|
|
|
|
|
|
|
|
|
|
@@ -414,7 +508,48 @@
|
|
|
</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>
|