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(); }
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(); }
public GoodsReturnAddDlg(GoodsReturnAddModel model) { InitializeComponent(); _model = model; InitData(); }