/// <summary> /// 构造函数 /// </summary> public MatInventoryInfoAddViewModel() { ConfirmCommand = new GalaSoft.MvvmLight.CommandWpf.RelayCommand(OnExecuteConfirmCommand, OnCanExecuteConfirmCommand); CancelCommand = new GalaSoft.MvvmLight.CommandWpf.RelayCommand(OnExecuteCancelCommand); // getPageDataMatWareHouse(1, int.Parse(Utility.ConfigHelper.GetAppSetting("PageSize"))); // MatInventoryInfo.InventoryCode = BillCodeUtility.getInventoryCode(); MatInventoryInfo.Operator = GlobalData.CurrentLoginUser.UserName; }
/// <summary> /// 构造函数 /// </summary> public MatStorageMoveInfoAddViewModel() { ConfirmCommand = new GalaSoft.MvvmLight.CommandWpf.RelayCommand(OnExecuteConfirmCommand, OnCanExecuteConfirmCommand); CancelCommand = new GalaSoft.MvvmLight.CommandWpf.RelayCommand(OnExecuteCancelCommand); // getStorageMoveInfoFromWareHouseLocationID(); getStorageMoveInfoToWareHouseLocationID(); // getPageDataWareHouseLocation(1, int.Parse(Utility.ConfigHelper.GetAppSetting("PageSize"))); // MatStorageMoveInfo.StorageMoveCode = BillCodeUtility.getStorageMoveCode(); MatStorageMoveInfo.StorageMoveState = StorageMoveStateEnumModel.StorageMoveState.未开始; MatStorageMoveInfo.Operator = GlobalData.CurrentLoginUser.UserName; }
/// <summary> /// 构造函数 /// </summary> public MatStorageModifyInfoAddViewModel() { ConfirmCommand = new GalaSoft.MvvmLight.CommandWpf.RelayCommand(OnExecuteConfirmCommand, OnCanExecuteConfirmCommand); CancelCommand = new GalaSoft.MvvmLight.CommandWpf.RelayCommand(OnExecuteCancelCommand); // MatStorageModifyInfo.StorageModifyCode = BillCodeUtility.getStorageModifyCode(); //未开始 MatStorageModifyInfo.StorageModifyState = StorageModifyStateEnumModel.StorageModifyState.StorageModifyUnFinishState; MatStorageModifyInfo.Operator = GlobalData.CurrentLoginUser.UserName; // materialbatchSelectionChangedCommand = new GalaSoft.MvvmLight.CommandWpf.RelayCommand(OnExecutematerialbatchSelectionChangedCommand); CurrentAmountTextChangedCommand = new GalaSoft.MvvmLight.CommandWpf.RelayCommand(OnExecuteCurrentAmountTextChangedCommand); OriginalAmountTextChangedCommand = new GalaSoft.MvvmLight.CommandWpf.RelayCommand(OnExecuteOriginalAmountTextChangedCommand); // getPageDataMaterialBatch(1, int.Parse(Utility.ConfigHelper.GetAppSetting("PageSize"))); }
/// <summary> /// 构造函数 /// </summary> public MaterialOutStorageInfoAddViewModel2() { ConfirmCommand = new GalaSoft.MvvmLight.CommandWpf.RelayCommand(OnExecuteConfirmCommand, OnCanExecuteConfirmCommand); CancelCommand = new GalaSoft.MvvmLight.CommandWpf.RelayCommand(OnExecuteCancelCommand); // MaterialSelectionChangedCommand = new GalaSoft.MvvmLight.CommandWpf.RelayCommand(OnExecuteMaterialSelectionChangedCommand); OutquantityTextChangedCommand = new GalaSoft.MvvmLight.CommandWpf.RelayCommand(OnExecuteOutquantityTextChangedCommand); // getPageDataMaterial(1, int.Parse(Utility.ConfigHelper.GetAppSetting("PageSize"))); getPageDataMatPallet(1, int.Parse(Utility.ConfigHelper.GetAppSetting("PageSize"))); // MaterialOutStorageInfo.OutStorageBillCode = BillCodeUtility.getOutStorageBillCode(); MaterialOutStorageInfo.OutStorageType = OutStorageTypeEnumModel.OutStorageType.成品手动出库; MaterialOutStorageInfo.OutStorageStatus = OutStorageStatusEnumModel.OutStorageStatus.待组盘; MaterialOutStorageInfo.CreateUser = GlobalData.CurrentLoginUser.UserName; MaterialOutStorageInfo.AuditStatus = AuditStatusEnumModel.AuditStatus.未审核; }
/// <summary> /// 构造函数 /// </summary> public MaterialInStorageInfoAddViewModel2() { ConfirmCommand = new GalaSoft.MvvmLight.CommandWpf.RelayCommand(OnExecuteConfirmCommand, OnCanExecuteConfirmCommand); CancelCommand = new GalaSoft.MvvmLight.CommandWpf.RelayCommand(OnExecuteCancelCommand); // MaterialSelectionChangedCommand = new GalaSoft.MvvmLight.CommandWpf.RelayCommand(OnExecuteMaterialSelectionChangedCommand); InquantityTextChangedCommand = new GalaSoft.MvvmLight.CommandWpf.RelayCommand(OnExecuteInquantityTextChangedCommand); // getPageDataMaterial(1, int.Parse(Utility.ConfigHelper.GetAppSetting("PageSize"))); getPageDataMatPallet(1, int.Parse(Utility.ConfigHelper.GetAppSetting("PageSize"))); getPageDataMatSupplier(1, int.Parse(Utility.ConfigHelper.GetAppSetting("PageSize"))); // MaterialInStorageInfo.InStorageBillCode = BillCodeUtility.getInStorageBillCode(); //原料手动入库 MaterialInStorageInfo.InStorageType = InStorageType.MaterialManuallyInStorageType; //待组盘 MaterialInStorageInfo.InStorageStatus = InStorageStatusEnumModel.InStorageStatus.InStorageUnFinishStatus; MaterialInStorageInfo.CreateUser = GlobalData.CurrentLoginUser.UserName; //未审核 MaterialInStorageInfo.AuditStatus = AuditStatusEnumModel.AuditStatus.UnAuditStatus; }
/// <summary> /// 构造函数 /// </summary> public MaterialOutStorageInfoAddViewModel1() { ConfirmCommand = new GalaSoft.MvvmLight.CommandWpf.RelayCommand(OnExecuteConfirmCommand, OnCanExecuteConfirmCommand); CancelCommand = new GalaSoft.MvvmLight.CommandWpf.RelayCommand(OnExecuteCancelCommand); // WareHouseLocationSelectionChangedCommand = new GalaSoft.MvvmLight.CommandWpf.RelayCommand(OnExecuteWareHouseLocationSelectionChangedCommand); OutquantityTextChangedCommand = new GalaSoft.MvvmLight.CommandWpf.RelayCommand(OnExecuteOutquantityTextChangedCommand); // //getPageDataMaterial(1, int.Parse(Utility.ConfigHelper.GetAppSetting("PageSize"))); getPageDataMatPallet(1, int.Parse(Utility.ConfigHelper.GetAppSetting("PageSize"))); getPageDataWareHouseLocation(1, int.Parse(Utility.ConfigHelper.GetAppSetting("PageSize"))); // MaterialOutStorageInfo.OutStorageBillCode = BillCodeUtility.getOutStorageBillCode(); //空托盘出库 MaterialOutStorageInfo.OutStorageType = OutStorageTypeEnumModel.OutStorageType.PalletOutStorageType; //待组盘 MaterialOutStorageInfo.OutStorageStatus = OutStorageStatusEnumModel.OutStorageStatus.OutStorageUnFinishStatus; MaterialOutStorageInfo.CreateUser = GlobalData.CurrentLoginUser.UserName; //未审核 MaterialOutStorageInfo.AuditStatus = AuditStatusEnumModel.AuditStatus.UnAuditStatus; }
/// <summary> /// 构造函数 /// </summary> public MaterialOutStorageInfoAddViewModel3() { ConfirmCommand = new GalaSoft.MvvmLight.CommandWpf.RelayCommand(OnExecuteConfirmCommand, OnCanExecuteConfirmCommand); CancelCommand = new GalaSoft.MvvmLight.CommandWpf.RelayCommand(OnExecuteCancelCommand); // MaterialSelectionChangedCommand = new GalaSoft.MvvmLight.CommandWpf.RelayCommand(OnExecuteMaterialSelectionChangedCommand); OutquantityTextChangedCommand = new GalaSoft.MvvmLight.CommandWpf.RelayCommand(OnExecuteOutquantityTextChangedCommand); // getPageDataMaterial(1, int.Parse(Utility.ConfigHelper.GetAppSetting("PageSize"))); getPageDataMatPallet(1, int.Parse(Utility.ConfigHelper.GetAppSetting("PageSize"))); // MaterialOutStorageInfo.OutStorageBillCode = BillCodeUtility.getOutStorageBillCode(); //原料自动出库演示 MaterialOutStorageInfo.OutStorageType = OutStorageTypeEnumModel.OutStorageType.MaterialAutoShowOutStorageType; //待组盘 MaterialOutStorageInfo.OutStorageStatus = OutStorageStatusEnumModel.OutStorageStatus.OutStorageUnFinishStatus; MaterialOutStorageInfo.CreateUser = GlobalData.CurrentLoginUser.UserName; //未审核 MaterialOutStorageInfo.AuditStatus = AuditStatusEnumModel.AuditStatus.UnAuditStatus; //配盘数量限制为1 MaterialOutStorageInfo.PalletQuantity = 1; // MaterialOutStorageInfo.FullPalletQuantity = 6; }