|
|
@ -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)=> { |
|
|
|