username@email.com
2023-10-27 8b9646ec10bbf391620ee564507f770e6ad97bdd
zhengcaioa/zhengcaioa/Views/CooperatecustomCustomer/Index.cshtml
@@ -31,6 +31,12 @@
                    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  },
@@ -53,8 +59,14 @@
                    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)";
        dataUrl = "/CooperatecustomCustomer/GetList?Createtime=" /*+ Baomingtimebegin + "|" + Baomingtimeend*/ +"@(string.IsNullOrEmpty(Creater)?"": "&Ywjl=" + Creater)";
        searchCol = [
            { label: '客户来源', name: 'Khly', labtype: 'combox', hidden: false, data: JSON.parse(khlys), cwidth: '5%', cccwidth: '8%' },
@@ -68,6 +80,7 @@
            { label: '客户单位', name: 'Name', labtype: 'txt', hidden: false },
            { label: '建档时间', name: 'Createtime', labtype: 'datearea', hidden: false },
            { label: '是否加微信', name: 'Shifouweixin', labtype: 'combox', hidden: false, data: JSON.parse(shifou), cwidth: '5%', cccwidth: '8%' },
            { label: '是否发快递', name: 'Kuaidistatus', labtype: 'combox', hidden: false, data: JSON.parse(shifou), cwidth: '5%', cccwidth: '8%' },
        ];
        var _pageAdd = function () {