|
|
@ -7,6 +7,7 @@ using CK.SCP.Controller; |
|
|
|
using FineUI; |
|
|
|
using System.Text; |
|
|
|
using CK.SCP.Models.Enums; |
|
|
|
using Microsoft.Ajax.Utilities; |
|
|
|
|
|
|
|
namespace SCP.Views.PlanData |
|
|
|
{ |
|
|
@ -54,7 +55,30 @@ namespace SCP.Views.PlanData |
|
|
|
{ |
|
|
|
_entity.DocDateEnd = Convert.ToDateTime(DP_EndDate.SelectedDate); |
|
|
|
} |
|
|
|
_entity.PurdocNO = TXT_PurdocNO.Text; |
|
|
|
if (!string.IsNullOrWhiteSpace(TXT_CreatedByDesc.Text)) |
|
|
|
{ |
|
|
|
_entity.CreatedBy = TXT_CreatedByDesc.Text.Trim(); |
|
|
|
} |
|
|
|
if (!string.IsNullOrWhiteSpace(TXT_VendorNO.Text)) |
|
|
|
{ |
|
|
|
_entity.VendorNO = TXT_VendorNO.Text.Trim(); |
|
|
|
} |
|
|
|
if (!string.IsNullOrWhiteSpace(TXT_VendorNO.Text)) |
|
|
|
{ |
|
|
|
_entity.VendorNO = TXT_VendorNO.Text.Trim(); |
|
|
|
} |
|
|
|
if (!string.IsNullOrWhiteSpace(TXT_VendorDesc.Text)) |
|
|
|
{ |
|
|
|
_entity.VendorDesc = TXT_VendorDesc.Text.Trim(); |
|
|
|
} |
|
|
|
if (!string.IsNullOrWhiteSpace(TXT_PurdocNO.Text)) |
|
|
|
{ |
|
|
|
_entity.PurdocNO = TXT_PurdocNO.Text.Trim(); |
|
|
|
} |
|
|
|
if (!string.IsNullOrEmpty( DDL_State.SelectedValue)) |
|
|
|
{ |
|
|
|
_entity.AcceptStatusSelect = DDL_State.SelectedValue; |
|
|
|
} |
|
|
|
_entity.UserInVendIds = CurrentUser.VenderList; |
|
|
|
SCP_MPO_CONTROLLER.Get_V_TB_MPO_List(_entity, (_ret) => |
|
|
|
{ |
|
|
@ -125,6 +149,7 @@ namespace SCP.Views.PlanData |
|
|
|
Dictionary<string, string> cellheader = new Dictionary<string, string> |
|
|
|
{ |
|
|
|
{ "PurdocNO", "订单号" }, |
|
|
|
{"PURDOCITEMNO","行号" }, |
|
|
|
{ "PurchaseReqNO", "申请单号" }, |
|
|
|
{ "ProposerDesc", "申请人" }, |
|
|
|
{ "OASTATUS", "OA审批状态" }, |
|
|
|