服务端的TigerApi 框架,基于.NET6 2024 版本
Rodney Chen
2024-11-26 9f12ec67045443d165eae2670bfb22e17e4186ad
Tiger.Business.MES/Transaction/Position.cs
@@ -675,9 +675,14 @@
                                case "GetXH":
                                    return "";
                                case "GetCardNo":
                                    return "";
                                    return $"{Context["CurWaitShipmentCarton"].ToInt32() + 1}";
                                case "GetCardTotal":
                                    return "";
                                    var total = "";
                                    var _curaction = curAction is PackingAction ? curAction as PackingAction : null;
                                    if (!_curaction.IsNullOrEmpty()) {
                                        total = $"{Math.Ceiling(Context["CurShipQty"].ToDecimal()/_curaction.PkgRule.GetTotalQty().ToDecimal())}";
                                    }
                                    return total;
                                case "GetModelSpec": //Model+空格+SPEC,
                                    return GetLabelVarWo(lv, $"{WorkBatch.Product.ExtInfo?.Model} {WorkBatch.Product.SPEC}");
                                case "GetDATE":