예제 #1
0
        protected void Page_Load(object sender, EventArgs e)
        {
            int id = RequestTool.RequestInt("id", 0);

            if (!EX_Admin.Power("property_list", "属性规格列表"))
            {
                WindowNoPower();
            }
            model = B_Lebi_ProPerty_Tag.GetModel(id);
            if (model == null)
            {
                model = new Lebi_ProPerty_Tag();
                model.Type_id_ProPertyType = 131;
            }
        }
예제 #2
0
        protected void Page_Load(object sender, EventArgs e)
        {
            int id = RequestTool.RequestInt("id", 0);

            if (!Power("supplier_property", "属性规格"))
            {
                WindowNoPower();
            }
            model = B_Lebi_ProPerty_Tag.GetModel("Supplier_id = " + CurrentSupplier.id + " and id = " + id);
            if (model == null)
            {
                model = new Lebi_ProPerty_Tag();
                model.Type_id_ProPertyType = 131;
            }
        }