diff --git a/Controller/SCP_ASK_CONTROLLER.cs b/Controller/SCP_ASK_CONTROLLER.cs index c734ec1..6c55e0e 100644 --- a/Controller/SCP_ASK_CONTROLLER.cs +++ b/Controller/SCP_ASK_CONTROLLER.cs @@ -406,6 +406,22 @@ namespace CK.SCP.Controller { q = q.Where(p => p.AskQty == p.ReduceQty + p.Qty); } + if (!string.IsNullOrEmpty(p_entity.SubSite)) + { + q = q.Where(p => p.SubSite == p_entity.SubSite); + } + if (!string.IsNullOrEmpty(p_entity.Extend1)) + { + q = q.Where(p => p.Extend1 == p_entity.Extend1); + } + if (!string.IsNullOrEmpty(p_entity.Extend2)) + { + q = q.Where(p => p.Extend2 == p_entity.Extend2); + } + if (!string.IsNullOrEmpty(p_entity.Extend3)) + { + q = q.Where(p => p.Extend3 == p_entity.Extend3); + } q = q.Where(p => p.IsDeleted == p_entity.IsDeleted); _ret.State = ReturnStatus.Succeed; _ret.Result = q; diff --git a/Controller/SCP_PO_CONTROLLER.cs b/Controller/SCP_PO_CONTROLLER.cs index 0991720..9e54c26 100644 --- a/Controller/SCP_PO_CONTROLLER.cs +++ b/Controller/SCP_PO_CONTROLLER.cs @@ -244,7 +244,7 @@ namespace CK.SCP.Controller if (_detail.PoBillNum == itm.PoBillNum && _detail.PoLine == itm.PoLine && _detail.PartCode == itm.PartCode) { _detail.ReceivedQty = itm.ReceiveSum; - + } }); diff --git a/Models/ScpEntity/TB_ASK_DETAIL.cs b/Models/ScpEntity/TB_ASK_DETAIL.cs index ad9532c..83d1ed4 100644 --- a/Models/ScpEntity/TB_ASK_DETAIL.cs +++ b/Models/ScpEntity/TB_ASK_DETAIL.cs @@ -48,6 +48,9 @@ namespace CK.SCP.Models.ScpEntity public decimal? ReduceQty { get; set; } + + public string Site { get; set; } + public string Extend1 { get; set; } public string Extend2 { get; set; } public string Extend3 { get; set; } diff --git a/Models/ScpEntity/V_TB_INCOMPLETE_ASK.cs b/Models/ScpEntity/V_TB_INCOMPLETE_ASK.cs index f61cdec..0a7d1cf 100644 --- a/Models/ScpEntity/V_TB_INCOMPLETE_ASK.cs +++ b/Models/ScpEntity/V_TB_INCOMPLETE_ASK.cs @@ -58,5 +58,9 @@ [NotMapped] public DateTime? EndTimeStart { get; set; } + public String SubSite { get; set; } + public String Extend1 { get; set; } + public String Extend2 { get; set; } + public String Extend3 { get; set; } } } \ No newline at end of file diff --git a/SCP.sln b/SCP.sln index 7f19f0a..25dbcf4 100644 --- a/SCP.sln +++ b/SCP.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio Version 16 -VisualStudioVersion = 16.0.29424.173 +VisualStudioVersion = 16.0.30225.117 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SCP", "SCP\SCP.csproj", "{B5ECC9CB-5122-458B-A8B4-B1D3B679E40D}" EndProject @@ -31,18 +31,20 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "数据库脚本", "数据 EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "库存查询脚本", "库存查询脚本", "{8D2819CE-1334-4EFE-A50F-E23BC8DDD71D}" ProjectSection(SolutionItems) = preProject - ..\..\Desktop\SCP项目\VIEW_PRODUCT_DETAIL.sql = ..\..\Desktop\SCP项目\VIEW_PRODUCT_DETAIL.sql - ..\..\Desktop\SCP项目\Wms数据库设置.ini = ..\..\Desktop\SCP项目\Wms数据库设置.ini + ..\Users\asus\Desktop\20200820唐明亮.sql = ..\Users\asus\Desktop\20200820唐明亮.sql + ..\Desktop\SCP项目\VIEW_PRODUCT_DETAIL.sql = ..\Desktop\SCP项目\VIEW_PRODUCT_DETAIL.sql + ..\Desktop\SCP项目\Wms数据库设置.ini = ..\Desktop\SCP项目\Wms数据库设置.ini + ..\..\..\Desktop\常熟定时更新程序.txt = ..\..\..\Desktop\常熟定时更新程序.txt EndProjectSection EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "权限库备份", "权限库备份", "{137B27CF-8F56-49BB-9705-060995312716}" ProjectSection(SolutionItems) = preProject - ..\..\Desktop\权限系统.sql = ..\..\Desktop\权限系统.sql + ..\Desktop\权限系统.sql = ..\Desktop\权限系统.sql EndProjectSection EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "SCP库备份", "SCP库备份", "{636001CD-8969-4077-9A44-E681C4ADF8BD}" ProjectSection(SolutionItems) = preProject - ..\..\Desktop\SCP系统脚本.sql = ..\..\Desktop\SCP系统脚本.sql + ..\Desktop\SCP系统脚本.sql = ..\Desktop\SCP系统脚本.sql EndProjectSection EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CK.SCP.GrupUniApi", "UniApiGroup\CK.SCP.GrupUniApi.csproj", "{6A22F275-D490-46B3-B183-35408BF106C4}" diff --git a/SCP/Admin/online.aspx.designer.cs b/SCP/Admin/online.aspx.designer.cs index 8e19d34..d464aca 100644 --- a/SCP/Admin/online.aspx.designer.cs +++ b/SCP/Admin/online.aspx.designer.cs @@ -2,16 +2,18 @@ // <自动生成> // 此代码由工具生成。 // -// 对此文件的更改可能会导致不正确的行为,并且如果 -// 重新生成代码,这些更改将会丢失。 +// 对此文件的更改可能导致不正确的行为,如果 +// 重新生成代码,则所做更改将丢失。 // //------------------------------------------------------------------------------ -namespace SCP.admin { - - - public partial class online { - +namespace SCP.admin +{ + + + public partial class online + { + /// /// form1 控件。 /// @@ -20,7 +22,7 @@ namespace SCP.admin { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::System.Web.UI.HtmlControls.HtmlForm form1; - + /// /// PageManager1 控件。 /// @@ -29,7 +31,7 @@ namespace SCP.admin { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUI.PageManager PageManager1; - + /// /// Panel1 控件。 /// @@ -38,7 +40,7 @@ namespace SCP.admin { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUI.Panel Panel1; - + /// /// Form2 控件。 /// @@ -47,7 +49,7 @@ namespace SCP.admin { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUI.Form Form2; - + /// /// FormRow1 控件。 /// @@ -56,7 +58,7 @@ namespace SCP.admin { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUI.FormRow FormRow1; - + /// /// ttbSearchMessage 控件。 /// @@ -65,7 +67,7 @@ namespace SCP.admin { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUI.TwinTriggerBox ttbSearchMessage; - + /// /// Grid1 控件。 /// @@ -74,7 +76,7 @@ namespace SCP.admin { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUI.Grid Grid1; - + /// /// ToolbarSeparator3 控件。 /// @@ -83,7 +85,7 @@ namespace SCP.admin { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUI.ToolbarSeparator ToolbarSeparator3; - + /// /// ToolbarText1 控件。 /// @@ -92,7 +94,7 @@ namespace SCP.admin { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUI.ToolbarText ToolbarText1; - + /// /// ddlGridPageSize 控件。 /// @@ -101,7 +103,7 @@ namespace SCP.admin { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUI.DropDownList ddlGridPageSize; - + /// /// Window1 控件。 /// diff --git a/SCP/Admin/profile.aspx b/SCP/Admin/profile.aspx index 329ae4e..b64be09 100644 --- a/SCP/Admin/profile.aspx +++ b/SCP/Admin/profile.aspx @@ -25,7 +25,7 @@ - diff --git a/SCP/Views/BasicData/Part.aspx b/SCP/Views/BasicData/Part.aspx index 689acab..a8a34a1 100644 --- a/SCP/Views/BasicData/Part.aspx +++ b/SCP/Views/BasicData/Part.aspx @@ -16,13 +16,13 @@ - + - + - + - + diff --git a/SCP/Views/BasicData/SCP_FACTORY.aspx b/SCP/Views/BasicData/SCP_FACTORY.aspx index 0b72a13..0b0c14c 100644 --- a/SCP/Views/BasicData/SCP_FACTORY.aspx +++ b/SCP/Views/BasicData/SCP_FACTORY.aspx @@ -23,9 +23,9 @@ - + - + diff --git a/SCP/Views/BasicData/SCP_INFO.aspx b/SCP/Views/BasicData/SCP_INFO.aspx index 105c56b..b32e565 100644 --- a/SCP/Views/BasicData/SCP_INFO.aspx +++ b/SCP/Views/BasicData/SCP_INFO.aspx @@ -19,15 +19,15 @@ - + - + - + - + diff --git a/SCP/Views/BasicData/SCP_LANGUAGE.aspx b/SCP/Views/BasicData/SCP_LANGUAGE.aspx index c9bca4b..141f7dd 100644 --- a/SCP/Views/BasicData/SCP_LANGUAGE.aspx +++ b/SCP/Views/BasicData/SCP_LANGUAGE.aspx @@ -21,9 +21,9 @@ - + - + diff --git a/SCP/Views/BasicData/SCP_RECIVE_PORT.aspx b/SCP/Views/BasicData/SCP_RECIVE_PORT.aspx index 21fec16..21dc671 100644 --- a/SCP/Views/BasicData/SCP_RECIVE_PORT.aspx +++ b/SCP/Views/BasicData/SCP_RECIVE_PORT.aspx @@ -18,10 +18,10 @@ - + - - + + <%-- --%> diff --git a/SCP/Views/BasicData/SCP_VenderUser.aspx b/SCP/Views/BasicData/SCP_VenderUser.aspx index 6708436..8afa5df 100644 --- a/SCP/Views/BasicData/SCP_VenderUser.aspx +++ b/SCP/Views/BasicData/SCP_VenderUser.aspx @@ -66,9 +66,9 @@ - + - + diff --git a/SCP/Views/BasicData/Supplier.aspx b/SCP/Views/BasicData/Supplier.aspx index 7dcb38f..3c80285 100644 --- a/SCP/Views/BasicData/Supplier.aspx +++ b/SCP/Views/BasicData/Supplier.aspx @@ -18,9 +18,9 @@ - + - + diff --git a/SCP/Views/PlanData/SCP_ASK.aspx b/SCP/Views/PlanData/SCP_ASK.aspx index 38e61f1..7e803a5 100644 --- a/SCP/Views/PlanData/SCP_ASK.aspx +++ b/SCP/Views/PlanData/SCP_ASK.aspx @@ -19,13 +19,13 @@ - + - + @@ -35,7 +35,7 @@ - + @@ -67,7 +67,9 @@ -