diff --git a/北京北汽/SCP/Views/PlanData/SCP_ASK.aspx.cs b/北京北汽/SCP/Views/PlanData/SCP_ASK.aspx.cs index cb8e5be..a38b21c 100644 --- a/北京北汽/SCP/Views/PlanData/SCP_ASK.aspx.cs +++ b/北京北汽/SCP/Views/PlanData/SCP_ASK.aspx.cs @@ -77,7 +77,7 @@ namespace SCP.PlanData else { var site=CurrentUser.FactoryList.FirstOrDefault(); - if (site == "CQBMPT")//重庆北汽模塑 + if (site == "CQBMPT" || site == "CDBMPT")//重庆北汽模塑或者成都北汽模塑 { var column1= Grid_V_TB_ASK.FindColumn("BeginTime"); column1.HeaderText = "创建日期"; diff --git a/北京北汽/SCP/Views/PlanData/SCP_PO_DETAIL.aspx.cs b/北京北汽/SCP/Views/PlanData/SCP_PO_DETAIL.aspx.cs index a1285d9..cfa122f 100644 --- a/北京北汽/SCP/Views/PlanData/SCP_PO_DETAIL.aspx.cs +++ b/北京北汽/SCP/Views/PlanData/SCP_PO_DETAIL.aspx.cs @@ -49,6 +49,17 @@ namespace SCP.PlanData { V_TB_PO_DETAIL _entity = new V_TB_PO_DETAIL(); _entity.PoBillNum=Request["PoBillNum"]; + if (string.IsNullOrEmpty(Request["PoBillNum"].Trim())) + { + if (!string.IsNullOrEmpty("PartCode")) + { + _entity.PartCode = Request["PartCode"]; + } + if (!string.IsNullOrEmpty(Request["State"])) + { + _entity.State = int.Parse(Request["State"]); + } + } _entity.UserInSubSite = CurrentUser.SubSiteList; _entity.UserInAddress = CurrentUser.FactoryList; SCP_PO_CONTROLLER.Get_V_TB_PO_DETAIL_List(_entity,(_ret)=> {