服务端的TigerApi 框架,基于.NET6 2024 版本
Rodney Chen
2024-12-28 4c8504f8deca450723fcdcf4f772f6cc67049c03
优化了一些已知问题
已修改2个文件
20 ■■■■■ 文件已修改
Tiger.Api/Controllers/Test/TestController.R.cs 18 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Tiger.Business.WMS/Transaction/Out_Default.cs 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Tiger.Api/Controllers/Test/TestController.R.cs
@@ -373,11 +373,25 @@
        {
            var data = action.Data;
            var json = @$"";
            var json = new {
                SN = "V025720241120000161",
                ItemCode = "160305330",
                Qty = 1700,
                Unit = "PCS",
                Supplier = "V0381",
                DeliveryDate = DateTime.Now,
                ProdDate = DateTime.Now,
                BatchNo = "20241120",
                ValidityDays = 365,
                SerialNo = 161,
                ItemName = "L-CW1323GA 两个装彩盒 隔板 材质300g单粉裱YF加强过哑膜 105 mm 85 mm 3 mm 南泰 ",
                Warehouse = "W0001",
                ItemModel = "材料 零件 商品",
            };
            var result = action.GetResponse("GetSnInfo success.", json, true);
            return Ok(new { result, result.Timestamp, result.IsSuccessed, result.Message, result.Data });
            return Ok(new { result.Timestamp, result.IsSuccessed, result.Message, result.Data });
        }
        [HttpGet]
Tiger.Business.WMS/Transaction/Out_Default.cs
@@ -168,6 +168,7 @@
                {
                    action.IsSuccessed = false;
                    action.LocaleMsg = downResult.LocaleMsg;
                    CurInvItem = null;
                    return action;
                }
                TakeDownInfo downInfo = downResult.Data;
@@ -207,6 +208,7 @@
                };
                //action.LocaleMsg = Biz.L($"扫描条码[{0}]从储位[{1}]下架成功");
                action.LocaleMsg = Biz.L("WMS.Default.ScanItem.TakeDownSucceeded", CurInvItem.SN, CurInvItem.Location?.LOCATION_CODE);
                CurInvItem = null;
            }
            catch (Exception ex)
            {