完善订单审批、每日对账与信用卡手续费

加入助理订单变更复核、收款人汇总、每日报销和应转金额;优化库存筛选、订单明细与连续浏览。开单身份必填,信用卡手续费按实收4‰自动计算并默认由麦麦承担,打印优惠显示在人民币大写旁。

验证:484项测试通过;独立HTTP与浏览器覆盖普通订单、锁价、修改审批、断线恢复和打印隔离。旧报表兼容,本机升级原29表295行数据保持一致。
This commit is contained in:
summer committed 2026-10-23 09:49:36 +08:00
1 parent 27a11e9b35
commit a506fb1228
68 files changed
+3591 -259

No files matched your search

+4
View File
@@ -42,6 +42,10 @@ test('默认、旧设置和客户端传入宽高均固定为241×140mm横版,
assert.match(print,/\.sheet\{width:241mm;height:calc\(140mm - 1px\);max-width:241mm;max-height:140mm/);
assert.doesNotMatch(print,/size:auto|100vh|100vw|rotate\(/);
assert.match(html,/\.sheet\{width:241mm;height:140mm/);
assert.match(html,/\.print-frame\{position:absolute;max-width:192mm/);
assert.match(html,/\.totals-summary\{[^}]*min-width:0[^}]*flex-wrap:wrap/);
assert.match(html,/\.totals-summary \.uppercase\{min-width:0\}/);
assert.match(html,/\.totals-summary \.discount\{white-space:nowrap\}/);
assert.match(html,/data-layout-width-mm="217" data-layout-height-mm="120"/);
assert.match(html,/preserveAspectRatio="xMinYMin meet"/);
}