| | |
| | | formatter: function (cellvalue, options, rowObject) { |
| | | |
| | | if (rowObject.OrderType1 == "代拟投诉书") { |
| | | return "<a onclick=\"OpenWindow('查看投诉书','98%','100%', '/CooperOrder/Printtousushu?id=" + rowObject.Id + "')\" >查看投诉书</a>"; |
| | | return "<a onclick=\"OpenWindow('打印导出投诉书','98%','100%', '/CooperOrder/Printtousushu?id=" + rowObject.Id + "')\" >打印导出投诉书</a>"; |
| | | } |
| | | else if (rowObject.OrderType1 == "代拟质疑函") { |
| | | return "<a onclick=\"OpenWindow('查看质疑函','98%','100%', '/CooperOrder/PrintZhiyihan?id=" + rowObject.Id + "')\" >查看质疑函</a>"; |
| | | return "<a onclick=\"OpenWindow('打印导出质疑函','98%','100%', '/CooperOrder/PrintZhiyihan?id=" + rowObject.Id + "')\" >打印导出质疑函</a>"; |
| | | } |
| | | } |
| | | }, |