| | |
| | | using CY.Infrastructure.Common; |
| | | using CY.Model; |
| | | using CY.BLL.Sys; |
| | | using CY.BLL.EC; |
| | | |
| | | namespace CY.WebForm.Pages.procurement |
| | | { |
| | |
| | | } |
| | | else |
| | | { |
| | | var sss = Request["orderIdstrrrr"]; |
| | | if (!string.IsNullOrEmpty(Request["orderIdstrrrr"]) && Request["orderIdstrrrr"].ToInt32() > 0) |
| | | { |
| | | EC_OrderBasicBLL _eC_OrderBasicBLL = new EC_OrderBasicBLL(); |
| | | EC_OrderBasic _eC_OrderBasic = _eC_OrderBasicBLL.SelectModelById(Request["orderIdstrrrr"].ToInt32().Value); |
| | | if (_eC_OrderBasic != null) |
| | | { |
| | | procurement.orderId = Request["orderIdstrrrr"].ToInt32(); |
| | | procurement.DocumentName = _eC_OrderBasic.DocumentName; |
| | | } |
| | | } |
| | | if (_OA_ProcurementBLL.insertModel(procurement)) |
| | | { |
| | | ClearData(); |