| | |
| | | { label: '学费', name: 'Xuefei', labtype: 'txt', hidden: false, width: 70 }, |
| | | { label: '报名人数', name: 'Baomingrenshu', labtype: 'txt', hidden: false, width: 50 }, |
| | | { label: '积分', name: 'Jifen', labtype: 'txt', hidden: false, width: 50 }, |
| | | { label: '座位', name: 'SeatName', labtype: 'txt', hidden: false, width: 50 }, |
| | | //{ label: '金额', name: 'Jine', labtype: 'txt', hidden: false, width: 100 }, |
| | | { |
| | | label: '打印合同', name: 'dayin', labtype: 'txt', hidden: false, width: 70 |
| | | , |
| | | formatter: function (cellvalue, options, rowObject) { |
| | | return "<a class=\"Dayin\" style=\"display: none;\" onclick=\"OpenWindow('打印合同','100%','100%', '/OrderBanciOrder/Printhetong?id=" + rowObject.Id + "')\" >打印合同</a>"; |
| | | if (rowObject.KechengleixingId == "2") { |
| | | return "<a class=\"Dayin\" style=\"display: none;\" onclick=\"OpenWindow('打印合同','100%','100%', '/OrderBanciOrder/Printhetong?id=" + rowObject.Id + "')\" >打印合同</a>"; |
| | | } else { |
| | | return ""; |
| | | } |
| | | |
| | | } |
| | | }, |
| | | |
| | | ]; |
| | | dataUrl = "/OrderBanciOrder/GetList?Kechengleixings=0,1,2,4,5,6,8&Baomingtime=" + Baomingtimebegin + "|" + Baomingtimeend; |
| | | dataUrl = "/OrderBanciOrder/GetList?Kechengleixings=0,1,2,4,5,6,8,9&Baomingtime=" + Baomingtimebegin + "|" + Baomingtimeend; |
| | | searchCol = [ |
| | | { label: '报名时间', name: 'Baomingtime', labtype: 'datearea', hidden: false }, |
| | | { label: '培训班次', name: 'Peixunbanci', labtype: 'txt', hidden: false }, |
| | |
| | | //} |
| | | var _pageSearch = function () { |
| | | $("#jqGrid").jqGrid('setGridParam', { |
| | | url: '/OrderBanciOrder/GetList?Kechengleixings=0,1,2,4,5,6', postData: jsons, page: 1 |
| | | url: '/OrderBanciOrder/GetList?Kechengleixings=0,1,2,4,5,6,8,9', postData: jsons, page: 1 |
| | | }); //重新载入 |
| | | var jsons = GetSearchEnd(); |
| | | if (jsons == false) { |