卷料退库
明细拆分loading
This commit is contained in:
1 parent
43146db587
commit
8f8b558b46
4 files changed
+335
-237
No files matched your search
@@ -419,6 +419,8 @@ namespace HHWMS.Web.Controllers
|
||||
MaterialType = item.Sn,
|
||||
Qty = item.Qty,
|
||||
Batch = item.PH,
|
||||
Lot = item.Len,
|
||||
SourceCode = item.CJ,
|
||||
CreateTime = DateTime.Now,
|
||||
});
|
||||
}
|
||||
@@ -456,6 +458,18 @@ namespace HHWMS.Web.Controllers
|
||||
}
|
||||
return JsonMore(str);
|
||||
}
|
||||
|
||||
[Public]
|
||||
[HttpPost]
|
||||
[ActionDescription("Sys.ScanJh")]
|
||||
public ActionResult ScanJh(string data) {
|
||||
var material = _unitwork.FindSingle<Material>(x => x.UniqueCode == data);
|
||||
if(material == null)
|
||||
{
|
||||
return JsonMore(null,500,$"卷号{data}未找到!");
|
||||
}
|
||||
return JsonMore(material);
|
||||
}
|
||||
}
|
||||
|
||||
public class receipt4
|
||||
@@ -465,9 +479,10 @@ namespace HHWMS.Web.Controllers
|
||||
/// </summary>
|
||||
public string JH { get; set; }
|
||||
public decimal Qty { get; set; }
|
||||
public decimal Len { get; set; }
|
||||
public string Len { get; set; }
|
||||
public string Lot { get; set; }
|
||||
public string Sn { get; set;}
|
||||
public string CJ { get; set; }
|
||||
/// <summary>
|
||||
/// 片厚
|
||||
/// </summary>
|
||||
|
||||
Reference in new issue
Block a user