|
|
|
@ -1,6 +1,7 @@ |
|
|
|
using BWP.B3ButcherManage.BO; |
|
|
|
using BWP.B3ButcherManageExport.BL; |
|
|
|
using BWP.B3ExportBase; |
|
|
|
using BWP.B3ExportBase.BO; |
|
|
|
using BWP.B3ExportBase.Utils; |
|
|
|
using BWP.B3Frameworks; |
|
|
|
using BWP.B3Frameworks.BO.MoneyTemplate; |
|
|
|
@ -13,6 +14,7 @@ using Forks.EnterpriseServices.SqlDoms; |
|
|
|
using Forks.Utils; |
|
|
|
using System; |
|
|
|
using System.Collections.Generic; |
|
|
|
using System.Linq; |
|
|
|
using System.Web.UI.WebControls; |
|
|
|
using TSingSoft.WebControls2; |
|
|
|
|
|
|
|
@ -38,7 +40,6 @@ namespace BWP.Web.Pages.B3ButcherManageExport.NC_.StatPayToNc_ |
|
|
|
private DFDateInput _billDate; |
|
|
|
protected override void AddExportControl(HLayoutPanel hbox) |
|
|
|
{ |
|
|
|
|
|
|
|
hbox.Add(new SimpleLabel("外部系统")); |
|
|
|
_dfcUrl = hbox.Add(new ChoiceBox()); |
|
|
|
_dfcUrl.DataKind = B3ExportBaseConsts.DataSources.外部系统; |
|
|
|
@ -50,7 +51,20 @@ namespace BWP.Web.Pages.B3ButcherManageExport.NC_.StatPayToNc_ |
|
|
|
hbox.Add(new SimpleLabel("日期")); |
|
|
|
_billDate = hbox.Add(new DFDateInput()); |
|
|
|
_billDate.Value = DateTime.Today; |
|
|
|
|
|
|
|
base.AddExportControl(hbox); |
|
|
|
|
|
|
|
hbox.Add(new TSButton("变更导出状态", delegate |
|
|
|
{ |
|
|
|
var idList = mBrowseGrid.GetSelectedItems().Select(item => (long)item["ID"]).ToList(); |
|
|
|
if (idList.Count == 0) |
|
|
|
return; |
|
|
|
var bl = BIFactory.Create<IStatPayToNcBL>(); |
|
|
|
var message = bl.UpdateExportState(idList); |
|
|
|
|
|
|
|
AspUtil.Alert(this, message + "变更成功!"); |
|
|
|
mBrowseGrid.DataBind(); |
|
|
|
})); |
|
|
|
} |
|
|
|
|
|
|
|
private DropDownList payStateSelect; |
|
|
|
|