增加入库关联备注

This commit is contained in:
李鹏飞 2024-11-18 18:09:50 +08:00
parent edb2e10e69
commit 8bb93b36f9
3 changed files with 12 additions and 3 deletions

Binary file not shown.

View File

@ -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

View File

@ -35,7 +35,7 @@ namespace FineUIPro.Web.CLGL
txtCreateDate.Text = string.Format("{0:yyyy-MM-dd}", model.CreateDate);
txtCreateMan.Text = Person_PersonsService.GetPersonsNameById(model.CreateMan);
txtReqUnitName.Text = UnitService.GetUnitNameByUnitId(model.ReqUnitId);
txtRemark.Text = model.Remark;
var queryModel = new Model.Tw_InOutDetailOutput()
{