refactor: 面单字段字典去掉发件人组,单号组按标题字数排序

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
zzh 2026-07-18 19:10:41 +08:00
parent 7bc7cdf417
commit 8929ebc5b3

View File

@ -13,10 +13,11 @@ public static class LabelFieldDictionary
Title = "单号",
Fields =
[
// 按标题字符数升序:运单号/跟踪号/请求号(3) → 客户单号(4)
Field("serviceNo", "运单号"),
Field("clientNo", "客户单号"),
Field("trackNo", "跟踪号"),
Field("requestId", "请求号")
Field("requestId", "请求号"),
Field("clientNo", "客户单号")
]
},
new LabelFieldGroup
@ -59,23 +60,6 @@ public static class LabelFieldDictionary
]
},
new LabelFieldGroup
{
Code = "sender",
Title = "发件人",
Fields =
[
Field("senderName", "发件人"),
Field("senderCompany", "发件公司"),
Field("senderPhone", "发件电话"),
Field("senderEmail", "发件邮箱"),
Field("senderZip", "发件邮编"),
Field("senderProvince", "发件省/州"),
Field("senderCity", "发件城市"),
Field("senderStreet1", "发件街道1"),
Field("senderAddressFull", "发件完整地址")
]
},
new LabelFieldGroup
{
Code = "weight",
Title = "重量尺寸",