Edit D:\rfid\libsystem\page\acquisition\js\acq_suborderbib.js
$(function(){$("#orderDataGridList").datagrid({rowStyler:rowStylerIsUpdateByLibcode,onDblClickRow:updateSubOrderBib})});function updateSubOrderBib(b,a){subscribeOrderBibRecord(a)}function subOrderSaveResult(b,a){openMessageDlg(b.message,5000);_myComBib.prototype.serach();$("#subscribeorder_dlg").dialog("close");$("#tabsGrid").tabs("select",1)}function cancelSubOrderBibRecord(){var a=$("#orderDataGridList").datagrid("getSelected");if(!a){return openMessageDlg("?????????¤??????,??????????")}if(a.ordstatus=="1"){return openMessageDlg("????????????????????????!")}openConfirmDlg("??????????????"+a.id+"]??????????????????",null,cancelSubOrderBibRecordResult,null)}function cancelSubOrderBibRecordResult(){var c=$("#orderDataGridList").datagrid("getSelected");var b={};b.id=c.id;var a=base_path+"acq/order/cancelOrder.do";$.post(a,b,function(d){if(d.status=="0"){openMessageDlg(d.message,5000);_comGridObj.prototype.loadData(c.bibid,"order")}else{openMessageDlg(d.message)}},"json")}function deleteSubOrderBib(){var a=$("#orderDataGridList").datagrid("getSelected");if(!a){return openMessageDlg("?????????¤??????,??????")}openConfirmDlg("???????????????["+a.id+"]???????????",null,deleteSubOrderBibResult,null)}function deleteSubOrderBibResult(){var c=$("#orderDataGridList").datagrid("getSelected");var b={};b.pk=c.id;var a=base_path+"acq/order/delete.do";$.post(a,b,function(d){if(d.status=="0"){openMessageDlg(d.message,5000);_comGridObj.prototype.loadData(c.bibid,"order")}else{openMessageDlg(d.message)}},"json")};
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de