Hl.WebMain/AdmPage/PartsInfoOutbound/BizServicePartOrderSale-Return-Editor.aspx

(开头部分) 12KB

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

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="BizServicePartOrderSale-Return-Editor.aspx.cs"
    Inherits="Hl.WebMain.AdmPage.PartsInfoOutbound.BizServicePartOrderSale_Return_Editor"
    MasterPageFile="~/Master/TempMaster.Master" %>

<asp:Content ID="head" runat="server" ContentPlaceHolderID="head">
   <script type="text/javascript" src="/Controls/JsControls/JsValidate.aspx"></script>
   <script type="text/javascript">
        var curGrid, getRows, getData;
        $(function () {
            getData = function () {
                curGrid = $("#main_grid").ligerGrid({
                    columns: [
                        { width: 100, display: '配件编码', name: 'PartCode', align: 'center', isSort: false, totalSummary: { render: function (suminf, column, cell) { return suminf.count; } } },
                        { width: 100, display: '配件名称', name: 'PartName', align: 'center', isSort: false },
                        { width: 100, display: '退货数量', name: 'PartCount', align: 'center', isSort: false, totalSummary: { render: function (suminf, column, cell) { return suminf.sum; } } },
                        { width: 100, display: '退货单价', name: 'PartPrice', align: 'center', isSort: false },
                        { width: 100, display: '退货金额', name: 'PartMoney', align: 'center', isSort: false, totalSummary: { render: function (suminf, column, cell) { return suminf.sum; } } },
                        { width: 100, display: '销售单价', name: 'PartPriceSale', align: 'center', isSort: false },
                        { width: 100, display: '销售金额', name: 'PartSaleMoney', align: 'center', isSort: false, totalSummary: { render: function (suminf, column, cell) { return suminf.sum; } } },
                        { width: 100, display: '成本单价', name: 'PartPriceBuying', align: 'center', isSort: false },
                        { width: 100, display: '成本金额', name: 'PartBuysMoney', align: 'center', isSort: false, totalSummary: { render: function (suminf, column, cell) { return suminf.sum; } } }
                    ],
                    width: '100%',
                    url: '/Controls/JsControls/JsPartOrder.aspx?op=BizServicePartOrderSaleReturnDetail',
                    usePager: false,
                    parms: {
                        "OrderId": $("#<%= htmlOrderId.ClientID %>").val(),
                        "OrderNo": $("#<%= htmlOrderNo.ClientID %>").val()
                    }
                });
            };
            getData();
            getRows = function () {
                var myRows = curGrid.getSelectedRows();
                var idlist = '';
                $.each(myRows, function (index, rItem) {
                    idlist += rItem.Id + (index < myRows.length - 1 ? ',' : '');
                });
                return idlist;
            };
            callBak = function () {
                getData();
            };
            $("#temp_tabs").ligerTab({ onAfterSelectTabItem: function () {
                curGrid.setHeight($(window).height() - $('#temp_tabs').height() - 70);
            }
            });
            uicommon.ReSize({ "Fun": function () {
                curGrid.setHeight($(window).height() - $('#temp_tabs').height() - 70);
            }
            });
            uicommon.ReSize({ "Fun": function () {
                curGrid.setHeight($(window).height() - $('#temp_tabs').height() - 70);
            }
            });
        });
    </script>
</asp:Content>
<asp:Content ID="info" runat="server" ContentPlaceHolderID="info">
    <div class="temp_tabs" id="temp_tabs">
后面还有 160 行代码,购买后查看完整代码

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

AI 解读 AI

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

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