增加入库关联备注
This commit is contained in:
@@ -31,14 +31,23 @@ namespace FineUIPro.Web.CLGL
|
||||
/// 绑定数据
|
||||
/// </summary>
|
||||
private void BindGrid()
|
||||
{
|
||||
{
|
||||
var tb = BLL.TwArrivalStatisticsService.GetStatistics(this.CurrUser.LoginProjectId, txtMaterialCode.Text.Trim(), drpWarehouse.SelectedValue);
|
||||
|
||||
lbRate.Text="总体匹配率:"+ Math.Round( tb.Sum(x=>x.MatchRate)*100/tb.Count() ,4) + "%";
|
||||
if (tb.Count() > 0)
|
||||
{
|
||||
lbRate.Text = "总体匹配率:" + Math.Round(tb.Sum(x => x.MatchRate) * 100 / tb.Count(), 4) + "%";
|
||||
}
|
||||
else
|
||||
{
|
||||
lbRate.Text = "总体匹配率:0%";
|
||||
}
|
||||
|
||||
//tb = GetFilteredTable(Grid1.FilteredData, tb);
|
||||
Grid1.DataSource = tb;
|
||||
Grid1.DataBind();
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region GV 数据操作
|
||||
|
||||
Reference in New Issue
Block a user