Edit D:\rfid\apache-tomcat-8.5.32\webapps\libsystem\page\circulation\com\cir_tabsgrid.jsp
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> <div id="showCirGridToolBar" style="padding:2px 0"> <table cellpadding="0" cellspacing="0" style="width:100%" class="renew-table"> <tr> <td style="padding-left:2px"> <a href="javascript:void(0)" class="easyui-linkbutton renew-bnt" data-options="plain:true,iconCls:'e-icon fa fa-list'" onclick="renewBookByReader()">???????</a> <a href="javascript:void(0)" class="easyui-linkbutton renew-bnt" data-options="plain:true,iconCls:'e-icon fa fa-check'" onclick="renewBookByBarcodes()">???????</a> </td> </tr> </table> </div> <div id="cir_tabsGrid" class="easyui-tabs" data-options="fit:true,border:false,tools:'#showCirGridToolBar'"> <div title="???????"> <table id="cirDataGridList" class="easyui-datagrid" style="height: 300px;width:100%;" data-options="fit:true,singleSelect:true,fitColumns:true,border:false,pagination:true,striped:true,selectOnCheck:false,checkOnSelect:false"> <thead> <tr> <th data-options="field:'ck',checkbox:true" width="4%"></th> <th data-options="field:'libcode',formatter:onShowLibName" width="80">????????</th> <th data-options="field:'barcode'" width="120">?????</th> <th data-options="field:'callno'" width="100">?????</th> <th data-options="field:'loandate',formatter:onShowFmtDate" width="80">??????</th> <th data-options="field:'loantime',formatter:onShowFmtTime" width="80">??????</th> <th data-options="field:'returndate',formatter:onShowFmtDate" width="80">??????</th> <th data-options="field:'renewnum'" width="60">???????</th> <th data-options="field:'title',formatter:onLinkOpacByBib" width="200">???</th> <th data-options="field:'isbn'" width="90">ISBN??</th> <th data-options="field:'location',formatter:onShowLocationName" width="80">??????</th> <th data-options="field:'hldattach'" width="100">???</th> <th data-options="field:'author'" width="100">????</th> <th data-options="field:'price'" width="60">???</th> <th data-options="field:'volumeinfo'" width="80">??????</th> </tr> </thead> </table> </div> <div title="?????????"> <table id="sepDataGridList"> </table> </div> </div> <!-- ?????? --> <div id="destoryToolbar" style="padding:2px 0"> <table cellpadding="0" cellspacing="0" style="width:100%"> <tr> <td style="padding-left:2px"> <a href="javascript:void(0)" class="easyui-linkbutton" data-options="plain:true,iconCls:'fa fa-save'" onclick="destoryBook()">???</a> <a href="javascript:void(0)" class="easyui-linkbutton" data-options="plain:true,iconCls:'fa fa-close'" onclick="javascript:$('#destoryHandlerDlg').dialog('close')">???</a> </td> </tr> </table> </div> <div id="destoryHandlerDlg" class="easyui-dialog" title="??????" style="width:400px;height:200px;padding:10px" data-options=" modal:true,closed:true,resizable:false, iconCls: 'fa fa-rmb', toolbar: '#destoryToolbar', onOpen:onOpenDestoryDlg "> <div class="table-content" style="width: 350px;margin: auto;margin-top: 5px;"> <table class="table-box rdr-table-input"> <tr> <td class="div-tr-td" style="width: 30%;"> ?????? </td> <td style="width: 100px;"> <input id="bibPrice" class="easyui-numberbox" precision="2" style="width:100%;height: 28px;" disabled="true" data-options="prompt:'??????'"> </td> </tr> <tr> <td class="div-tr-td" > ????????? </td> <td style="width: 100px;"> <input id="destoryMoney" required="true" class="easyui-textbox" style="width:100%;height: 28px;" data-options="prompt:'???????????'"> </td> </tr> </table> </div> </div> <!-- ?????? --> <div id="lostConfirmSelectDlg" class="easyui-dialog" title="??????" style="width:400px;height:200px;padding:10px" data-options=" modal:true,closed:true,resizable:false, iconCls: 'fa fa-rmb', "> <div style="width: 350px;margin: auto;margin-top: 5px;"> <div class="lost-dlg-msg"></div> <div style="width: 260px;margin: auto;padding: 40px 0;"> <a href="javascript:void(0)" class="easyui-linkbutton" style="width:120px;height:30px;font-weight:700;color: #fff;background: #409eff;border-color: #409eff;" onclick="lostBookFinApp()">??????</a> <a href="javascript:void(0)" class="easyui-linkbutton" style="width:120px;height:30px;font-weight:700; color: #fff;background:#f56c6c;border-color: #f56c6c;" onclick="lostBookChangeApp()" >??????</a> </div> </div> </div> <div id="lostToolbar" style="padding:2px 0"> <table cellpadding="0" cellspacing="0" style="width:100%"> <tr> <td style="padding-left:2px"> <a href="javascript:void(0)" class="easyui-linkbutton" data-options="plain:true,iconCls:'fa fa-save'" onclick="lostBook()">???</a> <a href="javascript:void(0)" class="easyui-linkbutton" data-options="plain:true,iconCls:'fa fa-close'" onclick="javascript:$('#lostHandlerDlg').dialog('close')">???</a> </td> </tr> </table> </div> <div id="lostHandlerDlg" class="easyui-dialog" title="??????" style="width:400px;height:290px;padding:10px" data-options=" modal:true,closed:true,resizable:false, iconCls: 'fa fa-rmb', toolbar: '#lostToolbar', onOpen:onOpenLostDlg "> <div class="table-content" style="width: 350px;margin: auto;margin-top: 5px;"> <table class="table-box rdr-table-input"> <tr class="lost-book-fin"> <td class="div-tr-td" style="width: 40%;"> ?????? </td> <td style="width: 100px;"> <input id="lostBibPrice" class="easyui-numberbox" precision="2" style="width:100%;height: 28px;" disabled="true" data-options="prompt:'??????'"> </td> </tr> <tr class="lost-book-fin"> <td class="div-tr-td"> ?????????? </td> <td style="width: 100px;"> <input id="lostMinRate" class="easyui-numberbox" precision="2" style="width:100%;height: 28px;" disabled="true" data-options="prompt:'??????????'"> </td> </tr> <tr class="lost-book-fin"> <td class="div-tr-td"> ?????????? </td> <td style="width: 100px;"> <input id="lostMaxRate" class="easyui-numberbox" precision="2" style="width:100%;height: 28px;" disabled="true" data-options="prompt:' ??????????'"> </td> </tr> <tr class="lost-book-fin"> <td class="div-tr-td" > ????????? </td> <td style="width: 100px;"> <input id="curlostRate" required="true" class="easyui-textbox" style="width:100%;height: 28px;" data-options="prompt:'?????????'"> </td> </tr> <tr class="lost-book-change"> <td class="div-tr-td" > ????? </td> <td style="width: 100px;"> <input id="newbarcode" required="true" class="easyui-textbox" style="width:100%;height: 28px;" data-options="prompt:'????????'"> </td> </tr> <tr class="lost-book-processfe" style="display: none;"> <td class="show-gbf-text" colspan="2" style="color: red;"> </td> </tr> </table> </div> </div> <!-- ??????--> <div id="noCardToolbar" style="padding:2px 0"> <table cellpadding="0" cellspacing="0" style="width:100%"> <tr> <td style="padding-left:2px"> <a href="javascript:void(0)" class="easyui-linkbutton" data-options="plain:true,iconCls:'fa fa-save'" onclick="checkNoCardRdr()">???</a> <a href="javascript:void(0)" class="easyui-linkbutton" data-options="plain:true,iconCls:'fa fa-close'" onclick="javascript:$('#noCardDlg').dialog('close')">???</a> </td> </tr> </table> </div> <div id="noCardDlg" class="easyui-dialog" title="??????" style="width:400px;height:220px;padding:10px" data-options=" modal:true,closed:true,resizable:false, iconCls: 'fa fa-drivers-license', toolbar: '#noCardToolbar' "> <div class="table-content" style="width: 350px;margin: auto;margin-top: 5px;"> <div>????????????????????????,???????????????????,??????????</div> <table class="table-box rdr-table-input"> <tr> <td class="div-tr-td" style="width: 30%;"> ??????? </td> <td style="width: 100px;"> <input id="noCardRdrno" class="easyui-textbox" required="true" style="width:100%;height: 28px;" data-options="prompt:'???????'"> </td> </tr> <tr> <td class="div-tr-td" > ??????? </td> <td style="width: 100px;"> <input id="noCardPwd" required="true" class="easyui-textbox" style="width:100%;height: 28px;" data-options="prompt:' ???????'"> </td> </tr> </table> </div> </div> <!-- ?????? --> <div id="wtLoanBookToolbar" style="padding:2px 0"> <table cellpadding="0" cellspacing="0" style="width:100%"> <tr> <td style="padding-left:2px"> <a href="javascript:void(0)" class="easyui-linkbutton" data-options="plain:true,iconCls:'fa fa-save'" onclick="wtLoanBookOk()">???</a> <a href="javascript:void(0)" class="easyui-linkbutton" data-options="plain:true,iconCls:'fa fa-close'" onclick="javascript:$('#wtLoanBookDlg').dialog('close')">???</a> </td> </tr> </table> </div> <div id="wtLoanBookDlg" class="easyui-dialog" title="??????" style="width:700px;height:500px;padding:10px" data-options=" modal:true,closed:true,resizable:false, iconCls: 'fa fa-drivers-license', toolbar: '#wtLoanBookToolbar' "> <div class="table-content" style="width: 660px;margin: auto;margin-top: 5px;"> <div>????????????????????????,???????????</div> <table class="table-box rdr-table-input"> <tr> <td class="div-tr-td"> ??????? </td> <td> <input id="wtCardRdrno" class="easyui-textbox" required="true" style="width:500px;height: 28px;" data-options="prompt:'???????????'"> </td> </tr> </table> <div class="easyui-layout" style="width:660px;height:300px;"> <div data-options="region:'west',title:'???????',collapsible:false" style="width:280px;"> <div class="wt-rdr-img"> </div> </div> <div data-options="region:'center',title:'??????'"> <div class="wt-rdr-info"> </div> </div> </div> </div> </div> <!-- ??????? --> <div id="cirRdrListDlg" class="easyui-dialog" title="???????" style="width:400px;height:500px;padding:10px" data-options=" modal:true,closed:true,resizable:false, iconCls: 'fa fa-user', "> <div class="cirRdrListBox" style="width: 370px;margin: auto;margin-top: 5px;"> <!-- <div class='div-book-record'><strong>"+ (i + 1) +"</strong>," + rows[i] + "</div> <div class='div-book-record'><strong>"+ (i + 1) +"</strong>," + rows[i] + "</div> <div class='div-book-record'><strong>"+ (i + 1) +"</strong>," + rows[i] + "</div> --> </div> </div> <!-- ??????--> <div id="attachmentToolbar" style="padding:2px 0"> <table cellpadding="0" cellspacing="0" style="width:100%"> <tr> <td style="padding-left:2px"> <a href="javascript:void(0)" class="easyui-linkbutton attc-loan" data-options="plain:true,iconCls:'fa fa-share'" onclick="loanBookByAttachment()">????????</a> <a href="javascript:void(0)" class="easyui-linkbutton attc-loan" data-options="plain:true,iconCls:'fa fa-share-square-o'" onclick="loanBook()">???????</a> <a href="javascript:void(0)" class="easyui-linkbutton attc-return" data-options="plain:true,iconCls:'fa fa-share'" onclick="returnBookByAttachment()">????????</a> <a href="javascript:void(0)" class="easyui-linkbutton" data-options="plain:true,iconCls:'fa fa-close'" onclick="javascript:$('#attachmentDlg').dialog('close')">??????</a> </td> </tr> </table> </div> <div id="attachmentDlg" class="easyui-dialog" title="??????" style="width:400px;height:260px;padding:10px" data-options=" modal:true,closed:true,resizable:false, iconCls: 'fa fa-file-zip-o', toolbar: '#attachmentToolbar' "> <div class="table-content" style="width: 350px;margin: auto;margin-top: 5px;"> <div class="attachment-tip">??????,??????????????????????</div> <table class="table-box rdr-table-input"> <tr> <td class="div-tr-td" > ?????? </td> </tr> <tr> <td> <label class="attachment-content"></label> </td> </tr> </table> </div> </div> <!-- ??????--> <div id="rdrListToolbar" style="padding:2px 0"> <table cellpadding="0" cellspacing="0" style="width:100%"> <tr> <td style="padding-left:2px"> <a href="javascript:void(0)" class="easyui-linkbutton attc-loan" data-options="plain:true,iconCls:'fa fa-arrow-down'" onclick="selectRdrByRdrList()">???</a> <a href="javascript:void(0)" class="easyui-linkbutton" data-options="plain:true,iconCls:'fa fa-close'" onclick="javascript:$('#rdrListDlg').dialog('close')">???</a> </td> </tr> </table> </div> <div id="rdrListDlg" class="easyui-dialog" title="???????" style="width:900px;height:660px;padding:10px" data-options=" modal:true,closed:true,resizable:false, iconCls: 'fa fa-file-zip-o', toolbar: '#rdrListToolbar' "> <div>????????¤???????????????</div> <div style="width: 850px;margin: auto;margin-top: 5px;height: 500px;"> <table id="rdrDataGridList" title="??????????" class="easyui-datagrid" data-options="fit:true,singleSelect:true,fitColumns:true,border:true"> <thead> <tr> <th data-options="field:'libcode',formatter:onShowLibName" width="80">?????</th> <th data-options="field:'rdrno'" width="80">???</th> <th data-options="field:'name'" width="100">???</th> <th data-options="field:'status',formatter:onShowRdrStatusName" width="100">????</th> <th data-options="field:'rdrtype',formatter:onShowRrdTypeName" width="80">???????</th> <th data-options="field:'createdate'" width="80">??????</th> <th data-options="field:'startdate'" width="80">??????</th> <th data-options="field:'enddate'" width="80">??????</th> </tr> </thead> </table> </div> </div> <!-- ??????--> <div id="xinYongToolbar" style="padding:2px 0"> <table cellpadding="0" cellspacing="0" style="width:100%"> <tr> <td style="padding-left:2px"> <a href="javascript:void(0)" class="easyui-linkbutton" data-options="plain:true,iconCls:'fa fa-close'" onclick="xinYongStop()">???</a> </td> </tr> </table> </div> <div id="xinYongDlg" class="easyui-dialog" title="??????" style="width:450px;height:340px;padding:10px" data-options=" modal:true,closed:true,resizable:false, iconCls: 'fa fa-credit-card', toolbar: '#xinYongToolbar' "> <div id="xinYongInfo" style="text-align: center;">?????????????</div> <div style="width: 350px;margin: auto;margin-top: 5px;height: 200px;text-align: center;"> <div id="qrcode"> </div> </div> </div> <script type="text/javascript"> var selectGridRecordObj; var checkedItems = []; $(function () { selectGridRecordObj = $('#cirDataGridList'); selectGridRecordObj.datagrid({ onCheck:function(rowIndex, rowData){ addcheckItem(); }, onUncheck:function(rowIndex, rowData){ removeSingleItem(rowIndex, rowData); }, onCheckAll:function(rows){ addcheckItem(); }, onUncheckAll:function(rows){ removeAllItem(rows); }, onSelect:onSelectCirDataGridList, onDblClickRow:onDblClickCirDataGridListRow, rowStyler:rowCirOverdueStyler }); $('#cir_tabsGrid').tabs({ onSelect:cirTabsGridselect }); $('#rdrDataGridList').datagrid({ onDblClickRow:onDblClickRdrDataGridListRow }); }); function ischeckItem() { for (var i = 0; i < checkedItems.length; i++) { selectGridRecordObj.datagrid('selectRecord', checkedItems[i]); //???id????? } } function findCheckedItem(barcode) { for (var i = 0; i < checkedItems.length; i++) { if (checkedItems[i] == barcode) return i; } return -1; } function addcheckItem() { var row = selectGridRecordObj.datagrid('getChecked'); for (var i = 0; i < row.length; i++) { if (findCheckedItem(row[i].barcode) == -1) { checkedItems.push(row[i].barcode); } } } function removeAllItem(rows) { for (var i = 0; i < rows.length; i++) { var k = findCheckedItem(rows[i].barcode); if (k != -1) { checkedItems.splice(i, 1); } } } function removeSingleItem(rowIndex, rowData) { var k = findCheckedItem(rowData.barcode); if (k != -1) { checkedItems.splice(k, 1); } } </script>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de