LR-20210131IOQH\Administrator
2021-08-10 d4a6d65f5e449c3e5464aa18ae97bf8953987217
zhengcaioa/zhengcaioa/Views/CooperVisit/Index.cshtml
@@ -1,6 +1,7 @@
@{
    ViewBag.Title = "CooperVisit";
    Layout = "~/Views/Shared/_Layout_Search.cshtml";
    string Viscustomer = ViewBag.Viscustomer as string;
}
@section headerStyle{
    <script type="text/javascript">
@@ -8,7 +9,8 @@
        var khlys = '@Html.Raw(Newtonsoft.Json.JsonConvert.SerializeObject(ViewBag.khly))';
        var hyfls = '@Html.Raw(Newtonsoft.Json.JsonConvert.SerializeObject(ViewBag.hyfl))';
        var users = '@Html.Raw(Newtonsoft.Json.JsonConvert.SerializeObject(ViewBag.users))';
         var shengDropDown = '@Html.Raw(Newtonsoft.Json.JsonConvert.SerializeObject(ViewBag.ShengDropDown))';
        var shengDropDown = '@Html.Raw(Newtonsoft.Json.JsonConvert.SerializeObject(ViewBag.ShengDropDown))';
        loseherght = 60;
        gridConfig = { multiselect: true, selectcol: "Id" };
        dataCol = [
@@ -21,7 +23,7 @@
                }
            },
            { label: '所属区域', name: 'ShengName', labtype: 'txt', hidden: false, width: 100  },
            //{ label: '所属区域', name: 'ShengName', labtype: 'txt', hidden: false, width: 100  },
            { label: '客户单位', name: 'Name', labtype: 'txt', hidden: false, width: 100  },
            { label: '拜访方式', name: 'VisTypeName', labtype: 'txt', hidden: false, width: 100 },
            { label: '接待人', name: 'Jdr', labtype: 'txt', hidden: false, width: 100},
@@ -32,7 +34,7 @@
            { label: '跟踪建议', name: 'JyName', labtype: 'txt', hidden: false, width: 100 },
        ];
        dataUrl = "/CooperVisit/GetList";
        dataUrl = "/CooperVisit/GetList?Viscustomer=@Viscustomer";
        searchCol = [
            { label: '客户来源', name: 'Khly', labtype: 'combox', hidden: false, data: JSON.parse(khlys), cwidth: '5%', cccwidth: '8%' },
            { label: '行业分类', name: 'Hyfl', labtype: 'combox', hidden: false, data: JSON.parse(hyfls), cwidth: '5%', cccwidth: '15%' },
@@ -49,11 +51,11 @@
        ];
        var _pageAdd = function () {
            OpenWindow("新增意向客户拜访", "98%", "90%", "/CooperVisit/Edit/");
            OpenWindow("新增合作客户回访", "98%", "90%", "/CooperVisit/Edit?Viscustomer=@Viscustomer");
        }
        var _afterSave = function (result) {
            if (result) {