|
|
@ -6898,7 +6898,7 @@ namespace CK.SCP.Controller |
|
|
|
uni.Qty = p_PoDetail.PlanQty;//零件数量
|
|
|
|
uni.CreateOper = p_Po.CreateUser; |
|
|
|
uni.CreateTime = p_Po.CreateTime;//订单创建时间
|
|
|
|
uni.PutTime = ScpCache.GetServerTime(); |
|
|
|
|
|
|
|
uni.VendId = p_Po.VendId;//供应商编号
|
|
|
|
uni.PoUnit = p_PoDetail.PoUnit;//零件单位
|
|
|
|
uni.LocUnit = p_PoDetail.LocUnit;//组件单位
|
|
|
@ -6910,7 +6910,14 @@ namespace CK.SCP.Controller |
|
|
|
uni.Domain = site; |
|
|
|
uni.Extend2 = "N";//退货凭证
|
|
|
|
uni.Extend1 = p_PoDetail.SubSite;//组件物料号
|
|
|
|
// uni.PutTime = DateTime.Parse(_detail.EndTime.ToString()); //要求到货日期
|
|
|
|
if (site == "U32") |
|
|
|
{ |
|
|
|
uni.PutTime = DateTime.Parse(p_PoDetail.EndTime.ToString()); //要求到货日期
|
|
|
|
} |
|
|
|
else |
|
|
|
{ |
|
|
|
uni.PutTime = ScpCache.GetServerTime(); |
|
|
|
} |
|
|
|
uni.Batch = p_PoDetail.PoUnit;//采购计量单位
|
|
|
|
uni.ErpBillNum = p_PoDetail.PackQty.ToString();//组件数量
|
|
|
|
uni.VendBatch = p_PoDetail.CreateUser; |
|
|
|