fix: 修改结算单人工录入计算逻辑 (#1007)

Reviewed-on: daoyoucloud/tachybase#1007
Reviewed-by: sealday <zhanglin@daoyoucloud.com>
Co-authored-by: wjh <wwwjh0710@163.com>
Co-committed-by: wjh <wwwjh0710@163.com>
This commit is contained in:
wjh 2024-05-17 17:57:07 +08:00 committed by sealday
parent 313f59bb94
commit 29d25466bd

View File

@ -323,6 +323,7 @@ export class SettlementService {
if (recordItem.record_item_fee_items.length) {
recordItem.record_item_fee_items.forEach((value) => {
if (value.product_id === rulefee.fee_product_id) {
if (value.is_excluded) return;
const { count, unit } = ruleCount(
rule,
item,