出库页面配置中文

手动入库(无单据入库,打印入库)
This commit is contained in:
zgf committed 2024-01-20 19:58:16 +08:00
1 parent cce238c833
commit 9d6c5639b5
9 files changed
+164 -4

No files matched your search

@@ -5,6 +5,9 @@ using WalkingTec.Mvvm.Core;
using WalkingTec.Mvvm.Mvc;
using WalkingTec.Mvvm.Core.Extensions;
using HHWMS.Web;
using HHWMS.Web.Models;
using WalkingTec.Mvvm.Mvc.Admin.ViewModels.DataPrivilegeVMs;
using System.Linq;
namespace HHWMS.Web.Controllers
{
@@ -227,5 +230,22 @@ namespace HHWMS.Web.Controllers
}
#endregion
[HttpPost]
public ActionResult GetMaterial(string code)
{
var dc2 = Wtm.CreateDC(cskey: "hangyong");
var query = dc2.Set<Material2>()
.CheckContain(code, x => x.Code)
.Select(x => new Material2_View
{
Code = x.Code,
Type = x.Type,
Name = x.Name,
Specification = x.Specification,
MasterUnit = x.MasterUnit
})
.OrderBy(x => x.ID);
return JsonMore(query);
}
}
}