入库单新建
This commit is contained in:
1 parent
e2dead6c3f
commit
663769f80e
50 files changed
+2164
-94
No files matched your search
@@ -0,0 +1,45 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using HHWMS.Web.Models;
|
||||
using WalkingTec.Mvvm.Core;
|
||||
using WalkingTec.Mvvm.Core.Extensions;
|
||||
|
||||
|
||||
namespace HHWMS.Web
|
||||
{
|
||||
public partial class ReceiptDetail2VM : BaseCRUDVM<ReceiptDetail2>
|
||||
{
|
||||
public Material2ListVM MaterialList { get; set; }
|
||||
public List<ComboSelectListItem> InventoryStatus { get; set; }
|
||||
public ReceiptDetail2VM()
|
||||
{
|
||||
//MaterialList = new Material2ListVM();
|
||||
}
|
||||
|
||||
protected override void InitVM()
|
||||
{
|
||||
var CurrentCulture = Wtm.CurrentCulture;
|
||||
var dc = Wtm.CreateDC(cskey: "default");
|
||||
var dictDatas = dc.Set<SysDictData>().ToList();
|
||||
InventoryStatus = dictDatas.Where(x => x.DictType == "InventoryStatus")
|
||||
.ToList()
|
||||
.ToListItems(x => CurrentCulture == "zh" ? x.DictLabel : x.DictLabelUs, x => x.DictValue);
|
||||
}
|
||||
|
||||
public override void DoAdd()
|
||||
{
|
||||
base.DoAdd();
|
||||
}
|
||||
|
||||
public override void DoEdit(bool updateAllFields = false)
|
||||
{
|
||||
base.DoEdit(updateAllFields);
|
||||
}
|
||||
|
||||
public override void DoDelete()
|
||||
{
|
||||
base.DoDelete();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user