Browse Source

scp待开票导出文件数量不一致1

master
qian 10 months ago
parent
commit
689051ce34
  1. 18
      北京北汽/SCP/Views/SupplierData/SCP_RECEIVE_LIST.aspx
  2. 8
      北京北汽/SCP/Views/SupplierData/SCP_RECEIVE_LIST.aspx.cs

18
北京北汽/SCP/Views/SupplierData/SCP_RECEIVE_LIST.aspx

@ -96,15 +96,15 @@
<Items> <Items>
<f:NumberBox ID="InvLimt" runat="server" Label="发票限额" MinValue="100000" Hidden="true"/> <f:NumberBox ID="InvLimt" runat="server" Label="发票限额" MinValue="100000" Hidden="true"/>
<f:DropDownList runat="server" Label="收货月份" ID="DropDownList1" AutoPostBack="true" OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged"> <f:DropDownList runat="server" Label="收货月份" ID="DropDownList1" AutoPostBack="true" OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged">
<f:ListItem Text="1月" Value="01" /> <f:ListItem Text="1月" Value="1" />
<f:ListItem Text="2月" Value="02" /> <f:ListItem Text="2月" Value="2" />
<f:ListItem Text="3月" Value="03" /> <f:ListItem Text="3月" Value="3" />
<f:ListItem Text="4月" Value="04" /> <f:ListItem Text="4月" Value="4" />
<f:ListItem Text="5月" Value="05" /> <f:ListItem Text="5月" Value="5" />
<f:ListItem Text="6月" Value="06" /> <f:ListItem Text="6月" Value="6" />
<f:ListItem Text="7月" Value="07" /> <f:ListItem Text="7月" Value="7" />
<f:ListItem Text="8月" Value="08" /> <f:ListItem Text="8月" Value="8" />
<f:ListItem Text="9月" Value="09" /> <f:ListItem Text="9月" Value="9" />
<f:ListItem Text="10月" Value="10" /> <f:ListItem Text="10月" Value="10" />
<f:ListItem Text="11月" Value="11" /> <f:ListItem Text="11月" Value="11" />
<f:ListItem Text="12月" Value="12" /> <f:ListItem Text="12月" Value="12" />

8
北京北汽/SCP/Views/SupplierData/SCP_RECEIVE_LIST.aspx.cs

@ -581,10 +581,18 @@ namespace SCP.SupplierData
{ {
_ls.BeginTime = DP_StartDate.SelectedDate; _ls.BeginTime = DP_StartDate.SelectedDate;
} }
else
{
_ls.BeginTime = DateTime.Now.Date.AddDays(1 - DateTime.Now.Day);
}
if (Date_EndDate.SelectedDate != null) if (Date_EndDate.SelectedDate != null)
{ {
_ls.ShipTime = Date_EndDate.SelectedDate; _ls.ShipTime = Date_EndDate.SelectedDate;
} }
else
{
_ls.EndTime = DateTime.Now.Date.AddDays(1 - DateTime.Now.Day).AddMonths(1).AddDays(-1);
}
if (!string.IsNullOrEmpty(DDL_State.SelectedValue)) if (!string.IsNullOrEmpty(DDL_State.SelectedValue))
{ {
_ls.BillType_DESC = DDL_State.SelectedValue; _ls.BillType_DESC = DDL_State.SelectedValue;

Loading…
Cancel
Save