Ejemplo n.º 1
0
 public UCRefundBalanceMaintain(int refundSysNo, int refundBalanceSysNo, string action)
 {
     this.RefundSysNo        = refundSysNo;
     this.RefundBalanceSysNo = refundBalanceSysNo;
     this.Action             = action;
     MaintainVM = new RefundBalanceMaintainVM();
     facade     = new RefundBalanceFacade(CPApplication.Current.CurrentPage);
     InitializeComponent();
     InitControls();
     BuildValidate();
 }
Ejemplo n.º 2
0
 public override void OnPageLoad(object sender, EventArgs e)
 {
     facade = new RefundBalanceFacade(this);
     if (!string.IsNullOrEmpty(this.Request.Param))
     {
         Text_RefundSysNo.Text = this.Request.Param;
     }
     BuildValidateCondition();
     this.DataGrid_ResultList.Bind();
     base.OnPageLoad(sender, e);
     Button_Create.IsEnabled = AuthMgr.HasFunctionPoint(AuthKeyConst.RMA_RefundBalance_Create);
     Button_Aduit.IsEnabled  = AuthMgr.HasFunctionPoint(AuthKeyConst.RMA_RefundBalance_SubmitAudit);
     Button_Refund.IsEnabled = AuthMgr.HasFunctionPoint(AuthKeyConst.RMA_RefundBalance_Refund);
     Button_Void.IsEnabled   = AuthMgr.HasFunctionPoint(AuthKeyConst.RMA_RefundBalance_Abandon);
 }