入库单新建
This commit is contained in:
1 parent
e2dead6c3f
commit
663769f80e
50 files changed
+2164
-94
No files matched your search
@@ -2,12 +2,15 @@ using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using System.Web;
|
||||
using HHWMS.Web.Models;
|
||||
using MESTOWMSService;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Newtonsoft.Json;
|
||||
using ServiceReference1;
|
||||
using SixLabors.ImageSharp.Drawing;
|
||||
using WalkingTec.Mvvm.Core;
|
||||
using WalkingTec.Mvvm.Mvc;
|
||||
|
||||
@@ -88,6 +91,7 @@ public class XWMSPOHController : BaseController
|
||||
#endregion Search
|
||||
|
||||
[HttpPost]
|
||||
[ActionDescription("Sys.Create")]
|
||||
[FixConnection(CsName = "hangyong")]
|
||||
public ActionResult Create(List<XWMSPOH> data)
|
||||
{
|
||||
@@ -115,8 +119,8 @@ public class XWMSPOHController : BaseController
|
||||
detail.SourceCode = item.POHNUM_0;
|
||||
detail.SourceLine = item.POPLIN_0.ToString();
|
||||
detail.MaterialCode = item.ITMREF_0;
|
||||
detail.MaterialName = item.ITMDES1_0;
|
||||
detail.Lot = item.ITMDES2_0;
|
||||
detail.MaterialName = HttpUtility.HtmlDecode(item.ITMDES1_0);
|
||||
detail.Lot = HttpUtility.HtmlDecode(item.ITMDES2_0);
|
||||
detail.Qty = item.THISQTYSTU;
|
||||
detail.Unit = item.STU_0;
|
||||
detail.PurchasQty = item.THISQTYUOM;
|
||||
|
||||
Reference in new issue
Block a user