提交代码

This commit is contained in:
高飞 2024-03-07 09:08:49 +08:00
parent 7038d9c601
commit 5996712fce
19 changed files with 2241 additions and 1462 deletions

View File

@ -0,0 +1,73 @@
delete from Sys_ButtonToMenu where MenuId='AACD667C-5481-425D-819C-3892168DF61E'
delete from Sys_Menu where MenuId='AACD667C-5481-425D-819C-3892168DF61E'
GO
alter table [dbo].[DriverGoods_GoodsBuy] add UnitCode nvarchar(50) null
GO
CREATE TABLE [dbo].[DriverGoods_GoodsBuyItem](
[GoodsBuyItemId] [nvarchar](50) NOT NULL,
[GoodsBuyId] [nvarchar](50) NULL,
[GoodsModelId] [nvarchar](50) NULL,
[Quantity] [nvarchar](50) NULL,
[RequiredTime] [datetime] NULL,
CONSTRAINT [PK_DriverGoods_GoodsBuyItem] PRIMARY KEY CLUSTERED
(
[GoodsBuyItemId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[DriverGoods_GoodsBuyItem] WITH CHECK ADD CONSTRAINT [FK_DriverGoods_GoodsBuyItem_DriverGoods_GoodsModel] FOREIGN KEY([GoodsModelId])
REFERENCES [dbo].[DriverGoods_GoodsModel] ([GoodsModelId])
GO
ALTER TABLE [dbo].[DriverGoods_GoodsBuyItem] CHECK CONSTRAINT [FK_DriverGoods_GoodsBuyItem_DriverGoods_GoodsModel]
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'主键' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'DriverGoods_GoodsBuyItem', @level2type=N'COLUMN',@level2name=N'GoodsBuyItemId'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'外键' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'DriverGoods_GoodsBuyItem', @level2type=N'COLUMN',@level2name=N'GoodsBuyId'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'物资Id' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'DriverGoods_GoodsBuyItem', @level2type=N'COLUMN',@level2name=N'GoodsModelId'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'数量' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'DriverGoods_GoodsBuyItem', @level2type=N'COLUMN',@level2name=N'Quantity'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'要求到货时间' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'DriverGoods_GoodsBuyItem', @level2type=N'COLUMN',@level2name=N'RequiredTime'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'请购单明细表' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'DriverGoods_GoodsBuyItem'
GO
CREATE VIEW [dbo].[View_DriverGoods_GoodsBuyItem]
/*试车请购单明细表查询列表*/
AS
SELECT Item.GoodsBuyItemId,
Item.GoodsBuyId,
Item.GoodsModelId,
Item.Quantity,
Item.RequiredTime,
Model.Code,
Model.ProjectId,
Model.Description,
Model.Purpose,
Model.Attachment,
Model.Remark
FROM dbo.DriverGoods_GoodsBuyItem AS Item
LEFT JOIN dbo.DriverGoods_GoodsModel AS Model ON Model.GoodsModelId=Item.GoodsModelId
GO

View File

@ -275,15 +275,15 @@ GO
INSERT INTO Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex) VALUES(NEWID(),'1EC7978C-7800-45B2-9E80-3334644EF898','保存',4)
GO
INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed)
VALUES('AACD667C-5481-425D-819C-3892168DF61E','开车材料跟踪管理','TestRun/DriverGoods/MaterialTrace.aspx',30,'CA46AEF2-D058-433B-BDE3-760015337ED4','Menu_TestRun',0,1,1)
GO
/* 开车材料跟踪管理 */
INSERT INTO Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex) VALUES(NEWID(),'AACD667C-5481-425D-819C-3892168DF61E','增加',1)
INSERT INTO Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex) VALUES(NEWID(),'AACD667C-5481-425D-819C-3892168DF61E','修改',2)
INSERT INTO Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex) VALUES(NEWID(),'AACD667C-5481-425D-819C-3892168DF61E','删除',3)
INSERT INTO Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex) VALUES(NEWID(),'AACD667C-5481-425D-819C-3892168DF61E','保存',4)
GO
--INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed)
--VALUES('AACD667C-5481-425D-819C-3892168DF61E','开车材料跟踪管理','TestRun/DriverGoods/MaterialTrace.aspx',30,'CA46AEF2-D058-433B-BDE3-760015337ED4','Menu_TestRun',0,1,1)
--GO
-- /* 开车材料跟踪管理 */
-- INSERT INTO Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex) VALUES(NEWID(),'AACD667C-5481-425D-819C-3892168DF61E','增加',1)
-- INSERT INTO Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex) VALUES(NEWID(),'AACD667C-5481-425D-819C-3892168DF61E','修改',2)
-- INSERT INTO Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex) VALUES(NEWID(),'AACD667C-5481-425D-819C-3892168DF61E','删除',3)
-- INSERT INTO Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex) VALUES(NEWID(),'AACD667C-5481-425D-819C-3892168DF61E','保存',4)
-- GO
/* ===============预试车管理 ============*/

View File

@ -727,6 +727,7 @@
<Compile Include="TaskScheduling\TimerTask\TaskJob.cs" />
<Compile Include="TaskScheduling\TimerTask\TimerTaskBase.cs" />
<Compile Include="TestRun\BeforeTestRun\BeforeTestRunService.cs" />
<Compile Include="TestRun\DriverGoods\GoodsBuyItemService.cs" />
<Compile Include="TestRun\DriverGoods\GoodsBuyService.cs" />
<Compile Include="TestRun\DriverGoods\GoodsModelService.cs" />
<Compile Include="TestRun\DriverGoods\GoodsPlanService.cs" />

View File

@ -0,0 +1,67 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace BLL
{
/// <summary>
/// 请购单明细
/// </summary>
public static class GoodsBuyItemService
{
public static Model.SGGLDB db = Funs.DB;
/// <summary>
/// 根据主键获取请购单明细
/// </summary>
/// <param name="GoodsBuyItemId"></param>
/// <returns></returns>
public static Model.DriverGoods_GoodsBuyItem GetGoodsBuyItemById(string GoodsBuyItemId)
{
return Funs.DB.DriverGoods_GoodsBuyItem.FirstOrDefault(e => e.GoodsBuyItemId == GoodsBuyItemId);
}
/// <summary>
/// 根据周报Id获取请购单明细
/// </summary>
/// <param name="GoodsBuyId"></param>
/// <returns></returns>
public static List<Model.DriverGoods_GoodsBuyItem> GetGoodsBuyItemByGoodsBuyId(string GoodsBuyId)
{
return (from x in Funs.DB.DriverGoods_GoodsBuyItem where x.GoodsBuyId == GoodsBuyId select x).ToList();
}
/// <summary>
/// 添加请购单明细
/// </summary>
/// <param name="GoodsBuyItem"></param>
public static void AddGoodsBuyItem(Model.DriverGoods_GoodsBuyItem GoodsBuyItem)
{
Model.SGGLDB db = Funs.DB;
Model.DriverGoods_GoodsBuyItem newGoodsBuyItem = new Model.DriverGoods_GoodsBuyItem();
newGoodsBuyItem.GoodsBuyItemId = GoodsBuyItem.GoodsBuyItemId;
newGoodsBuyItem.GoodsBuyId = GoodsBuyItem.GoodsBuyId;
newGoodsBuyItem.GoodsModelId = GoodsBuyItem.GoodsModelId;
newGoodsBuyItem.Quantity = GoodsBuyItem.Quantity;
newGoodsBuyItem.RequiredTime = GoodsBuyItem.RequiredTime;
db.DriverGoods_GoodsBuyItem.InsertOnSubmit(newGoodsBuyItem);
db.SubmitChanges();
}
/// <summary>
/// 根据周报Id删除所有相关明细信息
/// </summary>
/// <param name="GoodsBuyId"></param>
public static void DeleteGoodsBuyItemByGoodsBuyId(string GoodsBuyId)
{
Model.SGGLDB db = Funs.DB;
var q = (from x in db.DriverGoods_GoodsBuyItem where x.GoodsBuyId == GoodsBuyId select x).ToList();
if (q.Count() > 0)
{
db.DriverGoods_GoodsBuyItem.DeleteAllOnSubmit(q);
db.SubmitChanges();
}
}
}
}

View File

@ -3,6 +3,7 @@ using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web.UI.WebControls;
namespace BLL
{
@ -39,6 +40,7 @@ namespace BLL
newGoodsBuy.GetGoodsDate = GoodsBuy.GetGoodsDate;
newGoodsBuy.AttachUrl = GoodsBuy.AttachUrl;
newGoodsBuy.Remark = GoodsBuy.Remark;
newGoodsBuy.UnitCode = GoodsBuy.UnitCode;
Funs.DB.DriverGoods_GoodsBuy.InsertOnSubmit(newGoodsBuy);
Funs.DB.SubmitChanges();
}
@ -56,11 +58,12 @@ namespace BLL
newGoodsBuy.BuyName = GoodsBuy.BuyName;
newGoodsBuy.BuyCode = GoodsBuy.BuyCode;
//newGoodsBuy.CompileMan = GoodsBuy.CompileMan;
newGoodsBuy.ApprovalDate = GoodsBuy.ApprovalDate;
//newGoodsBuy.ApprovalDate = GoodsBuy.ApprovalDate;
newGoodsBuy.SubmitDate = GoodsBuy.SubmitDate;
newGoodsBuy.GetGoodsDate = GoodsBuy.GetGoodsDate;
newGoodsBuy.AttachUrl = GoodsBuy.AttachUrl;
newGoodsBuy.Remark = GoodsBuy.Remark;
newGoodsBuy.UnitCode = GoodsBuy.UnitCode;
Funs.DB.SubmitChanges();
}
}
@ -82,5 +85,39 @@ namespace BLL
Funs.DB.SubmitChanges();
}
}
/// <summary>
/// 获取类型信息
/// </summary>
/// <returns></returns>
public static ListItem[] GetBugType()
{
ListItem[] list = new ListItem[5];
list[0] = new ListItem("01 开车临时材料请购单", "01");
list[1] = new ListItem("02 润滑油、脂请购单", "02");
list[2] = new ListItem("03 化学品消耗清单", "03");
list[3] = new ListItem("04 开车垫片请购单", "04");
list[4] = new ListItem("05 开车其他物资", "05");
return list;
}
/// <summary>
/// 获取方案类别
/// </summary>
/// <param name="state"></param>
/// <returns></returns>
public static string ConvertBugType(object solutionType)
{
if (solutionType != null)
{
ListItem[] list = GetBugType();
var item = list.FirstOrDefault(x => x.Value == solutionType.ToString());
if (item != null)
{
return item.Text.Substring(3);
}
}
return "";
}
}
}

