mirror of
https://gitee.com/qqtt-ah/ecom-dmb.git
synced 2026-11-24 09:49:19 +08:00
feat: 不收几推广费为0的推广记录
This commit is contained in:
@@ -134,7 +134,8 @@ export function parsePromotionItems(
|
||||
const cells = Array.from(row.querySelectorAll(':scope > td'));
|
||||
const feeCell = cells[feeCol];
|
||||
const feeAmount = parseAmount(feeCell?.textContent);
|
||||
if (feeAmount == null) continue;
|
||||
// 总花费为 0 / 空 不记录
|
||||
if (feeAmount == null || feeAmount <= 0) continue;
|
||||
|
||||
seen.add(goodsId);
|
||||
items.push({
|
||||
|
||||
Reference in New Issue
Block a user