| | |
| | | { label: 'id', name: 'Id', labtype: 'txt', hidden: true }, |
| | | { label: '下单时间', name: 'XdTimeName', labtype: 'txt', hidden: false, width: 80 }, |
| | | { |
| | | label: '订单号', name: 'OrderNo', labtype: 'txt', hidden: false, width: 80 |
| | | label: '订单号', name: 'OrderNo', labtype: 'txt', hidden: false, width: 80, |
| | | formatter: function (cellvalue, options, rowObject) { |
| | | if (rowObject.ShouliStatus == "A") { |
| | | return "<a onclick=\"OpenWindow('" + cellvalue.replace(/'/g, '') + "','98%','100%', '/CooperOrder/Edit?id=" + rowObject.Id + "&ShouliStatus=" + rowObject.ShouliStatus + "')\" >" + cellvalue + "</a>"; |
| | | } else { |
| | | return "<a onclick=\"OpenWindow('" + cellvalue.replace(/'/g, '') + "','98%','100%', '/CooperOrder/Edit?id=" + rowObject.Id + "&ShouliStatus=" + rowObject.ShouliStatus + "')\" >" + cellvalue + "</a>"; |
| | | } |
| | | |
| | | } |
| | | }, |
| | | |
| | | { label: '数量', name: 'OrderNum', labtype: 'txt', hidden: false, width: 50 }, |
| | |
| | | |
| | | { label: '订单类型', name: 'OrderTypeName', labtype: 'txt', hidden: false, width: 50 }, |
| | | { label: '金额', name: 'Money', labtype: 'txt', hidden: false, width: 50 }, |
| | | |
| | | { label: '制单人', name: 'CreaterName', labtype: 'txt', hidden: false, width: 60 }, |
| | | { label: '已收款', name: 'YishouMoney', labtype: 'txt', hidden: false, width: 50 }, |
| | | { label: '未收款', name: 'WeishouMoney', labtype: 'txt', hidden: false, width: 50 }, |
| | | { label: '订单状态', name: 'OrderStatus', labtype: 'txt', hidden: false, width: 60 }, |
| | |
| | | |
| | | } |
| | | |
| | | jQuery("#jqGrid").jqGrid("footerData", "set", { OrderNo: "<font color='darkgoldenrod'>--当页合计--</font> </br> <font color='darkgoldenrod'>--合计--</font>", OrderNum: "<font color='darkgoldenrod'>" + xhr.DangyeHeji1 + "</font></br><font color='darkgoldenrod'>" + xhr.Heji1 + "</font>", Money: "<font color='darkgoldenrod'>" + xhr.DangyeHeji2 + "</font></br><font color='darkgoldenrod'>" + xhr.Heji2 + "</font>", YishouMoney: "<font color='darkgoldenrod'>" + xhr.DangyeHeji3 + "</font></br><font color='darkgoldenrod'>" + xhr.Heji3 + "</font>", WeishouMoney: "<font color='darkgoldenrod'>" + xhr.DangyeHeji4 + "</font></br><font color='darkgoldenrod'>" + xhr.Heji4 + "</font>" }); |
| | | |
| | | }; |
| | | |