View File

@ -1,307 +1,42 @@
<<<<<<< HEAD
=======
错误信息开始=====>
错误类型:ArgumentException
错误信息:提供的 URI 方案“http”无效应为“https”。
参数名: via
错误类型:NullReferenceException
错误信息:未将对象引用设置到对象的实例。
错误堆栈:
在 System.ServiceModel.Channels.TransportChannelFactory`1.ValidateScheme(Uri via)
在 System.ServiceModel.Channels.HttpChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via)
在 System.ServiceModel.Channels.HttpsChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via)
在 System.ServiceModel.Channels.HttpsChannelFactory`1.OnCreateChannelCore(EndpointAddress address, Uri via)
在 System.ServiceModel.Channels.HttpChannelFactory`1.OnCreateChannel(EndpointAddress remoteAddress, Uri via)
在 System.ServiceModel.Channels.ChannelFactoryBase`1.InternalCreateChannel(EndpointAddress address, Uri via)
在 System.ServiceModel.Channels.ChannelFactoryBase`1.CreateChannel(EndpointAddress address, Uri via)
在 System.ServiceModel.Channels.ServiceChannelFactory.ServiceChannelFactoryOverRequest.CreateInnerChannelBinder(EndpointAddress to, Uri via)
在 System.ServiceModel.Channels.ServiceChannelFactory.CreateServiceChannel(EndpointAddress address, Uri via)
在 System.ServiceModel.Channels.ServiceChannelFactory.CreateChannel(Type channelType, EndpointAddress address, Uri via)
在 System.ServiceModel.ChannelFactory`1.CreateChannel(EndpointAddress address, Uri via)
在 System.ServiceModel.ChannelFactory`1.CreateChannel()
在 System.ServiceModel.ClientBase`1.CreateChannel()
在 System.ServiceModel.ClientBase`1.CreateChannelInternal()
在 System.ServiceModel.ClientBase`1.get_Channel()
在 BLL.CNCECHSSEWebService.getSupervise_SubUnitReport() 位置 E:\工作\五环施工平台\CNCEC_SUBQHSE_WUHUAN\SGGL\BLL\WebService\CNCECHSSEWebService.cs:行号 2180
出错时间:03/04/2024 12:49:49
出错时间:03/04/2024 12:49:49
错误信息开始=====>
错误类型:ArgumentException
错误信息:提供的 URI 方案“http”无效应为“https”。
参数名: via
错误堆栈:
在 System.ServiceModel.Channels.TransportChannelFactory`1.ValidateScheme(Uri via)
在 System.ServiceModel.Channels.HttpChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via)
在 System.ServiceModel.Channels.HttpsChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via)
在 System.ServiceModel.Channels.HttpsChannelFactory`1.OnCreateChannelCore(EndpointAddress address, Uri via)
在 System.ServiceModel.Channels.HttpChannelFactory`1.OnCreateChannel(EndpointAddress remoteAddress, Uri via)
在 System.ServiceModel.Channels.ChannelFactoryBase`1.InternalCreateChannel(EndpointAddress address, Uri via)
在 System.ServiceModel.Channels.ChannelFactoryBase`1.CreateChannel(EndpointAddress address, Uri via)
在 System.ServiceModel.Channels.ServiceChannelFactory.ServiceChannelFactoryOverRequest.CreateInnerChannelBinder(EndpointAddress to, Uri via)
在 System.ServiceModel.Channels.ServiceChannelFactory.CreateServiceChannel(EndpointAddress address, Uri via)
在 System.ServiceModel.Channels.ServiceChannelFactory.CreateChannel(Type channelType, EndpointAddress address, Uri via)
在 System.ServiceModel.ChannelFactory`1.CreateChannel(EndpointAddress address, Uri via)
在 System.ServiceModel.ChannelFactory`1.CreateChannel()
在 System.ServiceModel.ClientBase`1.CreateChannel()
在 System.ServiceModel.ClientBase`1.CreateChannelInternal()
在 System.ServiceModel.ClientBase`1.get_Channel()
在 BLL.CNCECHSSEWebService.getCheck_CheckInfo_Table8Item() 位置 E:\工作\五环施工平台\CNCEC_SUBQHSE_WUHUAN\SGGL\BLL\WebService\CNCECHSSEWebService.cs:行号 2045
出错时间:03/04/2024 12:49:49
出错时间:03/04/2024 12:49:49
错误信息开始=====>
错误类型:ArgumentException
错误信息:提供的 URI 方案“http”无效应为“https”。
参数名: via
错误堆栈:
在 System.ServiceModel.Channels.TransportChannelFactory`1.ValidateScheme(Uri via)
在 System.ServiceModel.Channels.HttpChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via)
在 System.ServiceModel.Channels.HttpsChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via)
在 System.ServiceModel.Channels.HttpsChannelFactory`1.OnCreateChannelCore(EndpointAddress address, Uri via)
在 System.ServiceModel.Channels.HttpChannelFactory`1.OnCreateChannel(EndpointAddress remoteAddress, Uri via)
在 System.ServiceModel.Channels.ChannelFactoryBase`1.InternalCreateChannel(EndpointAddress address, Uri via)
在 System.ServiceModel.Channels.ChannelFactoryBase`1.CreateChannel(EndpointAddress address, Uri via)
在 System.ServiceModel.Channels.ServiceChannelFactory.ServiceChannelFactoryOverRequest.CreateInnerChannelBinder(EndpointAddress to, Uri via)
在 System.ServiceModel.Channels.ServiceChannelFactory.CreateServiceChannel(EndpointAddress address, Uri via)
在 System.ServiceModel.Channels.ServiceChannelFactory.CreateChannel(Type channelType, EndpointAddress address, Uri via)
在 System.ServiceModel.ChannelFactory`1.CreateChannel(EndpointAddress address, Uri via)
在 System.ServiceModel.ChannelFactory`1.CreateChannel()
在 System.ServiceModel.ClientBase`1.CreateChannel()
在 System.ServiceModel.ClientBase`1.CreateChannelInternal()
在 System.ServiceModel.ClientBase`1.get_Channel()
在 BLL.CNCECHSSEWebService.getCheck_CheckRectify() 位置 E:\工作\五环施工平台\CNCEC_SUBQHSE_WUHUAN\SGGL\BLL\WebService\CNCECHSSEWebService.cs:行号 1941
出错时间:03/04/2024 12:49:49
出错时间:03/04/2024 12:49:49
错误信息开始=====>
错误类型:ArgumentException
错误信息:提供的 URI 方案“http”无效应为“https”。
参数名: via
错误堆栈:
在 System.ServiceModel.Channels.TransportChannelFactory`1.ValidateScheme(Uri via)
在 System.ServiceModel.Channels.HttpChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via)
在 System.ServiceModel.Channels.HttpsChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via)
在 System.ServiceModel.Channels.HttpsChannelFactory`1.OnCreateChannelCore(EndpointAddress address, Uri via)
在 System.ServiceModel.Channels.HttpChannelFactory`1.OnCreateChannel(EndpointAddress remoteAddress, Uri via)
在 System.ServiceModel.Channels.ChannelFactoryBase`1.InternalCreateChannel(EndpointAddress address, Uri via)
在 System.ServiceModel.Channels.ChannelFactoryBase`1.CreateChannel(EndpointAddress address, Uri via)
在 System.ServiceModel.Channels.ServiceChannelFactory.ServiceChannelFactoryOverRequest.CreateInnerChannelBinder(EndpointAddress to, Uri via)
在 System.ServiceModel.Channels.ServiceChannelFactory.CreateServiceChannel(EndpointAddress address, Uri via)
在 System.ServiceModel.Channels.ServiceChannelFactory.CreateChannel(Type channelType, EndpointAddress address, Uri via)
在 System.ServiceModel.ChannelFactory`1.CreateChannel(EndpointAddress address, Uri via)
在 System.ServiceModel.ChannelFactory`1.CreateChannel()
在 System.ServiceModel.ClientBase`1.CreateChannel()
在 System.ServiceModel.ClientBase`1.CreateChannelInternal()
在 System.ServiceModel.ClientBase`1.get_Channel()
在 BLL.CNCECHSSEWebService.getInformation_UrgeReport() 位置 E:\工作\五环施工平台\CNCEC_SUBQHSE_WUHUAN\SGGL\BLL\WebService\CNCECHSSEWebService.cs:行号 1883
出错时间:03/04/2024 12:49:49
出错时间:03/04/2024 12:49:49
错误信息开始=====>
错误类型:HttpCompileException
错误信息:e:\工作\五环施工平台\CNCEC_SUBQHSE_WUHUAN\SGGL\FineUIPro.Web\TestRun\DriverSchemeEdit.aspx(127): error CS1061: “ASP.testrun_driverschemeedit_aspx”不包含“rblIsAgree_SelectedIndexChanged”的定义并且找不到可接受类型为“ASP.testrun_driverschemeedit_aspx”的第一个参数的扩展方法“rblIsAgree_SelectedIndexChanged”(是否缺少 using 指令或程序集引用?)
错误堆栈:
在 System.Web.Compilation.BuildManager.PostProcessFoundBuildResult(BuildResult result, Boolean keyFromVPP, VirtualPath virtualPath)
在 System.Web.Compilation.BuildManager.GetBuildResultFromCacheInternal(String cacheKey, Boolean keyFromVPP, VirtualPath virtualPath, Int64 hashCode, Boolean ensureIsUpToDate)
在 System.Web.Compilation.BuildManager.GetVPathBuildResultFromCacheInternal(VirtualPath virtualPath, Boolean ensureIsUpToDate)
在 System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
在 System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
在 System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean throwIfNotFound)
在 System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp)
在 System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
在 System.Web.UI.PageHandlerFactory.GetHandler(HttpContext context, String requestType, String virtualPath, String path)
在 System.Web.HttpApplication.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
在 System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
在 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
出错时间:03/04/2024 15:32:44
出错文件:http://localhost:8579/TestRun/DriverSchemeEdit.aspx?SolutionType=01
IP地址:::1
出错时间:03/04/2024 15:32:44
错误信息开始=====>
错误类型:HttpCompileException
错误信息:e:\工作\五环施工平台\CNCEC_SUBQHSE_WUHUAN\SGGL\FineUIPro.Web\TestRun\DriverSchemeEdit.aspx(136): error CS1061: “ASP.testrun_driverschemeedit_aspx”不包含“drpHandleType_SelectedIndexChanged”的定义并且找不到可接受类型为“ASP.testrun_driverschemeedit_aspx”的第一个参数的扩展方法“drpHandleType_SelectedIndexChanged”(是否缺少 using 指令或程序集引用?)
错误堆栈:
在 System.Web.Compilation.BuildManager.PostProcessFoundBuildResult(BuildResult result, Boolean keyFromVPP, VirtualPath virtualPath)
在 System.Web.Compilation.BuildManager.GetBuildResultFromCacheInternal(String cacheKey, Boolean keyFromVPP, VirtualPath virtualPath, Int64 hashCode, Boolean ensureIsUpToDate)
在 System.Web.Compilation.BuildManager.GetVPathBuildResultFromCacheInternal(VirtualPath virtualPath, Boolean ensureIsUpToDate)
在 System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
在 System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
在 System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean throwIfNotFound)
在 System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp)
在 System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
在 System.Web.UI.PageHandlerFactory.GetHandler(HttpContext context, String requestType, String virtualPath, String path)
在 System.Web.HttpApplication.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
在 System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
在 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
出错时间:03/04/2024 15:34:25
出错文件:http://localhost:8579/TestRun/DriverSchemeEdit.aspx?SolutionType=01
IP地址:::1
出错时间:03/04/2024 15:34:25
错误信息开始=====>
错误类型:SqlException
错误信息:INSERT 语句与 FOREIGN KEY 约束"FK_Solution_TestRunConstructSolutionApprove_Sys_User"冲突。该冲突发生于数据库"SGGLDB_WH",表"dbo.Sys_User", column 'UserId'。
语句已终止。
错误堆栈:
在 System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
在 System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
在 System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
在 System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
在 System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted)
在 System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)
在 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
在 System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
在 System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
在 System.Data.Linq.SqlClient.SqlProvider.Execute(Expression query, QueryInfo queryInfo, IObjectReaderFactory factory, Object[] parentArgs, Object[] userArgs, ICompiledSubQuery[] subQueries, Object lastResult)
在 System.Data.Linq.SqlClient.SqlProvider.ExecuteAll(Expression query, QueryInfo[] queryInfos, IObjectReaderFactory factory, Object[] userArguments, ICompiledSubQuery[] subQueries)
在 System.Data.Linq.SqlClient.SqlProvider.System.Data.Linq.Provider.IProvider.Execute(Expression query)
在 System.Data.Linq.ChangeDirector.StandardChangeDirector.DynamicInsert(TrackedObject item)
在 System.Data.Linq.ChangeDirector.StandardChangeDirector.Insert(TrackedObject item)
在 System.Data.Linq.ChangeProcessor.SubmitChanges(ConflictMode failureMode)
在 System.Data.Linq.DataContext.SubmitChanges(ConflictMode failureMode)
在 BLL.TestRunConstructSolutionApproveService.AddConstructSolutionApprove(Solution_TestRunConstructSolutionApprove approve) 位置 E:\工作\五环施工平台\CNCEC_SUBQHSE_WUHUAN\SGGL\BLL\TestRun\TestRunConstructSolutionApproveService.cs:行号 232
在 FineUIPro.Web.TestRun.DriverSchemeEdit.Save(String saveType) 位置 E:\工作\五环施工平台\CNCEC_SUBQHSE_WUHUAN\SGGL\FineUIPro.Web\TestRun\DriverSchemeEdit.aspx.cs:行号 313
在 FineUIPro.Web.TestRun.DriverSchemeEdit.btnSubmit_Click(Object sender, EventArgs e) 位置 E:\工作\五环施工平台\CNCEC_SUBQHSE_WUHUAN\SGGL\FineUIPro.Web\TestRun\DriverSchemeEdit.aspx.cs:行号 677
在 FineUIPro.Button.OnClick(EventArgs e)
在 (Button , EventArgs )
在 FineUIPro.Button.RaisePostBackEvent(String eventArgument)
在 FineUIPro.Web.TestRun.DriverGoods.GoodsBuyEdit.<>c__DisplayClass5_0.<Window1_Close>b__1(View_DriverGoods_GoodsBuyItem x) 位置 E:\工作\五环施工平台\CNCEC_SUBQHSE_WUHUAN\SGGL\FineUIPro.Web\TestRun\DriverGoods\GoodsBuyEdit.aspx.cs:行号 157
在 System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
在 FineUIPro.Web.TestRun.DriverGoods.GoodsBuyEdit.Window1_Close(Object sender, WindowCloseEventArgs e) 位置 E:\工作\五环施工平台\CNCEC_SUBQHSE_WUHUAN\SGGL\FineUIPro.Web\TestRun\DriverGoods\GoodsBuyEdit.aspx.cs:行号 157
在 FineUIPro.Window.OnClose(WindowCloseEventArgs e)
在 (Window , WindowCloseEventArgs )
在 FineUIPro.Window.RaisePostBackEvent(String eventArgument)
在 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
在 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
出错时间:03/04/2024 17:13:27
出错文件:http://localhost:8579/TestRun/DriverSchemeEdit.aspx?SolutionType=01
出错时间:03/06/2024 15:22:37
出错文件:http://localhost:8579/TestRun/DriverGoods/GoodsBuyEdit.aspx?GoodsBuyId=1d50d365-8005-48b4-af92-49f780aea04a
IP地址:::1
操作人员:JT
出错时间:03/04/2024 17:13:27
出错时间:03/06/2024 15:22:37
错误信息开始=====>
错误类型:SqlException
错误信息:违反了 PRIMARY KEY 约束“PK_Solution_TestRunConstructSolution”。不能在对象“dbo.Solution_TestRunConstructSolution”中插入重复键。重复键值为 (37aed052-8bb3-4a8e-89fb-52e3f9a5e994)。
语句已终止。
错误类型:NullReferenceException
错误信息:未将对象引用设置到对象的实例。
错误堆栈:
在 System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
在 System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
在 System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
在 System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
在 System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted)
在 System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)
在 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
在 System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
在 System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
在 System.Data.Linq.SqlClient.SqlProvider.Execute(Expression query, QueryInfo queryInfo, IObjectReaderFactory factory, Object[] parentArgs, Object[] userArgs, ICompiledSubQuery[] subQueries, Object lastResult)
在 System.Data.Linq.SqlClient.SqlProvider.ExecuteAll(Expression query, QueryInfo[] queryInfos, IObjectReaderFactory factory, Object[] userArguments, ICompiledSubQuery[] subQueries)
在 System.Data.Linq.SqlClient.SqlProvider.System.Data.Linq.Provider.IProvider.Execute(Expression query)
在 System.Data.Linq.ChangeDirector.StandardChangeDirector.DynamicInsert(TrackedObject item)
在 System.Data.Linq.ChangeDirector.StandardChangeDirector.Insert(TrackedObject item)
在 System.Data.Linq.ChangeProcessor.SubmitChanges(ConflictMode failureMode)
在 System.Data.Linq.DataContext.SubmitChanges(ConflictMode failureMode)
在 BLL.TestRunConstructSolutionService.AddConstructSolution(Solution_TestRunConstructSolution constructSolution) 位置 E:\工作\五环施工平台\CNCEC_SUBQHSE_WUHUAN\SGGL\BLL\TestRun\TestRunConstructSolutionService.cs:行号 71
在 FineUIPro.Web.TestRun.DriverSchemeEdit.Save(String saveType) 位置 E:\工作\五环施工平台\CNCEC_SUBQHSE_WUHUAN\SGGL\FineUIPro.Web\TestRun\DriverSchemeEdit.aspx.cs:行号 295
在 FineUIPro.Web.TestRun.DriverSchemeEdit.btnSubmit_Click(Object sender, EventArgs e) 位置 E:\工作\五环施工平台\CNCEC_SUBQHSE_WUHUAN\SGGL\FineUIPro.Web\TestRun\DriverSchemeEdit.aspx.cs:行号 677
在 FineUIPro.Button.OnClick(EventArgs e)
在 (Button , EventArgs )
在 FineUIPro.Button.RaisePostBackEvent(String eventArgument)
在 FineUIPro.Web.TestRun.DriverGoods.GoodsBuyEdit.<>c__DisplayClass5_0.<Window1_Close>b__1(View_DriverGoods_GoodsBuyItem x) 位置 E:\工作\五环施工平台\CNCEC_SUBQHSE_WUHUAN\SGGL\FineUIPro.Web\TestRun\DriverGoods\GoodsBuyEdit.aspx.cs:行号 157
在 System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
在 FineUIPro.Web.TestRun.DriverGoods.GoodsBuyEdit.Window1_Close(Object sender, WindowCloseEventArgs e) 位置 E:\工作\五环施工平台\CNCEC_SUBQHSE_WUHUAN\SGGL\FineUIPro.Web\TestRun\DriverGoods\GoodsBuyEdit.aspx.cs:行号 157
在 FineUIPro.Window.OnClose(WindowCloseEventArgs e)
在 (Window , WindowCloseEventArgs )
在 FineUIPro.Window.RaisePostBackEvent(String eventArgument)
在 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
在 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
出错时间:03/04/2024 17:13:29
出错文件:http://localhost:8579/TestRun/DriverSchemeEdit.aspx?SolutionType=01
出错时间:03/06/2024 15:24:56
出错文件:http://localhost:8579/TestRun/DriverGoods/GoodsBuyEdit.aspx?GoodsBuyId=1d50d365-8005-48b4-af92-49f780aea04a
IP地址:::1
操作人员:JT
出错时间:03/04/2024 17:13:29
出错时间:03/06/2024 15:24:57
错误信息开始=====>
错误类型:SqlException
错误信息:INSERT 语句与 FOREIGN KEY 约束"FK_Solution_TestRunConstructSolutionApprove_Sys_User"冲突。该冲突发生于数据库"SGGLDB_WH",表"dbo.Sys_User", column 'UserId'。
语句已终止。
错误堆栈:
在 System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
在 System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
在 System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
在 System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
在 System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted)
在 System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)
在 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
在 System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
在 System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
在 System.Data.Linq.SqlClient.SqlProvider.Execute(Expression query, QueryInfo queryInfo, IObjectReaderFactory factory, Object[] parentArgs, Object[] userArgs, ICompiledSubQuery[] subQueries, Object lastResult)
在 System.Data.Linq.SqlClient.SqlProvider.ExecuteAll(Expression query, QueryInfo[] queryInfos, IObjectReaderFactory factory, Object[] userArguments, ICompiledSubQuery[] subQueries)
在 System.Data.Linq.SqlClient.SqlProvider.System.Data.Linq.Provider.IProvider.Execute(Expression query)
在 System.Data.Linq.ChangeDirector.StandardChangeDirector.DynamicInsert(TrackedObject item)
在 System.Data.Linq.ChangeDirector.StandardChangeDirector.Insert(TrackedObject item)
在 System.Data.Linq.ChangeProcessor.SubmitChanges(ConflictMode failureMode)
在 System.Data.Linq.DataContext.SubmitChanges(ConflictMode failureMode)
在 BLL.TestRunConstructSolutionApproveService.AddConstructSolutionApprove(Solution_TestRunConstructSolutionApprove approve) 位置 E:\工作\五环施工平台\CNCEC_SUBQHSE_WUHUAN\SGGL\BLL\TestRun\TestRunConstructSolutionApproveService.cs:行号 232
在 FineUIPro.Web.TestRun.DriverSchemeEdit.Save(String saveType) 位置 E:\工作\五环施工平台\CNCEC_SUBQHSE_WUHUAN\SGGL\FineUIPro.Web\TestRun\DriverSchemeEdit.aspx.cs:行号 313
在 FineUIPro.Web.TestRun.DriverSchemeEdit.btnSubmit_Click(Object sender, EventArgs e) 位置 E:\工作\五环施工平台\CNCEC_SUBQHSE_WUHUAN\SGGL\FineUIPro.Web\TestRun\DriverSchemeEdit.aspx.cs:行号 677
在 FineUIPro.Button.OnClick(EventArgs e)
在 (Button , EventArgs )
在 FineUIPro.Button.RaisePostBackEvent(String eventArgument)
在 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
在 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
出错时间:03/04/2024 17:17:17
出错文件:http://localhost:8579/TestRun/DriverSchemeEdit.aspx?SolutionType=01
IP地址:::1
操作人员:JT
出错时间:03/04/2024 17:17:17
错误信息开始=====>
错误类型:ArgumentException
错误信息:列“AAA”不属于表 。
错误堆栈:
在 System.Data.DataRow.GetDataColumn(String columnName)
在 System.Data.DataRow.set_Item(String columnName, Object value)
在 FineUIPro.Web.TestRun.DriverSchemeChart.AnalyseData() 位置 E:\工作\五环施工平台\CNCEC_SUBQHSE_WUHUAN\SGGL\FineUIPro.Web\TestRun\DriverSchemeChart.aspx.cs:行号 64
在 FineUIPro.Web.TestRun.DriverSchemeChart.BtnAnalyse_Click(Object sender, EventArgs e) 位置 E:\工作\五环施工平台\CNCEC_SUBQHSE_WUHUAN\SGGL\FineUIPro.Web\TestRun\DriverSchemeChart.aspx.cs:行号 33
在 FineUIPro.Button.OnClick(EventArgs e)
在 (Button , EventArgs )
在 FineUIPro.Button.RaisePostBackEvent(String eventArgument)
在 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
在 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
出错时间:03/05/2024 11:07:41
出错文件:http://localhost:8579/TestRun/DriverSchemeChart.aspx
IP地址:::1
操作人员:JT
出错时间:03/05/2024 11:07:41
错误信息开始=====>
错误类型:ArgumentException
错误信息:列“AAA”不属于表 。
错误堆栈:
在 System.Data.DataRow.GetDataColumn(String columnName)
在 System.Data.DataRow.set_Item(String columnName, Object value)
在 FineUIPro.Web.TestRun.DriverSchemeChart.AnalyseData() 位置 E:\工作\五环施工平台\CNCEC_SUBQHSE_WUHUAN\SGGL\FineUIPro.Web\TestRun\DriverSchemeChart.aspx.cs:行号 64
在 FineUIPro.Web.TestRun.DriverSchemeChart.BtnAnalyse_Click(Object sender, EventArgs e) 位置 E:\工作\五环施工平台\CNCEC_SUBQHSE_WUHUAN\SGGL\FineUIPro.Web\TestRun\DriverSchemeChart.aspx.cs:行号 33
在 FineUIPro.Button.OnClick(EventArgs e)
在 (Button , EventArgs )
在 FineUIPro.Button.RaisePostBackEvent(String eventArgument)
在 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
在 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
出错时间:03/05/2024 11:07:42
出错文件:http://localhost:8579/TestRun/DriverSchemeChart.aspx
IP地址:::1
操作人员:JT
出错时间:03/05/2024 11:07:42
>>>>>>> d28f7920d8c82ae74b3b4579a35df26704bc6372

