| | |
| | | { label: '课程类型', name: 'Kechengleixing', labtype: 'txt', hidden: false, width: 70 }, |
| | | { label: '姓名', name: 'Xingming', labtype: 'txt', hidden: false, width: 70 }, |
| | | { label: '联系电话', name: 'Lianxidianhua', labtype: 'txt', hidden: false, width: 70 }, |
| | | { label: '身份证', name: 'Shenfenzheng', labtype: 'txt', hidden: false, width: 70 }, |
| | | { label: '区域', name: 'Shenfenzheng', labtype: 'txt', hidden: false, width: 70 }, |
| | | { 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,10,11,12,13&Baomingtime=" + Baomingtimebegin + "|" + Baomingtimeend; |
| | | searchCol = [ |
| | | { label: '报名时间', name: 'Baomingtime', labtype: 'datearea', hidden: false }, |
| | | { label: '培训班次', name: 'Peixunbanci', labtype: 'txt', hidden: false }, |
| | | { label: '课程类型', name: 'Kechengleixing', labtype: 'combox', hidden: false, data: JSON.parse(kechengleixing)/*, cwidth: '5%', cccwidth: '8%' */ }, |
| | | { label: '姓名', name: 'Xingming', labtype: 'txt', hidden: false }, |
| | | { label: '联系电话', name: 'Lianxidianhua', labtype: 'txt', hidden: false }, |
| | | |
| | | { label: '区域', name: 'Quyu', 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,10,11,12,13,14,15', postData: jsons, page: 1 |
| | | }); //重新载入 |
| | | var jsons = GetSearchEnd(); |
| | | if (jsons == false) { |
| | |
| | | } |
| | | |
| | | |
| | | var url = "/OrderBanciOrder/print?Kechengleixings=0,1,2&Baomingtime=" + Baomingtime + "&Peixunbanci=" + Peixunbanci + "&Kechengleixing=" + Kechengleixing + "&Xingming=" + Xingming + "&Lianxidianhua=" + Lianxidianhua; |
| | | var url = "/OrderBanciOrder/print?Kechengleixings=0,1,2,4,5,6,8,9,10,11,12,13&Baomingtime=" + Baomingtime + "&Peixunbanci=" + Peixunbanci + "&Kechengleixing=" + Kechengleixing + "&Xingming=" + Xingming + "&Lianxidianhua=" + Lianxidianhua; |
| | | var me = window.open(url, "打印"); //打开新窗口 |
| | | |
| | | |