update: 修改到账比例

This commit is contained in:
mixtan 2025-06-28 20:28:21 +08:00
parent 0cd1e5f718
commit 111bb083ae

View File

@ -74,11 +74,11 @@ export function transformStoreCategories(data) {
// 添加一个与一级目录同名的选项 // 添加一个与一级目录同名的选项
{ {
value: item.store_category_id, value: item.store_category_id,
label: `${item.store_category_name} 分割比例(${item.split_ratio}%)` label: `${item.store_category_name} 到账比例(${item.split_ratio}%)`
}, },
...item.children.map(child => ({ ...item.children.map(child => ({
value: child.store_category_id, value: child.store_category_id,
label: `${child.store_category_name} 分割比例(${child.split_ratio}%)` label: `${child.store_category_name} 到账比例(${child.split_ratio}%)`
})) }))
] : [] ] : []
})); }));