|
|
@ -23,6 +23,7 @@ using System.IO; |
|
|
|
using CK.SCP.Models.ScpEntity.ExcelImportEntity; |
|
|
|
using CK.SCP.Models.ScpEntity.ExcelExportEnttity; |
|
|
|
using System.Drawing; |
|
|
|
using System.Linq.Dynamic; |
|
|
|
|
|
|
|
namespace SCP.PlanData |
|
|
|
{ |
|
|
@ -79,6 +80,9 @@ namespace SCP.PlanData |
|
|
|
|
|
|
|
public void SearchV_TB_ASKData(Action<IQueryable<V_TB_ASK>> p_action) |
|
|
|
{ |
|
|
|
var ls = SCPDB.TB_FACTORY.Where(p => p.ErpDomain == CurrentUser.UsedDomain).ToList(); |
|
|
|
DropDownList1.DataSource = ls; |
|
|
|
DropDownList1.DataBind(); |
|
|
|
V_TB_ASK _entity = new V_TB_ASK(); |
|
|
|
_entity.IsDeleted = false; |
|
|
|
_entity.PoBillNum = TXT_BillNo.Text; |
|
|
@ -86,7 +90,7 @@ namespace SCP.PlanData |
|
|
|
_entity.State_DESC = TXT_Site_Desc.Text; |
|
|
|
_entity.AskBillNum = TXT_AskBill.Text; |
|
|
|
_entity.ErpBillNum = TXT_ProjectId.Text; |
|
|
|
_entity.SubSite = TXT_SubSite.Text; |
|
|
|
_entity.SubSite = DropDownList1.SelectedValue; |
|
|
|
_entity.Extend1 = TXT_Extend1.Text; |
|
|
|
_entity.Extend2 = TXT_Extend2.Text; |
|
|
|
_entity.Extend3 = TXT_Extend3.Text; |
|
|
|