Hl.WebMain/AdmPage/PartsStockManage/BizServicePartOrderInventory-Panyin-Detail.aspx.cs

(开头部分) 7KB

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

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using Hl.Code;
using Hl.WebMain.Common;

namespace Hl.WebMain.AdmPage.PartsStockManage
{
    public partial class BizServicePartOrderInventory_Panyin_Detail : System.Web.UI.Page
    {
        #region "全局变量及属性"

        public Hl.DataModel.BizServicePart                     PartInfo = null;
        DataModel.BizServicePartStock                          KcunInfo = null;
        public Hl.DataModel.BizServicePartOrderInventory       PandInfo = null;
        public Hl.DataModel.BizServicePartOrderInventoryDetail ThisInfo = null;


        #endregion

        #region "页面初始及加载"

        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                BindInfo();
                VermPerm();
                FormTest();
                BindData();
            }
        }

        #endregion

        #region "绑定数据及验证"

        protected void GetModel()
        {
            ThisInfo = new Hl.DataModel.BizServicePartOrderInventoryDetail();
            ThisInfo.Id = 0;
            PartInfo = Hl.DataBll.BizServicePart.Select(DataConvert.ToInt(Request["partId"], 0));
            PandInfo = Hl.DataBll.BizServicePartOrderInventory.Select(DataConvert.ToInt(Request["OrderId"], 0));
            if (PartInfo == null)
            {
                Message.MessageShows("", "参数错误!");
            }
            KcunInfo = DataBll.BizServicePartStock.Select(PartInfo.Id, PandInfo == null ? DataBll.AdmSafe.ReadCurrUser().ShopId : PandInfo.AdmShopId);
        }

        /// <summary>
        /// 表单验证
        /// </summary>
        protected bool FormTest(int testStyle = 0)
        {
            bool isValidate = true;
后面还有 112 行代码,购买后查看完整代码

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

AI 解读 AI

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

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