Some checks failed
Build and Deploy / deploy (push) Failing after 45s
新增 ChangePostShipStatus,限制发货后四态白名单,妥投成功仅可进入不可改出。 Co-authored-by: Cursor <cursoragent@cursor.com>
43 lines
1.7 KiB
C#
43 lines
1.7 KiB
C#
namespace Oms.Domain.OrdersAggregate.Consts;
|
|
|
|
public static class OrderOperationActionCodes
|
|
{
|
|
public const string EditBasic = "editBasic";
|
|
public const string EditWeight = "editWeight";
|
|
public const string ChangeProduct = "changeProduct";
|
|
public const string RecalcReceivable = "recalcReceivable";
|
|
public const string RecalcPayable = "recalcPayable";
|
|
public const string Reallocate = "reallocate";
|
|
public const string BindSnapshotVersions = "bindSnapshotVersions";
|
|
public const string UpdateAdditionalServices = "updateAdditionalServices";
|
|
public const string AddFee = "addFee";
|
|
public const string Pay = "pay";
|
|
public const string PreDeclare = "preDeclare";
|
|
public const string DownstreamForward = "downstreamForward";
|
|
public const string Print = "print";
|
|
public const string Inbound = "inbound";
|
|
public const string Outbound = "outbound";
|
|
public const string ChangePostShipStatus = "changePostShipStatus";
|
|
|
|
public static string GetActionName(string action) => action switch
|
|
{
|
|
EditBasic => "编辑订单详情",
|
|
EditWeight => "修改件重尺",
|
|
ChangeProduct => "修改销售产品",
|
|
RecalcReceivable => "重算应收",
|
|
RecalcPayable => "重算应付",
|
|
Reallocate => "重新排货",
|
|
BindSnapshotVersions => "切换价格/规则版本",
|
|
UpdateAdditionalServices => "更新附加服务",
|
|
AddFee => "添加费用",
|
|
Pay => "支付",
|
|
PreDeclare => "重新预报",
|
|
DownstreamForward => "预报下游",
|
|
Print => "打印面单",
|
|
Inbound => "入库",
|
|
Outbound => "出库",
|
|
ChangePostShipStatus => "修改出库后状态",
|
|
_ => action
|
|
};
|
|
}
|