protected void Page_Load(object sender, EventArgs e)
 {
     _submitController = CreateSubmitInstance();
     if (!IsPostBack)
     {
         //绑定借记单状态
         RCB_State.DataSource = GetDebitNoteStateList();
         RCB_State.DataBind();
         //绑定仓库
         RCB_Warehouse.DataSource = WarehouseDic;
         RCB_Warehouse.DataBind();
         //绑定责任人
         RCB_Persion.DataSource = PersonnelList;
         RCB_Persion.DataBind();
         //绑定供应商
         RCB_Company.DataSource = CompanyCussentList;
         RCB_Company.DataBind();
     }
 }
示例#2
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
         //绑定责任人
         RCB_Persion.DataSource = PersonnelList;
         RCB_Persion.DataBind();
         //绑定供应商
         RCB_Company.DataSource = CompanyCussentList;
         RCB_Company.DataBind();
         BindAuditType();
         IsLoad            = true;
         Session["IsLoad"] = "1";
         RCB_PurchaseGroup.Items.Add(new RadComboBoxItem("默认", Guid.Empty.ToString()));
     }
     else
     {
         IsLoad = Session["IsLoad"] == null || Session["IsLoad"].ToString() != "0";
     }
 }