CB2-20200827ONU\Administrator
2021-09-22 641ddf669ad57fb544e13a6433aa5905551b3bba
CY_ECommercePlatform/CY.WebForm/Pages/front/ReceiptDocument.aspx.cs
@@ -1,4 +1,5 @@
using System;
using CY.BLL.Sys;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
@@ -10,11 +11,18 @@
    public partial class ReceiptDocument : System.Web.UI.Page
    {
        public int PrintTypeId { get; set; }
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                PrintTypeId = int.Parse(Request["PrintTypeId"].ToString());
                if (Request["PrintTypeId"] != null)
                    PrintTypeId = int.Parse(Request["PrintTypeId"].ToString());
                Sys_DictionaryBLL _sys_DictionaryBLL = new Sys_DictionaryBLL();//字典业务逻辑操作类对象
                this.ysUnit.DataSource = _sys_DictionaryBLL.GetDataByType("印刷单位");
                this.ysUnit.DataBind();
                this.ysUnit.Value = "1";
            }
        }
    }