View File

@ -1719,6 +1719,7 @@
<Content Include="TestRun\DriverGoods\GoodsPlanEdit.aspx" />
<Content Include="TestRun\DriverGoods\MaterialTrace.aspx" />
<Content Include="TestRun\DriverGoods\MaterialTraceEdit.aspx" />
<Content Include="TestRun\DriverGoods\ShowGoodsModel.aspx" />
<Content Include="TestRun\DriverHse\HseHazard.aspx" />
<Content Include="TestRun\DriverHse\HseHazardEdit.aspx" />
<Content Include="TestRun\DriverHse\HseLicense.aspx" />
@ -15546,6 +15547,13 @@
<Compile Include="TestRun\DriverGoods\MaterialTraceEdit.aspx.designer.cs">
<DependentUpon>MaterialTraceEdit.aspx</DependentUpon>
</Compile>
<Compile Include="TestRun\DriverGoods\ShowGoodsModel.aspx.cs">
<DependentUpon>ShowGoodsModel.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="TestRun\DriverGoods\ShowGoodsModel.aspx.designer.cs">
<DependentUpon>ShowGoodsModel.aspx</DependentUpon>
</Compile>
<Compile Include="TestRun\DriverHse\HseHazard.aspx.cs">
<DependentUpon>HseHazard.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>

