修改历史表,历史明细表的展示,方便历史查询

This commit is contained in:
zhougf committed 2024-03-25 19:11:53 +08:00
1 parent 894ec3e0b0
commit 265b4a1f3f
36 files changed
+305 -258

No files matched your search

@@ -32,17 +32,11 @@ namespace HHWMS.Web
protected override IEnumerable<IGridColumn<ShipmentHeaderHistory_View>> InitGridHeader()
{
return new List<GridColumn<ShipmentHeaderHistory_View>>{
this.MakeGridHeader(x => x.SourceCode),
this.MakeGridHeader(x => x.Code),
this.MakeGridHeader(x => x.BillType),
this.MakeGridHeader(x => x.CompanyCode),
this.MakeGridHeader(x => x.SupplierCode),
this.MakeGridHeader(x => x.TotalQty),
this.MakeGridHeader(x => x.TotalLines),
this.MakeGridHeader(x => x.FirstStatus),
this.MakeGridHeader(x => x.LastStatus),
this.MakeGridHeader(x => x.Remark),
this.MakeGridHeaderAction(width: 200)
this.MakeGridHeaderAction(width: 300)
};
}
@@ -12,17 +12,19 @@ namespace HHWMS.Web
{
public partial class ShipmentHeaderHistoryVM : BaseCRUDVM<ShipmentHeaderHistory>
{
public ShipmentDetailHistoryListVM Details { get; set; } = new ShipmentDetailHistoryListVM();
public ShipmentHeaderHistoryVM()
{
}
protected override void InitVM()
{
Details.CopyContext(this);
Details.Searcher.ShipmentHeaderHistoryId = Entity.ID;
}
public override void DoAdd()
{
{
base.DoAdd();
}