public ActionResult MPurSupAckDate() { WinModule window = new WinModule { Title = "供应商回复时间", Width = 400, Height = 250, Loader = { Url = Url.Action("AckDate") } }; window.Render(RenderMode.Auto); return(this.Direct()); }
public ActionResult SeeBack(string id) { WinModule win = new WinModule(); win.ID = "window2"; win.Loader.Url = Url.Action("BackSeeView", new { id = id }); win.Render(RenderMode.Auto); return(this.Direct()); }
public ActionResult ClickSee(string id) { WinModule win = new WinModule(); win.Title = "报价详细信息"; win.Loader.Url = Url.Action("BudgetSeeView", "ProjectBudget", new { ID = id }); win.Render(RenderMode.Auto); return(this.Direct()); }
public ActionResult BudgetAddButton() { WinModule win = new WinModule(); win.Title = "新增报价单"; win.Loader.Url = Url.Action("BudgetAddView", "ProjectBudget"); win.Listeners.Close.Handler = "App.direct.gyproject.BudgetReload()"; win.Render(RenderMode.Auto); return(this.Direct()); }
public ActionResult MReceiptAddbtn() { WinModule win = new WinModule(); win.Title = "新增收货单"; win.Loader.Url = Url.Action("MReceiptAddView", "MReceipt"); win.Listeners.Close.Handler = "App.direct.gyproject.MReceiptReload()"; win.Render(RenderMode.Auto); return(this.Direct()); }
public ActionResult MApplyAddButton() { WinModule win = new WinModule(); win.Title = "添加申请单"; win.Loader.Url = Url.Action("MApplyAddView", "MApply"); win.Listeners.Close.Handler = "App.direct.gyproject.MApplyReload()"; win.Render(RenderMode.Auto); return(this.Direct()); }
public ActionResult BudgetSeeReload(string version) { WinModule win = new WinModule(); win.ID = "win_his"; win.Title = "历史报价单详细信息"; win.Loader.Url = Url.Action("History", "ProjectBudget", new { id = version }); win.Render(RenderMode.Auto); return(this.Direct()); }
public ActionResult MEXWarehouse() { WinModule win = new WinModule(); win.Title = "仓库调拨"; win.Loader.Url = Url.Action("MEXWarehouseView", "MPurchase"); //win.Listeners.Close.Handler = "App.direct.gyproject.MPurchaseReload()"; win.Render(RenderMode.Auto); return(this.Direct()); }
public ActionResult FADeploy() { WinModule win = new WinModule(); win.ID = "window3"; win.Loader.Url = Url.Action("FADeployView"); win.Listeners.Close.Handler = "App.direct.gyproject.FAPurchaseReload()"; win.Render(RenderMode.Auto); return(this.Direct()); }
public ActionResult MResidualAddbtn() { WinModule win = new WinModule(); win.ID = "window2"; win.Title = "余料退回单"; win.Loader.Url = Url.Action("MResidualAddView", "MResidual"); win.Listeners.Close.Handler = "App.direct.gyproject.MResidualReload()"; win.Render(RenderMode.Auto); return(this.Direct()); }
public ActionResult ClickEdit(string id) { WinModule win = new WinModule(); win.ID = "window1"; win.Title = "物资信息修改"; win.Height = 450; win.Loader.Url = Url.Action("MaterialEditView", "Material", new { ID = id }); win.Listeners.Close.Handler = "App.direct.gyproject.MaterialInfoReload()"; win.Render(RenderMode.Auto); return(this.Direct()); }
public ActionResult MaterialAddButton() { WinModule win = new WinModule(); win.ID = "window2"; win.Title = "物资信息添加"; win.Height = 450; win.Loader.Url = Url.Action("MaterialAddView", "Material"); win.Listeners.Close.Handler = "App.direct.gyproject.MaterialInfoReload()"; win.Render(RenderMode.Auto); return(this.Direct()); }
public ActionResult PONoAddButton() { WinModule win = new WinModule(); win.ID = "window1"; win.Height = 715; win.Title = "新增客户订单"; win.Loader.Url = Url.Action("POAddView"); win.Listeners.Close.Handler = "App.direct.gyproject.PONoReload()"; win.Render(RenderMode.Auto); return(this.Direct()); }
public ActionResult ClickEdit(string id) { WinModule win = new WinModule(); win.ID = "window2"; win.Title = "供应商信息修改"; win.Height = 400; win.Loader.Url = Url.Action("SupplierEditView", "Supplier", new { ID = id }); win.Listeners.Close.Handler = "App.direct.gyproject.SupplierInfoReload()"; win.Render(RenderMode.Auto); return(this.Direct()); }
public ActionResult SupplierAddButton() { WinModule win = new WinModule(); win.ID = "window1"; win.Title = "供应商信息添加"; win.Height = 400; win.Loader.Url = Url.Action("SupplierAddView", "Supplier"); win.Listeners.Close.Handler = "App.direct.gyproject.SupplierInfoReload()"; win.Render(RenderMode.Auto); return(this.Direct()); }
public ActionResult FieldDataAddButton() { WinModule win = new WinModule(); win.ID = "window2"; win.Title = "现场资料添加"; win.Height = 500; win.Width = 400; win.Loader.Url = Url.Action("FieldAttachAddView", "FieldAttach"); win.Listeners.Close.Handler = "App.direct.workyard.FieldAttachReload()"; win.Render(RenderMode.Auto); return(this.Direct()); }
public ActionResult FieldInfoAddButton() { WinModule win = new WinModule(); win.ID = "window1"; win.Title = "现场信息添加"; win.Height = 280; win.Width = 380; win.Loader.Url = Url.Action("FieldInfoAddView", "FieldInfoManagement"); win.Listeners.Close.Handler = "App.direct.workyard.FieldInfoReload()"; win.Render(RenderMode.Auto); return(this.Direct()); }
public ActionResult AddButton() { WinModule win = new WinModule(); win.ID = "window2"; win.Title = "客户评价添加"; win.Height = 320; win.Width = 400; win.Loader.Url = Url.Action("CustomRatingAddView", "CustomRating"); win.Listeners.Close.Handler = "App.direct.workyard.CustomRatingReload()"; win.Render(RenderMode.Auto); return(this.Direct()); }
public ActionResult SM(string type = "M") { WinModule win = new WinModule(); win.Constrain = false; win.ID = "window12"; win.Title = "选择材料"; win.Height = 550; win.Width = 550; win.Loader.Url = Url.Action("SelMInfo", "Share", new { type = type }); win.Listeners.Close.Handler = "App.direct.gyproject.GetM('MaterialSelected')"; win.Render(RenderMode.Auto); return(this.Direct()); }
public ActionResult PONoUpdate(string id) { string statu = DB.T_GM_Project.Find(id).OfferStatus; if (statu == "异常订单") { WinModule win = new WinModule(); win.Title = "修改客户订单"; win.Height = 400; win.Loader.Url = Url.Action("PONoUpdateView", new { ID = id }); win.Listeners.Close.Handler = "App.direct.gyproject.PONoReload()"; win.Render(RenderMode.Auto); } else { X.Msg.Alert("提示", "只有没有填写客户订单号的异常订单才能修改!!!").Show(); } return(this.Direct()); }
public void HighViewConnection_Test() { var connectString = ConfigurationManager.AppSettings["AuthenticationConnectString"]; WinModule.Initialize(); WinModule.CreateNewSession(connectString, "test", "test"); var connection = Session.GetSession().OpenConnection(); var context = new CustomDashboardsContext(connection, false); var uow = new UserSettingsUOW(context); var hvService = new UserSettingsService(uow); var widgets = hvService.GetAllWidgets(); Assert.IsTrue(widgets.Any()); }
public ActionResult ClickEdit(string id) { var pass_condition = DB.V_GM_DetailBudget.Where(w => w.GID == id).ToList().FirstOrDefault(); if (pass_condition.Description == "审核驳回") //禁止修改审核通过的报价单 //if (pass_condition.Description=="审核驳回" || pass_condition.Description=="审核通过") { WinModule win = new WinModule(); win.Title = "修改报价单"; win.Loader.Url = Url.Action("BudgetEditView", "ProjectBudget", new { ID = id }); win.Listeners.Close.Handler = "App.direct.gyproject.BudgetReload()"; win.Render(RenderMode.Auto); } else { X.Msg.Alert("提示", "您没有权限执行该操作!!!").Show(); } return(this.Direct()); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.module1 = new DevExpress.ExpressApp.SystemModule.SystemModule(); this.module2 = new DevExpress.ExpressApp.Win.SystemModule.SystemWindowsFormsModule(); this.module4 = new FDIT.Core.Module.Win.WinModule(); this.sqlConnection1 = new System.Data.SqlClient.SqlConnection(); this.cloneObjectModule1 = new DevExpress.ExpressApp.CloneObject.CloneObjectModule(); this.reportsModule1 = new DevExpress.ExpressApp.Reports.ReportsModule(); this.validationModule1 = new DevExpress.ExpressApp.Validation.ValidationModule(); this.conditionalAppearanceModule1 = new DevExpress.ExpressApp.ConditionalAppearance.ConditionalAppearanceModule(); this.stateMachineModule1 = new DevExpress.ExpressApp.StateMachine.StateMachineModule(); this.securityStrategyComplex1 = new DevExpress.ExpressApp.Security.SecurityStrategyComplex(); this.CoreAuthenticationApp1 = new FDIT.Core.Seguridad.CoreAuthentication(); this.securityModule1 = new DevExpress.ExpressApp.Security.SecurityModule(); this.coreModule1 = new FDIT.Core.CoreModule(); this.afipModule1 = new FDIT.Core.AFIP.AFIPModule(); this.afipWsMtxcaModule = new FDIT.Core.AFIP.AFIPWsMtxcaModule(); this.segurosModule1 = new FDIT.Core.Seguros.SegurosModule(); this.segurosWinModule1 = new FDIT.Core.Seguros.Win.SegurosWinModule(); this.fileAttachmentsWindowsFormsModule1 = new DevExpress.ExpressApp.FileAttachments.Win.FileAttachmentsWindowsFormsModule(); this.reportsWindowsFormsModule1 = new DevExpress.ExpressApp.Reports.Win.ReportsWindowsFormsModule(); this.viewVariantsModule1 = new DevExpress.ExpressApp.ViewVariantsModule.ViewVariantsModule(); this.auditTrailModule1 = new DevExpress.ExpressApp.AuditTrail.AuditTrailModule(); this.pivotGridModule1 = new DevExpress.ExpressApp.PivotGrid.PivotGridModule(); this.treeListEditorsModuleBase1 = new DevExpress.ExpressApp.TreeListEditors.TreeListEditorsModuleBase(); this.chartModule1 = new DevExpress.ExpressApp.Chart.ChartModule(); this.kpiModule1 = new DevExpress.ExpressApp.Kpi.KpiModule(); this.validationWindowsFormsModule1 = new DevExpress.ExpressApp.Validation.Win.ValidationWindowsFormsModule(); this.htmlPropertyEditorWindowsFormsModule1 = new DevExpress.ExpressApp.HtmlPropertyEditor.Win.HtmlPropertyEditorWindowsFormsModule(); this.treeListEditorsWindowsFormsModule1 = new DevExpress.ExpressApp.TreeListEditors.Win.TreeListEditorsWindowsFormsModule(); this.chartWindowsFormsModule1 = new DevExpress.ExpressApp.Chart.Win.ChartWindowsFormsModule(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // // sqlConnection1 // this.sqlConnection1.FireInfoMessageEventOnUserErrors = false; // // reportsModule1 // this.reportsModule1.EnableInplaceReports = true; this.reportsModule1.ReportDataType = typeof(DevExpress.Persistent.BaseImpl.ReportData); // // validationModule1 // this.validationModule1.AllowValidationDetailsAccess = true; // // stateMachineModule1 // this.stateMachineModule1.StateMachineStorageType = typeof(DevExpress.ExpressApp.StateMachine.Xpo.XpoStateMachine); // // securityStrategyComplex1 // this.securityStrategyComplex1.Authentication = this.CoreAuthenticationApp1; this.securityStrategyComplex1.RoleType = typeof(FDIT.Core.Seguridad.Rol); this.securityStrategyComplex1.UserType = typeof(FDIT.Core.Seguridad.Usuario); // // coreModule1 // this.coreModule1.FileAttachmentsBasePath = ""; // // viewVariantsModule1 // this.viewVariantsModule1.GenerateVariantsNode = true; this.viewVariantsModule1.ShowAdditionalNavigation = false; // // auditTrailModule1 // this.auditTrailModule1.AuditDataItemPersistentType = typeof(DevExpress.Persistent.BaseImpl.AuditDataItemPersistent); // // WinApplication // this.ApplicationName = "CORE"; this.Connection = this.sqlConnection1; this.Modules.Add(this.module1); this.Modules.Add(this.module2); this.Modules.Add(this.cloneObjectModule1); this.Modules.Add(this.reportsModule1); this.Modules.Add(this.validationModule1); this.Modules.Add(this.conditionalAppearanceModule1); this.Modules.Add(this.stateMachineModule1); this.Modules.Add(this.viewVariantsModule1); this.Modules.Add(this.auditTrailModule1); this.Modules.Add(this.pivotGridModule1); this.Modules.Add(this.treeListEditorsModuleBase1); this.Modules.Add(this.chartModule1); this.Modules.Add(this.kpiModule1); this.Modules.Add(this.coreModule1); this.Modules.Add(this.fileAttachmentsWindowsFormsModule1); this.Modules.Add(this.reportsWindowsFormsModule1); this.Modules.Add(this.validationWindowsFormsModule1); this.Modules.Add(this.securityModule1); this.Modules.Add(this.htmlPropertyEditorWindowsFormsModule1); this.Modules.Add(this.treeListEditorsWindowsFormsModule1); this.Modules.Add(this.chartWindowsFormsModule1); this.Modules.Add(this.module4); this.Modules.Add(this.afipModule1); this.Modules.Add(this.afipWsMtxcaModule); this.Modules.Add(this.segurosModule1); this.Modules.Add(this.segurosWinModule1); this.Security = this.securityStrategyComplex1; this.DatabaseVersionMismatch += new System.EventHandler <DevExpress.ExpressApp.DatabaseVersionMismatchEventArgs>( this.CoreWindowsFormsApplication_DatabaseVersionMismatch); this.CustomizeLanguagesList += new System.EventHandler <DevExpress.ExpressApp.CustomizeLanguagesListEventArgs>( this.CoreWindowsFormsApplication_CustomizeLanguagesList); ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); }