예제 #1
0
 public GoodsReturnModel(IUnityContainer unityContainer)
     : base(unityContainer)
 {
     ViewCode = ViewConst.ED_GOODRETURN;
     //this.UnityContainer = unityContainer;
     _shopId = Guid.Parse(unityContainer.Resolve<IOrderUserInfo>().Property["USER_SHOP"]);
     _serverDate = DateTime.Parse(unityContainer.Resolve<IOrderUserInfo>().Property["SERVER_DATE"]);
     _goodsReturnAddModel = unityContainer.Resolve<GoodsReturnAddModel>();
     LoadStatePos();
 }
예제 #2
0
 public GoodsReturnModel(IUnityContainer unityContainer)
     : base(unityContainer)
 {
     ViewCode = ViewConst.ED_GOODRETURN;
     //this.UnityContainer = unityContainer;
     _shopId              = Guid.Parse(unityContainer.Resolve <IOrderUserInfo>().Property["USER_SHOP"]);
     _serverDate          = DateTime.Parse(unityContainer.Resolve <IOrderUserInfo>().Property["SERVER_DATE"]);
     _goodsReturnAddModel = unityContainer.Resolve <GoodsReturnAddModel>();
     LoadStatePos();
 }
예제 #3
0
 public GoodsReturnAddDlg(GoodsReturnAddModel model)
 {
     InitializeComponent();
     _model = model;
     InitData();
 }