View File

@ -9,78 +9,83 @@
</head>
<body>
<form id="form1" runat="server">
<f:PageManager ID="PageManager1" runat="server" />
<f:Panel ID="Panel1" runat="server" Margin="5px" BodyPadding="5px" ShowBorder="false"
ShowHeader="false" Layout="HBox" BoxConfigAlign="Stretch">
<f:PageManager ID="PageManager1" runat="server" AutoSizePanelID="Panel1" />
<f:Panel ID="Panel1" CssClass="blockpanel" Margin="5px" runat="server" ShowBorder="false" ShowHeader="false" Layout="Region">
<Items>
<f:Grid ID="Grid1" ShowBorder="true" ShowHeader="false" Title="开车物资请购管理" EnableCollapse="true"
runat="server" BoxFlex="1" DataKeyNames="GoodsBuyId" AllowCellEditing="true" ClicksToEdit="2" DataIDField="GoodsBuyId" AllowSorting="true" SortField="Code"
SortDirection="ASC" OnSort="Grid1_Sort" EnableColumnLines="true" AllowPaging="true" IsDatabasePaging="true" PageSize="10" OnPageIndexChange="Grid1_PageIndexChange"
EnableRowDoubleClickEvent="true" EnableTextSelection="True" OnRowDoubleClick="Grid1_RowDoubleClick" OnRowCommand="Grid1_RowCommand">
<Toolbars>
<f:Toolbar ID="ToolSearch" Position="Top" runat="server" ToolbarAlign="Left">
<Items>
<f:TextBox ID="txtBuyName" runat="server" Label="请购单" LabelAlign="Right"></f:TextBox>
<f:TextBox ID="txtBuyCode" runat="server" Label="请购单号" LabelAlign="Right"></f:TextBox>
<f:Button ID="btnSearch" Icon="SystemSearch" ToolTip="搜索"
EnablePostBack="true" runat="server" OnClick="btnSearch_Click">
</f:Button>
<f:ToolbarFill runat="server"></f:ToolbarFill>
<f:Button ID="btnNew" Icon="Add" ToolTip="新增" EnablePostBack="false" runat="server" Hidden="true">
</f:Button>
</Items>
</f:Toolbar>
</Toolbars>
<Columns>
<f:RenderField ColumnID="Code" DataField="Code"
FieldType="String" HeaderText="序号" HeaderTextAlign="Center" Width="55px" TextAlign="Center">
</f:RenderField>
<f:RenderField ColumnID="BuyName" DataField="BuyName"
FieldType="String" HeaderText="请购单" HeaderTextAlign="Center" Width="220px">
</f:RenderField>
<f:RenderField ColumnID="BuyCode" DataField="BuyCode"
FieldType="String" HeaderText="请购单号" HeaderTextAlign="Center" Width="150px">
</f:RenderField>
<f:RenderField ColumnID="CompileManName" DataField="CompileManName"
FieldType="String" HeaderText="编制人" HeaderTextAlign="Center" Width="120px">
</f:RenderField>
<f:RenderField ColumnID="ApprovalDate" DataField="ApprovalDate"
FieldType="Date" Renderer="Date" HeaderText="批准时间" HeaderTextAlign="Center" Width="120px">
</f:RenderField>
<f:RenderField ColumnID="SubmitDate" DataField="SubmitDate"
FieldType="Date" Renderer="Date" HeaderText="提交请购时间" HeaderTextAlign="Center" Width="120px">
</f:RenderField>
<f:RenderField ColumnID="GetGoodsDate" DataField="GetGoodsDate"
FieldType="Date" Renderer="Date" HeaderText="到货时间" HeaderTextAlign="Center" Width="120px">
</f:RenderField>
<f:RenderField ColumnID="Remark" DataField="Remark"
FieldType="String" HeaderText="备注" HeaderTextAlign="Center" Width="120px" ExpandUnusedSpace="true">
</f:RenderField>
<f:LinkButtonField HeaderText="附件" ConfirmTarget="Top" Width="120px" CommandName="AttachUrl" ColumnID="AttachUrl"
TextAlign="Center" ToolTip="附件查看" Icon="Find" />
</Columns>
<Listeners>
<f:Listener Event="beforerowcontextmenu" Handler="onRowContextMenu" />
</Listeners>
<PageItems>
<f:ToolbarSeparator ID="ToolbarSeparator1" runat="server">
</f:ToolbarSeparator>
<f:ToolbarText ID="ToolbarText1" runat="server" Text="每页记录数:">
</f:ToolbarText>
<f:DropDownList runat="server" ID="ddlPageSize" Width="80px" AutoPostBack="true" OnSelectedIndexChanged="ddlPageSize_SelectedIndexChanged">
<f:ListItem Text="10" Value="10" />
<f:ListItem Text="15" Value="15" />
<f:ListItem Text="20" Value="20" />
<f:ListItem Text="25" Value="25" />
<f:ListItem Text="所有行" Value="100000" />
</f:DropDownList>
</PageItems>
</f:Grid>
<f:Panel runat="server" ID="Panel2" RegionPosition="Left" RegionSplit="true" EnableCollapse="true"
Width="300px" Title="资料库" ShowBorder="true" ShowHeader="false" Layout="Region"
BodyPadding="1px">
<Items>
<f:Tree ID="tvDataTypeInit" EnableCollapse="true" ShowHeader="false" ShowBorder="true"
OnNodeCommand="tvDataTypeInit_NodeCommand" AutoLeafIdentification="true"
runat="server">
</f:Tree>
</Items>
</f:Panel>
<f:Panel runat="server" ID="Panel4" RegionPosition="Center" Layout="Fit"
Title="中间面板" ShowBorder="true" ShowHeader="false" BodyPadding="10px">
<Items>
<f:Grid ID="Grid1" ShowBorder="true" ShowHeader="false" Title="开车物资管理" EnableCollapse="true" ForceFit="true"
runat="server" BoxFlex="1" DataKeyNames="GoodsBuyId" AllowCellEditing="true" EnableColumnLines="true" ClicksToEdit="2" DataIDField="GoodsBuyId" AllowSorting="true" SortField="Code"
SortDirection="DESC" OnSort="Grid1_Sort" AllowPaging="true" IsDatabasePaging="true" PageSize="10" OnPageIndexChange="Grid1_PageIndexChange"
EnableTextSelection="True" OnRowCommand="Grid1_RowCommand" EnableRowDoubleClickEvent="true" OnRowDoubleClick="Grid1_RowDoubleClick">
<Toolbars>
<f:Toolbar ID="ToolSearch" Position="Top" runat="server" ToolbarAlign="Left">
<Items>
<f:ToolbarFill runat="server"></f:ToolbarFill>
<f:Button ID="btnNew" Icon="Add" ToolTip="新增" OnClick="btnNew_Click" runat="server" Hidden="true">
</f:Button>
</Items>
</f:Toolbar>
</Toolbars>
<Columns>
<f:TemplateField ColumnID="tfPageIndex" Width="50px" HeaderText="序号" HeaderTextAlign="Center" TextAlign="Center"
EnableLock="true" Locked="False">
<ItemTemplate>
<asp:Label ID="lblPageIndex" runat="server" Text='<%# Grid1.PageIndex * Grid1.PageSize + Container.DataItemIndex + 1 %>'></asp:Label>
</ItemTemplate>
</f:TemplateField>
<f:RenderField ColumnID="Code" DataField="Code" Width="70px"
FieldType="String" HeaderText="编号" TextAlign="Center"
HeaderTextAlign="Center">
</f:RenderField>
<f:RenderField ColumnID="UnitCode" DataField="UnitCode" Width="130px"
FieldType="String" HeaderText="装置" TextAlign="Center"
HeaderTextAlign="Center">
</f:RenderField>
<f:RenderField ColumnID="CompileManName" Width="70px" DataField="CompileManName"
FieldType="String" HeaderText="编制人" TextAlign="Center"
HeaderTextAlign="Center">
</f:RenderField>
<f:RenderField Width="100px" ColumnID="ApprovalDate" DataField="ApprovalDate"
FieldType="Date" Renderer="Date" RendererArgument="yyyy-MM-dd" HeaderText="编制时间" TextAlign="Center" HeaderTextAlign="Center">
</f:RenderField>
</Columns>
<Listeners>
<f:Listener Event="beforerowcontextmenu" Handler="onRowContextMenu" />
</Listeners>
<PageItems>
<f:ToolbarSeparator ID="ToolbarSeparator1" runat="server">
</f:ToolbarSeparator>
<f:ToolbarText ID="ToolbarText1" runat="server" Text="每页记录数:">
</f:ToolbarText>
<f:DropDownList runat="server" ID="ddlPageSize" Width="80px" AutoPostBack="true" OnSelectedIndexChanged="ddlPageSize_SelectedIndexChanged">
<f:ListItem Text="10" Value="10" />
<f:ListItem Text="15" Value="15" />
<f:ListItem Text="20" Value="20" />
<f:ListItem Text="25" Value="25" />
<f:ListItem Text="所有行" Value="100000" />
</f:DropDownList>
</PageItems>
</f:Grid>
</Items>
</f:Panel>
</Items>
</f:Panel>
<f:Window ID="Window1" Title="开车物资请购管理" Hidden="true" EnableIFrame="true" EnableMaximize="true"
<f:Window ID="Window1" Title="开车物资请购" Hidden="true" EnableIFrame="true" EnableMaximize="true"
Target="Parent" EnableResize="false" runat="server" IsModal="true" OnClose="Window1_Close"
Width="900px" Height="600px">
Width="1300px" Height="660px">
</f:Window>
<f:Window ID="WindowAtt" Title="弹出窗体" Hidden="true" EnableIFrame="true" EnableMaximize="true"
Target="Parent" EnableResize="false" runat="server" IsModal="true" Width="700px"
@ -88,9 +93,9 @@
</f:Window>
<f:Menu ID="Menu1" runat="server">
<Items>
<f:MenuButton ID="btnMenuModify" EnablePostBack="true" runat="server" Text="修改" Icon="Pencil" OnClick="btnMenuModify_Click">
<f:MenuButton ID="btnMenuModify" EnablePostBack="true" runat="server" Text="修改" Icon="Pencil" OnClick="btnMenuModify_Click" Hidden="true">
</f:MenuButton>
<f:MenuButton ID="btnMenuDel" EnablePostBack="true" runat="server" Icon="Delete" Text="删除" ConfirmText="确定删除当前数据?"
<f:MenuButton ID="btnMenuDel" EnablePostBack="true" runat="server" Icon="Delete" Text="删除" ConfirmText="确定删除当前数据?" Hidden="true"
OnClick="btnMenuDel_Click">
</f:MenuButton>
</Items>
@ -104,6 +109,7 @@
F(menuID).show(); //showAt(event.pageX, event.pageY);
return false;
}
function reloadGrid() {
__doPostBack(null, 'reloadGrid');
}

