Browse Source

提交

master
学 赵 4 years ago
parent
commit
eccecb3b7c
  1. 5
      Controller/SCP_PLAN_CONTROLLER.cs

5
Controller/SCP_PLAN_CONTROLLER.cs

@ -1004,6 +1004,7 @@ namespace CK.SCP.Controller
_extend.VendId = dr["供应商编码"].ToString(); _extend.VendId = dr["供应商编码"].ToString();
_extend.CreateTime = DateTime.Now; _extend.CreateTime = DateTime.Now;
_extend.Site = dr["域"].ToString(); _extend.Site = dr["域"].ToString();
_extend.PoUnit = dr["单位"].ToString(); _extend.PoUnit = dr["单位"].ToString();
_ls.Add(_extend); _ls.Add(_extend);
} }
@ -1603,6 +1604,7 @@ namespace CK.SCP.Controller
_ask.BuyerPhone = p_user.CellPhone; _ask.BuyerPhone = p_user.CellPhone;
_ask.ErpBillNum = _entity.PoBillNum; _ask.ErpBillNum = _entity.PoBillNum;
_ask.EndTime = _entity.EndTime; _ask.EndTime = _entity.EndTime;
_ask.SubSite = _entity.Site;
_ask.CreateTime = DateTime.Now; _ask.CreateTime = DateTime.Now;
_ask.CreateUser = p_user.Name; _ask.CreateUser = p_user.Name;
_ask.VendId = _entity.VendId; _ask.VendId = _entity.VendId;
@ -1649,7 +1651,8 @@ namespace CK.SCP.Controller
_t_ASK_Detail.IsDeleted = false; _t_ASK_Detail.IsDeleted = false;
_t_ASK_Detail.LocUnit = itm.PoUnit; _t_ASK_Detail.LocUnit = itm.PoUnit;
_t_ASK_Detail.UnConv = 1; _t_ASK_Detail.UnConv = 1;
_t_ASK_Detail.Remark =_ask.Site; _t_ASK_Detail.Site =_ask.Site;
_t_ASK_Detail.SubSite = _ask.SubSite;
_t_ASK_Detail.State = _ask.State; _t_ASK_Detail.State = _ask.State;
// _t_ASK_Detail.Price = string.IsNullOrEmpty(itm.) ? 0 : decimal.Parse(itm.价格); // _t_ASK_Detail.Price = string.IsNullOrEmpty(itm.) ? 0 : decimal.Parse(itm.价格);
_t_ASK_Detail.GUID = Guid.NewGuid(); _t_ASK_Detail.GUID = Guid.NewGuid();

Loading…
Cancel
Save