Hl.WebMain/AdmPage/DepartTjManage/TeamJobsManage.aspx

(开头部分) 7KB

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

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="TeamJobsManage.aspx.cs"
    Inherits="Hl.WebMain.AdmPage.DepartTjManage.TeamJobsManage" MasterPageFile="~/Master/TempMaster.Master" %>

<asp:Content ID="head" runat="server" ContentPlaceHolderID="head">
    <script type="text/javascript">
        var curParm,curTeam, getTeam, curGrid, getData;
        var teamVal = '';
        $(function () {
            curParm = function () {
                return {
                    'StartDate': $('#<%= lookStartDate.ClientID %>').val(),
                    'CloseDate': $('#<%= lookCloseDate.ClientID %>').val(),
                    'AdmShopId': $('#<%= lookAdmShopId.ClientID %>').val()
                };
            };
            getTeam = function () {
                curTeam = $("#team_grid").ligerGrid({
                    columns: [
                        { width: 130, display: '维修班组', name: 'TeamName', align: 'center', isSort: true },
                        { width: 100, display: '组    长', name: 'TeamHead', align: 'center', isSort: true },
                        { width: 100, display: '人    数', name: 'TeamNumber', align: 'center', isSort: true, totalSummary: { render: function (suminf, column, cell) { return suminf.sum .toFixed(2)} } },
                        { width: 100, display: '维修工时', name: 'ItemHours', align: 'center', isSort: true, totalSummary: { render: function (suminf, column, cell) { return suminf.sum .toFixed(2)} } },
                        { width: 100, display: '工时占比', name: 'VehicleNo', align: 'center', isSort: true, totalSummary: { render: function (suminf, column, cell) { return suminf.sum .toFixed(2)} } },
                        { width: 100, display: '人均工时', name: 'ItemHourAvg', align: 'center', isSort: true, totalSummary: { render: function (suminf, column, cell) { return suminf.sum .toFixed(2)} } },
                        { width: 100, display: '工时提成', name: 'VehicleNo', align: 'center', isSort: true, totalSummary: { render: function (suminf, column, cell) { return suminf.sum .toFixed(2)} } }
                    ],
                    width: '100%', height: 160, usePager: false, url: 'TeamJobsManage.aspx?op=Totals', parms: curParm(),
                    onSelectRow: function (rowdata, rowid, rowobj) {
                        teamVal = rowdata.TeamName + "_" + rowdata.TeamHead;
                        getData();
                    }
                });
            };
            getTeam();
            getData = function () {
                curGrid = $("#main_grid").ligerGrid({
                    columns: [
                        { width: 130, display: '业务单号', name: 'ServiceNo', align: 'center', isSort: true },
                        { width: 100, display: '车牌号码', name: 'VehicleNo', align: 'center', isSort: true },
                        { width: 130, display: '结算日期', name: 'SettleDate', align: 'center', isSort: true },
                        { width: 100, display: '业务类型', name: 'ServiceTypeNo', align: 'center', isSort: true },
                        { width: 100, display: '质 检 员', name: 'FinalCheckNo', align: 'center', isSort: true },
                        { width: 100, display: '维修顾问', name: 'ServiceAdvisorNo', align: 'center', isSort: true },
                        { width: 100, display: '项目金额', name: 'ItemMoney', align: 'center', isSort: true, totalSummary: { render: function (suminf, column, cell) { return suminf.sum .toFixed(2)} } },
                        { width: 100, display: '项目优惠率', name: 'ItemRebateRate', align: 'center', isSort: true, totalSummary: { render: function (suminf, column, cell) { return suminf.sum .toFixed(2)} } },
                        { width: 100, display: '项目提成金额', name: 'ItemMoneyDeduct', align: 'center', isSort: true, totalSummary: { render: function (suminf, column, cell) { return suminf.sum .toFixed(2)} } },
                        { width: 100, display: '整单优惠率', name: 'ServiceRebateRate', align: 'center', isSort: true, totalSummary: { render: function (suminf, column, cell) { return suminf.sum .toFixed(2)} } },
                        { width: 100, display: '税    金', name: 'ItemTax', align: 'center', isSort: true, totalSummary: { render: function (suminf, column, cell) { return suminf.sum .toFixed(2)} } }
                    ],
                    width: '100%', url: 'TeamJobsManage.aspx?op=Detail',
                    parms: function () {
                        return {
                            'TeamName': teamVal,
                            'StartDate': $('#<%= lookStartDate.ClientID %>').val(),
                            'CloseDate': $('#<%= lookCloseDate.ClientID %>').val(),
                            'AdmShopId': $('#<%= lookAdmShopId.ClientID %>').val()
                        };
                    }
                });
            };
后面还有 60 行代码,购买后查看完整代码

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

AI 解读 AI

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

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