Browse Source

成都页面优化

master
钱峰 6 days ago
parent
commit
0ec53e9747
  1. 2
      北京北汽/SCP/Views/PlanData/SCP_ASK.aspx.cs
  2. 11
      北京北汽/SCP/Views/PlanData/SCP_PO_DETAIL.aspx.cs

2
北京北汽/SCP/Views/PlanData/SCP_ASK.aspx.cs

@ -77,7 +77,7 @@ namespace SCP.PlanData
else else
{ {
var site=CurrentUser.FactoryList.FirstOrDefault(); var site=CurrentUser.FactoryList.FirstOrDefault();
if (site == "CQBMPT")//重庆北汽模塑 if (site == "CQBMPT" || site == "CDBMPT")//重庆北汽模塑或者成都北汽模塑
{ {
var column1= Grid_V_TB_ASK.FindColumn("BeginTime"); var column1= Grid_V_TB_ASK.FindColumn("BeginTime");
column1.HeaderText = "创建日期"; column1.HeaderText = "创建日期";

11
北京北汽/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(); V_TB_PO_DETAIL _entity = new V_TB_PO_DETAIL();
_entity.PoBillNum=Request["PoBillNum"]; _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.UserInSubSite = CurrentUser.SubSiteList;
_entity.UserInAddress = CurrentUser.FactoryList; _entity.UserInAddress = CurrentUser.FactoryList;
SCP_PO_CONTROLLER.Get_V_TB_PO_DETAIL_List(_entity,(_ret)=> { SCP_PO_CONTROLLER.Get_V_TB_PO_DETAIL_List(_entity,(_ret)=> {

Loading…
Cancel
Save