username@email.com
2022-08-29 c06eb4d284a80dbee4a2d040046c37bf73dcfcd5
zhengcaioa/zhengcaioa/Views/Project/Select.cshtml
@@ -1,6 +1,11 @@
@{
@using DTO;
@{
    ViewBag.Title = "Liaotian";
    Layout = "~/Views/Shared/_Layout_Search.cshtml";
    List<PageEntity> ActionInfo2 = ViewData["ActionInfo2"] as List<PageEntity>;
    string Creater11 = ViewData["Creater11"] as string;
}
@section headerStyle{
    <script type="text/javascript">
@@ -9,7 +14,7 @@
        var Creater = '@Html.Raw(Newtonsoft.Json.JsonConvert.SerializeObject(ViewBag.Creater))';
        var flbx = '@Html.Raw(Newtonsoft.Json.JsonConvert.SerializeObject(ViewBag.flbx))';
        var ShiFouyReasonname = '@Html.Raw(Newtonsoft.Json.JsonConvert.SerializeObject(ViewBag.ShiFouyReasonname))';
        loseherght = 110;
        dataCol = [
@@ -83,7 +88,7 @@
            { label: '废标次数', name: 'Feibiaocishu', labtype: 'txt', hidden: true },
            { label: '中标金额', name: 'Zhongbiaojine', labtype: 'txt', hidden: true }
        ];
        dataUrl = "/Project/GetLiaotianList";
        dataUrl = "/Project/GetLiaotianList"+"@(string.IsNullOrEmpty(Creater11) ?"":"?Creater="+ Creater11)";
        searchCol = [
            //{ label: '公告时间', name: 'StartTimestar', labtype: 'date', hidden: false },
            //{ label: '--', name: 'StartTimeend', labtype: 'date', hidden: false, cwidth: '1%', cccwidth: '15%' },
@@ -97,23 +102,23 @@
            { label: '采购代理人', name: 'Caigourenname', labtype: 'txt', hidden: false },
            { label: '采购代理机构', name: 'Dailiname', labtype: 'txt', hidden: false },
            { label: '采购方式', name: 'Cgfs', labtype: 'combox', hidden: false, data: JSON.parse(projectDropDown) },
            { label: '是否废标', name: 'fblx', labtype: 'combox', hidden: false, data: JSON.parse(flbx)/*, cwidth: '5%', cccwidth: '8%' */ },
            { label: '中标供应商', name: 'Names', labtype: 'txt', hidden: false },
            { label: '投标供应商', name: 'NamesToubiao', labtype: 'txt', hidden: false },
            { label: '是否有无效供应商', name: 'ShiFouyReasonname', labtype: 'combox', hidden: false, data: JSON.parse(ShiFouyReasonname), cwidth: '8%', cccwidth: '12%'},
            { label: '无效供应商', name: 'Reasonname', labtype: 'txt', hidden: false },
            { label: '录入时间', name: 'Createtime', labtype: 'datearea', hidden: false },
            { label: '录入人', name: 'Creater', labtype: 'combox', hidden: false, data: JSON.parse(Creater)/*, cwidth: '5%', cccwidth: '8%'*/ },
            { label: '分差小于', name: 'Fencha', labtype: 'txt', hidden: false/*, cwidth: '8.5%', cccwidth: '15%' */ },
            { label: '分差大于', name: 'Fenchadayu', labtype: 'txt', hidden: false/*, cwidth: '8.5%', cccwidth: '15%' */ },
            { label: '供应商数量', name: 'Shuliang', labtype: 'txt', hidden: false/*, cwidth: '8.5%', cccwidth: '15%' */ },
            //{ label: '价差小于', name: 'Baojiachaxiaoyu', labtype: 'txt', hidden: false/*, cwidth: '8.5%', cccwidth: '15%' */ },
        ];
        var _pageAdd = function () {
@@ -144,10 +149,10 @@
    <script type="text/javascript">
        function send() {
            var msg = $("#PBSSheng");
            if (msg.length > 0) {
                $("#PBSSheng").change(function () {
                    var sheng = $("#PBSSheng").val();
@@ -158,7 +163,7 @@
                        global: false,
                        data: "",
                        success: function (data) {
                            var city = $("#PBSCity");
                            city.find('option').remove();
                            var aaa = '<option value="" hassubinfo="true">&nbsp;</option>';
@@ -179,12 +184,13 @@
                        }
                    });
                });
            } else {
                setTimeout(send, 1000);
            } }
            }
        }
        send();
@@ -192,11 +198,11 @@
        function sendCity() {
            var msg = $("#PBSCity");
            if (msg.length > 0) {
                $("#PBSCity").change(function () {
                    var city = $("#PBSCity").val();
                    $.ajax({
                        type: "GET",
@@ -205,7 +211,7 @@
                        global: false,
                        data: "",
                        success: function (data) {
                            var quxian = $("#PBSAreaId");
                            quxian.find('option').remove();
                            var aaa = '<option value="" hassubinfo="true">&nbsp;</option>';
@@ -226,7 +232,7 @@
                        }
                    });
                });
            } else {
                setTimeout(sendCity, 1000);
            }
@@ -235,7 +241,7 @@
        sendCity();
        $(function () {
            $("#PBSAreaId").parent().next().remove();
@@ -246,8 +252,8 @@
            $("#PBSReasonname").parent().after("<br>");
            $("#PBSCreater").parent().next().remove();
            $("#PBSFenchadayu").parent().after("<br>");
        });
        });
    </script>
}