|
@ -23,6 +23,7 @@ using System.IO; |
|
|
using CK.SCP.Models.ScpEntity.ExcelImportEntity; |
|
|
using CK.SCP.Models.ScpEntity.ExcelImportEntity; |
|
|
using CK.SCP.Models.ScpEntity.ExcelExportEnttity; |
|
|
using CK.SCP.Models.ScpEntity.ExcelExportEnttity; |
|
|
using System.Drawing; |
|
|
using System.Drawing; |
|
|
|
|
|
using System.Linq.Dynamic; |
|
|
|
|
|
|
|
|
namespace SCP.PlanData |
|
|
namespace SCP.PlanData |
|
|
{ |
|
|
{ |
|
@ -55,7 +56,7 @@ namespace SCP.PlanData |
|
|
var column2= Grid_V_TB_ASK.FindColumn("EndTime"); |
|
|
var column2= Grid_V_TB_ASK.FindColumn("EndTime"); |
|
|
column2.HeaderText = "需求日期"; |
|
|
column2.HeaderText = "需求日期"; |
|
|
column2.Hidden = false; |
|
|
column2.Hidden = false; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
if (CurrentUser.Name == "admin" || CurrentUser.RoleList.Contains("分厂管理员")) |
|
|
if (CurrentUser.Name == "admin" || CurrentUser.RoleList.Contains("分厂管理员")) |
|
|
{ |
|
|
{ |
|
@ -79,6 +80,9 @@ namespace SCP.PlanData |
|
|
|
|
|
|
|
|
public void SearchV_TB_ASKData(Action<IQueryable<V_TB_ASK>> p_action) |
|
|
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(); |
|
|
V_TB_ASK _entity = new V_TB_ASK(); |
|
|
_entity.IsDeleted = false; |
|
|
_entity.IsDeleted = false; |
|
|
_entity.PoBillNum = TXT_BillNo.Text; |
|
|
_entity.PoBillNum = TXT_BillNo.Text; |
|
@ -86,7 +90,7 @@ namespace SCP.PlanData |
|
|
_entity.State_DESC = TXT_Site_Desc.Text; |
|
|
_entity.State_DESC = TXT_Site_Desc.Text; |
|
|
_entity.AskBillNum = TXT_AskBill.Text; |
|
|
_entity.AskBillNum = TXT_AskBill.Text; |
|
|
_entity.ErpBillNum = TXT_ProjectId.Text; |
|
|
_entity.ErpBillNum = TXT_ProjectId.Text; |
|
|
_entity.SubSite = TXT_SubSite.Text; |
|
|
_entity.SubSite = DropDownList1.SelectedValue; |
|
|
_entity.Extend1 = TXT_Extend1.Text; |
|
|
_entity.Extend1 = TXT_Extend1.Text; |
|
|
_entity.Extend2 = TXT_Extend2.Text; |
|
|
_entity.Extend2 = TXT_Extend2.Text; |
|
|
_entity.Extend3 = TXT_Extend3.Text; |
|
|
_entity.Extend3 = TXT_Extend3.Text; |
|
|