View File

@ -9,52 +9,109 @@ namespace FineUIPro.Web.TestRun.DriverGoods
{
public partial class GoodsBuy : PageBase
{
#region
#region
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
GetButtonPower();
BindGrid();
btnNew.OnClientClick = Window1.GetShowReference("GoodsBuyEdit.aspx") + "return false;";
InitTree();//加载类别树
}
}
#region
/// <summary>
/// 绑定方案树节点
/// </summary>
private void InitTree()
{
this.tvDataTypeInit.Nodes.Clear();
TreeNode node = new TreeNode();
node.Text = "开车物资材料管理";
node.NodeID = "0";
node.Expanded = true;
this.tvDataTypeInit.Nodes.Add(node);
var types = BLL.GoodsBuyService.GetBugType();
foreach (var q in types)
{
TreeNode newNode = new TreeNode();
newNode.ToolTip = q.Text;
newNode.Text = q.Text;
newNode.NodeID = q.Value;
newNode.EnableExpandEvent = true;
newNode.EnableClickEvent = true;
node.Nodes.Add(newNode);
}
}
/// <summary>
/// 展开树
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
//protected void trWBS_NodeExpand(object sender, TreeNodeEventArgs e)
//{
// e.Node.Nodes.Clear();
// var types = from x in Funs.DB.DriverPrepare_DriverDataType
// where x.ProjectId == this.CurrUser.LoginProjectId && x.ParentId == e.Node.NodeID
// select x;
// if (types.Count() > 0)
// {
// foreach (var type in types)
// {
// TreeNode newNode = new TreeNode();
// newNode.ToolTip = type.DriverDataTypeName;
// newNode.Text = type.DriverDataTypeName;
// newNode.NodeID = type.DriverDataTypeId;
// newNode.EnableExpandEvent = true;
// newNode.EnableClickEvent = true;
// e.Node.Nodes.Add(newNode);
// var childTypes = from x in Funs.DB.DriverPrepare_DriverDataType where x.ParentId == type.DriverDataTypeId select x;
// if (childTypes.Count() > 0)
// {
// TreeNode temp = new TreeNode();
// temp.Text = "";
// temp.NodeID = "";
// newNode.Nodes.Add(temp);
// }
// }
// }
//}
#endregion
#endregion
#region
/// <summary>
/// 资料库类别树点击事件
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void tvDataTypeInit_NodeCommand(object sender, TreeCommandEventArgs e)
{
BindGrid();
}
#endregion
#region
//加载列表
/// <summary>
/// 数据绑定
/// </summary>
public void BindGrid()
{
string strSql = @"SELECT buy.GoodsBuyId,
buy.ProjectId,
buy.Code,
buy.BuyName,
buy.BuyCode,
buy.CompileMan,
buy.ApprovalDate,
buy.SubmitDate,
buy.GetGoodsDate,
buy.Remark,
U.UserName AS CompileManName"
+ @" FROM DriverGoods_GoodsBuy AS buy "
+ @" LEFT JOIN Sys_User AS U ON U.UserId = buy.CompileMan WHERE buy.ProjectId=@projectId";
string strSql = @"SELECT chec.GoodsBuyId,chec.ProjectId,chec.Code,chec.BuyName,chec.BuyCode,"
+ @" chec.CompileMan,chec.ApprovalDate,chec.UnitCode,"
+ @" u.userName as CompileManName"
+ @" FROM DriverGoods_GoodsBuy chec "
+ @" left join sys_User u on u.userId = chec.CompileMan"
+ @" where chec.ProjectId=@ProjectId and chec.BuyCode=@BuyCode";
List<SqlParameter> listStr = new List<SqlParameter>();
listStr.Add(new SqlParameter("@projectId", this.CurrUser.LoginProjectId));
if (!string.IsNullOrEmpty(this.txtBuyName.Text.Trim()))
{
strSql += " AND buy.BuyName LIKE @BuyName";
listStr.Add(new SqlParameter("@BuyName", "%" + this.txtBuyName.Text.Trim() + "%"));
}
if (!string.IsNullOrEmpty(this.txtBuyCode.Text.Trim()))
{
strSql += " AND buy.BuyCode LIKE @BuyCode";
listStr.Add(new SqlParameter("@BuyCode", "%" + this.txtBuyCode.Text.Trim() + "%"));
}
listStr.Add(new SqlParameter("@BuyCode", this.tvDataTypeInit.SelectedNodeID));
SqlParameter[] parameter = listStr.ToArray();
DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter);
Grid1.RecordCount = tb.Rows.Count;
//tb = GetFilteredTable(Grid1.FilteredData, tb);
var table = this.GetPagedDataTable(Grid1, tb);
tb = GetFilteredTable(Grid1.FilteredData, tb);
var table = GetPagedDataTable(Grid1, tb);
Grid1.DataSource = table;
Grid1.DataBind();
}
@ -95,8 +152,12 @@ namespace FineUIPro.Web.TestRun.DriverGoods
}
#endregion
#region
//搜索按钮事件
#region
/// <summary>
/// 查询
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void btnSearch_Click(object sender, EventArgs e)
{
BindGrid();
@ -111,10 +172,38 @@ namespace FineUIPro.Web.TestRun.DriverGoods
/// <param name="e"></param>
protected void Window1_Close(object sender, WindowCloseEventArgs e)
{
InitTree();
BindGrid();
}
#endregion
#region
/// <summary>
/// 增加
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void btnNew_Click(object sender, EventArgs e)
{
if (this.tvDataTypeInit.SelectedNode != null)
{
//if (this.trWBS.SelectedNode.Nodes.Count == 0) //末级节点
if (this.tvDataTypeInit.SelectedNodeID != "0")
{
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("GoodsBuyEdit.aspx?BuyCode={0}", this.tvDataTypeInit.SelectedNode.NodeID, "新增 - ")));
}
else
{
Alert.ShowInTop("请选择请购单类别!", MessageBoxIcon.Warning);
}
}
else
{
Alert.ShowInTop("请选择树节点!", MessageBoxIcon.Warning);
}
}
#endregion
#region
protected void btnMenuModify_Click(object sender, EventArgs e)
{
@ -141,11 +230,16 @@ namespace FineUIPro.Web.TestRun.DriverGoods
Alert.ShowInTop("请至少选择一条记录", MessageBoxIcon.Warning);
return;
}
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("GoodsBuyEdit.aspx?id={0}", Grid1.SelectedRowID, "编辑 - ")));
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("GoodsBuyEdit.aspx?GoodsBuyId={0}", Grid1.SelectedRowID, "编辑 - ")));
}
#endregion
#region
/// <summary>
/// 右键删除
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void btnMenuDel_Click(object sender, EventArgs e)
{
if (Grid1.SelectedRowIndexArray.Length > 0)
@ -153,11 +247,8 @@ namespace FineUIPro.Web.TestRun.DriverGoods
foreach (int rowIndex in Grid1.SelectedRowIndexArray)
{
string rowID = Grid1.DataKeys[rowIndex][0].ToString();
var info = BLL.GoodsBuyService.GetGoodsBuyById(rowID);
if (info != null)
{
BLL.GoodsBuyService.DeleteGoodsBuy(rowID);
}
BLL.GoodsBuyItemService.DeleteGoodsBuyItemByGoodsBuyId(rowID);
BLL.GoodsBuyService.DeleteGoodsBuy(rowID);
}
BindGrid();
ShowNotify("删除数据成功!", MessageBoxIcon.Success);

View File

@ -39,6 +39,33 @@ namespace FineUIPro.Web.TestRun.DriverGoods {
/// </remarks>
protected global::FineUIPro.Panel Panel1;
/// <summary>
/// Panel2 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Panel Panel2;
/// <summary>
/// tvDataTypeInit 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Tree tvDataTypeInit;
/// <summary>
/// Panel4 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Panel Panel4;
/// <summary>
/// Grid1 控件。
/// </summary>
@ -57,33 +84,6 @@ namespace FineUIPro.Web.TestRun.DriverGoods {
/// </remarks>
protected global::FineUIPro.Toolbar ToolSearch;
/// <summary>
/// txtBuyName 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtBuyName;
/// <summary>
/// txtBuyCode 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtBuyCode;
/// <summary>
/// btnSearch 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Button btnSearch;
/// <summary>
/// btnNew 控件。
/// </summary>
@ -93,6 +93,15 @@ namespace FineUIPro.Web.TestRun.DriverGoods {
/// </remarks>
protected global::FineUIPro.Button btnNew;
/// <summary>
/// lblPageIndex 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.Label lblPageIndex;
/// <summary>
/// ToolbarSeparator1 控件。
/// </summary>

View File

@ -4,7 +4,7 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>编辑开车物资请购管理</title>
</head>
<body>
@ -15,6 +15,9 @@
<Toolbars>
<f:Toolbar ID="Toolbar1" Position="Bottom" ToolbarAlign="Right" runat="server">
<Items>
<%--<f:HiddenField ID="hdItemsString" runat="server"></f:HiddenField>--%>
<f:TextBox runat="server" ID="hdItemsString" Hidden="true"></f:TextBox>
<f:HiddenField ID="hdBuyCode" runat="server"></f:HiddenField>
<f:ToolbarFill ID="ToolbarFill1" runat="server">
</f:ToolbarFill>
<f:Button ID="btnSave" OnClick="btnSave_Click" Icon="SystemSave" runat="server" ToolTip="保存" ValidateForms="SimpleForm1">
@ -36,48 +39,13 @@
<Rows>
<f:FormRow>
<Items>
<f:TextBox ID="txtCode" runat="server" Label="号" LabelAlign="Right" LabelWidth="120px" MaxLength="50" Required="true" ShowRedStar="true">
<f:TextBox ID="txtCode" runat="server" Label="号" LabelAlign="Right" LabelWidth="120px" MaxLength="50" Required="true" ShowRedStar="true">
</f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtBuyName" runat="server" Label="请购单" LabelAlign="Right" LabelWidth="120px" MaxLength="100" Required="true" ShowRedStar="true">
<f:Label runat="server" ID="txtBuyName" Label="请购单类型" LabelAlign="Right" LabelWidth="120px"></f:Label>
<f:TextBox ID="txtUnitCode" runat="server" Label="装置" MaxLength="100" Required="true" ShowRedStar="true">
</f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtBuyCode" runat="server" Label="请购单号" LabelAlign="Right" LabelWidth="120px" MaxLength="50" Required="true" ShowRedStar="true">
</f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:DropDownList ID="drpCompileMan" runat="server" Label="编制人" LabelAlign="Right" LabelWidth="120px"></f:DropDownList>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:DatePicker ID="txtApprovalDate" runat="server" Label="批准时间" LabelAlign="Right" LabelWidth="120px"></f:DatePicker>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:DatePicker ID="txtSubmitDate" runat="server" Label="提交请购时间" LabelAlign="Right" LabelWidth="120px"></f:DatePicker>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:DatePicker ID="txtGetGoodsDate" runat="server" Label="到货时间" LabelAlign="Right" LabelWidth="120px"></f:DatePicker>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextArea ID="txtRemark" runat="server" Label="备注" LabelAlign="Right" LabelWidth="120px" MaxLength="500">
</f:TextArea>
</Items>
</f:FormRow>
<f:FormRow runat="server">
<Items>
<f:Panel ID="Panel3" Width="300px" ShowHeader="false" ShowBorder="false" Layout="Column" CssClass="" runat="server">
@ -91,6 +59,53 @@
</f:Panel>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:Grid ID="Grid1" ShowBorder="true" ShowHeader="true" Title="请购单明细" EnableCollapse="false" runat="server"
BoxFlex="1" DataKeyNames="GoodsModelId" AllowCellEditing="true" EnableColumnLines="true"
ClicksToEdit="1" DataIDField="GoodsModelId" OnRowCommand="Grid1_RowCommand" AllowSorting="true" SortField="Code"
EnableTextSelection="True">
<Toolbars>
<f:Toolbar ID="Toolbar4" ToolbarAlign="Right" runat="server">
<Items>
<f:Button ID="btnNew" OnClick="btnNew_Click" Icon="Add" EnablePostBack="true" runat="server" ToolTip="选择物资材料">
</f:Button>
</Items>
</f:Toolbar>
</Toolbars>
<Columns>
<f:RowNumberField Width="40px" HeaderText="序号" HeaderTextAlign="Center" TextAlign="Center" />
<f:RenderField HeaderText="用途" ColumnID="Purpose" DataField="Purpose" Width="120px"
FieldType="String" HeaderTextAlign="Center" TextAlign="Center">
</f:RenderField>
<f:RenderField HeaderText="设备(材料)名称及规格" ColumnID="Description" DataField="Description" Width="320px"
FieldType="String" HeaderTextAlign="Center" TextAlign="Center" ExpandUnusedSpace="true">
</f:RenderField>
<f:RenderField Width="100px" ColumnID="Quantity" DataField="Quantity"
FieldType="String" HeaderText="数量" TextAlign="Center" HeaderTextAlign="Center">
<Editor>
<f:TextBox runat="server" ID="txtQuantity"></f:TextBox>
</Editor>
</f:RenderField>
<f:RenderField HeaderText="附件(详细清单/图纸等)" ColumnID="Attachment" DataField="Attachment" Width="180px"
FieldType="String" HeaderTextAlign="Center" TextAlign="Center">
</f:RenderField>
<f:RenderField Width="139px" ColumnID="RequiredTime" DataField="RequiredTime" FieldType="Date"
Renderer="Date" RendererArgument="yyyy-MM-dd" HeaderText="要求到货时间" HeaderTextAlign="Center">
<Editor>
<f:DatePicker ID="txtRequiredTime" Required="true" runat="server">
</f:DatePicker>
</Editor>
</f:RenderField>
<f:RenderField HeaderText="备注" ColumnID="Remark" DataField="Remark" Width="180px"
FieldType="String" HeaderTextAlign="Center" TextAlign="Center">
</f:RenderField>
<f:LinkButtonField ColumnID="Del" HeaderText="删除" HeaderTextAlign="Center" TextAlign="Center" Width="50px" CommandName="delete"
Icon="Delete" />
</Columns>
</f:Grid>
</Items>
</f:FormRow>
</Rows>
</f:Form>
</f:ContentPanel>
@ -102,6 +117,10 @@
Target="Parent" EnableResize="false" runat="server" IsModal="true" Width="700px"
Height="500px">
</f:Window>
<f:Window ID="Window1" Title="弹出窗体" Hidden="true" EnableIFrame="true"
EnableMaximize="true" Target="Top" EnableResize="false" runat="server"
IsModal="true" Width="1200px" Height="620px" OnClose="Window1_Close">
</f:Window>
</form>
</body>
</html>

View File

@ -1,5 +1,8 @@
using BLL;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
namespace FineUIPro.Web.TestRun.DriverGoods
{
@ -15,9 +18,7 @@ namespace FineUIPro.Web.TestRun.DriverGoods
{
if (!IsPostBack)
{
BLL.UserService.InitUserDropDownList(this.drpCompileMan, this.CurrUser.LoginProjectId, true);
string id = Request.Params["id"];
string id = Request.Params["GoodsBuyId"];
if (!string.IsNullOrEmpty(id))
{
Model.DriverGoods_GoodsBuy data = BLL.GoodsBuyService.GetGoodsBuyById(id);
@ -25,18 +26,27 @@ namespace FineUIPro.Web.TestRun.DriverGoods
{
this.hdId.Text = id;
this.txtCode.Text = data.Code;
this.txtBuyName.Text = data.BuyName;
this.txtBuyCode.Text = data.BuyCode;
if (!string.IsNullOrEmpty(data.CompileMan))
if (!string.IsNullOrEmpty(data.BuyCode))
{
this.drpCompileMan.SelectedValue = data.CompileMan;
this.hdBuyCode.Text = data.BuyCode;
this.txtBuyName.Text = GoodsBuyService.ConvertBugType(data.BuyCode);
}
this.txtUnitCode.Text = data.UnitCode;
var list = from x in Funs.DB.View_DriverGoods_GoodsBuyItem where x.GoodsBuyId == id orderby x.Code select x;
this.Grid1.DataSource = list;
this.Grid1.DataBind();
if (list.Count() > 0)
{
var ids = list.Select(x => x.GoodsModelId).ToArray();
this.hdItemsString.Text = Funs.GetStringByArray(ids);
}
this.txtApprovalDate.Text = data.ApprovalDate.HasValue ? string.Format("{0:yyyy-MM-dd}", data.ApprovalDate) : "";
this.txtSubmitDate.Text = data.SubmitDate.HasValue ? string.Format("{0:yyyy-MM-dd}", data.SubmitDate) : "";
this.txtGetGoodsDate.Text = data.GetGoodsDate.HasValue ? string.Format("{0:yyyy-MM-dd}", data.GetGoodsDate) : "";
this.txtRemark.Text = data.Remark;
}
}
else
{
this.hdBuyCode.Text = Request.Params["BuyCode"];
this.txtBuyName.Text = GoodsBuyService.ConvertBugType(this.hdBuyCode.Text);
}
}
}
#endregion
@ -65,19 +75,14 @@ namespace FineUIPro.Web.TestRun.DriverGoods
/// <param name="e"></param>
protected void btnSave_Click(object sender, EventArgs e)
{
string id = Request.Params["id"];
string id = Request.Params["GoodsBuyId"];
Model.DriverGoods_GoodsBuy newData = new Model.DriverGoods_GoodsBuy();
newData.Code = this.txtCode.Text.Trim();
newData.BuyName = this.txtBuyName.Text.Trim();
newData.BuyCode = this.txtBuyCode.Text.Trim();
if (this.drpCompileMan.SelectedValue != BLL.Const._Null)
{
newData.CompileMan = this.drpCompileMan.SelectedValue;
}
newData.ApprovalDate = Funs.GetNewDateTime(this.txtApprovalDate.Text.Trim());
newData.SubmitDate = Funs.GetNewDateTime(this.txtSubmitDate.Text.Trim());
newData.GetGoodsDate = Funs.GetNewDateTime(this.txtGetGoodsDate.Text.Trim());
newData.Remark = this.txtRemark.Text.Trim();
newData.BuyCode = this.hdBuyCode.Text.Trim();
newData.UnitCode = this.txtUnitCode.Text.Trim();
newData.CompileMan = this.CurrUser.UserId;
newData.ApprovalDate = DateTime.Now;
newData.ProjectId = this.CurrUser.LoginProjectId;
if (!string.IsNullOrEmpty(id))
{
@ -97,9 +102,122 @@ namespace FineUIPro.Web.TestRun.DriverGoods
}
BLL.GoodsBuyService.AddGoodsBuy(newData);
}
BLL.GoodsBuyItemService.DeleteGoodsBuyItemByGoodsBuyId(newData.GoodsBuyId);
var details = jerqueSaveList();
foreach (var detail in details)
{
Model.DriverGoods_GoodsBuyItem item = new Model.DriverGoods_GoodsBuyItem();
item.GoodsBuyItemId = SQLHelper.GetNewID();
item.GoodsBuyId = newData.GoodsBuyId;
item.GoodsModelId = detail.GoodsModelId;
item.Quantity = detail.Quantity;
item.RequiredTime = detail.RequiredTime;
BLL.GoodsBuyItemService.AddGoodsBuyItem(item);
}
ShowNotify("保存成功!", MessageBoxIcon.Success);
PageContext.RegisterStartupScript(ActiveWindow.GetHidePostBackReference());
}
#endregion
#region
/// <summary>
/// 搜索
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void btnNew_Click(object sender, EventArgs e)
{
string window = String.Format("ShowGoodsModel.aspx?Ids={0}", hdItemsString.Text, "查找 - ");
PageContext.RegisterStartupScript(Window1.GetSaveStateReference(hdItemsString.ClientID) + Window1.GetShowReference(window));
}
#endregion
#region Grid集合
/// <summary>
/// 检查并保存集合
/// </summary>
private List<Model.View_DriverGoods_GoodsBuyItem> jerqueSaveList()
{
var models = from x in Funs.DB.DriverGoods_GoodsModel where x.ProjectId == this.CurrUser.LoginProjectId select x;
List<Model.View_DriverGoods_GoodsBuyItem> details = new List<Model.View_DriverGoods_GoodsBuyItem>();
foreach (JObject mergedRow in Grid1.GetMergedData())
{
JObject values = mergedRow.Value<JObject>("values");
int i = mergedRow.Value<int>("index");
Model.View_DriverGoods_GoodsBuyItem detail = new Model.View_DriverGoods_GoodsBuyItem();
detail.GoodsModelId = this.Grid1.Rows[i].RowID;
Model.DriverGoods_GoodsModel model = models.FirstOrDefault(x => x.GoodsModelId == detail.GoodsModelId);
detail.Purpose = model.Purpose;
detail.Description = model.Description;
detail.Attachment = model.Attachment;
detail.Remark = model.Remark;
detail.Quantity = values.Value<string>("Quantity");
string requiredTime = values.Value<string>("RequiredTime");
if (!string.IsNullOrEmpty(requiredTime))
{
detail.RequiredTime = Convert.ToDateTime(requiredTime);
}
details.Add(detail);
}
return details;
}
#endregion
#region
/// <summary>
/// 关闭弹出窗口
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void Window1_Close(object sender, WindowCloseEventArgs e)
{
if (!string.IsNullOrEmpty(hdItemsString.Text))
{
string[] ids = hdItemsString.Text.Split(',');
var details = jerqueSaveList();
var models = from x in Funs.DB.DriverGoods_GoodsModel where x.ProjectId == this.CurrUser.LoginProjectId select x;
foreach (var id in ids)
{
var oldDetail = details.FirstOrDefault(x => x.GoodsModelId == id);
if (oldDetail == null) //添加集合没有的新纪录
{
Model.DriverGoods_GoodsModel model = models.FirstOrDefault(x => x.GoodsModelId == id);
if (model != null)
{
Model.View_DriverGoods_GoodsBuyItem detail = new Model.View_DriverGoods_GoodsBuyItem();
detail.GoodsModelId = model.GoodsModelId;
detail.Purpose = model.Purpose;
detail.Description = model.Description;
detail.Attachment = model.Attachment;
detail.Remark = model.Remark;
details.Add(detail);
}
}
}
this.Grid1.DataSource = details;
this.Grid1.DataBind();
}
}
#endregion
protected void Grid1_RowCommand(object sender, GridCommandEventArgs e)
{
string itemId = Grid1.DataKeys[e.RowIndex][0].ToString();
List<Model.View_DriverGoods_GoodsBuyItem> details = jerqueSaveList();
if (e.CommandName == "delete")
{
foreach (Model.View_DriverGoods_GoodsBuyItem detail in details)
{
if (detail.GoodsModelId == itemId)
{
details.Remove(detail);
break;
}
}
Grid1.DataSource = details;
Grid1.DataBind();
}
}
}
}

View File

@ -48,6 +48,24 @@ namespace FineUIPro.Web.TestRun.DriverGoods {
/// </remarks>
protected global::FineUIPro.Toolbar Toolbar1;
/// <summary>
/// hdItemsString 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox hdItemsString;
/// <summary>
/// hdBuyCode 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.HiddenField hdBuyCode;
/// <summary>
/// ToolbarFill1 控件。
/// </summary>
@ -118,61 +136,16 @@ namespace FineUIPro.Web.TestRun.DriverGoods {
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtBuyName;
protected global::FineUIPro.Label txtBuyName;
/// <summary>
/// txtBuyCode 控件。
/// txtUnitCode 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtBuyCode;
/// <summary>
/// drpCompileMan 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DropDownList drpCompileMan;
/// <summary>
/// txtApprovalDate 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DatePicker txtApprovalDate;
/// <summary>
/// txtSubmitDate 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DatePicker txtSubmitDate;
/// <summary>
/// txtGetGoodsDate 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DatePicker txtGetGoodsDate;
/// <summary>
/// txtRemark 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextArea txtRemark;
protected global::FineUIPro.TextBox txtUnitCode;
/// <summary>
/// Panel3 控件。
@ -201,6 +174,51 @@ namespace FineUIPro.Web.TestRun.DriverGoods {
/// </remarks>
protected global::FineUIPro.Button btnAttach;
/// <summary>
/// Grid1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Grid Grid1;
/// <summary>
/// Toolbar4 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Toolbar Toolbar4;
/// <summary>
/// btnNew 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Button btnNew;
/// <summary>
/// txtQuantity 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtQuantity;
/// <summary>
/// txtRequiredTime 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DatePicker txtRequiredTime;
/// <summary>
/// WindowAtt 控件。
/// </summary>
@ -209,5 +227,14 @@ namespace FineUIPro.Web.TestRun.DriverGoods {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Window WindowAtt;
/// <summary>
/// Window1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Window Window1;
}
}

View File

@ -0,0 +1,64 @@
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ShowGoodsModel.aspx.cs" Inherits="FineUIPro.Web.TestRun.DriverGoods.ShowGoodsModel" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
</head>
<body>
<form id="form1" runat="server">
<f:PageManager ID="PageManager1" AutoSizePanelID="Panel1" runat="server" />
<f:Panel ID="Panel1" runat="server" ShowBorder="false" ShowHeader="false" Layout="Region">
<Items>
<f:Panel runat="server" ID="panelCenterRegion" RegionPosition="Center" ShowBorder="true"
Layout="VBox" ShowHeader="false" BodyPadding="5px" IconFont="PlusCircle" Title="焊口信息"
TitleToolTip="焊口信息" AutoScroll="true">
<Items>
<f:Grid ID="Grid1" ShowBorder="true" ShowHeader="false" Title="焊口信息"
EnableCollapse="true" KeepCurrentSelection="true" runat="server" BoxFlex="1"
DataKeyNames="GoodsModelId" AllowColumnLocking="true" EnableColumnLines="true"
DataIDField="GoodsModelId" EnableTextSelection="True" AllowSorting="true" SortField="Code"
SortDirection="ASC" OnSort="Grid1_Sort" AllowPaging="false" IsDatabasePaging="true"
PageSize="10000" EnableCheckBoxSelect="true">
<Toolbars>
<f:Toolbar ID="Toolbar1" Position="Top" runat="server" ToolbarAlign="Right">
<Items>
<f:ToolbarFill ID="ToolbarFill1" runat="server">
</f:ToolbarFill>
<f:HiddenField runat="server" ID="hdIds"></f:HiddenField>
<f:Button ID="btnAccept" Icon="Accept" runat="server" Text="确定" ToolTip="确定"
OnClick="btnAccept_Click">
</f:Button>
</Items>
</f:Toolbar>
</Toolbars>
<Columns>
<f:RenderField ColumnID="Code" DataField="Code" FieldType="String" HeaderText="序号" TextAlign="Center"
HeaderTextAlign="Center" Width="55px">
</f:RenderField>
<f:RenderField ColumnID="Purpose" DataField="Purpose" FieldType="String" HeaderText="用途" TextAlign="Center"
HeaderTextAlign="Center" Width="200px">
</f:RenderField>
<f:RenderField ColumnID="Description" DataField="Description" FieldType="String" HeaderText="设备(材料)名称及规格" TextAlign="Center"
HeaderTextAlign="Center" Width="300px" ExpandUnusedSpace="true">
</f:RenderField>
<f:RenderField ColumnID="Quantity" DataField="Quantity" FieldType="String" HeaderText="数量" TextAlign="Center"
HeaderTextAlign="Center" Width="100px">
</f:RenderField>
<f:RenderField ColumnID="Attachment" DataField="Attachment" FieldType="String" HeaderText="附件(详细清单/图纸等)" TextAlign="Center"
HeaderTextAlign="Center" Width="180px">
</f:RenderField>
<f:RenderField ColumnID="Remark" DataField="Remark" FieldType="String" HeaderText="备注" TextAlign="Center"
HeaderTextAlign="Center" Width="200px">
</f:RenderField>
</Columns>
</f:Grid>
</Items>
</f:Panel>
</Items>
</f:Panel>
</form>
</body>
</html>

View File

@ -0,0 +1,100 @@
using BLL;
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
namespace FineUIPro.Web.TestRun.DriverGoods
{
public partial class ShowGoodsModel : PageBase
{
#region
/// <summary>
/// 加载页面
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
this.BindGrid();
}
}
#endregion
#region
/// <summary>
/// 数据绑定
/// </summary>
private void BindGrid()
{
//string[] selectRowId = Grid1.SelectedRowIDArray;
//foreach (GridRow row in Grid1.Rows)
//{
// if (selectRowId.Contains(row.RowID))
// {
// hdIds.Text += row.DataKeys[1].ToString() + ",";
// }
//}
string strSql = @"SELECT *
FROM dbo.DriverGoods_GoodsModel C
where C.ProjectId = @ProjectId";
List<SqlParameter> listStr = new List<SqlParameter>();
listStr.Add(new SqlParameter("@ProjectId", this.CurrUser.LoginProjectId));
SqlParameter[] parameter = listStr.ToArray();
DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter);
Grid1.RecordCount = tb.Rows.Count;
var table = this.GetPagedDataTable(Grid1, tb);
Grid1.DataSource = table;
Grid1.DataBind();
string id = Request.Params["Ids"];
List<string> ids = new List<string>();
foreach (GridRow row in Grid1.Rows)
{
if (id.Contains(row.DataKeys[0].ToString()))
{
ids.Add(row.RowID);
}
}
this.Grid1.SelectedRowIDArray = ids.ToArray();
}
#endregion
#region
/// <summary>
/// 排序
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void Grid1_Sort(object sender, GridSortEventArgs e)
{
this.BindGrid();
}
#endregion
#region
/// <summary>
/// 确定按钮
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void btnAccept_Click(object sender, EventArgs e)
{
string ids = string.Empty;
foreach (string id in Grid1.SelectedRowIDArray)
{
ids += id + ",";
}
if (!string.IsNullOrEmpty(ids))
{
ids = ids.Substring(0, ids.LastIndexOf(","));
}
PageContext.RegisterStartupScript(ActiveWindow.GetWriteBackValueReference(ids)
+ ActiveWindow.GetHidePostBackReference());
}
#endregion
}
}

View File

@ -0,0 +1,96 @@
//------------------------------------------------------------------------------
// <自动生成>
// 此代码由工具生成。
//
// 对此文件的更改可能导致不正确的行为,如果
// 重新生成代码,则所做更改将丢失。
// </自动生成>
//------------------------------------------------------------------------------
namespace FineUIPro.Web.TestRun.DriverGoods {
public partial class ShowGoodsModel {
/// <summary>
/// form1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
/// <summary>
/// PageManager1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.PageManager PageManager1;
/// <summary>
/// Panel1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Panel Panel1;
/// <summary>
/// panelCenterRegion 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Panel panelCenterRegion;
/// <summary>
/// Grid1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Grid Grid1;
/// <summary>
/// Toolbar1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Toolbar Toolbar1;
/// <summary>
/// ToolbarFill1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.ToolbarFill ToolbarFill1;
/// <summary>
/// hdIds 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.HiddenField hdIds;
/// <summary>
/// btnAccept 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Button btnAccept;
}
}

View File

@ -12,7 +12,7 @@
<appSettings>
<!--连接字符串-->
<!--<add key="ConnectionString" value="Server=.;Database=SGGLDB_WH;Integrated Security=False;User ID=sa;Password=1111;MultipleActiveResultSets=true;Connect Timeout=1200"/>-->
<add key="ConnectionString" value="Server=.\SQL2012;Database=SGGLDB_WH;Integrated Security=False;User ID=sa;Password=1111;MultipleActiveResultSets=true;Connect Timeout=1200"/>
<add key="ConnectionString" value="Server=.;Database=SGGLDB_WH;Integrated Security=False;User ID=sa;Password=1111;MultipleActiveResultSets=true;Connect Timeout=1200"/>
<!--系统名称-->
<add key="SystemName" value="智慧施工管理信息系统V1.0"/>
<add key="ChartImageHandler" value="storage=file;timeout=20;url=~/Images/;"/>

View File

@ -36,7 +36,6 @@
</TreeNode>
<TreeNode id="CA46AEF2-D058-433B-BDE3-760015337ED4" Text="开车物资材料管理" NavigateUrl=""><TreeNode id="1C6B597D-0FB7-404A-8512-6FCD53EE2552" Text="开车物资材料库" NavigateUrl="TestRun/DriverGoods/GoodsModel.aspx"></TreeNode>
<TreeNode id="1EC7978C-7800-45B2-9E80-3334644EF898" Text="开车物资请购管理" NavigateUrl="TestRun/DriverGoods/GoodsBuy.aspx"></TreeNode>
<TreeNode id="AACD667C-5481-425D-819C-3892168DF61E" Text="开车材料跟踪管理" NavigateUrl="TestRun/DriverGoods/MaterialTrace.aspx"></TreeNode>
</TreeNode>
<TreeNode id="AD6E08B6-5571-4FFB-BDBE-9E6811770BD6" Text="预试车管理" NavigateUrl=""><TreeNode id="5C07E135-C3AB-4CE4-97A2-C79970640272" Text="系统划分" NavigateUrl="TestRun/BeforeTestRun/DeviceRun.aspx"></TreeNode>
<TreeNode id="B4702BFB-8CEB-46AD-BDC0-751D146FE228" Text="工作包设置" NavigateUrl="TestRun/BeforeTestRun/SetWorkPackage.aspx"></TreeNode>

File diff suppressed because it is too large Load Diff