入库单新建

This commit is contained in:
zgf committed 2024-01-03 02:04:47 +08:00
1 parent e2dead6c3f
commit 663769f80e
50 files changed
+2164 -94

No files matched your search

@@ -2,6 +2,7 @@ using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Web;
using HHWMS.Web.Models;
using MESTOWMSService;
using Microsoft.AspNetCore.Mvc;
@@ -118,14 +119,13 @@ public class XWMSPTHController : BaseController
detail.SourceCode = item.PTHNUM_0;
detail.SourceLine = item.PTDLIN_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;
detail.PurchasUnits = item.UOM_0;
detail.InventoryStatus = item.STA_0;
detail.Batch = _unitwork.GetSerialNumber("HYB", 5).Remove(3, 2);
detail.Status = 0;
detail.CreateTime = DateTime.Now;
detailList.Add(detail);