任务明细 出库明细 库存分析 启动出库

This commit is contained in:
zgf committed 2023-09-03 18:52:40 +08:00
1 parent eef6df7099
commit f5423e78fe
28 files changed
+500 -77

No files matched your search

@@ -12,13 +12,24 @@ namespace HHWMS.Web
{
public partial class ShipmentHeaderVM : BaseCRUDVM<ShipmentHeader>
{
public ShipmentDetailListVM Details = new ShipmentDetailListVM();
public List<ComboSelectListItem> ShipTypes { get; set; }
public ShipmentHeaderVM()
{
}
protected override void InitVM()
{
Details.CopyContext(this);
Details.Searcher.ShipmentHeaderId = Entity.ID;
var CurrentCulture = Wtm.CurrentCulture;
var dictDatas = DC.Set<SysDictData>().ToList();
ShipTypes = dictDatas.Where(x => x.DictType == "ShipType").Select(x => new ComboSelectListItem
{
Text = CurrentCulture == "zh" ? x.DictLabel : x.DictLabelUs,
Value = x.DictValue
}).ToList();
}
public override void DoAdd()