开单模型:已改类附加项目的保留成本行显示来源说明

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
黄健铭andClaude Opus 5.5 committed 2026-12-04 19:15:24 -08:00
1 parent ec5889075f
commit 698a0a84e0
1 file changed
+4 -1
+4 -1
View File
@@ -832,7 +832,10 @@
row.automatic row.automatic
? '已记录的信用卡收款手续费' ? '已记录的信用卡收款手续费'
: row.key.startsWith('charge:') : row.key.startsWith('charge:')
? '商品 ' + row.lineNumber + ' 的附加项目' ? // 附加项目改成快递/包装等勾选类目后,旧页面保留原成本行(无商品序号)。
row.lineNumber
? '商品 ' + row.lineNumber + ' 的附加项目'
: '附加项目已改类,原成本行保留'
: '整单费用'; : '整单费用';
function syncFeeRows(form, collectedLines, ctx) { function syncFeeRows(form, collectedLines, ctx) {
const existing = form.feeRows.map(readFeeRow); const existing = form.feeRows.map(readFeeRow);