设计出库口入库流程

托盘、周转箱分区存放
This commit is contained in:
zhougf committed 2024-04-30 23:18:05 +08:00
1 parent 70e6866e20
commit a6168a75bf
7 files changed
+99 -53

No files matched your search

@@ -1,4 +1,5 @@
using System;
using System.Linq;
using HHWMS.Web.Models;
using Microsoft.AspNetCore.Mvc;
using WalkingTec.Mvvm.Core;
@@ -94,11 +95,13 @@ public class ShipOutController : BaseController
{
try
{
var ids = Wtm.ConfigInfo.AppSettings.ToList();
var task_id = type switch
{
"In" => "ee66a5dc570cecd0",
"Out" => "6970907a6b82e7fb",
"Charge" => "a7a93155ff7f23a7",
"In" => ids.FirstOrDefault(x => x.Key == "In").Value,
"Out" => ids.FirstOrDefault(x => x.Key == "Out").Value,
"Charge" => ids.FirstOrDefault(x => x.Key == "Charge").Value,
"OutIn" => ids.FirstOrDefault(x => x.Key == "OutIn").Value,
_ => throw new Exception("参数错误!")
};