统一商品分类标识与评价关联展示
This commit is contained in:
@@ -728,8 +728,18 @@ export const resources: ResourceUiDefinition[] = [
|
||||
f('product_snapshot'), f('quantity'), f('sale_amount'),
|
||||
]),
|
||||
define('ec_review', '商品评价', 'readonly', [
|
||||
relation('ec_order_identity', '/ec_order'), relation('ec_product_identity', '/ec_product'),
|
||||
relation('user_account_identity', '/user_account'), f('score'), f('content'),
|
||||
relation('ec_order_identity', '/ec_order', false, {
|
||||
label: '商城订单', listLabel: '商城订单', listRelationNameOnly: true,
|
||||
displayRelationLabel: true, showIdentityCopy: true,
|
||||
}),
|
||||
relation('ec_product_identity', '/ec_product', false, {
|
||||
label: '商品', listLabel: '商品', listRelationNameOnly: true,
|
||||
displayRelationLabel: true, showIdentityCopy: true,
|
||||
}),
|
||||
relation('user_account_identity', '/user_account', false, {
|
||||
label: '用户', listLabel: '用户', listRelationNameOnly: true,
|
||||
displayRelationLabel: true, showIdentityCopy: true,
|
||||
}), f('score'), f('content'),
|
||||
]),
|
||||
|
||||
define('wallet_basic', '钱包', 'readonly', [f('owner_type'), f('owner_identity', {
|
||||
|
||||
Reference in New Issue
Block a user