PersonalPayment.js 743 B

12345678910111213141516171819202122232425262728293031
  1. var url = CMS_SystemConfig.VirtualDirectoryPath + "/PersonalPayment/Edit";
  2. var mnu = "";
  3. //加载
  4. $(function () {
  5. mnu = $.SystemGeneral.getUrlParam("MNU");
  6. })
  7. //查询
  8. function reload() {
  9. $("#dgPersonalPaymentList").cmsXDataTable("load", $.getDataGridParams("dgPersonalPaymentList"));
  10. }
  11. //获取选中的数据
  12. function validChoose() {
  13. var d = [];
  14. $.each($("#dgPersonalPaymentList").cmsXDataTable("getSelections"), function (index) {
  15. d.push(this.StudentChargeID);
  16. });
  17. return d;
  18. }
  19. //已缴金额列设置颜色为红色
  20. function SetRedColumn(index, row, value) {
  21. return " <span style=\"color: red;\">" + value + "</span>";
  22. }
  23. //导出
  24. function PersonalPayment_Excel() {
  25. $("#formQuery").submit();
  26. }