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

加入助理订单变更复核、收款人汇总、每日报销和应转金额;优化库存筛选、订单明细与连续浏览。开单身份必填,信用卡手续费按实收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

@@ -20,7 +20,7 @@ function fixture(t){
return run({id,...input},()=>ledger.deleteMaterialPurchase(id,input,actor));
};
const issue=({date=O,poolId=D,quantity='3',sale='3000',payer='owner',labor='0'}={})=>{
const input={date,customer:'合成购料修改客户',payment_account:'助理微信',fee_items:[],lines:[{
const input={date,customer:'合成购料修改客户',salesperson:'合成开单人',payment_account:'助理微信',fee_items:[],lines:[{
name:'足金挂件',unit:'g',quantity,pocket:'',payer,sale,
costParts:{material:'',labor,accessories:'0',other:'0'},costMaterial:{mode:'pool',poolId}
}]};