Hl.WebMain/AdmPage/BaseBizManage/ServiceInfoEdit-ItemPartVirtual-SelectSort.aspx

(开头部分) 5KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ServiceInfoEdit-ItemPartVirtual-SelectSort.aspx.cs"
    Inherits="Hl.WebMain.AdmPage.BaseBizManage.ServiceInfoEdit_ItemPartVirtual_SelectSort"
    MasterPageFile="~/Master/TempMaster.Master" %>

<asp:Content ID="head" runat="server" ContentPlaceHolderID="head">
    <script type="text/javascript">
        var curGrid, getData;
        $(function () {
            getData = function () {
                curGrid = $("#main_grid").ligerGrid({
                    columns: [
                        { width: 150, display: '项目名称', name: '项目标题', isSort: false, align: 'left' },
                        { width: 100, display: '工    种', name: '项目工种', isSort: false },
                        { width: 100, display: '数    量', name: '数量', isSort: false },
                        { width: 100, display: '单    价', name: '单价', isSort: false },
                        { width: 100, display: '金    额', name: '金额', isSort: false },
                        { width: 100, display: '状    态', name: '维修状态', isSort: false },
                        { width: 100, display: '操 作 员', name: '操作员', isSort: false },
                        { width: 150, display: '备    注', name: '备注', isSort: false }
                    ],
                    width: '100%', usePager: false, parms: null, url: 'ServiceInfoEdit-ItemPartVirtual-SelectSort.aspx?op=Select&ServiceId=<%= DataConvert.ToInt(Request["ServiceId"], 0) %>',
                    onDblClickRow: function (data, rowid, rowdata) {
                        $('#<%= htmlPartItemParent.ClientID %>').html('<option value="-1">---请选择---</option>');
                        $.each(curGrid.getData(), function (index, model) {
                            if (model.当前类型 == '维修项目' && model.Id != data.Id) {
                                $('#<%= htmlPartItemParent.ClientID %>').append('<option value="' + model.Id + '">' + model.项目名称 + '</option>');
                            }
                        });
                        $('#<%= htmlId.ClientID %>').val(data.Id);
                        $('#<%= htmlPartItemName.ClientID %>').val(data.项目名称);
                        $("#<%= BtnTool1.ClientID %>").removeAttr("disabled");
                    }
                });
            };
            getData();
            uicommon.ReSize({ "Fun": function () {
                curGrid.setHeight($(window).height() - $("#temp_info").height() - 15);
            }
            });
        });
    </script>
</asp:Content>
<asp:Content ID="info" runat="server" ContentPlaceHolderID="info">
    <%--数据列表--%>
    <div id="main_grid" class="temp_list" style="margin: 8px 0px 0px;">
    </div>
    <div id="temp_info" class="temp_info">
        <input id="htmlId" runat="server" type="hidden" />
        <table width="100%" class="tbInfo">
        <thead>
           <tr>
              <td style="width:90px; ">&nbsp;</td>
              <td style="width:130px">&nbsp;</td>
              <td style="width:10px; ">&nbsp;</td>
              <td style="width:90px; ">&nbsp;</td>
              <td style="width:130px;">&nbsp;</td>
              <td style="width:10px; ">&nbsp;</td>
              <td style="width:auto; ">&nbsp;</td>
           </tr>
        </thead>
后面还有 51 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。