|
|
@ -44,12 +44,24 @@ namespace SCP.Views.沈阳金杯.PlanData |
|
|
|
_entity.PoBillNum = TextBillNo.Text; |
|
|
|
if (TextBillTime1.SelectedDate != null) |
|
|
|
{ |
|
|
|
_entity.BeginTime = (DateTime)TextBillTime1.SelectedDate; |
|
|
|
_entity.BeginTimeStart = (DateTime)TextBillTime1.SelectedDate; |
|
|
|
} |
|
|
|
if (TextBillTime2.SelectedDate != null) |
|
|
|
{ |
|
|
|
_entity.BeginTimeEnd = (DateTime)TextBillTime2.SelectedDate; |
|
|
|
} |
|
|
|
if (dp_EndTimeStart.SelectedDate != null) |
|
|
|
{ |
|
|
|
_entity.EndTimeStart = (DateTime)dp_EndTimeStart.SelectedDate; |
|
|
|
} |
|
|
|
if (dp_EndTimeEnd.SelectedDate != null) |
|
|
|
{ |
|
|
|
_entity.EndTimeEnd = (DateTime)dp_EndTimeEnd.SelectedDate; |
|
|
|
} |
|
|
|
if (TextVendId.Text != null) |
|
|
|
{ |
|
|
|
_entity.VendId = TextVendId.Text; |
|
|
|
} |
|
|
|
if (TextBoxAskNo.Text != null) |
|
|
|
{ |
|
|
|
_entity.AskBillNum = TextBoxAskNo.Text; |
|
|
@ -96,6 +108,18 @@ namespace SCP.Views.沈阳金杯.PlanData |
|
|
|
{ |
|
|
|
_ls.BeginTimeEnd = (DateTime)TextBillTime2.SelectedDate; |
|
|
|
} |
|
|
|
if (dp_EndTimeStart.SelectedDate != null) |
|
|
|
{ |
|
|
|
_ls.EndTimeStart = (DateTime)dp_EndTimeStart.SelectedDate; |
|
|
|
} |
|
|
|
if (dp_EndTimeEnd.SelectedDate != null) |
|
|
|
{ |
|
|
|
_ls.EndTimeEnd = (DateTime)dp_EndTimeEnd.SelectedDate; |
|
|
|
} |
|
|
|
if (TextVendId.Text != null) |
|
|
|
{ |
|
|
|
_ls.VendId = TextVendId.Text; |
|
|
|
} |
|
|
|
if (TextBoxAskNo.Text != null) |
|
|
|
{ |
|
|
|
_ls.AskBillNum = TextBoxAskNo.Text; |
|
|
|