LittleBeeInventory/Views/Inventory/Inventory_In.aspx

(开头部分) 9KB

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

<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage" %>

<%@ Register Assembly="FlexiGrid" Namespace="FlexiGrid" TagPrefix="cc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>商品入库</title>
    <script src="../../Scripts/jquery-1.4.1.js" type="text/javascript"></script>
    <link href="../../Scripts/FlexiGrid/css/main.css" rel="stylesheet" type="text/css" />
    <link href="../../Scripts/FlexiGrid/css/flexigrid.css" rel="stylesheet" type="text/css" />
    <link href="../../Scripts/FlexiGrid/css/contextmenu.css" rel="stylesheet" type="text/css" />
    <link href="../../Scripts/ymPrompt/skin/qq/ymPrompt.css" rel="stylesheet" type="text/css" />
    <script src="../../Scripts/ymPrompt/ymPrompt.js" type="text/javascript"></script>

    <link href="../../Content/iframe.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript">
        //加载数据
        function load() {
            //获得客户端浏览器高度
            var mainHeight = document.documentElement.clientHeight;
            //获得浏览器宽度
            var width = document.documentElement.clientWidth-20;
            //设置预留高度:GridHead,ToolBar,Footer
            var otherHeight = 140;
            //获得网格显示数据的高度
            var h = mainHeight - otherHeight;
            //设置Grid常用属性
            tableId = "emp";  //页面上<table>的id
            title = "商品入库信息"; //网格的标题
            pageSize = 10; //每页显示记录数
            width = width;   //宽度
            height = h;  //高度
            ajaxUrl = "/Inventory/Inventory_In"; //异步请求服务器路径(必须设定)
            //设置列名
            cells = new Array(
                    new cell("编号", "Inventory_in_id", 80, true, "left", null),
                    new cell("产品名称", "product_name", 100, true, "left", null),
                    new cell("入库数量", "count", 60, true, "left", null),
                    new cell("采购价格", "price", 100, true, "left", null),
                    new cell("入库时间", "indate", 80, true, "left", null),
                    new cell("经手人", "inpersion", 80, true, "left", null)
                );

            //设置头部操作按扭
            buttons = new Array(
                  new button("Add", "新增入库","Add"),
                  new button("Delete", "删除入库", "Delete"),
                  new button("excel", "导出Excel", "excel")
                );
            //设置右键菜单

            menus = new Array(
                    new rightKeyMenu("查 看", "../../Scripts/FlexiGrid/css/images/icons/view.png", "view"),
                    new rightKeyMenu("编 辑", "../../Scripts/FlexiGrid/css/images/icons/edit.png", "edit"),
                    new rightKeyMenu("删 除", "../../Scripts/FlexiGrid/css/images/icons/delItem.gif", "Delete"),
                    new rightKeyMenu("刷 新", "../../Scripts/FlexiGrid/css/images/icons/Btn.Refresh.gif", "Refresh")
                   );

            //头部按钮事件
            button_click = function (cmd, grid) {
后面还有 152 行代码,解锁后查看完整代码

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

AI 解读

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

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