63 lines
1.7 KiB
C#
63 lines
1.7 KiB
C#
|
|
using Kingdee.BOS.App;
|
|||
|
|
using Kingdee.BOS.ServiceHelper;
|
|||
|
|
using Kingdee.BOS.Core;
|
|||
|
|
using Kingdee.BOS.Core.CommonFilter.PlugIn;
|
|||
|
|
using Kingdee.BOS.Core.DynamicForm.PlugIn.ControlModel;
|
|||
|
|
using Kingdee.BOS.KDThread;
|
|||
|
|
using Kingdee.BOS.ServiceHelper.ManagementCenter;
|
|||
|
|
using System;
|
|||
|
|
using System.Collections.Generic;
|
|||
|
|
using System.Data;
|
|||
|
|
using System.Linq;
|
|||
|
|
using System.Text;
|
|||
|
|
using Kingdee.BOS.Contracts;
|
|||
|
|
using Kingdee.BOS.Core.DynamicForm.PlugIn.Args;
|
|||
|
|
|
|||
|
|
namespace Enpower.POSH_CB_PROCOSTRESULTREC
|
|||
|
|
{
|
|||
|
|
public class BillEventPlugInEx : AbstractCommonFilterPlugIn
|
|||
|
|
{
|
|||
|
|
public override void AfterBindData(EventArgs e)
|
|||
|
|
{
|
|||
|
|
base.AfterBindData(e);
|
|||
|
|
var _commonFilterModel = this.CommonFilterModel;
|
|||
|
|
var t = this.View.BusinessInfo.GetForm();
|
|||
|
|
|
|||
|
|
|
|||
|
|
IDBService dBService = ServiceFactory.GetDBService(this.Context);
|
|||
|
|
|
|||
|
|
DataSet result = null;
|
|||
|
|
try
|
|||
|
|
{
|
|||
|
|
result = dBService.ExecuteDataSet(this.Context, new List<string> { }, (new List<string> { }).ToArray());
|
|||
|
|
}
|
|||
|
|
finally
|
|||
|
|
{
|
|||
|
|
ServiceFactory.CloseService(dBService);
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
var table = result.Tables;
|
|||
|
|
var tableName = table[0];
|
|||
|
|
var rows = tableName.Rows;
|
|||
|
|
//return;
|
|||
|
|
|
|||
|
|
var batchFilterGrid = this.View.GetControl<BatchFilterGrid>("FBatchFilterGrid");
|
|||
|
|
|
|||
|
|
|
|||
|
|
MainWorker.QuequeTask(this.Context, () =>
|
|||
|
|
{
|
|||
|
|
var tt = Math.Ceiling(0.1);
|
|||
|
|
}, (a) =>
|
|||
|
|
{
|
|||
|
|
|
|||
|
|
});
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public override void BarItemClick(BarItemClickEventArgs e)
|
|||
|
|
{
|
|||
|
|
base.BarItemClick(e);
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|