From eccecb3b7c368af6257741923dc9d95eea16829c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=A6=20=E8=B5=B5?= <89237069@qq.com> Date: Wed, 9 Sep 2020 13:54:57 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Controller/SCP_PLAN_CONTROLLER.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Controller/SCP_PLAN_CONTROLLER.cs b/Controller/SCP_PLAN_CONTROLLER.cs index d50df0e..7598f01 100644 --- a/Controller/SCP_PLAN_CONTROLLER.cs +++ b/Controller/SCP_PLAN_CONTROLLER.cs @@ -1004,6 +1004,7 @@ namespace CK.SCP.Controller _extend.VendId = dr["供应商编码"].ToString(); _extend.CreateTime = DateTime.Now; _extend.Site = dr["域"].ToString(); + _extend.PoUnit = dr["单位"].ToString(); _ls.Add(_extend); } @@ -1603,6 +1604,7 @@ namespace CK.SCP.Controller _ask.BuyerPhone = p_user.CellPhone; _ask.ErpBillNum = _entity.PoBillNum; _ask.EndTime = _entity.EndTime; + _ask.SubSite = _entity.Site; _ask.CreateTime = DateTime.Now; _ask.CreateUser = p_user.Name; _ask.VendId = _entity.VendId; @@ -1649,7 +1651,8 @@ namespace CK.SCP.Controller _t_ASK_Detail.IsDeleted = false; _t_ASK_Detail.LocUnit = itm.PoUnit; _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.Price = string.IsNullOrEmpty(itm.) ? 0 : decimal.Parse(itm.价格); _t_ASK_Detail.GUID = Guid.NewGuid();