fix(metadata): 隐藏订单中冗余字段的显示

将商品ID、分销商ID、营销计划ID等冗余字段的Hidden属性设置为true,避免在前端显示不必要的信息
This commit is contained in:
zhouyonggao 2025-12-08 16:40:01 +08:00
parent 2c4c7bc139
commit 15043be7f4
1 changed files with 5 additions and 5 deletions

View File

@ -151,11 +151,11 @@ func marketingMetadataTables() []tableInfo {
{Key: "order.type", Field: "type", Label: "类型", Hidden: false},
{Key: "order.status", Field: "status", Label: "状态", Hidden: false},
{Key: "order.account", Field: "account", Label: "账号", Hidden: false},
{Key: "order.product_id", Field: "product_id", Label: "商品id", Hidden: false},
{Key: "order.reseller_id", Field: "reseller_id", Label: "所属分销商ID冗余", Hidden: false},
{Key: "order.plan_id", Field: "plan_id", Label: "所属营销计划ID冗余", Hidden: false},
{Key: "order.key_batch_id", Field: "key_batch_id", Label: "所属KEY批次ID冗余", Hidden: false},
{Key: "order.code_batch_id", Field: "code_batch_id", Label: "Code批次ID(冗余)", Hidden: false},
{Key: "order.product_id", Field: "product_id", Label: "商品id", Hidden: true},
{Key: "order.reseller_id", Field: "reseller_id", Label: "所属分销商ID冗余", Hidden: true},
{Key: "order.plan_id", Field: "plan_id", Label: "所属营销计划ID冗余", Hidden: true},
{Key: "order.key_batch_id", Field: "key_batch_id", Label: "所属KEY批次ID冗余", Hidden: true},
{Key: "order.code_batch_id", Field: "code_batch_id", Label: "Code批次ID(冗余)", Hidden: true},
{Key: "order.contract_price", Field: "contract_price", Label: "合同单价(冗余)", Hidden: false},
{Key: "order.total", Field: "total", Label: "总价", Hidden: false},
{Key: "order.num", Field: "num", Label: "购买数量", Hidden: false},