| | |
| | | return "<a onclick=\"OpenWindow('" + cellvalue.replace(/'/g, '') + "','98%','100%', '/CooperatecustomCustomer/Edit?id=" + rowObject.Id + "')\" >" + cellvalue + "</a>"; |
| | | } |
| | | }, |
| | | { |
| | | label: '关联客户数', name: 'Guanliankehushu', labtype: 'txt', hidden: false, width: 100, |
| | | formatter: function (cellvalue, options, rowObject) { |
| | | return "<a onclick=\"OpenWindow('" + rowObject.Name.replace(/'/g, '') + "','100%','100%', '/CooperatecustomCustomer/IndexCustomerGuanlian?CustomerId=" + rowObject.Id + "&Customertype=合作客户')\" >" + cellvalue + "</a>"; |
| | | } |
| | | }, |
| | | { label: '联系电话', name: 'Tel', labtype: 'txt', hidden: false, width: 100 }, |
| | | { label: '所属区域', name: 'ShengName', labtype: 'txt', hidden: false, width: 100 }, |
| | | //{ label: '客户来源', name: 'KhlyName', labtype: 'txt', hidden: false, width: 100 }, |
| | |
| | | return "<a class='Huifang' style='display: none;' onclick=\"OpenWindow('回访记录','98%','100%', '/CooperVisit/Index?IsYwjl=true&Viscustomer=" + rowObject.Id + "')\" >回访记录</a>"; |
| | | } |
| | | }, |
| | | { |
| | | label: '添加关联客户', name: 'Guanliankehushu', labtype: 'txt', hidden: false, width: 100, |
| | | formatter: function (cellvalue, options, rowObject) { |
| | | return "<a onclick=\"OpenWindow('" + rowObject.Name.replace(/'/g, '') + "','100%','100%', '/CooperatecustomCustomer/IndexSelect?Id=" + rowObject.Id + "&Customertype=合作客户')\" >添加关联客户</a>"; |
| | | } |
| | | }, |
| | | ]; |
| | | dataUrl = "/CooperatecustomCustomer/GetList?Createtime=" + Baomingtimebegin + "|" + Baomingtimeend +"@(string.IsNullOrEmpty(Creater)?"": "&Ywjl=" + Creater)"; |
| | | searchCol = [ |