username@email.com
2022-09-21 6131316db2e61c717a6fbd1db774b41b60c933e9
zhengcaioa/zhengcaioa/Views/CooperatecustomCustomer/Index.cshtml
@@ -17,6 +17,9 @@
        var shengDropDown = '@Html.Raw(Newtonsoft.Json.JsonConvert.SerializeObject(ViewBag.ShengDropDown))';
        var shifou = '@Html.Raw(Newtonsoft.Json.JsonConvert.SerializeObject(ViewBag.shifou))';
        var Baomingtimebegin = '@Html.Raw(ViewBag.Baomingtimebegin)';
        var Baomingtimeend = '@Html.Raw(ViewBag.Baomingtimeend)';
        loseherght = 60;
        gridConfig = { multiselect: true, selectcol: "Id" };
        dataCol = [
@@ -50,7 +53,7 @@
                }
            },
        ];
        dataUrl = "/CooperatecustomCustomer/GetList"+"@(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%' },
@@ -69,6 +72,19 @@
        var _pageAdd = function () {
            OpenWindow("新增合作客户", "98%", "100%", "/CooperatecustomCustomer/Edit/");
        }
         var _pageSearch = function () {
            $("#jqGrid").jqGrid('setGridParam', {
                url: dataUrl = "/CooperatecustomCustomer/GetList"+"@(string.IsNullOrEmpty(Creater) ?"": "?Ywjl=" + Creater)", postData: jsons, page: 1
            }); //重新载入
            var jsons = GetSearchEnd();
            if (jsons == false) {
                msg.info("请录入查询条件");
                return false;
            }
            LoadGrid(jsons);
        }
        var _pagePrint = function () {
@@ -282,7 +298,17 @@
            }
        };
        $(function () {
            $("#PBSCreatetimeend").val(Baomingtimeend);
            $("#PBSCreatetimestart").val(Baomingtimebegin);
        });
    </script>
}