[ { "seq": 1, "note": "section", "name": "setupAndLogin" }, { "seq": 2, "note": "clock", "date": "2026-11-18", "hour": 10 }, { "seq": 3, "label": "anonymous-session", "date": "2026-11-18", "actor": null, "method": "GET", "path": "/api/session", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "user": null, "setup": true, "mode": "trial", "today": "2026-11-18", "brand": { "storeName": "店铺台账" }, "loginOptions": [] } }, { "seq": 4, "label": "state-without-login", "date": "2026-11-18", "actor": null, "method": "GET", "path": "/api/state", "key": null, "status": 401, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "error": "请先登录" } }, { "seq": 5, "label": "setup-short-password", "date": "2026-11-18", "actor": null, "method": "POST", "path": "/api/setup", "key": "golden-00001-setup-short-password", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "ownerPassword": "short", "assistantPassword": "short" } }, "status": 400, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "error": "两组密码都至少12个字符" } }, { "seq": 6, "label": null, "date": "2026-11-18", "actor": "owner", "method": "POST", "path": "/api/setup", "key": "golden-00002-setup", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "ownerPassword": "golden-owner-pass-2026", "assistantPassword": "golden-assistant-pass-2026", "assistant2Password": "golden-assistant2-pass-2026" } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": "mm_session=; HttpOnly; SameSite=Strict; Path=/; Max-Age=28800", "body": { "user": { "id": "", "name": "麦麦", "role": "owner", "member": "owner", "operatorName": "麦麦", "label": "麦麦" } } }, { "seq": 7, "label": "setup-closed", "date": "2026-11-18", "actor": null, "method": "POST", "path": "/api/setup", "key": "golden-00003-setup-closed", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "ownerPassword": "golden-owner-pass-2026", "assistantPassword": "golden-assistant-pass-2026" } }, "status": 403, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "error": "初始化入口已关闭" } }, { "seq": 8, "label": "owner-session", "date": "2026-11-18", "actor": "owner", "method": "GET", "path": "/api/session", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "user": { "id": "", "name": "麦麦", "role": "owner", "member": "owner", "operatorName": "麦麦", "label": "麦麦" }, "setup": false, "mode": "trial", "today": "2026-11-18", "brand": { "storeName": "麦麦珠宝" }, "loginOptions": [ { "member": "owner", "label": "麦麦" }, { "member": "assistant", "label": "娜娜" }, { "member": "assistant2", "label": "小昊" } ] } }, { "seq": 9, "label": null, "date": "2026-11-18", "actor": "owner", "method": "POST", "path": "/api/logout", "key": "golden-00004-logout", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": {} }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": "mm_session=; HttpOnly; SameSite=Strict; Path=/; Max-Age=0", "body": { "ok": true } }, { "seq": 10, "label": "state-after-logout", "date": "2026-11-18", "actor": "owner", "method": "GET", "path": "/api/state", "key": null, "status": 401, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "error": "请先登录" } }, { "seq": 11, "label": "login-wrong-password", "date": "2026-11-18", "actor": null, "method": "POST", "path": "/api/login", "key": "golden-00005-login-wrong-password", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "name": "麦麦", "password": "wrong-password-123" } }, "status": 401, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "error": "账号或密码不正确" } }, { "seq": 12, "label": "demo-login-closed-in-trial", "date": "2026-11-18", "actor": null, "method": "POST", "path": "/api/demo-login", "key": "golden-00006-demo-login-closed-in-trial", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "role": "owner" } }, "status": 401, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "error": "请先登录" } }, { "seq": 13, "label": "login-owner", "date": "2026-11-18", "actor": "owner", "method": "POST", "path": "/api/login", "key": "golden-00007-login-owner", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "name": "麦麦", "password": "golden-owner-pass-2026" } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": "mm_session=; HttpOnly; SameSite=Strict; Path=/; Max-Age=28800", "body": { "user": { "id": "", "name": "麦麦", "role": "owner", "member": "owner", "operatorName": "麦麦", "label": "麦麦" } } }, { "seq": 14, "label": "login-assistant", "date": "2026-11-18", "actor": "assistant", "method": "POST", "path": "/api/login", "key": "golden-00008-login-assistant", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "name": "助理1", "password": "golden-assistant-pass-2026" } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": "mm_session=; HttpOnly; SameSite=Strict; Path=/; Max-Age=28800", "body": { "user": { "id": "", "name": "助理", "role": "assistant", "member": "assistant", "operatorName": "娜娜", "label": "娜娜" } } }, { "seq": 15, "label": "login-assistant2", "date": "2026-11-18", "actor": "assistant2", "method": "POST", "path": "/api/login", "key": "golden-00009-login-assistant2", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "name": "助理2", "password": "golden-assistant2-pass-2026" } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": "mm_session=; HttpOnly; SameSite=Strict; Path=/; Max-Age=28800", "body": { "user": { "id": "", "name": "助理2", "role": "assistant", "member": "assistant2", "operatorName": "小昊", "label": "小昊" } } }, { "seq": 16, "label": "login-by-display-name", "date": "2026-11-18", "actor": "assistant", "method": "POST", "path": "/api/login", "key": "golden-00010-login-by-display-name", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "name": "娜娜", "password": "golden-assistant-pass-2026" } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": "mm_session=; HttpOnly; SameSite=Strict; Path=/; Max-Age=28800", "body": { "user": { "id": "", "name": "助理", "role": "assistant", "member": "assistant", "operatorName": "娜娜", "label": "娜娜" } } }, { "seq": 17, "label": "login-by-member", "date": "2026-11-18", "actor": "assistant2", "method": "POST", "path": "/api/login", "key": "golden-00011-login-by-member", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "member": "assistant2", "password": "golden-assistant2-pass-2026" } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": "mm_session=; HttpOnly; SameSite=Strict; Path=/; Max-Age=28800", "body": { "user": { "id": "", "name": "助理2", "role": "assistant", "member": "assistant2", "operatorName": "小昊", "label": "小昊" } } }, { "seq": 18, "label": "initial-state-owner", "date": "2026-11-18", "actor": "owner", "method": "GET", "path": "/api/state", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "today": "2026-11-18", "mode": "trial", "user": { "id": "", "name": "麦麦", "role": "owner", "member": "owner", "operatorName": "麦麦", "label": "麦麦" }, "members": [ { "member": "owner", "label": "麦麦", "enabled": true }, { "member": "assistant", "label": "娜娜", "enabled": true }, { "member": "assistant2", "label": "小昊", "enabled": true } ], "shopSettings": { "version": 1, "revision": 0, "storeName": "麦麦珠宝", "receiptSubtitle": "珠宝销售单", "contact": "", "members": [ { "member": "owner", "label": "麦麦", "loginName": "麦麦" }, { "member": "assistant", "label": "娜娜", "loginName": "助理" }, { "member": "assistant2", "label": "小昊", "loginName": "助理2" } ], "creditCardRatePermille": 6, "profitSharePercent": 30, "profitShareEffectiveMonth": "2000-01", "profitShareHistory": [ { "month": "2000-01", "percent": 30 } ], "costPresets": { "jd": { "amount": "8", "payer": "owner" }, "yt": { "amount": "6", "payer": "order" }, "box": { "amount": "3", "payer": "owner" }, "steel": { "amount": "7", "payer": "owner" }, "silver": { "amount": "18", "payer": "owner" } }, "feeDefaults": { "certificate": "4", "packaging": "3", "shipping": "6", "packagingPayer": "owner" } }, "pockets": [ "现货", "金料", "找金", "回收旧料", "君宝汇" ], "pocketCatalog": [ { "key": "现货", "name": "现货", "active": true, "self": true, "builtin": true, "revision": 1, "created": "2026-11-18T02:00:00.000Z", "updated": "2026-11-18T02:00:00.000Z", "countUnit": null, "countSince": null }, { "key": "金料", "name": "金料", "active": true, "self": true, "builtin": true, "revision": 1, "created": "2026-11-18T02:00:00.000Z", "updated": "2026-11-18T02:00:00.000Z", "countUnit": null, "countSince": null }, { "key": "找金", "name": "找金", "active": true, "self": false, "builtin": true, "revision": 1, "created": "2026-11-18T02:00:00.000Z", "updated": "2026-11-18T02:00:00.000Z", "countUnit": null, "countSince": null }, { "key": "回收旧料", "name": "回收旧料", "active": true, "self": true, "builtin": true, "revision": 1, "created": "2026-11-18T02:00:00.000Z", "updated": "2026-11-18T02:00:00.000Z", "countUnit": null, "countSince": null }, { "key": "君宝汇", "name": "君宝汇", "active": true, "self": false, "builtin": true, "revision": 1, "created": "2026-11-18T02:00:00.000Z", "updated": "2026-11-18T02:00:00.000Z", "countUnit": null, "countSince": null }, { "key": "臻金汇", "name": "臻金汇", "active": false, "self": false, "builtin": true, "revision": 1, "created": "2026-11-18T02:00:00.000Z", "updated": "2026-11-18T02:00:00.000Z", "countUnit": null, "countSince": null }, { "key": "金金", "name": "金金", "active": false, "self": false, "builtin": true, "revision": 1, "created": "2026-11-18T02:00:00.000Z", "updated": "2026-11-18T02:00:00.000Z", "countUnit": null, "countSince": null }, { "key": "定制工厂", "name": "定制工厂", "active": false, "self": false, "builtin": true, "revision": 1, "created": "2026-11-18T02:00:00.000Z", "updated": "2026-11-18T02:00:00.000Z", "countUnit": null, "countSince": null } ], "accounts": [ "助理微信", "助理支付宝", "助理现金", "麦麦微信", "麦麦支付宝", "麦麦现金", "麦麦信用卡", "助理2微信", "助理2支付宝", "助理2现金" ], "inventory": [ { "pocket": "现货", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "金料", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "找金", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "回收旧料", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "君宝汇", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "臻金汇", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "金金", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "定制工厂", "mg": 0, "reserved": 0, "available": 0 } ], "orders": [], "priceLockCounts": { "pending": 0, "delivered": 0, "cancelled": 0 }, "materialPoolSummary": { "totalMg": 0, "totalAmount": 0, "usedMg": 0, "remainingMg": 0, "shortageMg": 0, "consumedCost": 0, "remainingCost": 0, "pendingCount": 0, "purchaseCount": 0 }, "materialPoolSettlement": { "legacyReadOnly": true, "assistantInventoryCredit": 0, "knownAssistantInventoryCredit": 0, "transferred": 0, "settlementDue": 0, "knownSettlementDue": 0, "pendingCount": 0, "pools": [] }, "materialPoolAllocation": { "version": 1, "targetVersion": 2, "migrationRequired": true, "usageCount": 0, "activeUsageCount": 0 }, "sync": { "enabled": false, "busy": false, "error": null, "pending": 0, "failed": 0 }, "printing": { "store": "麦麦珠宝", "subtitle": "珠宝销售单", "contact": "", "width": 241, "height": 140, "offsetX": 0, "offsetY": 0, "rows": 3, "contentTop": 12, "rowHeight": 10 }, "backup": { "last": null, "error": null }, "movements": [] } }, { "seq": 19, "label": "initial-state-assistant", "date": "2026-11-18", "actor": "assistant", "method": "GET", "path": "/api/state", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "today": "2026-11-18", "mode": "trial", "user": { "id": "", "name": "助理", "role": "assistant", "member": "assistant", "operatorName": "娜娜", "label": "娜娜" }, "members": [ { "member": "owner", "label": "麦麦", "enabled": true }, { "member": "assistant", "label": "娜娜", "enabled": true }, { "member": "assistant2", "label": "小昊", "enabled": true } ], "shopSettings": { "version": 1, "revision": 0, "storeName": "麦麦珠宝", "receiptSubtitle": "珠宝销售单", "contact": "", "members": [ { "member": "owner", "label": "麦麦" }, { "member": "assistant", "label": "娜娜" }, { "member": "assistant2", "label": "小昊" } ], "creditCardRatePermille": 6, "costPresets": { "jd": { "amount": "8", "payer": "owner" }, "yt": { "amount": "6", "payer": "order" }, "box": { "amount": "3", "payer": "owner" }, "steel": { "amount": "7", "payer": "owner" }, "silver": { "amount": "18", "payer": "owner" } }, "feeDefaults": { "certificate": "4", "packaging": "3", "shipping": "6", "packagingPayer": "owner" } }, "pockets": [ "现货", "金料", "找金", "回收旧料", "君宝汇" ], "pocketCatalog": [ { "key": "现货", "name": "现货", "active": true, "self": true, "builtin": true, "revision": 1, "created": "2026-11-18T02:00:00.000Z", "updated": "2026-11-18T02:00:00.000Z", "countUnit": null, "countSince": null }, { "key": "金料", "name": "金料", "active": true, "self": true, "builtin": true, "revision": 1, "created": "2026-11-18T02:00:00.000Z", "updated": "2026-11-18T02:00:00.000Z", "countUnit": null, "countSince": null }, { "key": "找金", "name": "找金", "active": true, "self": false, "builtin": true, "revision": 1, "created": "2026-11-18T02:00:00.000Z", "updated": "2026-11-18T02:00:00.000Z", "countUnit": null, "countSince": null }, { "key": "回收旧料", "name": "回收旧料", "active": true, "self": true, "builtin": true, "revision": 1, "created": "2026-11-18T02:00:00.000Z", "updated": "2026-11-18T02:00:00.000Z", "countUnit": null, "countSince": null }, { "key": "君宝汇", "name": "君宝汇", "active": true, "self": false, "builtin": true, "revision": 1, "created": "2026-11-18T02:00:00.000Z", "updated": "2026-11-18T02:00:00.000Z", "countUnit": null, "countSince": null }, { "key": "臻金汇", "name": "臻金汇", "active": false, "self": false, "builtin": true, "revision": 1, "created": "2026-11-18T02:00:00.000Z", "updated": "2026-11-18T02:00:00.000Z", "countUnit": null, "countSince": null }, { "key": "金金", "name": "金金", "active": false, "self": false, "builtin": true, "revision": 1, "created": "2026-11-18T02:00:00.000Z", "updated": "2026-11-18T02:00:00.000Z", "countUnit": null, "countSince": null }, { "key": "定制工厂", "name": "定制工厂", "active": false, "self": false, "builtin": true, "revision": 1, "created": "2026-11-18T02:00:00.000Z", "updated": "2026-11-18T02:00:00.000Z", "countUnit": null, "countSince": null } ], "accounts": [ "助理微信", "助理支付宝", "助理现金", "麦麦微信", "麦麦支付宝", "麦麦现金", "麦麦信用卡", "助理2微信", "助理2支付宝", "助理2现金" ], "inventory": [ { "pocket": "现货", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "金料", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "找金", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "回收旧料", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "君宝汇", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "臻金汇", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "金金", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "定制工厂", "mg": 0, "reserved": 0, "available": 0 } ], "orders": [], "priceLockCounts": { "pending": 0, "delivered": 0, "cancelled": 0 }, "materialPoolSummary": { "totalMg": 0, "totalAmount": 0, "usedMg": 0, "remainingMg": 0, "shortageMg": 0, "consumedCost": 0, "remainingCost": 0, "pendingCount": 0, "purchaseCount": 0 }, "materialPoolSettlement": { "legacyReadOnly": true, "settlementDue": null, "knownSettlementDue": null, "pendingCount": 0, "pools": [] }, "materialPoolAllocation": { "version": 1, "targetVersion": 2, "migrationRequired": true, "usageCount": 0, "activeUsageCount": 0 }, "sync": { "enabled": false }, "printing": { "store": "麦麦珠宝", "subtitle": "珠宝销售单", "contact": "", "width": 241, "height": 140, "offsetX": 0, "offsetY": 0, "rows": 3, "contentTop": 12, "rowHeight": 10 }, "backup": null, "movements": [] } }, { "seq": 20, "label": "initial-state-assistant2", "date": "2026-11-18", "actor": "assistant2", "method": "GET", "path": "/api/state", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "today": "2026-11-18", "mode": "trial", "user": { "id": "", "name": "助理2", "role": "assistant", "member": "assistant2", "operatorName": "小昊", "label": "小昊" }, "members": [ { "member": "owner", "label": "麦麦", "enabled": true }, { "member": "assistant", "label": "娜娜", "enabled": true }, { "member": "assistant2", "label": "小昊", "enabled": true } ], "shopSettings": { "version": 1, "revision": 0, "storeName": "麦麦珠宝", "receiptSubtitle": "珠宝销售单", "contact": "", "members": [ { "member": "owner", "label": "麦麦" }, { "member": "assistant", "label": "娜娜" }, { "member": "assistant2", "label": "小昊" } ], "creditCardRatePermille": 6, "costPresets": { "jd": { "amount": "8", "payer": "owner" }, "yt": { "amount": "6", "payer": "order" }, "box": { "amount": "3", "payer": "owner" }, "steel": { "amount": "7", "payer": "owner" }, "silver": { "amount": "18", "payer": "owner" } }, "feeDefaults": { "certificate": "4", "packaging": "3", "shipping": "6", "packagingPayer": "owner" } }, "pockets": [ "现货", "金料", "找金", "回收旧料", "君宝汇" ], "pocketCatalog": [ { "key": "现货", "name": "现货", "active": true, "self": true, "builtin": true, "revision": 1, "created": "2026-11-18T02:00:00.000Z", "updated": "2026-11-18T02:00:00.000Z", "countUnit": null, "countSince": null }, { "key": "金料", "name": "金料", "active": true, "self": true, "builtin": true, "revision": 1, "created": "2026-11-18T02:00:00.000Z", "updated": "2026-11-18T02:00:00.000Z", "countUnit": null, "countSince": null }, { "key": "找金", "name": "找金", "active": true, "self": false, "builtin": true, "revision": 1, "created": "2026-11-18T02:00:00.000Z", "updated": "2026-11-18T02:00:00.000Z", "countUnit": null, "countSince": null }, { "key": "回收旧料", "name": "回收旧料", "active": true, "self": true, "builtin": true, "revision": 1, "created": "2026-11-18T02:00:00.000Z", "updated": "2026-11-18T02:00:00.000Z", "countUnit": null, "countSince": null }, { "key": "君宝汇", "name": "君宝汇", "active": true, "self": false, "builtin": true, "revision": 1, "created": "2026-11-18T02:00:00.000Z", "updated": "2026-11-18T02:00:00.000Z", "countUnit": null, "countSince": null }, { "key": "臻金汇", "name": "臻金汇", "active": false, "self": false, "builtin": true, "revision": 1, "created": "2026-11-18T02:00:00.000Z", "updated": "2026-11-18T02:00:00.000Z", "countUnit": null, "countSince": null }, { "key": "金金", "name": "金金", "active": false, "self": false, "builtin": true, "revision": 1, "created": "2026-11-18T02:00:00.000Z", "updated": "2026-11-18T02:00:00.000Z", "countUnit": null, "countSince": null }, { "key": "定制工厂", "name": "定制工厂", "active": false, "self": false, "builtin": true, "revision": 1, "created": "2026-11-18T02:00:00.000Z", "updated": "2026-11-18T02:00:00.000Z", "countUnit": null, "countSince": null } ], "accounts": [ "助理微信", "助理支付宝", "助理现金", "麦麦微信", "麦麦支付宝", "麦麦现金", "麦麦信用卡", "助理2微信", "助理2支付宝", "助理2现金" ], "inventory": [ { "pocket": "现货", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "金料", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "找金", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "回收旧料", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "君宝汇", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "臻金汇", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "金金", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "定制工厂", "mg": 0, "reserved": 0, "available": 0 } ], "orders": [], "priceLockCounts": { "pending": 0, "delivered": 0, "cancelled": 0 }, "materialPoolSummary": { "totalMg": 0, "totalAmount": 0, "usedMg": 0, "remainingMg": 0, "shortageMg": 0, "consumedCost": 0, "remainingCost": 0, "pendingCount": 0, "purchaseCount": 0 }, "materialPoolSettlement": { "legacyReadOnly": true, "settlementDue": null, "knownSettlementDue": null, "pendingCount": 0, "pools": [] }, "materialPoolAllocation": { "version": 1, "targetVersion": 2, "migrationRequired": true, "usageCount": 0, "activeUsageCount": 0 }, "sync": { "enabled": false }, "printing": { "store": "麦麦珠宝", "subtitle": "珠宝销售单", "contact": "", "width": 241, "height": 140, "offsetX": 0, "offsetY": 0, "rows": 3, "contentTop": 12, "rowHeight": 10 }, "backup": null, "movements": [] } }, { "seq": 21, "label": "anonymous-session-after-setup", "date": "2026-11-18", "actor": null, "method": "GET", "path": "/api/session", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "user": null, "setup": false, "mode": "trial", "today": "2026-11-18", "brand": { "storeName": "麦麦珠宝" }, "loginOptions": [ { "member": "owner", "label": "麦麦" }, { "member": "assistant", "label": "娜娜" }, { "member": "assistant2", "label": "小昊" } ] } }, { "seq": 22, "note": "section", "name": "shopSettingsAndPrinting" }, { "seq": 23, "label": null, "date": "2026-11-18", "actor": "owner", "method": "GET", "path": "/api/shop-settings", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "version": 1, "revision": 0, "storeName": "麦麦珠宝", "receiptSubtitle": "珠宝销售单", "contact": "", "members": [ { "member": "owner", "label": "麦麦", "loginName": "麦麦" }, { "member": "assistant", "label": "娜娜", "loginName": "助理" }, { "member": "assistant2", "label": "小昊", "loginName": "助理2" } ], "creditCardRatePermille": 6, "profitSharePercent": 30, "profitShareEffectiveMonth": "2000-01", "profitShareHistory": [ { "month": "2000-01", "percent": 30 } ], "costPresets": { "jd": { "amount": "8", "payer": "owner" }, "yt": { "amount": "6", "payer": "order" }, "box": { "amount": "3", "payer": "owner" }, "steel": { "amount": "7", "payer": "owner" }, "silver": { "amount": "18", "payer": "owner" } }, "feeDefaults": { "certificate": "4", "packaging": "3", "shipping": "6", "packagingPayer": "owner" } } }, { "seq": 24, "label": "assistant-shop-settings", "date": "2026-11-18", "actor": "assistant", "method": "GET", "path": "/api/shop-settings", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "version": 1, "revision": 0, "storeName": "麦麦珠宝", "receiptSubtitle": "珠宝销售单", "contact": "", "members": [ { "member": "owner", "label": "麦麦" }, { "member": "assistant", "label": "娜娜" }, { "member": "assistant2", "label": "小昊" } ], "creditCardRatePermille": 6, "costPresets": { "jd": { "amount": "8", "payer": "owner" }, "yt": { "amount": "6", "payer": "order" }, "box": { "amount": "3", "payer": "owner" }, "steel": { "amount": "7", "payer": "owner" }, "silver": { "amount": "18", "payer": "owner" } }, "feeDefaults": { "certificate": "4", "packaging": "3", "shipping": "6", "packagingPayer": "owner" } } }, { "seq": 25, "label": null, "date": "2026-11-18", "actor": "assistant", "method": "POST", "path": "/api/shop-settings", "key": "golden-00012-shop-settings", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "revision": 0, "storeName": "越权店名" } }, "status": 403, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "error": "这项操作由店主账号完成" } }, { "seq": 26, "label": null, "date": "2026-11-18", "actor": "owner", "method": "POST", "path": "/api/shop-settings", "key": "golden-00013-shop-settings", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "revision": 0, "storeName": "黄金对照珠宝", "receiptSubtitle": "黄金对照销售单", "contact": "联系电话 000-0000", "creditCardRatePermille": 6, "feeDefaults": { "shipping": "8", "certificate": "4", "packaging": "3", "packagingPayer": "owner" } } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "ok": true, "shopSettings": { "version": 1, "revision": 1, "storeName": "黄金对照珠宝", "receiptSubtitle": "黄金对照销售单", "contact": "联系电话 000-0000", "members": [ { "member": "owner", "label": "麦麦", "loginName": "麦麦", "operatorName": "" }, { "member": "assistant", "label": "娜娜", "loginName": "助理", "operatorName": "" }, { "member": "assistant2", "label": "小昊", "loginName": "助理2", "operatorName": "" } ], "creditCardRatePermille": 6, "profitSharePercent": 30, "profitShareEffectiveMonth": "2000-01", "profitShareHistory": [ { "month": "2000-01", "percent": 30 } ], "costPresets": { "jd": { "amount": "8", "payer": "owner" }, "yt": { "amount": "6", "payer": "order" }, "box": { "amount": "3", "payer": "owner" }, "steel": { "amount": "7", "payer": "owner" }, "silver": { "amount": "18", "payer": "owner" } }, "feeDefaults": { "certificate": "4", "packaging": "3", "shipping": "8", "packagingPayer": "owner" } }, "printing": { "store": "黄金对照珠宝", "subtitle": "黄金对照销售单", "contact": "联系电话 000-0000", "width": 241, "height": 140, "offsetX": 0, "offsetY": 0, "rows": 3, "contentTop": 12, "rowHeight": 10 } } }, { "seq": 27, "label": "shop-settings-stale", "date": "2026-11-18", "actor": "owner", "method": "POST", "path": "/api/shop-settings", "key": "golden-00014-shop-settings-stale", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "revision": 0, "storeName": "过期版本" } }, "status": 409, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "error": "店铺配置已有变动,请刷新后重新核对" } }, { "seq": 28, "label": "shop-settings-invalid", "date": "2026-11-18", "actor": "owner", "method": "POST", "path": "/api/shop-settings", "key": "golden-00015-shop-settings-invalid", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "revision": 1, "creditCardRatePermille": -1 } }, "status": 400, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "error": "信用卡手续费率须为0~1000的整数" } }, { "seq": 29, "label": null, "date": "2026-11-18", "actor": "owner", "method": "POST", "path": "/api/printing", "key": "golden-00016-printing", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "offsetX": 2, "offsetY": 3 } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "ok": true, "shopSettings": { "version": 1, "revision": 1, "storeName": "黄金对照珠宝", "receiptSubtitle": "黄金对照销售单", "contact": "联系电话 000-0000", "members": [ { "member": "owner", "label": "麦麦", "loginName": "麦麦", "operatorName": "" }, { "member": "assistant", "label": "娜娜", "loginName": "助理", "operatorName": "" }, { "member": "assistant2", "label": "小昊", "loginName": "助理2", "operatorName": "" } ], "creditCardRatePermille": 6, "profitSharePercent": 30, "profitShareEffectiveMonth": "2000-01", "profitShareHistory": [ { "month": "2000-01", "percent": 30 } ], "costPresets": { "jd": { "amount": "8", "payer": "owner" }, "yt": { "amount": "6", "payer": "order" }, "box": { "amount": "3", "payer": "owner" }, "steel": { "amount": "7", "payer": "owner" }, "silver": { "amount": "18", "payer": "owner" } }, "feeDefaults": { "certificate": "4", "packaging": "3", "shipping": "8", "packagingPayer": "owner" } }, "printing": { "store": "黄金对照珠宝", "subtitle": "黄金对照销售单", "contact": "联系电话 000-0000", "width": 241, "height": 140, "offsetX": 2, "offsetY": 3, "rows": 3, "contentTop": 12, "rowHeight": 10 } } }, { "seq": 30, "label": null, "date": "2026-11-18", "actor": "assistant", "method": "POST", "path": "/api/printing", "key": "golden-00017-printing", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "offsetX": 9 } }, "status": 403, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "error": "这项操作由店主账号完成" } }, { "seq": 31, "label": "shop-settings-after", "date": "2026-11-18", "actor": "owner", "method": "GET", "path": "/api/shop-settings", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "version": 1, "revision": 1, "storeName": "黄金对照珠宝", "receiptSubtitle": "黄金对照销售单", "contact": "联系电话 000-0000", "members": [ { "member": "owner", "label": "麦麦", "loginName": "麦麦", "operatorName": "" }, { "member": "assistant", "label": "娜娜", "loginName": "助理", "operatorName": "" }, { "member": "assistant2", "label": "小昊", "loginName": "助理2", "operatorName": "" } ], "creditCardRatePermille": 6, "profitSharePercent": 30, "profitShareEffectiveMonth": "2000-01", "profitShareHistory": [ { "month": "2000-01", "percent": 30 } ], "costPresets": { "jd": { "amount": "8", "payer": "owner" }, "yt": { "amount": "6", "payer": "order" }, "box": { "amount": "3", "payer": "owner" }, "steel": { "amount": "7", "payer": "owner" }, "silver": { "amount": "18", "payer": "owner" } }, "feeDefaults": { "certificate": "4", "packaging": "3", "shipping": "8", "packagingPayer": "owner" } } }, { "seq": 32, "note": "section", "name": "pockets" }, { "seq": 33, "label": "pockets-owner", "date": "2026-11-18", "actor": "owner", "method": "GET", "path": "/api/pockets", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "catalog": [ { "key": "现货", "name": "现货", "active": true, "self": true, "builtin": true, "revision": 1, "created": "2026-11-18T02:00:00.000Z", "updated": "2026-11-18T02:00:00.000Z", "countUnit": null, "countSince": null }, { "key": "金料", "name": "金料", "active": true, "self": true, "builtin": true, "revision": 1, "created": "2026-11-18T02:00:00.000Z", "updated": "2026-11-18T02:00:00.000Z", "countUnit": null, "countSince": null }, { "key": "找金", "name": "找金", "active": true, "self": false, "builtin": true, "revision": 1, "created": "2026-11-18T02:00:00.000Z", "updated": "2026-11-18T02:00:00.000Z", "countUnit": null, "countSince": null }, { "key": "回收旧料", "name": "回收旧料", "active": true, "self": true, "builtin": true, "revision": 1, "created": "2026-11-18T02:00:00.000Z", "updated": "2026-11-18T02:00:00.000Z", "countUnit": null, "countSince": null }, { "key": "君宝汇", "name": "君宝汇", "active": true, "self": false, "builtin": true, "revision": 1, "created": "2026-11-18T02:00:00.000Z", "updated": "2026-11-18T02:00:00.000Z", "countUnit": null, "countSince": null }, { "key": "臻金汇", "name": "臻金汇", "active": false, "self": false, "builtin": true, "revision": 1, "created": "2026-11-18T02:00:00.000Z", "updated": "2026-11-18T02:00:00.000Z", "countUnit": null, "countSince": null }, { "key": "金金", "name": "金金", "active": false, "self": false, "builtin": true, "revision": 1, "created": "2026-11-18T02:00:00.000Z", "updated": "2026-11-18T02:00:00.000Z", "countUnit": null, "countSince": null }, { "key": "定制工厂", "name": "定制工厂", "active": false, "self": false, "builtin": true, "revision": 1, "created": "2026-11-18T02:00:00.000Z", "updated": "2026-11-18T02:00:00.000Z", "countUnit": null, "countSince": null } ], "pockets": [ "现货", "金料", "找金", "回收旧料", "君宝汇" ], "canManage": true } }, { "seq": 34, "label": "pockets-assistant", "date": "2026-11-18", "actor": "assistant", "method": "GET", "path": "/api/pockets", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "catalog": [ { "key": "现货", "name": "现货", "active": true, "self": true, "builtin": true, "revision": 1, "created": "2026-11-18T02:00:00.000Z", "updated": "2026-11-18T02:00:00.000Z", "countUnit": null, "countSince": null }, { "key": "金料", "name": "金料", "active": true, "self": true, "builtin": true, "revision": 1, "created": "2026-11-18T02:00:00.000Z", "updated": "2026-11-18T02:00:00.000Z", "countUnit": null, "countSince": null }, { "key": "找金", "name": "找金", "active": true, "self": false, "builtin": true, "revision": 1, "created": "2026-11-18T02:00:00.000Z", "updated": "2026-11-18T02:00:00.000Z", "countUnit": null, "countSince": null }, { "key": "回收旧料", "name": "回收旧料", "active": true, "self": true, "builtin": true, "revision": 1, "created": "2026-11-18T02:00:00.000Z", "updated": "2026-11-18T02:00:00.000Z", "countUnit": null, "countSince": null }, { "key": "君宝汇", "name": "君宝汇", "active": true, "self": false, "builtin": true, "revision": 1, "created": "2026-11-18T02:00:00.000Z", "updated": "2026-11-18T02:00:00.000Z", "countUnit": null, "countSince": null }, { "key": "臻金汇", "name": "臻金汇", "active": false, "self": false, "builtin": true, "revision": 1, "created": "2026-11-18T02:00:00.000Z", "updated": "2026-11-18T02:00:00.000Z", "countUnit": null, "countSince": null }, { "key": "金金", "name": "金金", "active": false, "self": false, "builtin": true, "revision": 1, "created": "2026-11-18T02:00:00.000Z", "updated": "2026-11-18T02:00:00.000Z", "countUnit": null, "countSince": null }, { "key": "定制工厂", "name": "定制工厂", "active": false, "self": false, "builtin": true, "revision": 1, "created": "2026-11-18T02:00:00.000Z", "updated": "2026-11-18T02:00:00.000Z", "countUnit": null, "countSince": null } ], "pockets": [ "现货", "金料", "找金", "回收旧料", "君宝汇" ], "canManage": false } }, { "seq": 35, "label": "pockets-assistant2", "date": "2026-11-18", "actor": "assistant2", "method": "GET", "path": "/api/pockets", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "catalog": [ { "key": "现货", "name": "现货", "active": true, "self": true, "builtin": true, "revision": 1, "created": "2026-11-18T02:00:00.000Z", "updated": "2026-11-18T02:00:00.000Z", "countUnit": null, "countSince": null }, { "key": "金料", "name": "金料", "active": true, "self": true, "builtin": true, "revision": 1, "created": "2026-11-18T02:00:00.000Z", "updated": "2026-11-18T02:00:00.000Z", "countUnit": null, "countSince": null }, { "key": "找金", "name": "找金", "active": true, "self": false, "builtin": true, "revision": 1, "created": "2026-11-18T02:00:00.000Z", "updated": "2026-11-18T02:00:00.000Z", "countUnit": null, "countSince": null }, { "key": "回收旧料", "name": "回收旧料", "active": true, "self": true, "builtin": true, "revision": 1, "created": "2026-11-18T02:00:00.000Z", "updated": "2026-11-18T02:00:00.000Z", "countUnit": null, "countSince": null }, { "key": "君宝汇", "name": "君宝汇", "active": true, "self": false, "builtin": true, "revision": 1, "created": "2026-11-18T02:00:00.000Z", "updated": "2026-11-18T02:00:00.000Z", "countUnit": null, "countSince": null }, { "key": "臻金汇", "name": "臻金汇", "active": false, "self": false, "builtin": true, "revision": 1, "created": "2026-11-18T02:00:00.000Z", "updated": "2026-11-18T02:00:00.000Z", "countUnit": null, "countSince": null }, { "key": "金金", "name": "金金", "active": false, "self": false, "builtin": true, "revision": 1, "created": "2026-11-18T02:00:00.000Z", "updated": "2026-11-18T02:00:00.000Z", "countUnit": null, "countSince": null }, { "key": "定制工厂", "name": "定制工厂", "active": false, "self": false, "builtin": true, "revision": 1, "created": "2026-11-18T02:00:00.000Z", "updated": "2026-11-18T02:00:00.000Z", "countUnit": null, "countSince": null } ], "pockets": [ "现货", "金料", "找金", "回收旧料", "君宝汇" ], "canManage": false } }, { "seq": 36, "label": null, "date": "2026-11-18", "actor": "owner", "method": "POST", "path": "/api/pockets", "key": "golden-00018-pockets", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "name": "展柜A" } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "pocket": { "key": "pocket_", "name": "展柜A", "active": true, "self": true, "builtin": false, "revision": 1, "created": "2026-11-18T02:00:32.000Z", "updated": "2026-11-18T02:00:32.000Z", "countUnit": null, "countSince": null }, "catalog": [ { "key": "现货", "name": "现货", "active": true, "self": true, "builtin": true, "revision": 1, "created": "2026-11-18T02:00:00.000Z", "updated": "2026-11-18T02:00:00.000Z", "countUnit": null, "countSince": null }, { "key": "金料", "name": "金料", "active": true, "self": true, "builtin": true, "revision": 1, "created": "2026-11-18T02:00:00.000Z", "updated": "2026-11-18T02:00:00.000Z", "countUnit": null, "countSince": null }, { "key": "找金", "name": "找金", "active": true, "self": false, "builtin": true, "revision": 1, "created": "2026-11-18T02:00:00.000Z", "updated": "2026-11-18T02:00:00.000Z", "countUnit": null, "countSince": null }, { "key": "回收旧料", "name": "回收旧料", "active": true, "self": true, "builtin": true, "revision": 1, "created": "2026-11-18T02:00:00.000Z", "updated": "2026-11-18T02:00:00.000Z", "countUnit": null, "countSince": null }, { "key": "君宝汇", "name": "君宝汇", "active": true, "self": false, "builtin": true, "revision": 1, "created": "2026-11-18T02:00:00.000Z", "updated": "2026-11-18T02:00:00.000Z", "countUnit": null, "countSince": null }, { "key": "臻金汇", "name": "臻金汇", "active": false, "self": false, "builtin": true, "revision": 1, "created": "2026-11-18T02:00:00.000Z", "updated": "2026-11-18T02:00:00.000Z", "countUnit": null, "countSince": null }, { "key": "金金", "name": "金金", "active": false, "self": false, "builtin": true, "revision": 1, "created": "2026-11-18T02:00:00.000Z", "updated": "2026-11-18T02:00:00.000Z", "countUnit": null, "countSince": null }, { "key": "定制工厂", "name": "定制工厂", "active": false, "self": false, "builtin": true, "revision": 1, "created": "2026-11-18T02:00:00.000Z", "updated": "2026-11-18T02:00:00.000Z", "countUnit": null, "countSince": null }, { "key": "pocket_", "name": "展柜A", "active": true, "self": true, "builtin": false, "revision": 1, "created": "2026-11-18T02:00:32.000Z", "updated": "2026-11-18T02:00:32.000Z", "countUnit": null, "countSince": null } ], "pockets": [ "现货", "金料", "找金", "回收旧料", "君宝汇", "pocket_" ] } }, { "seq": 37, "label": null, "date": "2026-11-18", "actor": "assistant", "method": "POST", "path": "/api/pockets", "key": "golden-00019-pockets", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "name": "越权货盘" } }, "status": 403, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "error": "这项操作由店主账号完成" } }, { "seq": 38, "label": null, "date": "2026-11-18", "actor": "owner", "method": "POST", "path": "/api/pockets/pocket_/update", "key": "golden-00020-update", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "revision": 1, "name": "展柜A(主)" } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "pocket": { "key": "pocket_", "name": "展柜A(主)", "active": true, "self": true, "builtin": false, "revision": 2, "created": "2026-11-18T02:00:32.000Z", "updated": "2026-11-18T02:00:34.000Z", "countUnit": null, "countSince": null }, "catalog": [ { "key": "现货", "name": "现货", "active": true, "self": true, "builtin": true, "revision": 1, "created": "2026-11-18T02:00:00.000Z", "updated": "2026-11-18T02:00:00.000Z", "countUnit": null, "countSince": null }, { "key": "金料", "name": "金料", "active": true, "self": true, "builtin": true, "revision": 1, "created": "2026-11-18T02:00:00.000Z", "updated": "2026-11-18T02:00:00.000Z", "countUnit": null, "countSince": null }, { "key": "找金", "name": "找金", "active": true, "self": false, "builtin": true, "revision": 1, "created": "2026-11-18T02:00:00.000Z", "updated": "2026-11-18T02:00:00.000Z", "countUnit": null, "countSince": null }, { "key": "回收旧料", "name": "回收旧料", "active": true, "self": true, "builtin": true, "revision": 1, "created": "2026-11-18T02:00:00.000Z", "updated": "2026-11-18T02:00:00.000Z", "countUnit": null, "countSince": null }, { "key": "君宝汇", "name": "君宝汇", "active": true, "self": false, "builtin": true, "revision": 1, "created": "2026-11-18T02:00:00.000Z", "updated": "2026-11-18T02:00:00.000Z", "countUnit": null, "countSince": null }, { "key": "臻金汇", "name": "臻金汇", "active": false, "self": false, "builtin": true, "revision": 1, "created": "2026-11-18T02:00:00.000Z", "updated": "2026-11-18T02:00:00.000Z", "countUnit": null, "countSince": null }, { "key": "金金", "name": "金金", "active": false, "self": false, "builtin": true, "revision": 1, "created": "2026-11-18T02:00:00.000Z", "updated": "2026-11-18T02:00:00.000Z", "countUnit": null, "countSince": null }, { "key": "定制工厂", "name": "定制工厂", "active": false, "self": false, "builtin": true, "revision": 1, "created": "2026-11-18T02:00:00.000Z", "updated": "2026-11-18T02:00:00.000Z", "countUnit": null, "countSince": null }, { "key": "pocket_", "name": "展柜A(主)", "active": true, "self": true, "builtin": false, "revision": 2, "created": "2026-11-18T02:00:32.000Z", "updated": "2026-11-18T02:00:34.000Z", "countUnit": null, "countSince": null } ], "pockets": [ "现货", "金料", "找金", "回收旧料", "君宝汇", "pocket_" ] } }, { "seq": 39, "label": "pocket-stale", "date": "2026-11-18", "actor": "owner", "method": "POST", "path": "/api/pockets/pocket_/update", "key": "golden-00021-pocket-stale", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "revision": 1, "name": "过期改名" } }, "status": 409, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "error": "货盘已被更新,请刷新后重新核对" } }, { "seq": 40, "note": "section", "name": "employeesAndPasswords" }, { "seq": 41, "label": null, "date": "2026-11-18", "actor": "owner", "method": "GET", "path": "/api/employees", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "revision": 1, "employees": [ { "member": "owner", "label": "麦麦", "loginName": "麦麦", "operatorName": "", "userId": "", "passwordSet": true, "enabled": true, "role": "owner", "hasBusinessData": false, "businessUsage": [], "canDelete": false, "canDeactivate": false, "canReactivate": false, "deleteReason": "店主账号不能删除或停用" }, { "member": "assistant", "label": "娜娜", "loginName": "助理", "operatorName": "", "userId": "", "passwordSet": true, "enabled": true, "role": "assistant", "hasBusinessData": false, "businessUsage": [], "canDelete": true, "canDeactivate": true, "canReactivate": false, "deleteReason": "" }, { "member": "assistant2", "label": "小昊", "loginName": "助理2", "operatorName": "", "userId": "", "passwordSet": true, "enabled": true, "role": "assistant", "hasBusinessData": false, "businessUsage": [], "canDelete": true, "canDeactivate": true, "canReactivate": false, "deleteReason": "" } ] } }, { "seq": 42, "label": null, "date": "2026-11-18", "actor": "assistant", "method": "GET", "path": "/api/employees", "key": null, "status": 403, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "error": "这项操作由店主账号完成" } }, { "seq": 43, "label": null, "date": "2026-11-18", "actor": "owner", "method": "POST", "path": "/api/employees", "key": "golden-00022-employees", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "revision": 1, "label": "临时店员", "loginName": "temp-clerk", "password": "golden-staff-pass-2026" } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "ok": true, "revision": 2, "employees": [ { "member": "owner", "label": "麦麦", "loginName": "麦麦", "operatorName": "", "userId": "", "passwordSet": true, "enabled": true, "role": "owner", "hasBusinessData": false, "businessUsage": [], "canDelete": false, "canDeactivate": false, "canReactivate": false, "deleteReason": "店主账号不能删除或停用" }, { "member": "assistant", "label": "娜娜", "loginName": "助理", "operatorName": "", "userId": "", "passwordSet": true, "enabled": true, "role": "assistant", "hasBusinessData": false, "businessUsage": [], "canDelete": true, "canDeactivate": true, "canReactivate": false, "deleteReason": "" }, { "member": "assistant2", "label": "小昊", "loginName": "助理2", "operatorName": "", "userId": "", "passwordSet": true, "enabled": true, "role": "assistant", "hasBusinessData": false, "businessUsage": [], "canDelete": true, "canDeactivate": true, "canReactivate": false, "deleteReason": "" }, { "member": "staff_", "label": "临时店员", "loginName": "temp-clerk", "operatorName": "", "userId": "", "passwordSet": true, "enabled": true, "role": "assistant", "hasBusinessData": false, "businessUsage": [], "canDelete": true, "canDeactivate": true, "canReactivate": false, "deleteReason": "" } ], "employee": { "member": "staff_", "label": "临时店员", "loginName": "temp-clerk", "operatorName": "", "userId": "", "passwordSet": true, "enabled": true, "role": "assistant", "hasBusinessData": false, "businessUsage": [], "canDelete": true, "canDeactivate": true, "canReactivate": false, "deleteReason": "" } } }, { "seq": 44, "label": "login-staff", "date": "2026-11-18", "actor": "staff", "method": "POST", "path": "/api/login", "key": "golden-00023-login-staff", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "name": "temp-clerk", "password": "golden-staff-pass-2026" } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": "mm_session=; HttpOnly; SameSite=Strict; Path=/; Max-Age=28800", "body": { "user": { "id": "", "name": "temp-clerk", "role": "assistant", "member": "staff_", "operatorName": "临时店员", "label": "临时店员" } } }, { "seq": 45, "label": "staff-state", "date": "2026-11-18", "actor": "staff", "method": "GET", "path": "/api/state", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "today": "2026-11-18", "mode": "trial", "user": { "id": "", "name": "temp-clerk", "role": "assistant", "member": "staff_", "operatorName": "临时店员", "label": "临时店员" }, "members": [ { "member": "owner", "label": "麦麦", "enabled": true }, { "member": "assistant", "label": "娜娜", "enabled": true }, { "member": "assistant2", "label": "小昊", "enabled": true }, { "member": "staff_", "label": "临时店员", "enabled": true } ], "shopSettings": { "version": 1, "revision": 2, "storeName": "黄金对照珠宝", "receiptSubtitle": "黄金对照销售单", "contact": "联系电话 000-0000", "members": [ { "member": "owner", "label": "麦麦" }, { "member": "assistant", "label": "娜娜" }, { "member": "assistant2", "label": "小昊" }, { "member": "staff_", "label": "临时店员" } ], "creditCardRatePermille": 6, "costPresets": { "jd": { "amount": "8", "payer": "owner" }, "yt": { "amount": "6", "payer": "order" }, "box": { "amount": "3", "payer": "owner" }, "steel": { "amount": "7", "payer": "owner" }, "silver": { "amount": "18", "payer": "owner" } }, "feeDefaults": { "certificate": "4", "packaging": "3", "shipping": "8", "packagingPayer": "owner" } }, "pockets": [ "现货", "金料", "找金", "回收旧料", "君宝汇", "pocket_" ], "pocketCatalog": [ { "key": "现货", "name": "现货", "active": true, "self": true, "builtin": true, "revision": 1, "created": "2026-11-18T02:00:00.000Z", "updated": "2026-11-18T02:00:00.000Z", "countUnit": null, "countSince": null }, { "key": "金料", "name": "金料", "active": true, "self": true, "builtin": true, "revision": 1, "created": "2026-11-18T02:00:00.000Z", "updated": "2026-11-18T02:00:00.000Z", "countUnit": null, "countSince": null }, { "key": "找金", "name": "找金", "active": true, "self": false, "builtin": true, "revision": 1, "created": "2026-11-18T02:00:00.000Z", "updated": "2026-11-18T02:00:00.000Z", "countUnit": null, "countSince": null }, { "key": "回收旧料", "name": "回收旧料", "active": true, "self": true, "builtin": true, "revision": 1, "created": "2026-11-18T02:00:00.000Z", "updated": "2026-11-18T02:00:00.000Z", "countUnit": null, "countSince": null }, { "key": "君宝汇", "name": "君宝汇", "active": true, "self": false, "builtin": true, "revision": 1, "created": "2026-11-18T02:00:00.000Z", "updated": "2026-11-18T02:00:00.000Z", "countUnit": null, "countSince": null }, { "key": "臻金汇", "name": "臻金汇", "active": false, "self": false, "builtin": true, "revision": 1, "created": "2026-11-18T02:00:00.000Z", "updated": "2026-11-18T02:00:00.000Z", "countUnit": null, "countSince": null }, { "key": "金金", "name": "金金", "active": false, "self": false, "builtin": true, "revision": 1, "created": "2026-11-18T02:00:00.000Z", "updated": "2026-11-18T02:00:00.000Z", "countUnit": null, "countSince": null }, { "key": "定制工厂", "name": "定制工厂", "active": false, "self": false, "builtin": true, "revision": 1, "created": "2026-11-18T02:00:00.000Z", "updated": "2026-11-18T02:00:00.000Z", "countUnit": null, "countSince": null }, { "key": "pocket_", "name": "展柜A(主)", "active": true, "self": true, "builtin": false, "revision": 2, "created": "2026-11-18T02:00:32.000Z", "updated": "2026-11-18T02:00:34.000Z", "countUnit": null, "countSince": null } ], "accounts": [ "助理微信", "助理支付宝", "助理现金", "麦麦微信", "麦麦支付宝", "麦麦现金", "麦麦信用卡", "助理2微信", "助理2支付宝", "助理2现金", "staff_微信", "staff_支付宝", "staff_现金" ], "inventory": [ { "pocket": "现货", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "金料", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "找金", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "回收旧料", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "君宝汇", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "臻金汇", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "金金", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "定制工厂", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "pocket_", "mg": 0, "reserved": 0, "available": 0 } ], "orders": [], "priceLockCounts": { "pending": 0, "delivered": 0, "cancelled": 0 }, "materialPoolSummary": { "totalMg": 0, "totalAmount": 0, "usedMg": 0, "remainingMg": 0, "shortageMg": 0, "consumedCost": 0, "remainingCost": 0, "pendingCount": 0, "purchaseCount": 0 }, "materialPoolSettlement": { "legacyReadOnly": true, "settlementDue": null, "knownSettlementDue": null, "pendingCount": 0, "pools": [] }, "materialPoolAllocation": { "version": 1, "targetVersion": 2, "migrationRequired": true, "usageCount": 0, "activeUsageCount": 0 }, "sync": { "enabled": false }, "printing": { "store": "黄金对照珠宝", "subtitle": "黄金对照销售单", "contact": "联系电话 000-0000", "width": 241, "height": 140, "offsetX": 2, "offsetY": 3, "rows": 3, "contentTop": 12, "rowHeight": 10 }, "backup": null, "movements": [] } }, { "seq": 46, "label": "employees-after-create", "date": "2026-11-18", "actor": "owner", "method": "GET", "path": "/api/employees", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "revision": 2, "employees": [ { "member": "owner", "label": "麦麦", "loginName": "麦麦", "operatorName": "", "userId": "", "passwordSet": true, "enabled": true, "role": "owner", "hasBusinessData": false, "businessUsage": [], "canDelete": false, "canDeactivate": false, "canReactivate": false, "deleteReason": "店主账号不能删除或停用" }, { "member": "assistant", "label": "娜娜", "loginName": "助理", "operatorName": "", "userId": "", "passwordSet": true, "enabled": true, "role": "assistant", "hasBusinessData": false, "businessUsage": [], "canDelete": true, "canDeactivate": true, "canReactivate": false, "deleteReason": "" }, { "member": "assistant2", "label": "小昊", "loginName": "助理2", "operatorName": "", "userId": "", "passwordSet": true, "enabled": true, "role": "assistant", "hasBusinessData": false, "businessUsage": [], "canDelete": true, "canDeactivate": true, "canReactivate": false, "deleteReason": "" }, { "member": "staff_", "label": "临时店员", "loginName": "temp-clerk", "operatorName": "", "userId": "", "passwordSet": true, "enabled": true, "role": "assistant", "hasBusinessData": false, "businessUsage": [], "canDelete": true, "canDeactivate": true, "canReactivate": false, "deleteReason": "" } ] } }, { "seq": 47, "label": null, "date": "2026-11-18", "actor": "owner", "method": "POST", "path": "/api/employees/staff_/update", "key": "golden-00024-update", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "revision": 2, "label": "临时店员甲" } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "ok": true, "revision": 3, "employees": [ { "member": "owner", "label": "麦麦", "loginName": "麦麦", "operatorName": "", "userId": "", "passwordSet": true, "enabled": true, "role": "owner", "hasBusinessData": false, "businessUsage": [], "canDelete": false, "canDeactivate": false, "canReactivate": false, "deleteReason": "店主账号不能删除或停用" }, { "member": "assistant", "label": "娜娜", "loginName": "助理", "operatorName": "", "userId": "", "passwordSet": true, "enabled": true, "role": "assistant", "hasBusinessData": false, "businessUsage": [], "canDelete": true, "canDeactivate": true, "canReactivate": false, "deleteReason": "" }, { "member": "assistant2", "label": "小昊", "loginName": "助理2", "operatorName": "", "userId": "", "passwordSet": true, "enabled": true, "role": "assistant", "hasBusinessData": false, "businessUsage": [], "canDelete": true, "canDeactivate": true, "canReactivate": false, "deleteReason": "" }, { "member": "staff_", "label": "临时店员甲", "loginName": "temp-clerk", "operatorName": "", "userId": "", "passwordSet": true, "enabled": true, "role": "assistant", "hasBusinessData": false, "businessUsage": [], "canDelete": true, "canDeactivate": true, "canReactivate": false, "deleteReason": "" } ], "employee": { "member": "staff_", "label": "临时店员甲", "loginName": "temp-clerk", "operatorName": "", "userId": "", "passwordSet": true, "enabled": true, "role": "assistant", "hasBusinessData": false, "businessUsage": [], "canDelete": true, "canDeactivate": true, "canReactivate": false, "deleteReason": "" } } }, { "seq": 48, "label": "employees-after-update", "date": "2026-11-18", "actor": "owner", "method": "GET", "path": "/api/employees", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "revision": 3, "employees": [ { "member": "owner", "label": "麦麦", "loginName": "麦麦", "operatorName": "", "userId": "", "passwordSet": true, "enabled": true, "role": "owner", "hasBusinessData": false, "businessUsage": [], "canDelete": false, "canDeactivate": false, "canReactivate": false, "deleteReason": "店主账号不能删除或停用" }, { "member": "assistant", "label": "娜娜", "loginName": "助理", "operatorName": "", "userId": "", "passwordSet": true, "enabled": true, "role": "assistant", "hasBusinessData": false, "businessUsage": [], "canDelete": true, "canDeactivate": true, "canReactivate": false, "deleteReason": "" }, { "member": "assistant2", "label": "小昊", "loginName": "助理2", "operatorName": "", "userId": "", "passwordSet": true, "enabled": true, "role": "assistant", "hasBusinessData": false, "businessUsage": [], "canDelete": true, "canDeactivate": true, "canReactivate": false, "deleteReason": "" }, { "member": "staff_", "label": "临时店员甲", "loginName": "temp-clerk", "operatorName": "", "userId": "", "passwordSet": true, "enabled": true, "role": "assistant", "hasBusinessData": false, "businessUsage": [], "canDelete": true, "canDeactivate": true, "canReactivate": false, "deleteReason": "" } ] } }, { "seq": 49, "label": null, "date": "2026-11-18", "actor": "owner", "method": "POST", "path": "/api/employees/staff_/deactivate", "key": "golden-00025-deactivate", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "revision": 3, "verified": true } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "ok": true, "revision": 4, "employees": [ { "member": "owner", "label": "麦麦", "loginName": "麦麦", "operatorName": "", "userId": "", "passwordSet": true, "enabled": true, "role": "owner", "hasBusinessData": false, "businessUsage": [], "canDelete": false, "canDeactivate": false, "canReactivate": false, "deleteReason": "店主账号不能删除或停用" }, { "member": "assistant", "label": "娜娜", "loginName": "助理", "operatorName": "", "userId": "", "passwordSet": true, "enabled": true, "role": "assistant", "hasBusinessData": false, "businessUsage": [], "canDelete": true, "canDeactivate": true, "canReactivate": false, "deleteReason": "" }, { "member": "assistant2", "label": "小昊", "loginName": "助理2", "operatorName": "", "userId": "", "passwordSet": true, "enabled": true, "role": "assistant", "hasBusinessData": false, "businessUsage": [], "canDelete": true, "canDeactivate": true, "canReactivate": false, "deleteReason": "" }, { "member": "staff_", "label": "临时店员甲", "loginName": "temp-clerk", "operatorName": "", "userId": "", "passwordSet": true, "enabled": false, "role": "assistant", "hasBusinessData": false, "businessUsage": [], "canDelete": true, "canDeactivate": false, "canReactivate": true, "deleteReason": "" } ], "employee": { "member": "staff_", "label": "临时店员甲", "loginName": "temp-clerk", "operatorName": "", "userId": "", "passwordSet": true, "enabled": false, "role": "assistant", "hasBusinessData": false, "businessUsage": [], "canDelete": true, "canDeactivate": false, "canReactivate": true, "deleteReason": "" } } }, { "seq": 50, "label": "staff-after-deactivate", "date": "2026-11-18", "actor": "staff", "method": "GET", "path": "/api/state", "key": null, "status": 401, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "error": "请先登录" } }, { "seq": 51, "label": "employees-after-deactivate", "date": "2026-11-18", "actor": "owner", "method": "GET", "path": "/api/employees", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "revision": 4, "employees": [ { "member": "owner", "label": "麦麦", "loginName": "麦麦", "operatorName": "", "userId": "", "passwordSet": true, "enabled": true, "role": "owner", "hasBusinessData": false, "businessUsage": [], "canDelete": false, "canDeactivate": false, "canReactivate": false, "deleteReason": "店主账号不能删除或停用" }, { "member": "assistant", "label": "娜娜", "loginName": "助理", "operatorName": "", "userId": "", "passwordSet": true, "enabled": true, "role": "assistant", "hasBusinessData": false, "businessUsage": [], "canDelete": true, "canDeactivate": true, "canReactivate": false, "deleteReason": "" }, { "member": "assistant2", "label": "小昊", "loginName": "助理2", "operatorName": "", "userId": "", "passwordSet": true, "enabled": true, "role": "assistant", "hasBusinessData": false, "businessUsage": [], "canDelete": true, "canDeactivate": true, "canReactivate": false, "deleteReason": "" }, { "member": "staff_", "label": "临时店员甲", "loginName": "temp-clerk", "operatorName": "", "userId": "", "passwordSet": true, "enabled": false, "role": "assistant", "hasBusinessData": false, "businessUsage": [], "canDelete": true, "canDeactivate": false, "canReactivate": true, "deleteReason": "" } ] } }, { "seq": 52, "label": null, "date": "2026-11-18", "actor": "owner", "method": "POST", "path": "/api/employees/staff_/reactivate", "key": "golden-00026-reactivate", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "revision": 4, "verified": true } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "ok": true, "revision": 5, "employees": [ { "member": "owner", "label": "麦麦", "loginName": "麦麦", "operatorName": "", "userId": "", "passwordSet": true, "enabled": true, "role": "owner", "hasBusinessData": false, "businessUsage": [], "canDelete": false, "canDeactivate": false, "canReactivate": false, "deleteReason": "店主账号不能删除或停用" }, { "member": "assistant", "label": "娜娜", "loginName": "助理", "operatorName": "", "userId": "", "passwordSet": true, "enabled": true, "role": "assistant", "hasBusinessData": false, "businessUsage": [], "canDelete": true, "canDeactivate": true, "canReactivate": false, "deleteReason": "" }, { "member": "assistant2", "label": "小昊", "loginName": "助理2", "operatorName": "", "userId": "", "passwordSet": true, "enabled": true, "role": "assistant", "hasBusinessData": false, "businessUsage": [], "canDelete": true, "canDeactivate": true, "canReactivate": false, "deleteReason": "" }, { "member": "staff_", "label": "临时店员甲", "loginName": "temp-clerk", "operatorName": "", "userId": "", "passwordSet": true, "enabled": true, "role": "assistant", "hasBusinessData": false, "businessUsage": [], "canDelete": true, "canDeactivate": true, "canReactivate": false, "deleteReason": "" } ], "employee": { "member": "staff_", "label": "临时店员甲", "loginName": "temp-clerk", "operatorName": "", "userId": "", "passwordSet": true, "enabled": true, "role": "assistant", "hasBusinessData": false, "businessUsage": [], "canDelete": true, "canDeactivate": true, "canReactivate": false, "deleteReason": "" } } }, { "seq": 53, "label": "employees-after-reactivate", "date": "2026-11-18", "actor": "owner", "method": "GET", "path": "/api/employees", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "revision": 5, "employees": [ { "member": "owner", "label": "麦麦", "loginName": "麦麦", "operatorName": "", "userId": "", "passwordSet": true, "enabled": true, "role": "owner", "hasBusinessData": false, "businessUsage": [], "canDelete": false, "canDeactivate": false, "canReactivate": false, "deleteReason": "店主账号不能删除或停用" }, { "member": "assistant", "label": "娜娜", "loginName": "助理", "operatorName": "", "userId": "", "passwordSet": true, "enabled": true, "role": "assistant", "hasBusinessData": false, "businessUsage": [], "canDelete": true, "canDeactivate": true, "canReactivate": false, "deleteReason": "" }, { "member": "assistant2", "label": "小昊", "loginName": "助理2", "operatorName": "", "userId": "", "passwordSet": true, "enabled": true, "role": "assistant", "hasBusinessData": false, "businessUsage": [], "canDelete": true, "canDeactivate": true, "canReactivate": false, "deleteReason": "" }, { "member": "staff_", "label": "临时店员甲", "loginName": "temp-clerk", "operatorName": "", "userId": "", "passwordSet": true, "enabled": true, "role": "assistant", "hasBusinessData": false, "businessUsage": [], "canDelete": true, "canDeactivate": true, "canReactivate": false, "deleteReason": "" } ] } }, { "seq": 54, "label": null, "date": "2026-11-18", "actor": "owner", "method": "POST", "path": "/api/employees/staff_/delete", "key": "golden-00027-delete", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "revision": 5, "verified": true } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "ok": true, "revision": 6, "employees": [ { "member": "owner", "label": "麦麦", "loginName": "麦麦", "operatorName": "", "userId": "", "passwordSet": true, "enabled": true, "role": "owner", "hasBusinessData": false, "businessUsage": [], "canDelete": false, "canDeactivate": false, "canReactivate": false, "deleteReason": "店主账号不能删除或停用" }, { "member": "assistant", "label": "娜娜", "loginName": "助理", "operatorName": "", "userId": "", "passwordSet": true, "enabled": true, "role": "assistant", "hasBusinessData": false, "businessUsage": [], "canDelete": true, "canDeactivate": true, "canReactivate": false, "deleteReason": "" }, { "member": "assistant2", "label": "小昊", "loginName": "助理2", "operatorName": "", "userId": "", "passwordSet": true, "enabled": true, "role": "assistant", "hasBusinessData": false, "businessUsage": [], "canDelete": true, "canDeactivate": true, "canReactivate": false, "deleteReason": "" } ] } }, { "seq": 55, "label": "employees-after-delete", "date": "2026-11-18", "actor": "owner", "method": "GET", "path": "/api/employees", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "revision": 6, "employees": [ { "member": "owner", "label": "麦麦", "loginName": "麦麦", "operatorName": "", "userId": "", "passwordSet": true, "enabled": true, "role": "owner", "hasBusinessData": false, "businessUsage": [], "canDelete": false, "canDeactivate": false, "canReactivate": false, "deleteReason": "店主账号不能删除或停用" }, { "member": "assistant", "label": "娜娜", "loginName": "助理", "operatorName": "", "userId": "", "passwordSet": true, "enabled": true, "role": "assistant", "hasBusinessData": false, "businessUsage": [], "canDelete": true, "canDeactivate": true, "canReactivate": false, "deleteReason": "" }, { "member": "assistant2", "label": "小昊", "loginName": "助理2", "operatorName": "", "userId": "", "passwordSet": true, "enabled": true, "role": "assistant", "hasBusinessData": false, "businessUsage": [], "canDelete": true, "canDeactivate": true, "canReactivate": false, "deleteReason": "" } ] } }, { "seq": 56, "label": null, "date": "2026-11-18", "actor": "owner", "method": "GET", "path": "/api/team-members", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "members": [ { "member": "owner", "label": "麦麦", "loginName": "麦麦", "operatorName": "", "userId": "", "passwordSet": true, "enabled": true, "role": "owner" }, { "member": "assistant", "label": "娜娜", "loginName": "助理", "operatorName": "", "userId": "", "passwordSet": true, "enabled": true, "role": "assistant" }, { "member": "assistant2", "label": "小昊", "loginName": "助理2", "operatorName": "", "userId": "", "passwordSet": true, "enabled": true, "role": "assistant" } ] } }, { "seq": 57, "label": null, "date": "2026-11-18", "actor": "assistant", "method": "POST", "path": "/api/team-members/assistant2/password", "key": "golden-00028-password", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "password": "golden-assistant2-new-2026", "verified": true } }, "status": 403, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "error": "这项操作由店主账号完成" } }, { "seq": 58, "label": "member-password-short", "date": "2026-11-18", "actor": "owner", "method": "POST", "path": "/api/team-members/assistant2/password", "key": "golden-00029-member-password-short", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "password": "short", "verified": true } }, "status": 400, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "error": "密码须为12~500个字符" } }, { "seq": 59, "label": null, "date": "2026-11-18", "actor": "owner", "method": "POST", "path": "/api/team-members/assistant2/password", "key": "golden-00030-password", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "password": "golden-assistant2-new-2026", "verified": true } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "ok": true, "member": "assistant2" } }, { "seq": 60, "label": "login-assistant2-new-password", "date": "2026-11-18", "actor": "assistant2", "method": "POST", "path": "/api/login", "key": "golden-00031-login-assistant2-new-password", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "name": "小昊", "password": "golden-assistant2-new-2026" } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": "mm_session=; HttpOnly; SameSite=Strict; Path=/; Max-Age=28800", "body": { "user": { "id": "", "name": "助理2", "role": "assistant", "member": "assistant2", "operatorName": "小昊", "label": "小昊" } } }, { "seq": 61, "label": "password-wrong-current", "date": "2026-11-18", "actor": "assistant", "method": "POST", "path": "/api/password", "key": "golden-00032-password-wrong-current", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "current": "wrong-current-pass", "password": "golden-assistant-new-pass" } }, "status": 400, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "error": "原密码不正确" } }, { "seq": 62, "label": null, "date": "2026-11-18", "actor": "assistant", "method": "POST", "path": "/api/password", "key": "golden-00033-password", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "current": "golden-assistant-pass-2026", "password": "golden-assistant-new-pass" } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "ok": true } }, { "seq": 63, "label": "state-after-own-password-change", "date": "2026-11-18", "actor": "assistant", "method": "GET", "path": "/api/state", "key": null, "status": 401, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "error": "请先登录" } }, { "seq": 64, "label": "login-assistant-new-password", "date": "2026-11-18", "actor": "assistant", "method": "POST", "path": "/api/login", "key": "golden-00034-login-assistant-new-password", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "name": "娜娜", "password": "golden-assistant-new-pass" } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": "mm_session=; HttpOnly; SameSite=Strict; Path=/; Max-Age=28800", "body": { "user": { "id": "", "name": "助理", "role": "assistant", "member": "assistant", "operatorName": "娜娜", "label": "娜娜" } } }, { "seq": 65, "note": "section", "name": "openingStock" }, { "seq": 66, "label": null, "date": "2026-11-18", "actor": "owner", "method": "POST", "path": "/api/stock", "key": "golden-00035-stock", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "date": "2026-11-18", "kind": "opening", "pocket": "现货", "grams": "100", "note": "黄金对照起始库存" } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "group": "" } }, { "seq": 67, "label": null, "date": "2026-11-18", "actor": "owner", "method": "POST", "path": "/api/stock", "key": "golden-00036-stock", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "date": "2026-11-18", "kind": "opening", "pocket": "金料", "grams": "50", "note": "黄金对照起始金料" } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "group": "" } }, { "seq": 68, "label": null, "date": "2026-11-18", "actor": "owner", "method": "POST", "path": "/api/stock", "key": "golden-00037-stock", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "date": "2026-11-18", "kind": "opening", "pocket": "pocket_", "grams": "20", "note": "展柜起始" } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "group": "" } }, { "seq": 69, "label": null, "date": "2026-11-18", "actor": "owner", "method": "POST", "path": "/api/stock", "key": "golden-00038-stock", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "date": "2026-11-18", "kind": "transfer", "pocket": "现货", "to": "金料", "grams": "5", "note": "调拨" } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "group": "" } }, { "seq": 70, "label": null, "date": "2026-11-18", "actor": "assistant", "method": "POST", "path": "/api/stock", "key": "golden-00039-stock", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "date": "2026-11-18", "kind": "increase", "pocket": "现货", "grams": "2.5", "note": "娜娜手动入库" } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "group": "" } }, { "seq": 71, "label": null, "date": "2026-11-18", "actor": "assistant", "method": "POST", "path": "/api/stock", "key": "golden-00040-stock", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "date": "2026-11-18", "kind": "decrease", "pocket": "现货", "grams": "0.5", "note": "娜娜手动出库" } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "group": "" } }, { "seq": 72, "label": "assistant-opening-denied", "date": "2026-11-18", "actor": "assistant2", "method": "POST", "path": "/api/stock", "key": "golden-00041-assistant-opening-denied", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "date": "2026-11-18", "kind": "opening", "pocket": "现货", "grams": "1" } }, "status": 403, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "error": "这项操作由店主账号完成" } }, { "seq": 73, "label": "inventory-d1", "date": "2026-11-18", "actor": "owner", "method": "GET", "path": "/api/inventory", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "date": "2026-11-18", "yesterdayDate": "2026-11-17", "pockets": [ "现货", "金料", "找金", "回收旧料", "君宝汇", "pocket_" ], "current": [ { "pocket": "现货", "mg": 97000, "reserved": 0, "available": 97000 }, { "pocket": "金料", "mg": 55000, "reserved": 0, "available": 55000 }, { "pocket": "找金", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "回收旧料", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "君宝汇", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "pocket_", "mg": 20000, "reserved": 0, "available": 20000 } ], "yesterday": null, "todaySnapshot": null, "revision": "90693bf9d44c02f9fd1db08d68722efe4b5a850cdb12814e2aad224f0779727a", "legacyInventory": [], "canReview": true, "automaticSnapshot": { "enabled": false, "time": "23:50", "timeZone": "Asia/Shanghai", "date": "2026-11-18", "status": "stopped", "lastSuccess": null, "lastError": null, "nextAttemptAt": null } } }, { "seq": 74, "label": "movements-d1", "date": "2026-11-18", "actor": "owner", "method": "GET", "path": "/api/inventory/movements", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "pocket": "", "pockets": [ { "pocket": "现货", "active": true }, { "pocket": "金料", "active": true }, { "pocket": "找金", "active": true }, { "pocket": "回收旧料", "active": true }, { "pocket": "君宝汇", "active": true }, { "pocket": "pocket_", "active": true } ], "kind": "all", "hideDeleted": false, "from": "", "to": "", "total": 7, "shown": 7, "limit": 100, "pageSize": 100, "page": 1, "totalPages": 1, "hasPrev": false, "hasNext": false, "movements": [ { "id": "", "group_id": "", "order_id": null, "date": "2026-11-18", "pocket": "现货", "mg": -500, "kind": "decrease", "note": "娜娜手动出库", "purchase_cost": null, "actor": "助理", "created": "2026-11-18T02:01:05.000Z", "groupId": "", "revision": 1, "manual": true, "current": true, "status": "active", "reversal": false, "canEdit": true, "canDelete": true, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": null, "date": "2026-11-18", "pocket": "现货", "mg": 2500, "kind": "increase", "note": "娜娜手动入库", "purchase_cost": null, "actor": "助理", "created": "2026-11-18T02:01:04.000Z", "groupId": "", "revision": 1, "manual": true, "current": true, "status": "active", "reversal": false, "canEdit": true, "canDelete": true, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": null, "date": "2026-11-18", "pocket": "金料", "mg": 5000, "kind": "transfer", "note": "调拨", "purchase_cost": null, "actor": "麦麦", "created": "2026-11-18T02:01:03.000Z", "groupId": "", "revision": 1, "manual": true, "current": true, "status": "active", "reversal": false, "canEdit": true, "canDelete": true, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": null, "date": "2026-11-18", "pocket": "现货", "mg": -5000, "kind": "transfer", "note": "调拨", "purchase_cost": null, "actor": "麦麦", "created": "2026-11-18T02:01:03.000Z", "groupId": "", "revision": 1, "manual": true, "current": true, "status": "active", "reversal": false, "canEdit": true, "canDelete": true, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": null, "date": "2026-11-18", "pocket": "pocket_", "mg": 20000, "kind": "opening", "note": "展柜起始", "purchase_cost": null, "actor": "麦麦", "created": "2026-11-18T02:01:02.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": null, "date": "2026-11-18", "pocket": "金料", "mg": 50000, "kind": "opening", "note": "黄金对照起始金料", "purchase_cost": null, "actor": "麦麦", "created": "2026-11-18T02:01:01.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": null, "date": "2026-11-18", "pocket": "现货", "mg": 100000, "kind": "opening", "note": "黄金对照起始库存", "purchase_cost": null, "actor": "麦麦", "created": "2026-11-18T02:01:00.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false } ] } }, { "seq": 75, "note": "section", "name": "materialPurchasesD1" }, { "seq": 76, "label": null, "date": "2026-11-18", "actor": "assistant", "method": "POST", "path": "/api/material-purchases", "key": "golden-00042-material-purchases", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "date": "2026-11-18", "grams": "10", "total": "9000", "payer": "assistant", "allocations": [ { "member": "assistant", "amount": "9000" } ], "note": "娜娜购料" } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "", "poolId": "2026-11-18", "pool": { "id": "2026-11-18", "date": "2026-11-18", "totalMg": 10000, "totalAmount": 900000, "averageRate": 90000, "usedMg": 0, "remainingMg": 10000, "shortageMg": 0, "consumedCost": 0, "remainingCost": 900000, "status": "unused", "revision": "0e321cf14889f6a24b63cbba1ec96623b1705edc520a42d559c605f61f9e560b", "purchases": [ { "id": "", "pool_id": "2026-11-18", "date": "2026-11-18", "mg": 10000, "amount": 900000, "payer": "assistant", "note": "娜娜购料", "actor": "助理", "created": "2026-11-18T02:01:09.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-18T02:01:09.000Z", "member": "assistant", "canEdit": true, "canRequestChange": false, "ownerReviewRequired": false } ], "usages": [], "settlements": [], "byPayer": { "owner": { "purchased": 0, "consumed": 0, "remaining": 0 }, "assistant": { "purchased": 900000, "consumed": 0, "remaining": 900000 } }, "settlement": { "legacyReadOnly": true, "pending": false, "settlementDue": null }, "legacyReadOnly": true } } }, { "seq": 77, "label": null, "date": "2026-11-18", "actor": "owner", "method": "POST", "path": "/api/material-purchases", "key": "golden-00043-material-purchases", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "date": "2026-11-18", "grams": "20", "total": "18200", "payer": "owner", "note": "麦麦购料" } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "", "poolId": "2026-11-18", "pool": { "id": "2026-11-18", "date": "2026-11-18", "totalMg": 30000, "totalAmount": 2720000, "averageRate": 90667, "usedMg": 0, "remainingMg": 30000, "shortageMg": 0, "consumedCost": 0, "remainingCost": 2720000, "status": "unused", "revision": "9655756a9b9e645bb4674d581527be550dda252e21d90d2f298bce50e094c878", "purchases": [ { "id": "", "pool_id": "2026-11-18", "date": "2026-11-18", "mg": 10000, "amount": 900000, "payer": "assistant", "note": "娜娜购料", "actor": "助理", "created": "2026-11-18T02:01:09.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-18T02:01:09.000Z", "canEdit": true, "canRequestChange": false, "ownerReviewRequired": false, "member": "assistant" }, { "id": "", "pool_id": "2026-11-18", "date": "2026-11-18", "mg": 20000, "amount": 1820000, "payer": "owner", "note": "麦麦购料", "actor": "麦麦", "created": "2026-11-18T02:01:10.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-18T02:01:10.000Z", "canEdit": true, "canRequestChange": false, "ownerReviewRequired": false, "member": "owner" } ], "usages": [], "settlements": [], "byPayer": { "owner": { "purchased": 1820000, "consumed": 0, "remaining": 1820000 }, "assistant": { "purchased": 900000, "consumed": 0, "remaining": 900000 } }, "settlement": { "assistantInventoryCredit": 900000, "transferred": 0, "settlementDue": -900000, "pending": false }, "legacyReadOnly": true } } }, { "seq": 78, "label": "material-pools-d1", "date": "2026-11-18", "actor": "owner", "method": "GET", "path": "/api/material-pools", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "from": "2000-01-01", "date": "2026-11-18", "rows": [ { "id": "2026-11-18", "date": "2026-11-18", "totalMg": 30000, "totalAmount": 2720000, "averageRate": 90667, "usedMg": 0, "remainingMg": 30000, "shortageMg": 0, "consumedCost": 0, "remainingCost": 2720000, "status": "unused", "revision": "9655756a9b9e645bb4674d581527be550dda252e21d90d2f298bce50e094c878", "purchases": [ { "id": "", "pool_id": "2026-11-18", "date": "2026-11-18", "mg": 10000, "amount": 900000, "payer": "assistant", "note": "娜娜购料", "actor": "助理", "created": "2026-11-18T02:01:09.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-18T02:01:09.000Z", "canEdit": true, "canRequestChange": false, "ownerReviewRequired": false, "member": "assistant" }, { "id": "", "pool_id": "2026-11-18", "date": "2026-11-18", "mg": 20000, "amount": 1820000, "payer": "owner", "note": "麦麦购料", "actor": "麦麦", "created": "2026-11-18T02:01:10.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-18T02:01:10.000Z", "canEdit": true, "canRequestChange": false, "ownerReviewRequired": false, "member": "owner" } ], "usages": [], "settlements": [], "byPayer": { "owner": { "purchased": 1820000, "consumed": 0, "remaining": 1820000 }, "assistant": { "purchased": 900000, "consumed": 0, "remaining": 900000 } }, "settlement": { "assistantInventoryCredit": 900000, "transferred": 0, "settlementDue": -900000, "pending": false }, "legacyReadOnly": true } ], "rolling": { "enabled": false, "cutover": null, "canEnable": true, "reason": "" }, "summary": { "totalMg": 30000, "totalAmount": 2720000, "usedMg": 0, "remainingMg": 30000, "shortageMg": 0, "consumedCost": 0, "remainingCost": 2720000, "pendingCount": 0, "purchaseCount": 2 }, "settlement": { "legacyReadOnly": true, "assistantInventoryCredit": 900000, "knownAssistantInventoryCredit": 900000, "transferred": 0, "settlementDue": -900000, "knownSettlementDue": -900000, "pendingCount": 0, "pools": [ { "id": "2026-11-18", "date": "2026-11-18", "assistantInventoryCredit": 900000, "transferred": 0, "settlementDue": -900000, "pending": false } ] } } }, { "seq": 79, "label": "material-pool-detail-assistant", "date": "2026-11-18", "actor": "assistant", "method": "GET", "path": "/api/material-pools/2026-11-18", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "2026-11-18", "date": "2026-11-18", "totalMg": 30000, "totalAmount": 2720000, "averageRate": 90667, "usedMg": 0, "remainingMg": 30000, "shortageMg": 0, "consumedCost": 0, "remainingCost": 2720000, "status": "unused", "revision": "9655756a9b9e645bb4674d581527be550dda252e21d90d2f298bce50e094c878", "purchases": [ { "id": "", "pool_id": "2026-11-18", "date": "2026-11-18", "mg": 10000, "amount": 900000, "payer": "assistant", "note": "娜娜购料", "actor": "助理", "created": "2026-11-18T02:01:09.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-18T02:01:09.000Z", "member": "assistant", "canEdit": true, "canRequestChange": false, "ownerReviewRequired": false }, { "id": "", "date": "2026-11-18", "mg": 20000, "amount": 1820000, "payer": "owner", "shared": true, "canEdit": false, "canRequestChange": false } ], "usages": [], "settlements": [], "byPayer": { "owner": { "purchased": 1820000, "consumed": 0, "remaining": 1820000 }, "assistant": { "purchased": 900000, "consumed": 0, "remaining": 900000 } }, "settlement": { "legacyReadOnly": true, "pending": false, "settlementDue": null }, "eligibleMember": "assistant", "eligibleRemainingMg": 30000, "eligibleRemainingAmount": 2720000, "eligibleAverageRate": 90667, "eligibleStatus": "ready", "legacyReadOnly": true } }, { "seq": 80, "label": "purchase-detail", "date": "2026-11-18", "actor": "owner", "method": "GET", "path": "/api/material-purchases/", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "purchase": { "id": "", "pool_id": "2026-11-18", "date": "2026-11-18", "mg": 10000, "amount": 900000, "payer": "assistant", "note": "娜娜购料", "actor": "助理", "created": "2026-11-18T02:01:09.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-18T02:01:09.000Z" }, "pool": { "id": "2026-11-18", "date": "2026-11-18", "totalMg": 30000, "totalAmount": 2720000, "averageRate": 90667, "usedMg": 0, "remainingMg": 30000, "shortageMg": 0, "consumedCost": 0, "remainingCost": 2720000, "status": "unused", "revision": "9655756a9b9e645bb4674d581527be550dda252e21d90d2f298bce50e094c878", "purchases": [ { "id": "", "pool_id": "2026-11-18", "date": "2026-11-18", "mg": 10000, "amount": 900000, "payer": "assistant", "note": "娜娜购料", "actor": "助理", "created": "2026-11-18T02:01:09.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-18T02:01:09.000Z", "canEdit": true, "canRequestChange": false, "ownerReviewRequired": false, "member": "assistant" }, { "id": "", "pool_id": "2026-11-18", "date": "2026-11-18", "mg": 20000, "amount": 1820000, "payer": "owner", "note": "麦麦购料", "actor": "麦麦", "created": "2026-11-18T02:01:10.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-18T02:01:10.000Z", "canEdit": true, "canRequestChange": false, "ownerReviewRequired": false, "member": "owner" } ], "usages": [], "settlements": [], "byPayer": { "owner": { "purchased": 1820000, "consumed": 0, "remaining": 1820000 }, "assistant": { "purchased": 900000, "consumed": 0, "remaining": 900000 } }, "settlement": { "assistantInventoryCredit": 900000, "transferred": 0, "settlementDue": -900000, "pending": false }, "legacyReadOnly": true }, "history": [ { "action": "登记实际购料", "actor": "助理", "detail": { "before": null, "after": { "id": "", "pool_id": "2026-11-18", "date": "2026-11-18", "mg": 10000, "amount": 900000, "payer": "assistant", "note": "娜娜购料", "actor": "助理", "created": "2026-11-18T02:01:09.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-18T02:01:09.000Z" }, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-18T02:01:09.000Z" } ] } }, { "seq": 81, "label": "material-pool-quote", "date": "2026-11-18", "actor": "assistant", "method": "POST", "path": "/api/material-pools/quote", "key": null, "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "member": "assistant", "date": "2026-11-18", "entries": [ { "lineIndex": 0, "poolId": "2026-11-18", "mg": 3000 } ] } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "date": "2026-11-18", "member": "assistant", "entries": [ { "lineIndex": 0, "poolId": "2026-11-18", "mg": 3000, "amount": 272000, "status": "allocated", "allocations": [ { "payer": "assistant", "amount": 272000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 3000, "amount": 272000, "allocations": [ { "payer": "assistant", "amount": 272000 } ], "batches": [ { "purchaseId": "", "mg": 3000 } ], "basisAmount": 2720000, "basisMg": 30000, "prefixMg": 0, "prefixAmount": 0, "averageRate": 90667, "poolId": "2026-11-18" } ] } ], "pools": [ { "poolId": "2026-11-18", "revision": "9655756a9b9e645bb4674d581527be550dda252e21d90d2f298bce50e094c878", "publicRemainingMg": 27000, "publicRemainingAmount": 2448000, "personalRemainingMg": 0, "personalRemainingAmount": 0, "eligibleRemainingMg": 27000, "before": { "publicRemainingMg": 30000, "publicRemainingAmount": 2720000, "personalRemainingMg": 0, "personalRemainingAmount": 0, "eligibleRemainingMg": 30000 } } ] } }, { "seq": 82, "note": "section", "name": "ordersD1" }, { "seq": 83, "label": "paper-number", "date": "2026-11-18", "actor": "assistant", "method": "GET", "path": "/api/paper-number", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "number": "20261118001" } }, { "seq": 84, "label": "paper-number-date", "date": "2026-11-18", "actor": "owner", "method": "GET", "path": "/api/paper-number?date=2026-11-18", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "number": "20261118001" } }, { "seq": 85, "label": "issue-per-gram", "date": "2026-11-18", "actor": "assistant", "method": "POST", "path": "/api/orders/issue", "key": "golden-00044-issue-per-gram", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "date": "2026-11-18", "customer": "对照客户甲", "internal_note": "#复购 内部备注", "salesperson": "娜娜", "payment_account": "助理微信", "rounding_mode": "yuan", "discount": "0", "lines": [ { "name": "足金999", "unit": "g", "quantity": "3.250", "pocket": "现货", "payer": "assistant", "pricingMode": "auto", "goldPrice": "950", "laborRate": "30", "laborMode": "gram", "pieces": "1", "charges": [ { "name": "刻字", "amount": "20" }, { "name": "包装", "amount": "5.5" } ], "costParts": { "material": "", "labor": "40", "accessories": "2", "other": "0" }, "costMaterial": { "mode": "gram", "rate": "880" }, "costLabor": { "mode": "total" }, "costPayers": { "material": "owner", "labor": "assistant" } } ], "fee_items": [ { "key": "shipping", "note": "快递", "amount": "12", "payer": "assistant" } ], "note": "客户单备注" } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "" } }, { "seq": 86, "label": "issue-per-piece", "date": "2026-11-18", "actor": "assistant2", "method": "POST", "path": "/api/orders/issue", "key": "golden-00045-issue-per-piece", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "date": "2026-11-18", "customer": "对照客户乙", "internal_note": "按件内部备注", "salesperson": "小昊", "payment_account": "助理2支付宝", "rounding_mode": "cent", "discount": "15.37", "lines": [ { "name": "足金999", "unit": "g", "quantity": "2", "pocket": "现货", "payer": "assistant2", "pricingMode": "auto", "goldPrice": "955.55", "laborRate": "88", "laborMode": "piece", "pieces": "2", "cost": "1800" }, { "name": "纯银925", "unit": "件", "quantity": "3", "pocket": "", "payer": "assistant2", "sale": "99.9", "cost": "30" } ], "fee_items": [] } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "" } }, { "seq": 87, "label": "issue-fixed-credit-card", "date": "2026-11-18", "actor": "owner", "method": "POST", "path": "/api/orders/issue", "key": "golden-00046-issue-fixed-credit-card", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "date": "2026-11-18", "member": "assistant", "customer": "对照客户丙", "internal_note": "一口价备注", "salesperson": "麦麦", "payment_account": "麦麦信用卡", "credit_card_fee_payer": "owner", "rounding_mode": "yuan", "discount": "3", "lines": [ { "name": "金镶玉吊坠", "unit": "件", "quantity": "1", "pocket": "", "payer": "owner", "sale": "2888.4", "cost": "1500", "priceNote": "一口价" } ], "fee_items": [] } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "" } }, { "seq": 88, "label": "issue-material-pool", "date": "2026-11-18", "actor": "assistant", "method": "POST", "path": "/api/orders/issue", "key": "golden-00047-issue-material-pool", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "date": "2026-11-18", "customer": "对照客户丁", "internal_note": "料池单备注", "salesperson": "娜娜", "payment_account": "助理现金", "rounding_mode": "cent", "discount": "0", "lines": [ { "name": "足金999", "unit": "g", "quantity": "3", "pocket": "", "payer": "assistant", "pricingMode": "manual", "sale": "3300", "costParts": { "material": "", "labor": "0", "accessories": "0", "other": "0" }, "costMaterial": { "mode": "pool", "poolId": "2026-11-18" } } ], "fee_items": [] } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "" } }, { "seq": 89, "label": "save-draft", "date": "2026-11-18", "actor": "owner", "method": "POST", "path": "/api/orders", "key": "golden-00048-save-draft", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "date": "2026-11-18", "customer": "对照草稿客户", "internal_note": "草稿单备注", "salesperson": "麦麦", "payment_account": "麦麦现金", "lines": [ { "name": "足金手镯", "unit": "g", "quantity": "10", "pocket": "pocket_", "payer": "owner", "sale": "9800", "cost": "9000" } ], "fee_items": [] } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "" } }, { "seq": 90, "label": "draft-detail", "date": "2026-11-18", "actor": "owner", "method": "GET", "path": "/api/orders/", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照草稿客户", "salesperson": "麦麦", "note": "", "paper_number": "20261118005", "status": "draft", "lines": [ { "name": "足金手镯", "code": "", "unit": "g", "quantity": 10000, "pocket": "pocket_", "payer": "owner", "cost": 900000, "sale": 980000, "baseSale": 980000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 980000, "revision": 1, "reviewed_revision": 0, "created": "2026-11-18T02:01:21.000Z", "delivered_date": null, "returned_date": null, "paper_date": "2026-11-18", "payment_account": "麦麦现金", "fee_items": [], "fees_date": "", "rounding_mode": "yuan", "internal_note": "草稿单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "owner", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": null, "ownershipPending": null, "ownershipApproved": null, "payments": [], "expenses": [], "settlements": [], "corrections": [], "received": 0, "refunded": 0, "netReceived": 0, "balance": 980000, "rounding_adjustment": 0, "goodsCost": 900000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 900000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 80000, "profit": 0, "knownProfit": 0, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "audit": [ { "action": "保存草稿", "actor": "麦麦", "detail": { "revision": 1, "actorIdentity": { "id": "", "role": "owner", "member": "owner" } }, "created": "2026-11-18T02:01:21.000Z" } ], "sync": { "revision": 1, "done_revision": 0, "error": null, "updated": "2026-11-18T02:01:21.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } } }, { "seq": 91, "label": "issue-from-draft", "date": "2026-11-18", "actor": "owner", "method": "POST", "path": "/api/orders/issue", "key": "golden-00049-issue-from-draft", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "date": "2026-11-18", "customer": "对照草稿客户", "internal_note": "草稿单备注", "salesperson": "麦麦", "payment_account": "麦麦现金", "lines": [ { "name": "足金手镯", "unit": "g", "quantity": "10", "pocket": "pocket_", "payer": "owner", "sale": "9800", "cost": "9000" } ], "fee_items": [], "id": "", "revision": 1 } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "" } }, { "seq": 92, "label": "issue-to-cancel", "date": "2026-11-18", "actor": "assistant2", "method": "POST", "path": "/api/orders/issue", "key": "golden-00050-issue-to-cancel", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "date": "2026-11-18", "customer": "对照取消客户", "internal_note": "取消单备注", "salesperson": "小昊", "payment_account": "助理2现金", "rounding_mode": "cent", "lines": [ { "name": "足金戒指", "unit": "g", "quantity": "1.5", "pocket": "现货", "payer": "assistant2", "sale": "1500", "cost": "1300" } ], "fee_items": [] } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "" } }, { "seq": 93, "label": "issue-for-after-sale", "date": "2026-11-18", "actor": "assistant2", "method": "POST", "path": "/api/orders/issue", "key": "golden-00051-issue-for-after-sale", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "date": "2026-11-18", "customer": "对照售后订单客户", "internal_note": "售后单备注", "salesperson": "小昊", "payment_account": "助理2微信", "rounding_mode": "cent", "lines": [ { "name": "足金手链", "unit": "g", "quantity": "5", "pocket": "现货", "payer": "assistant2", "sale": "5000", "costParts": { "material": "4400", "labor": "100", "accessories": "0", "other": "0" } } ], "fee_items": [] } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "" } }, { "seq": 94, "label": "issue-to-reject", "date": "2026-11-18", "actor": "assistant", "method": "POST", "path": "/api/orders/issue", "key": "golden-00052-issue-to-reject", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "date": "2026-11-18", "customer": "对照驳回客户", "internal_note": "驳回单备注", "salesperson": "娜娜", "payment_account": "助理支付宝", "rounding_mode": "cent", "lines": [ { "name": "足金耳钉", "unit": "g", "quantity": "0.8", "pocket": "现货", "payer": "assistant", "sale": "820", "cost": "700" } ], "fee_items": [] } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "" } }, { "seq": 95, "label": "save-draft-steps", "date": "2026-11-18", "actor": "owner", "method": "POST", "path": "/api/orders", "key": "golden-00053-save-draft-steps", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "date": "2026-11-18", "customer": "对照分步客户", "internal_note": "分步单备注", "salesperson": "麦麦", "payment_account": "麦麦支付宝", "rounding_mode": "cent", "lines": [ { "name": "足金项链", "unit": "g", "quantity": "4", "pocket": "现货", "payer": "owner", "sale": "4000", "cost": "3500" } ], "fee_items": [] } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "" } }, { "seq": 96, "label": "steps-draft", "date": "2026-11-18", "actor": "owner", "method": "GET", "path": "/api/orders/", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照分步客户", "salesperson": "麦麦", "note": "", "paper_number": "20261118009", "status": "draft", "lines": [ { "name": "足金项链", "code": "", "unit": "g", "quantity": 4000, "pocket": "现货", "payer": "owner", "cost": 350000, "sale": 400000, "baseSale": 400000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 400000, "revision": 1, "reviewed_revision": 0, "created": "2026-11-18T02:01:27.000Z", "delivered_date": null, "returned_date": null, "paper_date": "2026-11-18", "payment_account": "麦麦支付宝", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "分步单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "owner", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": null, "ownershipPending": null, "ownershipApproved": null, "payments": [], "expenses": [], "settlements": [], "corrections": [], "received": 0, "refunded": 0, "netReceived": 0, "balance": 400000, "rounding_adjustment": 0, "goodsCost": 350000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 350000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 0, "knownProfit": 0, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "audit": [ { "action": "保存草稿", "actor": "麦麦", "detail": { "revision": 1, "actorIdentity": { "id": "", "role": "owner", "member": "owner" } }, "created": "2026-11-18T02:01:27.000Z" } ], "sync": { "revision": 1, "done_revision": 0, "error": null, "updated": "2026-11-18T02:01:27.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } } }, { "seq": 97, "label": "steps-confirm", "date": "2026-11-18", "actor": "owner", "method": "POST", "path": "/api/orders//confirm", "key": "golden-00054-steps-confirm", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "date": "2026-11-18" } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "" } }, { "seq": 98, "label": "steps-confirmed", "date": "2026-11-18", "actor": "owner", "method": "GET", "path": "/api/orders/", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照分步客户", "salesperson": "麦麦", "note": "", "paper_number": "20261118009", "status": "confirmed", "lines": [ { "name": "足金项链", "code": "", "unit": "g", "quantity": 4000, "pocket": "现货", "payer": "owner", "cost": 350000, "sale": 400000, "baseSale": 400000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 400000, "revision": 2, "reviewed_revision": 0, "created": "2026-11-18T02:01:27.000Z", "delivered_date": null, "returned_date": null, "paper_date": "2026-11-18", "payment_account": "麦麦支付宝", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "分步单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "owner", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": null, "ownershipPending": null, "ownershipApproved": null, "payments": [], "expenses": [], "settlements": [], "corrections": [], "received": 0, "refunded": 0, "netReceived": 0, "balance": 400000, "rounding_adjustment": 0, "goodsCost": 350000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 350000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 0, "knownProfit": 0, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "audit": [ { "action": "confirm", "actor": "麦麦", "detail": { "date": "2026-11-18", "revision": 2, "actorIdentity": { "id": "", "role": "owner", "member": "owner" } }, "created": "2026-11-18T02:01:29.000Z" }, { "action": "保存草稿", "actor": "麦麦", "detail": { "revision": 1, "actorIdentity": { "id": "", "role": "owner", "member": "owner" } }, "created": "2026-11-18T02:01:27.000Z" } ], "sync": { "revision": 2, "done_revision": 0, "error": null, "updated": "2026-11-18T02:01:29.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } } }, { "seq": 99, "label": "steps-receipt-deposit", "date": "2026-11-18", "actor": "owner", "method": "POST", "path": "/api/orders//receipt", "key": "golden-00055-steps-receipt-deposit", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "date": "2026-11-18", "amount": "1000", "account": "麦麦支付宝", "verified": true, "reference": "定金" } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "" } }, { "seq": 100, "label": "steps-receipt-too-much", "date": "2026-11-18", "actor": "owner", "method": "POST", "path": "/api/orders//receipt", "key": "golden-00056-steps-receipt-too-much", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "date": "2026-11-18", "amount": "99999", "account": "麦麦支付宝", "verified": true } }, "status": 400, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "error": "金额超过本单待收/待退款余额" } }, { "seq": 101, "label": "steps-receipt-balance", "date": "2026-11-18", "actor": "owner", "method": "POST", "path": "/api/orders//receipt", "key": "golden-00057-steps-receipt-balance", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "date": "2026-11-18", "amount": "3000", "account": "麦麦信用卡", "credit_card_fee_payer": "owner", "verified": true, "reference": "尾款" } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "" } }, { "seq": 102, "label": "steps-complete", "date": "2026-11-18", "actor": "owner", "method": "POST", "path": "/api/orders//complete", "key": "golden-00058-steps-complete", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "date": "2026-11-18", "verified": true } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "" } }, { "seq": 103, "label": "steps-delivered", "date": "2026-11-18", "actor": "owner", "method": "GET", "path": "/api/orders/", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照分步客户", "salesperson": "麦麦", "note": "", "paper_number": "20261118009", "status": "delivered", "lines": [ { "name": "足金项链", "code": "", "unit": "g", "quantity": 4000, "pocket": "现货", "payer": "owner", "cost": 350000, "sale": 400000, "baseSale": 400000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 400000, "revision": 5, "reviewed_revision": 0, "created": "2026-11-18T02:01:27.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "麦麦支付宝", "fee_items": [ { "key": "card_fee:", "system": "credit_card", "source_kind": "payment", "source_id": "", "date": "2026-11-18", "amount": 1800, "payer": "owner", "note": "信用卡手续费(6‰)", "rate_permille": 6, "status": "recorded", "expense_id": "" } ], "fees_date": "", "rounding_mode": "cent", "internal_note": "分步单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "owner", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": null, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 100000, "account": "麦麦支付宝", "reference": "定金", "actor": "麦麦", "created": "2026-11-18T02:01:31.000Z" }, { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 300000, "account": "麦麦信用卡", "reference": "尾款", "actor": "麦麦", "created": "2026-11-18T02:01:33.000Z" } ], "expenses": [ { "id": "", "order_id": "", "date": "2026-11-18", "amount": 1800, "payer": "owner", "note": "信用卡手续费(6‰)", "actor": "麦麦", "created": "2026-11-18T02:01:33.000Z" } ], "settlements": [], "corrections": [], "received": 400000, "refunded": 0, "netReceived": 400000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 350000, "directCost": 1800, "materialCostPending": false, "knownGoodsCost": 350000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 48200, "profit": 48200, "knownProfit": 48200, "ownerCost": 351800, "ownerDirect": 400000, "ownerCredit": 400000, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "audit": [ { "action": "complete", "actor": "麦麦", "detail": { "date": "2026-11-18", "verified": true, "revision": 5, "actorIdentity": { "id": "", "role": "owner", "member": "owner" } }, "created": "2026-11-18T02:01:34.000Z" }, { "action": "deliver", "actor": "麦麦", "detail": { "date": "2026-11-18", "verified": true, "revision": 5, "actorIdentity": { "id": "", "role": "owner", "member": "owner" } }, "created": "2026-11-18T02:01:34.000Z" }, { "action": "receipt", "actor": "麦麦", "detail": { "date": "2026-11-18", "amount": "3000", "account": "麦麦信用卡", "credit_card_fee_payer": "owner", "verified": true, "reference": "尾款", "revision": 4, "actorIdentity": { "id": "", "role": "owner", "member": "owner" } }, "created": "2026-11-18T02:01:33.000Z" }, { "action": "receipt", "actor": "麦麦", "detail": { "date": "2026-11-18", "amount": "1000", "account": "麦麦支付宝", "verified": true, "reference": "定金", "revision": 3, "actorIdentity": { "id": "", "role": "owner", "member": "owner" } }, "created": "2026-11-18T02:01:31.000Z" }, { "action": "confirm", "actor": "麦麦", "detail": { "date": "2026-11-18", "revision": 2, "actorIdentity": { "id": "", "role": "owner", "member": "owner" } }, "created": "2026-11-18T02:01:29.000Z" }, { "action": "保存草稿", "actor": "麦麦", "detail": { "revision": 1, "actorIdentity": { "id": "", "role": "owner", "member": "owner" } }, "created": "2026-11-18T02:01:27.000Z" } ], "sync": { "revision": 5, "done_revision": 0, "error": null, "updated": "2026-11-18T02:01:34.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } } }, { "seq": 104, "label": "issue-invalid-quantity", "date": "2026-11-18", "actor": "assistant", "method": "POST", "path": "/api/orders/issue", "key": "golden-00059-issue-invalid-quantity", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "date": "2026-11-18", "customer": "对照客户甲", "internal_note": "#复购 内部备注", "salesperson": "娜娜", "payment_account": "助理微信", "rounding_mode": "yuan", "discount": "0", "lines": [ { "name": "足金999", "unit": "g", "quantity": "-1", "pocket": "现货", "payer": "assistant", "pricingMode": "auto", "goldPrice": "950", "laborRate": "30", "laborMode": "gram", "pieces": "1", "charges": [ { "name": "刻字", "amount": "20" }, { "name": "包装", "amount": "5.5" } ], "costParts": { "material": "", "labor": "40", "accessories": "2", "other": "0" }, "costMaterial": { "mode": "gram", "rate": "880" }, "costLabor": { "mode": "total" }, "costPayers": { "material": "owner", "labor": "assistant" } } ], "fee_items": [ { "key": "shipping", "note": "快递", "amount": "12", "payer": "assistant" } ], "note": "客户单备注" } }, "status": 400, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "error": "第1行克重须为数字,最多3位小数" } }, { "seq": 105, "label": "order-detail", "date": "2026-11-18", "actor": "owner", "method": "GET", "path": "/api/orders/", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照客户甲", "salesperson": "娜娜", "note": "客户单备注", "paper_number": "20261118001", "status": "delivered", "lines": [ { "name": "足金999", "code": "", "unit": "g", "quantity": 3250, "pocket": "现货", "payer": "assistant", "costPayers": { "material": "owner", "labor": "assistant" }, "cost": 290200, "costParts": { "material": 286000, "labor": 4000, "accessories": 200, "other": 0 }, "costMaterial": { "mode": "gram", "rate": 88000 }, "costLabor": { "mode": "total" }, "sale": 321050, "baseSale": 318500, "charges": [ { "name": "刻字", "amount": 2000 }, { "name": "包装", "amount": 550 } ], "pricingMode": "auto", "goldPrice": 95000, "laborRate": 3000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 950.00元/克 + 工费 30.00元/克" } ], "discount": 0, "total": 321100, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:17.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理微信", "fee_items": [ { "key": "shipping", "amount": 1200, "payer": "assistant", "note": "快递", "status": "recorded", "edited": false } ], "fees_date": "2026-11-18", "rounding_mode": "yuan", "internal_note": "#复购 内部备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": null, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 321100, "account": "助理微信", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-18T02:01:17.000Z" } ], "expenses": [ { "id": "", "order_id": "", "date": "2026-11-18", "amount": 1200, "payer": "assistant", "note": "快递", "actor": "助理", "created": "2026-11-18T02:01:17.000Z" } ], "settlements": [], "corrections": [], "received": 321100, "refunded": 0, "netReceived": 321100, "balance": 0, "rounding_adjustment": 50, "goodsCost": 290200, "directCost": 1200, "materialCostPending": false, "knownGoodsCost": 290200, "pendingFees": [], "draftFees": 0, "estimatedProfit": 29700, "profit": 29700, "knownProfit": 29700, "ownerCost": 286000, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "audit": [ { "action": "生成已交付单据", "actor": "助理", "detail": { "amount": 321100, "account": "助理微信", "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-18T02:01:17.000Z" }, { "action": "complete", "actor": "助理", "detail": { "date": "2026-11-18", "verified": true, "revision": 4, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-18T02:01:17.000Z" }, { "action": "deliver", "actor": "助理", "detail": { "date": "2026-11-18", "verified": true, "revision": 4, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-18T02:01:17.000Z" }, { "action": "receipt", "actor": "助理", "detail": { "date": "2026-11-18", "amount": "3211.00", "account": "助理微信", "credit_card_fee_payer": "owner", "verified": true, "reference": "开单时已全额收款", "revision": 3, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-18T02:01:17.000Z" }, { "action": "confirm", "actor": "助理", "detail": { "date": "2026-11-18", "revision": 2, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-18T02:01:17.000Z" }, { "action": "保存草稿", "actor": "助理", "detail": { "revision": 1, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-18T02:01:17.000Z" } ], "sync": { "revision": 4, "done_revision": 0, "error": null, "updated": "2026-11-18T02:01:17.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } } }, { "seq": 106, "label": "order-detail", "date": "2026-11-18", "actor": "owner", "method": "GET", "path": "/api/orders/", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照客户乙", "salesperson": "小昊", "note": "", "paper_number": "20261118002", "status": "delivered", "lines": [ { "name": "足金999", "code": "", "unit": "g", "quantity": 2000, "pocket": "现货", "payer": "assistant2", "cost": 180000, "sale": 208710, "baseSale": 208710, "charges": [], "pricingMode": "auto", "goldPrice": 95555, "laborRate": 8800, "laborMode": "piece", "pieces": 2, "priceNote": "金价 955.55元/克 + 工费 88.00元/件 × 2件" }, { "name": "纯银925", "code": "", "unit": "件", "quantity": 3, "pocket": "", "payer": "assistant2", "cost": 3000, "sale": 9990, "baseSale": 9990, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 1537, "total": 217163, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:18.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2支付宝", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "按件内部备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": null, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 217163, "account": "助理2支付宝", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:18.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 217163, "refunded": 0, "netReceived": 217163, "balance": 0, "rounding_adjustment": 0, "goodsCost": 183000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 183000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 34163, "profit": 34163, "knownProfit": 34163, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "audit": [ { "action": "生成已交付单据", "actor": "助理2", "detail": { "amount": 217163, "account": "助理2支付宝", "actorIdentity": { "id": "", "role": "assistant", "member": "assistant2" } }, "created": "2026-11-18T02:01:18.000Z" }, { "action": "complete", "actor": "助理2", "detail": { "date": "2026-11-18", "verified": true, "revision": 4, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant2" } }, "created": "2026-11-18T02:01:18.000Z" }, { "action": "deliver", "actor": "助理2", "detail": { "date": "2026-11-18", "verified": true, "revision": 4, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant2" } }, "created": "2026-11-18T02:01:18.000Z" }, { "action": "receipt", "actor": "助理2", "detail": { "date": "2026-11-18", "amount": "2171.63", "account": "助理2支付宝", "credit_card_fee_payer": "owner", "verified": true, "reference": "开单时已全额收款", "revision": 3, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant2" } }, "created": "2026-11-18T02:01:18.000Z" }, { "action": "confirm", "actor": "助理2", "detail": { "date": "2026-11-18", "revision": 2, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant2" } }, "created": "2026-11-18T02:01:18.000Z" }, { "action": "保存草稿", "actor": "助理2", "detail": { "revision": 1, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant2" } }, "created": "2026-11-18T02:01:18.000Z" } ], "sync": { "revision": 4, "done_revision": 0, "error": null, "updated": "2026-11-18T02:01:18.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } } }, { "seq": 107, "label": "order-detail", "date": "2026-11-18", "actor": "owner", "method": "GET", "path": "/api/orders/", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照客户丙", "salesperson": "麦麦", "note": "", "paper_number": "20261118003", "status": "delivered", "lines": [ { "name": "金镶玉吊坠", "code": "", "unit": "件", "quantity": 1, "pocket": "", "payer": "owner", "cost": 150000, "sale": 288840, "baseSale": 288840, "charges": [], "pricingMode": "manual", "priceNote": "一口价" } ], "discount": 300, "total": 288500, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:19.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "麦麦信用卡", "fee_items": [ { "key": "card_fee:", "system": "credit_card", "source_kind": "payment", "source_id": "", "date": "2026-11-18", "amount": 1731, "payer": "owner", "note": "信用卡手续费(6‰)", "rate_permille": 6, "status": "recorded", "expense_id": "" } ], "fees_date": "", "rounding_mode": "yuan", "internal_note": "一口价备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": null, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 288500, "account": "麦麦信用卡", "reference": "开单时已全额收款", "actor": "麦麦", "created": "2026-11-18T02:01:19.000Z" } ], "expenses": [ { "id": "", "order_id": "", "date": "2026-11-18", "amount": 1731, "payer": "owner", "note": "信用卡手续费(6‰)", "actor": "麦麦", "created": "2026-11-18T02:01:19.000Z" } ], "settlements": [], "corrections": [], "received": 288500, "refunded": 0, "netReceived": 288500, "balance": 0, "rounding_adjustment": -40, "goodsCost": 150000, "directCost": 1731, "materialCostPending": false, "knownGoodsCost": 150000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 136769, "profit": 136769, "knownProfit": 136769, "ownerCost": 151731, "ownerDirect": 288500, "ownerCredit": 288500, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "audit": [ { "action": "生成已交付单据", "actor": "麦麦", "detail": { "amount": 288500, "account": "麦麦信用卡", "actorIdentity": { "id": "", "role": "owner", "member": "owner" } }, "created": "2026-11-18T02:01:19.000Z" }, { "action": "complete", "actor": "麦麦", "detail": { "date": "2026-11-18", "verified": true, "revision": 4, "actorIdentity": { "id": "", "role": "owner", "member": "owner" } }, "created": "2026-11-18T02:01:19.000Z" }, { "action": "deliver", "actor": "麦麦", "detail": { "date": "2026-11-18", "verified": true, "revision": 4, "actorIdentity": { "id": "", "role": "owner", "member": "owner" } }, "created": "2026-11-18T02:01:19.000Z" }, { "action": "receipt", "actor": "麦麦", "detail": { "date": "2026-11-18", "amount": "2885.00", "account": "麦麦信用卡", "credit_card_fee_payer": "owner", "verified": true, "reference": "开单时已全额收款", "revision": 3, "actorIdentity": { "id": "", "role": "owner", "member": "owner" } }, "created": "2026-11-18T02:01:19.000Z" }, { "action": "confirm", "actor": "麦麦", "detail": { "date": "2026-11-18", "revision": 2, "actorIdentity": { "id": "", "role": "owner", "member": "owner" } }, "created": "2026-11-18T02:01:19.000Z" }, { "action": "保存草稿", "actor": "麦麦", "detail": { "revision": 1, "actorIdentity": { "id": "", "role": "owner", "member": "owner" } }, "created": "2026-11-18T02:01:19.000Z" } ], "sync": { "revision": 4, "done_revision": 0, "error": null, "updated": "2026-11-18T02:01:19.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } } }, { "seq": 108, "label": "order-detail", "date": "2026-11-18", "actor": "owner", "method": "GET", "path": "/api/orders/", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照客户丁", "salesperson": "娜娜", "note": "", "paper_number": "20261118004", "status": "delivered", "lines": [ { "name": "足金999", "code": "", "unit": "g", "quantity": 3000, "pocket": "", "payer": "assistant", "cost": 272000, "costParts": { "material": 272000, "labor": 0, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "pool", "poolId": "2026-11-18" }, "costLabor": { "mode": "total" }, "sale": 330000, "baseSale": 330000, "charges": [], "pricingMode": "manual", "priceNote": "", "materialPool": { "poolId": "2026-11-18", "date": "2026-11-18", "status": "allocated", "amount": 272000, "quantity": 3000, "averageRate": 90667, "allocations": [ { "payer": "assistant", "amount": 272000 } ], "revision": "e3072e81dd7b585b863bbbe6f312844a32ece32c2856aea4df479b9ceab74c55" } } ], "discount": 0, "total": 330000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:20.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理现金", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "料池单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": null, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 330000, "account": "助理现金", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-18T02:01:20.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 330000, "refunded": 0, "netReceived": 330000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 272000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 272000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 58000, "profit": 58000, "knownProfit": 58000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "audit": [ { "action": "生成已交付单据", "actor": "助理", "detail": { "amount": 330000, "account": "助理现金", "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-18T02:01:20.000Z" }, { "action": "complete", "actor": "助理", "detail": { "date": "2026-11-18", "verified": true, "revision": 4, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-18T02:01:20.000Z" }, { "action": "deliver", "actor": "助理", "detail": { "date": "2026-11-18", "verified": true, "revision": 4, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-18T02:01:20.000Z" }, { "action": "receipt", "actor": "助理", "detail": { "date": "2026-11-18", "amount": "3300.00", "account": "助理现金", "credit_card_fee_payer": "owner", "verified": true, "reference": "开单时已全额收款", "revision": 3, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-18T02:01:20.000Z" }, { "action": "confirm", "actor": "助理", "detail": { "date": "2026-11-18", "revision": 2, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-18T02:01:20.000Z" }, { "action": "保存草稿", "actor": "助理", "detail": { "revision": 1, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-18T02:01:20.000Z" } ], "sync": { "revision": 4, "done_revision": 0, "error": null, "updated": "2026-11-18T02:01:20.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } } }, { "seq": 109, "label": "order-detail", "date": "2026-11-18", "actor": "owner", "method": "GET", "path": "/api/orders/", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照草稿客户", "salesperson": "麦麦", "note": "", "paper_number": "20261118005", "status": "delivered", "lines": [ { "name": "足金手镯", "code": "", "unit": "g", "quantity": 10000, "pocket": "pocket_", "payer": "owner", "cost": 900000, "sale": 980000, "baseSale": 980000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 980000, "revision": 5, "reviewed_revision": 0, "created": "2026-11-18T02:01:21.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "麦麦现金", "fee_items": [], "fees_date": "", "rounding_mode": "yuan", "internal_note": "草稿单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "owner", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": null, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 980000, "account": "麦麦现金", "reference": "开单时已全额收款", "actor": "麦麦", "created": "2026-11-18T02:01:23.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 980000, "refunded": 0, "netReceived": 980000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 900000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 900000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 80000, "profit": 80000, "knownProfit": 80000, "ownerCost": 900000, "ownerDirect": 980000, "ownerCredit": 980000, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "audit": [ { "action": "生成已交付单据", "actor": "麦麦", "detail": { "amount": 980000, "account": "麦麦现金", "actorIdentity": { "id": "", "role": "owner", "member": "owner" } }, "created": "2026-11-18T02:01:23.000Z" }, { "action": "complete", "actor": "麦麦", "detail": { "date": "2026-11-18", "verified": true, "revision": 5, "actorIdentity": { "id": "", "role": "owner", "member": "owner" } }, "created": "2026-11-18T02:01:23.000Z" }, { "action": "deliver", "actor": "麦麦", "detail": { "date": "2026-11-18", "verified": true, "revision": 5, "actorIdentity": { "id": "", "role": "owner", "member": "owner" } }, "created": "2026-11-18T02:01:23.000Z" }, { "action": "receipt", "actor": "麦麦", "detail": { "date": "2026-11-18", "amount": "9800.00", "account": "麦麦现金", "credit_card_fee_payer": "owner", "verified": true, "reference": "开单时已全额收款", "revision": 4, "actorIdentity": { "id": "", "role": "owner", "member": "owner" } }, "created": "2026-11-18T02:01:23.000Z" }, { "action": "confirm", "actor": "麦麦", "detail": { "date": "2026-11-18", "revision": 3, "actorIdentity": { "id": "", "role": "owner", "member": "owner" } }, "created": "2026-11-18T02:01:23.000Z" }, { "action": "保存草稿", "actor": "麦麦", "detail": { "revision": 2, "actorIdentity": { "id": "", "role": "owner", "member": "owner" } }, "created": "2026-11-18T02:01:23.000Z" }, { "action": "保存草稿", "actor": "麦麦", "detail": { "revision": 1, "actorIdentity": { "id": "", "role": "owner", "member": "owner" } }, "created": "2026-11-18T02:01:21.000Z" } ], "sync": { "revision": 5, "done_revision": 0, "error": null, "updated": "2026-11-18T02:01:23.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } } }, { "seq": 110, "label": "order-public", "date": "2026-11-18", "actor": "assistant", "method": "GET", "path": "/api/orders//public", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "", "member": "assistant", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照客户甲", "salesperson": "娜娜", "note": "客户单备注", "paper_number": "20261118001", "status": "delivered", "total": 321100, "rounding_mode": "yuan", "rounding_adjustment": 50, "discount": 0, "received": 321100, "refunded": 0, "netReceived": 321100, "balance": 0, "paymentMethods": [ "微信" ], "lines": [ { "name": "足金999", "code": "", "unit": "g", "quantity": 3250, "sale": 321050, "baseSale": 318500, "charges": [ { "name": "刻字", "amount": 2000 }, { "name": "包装", "amount": 550 } ], "priceNote": "金价 950.00元/克 + 工费 30.00元/克", "pricingMode": "auto", "goldPrice": 95000, "laborRate": 3000, "laborMode": "gram", "pieces": 1 } ] } }, { "seq": 111, "label": null, "date": "2026-11-18", "actor": "owner", "method": "GET", "path": "/api/order-note-tags", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "tags": [ "#复购" ] } }, { "seq": 112, "label": "order-note-tags-assistant", "date": "2026-11-18", "actor": "assistant", "method": "GET", "path": "/api/order-note-tags", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "tags": [ "#复购" ] } }, { "seq": 113, "note": "section", "name": "printing" }, { "seq": 114, "label": "print-order", "date": "2026-11-18", "actor": "assistant", "method": "GET", "path": "/print/", "key": null, "status": 200, "contentType": "text/html; charset=utf-8", "disposition": null, "setCookie": null, "body": { "text": "20261118001 · 客户单据
","printed":false,"revision":0,"updated":null,"actor":null,"sourceRevision":4,"user":""}\" role=\"status\">未打印切换预印纸套打模板固定241×140mm横版;打印窗口也选241×140mm,关闭页眉页脚。正在调整为一页…
\n

黄金对照珠宝

黄金对照销售单
\n
客户:对照客户甲日期:2026-11-18纸单号:20261118001
\n
收款方式:微信
\n
序号商品名称商品编号单位数量/克重金价/单价说明销售工费金额(元)
1足金999克3.25950.00元/克30.00元/克3185.00
2附加:刻字项1附加项目—20.00
3附加:包装项1附加项目—5.50
\n
合计人民币大写:叁仟贰佰壹拾壹元整
优惠/抹零:¥0.00
整单金额四舍五入到元
合计金额:¥3211
\n

注意事项

  1. 本店所售商品均经国家法定机构检测合格,品质上乘,请放心选购。特此保证!如有质量争议,以省级以上具有法律效力的质检结果为准;
  2. 本店所售商品,如无质量问题,概不退换!
  3. 请保存好此票据、标签、证书等缺一视为放弃享受服务的权利。

珠宝首饰保养须知

  1. 避免戴贵金属及基镶嵌饰品做家务或粗重的工作。
  2. 避免接触水银、铅等金属。
  3. 避免接触化妆品、香水、醋、果汁、漂白剂、涂改液及含铅、汞等元素的化学品。
  4. 人体的汗液会侵蚀贵金属饰品,所以夏天佩戴贵金属饰品及镶嵌品最好每天清水清洗。

公司承诺:本公司所售珠宝首饰均经过首饰质量监督检验中心鉴定,如所购商品如有质量问题,承诺凭本票无条件退换货。

\n
备注:客户单备注
联系电话:联系电话 000-0000
经办人:娜娜 ________________
\n
" } }, { "seq": 115, "label": "print-order-mode", "date": "2026-11-18", "actor": "owner", "method": "GET", "path": "/print/?mode=customer", "key": null, "status": 200, "contentType": "text/html; charset=utf-8", "disposition": null, "setCookie": null, "body": { "text": "20261118003 · 客户单据
","printed":false,"revision":0,"updated":null,"actor":null,"sourceRevision":4,"user":""}\" role=\"status\">未打印切换预印纸套打模板固定241×140mm横版;打印窗口也选241×140mm,关闭页眉页脚。正在调整为一页…
\n

黄金对照珠宝

黄金对照销售单
\n
客户:对照客户丙日期:2026-11-18纸单号:20261118003
\n
收款方式:信用卡
\n
序号商品名称商品编号单位数量/克重金价/单价说明销售工费金额(元)
1金镶玉吊坠件1一口价—2888.40
\n
合计人民币大写:贰仟捌佰捌拾伍元整
优惠/抹零:¥3.00
整单金额四舍五入到元
合计金额:¥2885
\n

注意事项

  1. 本店所售商品均经国家法定机构检测合格,品质上乘,请放心选购。特此保证!如有质量争议,以省级以上具有法律效力的质检结果为准;
  2. 本店所售商品,如无质量问题,概不退换!
  3. 请保存好此票据、标签、证书等缺一视为放弃享受服务的权利。

珠宝首饰保养须知

  1. 避免戴贵金属及基镶嵌饰品做家务或粗重的工作。
  2. 避免接触水银、铅等金属。
  3. 避免接触化妆品、香水、醋、果汁、漂白剂、涂改液及含铅、汞等元素的化学品。
  4. 人体的汗液会侵蚀贵金属饰品,所以夏天佩戴贵金属饰品及镶嵌品最好每天清水清洗。

公司承诺:本公司所售珠宝首饰均经过首饰质量监督检验中心鉴定,如所购商品如有质量问题,承诺凭本票无条件退换货。

\n
备注:—
联系电话:联系电话 000-0000
经办人:麦麦 ________________
\n
" } }, { "seq": 116, "label": null, "date": "2026-11-18", "actor": "assistant", "method": "GET", "path": "/api/print-status/order/", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null, "sourceRevision": 4 } }, { "seq": 117, "label": null, "date": "2026-11-18", "actor": "assistant", "method": "POST", "path": "/api/print-status/order/", "key": "golden-00060-", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "printed": true, "revision": 0, "sourceRevision": 4 } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "kind": "order", "id": "", "printed": true, "revision": 1, "updated": "2026-11-18T02:01:48.000Z", "actor": "助理", "sourceRevision": 4 } }, { "seq": 118, "label": "print-status-after", "date": "2026-11-18", "actor": "assistant", "method": "GET", "path": "/api/print-status/order/", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "kind": "order", "id": "", "printed": true, "revision": 1, "updated": "2026-11-18T02:01:48.000Z", "actor": "助理", "sourceRevision": 4 } }, { "seq": 119, "label": "print-status-unset", "date": "2026-11-18", "actor": "assistant", "method": "POST", "path": "/api/print-status/order/", "key": "golden-00061-print-status-unset", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "printed": false, "revision": 1, "sourceRevision": 4 } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "kind": "order", "id": "", "printed": false, "revision": 2, "updated": "2026-11-18T02:01:50.000Z", "actor": "助理", "sourceRevision": 4 } }, { "seq": 120, "label": "print-status-foreign", "date": "2026-11-18", "actor": "assistant2", "method": "GET", "path": "/api/print-status/order/", "key": null, "status": 404, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "error": "记录不存在或无权访问" } }, { "seq": 121, "label": "print-foreign", "date": "2026-11-18", "actor": "assistant2", "method": "GET", "path": "/print/", "key": null, "status": 404, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "error": "记录不存在或无权访问" } }, { "seq": 122, "note": "section", "name": "priceLocksD1" }, { "seq": 123, "label": "lock-create", "date": "2026-11-18", "actor": "assistant", "method": "POST", "path": "/api/price-locks", "key": "golden-00062-lock-create", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "date": "2026-11-18", "member": "assistant", "customer": "对照锁价客户", "salesperson": "娜娜", "note": "锁价备注", "line": { "name": "足金999", "quantity": "3.000", "goldPrice": "900", "laborRate": "20", "laborMode": "gram", "pieces": "1", "charges": [] }, "discount": "0", "payment": { "amount": "2700", "account": "助理微信", "verified": true }, "material": { "rate": "850", "payer": "owner", "verified": true } } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "", "price_lock_id": "", "status": "pending", "revision": 1 } }, { "seq": 124, "label": "lock-create-2", "date": "2026-11-18", "actor": "assistant", "method": "POST", "path": "/api/price-locks", "key": "golden-00063-lock-create-2", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "date": "2026-11-18", "member": "assistant", "customer": "对照锁价客户二", "salesperson": "娜娜", "note": "锁价备注", "line": { "name": "足金999", "quantity": "3.000", "goldPrice": "900", "laborRate": "20", "laborMode": "gram", "pieces": "1", "charges": [] }, "discount": "0", "payment": { "amount": "1000", "account": "助理支付宝", "verified": true }, "material": { "rate": "850", "payer": "owner", "verified": true } } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "", "price_lock_id": "", "status": "pending", "revision": 1 } }, { "seq": 125, "label": "lock-create-3", "date": "2026-11-18", "actor": "assistant2", "method": "POST", "path": "/api/price-locks", "key": "golden-00064-lock-create-3", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "date": "2026-11-18", "member": "assistant2", "customer": "对照锁价客户三", "salesperson": "小昊", "note": "锁价备注", "line": { "name": "足金999", "quantity": "3.000", "goldPrice": "900", "laborRate": "20", "laborMode": "gram", "pieces": "1", "charges": [] }, "discount": "0", "payment": { "amount": "500", "account": "助理2微信", "verified": true }, "material": { "rate": "860", "payer": "assistant2", "verified": true } } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "", "price_lock_id": "", "status": "pending", "revision": 1 } }, { "seq": 126, "label": "lock-create-owner", "date": "2026-11-18", "actor": "owner", "method": "POST", "path": "/api/price-locks", "key": "golden-00065-lock-create-owner", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "date": "2026-11-18", "member": "owner", "customer": "对照锁价客户四", "salesperson": "麦麦", "note": "锁价备注", "line": { "name": "足金999", "quantity": "3.000", "goldPrice": "900", "laborRate": "20", "laborMode": "gram", "pieces": "1", "charges": [] }, "discount": "0", "payment": { "amount": "800", "account": "麦麦微信", "verified": true }, "material": { "rate": "850", "payer": "owner", "verified": true } } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "", "price_lock_id": "", "status": "pending", "revision": 1 } }, { "seq": 127, "label": "price-locks-assistant", "date": "2026-11-18", "actor": "assistant", "method": "GET", "path": "/api/price-locks", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "from": "2000-01-01", "date": "2026-11-18", "rows": [ { "id": "", "number": "SJ20261118-", "date": "2026-11-18", "customer": "对照锁价客户", "salesperson": "娜娜", "note": "锁价备注", "line": { "name": "足金999", "code": "", "unit": "g", "quantity": 3000, "pocket": "", "payer": "owner", "costPayers": { "material": "owner", "labor": "owner" }, "cost": 255000, "costParts": { "material": 255000, "labor": 0, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 276000, "baseSale": 276000, "charges": [], "pricingMode": "auto", "goldPrice": 90000, "laborRate": 2000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 900.00元/克 + 工费 20.00元/克" }, "locked_mg": 3000, "sell_rate": 90000, "buy_rate": 85000, "buy_payer": "owner", "material_amount": 255000, "estimated_total": 276000, "discount": 0, "status": "pending", "revision": 1, "final_order_id": null, "delivery": null, "actor": "助理", "created": "2026-11-18T02:01:53.000Z", "updated": "2026-11-18T02:01:53.000Z", "cancelled_at": null, "cancelled_reason": null, "lines": [ { "id": "", "line_index": 0, "line": { "name": "足金999", "code": "", "unit": "g", "quantity": 3000, "pocket": "", "payer": "owner", "costPayers": { "material": "owner", "labor": "owner" }, "cost": 255000, "costParts": { "material": 255000, "labor": 0, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 276000, "baseSale": 276000, "charges": [], "pricingMode": "auto", "goldPrice": 90000, "laborRate": 2000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 900.00元/克 + 工费 20.00元/克" }, "locked_mg": 3000, "sell_rate": 90000, "buy_rate": 85000, "buy_payer": "owner", "material_amount": 255000, "material_source": "manual", "delivery": null } ], "member": "assistant", "kind": "priceLock", "credit_card_rate_permille": 6, "material_source": "manual", "cash_events": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 270000, "account": "助理微信", "payer": null, "source": null, "quantity": null, "rate": null, "number": "SJ20261118-", "customer": "对照锁价客户", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:53.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null, "card_fee_amount": null, "card_fee_payer": null, "card_fee_expense_id": null, "card_fee_rate": null, "card_fee_note": null } ], "material_events": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "material", "amount": 255000, "account": null, "payer": "owner", "source": "original", "quantity": 3000, "rate": 85000, "number": "SJ20261118-", "customer": "对照锁价客户", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:53.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "card_fee_amount": null, "card_fee_payer": null, "card_fee_expense_id": null, "card_fee_rate": null, "card_fee_note": null } ], "voided_events": [], "received": 270000, "refunded": 0, "netReceived": 270000, "credit_card_fees": [], "credit_card_fee_total": 0 }, { "id": "", "number": "SJ20261118-", "date": "2026-11-18", "customer": "对照锁价客户二", "salesperson": "娜娜", "note": "锁价备注", "line": { "name": "足金999", "code": "", "unit": "g", "quantity": 3000, "pocket": "", "payer": "owner", "costPayers": { "material": "owner", "labor": "owner" }, "cost": 255000, "costParts": { "material": 255000, "labor": 0, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 276000, "baseSale": 276000, "charges": [], "pricingMode": "auto", "goldPrice": 90000, "laborRate": 2000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 900.00元/克 + 工费 20.00元/克" }, "locked_mg": 3000, "sell_rate": 90000, "buy_rate": 85000, "buy_payer": "owner", "material_amount": 255000, "estimated_total": 276000, "discount": 0, "status": "pending", "revision": 1, "final_order_id": null, "delivery": null, "actor": "助理", "created": "2026-11-18T02:01:54.000Z", "updated": "2026-11-18T02:01:54.000Z", "cancelled_at": null, "cancelled_reason": null, "lines": [ { "id": "", "line_index": 0, "line": { "name": "足金999", "code": "", "unit": "g", "quantity": 3000, "pocket": "", "payer": "owner", "costPayers": { "material": "owner", "labor": "owner" }, "cost": 255000, "costParts": { "material": 255000, "labor": 0, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 276000, "baseSale": 276000, "charges": [], "pricingMode": "auto", "goldPrice": 90000, "laborRate": 2000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 900.00元/克 + 工费 20.00元/克" }, "locked_mg": 3000, "sell_rate": 90000, "buy_rate": 85000, "buy_payer": "owner", "material_amount": 255000, "material_source": "manual", "delivery": null } ], "member": "assistant", "kind": "priceLock", "credit_card_rate_permille": 6, "material_source": "manual", "cash_events": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 100000, "account": "助理支付宝", "payer": null, "source": null, "quantity": null, "rate": null, "number": "SJ20261118-", "customer": "对照锁价客户二", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:54.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null, "card_fee_amount": null, "card_fee_payer": null, "card_fee_expense_id": null, "card_fee_rate": null, "card_fee_note": null } ], "material_events": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "material", "amount": 255000, "account": null, "payer": "owner", "source": "original", "quantity": 3000, "rate": 85000, "number": "SJ20261118-", "customer": "对照锁价客户二", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:54.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "card_fee_amount": null, "card_fee_payer": null, "card_fee_expense_id": null, "card_fee_rate": null, "card_fee_note": null } ], "voided_events": [], "received": 100000, "refunded": 0, "netReceived": 100000, "credit_card_fees": [], "credit_card_fee_total": 0 } ], "counts": { "pending": 2, "delivered": 0, "cancelled": 0 } } }, { "seq": 128, "label": "price-locks-owner-all", "date": "2026-11-18", "actor": "owner", "method": "GET", "path": "/api/price-locks?status=all", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "from": "2000-01-01", "date": "2026-11-18", "rows": [ { "id": "", "number": "SJ20261118-", "date": "2026-11-18", "customer": "对照锁价客户", "salesperson": "娜娜", "note": "锁价备注", "line": { "name": "足金999", "code": "", "unit": "g", "quantity": 3000, "pocket": "", "payer": "owner", "costPayers": { "material": "owner", "labor": "owner" }, "cost": 255000, "costParts": { "material": 255000, "labor": 0, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 276000, "baseSale": 276000, "charges": [], "pricingMode": "auto", "goldPrice": 90000, "laborRate": 2000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 900.00元/克 + 工费 20.00元/克" }, "locked_mg": 3000, "sell_rate": 90000, "buy_rate": 85000, "buy_payer": "owner", "material_amount": 255000, "estimated_total": 276000, "discount": 0, "status": "pending", "revision": 1, "final_order_id": null, "delivery": null, "actor": "助理", "created": "2026-11-18T02:01:53.000Z", "updated": "2026-11-18T02:01:53.000Z", "cancelled_at": null, "cancelled_reason": null, "lines": [ { "id": "", "line_index": 0, "line": { "name": "足金999", "code": "", "unit": "g", "quantity": 3000, "pocket": "", "payer": "owner", "costPayers": { "material": "owner", "labor": "owner" }, "cost": 255000, "costParts": { "material": 255000, "labor": 0, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 276000, "baseSale": 276000, "charges": [], "pricingMode": "auto", "goldPrice": 90000, "laborRate": 2000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 900.00元/克 + 工费 20.00元/克" }, "locked_mg": 3000, "sell_rate": 90000, "buy_rate": 85000, "buy_payer": "owner", "material_amount": 255000, "material_source": "manual", "delivery": null } ], "member": "assistant", "kind": "priceLock", "credit_card_rate_permille": 6, "material_source": "manual", "cash_events": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 270000, "account": "助理微信", "payer": null, "source": null, "quantity": null, "rate": null, "number": "SJ20261118-", "customer": "对照锁价客户", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:53.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null, "card_fee_amount": null, "card_fee_payer": null, "card_fee_expense_id": null, "card_fee_rate": null, "card_fee_note": null } ], "material_events": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "material", "amount": 255000, "account": null, "payer": "owner", "source": "original", "quantity": 3000, "rate": 85000, "number": "SJ20261118-", "customer": "对照锁价客户", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:53.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "card_fee_amount": null, "card_fee_payer": null, "card_fee_expense_id": null, "card_fee_rate": null, "card_fee_note": null } ], "voided_events": [], "received": 270000, "refunded": 0, "netReceived": 270000, "credit_card_fees": [], "credit_card_fee_total": 0 }, { "id": "", "number": "SJ20261118-", "date": "2026-11-18", "customer": "对照锁价客户二", "salesperson": "娜娜", "note": "锁价备注", "line": { "name": "足金999", "code": "", "unit": "g", "quantity": 3000, "pocket": "", "payer": "owner", "costPayers": { "material": "owner", "labor": "owner" }, "cost": 255000, "costParts": { "material": 255000, "labor": 0, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 276000, "baseSale": 276000, "charges": [], "pricingMode": "auto", "goldPrice": 90000, "laborRate": 2000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 900.00元/克 + 工费 20.00元/克" }, "locked_mg": 3000, "sell_rate": 90000, "buy_rate": 85000, "buy_payer": "owner", "material_amount": 255000, "estimated_total": 276000, "discount": 0, "status": "pending", "revision": 1, "final_order_id": null, "delivery": null, "actor": "助理", "created": "2026-11-18T02:01:54.000Z", "updated": "2026-11-18T02:01:54.000Z", "cancelled_at": null, "cancelled_reason": null, "lines": [ { "id": "", "line_index": 0, "line": { "name": "足金999", "code": "", "unit": "g", "quantity": 3000, "pocket": "", "payer": "owner", "costPayers": { "material": "owner", "labor": "owner" }, "cost": 255000, "costParts": { "material": 255000, "labor": 0, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 276000, "baseSale": 276000, "charges": [], "pricingMode": "auto", "goldPrice": 90000, "laborRate": 2000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 900.00元/克 + 工费 20.00元/克" }, "locked_mg": 3000, "sell_rate": 90000, "buy_rate": 85000, "buy_payer": "owner", "material_amount": 255000, "material_source": "manual", "delivery": null } ], "member": "assistant", "kind": "priceLock", "credit_card_rate_permille": 6, "material_source": "manual", "cash_events": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 100000, "account": "助理支付宝", "payer": null, "source": null, "quantity": null, "rate": null, "number": "SJ20261118-", "customer": "对照锁价客户二", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:54.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null, "card_fee_amount": null, "card_fee_payer": null, "card_fee_expense_id": null, "card_fee_rate": null, "card_fee_note": null } ], "material_events": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "material", "amount": 255000, "account": null, "payer": "owner", "source": "original", "quantity": 3000, "rate": 85000, "number": "SJ20261118-", "customer": "对照锁价客户二", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:54.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "card_fee_amount": null, "card_fee_payer": null, "card_fee_expense_id": null, "card_fee_rate": null, "card_fee_note": null } ], "voided_events": [], "received": 100000, "refunded": 0, "netReceived": 100000, "credit_card_fees": [], "credit_card_fee_total": 0 }, { "id": "", "number": "SJ20261118-", "date": "2026-11-18", "customer": "对照锁价客户三", "salesperson": "小昊", "note": "锁价备注", "line": { "name": "足金999", "code": "", "unit": "g", "quantity": 3000, "pocket": "", "payer": "assistant2", "costPayers": { "material": "assistant2", "labor": "assistant2" }, "cost": 258000, "costParts": { "material": 258000, "labor": 0, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 276000, "baseSale": 276000, "charges": [], "pricingMode": "auto", "goldPrice": 90000, "laborRate": 2000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 900.00元/克 + 工费 20.00元/克" }, "locked_mg": 3000, "sell_rate": 90000, "buy_rate": 86000, "buy_payer": "assistant2", "material_amount": 258000, "estimated_total": 276000, "discount": 0, "status": "pending", "revision": 1, "final_order_id": null, "delivery": null, "actor": "助理2", "created": "2026-11-18T02:01:55.000Z", "updated": "2026-11-18T02:01:55.000Z", "cancelled_at": null, "cancelled_reason": null, "lines": [ { "id": "", "line_index": 0, "line": { "name": "足金999", "code": "", "unit": "g", "quantity": 3000, "pocket": "", "payer": "assistant2", "costPayers": { "material": "assistant2", "labor": "assistant2" }, "cost": 258000, "costParts": { "material": 258000, "labor": 0, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 276000, "baseSale": 276000, "charges": [], "pricingMode": "auto", "goldPrice": 90000, "laborRate": 2000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 900.00元/克 + 工费 20.00元/克" }, "locked_mg": 3000, "sell_rate": 90000, "buy_rate": 86000, "buy_payer": "assistant2", "material_amount": 258000, "material_source": "manual", "delivery": null } ], "member": "assistant2", "kind": "priceLock", "credit_card_rate_permille": 6, "material_source": "manual", "cash_events": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 50000, "account": "助理2微信", "payer": null, "source": null, "quantity": null, "rate": null, "number": "SJ20261118-", "customer": "对照锁价客户三", "product": "足金999", "actor": "助理2", "created": "2026-11-18T02:01:55.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null, "card_fee_amount": null, "card_fee_payer": null, "card_fee_expense_id": null, "card_fee_rate": null, "card_fee_note": null } ], "material_events": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "material", "amount": 258000, "account": null, "payer": "assistant2", "source": "original", "quantity": 3000, "rate": 86000, "number": "SJ20261118-", "customer": "对照锁价客户三", "product": "足金999", "actor": "助理2", "created": "2026-11-18T02:01:55.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "card_fee_amount": null, "card_fee_payer": null, "card_fee_expense_id": null, "card_fee_rate": null, "card_fee_note": null } ], "voided_events": [], "received": 50000, "refunded": 0, "netReceived": 50000, "credit_card_fees": [], "credit_card_fee_total": 0 }, { "id": "", "number": "SJ20261118-", "date": "2026-11-18", "customer": "对照锁价客户四", "salesperson": "麦麦", "note": "锁价备注", "line": { "name": "足金999", "code": "", "unit": "g", "quantity": 3000, "pocket": "", "payer": "owner", "costPayers": { "material": "owner", "labor": "owner" }, "cost": 255000, "costParts": { "material": 255000, "labor": 0, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 276000, "baseSale": 276000, "charges": [], "pricingMode": "auto", "goldPrice": 90000, "laborRate": 2000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 900.00元/克 + 工费 20.00元/克" }, "locked_mg": 3000, "sell_rate": 90000, "buy_rate": 85000, "buy_payer": "owner", "material_amount": 255000, "estimated_total": 276000, "discount": 0, "status": "pending", "revision": 1, "final_order_id": null, "delivery": null, "actor": "麦麦", "created": "2026-11-18T02:01:56.000Z", "updated": "2026-11-18T02:01:56.000Z", "cancelled_at": null, "cancelled_reason": null, "lines": [ { "id": "", "line_index": 0, "line": { "name": "足金999", "code": "", "unit": "g", "quantity": 3000, "pocket": "", "payer": "owner", "costPayers": { "material": "owner", "labor": "owner" }, "cost": 255000, "costParts": { "material": 255000, "labor": 0, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 276000, "baseSale": 276000, "charges": [], "pricingMode": "auto", "goldPrice": 90000, "laborRate": 2000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 900.00元/克 + 工费 20.00元/克" }, "locked_mg": 3000, "sell_rate": 90000, "buy_rate": 85000, "buy_payer": "owner", "material_amount": 255000, "material_source": "manual", "delivery": null } ], "member": "owner", "kind": "priceLock", "credit_card_rate_permille": 6, "material_source": "manual", "cash_events": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 80000, "account": "麦麦微信", "payer": null, "source": null, "quantity": null, "rate": null, "number": "SJ20261118-", "customer": "对照锁价客户四", "product": "足金999", "actor": "麦麦", "created": "2026-11-18T02:01:56.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null, "card_fee_amount": null, "card_fee_payer": null, "card_fee_expense_id": null, "card_fee_rate": null, "card_fee_note": null } ], "material_events": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "material", "amount": 255000, "account": null, "payer": "owner", "source": "original", "quantity": 3000, "rate": 85000, "number": "SJ20261118-", "customer": "对照锁价客户四", "product": "足金999", "actor": "麦麦", "created": "2026-11-18T02:01:56.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "card_fee_amount": null, "card_fee_payer": null, "card_fee_expense_id": null, "card_fee_rate": null, "card_fee_note": null } ], "voided_events": [], "received": 80000, "refunded": 0, "netReceived": 80000, "credit_card_fees": [], "credit_card_fee_total": 0 } ], "counts": { "pending": 4, "delivered": 0, "cancelled": 0 } } }, { "seq": 129, "label": null, "date": "2026-11-18", "actor": "assistant", "method": "GET", "path": "/api/price-locks/", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "", "number": "SJ20261118-", "date": "2026-11-18", "customer": "对照锁价客户", "salesperson": "娜娜", "note": "锁价备注", "line": { "name": "足金999", "code": "", "unit": "g", "quantity": 3000, "pocket": "", "payer": "owner", "costPayers": { "material": "owner", "labor": "owner" }, "cost": 255000, "costParts": { "material": 255000, "labor": 0, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 276000, "baseSale": 276000, "charges": [], "pricingMode": "auto", "goldPrice": 90000, "laborRate": 2000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 900.00元/克 + 工费 20.00元/克" }, "locked_mg": 3000, "sell_rate": 90000, "buy_rate": 85000, "buy_payer": "owner", "material_amount": 255000, "estimated_total": 276000, "discount": 0, "status": "pending", "revision": 1, "final_order_id": null, "delivery": null, "actor": "助理", "created": "2026-11-18T02:01:53.000Z", "updated": "2026-11-18T02:01:53.000Z", "cancelled_at": null, "cancelled_reason": null, "lines": [ { "id": "", "line_index": 0, "line": { "name": "足金999", "code": "", "unit": "g", "quantity": 3000, "pocket": "", "payer": "owner", "costPayers": { "material": "owner", "labor": "owner" }, "cost": 255000, "costParts": { "material": 255000, "labor": 0, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 276000, "baseSale": 276000, "charges": [], "pricingMode": "auto", "goldPrice": 90000, "laborRate": 2000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 900.00元/克 + 工费 20.00元/克" }, "locked_mg": 3000, "sell_rate": 90000, "buy_rate": 85000, "buy_payer": "owner", "material_amount": 255000, "material_source": "manual", "delivery": null } ], "member": "assistant", "kind": "priceLock", "credit_card_rate_permille": 6, "material_source": "manual", "cash_events": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 270000, "account": "助理微信", "payer": null, "source": null, "quantity": null, "rate": null, "number": "SJ20261118-", "customer": "对照锁价客户", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:53.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null, "card_fee_amount": null, "card_fee_payer": null, "card_fee_expense_id": null, "card_fee_rate": null, "card_fee_note": null } ], "material_events": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "material", "amount": 255000, "account": null, "payer": "owner", "source": "original", "quantity": 3000, "rate": 85000, "number": "SJ20261118-", "customer": "对照锁价客户", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:53.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "card_fee_amount": null, "card_fee_payer": null, "card_fee_expense_id": null, "card_fee_rate": null, "card_fee_note": null } ], "voided_events": [], "received": 270000, "refunded": 0, "netReceived": 270000, "credit_card_fees": [], "credit_card_fee_total": 0 } }, { "seq": 130, "label": "lock-foreign", "date": "2026-11-18", "actor": "assistant2", "method": "GET", "path": "/api/price-locks//edit-context", "key": null, "status": 404, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "error": "记录不存在或无权访问" } }, { "seq": 131, "label": null, "date": "2026-11-18", "actor": "assistant", "method": "GET", "path": "/api/price-locks//edit-context", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "eligible": true, "revision": 1, "requiresApproval": false, "reason": "", "inputs": { "date": "2026-11-18", "customer": "对照锁价客户二", "salesperson": "娜娜", "note": "锁价备注", "discount": "0.00", "member": "assistant", "payment": { "amount": "1000.00", "account": "助理支付宝", "verified": true }, "lines": [ { "name": "足金999", "code": "", "unit": "g", "quantity": "3.000", "goldPrice": "900.00", "laborRate": "20.00", "laborMode": "gram", "pieces": 1, "charges": [], "lineId": "", "material": { "source": "manual", "rate": "850.00", "payer": "owner", "verified": true } } ] }, "lock": { "id": "", "number": "SJ20261118-", "date": "2026-11-18", "customer": "对照锁价客户二", "salesperson": "娜娜", "note": "锁价备注", "line": { "name": "足金999", "code": "", "unit": "g", "quantity": 3000, "pocket": "", "payer": "owner", "costPayers": { "material": "owner", "labor": "owner" }, "cost": 255000, "costParts": { "material": 255000, "labor": 0, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 276000, "baseSale": 276000, "charges": [], "pricingMode": "auto", "goldPrice": 90000, "laborRate": 2000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 900.00元/克 + 工费 20.00元/克" }, "locked_mg": 3000, "sell_rate": 90000, "buy_rate": 85000, "buy_payer": "owner", "material_amount": 255000, "estimated_total": 276000, "discount": 0, "status": "pending", "revision": 1, "final_order_id": null, "delivery": null, "actor": "助理", "created": "2026-11-18T02:01:54.000Z", "updated": "2026-11-18T02:01:54.000Z", "cancelled_at": null, "cancelled_reason": null, "lines": [ { "id": "", "line_index": 0, "line": { "name": "足金999", "code": "", "unit": "g", "quantity": 3000, "pocket": "", "payer": "owner", "costPayers": { "material": "owner", "labor": "owner" }, "cost": 255000, "costParts": { "material": 255000, "labor": 0, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 276000, "baseSale": 276000, "charges": [], "pricingMode": "auto", "goldPrice": 90000, "laborRate": 2000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 900.00元/克 + 工费 20.00元/克" }, "locked_mg": 3000, "sell_rate": 90000, "buy_rate": 85000, "buy_payer": "owner", "material_amount": 255000, "material_source": "manual", "delivery": null } ], "member": "assistant", "kind": "priceLock", "credit_card_rate_permille": 6, "material_source": "manual", "cash_events": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 100000, "account": "助理支付宝", "payer": null, "source": null, "quantity": null, "rate": null, "number": "SJ20261118-", "customer": "对照锁价客户二", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:54.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null, "card_fee_amount": null, "card_fee_payer": null, "card_fee_expense_id": null, "card_fee_rate": null, "card_fee_note": null } ], "material_events": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "material", "amount": 255000, "account": null, "payer": "owner", "source": "original", "quantity": 3000, "rate": 85000, "number": "SJ20261118-", "customer": "对照锁价客户二", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:54.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "card_fee_amount": null, "card_fee_payer": null, "card_fee_expense_id": null, "card_fee_rate": null, "card_fee_note": null } ], "voided_events": [], "received": 100000, "refunded": 0, "netReceived": 100000, "credit_card_fees": [], "credit_card_fee_total": 0 }, "changePending": null } }, { "seq": 132, "label": "lock-edit-same-day", "date": "2026-11-18", "actor": "assistant", "method": "POST", "path": "/api/price-locks//edit", "key": "golden-00066-lock-edit-same-day", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "date": "2026-11-18", "customer": "对照锁价客户二", "salesperson": "娜娜", "note": "锁价备注", "discount": "0.00", "member": "assistant", "payment": { "amount": "1200", "account": "助理支付宝", "verified": true }, "lines": [ { "name": "足金999", "code": "", "unit": "g", "quantity": "3.000", "goldPrice": "900.00", "laborRate": "20.00", "laborMode": "gram", "pieces": 1, "charges": [], "lineId": "", "material": { "source": "manual", "rate": "850.00", "payer": "owner", "verified": true } } ], "revision": 1, "reason": "当天更正收款", "verified": true } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "", "price_lock_id": "", "status": "pending", "revision": 2, "lock": { "id": "", "number": "SJ20261118-", "date": "2026-11-18", "customer": "对照锁价客户二", "salesperson": "娜娜", "note": "锁价备注", "line": { "name": "足金999", "code": "", "unit": "g", "quantity": 3000, "pocket": "", "payer": "owner", "costPayers": { "material": "owner", "labor": "owner" }, "cost": 255000, "costParts": { "material": 255000, "labor": 0, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 276000, "baseSale": 276000, "charges": [], "pricingMode": "auto", "goldPrice": 90000, "laborRate": 2000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 900.00元/克 + 工费 20.00元/克" }, "locked_mg": 3000, "sell_rate": 90000, "buy_rate": 85000, "buy_payer": "owner", "material_amount": 255000, "estimated_total": 276000, "discount": 0, "status": "pending", "revision": 2, "final_order_id": null, "delivery": null, "actor": "助理", "created": "2026-11-18T02:01:54.000Z", "updated": "2026-11-18T02:02:02.000Z", "cancelled_at": null, "cancelled_reason": null, "lines": [ { "id": "", "line_index": 0, "line": { "name": "足金999", "code": "", "unit": "g", "quantity": 3000, "pocket": "", "payer": "owner", "costPayers": { "material": "owner", "labor": "owner" }, "cost": 255000, "costParts": { "material": 255000, "labor": 0, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 276000, "baseSale": 276000, "charges": [], "pricingMode": "auto", "goldPrice": 90000, "laborRate": 2000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 900.00元/克 + 工费 20.00元/克" }, "locked_mg": 3000, "sell_rate": 90000, "buy_rate": 85000, "buy_payer": "owner", "material_amount": 255000, "material_source": "manual", "delivery": null } ], "member": "assistant", "kind": "priceLock", "credit_card_rate_permille": 6, "material_source": "manual", "cash_events": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 120000, "account": "助理支付宝", "payer": null, "source": null, "quantity": null, "rate": null, "number": "SJ20261118-", "customer": "对照锁价客户二", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:02:02.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null, "card_fee_amount": null, "card_fee_payer": null, "card_fee_expense_id": null, "card_fee_rate": null, "card_fee_note": null } ], "material_events": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "material", "amount": 255000, "account": null, "payer": "owner", "source": "original", "quantity": 3000, "rate": 85000, "number": "SJ20261118-", "customer": "对照锁价客户二", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:54.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "card_fee_amount": null, "card_fee_payer": null, "card_fee_expense_id": null, "card_fee_rate": null, "card_fee_note": null } ], "voided_events": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 100000, "account": "助理支付宝", "payer": null, "source": null, "quantity": null, "rate": null, "number": "SJ20261118-", "customer": "对照锁价客户二", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:54.000Z", "line_index": null, "voided": 1, "void_reason": "当天更正收款", "voided_at": "2026-11-18T02:02:02.000Z", "card_fee_amount": null, "card_fee_payer": null, "card_fee_expense_id": null, "card_fee_rate": null, "card_fee_note": null } ], "received": 120000, "refunded": 0, "netReceived": 120000, "credit_card_fees": [], "credit_card_fee_total": 0 } } }, { "seq": 133, "note": "section", "name": "afterSalesStandalone" }, { "seq": 134, "label": null, "date": "2026-11-18", "actor": "assistant", "method": "POST", "path": "/api/after-sales", "key": "golden-00067-after-sales", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "date": "2026-11-18", "project": "对照改圈", "customer": "对照售后客户", "amount": "8.50", "payer": "assistant" } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "after_sale_id": "", "kind": "afterSale" } }, { "seq": 135, "label": null, "date": "2026-11-18", "actor": "assistant", "method": "GET", "path": "/api/after-sales/", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "", "revision": 1, "record": { "id": "", "date": "2026-11-18", "project": "对照改圈", "customer": "对照售后客户", "amount": 850, "payer": "assistant", "actor": "助理", "created": "2026-11-18T02:02:03.000Z", "member": "assistant", "revision": 1 }, "values": { "date": "2026-11-18", "project": "对照改圈", "customer": "对照售后客户", "amount": "8.50", "payer": "assistant" }, "permissions": { "canEdit": true, "canDirectEdit": true, "requiresApproval": false, "canRequest": true, "reason": "只有原日期和修改后日期都为北京时间今天时可直接保存;其他日期须由麦麦审批" }, "pending": null, "history": [] } }, { "seq": 136, "label": "after-sale-foreign", "date": "2026-11-18", "actor": "assistant2", "method": "GET", "path": "/api/after-sales/", "key": null, "status": 404, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "error": "售后记录不存在或无权访问" } }, { "seq": 137, "label": "after-sale-owner-zero", "date": "2026-11-18", "actor": "owner", "method": "POST", "path": "/api/after-sales", "key": "golden-00068-after-sale-owner-zero", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "date": "2026-11-18", "project": "对照清洗", "customer": "对照售后客户二", "amount": "0", "payer": "owner" } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "after_sale_id": "", "kind": "afterSale" } }, { "seq": 138, "label": "after-sale-invalid", "date": "2026-11-18", "actor": "assistant", "method": "POST", "path": "/api/after-sales", "key": "golden-00069-after-sale-invalid", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "date": "2026-11-18", "project": "对照改圈", "customer": "对照售后客户", "amount": "-1", "payer": "assistant" } }, "status": 400, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "error": "售后金额须为数字,最多2位小数" } }, { "seq": 139, "note": "section", "name": "templates" }, { "seq": 140, "label": null, "date": "2026-11-18", "actor": "owner", "method": "POST", "path": "/api/order-templates", "key": "golden-00070-order-templates", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "name": "对照常用模板", "member": "assistant", "preset": { "customer": "", "salesperson": "娜娜", "payment_account": "助理微信", "discount": "0", "rounding_mode": "cent", "lines": [ { "name": "足金999", "unit": "g", "quantity": "1", "pocket": "现货", "payer": "assistant", "pricingMode": "auto", "goldPrice": "950", "laborMode": "gram", "laborRate": "30", "pieces": "1", "charges": [], "costParts": { "material": "880", "labor": "20", "accessories": "0", "other": "0" } } ], "fee_items": [] } } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "", "name": "对照常用模板", "revision": 1, "updated": "2026-11-18T02:02:08.000Z" } }, { "seq": 141, "label": null, "date": "2026-11-18", "actor": "owner", "method": "GET", "path": "/api/order-templates", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "rows": [ { "id": "", "name": "对照常用模板", "revision": 1, "updated": "2026-11-18T02:02:08.000Z", "member": "assistant" } ] } }, { "seq": 142, "label": "order-templates-assistant", "date": "2026-11-18", "actor": "assistant", "method": "GET", "path": "/api/order-templates", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "rows": [ { "id": "", "name": "对照常用模板", "revision": 1, "updated": "2026-11-18T02:02:08.000Z", "member": "assistant" } ] } }, { "seq": 143, "label": null, "date": "2026-11-18", "actor": "owner", "method": "GET", "path": "/api/order-templates/", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "", "name": "对照常用模板", "preset": { "salesperson": "娜娜", "payment_account": "助理微信", "credit_card_fee_payer": "owner", "discount": "0", "note": "", "fee_auto_initialized": true, "lines": [ { "nameType": "足金999", "customName": "", "unit": "g", "quantity": "1", "pocket": "现货", "payer": "assistant", "pricingMode": "auto", "goldPrice": "950", "laborMode": "gram", "laborRate": "30", "pieces": "1", "priceNote": "", "sale": "", "baseSale": "", "name": "足金999", "charges": [], "costParts": { "material": "880", "labor": "20", "accessories": "0", "other": "0" }, "costPayers": { "material": "assistant", "labor": "assistant" }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total", "rate": "" } } ], "fee_items": [] }, "revision": 1, "created": "2026-11-18T02:02:08.000Z", "updated": "2026-11-18T02:02:08.000Z", "member": "assistant" } }, { "seq": 144, "label": "template-before-update", "date": "2026-11-18", "actor": "owner", "method": "GET", "path": "/api/order-templates/", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "", "name": "对照常用模板", "preset": { "salesperson": "娜娜", "payment_account": "助理微信", "credit_card_fee_payer": "owner", "discount": "0", "note": "", "fee_auto_initialized": true, "lines": [ { "nameType": "足金999", "customName": "", "unit": "g", "quantity": "1", "pocket": "现货", "payer": "assistant", "pricingMode": "auto", "goldPrice": "950", "laborMode": "gram", "laborRate": "30", "pieces": "1", "priceNote": "", "sale": "", "baseSale": "", "name": "足金999", "charges": [], "costParts": { "material": "880", "labor": "20", "accessories": "0", "other": "0" }, "costPayers": { "material": "assistant", "labor": "assistant" }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total", "rate": "" } } ], "fee_items": [] }, "revision": 1, "created": "2026-11-18T02:02:08.000Z", "updated": "2026-11-18T02:02:08.000Z", "member": "assistant" } }, { "seq": 145, "label": null, "date": "2026-11-18", "actor": "owner", "method": "POST", "path": "/api/order-templates//update", "key": "golden-00071-update", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "name": "对照常用模板(改)", "member": "assistant", "preset": { "customer": "", "salesperson": "娜娜", "payment_account": "助理微信", "discount": "0", "rounding_mode": "cent", "lines": [ { "name": "足金999", "unit": "g", "quantity": "1", "pocket": "现货", "payer": "assistant", "pricingMode": "auto", "goldPrice": "950", "laborMode": "gram", "laborRate": "30", "pieces": "1", "charges": [], "costParts": { "material": "880", "labor": "20", "accessories": "0", "other": "0" } } ], "fee_items": [] }, "revision": 1 } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "", "name": "对照常用模板(改)", "revision": 2, "updated": "2026-11-18T02:02:13.000Z" } }, { "seq": 146, "label": "template-assistant", "date": "2026-11-18", "actor": "assistant", "method": "POST", "path": "/api/order-templates", "key": "golden-00072-template-assistant", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "name": "娜娜自建模板", "member": "assistant", "preset": { "customer": "", "salesperson": "娜娜", "payment_account": "助理微信", "discount": "0", "rounding_mode": "cent", "lines": [ { "name": "足金999", "unit": "g", "quantity": "1", "pocket": "现货", "payer": "assistant", "pricingMode": "auto", "goldPrice": "950", "laborMode": "gram", "laborRate": "30", "pieces": "1", "charges": [], "costParts": { "material": "880", "labor": "20", "accessories": "0", "other": "0" } } ], "fee_items": [] } } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "", "name": "娜娜自建模板", "revision": 1, "updated": "2026-11-18T02:02:14.000Z" } }, { "seq": 147, "label": "template2", "date": "2026-11-18", "actor": "assistant", "method": "GET", "path": "/api/order-templates/", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "", "name": "娜娜自建模板", "preset": { "salesperson": "娜娜", "payment_account": "助理微信", "credit_card_fee_payer": "owner", "discount": "0", "note": "", "fee_auto_initialized": true, "lines": [ { "nameType": "足金999", "customName": "", "unit": "g", "quantity": "1", "pocket": "现货", "payer": "assistant", "pricingMode": "auto", "goldPrice": "950", "laborMode": "gram", "laborRate": "30", "pieces": "1", "priceNote": "", "sale": "", "baseSale": "", "name": "足金999", "charges": [], "costParts": { "material": "880", "labor": "20", "accessories": "0", "other": "0" }, "costPayers": { "material": "assistant", "labor": "assistant" }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total", "rate": "" } } ], "fee_items": [] }, "revision": 1, "created": "2026-11-18T02:02:14.000Z", "updated": "2026-11-18T02:02:14.000Z", "member": "assistant" } }, { "seq": 148, "label": "template-delete", "date": "2026-11-18", "actor": "assistant", "method": "POST", "path": "/api/order-templates//delete", "key": "golden-00073-template-delete", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "revision": 1 } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "", "deleted": true } }, { "seq": 149, "label": "order-templates-final", "date": "2026-11-18", "actor": "owner", "method": "GET", "path": "/api/order-templates", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "rows": [ { "id": "", "name": "对照常用模板(改)", "revision": 2, "updated": "2026-11-18T02:02:13.000Z", "member": "assistant" } ] } }, { "seq": 150, "note": "section", "name": "fundsD1" }, { "seq": 151, "label": null, "date": "2026-11-18", "actor": "assistant", "method": "POST", "path": "/api/reimbursements", "key": "golden-00074-reimbursements", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "date": "2026-11-18", "items": [ { "name": "对照邮寄", "amount": "15", "member": "owner", "sourceType": "independent" }, { "name": "对照包装", "amount": "6.5", "member": "owner", "sourceType": "independent" } ], "note": "对照报销" } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "", "reimbursement": { "id": "", "date": "2026-11-18", "items": [ { "id": "", "name": "对照邮寄", "amount": 1500, "member": "owner", "sourceType": "independent", "sourceKey": "", "usedAmount": 0, "remainingAmount": 1500 }, { "id": "", "name": "对照包装", "amount": 650, "member": "owner", "sourceType": "independent", "sourceKey": "", "usedAmount": 0, "remainingAmount": 650 } ], "total": 2150, "note": "对照报销", "status": "pending", "revision": 1, "requester_id": "", "requester_name": "助理", "reviewer_id": null, "reviewer_name": null, "reviewed": null, "review_note": "", "created": "2026-11-18T02:02:18.000Z", "updated": "2026-11-18T02:02:18.000Z", "payer": "assistant", "member": "assistant", "fundingMode": "independent", "canEdit": true, "canApprove": false } } }, { "seq": 152, "label": "reimbursements-assistant", "date": "2026-11-18", "actor": "assistant", "method": "GET", "path": "/api/reimbursements", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "requests": [ { "id": "", "date": "2026-11-18", "items": [ { "id": "", "name": "对照邮寄", "amount": 1500, "member": "owner", "sourceType": "independent", "sourceKey": "", "usedAmount": 0, "remainingAmount": 1500 }, { "id": "", "name": "对照包装", "amount": 650, "member": "owner", "sourceType": "independent", "sourceKey": "", "usedAmount": 0, "remainingAmount": 650 } ], "total": 2150, "note": "对照报销", "status": "pending", "revision": 1, "requester_id": "", "requester_name": "助理", "reviewer_id": null, "reviewer_name": null, "reviewed": null, "review_note": "", "created": "2026-11-18T02:02:18.000Z", "updated": "2026-11-18T02:02:18.000Z", "payer": "assistant", "member": "assistant", "fundingMode": "independent", "canEdit": true, "canApprove": false } ], "counts": { "pending": 1, "approved": 0, "rejected": 0 }, "total": 1, "limit": 50, "offset": 0, "hasMore": false } }, { "seq": 153, "label": "reimbursements-pending", "date": "2026-11-18", "actor": "owner", "method": "GET", "path": "/api/reimbursements?status=pending", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "requests": [ { "id": "", "date": "2026-11-18", "items": [ { "id": "", "name": "对照邮寄", "amount": 1500, "member": "owner", "sourceType": "independent", "sourceKey": "", "usedAmount": 0, "remainingAmount": 1500 }, { "id": "", "name": "对照包装", "amount": 650, "member": "owner", "sourceType": "independent", "sourceKey": "", "usedAmount": 0, "remainingAmount": 650 } ], "total": 2150, "note": "对照报销", "status": "pending", "revision": 1, "requester_id": "", "requester_name": "助理", "reviewer_id": null, "reviewer_name": null, "reviewed": null, "review_note": "", "created": "2026-11-18T02:02:18.000Z", "updated": "2026-11-18T02:02:18.000Z", "payer": "assistant", "member": "assistant", "fundingMode": "independent", "canEdit": true, "canApprove": true } ], "counts": { "pending": 1, "approved": 0, "rejected": 0 }, "total": 1, "limit": 50, "offset": 0, "hasMore": false } }, { "seq": 154, "label": "reimbursement-options", "date": "2026-11-18", "actor": "assistant", "method": "GET", "path": "/api/reimbursement-funding-options?date=2026-11-18", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "member": "assistant", "items": [] } }, { "seq": 155, "label": "reimbursement-update", "date": "2026-11-18", "actor": "assistant", "method": "POST", "path": "/api/reimbursements//update", "key": "golden-00075-reimbursement-update", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "date": "2026-11-18", "items": [ { "name": "对照邮寄", "amount": "15", "member": "owner", "sourceType": "independent" }, { "name": "对照包装", "amount": "6.5", "member": "owner", "sourceType": "independent" } ], "note": "补充备注", "revision": 1 } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "", "reimbursement": { "id": "", "date": "2026-11-18", "items": [ { "id": "", "name": "对照邮寄", "amount": 1500, "member": "owner", "sourceType": "independent", "sourceKey": "", "usedAmount": 0, "remainingAmount": 1500 }, { "id": "", "name": "对照包装", "amount": 650, "member": "owner", "sourceType": "independent", "sourceKey": "", "usedAmount": 0, "remainingAmount": 650 } ], "total": 2150, "note": "补充备注", "status": "pending", "revision": 2, "requester_id": "", "requester_name": "助理", "reviewer_id": null, "reviewer_name": null, "reviewed": null, "review_note": "", "created": "2026-11-18T02:02:18.000Z", "updated": "2026-11-18T02:02:22.000Z", "payer": "assistant", "member": "assistant", "fundingMode": "independent", "canEdit": true, "canApprove": false } } }, { "seq": 156, "label": "reimbursement-self-approve", "date": "2026-11-18", "actor": "assistant", "method": "POST", "path": "/api/reimbursements//approve", "key": "golden-00076-reimbursement-self-approve", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "revision": 2, "verified": true } }, "status": 403, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "error": "报销复核与完整对外支出确认由麦麦账号完成" } }, { "seq": 157, "label": null, "date": "2026-11-18", "actor": "owner", "method": "POST", "path": "/api/reimbursements//approve", "key": "golden-00077-approve", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "revision": 2, "verified": true } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "", "reimbursement": { "id": "", "date": "2026-11-18", "items": [ { "id": "", "name": "对照邮寄", "amount": 1500, "member": "owner", "sourceType": "independent", "sourceKey": "", "usedAmount": 0, "remainingAmount": 1500 }, { "id": "", "name": "对照包装", "amount": 650, "member": "owner", "sourceType": "independent", "sourceKey": "", "usedAmount": 0, "remainingAmount": 650 } ], "total": 2150, "note": "补充备注", "status": "approved", "revision": 3, "requester_id": "", "requester_name": "助理", "reviewer_id": "", "reviewer_name": "麦麦", "reviewed": "2026-11-18T02:02:24.000Z", "review_note": "", "created": "2026-11-18T02:02:18.000Z", "updated": "2026-11-18T02:02:24.000Z", "payer": "assistant", "member": "assistant", "fundingMode": "independent", "canEdit": false, "canApprove": false } } }, { "seq": 158, "label": "reimbursement-2", "date": "2026-11-18", "actor": "assistant2", "method": "POST", "path": "/api/reimbursements", "key": "golden-00078-reimbursement-2", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "date": "2026-11-18", "items": [ { "name": "对照快递", "amount": "9", "member": "owner", "sourceType": "independent" } ] } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "", "reimbursement": { "id": "", "date": "2026-11-18", "items": [ { "id": "", "name": "对照快递", "amount": 900, "member": "owner", "sourceType": "independent", "sourceKey": "", "usedAmount": 0, "remainingAmount": 900 } ], "total": 900, "note": "", "status": "pending", "revision": 1, "requester_id": "", "requester_name": "助理2", "reviewer_id": null, "reviewer_name": null, "reviewed": null, "review_note": "", "created": "2026-11-18T02:02:25.000Z", "updated": "2026-11-18T02:02:25.000Z", "payer": "assistant2", "member": "assistant2", "fundingMode": "independent", "canEdit": true, "canApprove": false } } }, { "seq": 159, "label": "reimbursement-reject", "date": "2026-11-18", "actor": "owner", "method": "POST", "path": "/api/reimbursements//reject", "key": "golden-00079-reimbursement-reject", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "revision": 1, "note": "凭据不全" } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "", "reimbursement": { "id": "", "date": "2026-11-18", "items": [ { "id": "", "name": "对照快递", "amount": 900, "member": "owner", "sourceType": "independent", "sourceKey": "", "usedAmount": 0, "remainingAmount": 900 } ], "total": 900, "note": "", "status": "rejected", "revision": 2, "requester_id": "", "requester_name": "助理2", "reviewer_id": "", "reviewer_name": "麦麦", "reviewed": "2026-11-18T02:02:26.000Z", "review_note": "凭据不全", "created": "2026-11-18T02:02:25.000Z", "updated": "2026-11-18T02:02:26.000Z", "payer": "assistant2", "member": "assistant2", "fundingMode": "independent", "canEdit": true, "canApprove": false } } }, { "seq": 160, "label": null, "date": "2026-11-18", "actor": "owner", "method": "GET", "path": "/api/daily-funds?date=2026-11-18", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "date": "2026-11-18", "from": "2026-11-18", "team": { "from": "2026-11-18", "to": "2026-11-18", "date": "2026-11-18", "members": [ { "id": "owner", "name": "麦麦" }, { "id": "assistant", "name": "娜娜" }, { "id": "assistant2", "name": "小昊" } ], "balances": [ { "member": "owner", "receipts": 1748500, "refunds": 0, "outlays": 4274531, "transferIn": 0, "transferOut": 0, "openingChange": 0, "periodChange": -2526031, "cumulativeChange": -2526031, "cashBalance": -2526031, "balanceType": "recorded-change", "notice": "仅三人新账已登记的资金增减,不含真实期初余额" }, { "member": "assistant", "receipts": 1123100, "refunds": 0, "outlays": 978400, "transferIn": 0, "transferOut": 0, "openingChange": 0, "periodChange": 144700, "cumulativeChange": 144700, "cashBalance": 144700, "balanceType": "recorded-change", "notice": "仅三人新账已登记的资金增减,不含真实期初余额" }, { "member": "assistant2", "receipts": 917163, "refunds": 0, "outlays": 1021000, "transferIn": 0, "transferOut": 0, "openingChange": 0, "periodChange": -103837, "cumulativeChange": -103837, "cashBalance": -103837, "balanceType": "recorded-change", "notice": "仅三人新账已登记的资金增减,不含真实期初余额" } ], "pairs": [ { "id": "owner:assistant", "members": [ "owner", "assistant" ], "net": -657081, "obligationNet": -657081, "transferred": 0, "receivedForNet": 288500, "advancedNet": -945581, "offset": 290650, "due": 657081, "fromMember": "assistant", "toMember": "owner", "direction": "transfer", "period": { "obligationNet": -657081, "transferred": 0, "receivedForNet": 288500, "advancedNet": -945581 }, "entries": [ { "id": "", "date": "2026-11-18", "kind": "advance", "project": "商品实际垫付", "fromMember": "assistant", "toMember": "owner", "amount": 286000, "revision": 1, "sourceKind": "order", "sourceId": "" }, { "id": "", "date": "2026-11-18", "kind": "receipt", "project": "客户款代收", "fromMember": "owner", "toMember": "assistant", "amount": 288500, "revision": 1, "sourceKind": "order", "sourceId": "" }, { "id": "", "date": "2026-11-18", "kind": "advance", "project": "订单实际费用", "fromMember": "assistant", "toMember": "owner", "amount": 1731, "revision": 1, "sourceKind": "order", "sourceId": "" }, { "id": "", "date": "2026-11-18", "kind": "advance", "project": "商品实际垫付", "fromMember": "assistant", "toMember": "owner", "amount": 150000, "revision": 1, "sourceKind": "order", "sourceId": "" }, { "id": "", "date": "2026-11-18", "kind": "advance", "project": "锁价实际购料", "fromMember": "assistant", "toMember": "owner", "amount": 255000, "revision": 1, "sourceKind": "price_lock", "sourceId": "" }, { "id": "", "date": "2026-11-18", "kind": "advance", "project": "锁价实际购料", "fromMember": "assistant", "toMember": "owner", "amount": 255000, "revision": 1, "sourceKind": "price_lock", "sourceId": "" }, { "id": "", "date": "2026-11-18", "kind": "reimbursement", "project": "独立支出报销 · 对照邮寄", "fromMember": "owner", "toMember": "assistant", "amount": 1500, "revision": 1, "sourceKind": "reimbursement", "sourceId": "" }, { "id": "", "date": "2026-11-18", "kind": "reimbursement", "project": "独立支出报销 · 对照包装", "fromMember": "owner", "toMember": "assistant", "amount": 650, "revision": 1, "sourceKind": "reimbursement", "sourceId": "" } ] }, { "id": "owner:assistant2", "members": [ "owner", "assistant2" ], "net": 0, "obligationNet": 0, "transferred": 0, "receivedForNet": 0, "advancedNet": 0, "offset": 0, "due": 0, "fromMember": null, "toMember": null, "direction": "none", "period": { "obligationNet": 0, "transferred": 0, "receivedForNet": 0, "advancedNet": 0 }, "entries": [] }, { "id": "assistant:assistant2", "members": [ "assistant", "assistant2" ], "net": 0, "obligationNet": 0, "transferred": 0, "receivedForNet": 0, "advancedNet": 0, "offset": 0, "due": 0, "fromMember": null, "toMember": null, "direction": "none", "period": { "obligationNet": 0, "transferred": 0, "receivedForNet": 0, "advancedNet": 0 }, "entries": [] } ], "entries": [ { "id": "", "date": "2026-11-18", "kind": "advance", "project": "商品实际垫付", "fromMember": "assistant", "toMember": "owner", "amount": 286000, "revision": 1, "sourceKind": "order", "sourceId": "" }, { "id": "", "date": "2026-11-18", "kind": "receipt", "project": "客户款代收", "fromMember": "owner", "toMember": "assistant", "amount": 288500, "revision": 1, "sourceKind": "order", "sourceId": "" }, { "id": "", "date": "2026-11-18", "kind": "advance", "project": "订单实际费用", "fromMember": "assistant", "toMember": "owner", "amount": 1731, "revision": 1, "sourceKind": "order", "sourceId": "" }, { "id": "", "date": "2026-11-18", "kind": "advance", "project": "商品实际垫付", "fromMember": "assistant", "toMember": "owner", "amount": 150000, "revision": 1, "sourceKind": "order", "sourceId": "" }, { "id": "", "date": "2026-11-18", "kind": "advance", "project": "锁价实际购料", "fromMember": "assistant", "toMember": "owner", "amount": 255000, "revision": 1, "sourceKind": "price_lock", "sourceId": "" }, { "id": "", "date": "2026-11-18", "kind": "advance", "project": "锁价实际购料", "fromMember": "assistant", "toMember": "owner", "amount": 255000, "revision": 1, "sourceKind": "price_lock", "sourceId": "" }, { "id": "", "date": "2026-11-18", "kind": "reimbursement", "project": "独立支出报销 · 对照邮寄", "fromMember": "owner", "toMember": "assistant", "amount": 1500, "revision": 1, "sourceKind": "reimbursement", "sourceId": "" }, { "id": "", "date": "2026-11-18", "kind": "reimbursement", "project": "独立支出报销 · 对照包装", "fromMember": "owner", "toMember": "assistant", "amount": 650, "revision": 1, "sourceKind": "reimbursement", "sourceId": "" } ], "transfers": [], "revision": "6a6a54a9d40e5cce6d7e2bc7b749624618a7e3f1ea7835f0c3cfc7af3b3b5508", "pending": [], "legacyReadOnly": true, "cutover": "仅已启用的三人新账事件;旧结算不自动迁入", "transfersDeducted": true }, "readOnly": false, "hasRecords": true, "pendingCount": 0, "legacyReadOnly": true, "transfersNotDeducted": false, "reimbursements": [ { "id": "", "date": "2026-11-18", "items": [ { "id": "", "name": "对照邮寄", "amount": 1500, "member": "owner", "sourceType": "independent", "sourceKey": "", "usedAmount": 0, "remainingAmount": 1500 }, { "id": "", "name": "对照包装", "amount": 650, "member": "owner", "sourceType": "independent", "sourceKey": "", "usedAmount": 0, "remainingAmount": 650 } ], "total": 2150, "note": "补充备注", "status": "approved", "revision": 3, "requester_id": "", "requester_name": "助理", "reviewer_id": "", "reviewer_name": "麦麦", "reviewed": "2026-11-18T02:02:24.000Z", "review_note": "", "created": "2026-11-18T02:02:18.000Z", "updated": "2026-11-18T02:02:24.000Z", "payer": "assistant", "member": "assistant", "fundingMode": "independent", "canEdit": false, "canApprove": false }, { "id": "", "date": "2026-11-18", "items": [ { "id": "", "name": "对照快递", "amount": 900, "member": "owner", "sourceType": "independent", "sourceKey": "", "usedAmount": 0, "remainingAmount": 900 } ], "total": 900, "note": "", "status": "rejected", "revision": 2, "requester_id": "", "requester_name": "助理2", "reviewer_id": "", "reviewer_name": "麦麦", "reviewed": "2026-11-18T02:02:26.000Z", "review_note": "凭据不全", "created": "2026-11-18T02:02:25.000Z", "updated": "2026-11-18T02:02:26.000Z", "payer": "assistant2", "member": "assistant2", "fundingMode": "independent", "canEdit": true, "canApprove": false } ], "approvedReimbursements": 2150, "ready": true, "transferAmount": null, "direction": null, "sources": { "revision": "6a6a54a9d40e5cce6d7e2bc7b749624618a7e3f1ea7835f0c3cfc7af3b3b5508", "total": 0, "items": [] }, "confirmation": null, "actualOutlay": null, "missingDates": [], "staleDates": [], "days": [] } }, { "seq": 161, "label": "daily-funds-assistant", "date": "2026-11-18", "actor": "assistant", "method": "GET", "path": "/api/daily-funds?date=2026-11-18", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "date": "2026-11-18", "from": "2026-11-18", "team": { "from": "2026-11-18", "to": "2026-11-18", "date": "2026-11-18", "members": [ { "id": "owner", "name": "麦麦" }, { "id": "assistant", "name": "娜娜" }, { "id": "assistant2", "name": "小昊" } ], "balances": [ { "member": "assistant", "receipts": 1123100, "refunds": 0, "outlays": 978400, "transferIn": 0, "transferOut": 0, "openingChange": 0, "periodChange": 144700, "cumulativeChange": 144700, "cashBalance": 144700, "balanceType": "recorded-change", "notice": "仅三人新账已登记的资金增减,不含真实期初余额" } ], "pairs": [ { "id": "owner:assistant", "members": [ "owner", "assistant" ], "net": -657081, "obligationNet": -657081, "transferred": 0, "receivedForNet": 288500, "advancedNet": -945581, "offset": 290650, "due": 657081, "fromMember": "assistant", "toMember": "owner", "direction": "transfer", "period": { "obligationNet": -657081, "transferred": 0, "receivedForNet": 288500, "advancedNet": -945581 }, "entries": [ { "id": "", "date": "2026-11-18", "kind": "advance", "project": "商品实际垫付", "fromMember": "assistant", "toMember": "owner", "amount": 286000, "revision": 1 }, { "id": "", "date": "2026-11-18", "kind": "receipt", "project": "客户款代收", "fromMember": "owner", "toMember": "assistant", "amount": 288500, "revision": 1 }, { "id": "", "date": "2026-11-18", "kind": "advance", "project": "订单实际费用", "fromMember": "assistant", "toMember": "owner", "amount": 1731, "revision": 1 }, { "id": "", "date": "2026-11-18", "kind": "advance", "project": "商品实际垫付", "fromMember": "assistant", "toMember": "owner", "amount": 150000, "revision": 1 }, { "id": "", "date": "2026-11-18", "kind": "advance", "project": "锁价实际购料", "fromMember": "assistant", "toMember": "owner", "amount": 255000, "revision": 1 }, { "id": "", "date": "2026-11-18", "kind": "advance", "project": "锁价实际购料", "fromMember": "assistant", "toMember": "owner", "amount": 255000, "revision": 1 }, { "id": "", "date": "2026-11-18", "kind": "reimbursement", "project": "独立支出报销 · 对照邮寄", "fromMember": "owner", "toMember": "assistant", "amount": 1500, "revision": 1 }, { "id": "", "date": "2026-11-18", "kind": "reimbursement", "project": "独立支出报销 · 对照包装", "fromMember": "owner", "toMember": "assistant", "amount": 650, "revision": 1 } ] }, { "id": "assistant:assistant2", "members": [ "assistant", "assistant2" ], "net": 0, "obligationNet": 0, "transferred": 0, "receivedForNet": 0, "advancedNet": 0, "offset": 0, "due": 0, "fromMember": null, "toMember": null, "direction": "none", "period": { "obligationNet": 0, "transferred": 0, "receivedForNet": 0, "advancedNet": 0 }, "entries": [] } ], "entries": [ { "id": "", "date": "2026-11-18", "kind": "advance", "project": "商品实际垫付", "fromMember": "assistant", "toMember": "owner", "amount": 286000, "revision": 1 }, { "id": "", "date": "2026-11-18", "kind": "receipt", "project": "客户款代收", "fromMember": "owner", "toMember": "assistant", "amount": 288500, "revision": 1 }, { "id": "", "date": "2026-11-18", "kind": "advance", "project": "订单实际费用", "fromMember": "assistant", "toMember": "owner", "amount": 1731, "revision": 1 }, { "id": "", "date": "2026-11-18", "kind": "advance", "project": "商品实际垫付", "fromMember": "assistant", "toMember": "owner", "amount": 150000, "revision": 1 }, { "id": "", "date": "2026-11-18", "kind": "advance", "project": "锁价实际购料", "fromMember": "assistant", "toMember": "owner", "amount": 255000, "revision": 1 }, { "id": "", "date": "2026-11-18", "kind": "advance", "project": "锁价实际购料", "fromMember": "assistant", "toMember": "owner", "amount": 255000, "revision": 1 }, { "id": "", "date": "2026-11-18", "kind": "reimbursement", "project": "独立支出报销 · 对照邮寄", "fromMember": "owner", "toMember": "assistant", "amount": 1500, "revision": 1 }, { "id": "", "date": "2026-11-18", "kind": "reimbursement", "project": "独立支出报销 · 对照包装", "fromMember": "owner", "toMember": "assistant", "amount": 650, "revision": 1 } ], "transfers": [], "revision": "6a6a54a9d40e5cce6d7e2bc7b749624618a7e3f1ea7835f0c3cfc7af3b3b5508", "pending": [], "legacyReadOnly": true, "cutover": "仅已启用的三人新账事件;旧结算不自动迁入", "transfersDeducted": true }, "readOnly": false, "hasRecords": true, "pendingCount": 0, "legacyReadOnly": true, "transfersNotDeducted": false, "reimbursements": [ { "id": "", "date": "2026-11-18", "items": [ { "id": "", "name": "对照邮寄", "amount": 1500, "member": "owner", "sourceType": "independent", "sourceKey": "", "usedAmount": 0, "remainingAmount": 1500 }, { "id": "", "name": "对照包装", "amount": 650, "member": "owner", "sourceType": "independent", "sourceKey": "", "usedAmount": 0, "remainingAmount": 650 } ], "total": 2150, "note": "补充备注", "status": "approved", "revision": 3, "requester_id": "", "requester_name": "助理", "reviewer_id": "", "reviewer_name": "麦麦", "reviewed": "2026-11-18T02:02:24.000Z", "review_note": "", "created": "2026-11-18T02:02:18.000Z", "updated": "2026-11-18T02:02:24.000Z", "payer": "assistant", "member": "assistant", "fundingMode": "independent", "canEdit": false, "canApprove": false } ], "approvedReimbursements": 2150, "ready": true, "transferAmount": null, "direction": null, "sources": { "revision": "6a6a54a9d40e5cce6d7e2bc7b749624618a7e3f1ea7835f0c3cfc7af3b3b5508", "total": 0, "items": [] }, "confirmation": null, "actualOutlay": null, "missingDates": [], "staleDates": [], "days": [] } }, { "seq": 162, "label": "daily-outlay-confirm", "date": "2026-11-18", "actor": "owner", "method": "POST", "path": "/api/daily-funds/confirm", "key": "golden-00080-daily-outlay-confirm", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "date": "2026-11-18", "amount": "0", "revision": 0, "sourceRevision": "6a6a54a9d40e5cce6d7e2bc7b749624618a7e3f1ea7835f0c3cfc7af3b3b5508", "verified": true } }, "status": 409, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "error": "三人经营款按成员往来核对,请登记实际付款来源与双方转账" } }, { "seq": 163, "label": "team-funds-before-transfer", "date": "2026-11-18", "actor": "owner", "method": "GET", "path": "/api/team-funds?date=2026-11-18", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "from": "2026-11-18", "to": "2026-11-18", "date": "2026-11-18", "members": [ { "id": "owner", "name": "麦麦" }, { "id": "assistant", "name": "娜娜" }, { "id": "assistant2", "name": "小昊" } ], "balances": [ { "member": "owner", "receipts": 1748500, "refunds": 0, "outlays": 4274531, "transferIn": 0, "transferOut": 0, "openingChange": 0, "periodChange": -2526031, "cumulativeChange": -2526031, "cashBalance": -2526031, "balanceType": "recorded-change", "notice": "仅三人新账已登记的资金增减,不含真实期初余额" }, { "member": "assistant", "receipts": 1123100, "refunds": 0, "outlays": 978400, "transferIn": 0, "transferOut": 0, "openingChange": 0, "periodChange": 144700, "cumulativeChange": 144700, "cashBalance": 144700, "balanceType": "recorded-change", "notice": "仅三人新账已登记的资金增减,不含真实期初余额" }, { "member": "assistant2", "receipts": 917163, "refunds": 0, "outlays": 1021000, "transferIn": 0, "transferOut": 0, "openingChange": 0, "periodChange": -103837, "cumulativeChange": -103837, "cashBalance": -103837, "balanceType": "recorded-change", "notice": "仅三人新账已登记的资金增减,不含真实期初余额" } ], "pairs": [ { "id": "owner:assistant", "members": [ "owner", "assistant" ], "net": -657081, "obligationNet": -657081, "transferred": 0, "receivedForNet": 288500, "advancedNet": -945581, "offset": 290650, "due": 657081, "fromMember": "assistant", "toMember": "owner", "direction": "transfer", "period": { "obligationNet": -657081, "transferred": 0, "receivedForNet": 288500, "advancedNet": -945581 }, "entries": [ { "id": "", "date": "2026-11-18", "kind": "advance", "project": "商品实际垫付", "fromMember": "assistant", "toMember": "owner", "amount": 286000, "revision": 1, "sourceKind": "order", "sourceId": "" }, { "id": "", "date": "2026-11-18", "kind": "receipt", "project": "客户款代收", "fromMember": "owner", "toMember": "assistant", "amount": 288500, "revision": 1, "sourceKind": "order", "sourceId": "" }, { "id": "", "date": "2026-11-18", "kind": "advance", "project": "订单实际费用", "fromMember": "assistant", "toMember": "owner", "amount": 1731, "revision": 1, "sourceKind": "order", "sourceId": "" }, { "id": "", "date": "2026-11-18", "kind": "advance", "project": "商品实际垫付", "fromMember": "assistant", "toMember": "owner", "amount": 150000, "revision": 1, "sourceKind": "order", "sourceId": "" }, { "id": "", "date": "2026-11-18", "kind": "advance", "project": "锁价实际购料", "fromMember": "assistant", "toMember": "owner", "amount": 255000, "revision": 1, "sourceKind": "price_lock", "sourceId": "" }, { "id": "", "date": "2026-11-18", "kind": "advance", "project": "锁价实际购料", "fromMember": "assistant", "toMember": "owner", "amount": 255000, "revision": 1, "sourceKind": "price_lock", "sourceId": "" }, { "id": "", "date": "2026-11-18", "kind": "reimbursement", "project": "独立支出报销 · 对照邮寄", "fromMember": "owner", "toMember": "assistant", "amount": 1500, "revision": 1, "sourceKind": "reimbursement", "sourceId": "" }, { "id": "", "date": "2026-11-18", "kind": "reimbursement", "project": "独立支出报销 · 对照包装", "fromMember": "owner", "toMember": "assistant", "amount": 650, "revision": 1, "sourceKind": "reimbursement", "sourceId": "" } ] }, { "id": "owner:assistant2", "members": [ "owner", "assistant2" ], "net": 0, "obligationNet": 0, "transferred": 0, "receivedForNet": 0, "advancedNet": 0, "offset": 0, "due": 0, "fromMember": null, "toMember": null, "direction": "none", "period": { "obligationNet": 0, "transferred": 0, "receivedForNet": 0, "advancedNet": 0 }, "entries": [] }, { "id": "assistant:assistant2", "members": [ "assistant", "assistant2" ], "net": 0, "obligationNet": 0, "transferred": 0, "receivedForNet": 0, "advancedNet": 0, "offset": 0, "due": 0, "fromMember": null, "toMember": null, "direction": "none", "period": { "obligationNet": 0, "transferred": 0, "receivedForNet": 0, "advancedNet": 0 }, "entries": [] } ], "entries": [ { "id": "", "date": "2026-11-18", "kind": "advance", "project": "商品实际垫付", "fromMember": "assistant", "toMember": "owner", "amount": 286000, "revision": 1, "sourceKind": "order", "sourceId": "" }, { "id": "", "date": "2026-11-18", "kind": "receipt", "project": "客户款代收", "fromMember": "owner", "toMember": "assistant", "amount": 288500, "revision": 1, "sourceKind": "order", "sourceId": "" }, { "id": "", "date": "2026-11-18", "kind": "advance", "project": "订单实际费用", "fromMember": "assistant", "toMember": "owner", "amount": 1731, "revision": 1, "sourceKind": "order", "sourceId": "" }, { "id": "", "date": "2026-11-18", "kind": "advance", "project": "商品实际垫付", "fromMember": "assistant", "toMember": "owner", "amount": 150000, "revision": 1, "sourceKind": "order", "sourceId": "" }, { "id": "", "date": "2026-11-18", "kind": "advance", "project": "锁价实际购料", "fromMember": "assistant", "toMember": "owner", "amount": 255000, "revision": 1, "sourceKind": "price_lock", "sourceId": "" }, { "id": "", "date": "2026-11-18", "kind": "advance", "project": "锁价实际购料", "fromMember": "assistant", "toMember": "owner", "amount": 255000, "revision": 1, "sourceKind": "price_lock", "sourceId": "" }, { "id": "", "date": "2026-11-18", "kind": "reimbursement", "project": "独立支出报销 · 对照邮寄", "fromMember": "owner", "toMember": "assistant", "amount": 1500, "revision": 1, "sourceKind": "reimbursement", "sourceId": "" }, { "id": "", "date": "2026-11-18", "kind": "reimbursement", "project": "独立支出报销 · 对照包装", "fromMember": "owner", "toMember": "assistant", "amount": 650, "revision": 1, "sourceKind": "reimbursement", "sourceId": "" } ], "transfers": [], "revision": "6a6a54a9d40e5cce6d7e2bc7b749624618a7e3f1ea7835f0c3cfc7af3b3b5508", "pending": [], "legacyReadOnly": true, "cutover": "仅已启用的三人新账事件;旧结算不自动迁入", "transfersDeducted": true } }, { "seq": 164, "label": "transfer", "date": "2026-11-18", "actor": "owner", "method": "POST", "path": "/api/team-funds/transfers", "key": "golden-00081-transfer", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "date": "2026-11-18", "fromMember": "assistant", "toMember": "owner", "amount": "100.00", "revision": "6a6a54a9d40e5cce6d7e2bc7b749624618a7e3f1ea7835f0c3cfc7af3b3b5508", "verified": true, "note": "对照转账" } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "", "team": { "from": "2026-11-18", "to": "2026-11-18", "date": "2026-11-18", "members": [ { "id": "owner", "name": "麦麦" }, { "id": "assistant", "name": "娜娜" }, { "id": "assistant2", "name": "小昊" } ], "balances": [ { "member": "owner", "receipts": 1748500, "refunds": 0, "outlays": 4274531, "transferIn": 10000, "transferOut": 0, "openingChange": 0, "periodChange": -2516031, "cumulativeChange": -2516031, "cashBalance": -2516031, "balanceType": "recorded-change", "notice": "仅三人新账已登记的资金增减,不含真实期初余额" }, { "member": "assistant", "receipts": 1123100, "refunds": 0, "outlays": 978400, "transferIn": 0, "transferOut": 10000, "openingChange": 0, "periodChange": 134700, "cumulativeChange": 134700, "cashBalance": 134700, "balanceType": "recorded-change", "notice": "仅三人新账已登记的资金增减,不含真实期初余额" }, { "member": "assistant2", "receipts": 917163, "refunds": 0, "outlays": 1021000, "transferIn": 0, "transferOut": 0, "openingChange": 0, "periodChange": -103837, "cumulativeChange": -103837, "cashBalance": -103837, "balanceType": "recorded-change", "notice": "仅三人新账已登记的资金增减,不含真实期初余额" } ], "pairs": [ { "id": "owner:assistant", "members": [ "owner", "assistant" ], "net": -647081, "obligationNet": -657081, "transferred": -10000, "receivedForNet": 288500, "advancedNet": -945581, "offset": 290650, "due": 647081, "fromMember": "assistant", "toMember": "owner", "direction": "transfer", "period": { "obligationNet": -657081, "transferred": -10000, "receivedForNet": 288500, "advancedNet": -945581 }, "entries": [ { "id": "", "date": "2026-11-18", "kind": "advance", "project": "商品实际垫付", "fromMember": "assistant", "toMember": "owner", "amount": 286000, "revision": 1, "sourceKind": "order", "sourceId": "" }, { "id": "", "date": "2026-11-18", "kind": "receipt", "project": "客户款代收", "fromMember": "owner", "toMember": "assistant", "amount": 288500, "revision": 1, "sourceKind": "order", "sourceId": "" }, { "id": "", "date": "2026-11-18", "kind": "advance", "project": "订单实际费用", "fromMember": "assistant", "toMember": "owner", "amount": 1731, "revision": 1, "sourceKind": "order", "sourceId": "" }, { "id": "", "date": "2026-11-18", "kind": "advance", "project": "商品实际垫付", "fromMember": "assistant", "toMember": "owner", "amount": 150000, "revision": 1, "sourceKind": "order", "sourceId": "" }, { "id": "", "date": "2026-11-18", "kind": "advance", "project": "锁价实际购料", "fromMember": "assistant", "toMember": "owner", "amount": 255000, "revision": 1, "sourceKind": "price_lock", "sourceId": "" }, { "id": "", "date": "2026-11-18", "kind": "advance", "project": "锁价实际购料", "fromMember": "assistant", "toMember": "owner", "amount": 255000, "revision": 1, "sourceKind": "price_lock", "sourceId": "" }, { "id": "", "date": "2026-11-18", "kind": "reimbursement", "project": "独立支出报销 · 对照邮寄", "fromMember": "owner", "toMember": "assistant", "amount": 1500, "revision": 1, "sourceKind": "reimbursement", "sourceId": "" }, { "id": "", "date": "2026-11-18", "kind": "reimbursement", "project": "独立支出报销 · 对照包装", "fromMember": "owner", "toMember": "assistant", "amount": 650, "revision": 1, "sourceKind": "reimbursement", "sourceId": "" } ] }, { "id": "owner:assistant2", "members": [ "owner", "assistant2" ], "net": 0, "obligationNet": 0, "transferred": 0, "receivedForNet": 0, "advancedNet": 0, "offset": 0, "due": 0, "fromMember": null, "toMember": null, "direction": "none", "period": { "obligationNet": 0, "transferred": 0, "receivedForNet": 0, "advancedNet": 0 }, "entries": [] }, { "id": "assistant:assistant2", "members": [ "assistant", "assistant2" ], "net": 0, "obligationNet": 0, "transferred": 0, "receivedForNet": 0, "advancedNet": 0, "offset": 0, "due": 0, "fromMember": null, "toMember": null, "direction": "none", "period": { "obligationNet": 0, "transferred": 0, "receivedForNet": 0, "advancedNet": 0 }, "entries": [] } ], "entries": [ { "id": "", "date": "2026-11-18", "kind": "advance", "project": "商品实际垫付", "fromMember": "assistant", "toMember": "owner", "amount": 286000, "revision": 1, "sourceKind": "order", "sourceId": "" }, { "id": "", "date": "2026-11-18", "kind": "receipt", "project": "客户款代收", "fromMember": "owner", "toMember": "assistant", "amount": 288500, "revision": 1, "sourceKind": "order", "sourceId": "" }, { "id": "", "date": "2026-11-18", "kind": "advance", "project": "订单实际费用", "fromMember": "assistant", "toMember": "owner", "amount": 1731, "revision": 1, "sourceKind": "order", "sourceId": "" }, { "id": "", "date": "2026-11-18", "kind": "advance", "project": "商品实际垫付", "fromMember": "assistant", "toMember": "owner", "amount": 150000, "revision": 1, "sourceKind": "order", "sourceId": "" }, { "id": "", "date": "2026-11-18", "kind": "advance", "project": "锁价实际购料", "fromMember": "assistant", "toMember": "owner", "amount": 255000, "revision": 1, "sourceKind": "price_lock", "sourceId": "" }, { "id": "", "date": "2026-11-18", "kind": "advance", "project": "锁价实际购料", "fromMember": "assistant", "toMember": "owner", "amount": 255000, "revision": 1, "sourceKind": "price_lock", "sourceId": "" }, { "id": "", "date": "2026-11-18", "kind": "reimbursement", "project": "独立支出报销 · 对照邮寄", "fromMember": "owner", "toMember": "assistant", "amount": 1500, "revision": 1, "sourceKind": "reimbursement", "sourceId": "" }, { "id": "", "date": "2026-11-18", "kind": "reimbursement", "project": "独立支出报销 · 对照包装", "fromMember": "owner", "toMember": "assistant", "amount": 650, "revision": 1, "sourceKind": "reimbursement", "sourceId": "" } ], "transfers": [ { "id": "", "date": "2026-11-18", "fromMember": "assistant", "toMember": "owner", "amount": 10000, "note": "对照转账", "actor": "麦麦" } ], "revision": "70efa07e17ce0a2addce8e0bd7b8a0453efd7f3a18845ff4958679e7c7e5ec8e", "pending": [], "legacyReadOnly": true, "cutover": "仅已启用的三人新账事件;旧结算不自动迁入", "transfersDeducted": true } } }, { "seq": 165, "label": "transfer-stale-revision", "date": "2026-11-18", "actor": "owner", "method": "POST", "path": "/api/team-funds/transfers", "key": "golden-00082-transfer-stale-revision", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "date": "2026-11-18", "fromMember": "assistant", "toMember": "owner", "amount": "100.00", "revision": "6a6a54a9d40e5cce6d7e2bc7b749624618a7e3f1ea7835f0c3cfc7af3b3b5508", "verified": true, "note": "对照转账" } }, "status": 409, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "error": "双方待结余额已有变动,请刷新核对后登记" } }, { "seq": 166, "label": "transfer-assistant-denied", "date": "2026-11-18", "actor": "assistant", "method": "POST", "path": "/api/team-funds/transfers", "key": "golden-00083-transfer-assistant-denied", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "date": "2026-11-18", "fromMember": "assistant", "toMember": "owner", "amount": "1", "verified": true } }, "status": 403, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "error": "这项操作由店主账号完成" } }, { "seq": 167, "label": null, "date": "2026-11-18", "actor": "owner", "method": "GET", "path": "/api/team-funds?date=2026-11-18", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "from": "2026-11-18", "to": "2026-11-18", "date": "2026-11-18", "members": [ { "id": "owner", "name": "麦麦" }, { "id": "assistant", "name": "娜娜" }, { "id": "assistant2", "name": "小昊" } ], "balances": [ { "member": "owner", "receipts": 1748500, "refunds": 0, "outlays": 4274531, "transferIn": 10000, "transferOut": 0, "openingChange": 0, "periodChange": -2516031, "cumulativeChange": -2516031, "cashBalance": -2516031, "balanceType": "recorded-change", "notice": "仅三人新账已登记的资金增减,不含真实期初余额" }, { "member": "assistant", "receipts": 1123100, "refunds": 0, "outlays": 978400, "transferIn": 0, "transferOut": 10000, "openingChange": 0, "periodChange": 134700, "cumulativeChange": 134700, "cashBalance": 134700, "balanceType": "recorded-change", "notice": "仅三人新账已登记的资金增减,不含真实期初余额" }, { "member": "assistant2", "receipts": 917163, "refunds": 0, "outlays": 1021000, "transferIn": 0, "transferOut": 0, "openingChange": 0, "periodChange": -103837, "cumulativeChange": -103837, "cashBalance": -103837, "balanceType": "recorded-change", "notice": "仅三人新账已登记的资金增减,不含真实期初余额" } ], "pairs": [ { "id": "owner:assistant", "members": [ "owner", "assistant" ], "net": -647081, "obligationNet": -657081, "transferred": -10000, "receivedForNet": 288500, "advancedNet": -945581, "offset": 290650, "due": 647081, "fromMember": "assistant", "toMember": "owner", "direction": "transfer", "period": { "obligationNet": -657081, "transferred": -10000, "receivedForNet": 288500, "advancedNet": -945581 }, "entries": [ { "id": "", "date": "2026-11-18", "kind": "advance", "project": "商品实际垫付", "fromMember": "assistant", "toMember": "owner", "amount": 286000, "revision": 1, "sourceKind": "order", "sourceId": "" }, { "id": "", "date": "2026-11-18", "kind": "receipt", "project": "客户款代收", "fromMember": "owner", "toMember": "assistant", "amount": 288500, "revision": 1, "sourceKind": "order", "sourceId": "" }, { "id": "", "date": "2026-11-18", "kind": "advance", "project": "订单实际费用", "fromMember": "assistant", "toMember": "owner", "amount": 1731, "revision": 1, "sourceKind": "order", "sourceId": "" }, { "id": "", "date": "2026-11-18", "kind": "advance", "project": "商品实际垫付", "fromMember": "assistant", "toMember": "owner", "amount": 150000, "revision": 1, "sourceKind": "order", "sourceId": "" }, { "id": "", "date": "2026-11-18", "kind": "advance", "project": "锁价实际购料", "fromMember": "assistant", "toMember": "owner", "amount": 255000, "revision": 1, "sourceKind": "price_lock", "sourceId": "" }, { "id": "", "date": "2026-11-18", "kind": "advance", "project": "锁价实际购料", "fromMember": "assistant", "toMember": "owner", "amount": 255000, "revision": 1, "sourceKind": "price_lock", "sourceId": "" }, { "id": "", "date": "2026-11-18", "kind": "reimbursement", "project": "独立支出报销 · 对照邮寄", "fromMember": "owner", "toMember": "assistant", "amount": 1500, "revision": 1, "sourceKind": "reimbursement", "sourceId": "" }, { "id": "", "date": "2026-11-18", "kind": "reimbursement", "project": "独立支出报销 · 对照包装", "fromMember": "owner", "toMember": "assistant", "amount": 650, "revision": 1, "sourceKind": "reimbursement", "sourceId": "" } ] }, { "id": "owner:assistant2", "members": [ "owner", "assistant2" ], "net": 0, "obligationNet": 0, "transferred": 0, "receivedForNet": 0, "advancedNet": 0, "offset": 0, "due": 0, "fromMember": null, "toMember": null, "direction": "none", "period": { "obligationNet": 0, "transferred": 0, "receivedForNet": 0, "advancedNet": 0 }, "entries": [] }, { "id": "assistant:assistant2", "members": [ "assistant", "assistant2" ], "net": 0, "obligationNet": 0, "transferred": 0, "receivedForNet": 0, "advancedNet": 0, "offset": 0, "due": 0, "fromMember": null, "toMember": null, "direction": "none", "period": { "obligationNet": 0, "transferred": 0, "receivedForNet": 0, "advancedNet": 0 }, "entries": [] } ], "entries": [ { "id": "", "date": "2026-11-18", "kind": "advance", "project": "商品实际垫付", "fromMember": "assistant", "toMember": "owner", "amount": 286000, "revision": 1, "sourceKind": "order", "sourceId": "" }, { "id": "", "date": "2026-11-18", "kind": "receipt", "project": "客户款代收", "fromMember": "owner", "toMember": "assistant", "amount": 288500, "revision": 1, "sourceKind": "order", "sourceId": "" }, { "id": "", "date": "2026-11-18", "kind": "advance", "project": "订单实际费用", "fromMember": "assistant", "toMember": "owner", "amount": 1731, "revision": 1, "sourceKind": "order", "sourceId": "" }, { "id": "", "date": "2026-11-18", "kind": "advance", "project": "商品实际垫付", "fromMember": "assistant", "toMember": "owner", "amount": 150000, "revision": 1, "sourceKind": "order", "sourceId": "" }, { "id": "", "date": "2026-11-18", "kind": "advance", "project": "锁价实际购料", "fromMember": "assistant", "toMember": "owner", "amount": 255000, "revision": 1, "sourceKind": "price_lock", "sourceId": "" }, { "id": "", "date": "2026-11-18", "kind": "advance", "project": "锁价实际购料", "fromMember": "assistant", "toMember": "owner", "amount": 255000, "revision": 1, "sourceKind": "price_lock", "sourceId": "" }, { "id": "", "date": "2026-11-18", "kind": "reimbursement", "project": "独立支出报销 · 对照邮寄", "fromMember": "owner", "toMember": "assistant", "amount": 1500, "revision": 1, "sourceKind": "reimbursement", "sourceId": "" }, { "id": "", "date": "2026-11-18", "kind": "reimbursement", "project": "独立支出报销 · 对照包装", "fromMember": "owner", "toMember": "assistant", "amount": 650, "revision": 1, "sourceKind": "reimbursement", "sourceId": "" } ], "transfers": [ { "id": "", "date": "2026-11-18", "fromMember": "assistant", "toMember": "owner", "amount": 10000, "note": "对照转账", "actor": "麦麦" } ], "revision": "70efa07e17ce0a2addce8e0bd7b8a0453efd7f3a18845ff4958679e7c7e5ec8e", "pending": [], "legacyReadOnly": true, "cutover": "仅已启用的三人新账事件;旧结算不自动迁入", "transfersDeducted": true } }, { "seq": 168, "label": "team-funds-assistant-denied", "date": "2026-11-18", "actor": "assistant", "method": "GET", "path": "/api/team-funds?date=2026-11-18", "key": null, "status": 403, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "error": "这项操作由店主账号完成" } }, { "seq": 169, "note": "section", "name": "peopleAndPrivate" }, { "seq": 170, "label": null, "date": "2026-11-18", "actor": "owner", "method": "GET", "path": "/api/people-count?date=2026-11-18", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "date": "2026-11-18", "previousDate": "2026-11-17", "previous": { "assistant1Count": null, "assistant2Count": null }, "previousDates": { "assistant1": null, "assistant2": null }, "mode": "daily-total", "assistant1Count": null, "assistant1Change": null, "assistant1ChangeReason": "missing-both", "assistant2Count": null, "assistant2Change": null, "assistant2ChangeReason": "missing-both", "revision": 0 } }, { "seq": 171, "label": null, "date": "2026-11-18", "actor": "owner", "method": "POST", "path": "/api/people-count", "key": "golden-00084-people-count", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "date": "2026-11-18", "count": 12, "assistant1Count": 5, "assistant2Count": 3, "revision": 0 } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "date": "2026-11-18", "revision": 1, "previousDate": "2026-11-17", "mode": "daily-total", "assistant1Count": 5, "assistant1Change": null, "assistant1ChangeReason": "missing-previous", "assistant2Count": 3, "assistant2Change": null, "assistant2ChangeReason": "missing-previous", "previous": { "assistant1Count": null, "assistant2Count": null }, "previousDates": { "assistant1": null, "assistant2": null } } }, { "seq": 172, "label": null, "date": "2026-11-18", "actor": "owner", "method": "GET", "path": "/api/people-count-history", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "from": "2026-11-01", "date": "2026-11-18", "today": "2026-11-18", "baselineDate": "2026-10-31", "mode": "daily-total", "rows": [ { "date": "2026-11-01", "previousDate": "2026-10-31", "previous": { "assistant1Count": null, "assistant2Count": null }, "previousDates": { "assistant1": null, "assistant2": null }, "mode": "daily-total", "assistant1Count": null, "assistant1Change": null, "assistant1ChangeReason": "missing-both", "assistant2Count": null, "assistant2Change": null, "assistant2ChangeReason": "missing-both" }, { "date": "2026-11-02", "previousDate": "2026-11-01", "previous": { "assistant1Count": null, "assistant2Count": null }, "previousDates": { "assistant1": null, "assistant2": null }, "mode": "daily-total", "assistant1Count": null, "assistant1Change": null, "assistant1ChangeReason": "missing-both", "assistant2Count": null, "assistant2Change": null, "assistant2ChangeReason": "missing-both" }, { "date": "2026-11-03", "previousDate": "2026-11-02", "previous": { "assistant1Count": null, "assistant2Count": null }, "previousDates": { "assistant1": null, "assistant2": null }, "mode": "daily-total", "assistant1Count": null, "assistant1Change": null, "assistant1ChangeReason": "missing-both", "assistant2Count": null, "assistant2Change": null, "assistant2ChangeReason": "missing-both" }, { "date": "2026-11-04", "previousDate": "2026-11-03", "previous": { "assistant1Count": null, "assistant2Count": null }, "previousDates": { "assistant1": null, "assistant2": null }, "mode": "daily-total", "assistant1Count": null, "assistant1Change": null, "assistant1ChangeReason": "missing-both", "assistant2Count": null, "assistant2Change": null, "assistant2ChangeReason": "missing-both" }, { "date": "2026-11-05", "previousDate": "2026-11-04", "previous": { "assistant1Count": null, "assistant2Count": null }, "previousDates": { "assistant1": null, "assistant2": null }, "mode": "daily-total", "assistant1Count": null, "assistant1Change": null, "assistant1ChangeReason": "missing-both", "assistant2Count": null, "assistant2Change": null, "assistant2ChangeReason": "missing-both" }, { "date": "2026-11-06", "previousDate": "2026-11-05", "previous": { "assistant1Count": null, "assistant2Count": null }, "previousDates": { "assistant1": null, "assistant2": null }, "mode": "daily-total", "assistant1Count": null, "assistant1Change": null, "assistant1ChangeReason": "missing-both", "assistant2Count": null, "assistant2Change": null, "assistant2ChangeReason": "missing-both" }, { "date": "2026-11-07", "previousDate": "2026-11-06", "previous": { "assistant1Count": null, "assistant2Count": null }, "previousDates": { "assistant1": null, "assistant2": null }, "mode": "daily-total", "assistant1Count": null, "assistant1Change": null, "assistant1ChangeReason": "missing-both", "assistant2Count": null, "assistant2Change": null, "assistant2ChangeReason": "missing-both" }, { "date": "2026-11-08", "previousDate": "2026-11-07", "previous": { "assistant1Count": null, "assistant2Count": null }, "previousDates": { "assistant1": null, "assistant2": null }, "mode": "daily-total", "assistant1Count": null, "assistant1Change": null, "assistant1ChangeReason": "missing-both", "assistant2Count": null, "assistant2Change": null, "assistant2ChangeReason": "missing-both" }, { "date": "2026-11-09", "previousDate": "2026-11-08", "previous": { "assistant1Count": null, "assistant2Count": null }, "previousDates": { "assistant1": null, "assistant2": null }, "mode": "daily-total", "assistant1Count": null, "assistant1Change": null, "assistant1ChangeReason": "missing-both", "assistant2Count": null, "assistant2Change": null, "assistant2ChangeReason": "missing-both" }, { "date": "2026-11-10", "previousDate": "2026-11-09", "previous": { "assistant1Count": null, "assistant2Count": null }, "previousDates": { "assistant1": null, "assistant2": null }, "mode": "daily-total", "assistant1Count": null, "assistant1Change": null, "assistant1ChangeReason": "missing-both", "assistant2Count": null, "assistant2Change": null, "assistant2ChangeReason": "missing-both" }, { "date": "2026-11-11", "previousDate": "2026-11-10", "previous": { "assistant1Count": null, "assistant2Count": null }, "previousDates": { "assistant1": null, "assistant2": null }, "mode": "daily-total", "assistant1Count": null, "assistant1Change": null, "assistant1ChangeReason": "missing-both", "assistant2Count": null, "assistant2Change": null, "assistant2ChangeReason": "missing-both" }, { "date": "2026-11-12", "previousDate": "2026-11-11", "previous": { "assistant1Count": null, "assistant2Count": null }, "previousDates": { "assistant1": null, "assistant2": null }, "mode": "daily-total", "assistant1Count": null, "assistant1Change": null, "assistant1ChangeReason": "missing-both", "assistant2Count": null, "assistant2Change": null, "assistant2ChangeReason": "missing-both" }, { "date": "2026-11-13", "previousDate": "2026-11-12", "previous": { "assistant1Count": null, "assistant2Count": null }, "previousDates": { "assistant1": null, "assistant2": null }, "mode": "daily-total", "assistant1Count": null, "assistant1Change": null, "assistant1ChangeReason": "missing-both", "assistant2Count": null, "assistant2Change": null, "assistant2ChangeReason": "missing-both" }, { "date": "2026-11-14", "previousDate": "2026-11-13", "previous": { "assistant1Count": null, "assistant2Count": null }, "previousDates": { "assistant1": null, "assistant2": null }, "mode": "daily-total", "assistant1Count": null, "assistant1Change": null, "assistant1ChangeReason": "missing-both", "assistant2Count": null, "assistant2Change": null, "assistant2ChangeReason": "missing-both" }, { "date": "2026-11-15", "previousDate": "2026-11-14", "previous": { "assistant1Count": null, "assistant2Count": null }, "previousDates": { "assistant1": null, "assistant2": null }, "mode": "daily-total", "assistant1Count": null, "assistant1Change": null, "assistant1ChangeReason": "missing-both", "assistant2Count": null, "assistant2Change": null, "assistant2ChangeReason": "missing-both" }, { "date": "2026-11-16", "previousDate": "2026-11-15", "previous": { "assistant1Count": null, "assistant2Count": null }, "previousDates": { "assistant1": null, "assistant2": null }, "mode": "daily-total", "assistant1Count": null, "assistant1Change": null, "assistant1ChangeReason": "missing-both", "assistant2Count": null, "assistant2Change": null, "assistant2ChangeReason": "missing-both" }, { "date": "2026-11-17", "previousDate": "2026-11-16", "previous": { "assistant1Count": null, "assistant2Count": null }, "previousDates": { "assistant1": null, "assistant2": null }, "mode": "daily-total", "assistant1Count": null, "assistant1Change": null, "assistant1ChangeReason": "missing-both", "assistant2Count": null, "assistant2Change": null, "assistant2ChangeReason": "missing-both" }, { "date": "2026-11-18", "previousDate": "2026-11-17", "previous": { "assistant1Count": null, "assistant2Count": null }, "previousDates": { "assistant1": null, "assistant2": null }, "mode": "daily-total", "assistant1Count": 5, "assistant1Change": null, "assistant1ChangeReason": "missing-previous", "assistant2Count": 3, "assistant2Change": null, "assistant2ChangeReason": "missing-previous" } ], "summary": { "assistant1": { "total": 5, "endTotal": 5, "baselineTotal": null, "baselineDate": null, "netChange": null, "netChangeReason": "missing-previous", "recordedDays": 1 }, "assistant2": { "total": 3, "endTotal": 3, "baselineTotal": null, "baselineDate": null, "netChange": null, "netChangeReason": "missing-previous", "recordedDays": 1 } } } }, { "seq": 173, "label": "people-count-assistant-denied", "date": "2026-11-18", "actor": "assistant", "method": "GET", "path": "/api/people-count?date=2026-11-18", "key": null, "status": 403, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "error": "这项操作由店主账号完成" } }, { "seq": 174, "label": null, "date": "2026-11-18", "actor": "owner", "method": "POST", "path": "/api/private-operations/people", "key": "golden-00085-people", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "date": "2026-11-18", "member": "assistant", "total_count": 100, "new_count": 10, "revision": 0 } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "date": "2026-11-18", "member": "assistant", "total_count": 100, "new_count": null, "revision": 1, "legacy": false, "previous": null } }, { "seq": 175, "label": "private-ops", "date": "2026-11-18", "actor": "owner", "method": "GET", "path": "/api/private-operations", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "from": "2026-11-18", "date": "2026-11-18", "days": 1, "members": [ { "member": "owner", "label": "麦麦", "enabled": true }, { "member": "assistant", "label": "娜娜", "enabled": true }, { "member": "assistant2", "label": "小昊", "enabled": true } ], "summaries": [ { "member": "owner", "label": "麦麦", "enabled": true, "days": 1, "recordedDays": 0, "total": null, "totalDate": null, "newPeople": null, "orders": 2, "newOrders": 0, "returningOrders": 0, "unknownOrders": 2, "refundOrders": 0, "conversion": null }, { "member": "assistant", "label": "娜娜", "enabled": true, "days": 1, "recordedDays": 0, "total": 100, "totalDate": "2026-11-18", "newPeople": null, "orders": 4, "newOrders": 0, "returningOrders": 0, "unknownOrders": 4, "refundOrders": 0, "conversion": null }, { "member": "assistant2", "label": "小昊", "enabled": true, "days": 1, "recordedDays": 0, "total": 3, "totalDate": "2026-11-18", "newPeople": null, "orders": 3, "newOrders": 0, "returningOrders": 0, "unknownOrders": 3, "refundOrders": 0, "conversion": null } ], "rows": [ { "date": "2026-11-18", "member": "assistant", "total": 100, "netChange": null, "previousDate": null, "newPeople": null, "orders": 4, "newOrders": 0, "returningOrders": 0, "unknownOrders": 4, "refundOrders": 0, "conversion": null }, { "date": "2026-11-18", "member": "assistant2", "total": 3, "netChange": null, "previousDate": null, "newPeople": null, "orders": 3, "newOrders": 0, "returningOrders": 0, "unknownOrders": 3, "refundOrders": 0, "conversion": null }, { "date": "2026-11-18", "member": "owner", "total": null, "netChange": null, "previousDate": null, "newPeople": null, "orders": 2, "newOrders": 0, "returningOrders": 0, "unknownOrders": 2, "refundOrders": 0, "conversion": null } ] } }, { "seq": 176, "label": "private-ops-entry", "date": "2026-11-18", "actor": "owner", "method": "GET", "path": "/api/private-operations/people?date=2026-11-18&member=assistant", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "date": "2026-11-18", "member": "assistant", "total_count": 100, "new_count": null, "revision": 1, "legacy": false, "previous": null } }, { "seq": 177, "label": "private-ops-history", "date": "2026-11-18", "actor": "owner", "method": "GET", "path": "/api/private-operations/people-history?member=assistant", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "member": "assistant", "rows": [ { "date": "2026-11-18", "total": 100, "newPeople": null, "previousDate": null } ] } }, { "seq": 178, "label": "private-ops-assistant-denied", "date": "2026-11-18", "actor": "assistant", "method": "GET", "path": "/api/private-operations", "key": null, "status": 403, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "error": "这项操作由店主账号完成" } }, { "seq": 179, "note": "section", "name": "inventoryReviewAndCloseD1" }, { "seq": 180, "label": "inventory-before-review", "date": "2026-11-18", "actor": "owner", "method": "GET", "path": "/api/inventory", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "date": "2026-11-18", "yesterdayDate": "2026-11-17", "pockets": [ "现货", "金料", "找金", "回收旧料", "君宝汇", "pocket_" ], "current": [ { "pocket": "现货", "mg": 80450, "reserved": 0, "available": 80450 }, { "pocket": "金料", "mg": 55000, "reserved": 0, "available": 55000 }, { "pocket": "找金", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "回收旧料", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "君宝汇", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "pocket_", "mg": 10000, "reserved": 0, "available": 10000 } ], "yesterday": null, "todaySnapshot": null, "revision": "3ced53bccf874039772cb33ea02c64ef6b6b7c23c841b7a40909076084b3a086", "legacyInventory": [], "canReview": true, "automaticSnapshot": { "enabled": false, "time": "23:50", "timeZone": "Asia/Shanghai", "date": "2026-11-18", "status": "stopped", "lastSuccess": null, "lastError": null, "nextAttemptAt": null } } }, { "seq": 181, "label": null, "date": "2026-11-18", "actor": "owner", "method": "POST", "path": "/api/inventory/review", "key": "golden-00086-review", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "date": "2026-11-18", "verified": true, "revision": "3ced53bccf874039772cb33ea02c64ef6b6b7c23c841b7a40909076084b3a086" } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "date": "2026-11-18", "snapshot": { "date": "2026-11-18", "inventory": [ { "pocket": "现货", "mg": 80450, "reserved": 0, "available": 80450 }, { "pocket": "金料", "mg": 55000, "reserved": 0, "available": 55000 }, { "pocket": "找金", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "回收旧料", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "君宝汇", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "臻金汇", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "金金", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "定制工厂", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "pocket_", "mg": 10000, "reserved": 0, "available": 10000 } ], "actor": "麦麦", "created": "2026-11-18T02:02:46.000Z", "updated": "2026-11-18T02:02:46.000Z", "stale": false, "revision": "3ced53bccf874039772cb33ea02c64ef6b6b7c23c841b7a40909076084b3a086", "source": "manual", "scheduled_for": null } } }, { "seq": 182, "label": null, "date": "2026-11-18", "actor": "owner", "method": "GET", "path": "/api/inventory/snapshots", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "from": "2000-01-01", "date": "2026-11-18", "snapshots": [ { "date": "2026-11-18", "inventory": [ { "pocket": "现货", "mg": 80450, "reserved": 0, "available": 80450 }, { "pocket": "金料", "mg": 55000, "reserved": 0, "available": 55000 }, { "pocket": "找金", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "回收旧料", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "君宝汇", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "臻金汇", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "金金", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "定制工厂", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "pocket_", "mg": 10000, "reserved": 0, "available": 10000 } ], "actor": "麦麦", "created": "2026-11-18T02:02:46.000Z", "updated": "2026-11-18T02:02:46.000Z", "stale": false, "revision": "3ced53bccf874039772cb33ea02c64ef6b6b7c23c841b7a40909076084b3a086", "source": "manual", "scheduled_for": null } ] } }, { "seq": 183, "label": "close-assistant-denied", "date": "2026-11-18", "actor": "assistant", "method": "POST", "path": "/api/close", "key": "golden-00087-close-assistant-denied", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "date": "2026-11-18", "basis": "orderDate" } }, "status": 403, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "error": "这项操作由店主账号完成" } }, { "seq": 184, "label": "close-invalid-basis", "date": "2026-11-18", "actor": "owner", "method": "POST", "path": "/api/close", "key": "golden-00088-close-invalid-basis", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "date": "2026-11-18", "basis": "wrong" } }, "status": 400, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "error": "对账日期口径无效" } }, { "seq": 185, "label": "close-d1", "date": "2026-11-18", "actor": "owner", "method": "POST", "path": "/api/close", "key": "golden-00089-close-d1", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "date": "2026-11-18", "basis": "orderDate" } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "date": "2026-11-18", "snapshot": { "date": "2026-11-18", "inventory": [ { "pocket": "现货", "mg": 80450, "reserved": 0, "available": 80450 }, { "pocket": "金料", "mg": 55000, "reserved": 0, "available": 55000 }, { "pocket": "找金", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "回收旧料", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "君宝汇", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "臻金汇", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "金金", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "定制工厂", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "pocket_", "mg": 10000, "reserved": 0, "available": 10000 } ], "actor": "麦麦", "created": "2026-11-18T02:02:46.000Z", "updated": "2026-11-18T02:02:50.000Z", "stale": false, "revision": "3ced53bccf874039772cb33ea02c64ef6b6b7c23c841b7a40909076084b3a086", "source": "manual", "scheduled_for": null }, "basis": "orderDate", "reportRevision": "a135c4ad78c72f87ac985349eae3e0fbc880983c86af81708b22bedc856ff5bc" } }, { "seq": 186, "label": "report-d1-owner", "date": "2026-11-18", "actor": "owner", "method": "GET", "path": "/api/report?date=2026-11-18&basis=orderDate", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "date": "2026-11-18", "from": "2026-11-18", "sales": 3268763, "goods": 2795200, "knownGoods": 2795200, "expense": 5581, "profit": 467982, "knownProfit": 467982, "materialCostPending": false, "pendingMaterialCount": 0, "materialPoolActivity": { "basis": "purchaseDate", "from": "2026-11-18", "date": "2026-11-18", "purchases": [ { "id": "", "pool_id": "2026-11-18", "date": "2026-11-18", "mg": 10000, "amount": 900000, "payer": "assistant", "note": "娜娜购料", "actor": "助理", "created": "2026-11-18T02:01:09.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-18T02:01:09.000Z" }, { "id": "", "pool_id": "2026-11-18", "date": "2026-11-18", "mg": 20000, "amount": 1820000, "payer": "owner", "note": "麦麦购料", "actor": "麦麦", "created": "2026-11-18T02:01:10.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-18T02:01:10.000Z" } ], "payerOutlays": { "owner": { "payer": "owner", "material": 1820000, "goods": 1820000, "paidFees": 0, "total": 1820000, "purchaseCount": 1 }, "assistant": { "payer": "assistant", "material": 900000, "goods": 900000, "paidFees": 0, "total": 900000, "purchaseCount": 1 }, "assistant2": { "payer": "assistant2", "material": 0, "goods": 0, "paidFees": 0, "total": 0, "purchaseCount": 0 } }, "summary": { "purchaseCount": 2, "poolCount": 1, "mg": 30000, "materialOutlay": 2720000, "purchaseValue": 2720000, "ownerOutlay": 1820000, "assistantOutlay": 900000, "assistant2Outlay": 0, "totalOutlay": 2720000, "eventCount": 2 } }, "materialPoolSettlement": { "legacyReadOnly": true, "assistantInventoryCredit": 628000, "knownAssistantInventoryCredit": 628000, "transferred": 0, "settlementDue": -628000, "knownSettlementDue": -628000, "pendingCount": 0, "pools": [ { "id": "2026-11-18", "date": "2026-11-18", "assistantInventoryCredit": 628000, "transferred": 0, "settlementDue": -628000, "pending": false } ] }, "delivered": 9, "returns": 0, "accounts": [ { "account": "助理微信", "receipt": 591100, "refund": 0, "net": 591100 }, { "account": "助理支付宝", "receipt": 202000, "refund": 0, "net": 202000 }, { "account": "助理现金", "receipt": 330000, "refund": 0, "net": 330000 }, { "account": "麦麦微信", "receipt": 80000, "refund": 0, "net": 80000 }, { "account": "麦麦支付宝", "receipt": 100000, "refund": 0, "net": 100000 }, { "account": "麦麦现金", "receipt": 980000, "refund": 0, "net": 980000 }, { "account": "麦麦信用卡", "receipt": 588500, "refund": 0, "net": 588500 }, { "account": "助理2微信", "receipt": 550000, "refund": 0, "net": 550000 }, { "account": "助理2支付宝", "receipt": 217163, "refund": 0, "net": 217163 }, { "account": "助理2现金", "receipt": 150000, "refund": 0, "net": 150000 } ], "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 321100, "account": "助理微信", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-18T02:01:17.000Z", "number": "MM20261118-", "paper_number": "20261118001", "order_date": "2026-11-18" }, { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 217163, "account": "助理2支付宝", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:18.000Z", "number": "MM20261118-", "paper_number": "20261118002", "order_date": "2026-11-18" }, { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 288500, "account": "麦麦信用卡", "reference": "开单时已全额收款", "actor": "麦麦", "created": "2026-11-18T02:01:19.000Z", "number": "MM20261118-", "paper_number": "20261118003", "order_date": "2026-11-18" }, { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 330000, "account": "助理现金", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-18T02:01:20.000Z", "number": "MM20261118-", "paper_number": "20261118004", "order_date": "2026-11-18" }, { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 980000, "account": "麦麦现金", "reference": "开单时已全额收款", "actor": "麦麦", "created": "2026-11-18T02:01:23.000Z", "number": "MM20261118-", "paper_number": "20261118005", "order_date": "2026-11-18" }, { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 150000, "account": "助理2现金", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:24.000Z", "number": "MM20261118-", "paper_number": "20261118006", "order_date": "2026-11-18" }, { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z", "number": "MM20261118-", "paper_number": "20261118007", "order_date": "2026-11-18" }, { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 82000, "account": "助理支付宝", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-18T02:01:26.000Z", "number": "MM20261118-", "paper_number": "20261118008", "order_date": "2026-11-18" }, { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 100000, "account": "麦麦支付宝", "reference": "定金", "actor": "麦麦", "created": "2026-11-18T02:01:31.000Z", "number": "MM20261118-", "paper_number": "20261118009", "order_date": "2026-11-18" }, { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 300000, "account": "麦麦信用卡", "reference": "尾款", "actor": "麦麦", "created": "2026-11-18T02:01:33.000Z", "number": "MM20261118-", "paper_number": "20261118009", "order_date": "2026-11-18" }, { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 270000, "account": "助理微信", "number": "SJ20261118-", "customer": "对照锁价客户", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:53.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null }, { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 50000, "account": "助理2微信", "number": "SJ20261118-", "customer": "对照锁价客户三", "product": "足金999", "actor": "助理2", "created": "2026-11-18T02:01:55.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null }, { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 80000, "account": "麦麦微信", "number": "SJ20261118-", "customer": "对照锁价客户四", "product": "足金999", "actor": "麦麦", "created": "2026-11-18T02:01:56.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null }, { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 120000, "account": "助理支付宝", "number": "SJ20261118-", "customer": "对照锁价客户二", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:02:02.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null } ], "settlements": [], "journal": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "交付", "sales": 321100, "goods": 290200, "expense": 1200, "profit": 29700, "created": "2026-11-18T02:01:17.000Z", "number": "MM20261118-", "paper_number": "20261118001", "order_date": "2026-11-18" }, { "id": "", "order_id": "", "date": "2026-11-18", "kind": "交付", "sales": 217163, "goods": 183000, "expense": 0, "profit": 34163, "created": "2026-11-18T02:01:18.000Z", "number": "MM20261118-", "paper_number": "20261118002", "order_date": "2026-11-18" }, { "id": "", "order_id": "", "date": "2026-11-18", "kind": "交付", "sales": 288500, "goods": 150000, "expense": 1731, "profit": 136769, "created": "2026-11-18T02:01:19.000Z", "number": "MM20261118-", "paper_number": "20261118003", "order_date": "2026-11-18" }, { "id": "", "order_id": "", "date": "2026-11-18", "kind": "交付", "sales": 330000, "goods": 272000, "expense": 0, "profit": 58000, "created": "2026-11-18T02:01:20.000Z", "number": "MM20261118-", "paper_number": "20261118004", "order_date": "2026-11-18" }, { "id": "", "order_id": "", "date": "2026-11-18", "kind": "交付", "sales": 980000, "goods": 900000, "expense": 0, "profit": 80000, "created": "2026-11-18T02:01:23.000Z", "number": "MM20261118-", "paper_number": "20261118005", "order_date": "2026-11-18" }, { "id": "", "order_id": "", "date": "2026-11-18", "kind": "交付", "sales": 150000, "goods": 130000, "expense": 0, "profit": 20000, "created": "2026-11-18T02:01:24.000Z", "number": "MM20261118-", "paper_number": "20261118006", "order_date": "2026-11-18" }, { "id": "", "order_id": "", "date": "2026-11-18", "kind": "交付", "sales": 500000, "goods": 450000, "expense": 0, "profit": 50000, "created": "2026-11-18T02:01:25.000Z", "number": "MM20261118-", "paper_number": "20261118007", "order_date": "2026-11-18" }, { "id": "", "order_id": "", "date": "2026-11-18", "kind": "交付", "sales": 82000, "goods": 70000, "expense": 0, "profit": 12000, "created": "2026-11-18T02:01:26.000Z", "number": "MM20261118-", "paper_number": "20261118008", "order_date": "2026-11-18" }, { "id": "", "order_id": "", "date": "2026-11-18", "kind": "交付", "sales": 400000, "goods": 350000, "expense": 1800, "profit": 48200, "created": "2026-11-18T02:01:34.000Z", "number": "MM20261118-", "paper_number": "20261118009", "order_date": "2026-11-18" } ], "afterSales": [ { "id": "", "date": "2026-11-18", "project": "对照改圈", "customer": "对照售后客户", "amount": 850, "payer": "assistant", "actor": "助理", "created": "2026-11-18T02:02:03.000Z" }, { "id": "", "date": "2026-11-18", "project": "对照清洗", "customer": "对照售后客户二", "amount": 0, "payer": "owner", "actor": "麦麦", "created": "2026-11-18T02:02:06.000Z" } ], "afterSaleCount": 2, "inventory": [ { "pocket": "现货", "mg": 80450, "reserved": 0, "available": 80450 }, { "pocket": "金料", "mg": 55000, "reserved": 0, "available": 55000 }, { "pocket": "找金", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "回收旧料", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "君宝汇", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "臻金汇", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "金金", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "定制工厂", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "pocket_", "mg": 10000, "reserved": 0, "available": 10000 } ], "warnings": [ { "id": "", "number": "MM20261118-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261118-", "message": "麦麦直接收客户款,已扣减总待结金额;货款/利润拆分需单独复核" }, { "id": "", "number": "MM20261118-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261118-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261118-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261118-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261118-", "message": "麦麦直接收客户款,已扣减总待结金额;货款/利润拆分需单独复核" }, { "id": "", "number": "MM20261118-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261118-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261118-", "message": "麦麦直接收客户款,已扣减总待结金额;货款/利润拆分需单独复核" }, { "id": "", "number": "MM20261118-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261118-", "message": "有记录待麦麦复核" } ], "unsettled": [], "settlementDue": -628000, "knownSettlementDue": -628000, "customerBalance": 0, "close": { "date": "2026-11-18", "actor": "麦麦", "created": "2026-11-18T02:02:50.000Z", "stale": false, "basis": "orderDate", "reportRevision": "a135c4ad78c72f87ac985349eae3e0fbc880983c86af81708b22bedc856ff5bc", "staleReason": null }, "basis": "orderDate", "summary": { "orderCount": 9, "completedCount": 9, "draftCount": 0, "confirmedCount": 0, "returnedCount": 0, "cancelledCount": 0, "incompleteCount": 0, "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "unknownCostCount": 0, "unknownProfitCount": 0, "legacyUnallocatedCount": 6, "sale": 3268763, "material": 998000, "laborAndFees": 19781, "unallocated": 1783000, "totalCost": 2800781, "profit": 467982, "ownerCost": 1689531, "assistantCost": 348250, "assistant2Cost": 763000, "mg": 29550, "pieces": 4, "knownCounts": { "sale": 9, "material": 3, "laborAndFees": 3, "unallocated": 9, "totalCost": 9, "profit": 9, "ownerCost": 9, "assistantCost": 9, "assistant2Cost": 9 }, "unknownCounts": { "sale": 0, "material": 6, "laborAndFees": 6, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0 }, "partial": true, "afterSaleCount": 2, "recordCount": 11 }, "orderRows": [ { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118001", "date": "2026-11-18", "created": "2026-11-18T02:01:17.000Z", "customer": "对照客户甲", "salesperson": "娜娜", "status": "delivered", "note": "客户单备注", "types": [ "货盘现货" ], "mg": 3250, "summaryMg": 3250, "pieces": 0, "originalSale": 321100, "sale": 321100, "material": 286000, "laborAndFees": 5400, "unallocated": 0, "totalCost": 291400, "profit": 29700, "ownerCost": 286000, "assistantCost": 5400, "assistant2Cost": 0, "known": { "sale": 321100, "material": 286000, "laborAndFees": 5400, "unallocated": 0, "totalCost": 291400, "profit": 29700, "ownerCost": 286000, "assistantCost": 5400, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金999", "amount": 286000, "payer": "owner", "excluded": false, "calculation": { "rate": 88000, "quantity": 3250 }, "component": "material" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 4000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 200, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "快递", "source": "2026-11-18", "amount": 1200, "payer": "assistant", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 4000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 200, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "快递", "source": "2026-11-18", "amount": 1200, "payer": "assistant", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 4, "reviewed_revision": 0 }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118002", "date": "2026-11-18", "created": "2026-11-18T02:01:18.000Z", "customer": "对照客户乙", "salesperson": "小昊", "status": "delivered", "note": "", "types": [ "货盘现货", "配货 · 银饰" ], "mg": 2000, "summaryMg": 2000, "pieces": 3, "originalSale": 217163, "sale": 217163, "material": null, "laborAndFees": null, "unallocated": 183000, "totalCost": 183000, "profit": 34163, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 183000, "known": { "sale": 217163, "material": 0, "laborAndFees": 0, "unallocated": 183000, "totalCost": 183000, "profit": 34163, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 183000 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金999", "amount": 180000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "unallocated" }, { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 2 · 纯银925", "amount": 3000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "unallocated" } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 4, "reviewed_revision": 0 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118003", "date": "2026-11-18", "created": "2026-11-18T02:01:19.000Z", "customer": "对照客户丙", "salesperson": "麦麦", "status": "delivered", "note": "", "types": [ "配货" ], "mg": 0, "summaryMg": 0, "pieces": 1, "originalSale": 288500, "sale": 288500, "material": null, "laborAndFees": null, "unallocated": 150000, "totalCost": 151731, "profit": 136769, "ownerCost": 151731, "assistantCost": 0, "assistant2Cost": 0, "known": { "sale": 288500, "material": 0, "laborAndFees": 1731, "unallocated": 150000, "totalCost": 151731, "profit": 136769, "ownerCost": 151731, "assistantCost": 0, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 金镶玉吊坠", "amount": 150000, "payer": "owner", "excluded": false, "calculation": null, "component": "unallocated" }, { "kind": "paid", "name": "信用卡手续费(6‰)", "source": "2026-11-18", "amount": 1731, "payer": "owner", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "paid", "name": "信用卡手续费(6‰)", "source": "2026-11-18", "amount": 1731, "payer": "owner", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 4, "reviewed_revision": 0 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118004", "date": "2026-11-18", "created": "2026-11-18T02:01:20.000Z", "materialPoolIds": [ "2026-11-18" ], "materialCostPending": false, "customer": "对照客户丁", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "配货" ], "mg": 3000, "summaryMg": 3000, "pieces": 0, "originalSale": 330000, "sale": 330000, "material": 272000, "laborAndFees": 0, "unallocated": 0, "totalCost": 272000, "profit": 58000, "ownerCost": 0, "assistantCost": 272000, "assistant2Cost": 0, "known": { "sale": 330000, "material": 272000, "laborAndFees": 0, "unallocated": 0, "totalCost": 272000, "profit": 58000, "ownerCost": 0, "assistantCost": 272000, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 2026-11-18日购料", "amount": 272000, "payer": "assistant", "excluded": false, "materialPoolId": "2026-11-18", "materialPoolRevision": "e3072e81dd7b585b863bbbe6f312844a32ece32c2856aea4df479b9ceab74c55", "calculation": { "rate": 90667, "quantity": 3000, "weighted": true } }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 4, "reviewed_revision": 0 }, { "id": "", "member": "owner", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118005", "date": "2026-11-18", "created": "2026-11-18T02:01:21.000Z", "customer": "对照草稿客户", "salesperson": "麦麦", "status": "delivered", "note": "", "types": [ "货盘·展柜A(主)" ], "mg": 10000, "summaryMg": 10000, "pieces": 0, "originalSale": 980000, "sale": 980000, "material": null, "laborAndFees": null, "unallocated": 900000, "totalCost": 900000, "profit": 80000, "ownerCost": 900000, "assistantCost": 0, "assistant2Cost": 0, "known": { "sale": 980000, "material": 0, "laborAndFees": 0, "unallocated": 900000, "totalCost": 900000, "profit": 80000, "ownerCost": 900000, "assistantCost": 0, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金手镯", "amount": 900000, "payer": "owner", "excluded": false, "calculation": null, "component": "unallocated" } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 5, "reviewed_revision": 0 }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118006", "date": "2026-11-18", "created": "2026-11-18T02:01:24.000Z", "customer": "对照取消客户", "salesperson": "小昊", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 1500, "summaryMg": 1500, "pieces": 0, "originalSale": 150000, "sale": 150000, "material": null, "laborAndFees": null, "unallocated": 130000, "totalCost": 130000, "profit": 20000, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 130000, "known": { "sale": 150000, "material": 0, "laborAndFees": 0, "unallocated": 130000, "totalCost": 130000, "profit": 20000, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 130000 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金戒指", "amount": 130000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "unallocated" } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 4, "reviewed_revision": 0 }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118007", "date": "2026-11-18", "created": "2026-11-18T02:01:25.000Z", "customer": "对照售后订单客户", "salesperson": "小昊", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 5000, "summaryMg": 5000, "pieces": 0, "originalSale": 500000, "sale": 500000, "material": 440000, "laborAndFees": 10000, "unallocated": 0, "totalCost": 450000, "profit": 50000, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 450000, "known": { "sale": 500000, "material": 440000, "laborAndFees": 10000, "unallocated": 0, "totalCost": 450000, "profit": 50000, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 450000 }, "costItems": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金手链", "amount": 440000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "material" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金手链", "amount": 10000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金手链", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金手链", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金手链", "amount": 10000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金手链", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金手链", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 4, "reviewed_revision": 0 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118008", "date": "2026-11-18", "created": "2026-11-18T02:01:26.000Z", "customer": "对照驳回客户", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 800, "summaryMg": 800, "pieces": 0, "originalSale": 82000, "sale": 82000, "material": null, "laborAndFees": null, "unallocated": 70000, "totalCost": 70000, "profit": 12000, "ownerCost": 0, "assistantCost": 70000, "assistant2Cost": 0, "known": { "sale": 82000, "material": 0, "laborAndFees": 0, "unallocated": 70000, "totalCost": 70000, "profit": 12000, "ownerCost": 0, "assistantCost": 70000, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金耳钉", "amount": 70000, "payer": "assistant", "excluded": false, "calculation": null, "component": "unallocated" } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 4, "reviewed_revision": 0 }, { "id": "", "member": "owner", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118009", "date": "2026-11-18", "created": "2026-11-18T02:01:27.000Z", "customer": "对照分步客户", "salesperson": "麦麦", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 4000, "summaryMg": 4000, "pieces": 0, "originalSale": 400000, "sale": 400000, "material": null, "laborAndFees": null, "unallocated": 350000, "totalCost": 351800, "profit": 48200, "ownerCost": 351800, "assistantCost": 0, "assistant2Cost": 0, "known": { "sale": 400000, "material": 0, "laborAndFees": 1800, "unallocated": 350000, "totalCost": 351800, "profit": 48200, "ownerCost": 351800, "assistantCost": 0, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金项链", "amount": 350000, "payer": "owner", "excluded": false, "calculation": null, "component": "unallocated" }, { "kind": "paid", "name": "信用卡手续费(6‰)", "source": "2026-11-18", "amount": 1800, "payer": "owner", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "paid", "name": "信用卡手续费(6‰)", "source": "2026-11-18", "amount": 1800, "payer": "owner", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 5, "reviewed_revision": 0 }, { "id": "", "kind": "afterSale", "after_sale_id": "", "number": "售后", "paper_number": "", "date": "2026-11-18", "created": "2026-11-18T02:02:03.000Z", "customer": "对照售后客户", "salesperson": "助理", "status": "after_sale", "project": "对照改圈", "note": "对照改圈", "amount": 850, "payer": "assistant", "types": [ "售后" ], "mg": 0, "summaryMg": 0, "pieces": 0, "originalSale": 0, "sale": 0, "material": 0, "laborAndFees": 850, "unallocated": 0, "totalCost": 850, "profit": -850, "ownerCost": 0, "assistantCost": 850, "known": { "sale": 0, "material": 0, "laborAndFees": 850, "unallocated": 0, "totalCost": 850, "profit": -850, "ownerCost": 0, "assistantCost": 850 }, "costItems": [ { "kind": "afterSale", "after_sale_id": "", "name": "对照改圈", "source": "售后 · 2026-11-18", "amount": 850, "payer": "assistant", "component": "fee", "calculation": null } ], "laborAndFeeItems": [ { "kind": "afterSale", "after_sale_id": "", "name": "对照改圈", "source": "售后 · 2026-11-18", "amount": 850, "payer": "assistant", "component": "fee", "calculation": null } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "独立售后支出,计入所选日期利润", "balance": 0, "revision": 1, "reviewed_revision": 1 }, { "id": "", "kind": "afterSale", "after_sale_id": "", "number": "售后", "paper_number": "", "date": "2026-11-18", "created": "2026-11-18T02:02:06.000Z", "customer": "对照售后客户二", "salesperson": "麦麦", "status": "after_sale", "project": "对照清洗", "note": "对照清洗", "amount": 0, "payer": "owner", "types": [ "售后" ], "mg": 0, "summaryMg": 0, "pieces": 0, "originalSale": 0, "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "known": { "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0 }, "costItems": [ { "kind": "afterSale", "after_sale_id": "", "name": "对照清洗", "source": "售后 · 2026-11-18", "amount": 0, "payer": "owner", "component": "fee", "calculation": null } ], "laborAndFeeItems": [ { "kind": "afterSale", "after_sale_id": "", "name": "对照清洗", "source": "售后 · 2026-11-18", "amount": 0, "payer": "owner", "component": "fee", "calculation": null } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "独立售后支出,计入所选日期利润", "balance": 0, "revision": 1, "reviewed_revision": 1 } ], "payerCosts": { "assistant": { "payer": "assistant", "name": "娜娜", "goods": 974200, "paidFees": 2050, "total": 976250, "missingCount": 0, "pendingCount": 0, "items": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 4000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor", "order_id": "", "number": "MM20261118-", "paper_number": "20261118001", "date": "2026-11-18", "customer": "对照客户甲", "status": "recorded" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 200, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories", "order_id": "", "number": "MM20261118-", "paper_number": "20261118001", "date": "2026-11-18", "customer": "对照客户甲", "status": "recorded" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other", "order_id": "", "number": "MM20261118-", "paper_number": "20261118001", "date": "2026-11-18", "customer": "对照客户甲", "status": "recorded" }, { "kind": "paid", "name": "快递", "source": "整单费用 · 实付 2026-11-18", "amount": 1200, "payer": "assistant", "component": "fee", "order_id": "", "number": "MM20261118-", "paper_number": "20261118001", "date": "2026-11-18", "customer": "对照客户甲", "status": "recorded", "calculation": null, "paidDate": "2026-11-18" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor", "order_id": "", "number": "MM20261118-", "paper_number": "20261118004", "date": "2026-11-18", "customer": "对照客户丁", "status": "recorded" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories", "order_id": "", "number": "MM20261118-", "paper_number": "20261118004", "date": "2026-11-18", "customer": "对照客户丁", "status": "recorded" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other", "order_id": "", "number": "MM20261118-", "paper_number": "20261118004", "date": "2026-11-18", "customer": "对照客户丁", "status": "recorded" }, { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金耳钉", "amount": 70000, "payer": "assistant", "excluded": false, "calculation": null, "component": "unallocated", "order_id": "", "number": "MM20261118-", "paper_number": "20261118008", "date": "2026-11-18", "customer": "对照驳回客户", "status": "recorded" }, { "kind": "afterSale", "after_sale_id": "", "name": "对照改圈", "source": "售后 · 2026-11-18", "amount": 850, "payer": "assistant", "component": "fee", "calculation": null, "project": "对照改圈", "number": "售后", "paper_number": "", "date": "2026-11-18", "customer": "对照售后客户", "status": "recorded" }, { "id": "", "pool_id": "2026-11-18", "date": "2026-11-18", "mg": 10000, "amount": 900000, "payer": "assistant", "note": "娜娜购料", "actor": "助理", "created": "2026-11-18T02:01:09.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-18T02:01:09.000Z", "purchaseAmount": 900000, "kind": "goods", "component": "material", "materialPoolId": "2026-11-18", "name": "日料池采购", "source": "日料池 2026-11-18 · 实付 2026-11-18", "paidDate": "2026-11-18", "quantity": 10000, "calculation": null, "status": "recorded", "actualOutlay": true } ] }, "owner": { "payer": "owner", "name": "麦麦", "goods": 4271000, "paidFees": 3531, "total": 4274531, "missingCount": 0, "pendingCount": 0, "items": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金999", "amount": 286000, "payer": "owner", "excluded": false, "calculation": { "rate": 88000, "quantity": 3250 }, "component": "material", "order_id": "", "number": "MM20261118-", "paper_number": "20261118001", "date": "2026-11-18", "customer": "对照客户甲", "status": "recorded" }, { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 金镶玉吊坠", "amount": 150000, "payer": "owner", "excluded": false, "calculation": null, "component": "unallocated", "order_id": "", "number": "MM20261118-", "paper_number": "20261118003", "date": "2026-11-18", "customer": "对照客户丙", "status": "recorded" }, { "kind": "paid", "name": "信用卡手续费(6‰)", "source": "整单费用 · 实付 2026-11-18", "amount": 1731, "payer": "owner", "component": "fee", "order_id": "", "number": "MM20261118-", "paper_number": "20261118003", "date": "2026-11-18", "customer": "对照客户丙", "status": "recorded", "calculation": null, "paidDate": "2026-11-18" }, { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金手镯", "amount": 900000, "payer": "owner", "excluded": false, "calculation": null, "component": "unallocated", "order_id": "", "number": "MM20261118-", "paper_number": "20261118005", "date": "2026-11-18", "customer": "对照草稿客户", "status": "recorded" }, { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金项链", "amount": 350000, "payer": "owner", "excluded": false, "calculation": null, "component": "unallocated", "order_id": "", "number": "MM20261118-", "paper_number": "20261118009", "date": "2026-11-18", "customer": "对照分步客户", "status": "recorded" }, { "kind": "paid", "name": "信用卡手续费(6‰)", "source": "整单费用 · 实付 2026-11-18", "amount": 1800, "payer": "owner", "component": "fee", "order_id": "", "number": "MM20261118-", "paper_number": "20261118009", "date": "2026-11-18", "customer": "对照分步客户", "status": "recorded", "calculation": null, "paidDate": "2026-11-18" }, { "kind": "afterSale", "after_sale_id": "", "name": "对照清洗", "source": "售后 · 2026-11-18", "amount": 0, "payer": "owner", "component": "fee", "calculation": null, "project": "对照清洗", "number": "售后", "paper_number": "", "date": "2026-11-18", "customer": "对照售后客户二", "status": "recorded" }, { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "goods", "amount": 255000, "payer": "owner", "source": "锁价采购 · 实付 2026-11-18", "quantity": 3000, "rate": 85000, "number": "SJ20261118-", "customer": "对照锁价客户", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:53.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "component": "material", "name": "锁价料费", "materialSource": "original", "paidDate": "2026-11-18", "calculation": { "rate": 85000, "quantity": 3000 }, "status": "recorded", "actualOutlay": true }, { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "goods", "amount": 255000, "payer": "owner", "source": "锁价采购 · 实付 2026-11-18", "quantity": 3000, "rate": 85000, "number": "SJ20261118-", "customer": "对照锁价客户二", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:54.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "component": "material", "name": "锁价料费", "materialSource": "original", "paidDate": "2026-11-18", "calculation": { "rate": 85000, "quantity": 3000 }, "status": "recorded", "actualOutlay": true }, { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "goods", "amount": 255000, "payer": "owner", "source": "锁价采购 · 实付 2026-11-18", "quantity": 3000, "rate": 85000, "number": "SJ20261118-", "customer": "对照锁价客户四", "product": "足金999", "actor": "麦麦", "created": "2026-11-18T02:01:56.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "component": "material", "name": "锁价料费", "materialSource": "original", "paidDate": "2026-11-18", "calculation": { "rate": 85000, "quantity": 3000 }, "status": "recorded", "actualOutlay": true }, { "id": "", "pool_id": "2026-11-18", "date": "2026-11-18", "mg": 20000, "amount": 1820000, "payer": "owner", "note": "麦麦购料", "actor": "麦麦", "created": "2026-11-18T02:01:10.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-18T02:01:10.000Z", "purchaseAmount": 1820000, "kind": "goods", "component": "material", "materialPoolId": "2026-11-18", "name": "日料池采购", "source": "日料池 2026-11-18 · 实付 2026-11-18", "paidDate": "2026-11-18", "quantity": 20000, "calculation": null, "status": "recorded", "actualOutlay": true } ] }, "assistant2": { "payer": "assistant2", "name": "小昊", "goods": 1021000, "paidFees": 0, "total": 1021000, "missingCount": 0, "pendingCount": 0, "items": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金999", "amount": 180000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "unallocated", "order_id": "", "number": "MM20261118-", "paper_number": "20261118002", "date": "2026-11-18", "customer": "对照客户乙", "status": "recorded" }, { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 2 · 纯银925", "amount": 3000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "unallocated", "order_id": "", "number": "MM20261118-", "paper_number": "20261118002", "date": "2026-11-18", "customer": "对照客户乙", "status": "recorded" }, { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金戒指", "amount": 130000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "unallocated", "order_id": "", "number": "MM20261118-", "paper_number": "20261118006", "date": "2026-11-18", "customer": "对照取消客户", "status": "recorded" }, { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金手链", "amount": 440000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "material", "order_id": "", "number": "MM20261118-", "paper_number": "20261118007", "date": "2026-11-18", "customer": "对照售后订单客户", "status": "recorded" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金手链", "amount": 10000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "labor", "order_id": "", "number": "MM20261118-", "paper_number": "20261118007", "date": "2026-11-18", "customer": "对照售后订单客户", "status": "recorded" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金手链", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories", "order_id": "", "number": "MM20261118-", "paper_number": "20261118007", "date": "2026-11-18", "customer": "对照售后订单客户", "status": "recorded" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金手链", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other", "order_id": "", "number": "MM20261118-", "paper_number": "20261118007", "date": "2026-11-18", "customer": "对照售后订单客户", "status": "recorded" }, { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "goods", "amount": 258000, "payer": "assistant2", "source": "锁价采购 · 实付 2026-11-18", "quantity": 3000, "rate": 86000, "number": "SJ20261118-", "customer": "对照锁价客户三", "product": "足金999", "actor": "助理2", "created": "2026-11-18T02:01:55.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "component": "material", "name": "锁价料费", "materialSource": "original", "paidDate": "2026-11-18", "calculation": { "rate": 86000, "quantity": 3000 }, "status": "recorded", "actualOutlay": true } ] } }, "orderPayerCosts": { "assistant": { "payer": "assistant", "name": "娜娜", "goods": 346200, "paidFees": 2050, "total": 348250, "missingCount": 0, "pendingCount": 0, "items": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 4000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor", "order_id": "", "number": "MM20261118-", "paper_number": "20261118001", "date": "2026-11-18", "customer": "对照客户甲", "status": "recorded" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 200, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories", "order_id": "", "number": "MM20261118-", "paper_number": "20261118001", "date": "2026-11-18", "customer": "对照客户甲", "status": "recorded" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other", "order_id": "", "number": "MM20261118-", "paper_number": "20261118001", "date": "2026-11-18", "customer": "对照客户甲", "status": "recorded" }, { "kind": "paid", "name": "快递", "source": "整单费用 · 实付 2026-11-18", "amount": 1200, "payer": "assistant", "component": "fee", "order_id": "", "number": "MM20261118-", "paper_number": "20261118001", "date": "2026-11-18", "customer": "对照客户甲", "status": "recorded", "calculation": null, "paidDate": "2026-11-18" }, { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 2026-11-18日购料", "amount": 272000, "payer": "assistant", "excluded": false, "materialPoolId": "2026-11-18", "materialPoolRevision": "e3072e81dd7b585b863bbbe6f312844a32ece32c2856aea4df479b9ceab74c55", "calculation": { "rate": 90667, "quantity": 3000, "weighted": true }, "order_id": "", "number": "MM20261118-", "paper_number": "20261118004", "date": "2026-11-18", "customer": "对照客户丁", "status": "recorded" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor", "order_id": "", "number": "MM20261118-", "paper_number": "20261118004", "date": "2026-11-18", "customer": "对照客户丁", "status": "recorded" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories", "order_id": "", "number": "MM20261118-", "paper_number": "20261118004", "date": "2026-11-18", "customer": "对照客户丁", "status": "recorded" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other", "order_id": "", "number": "MM20261118-", "paper_number": "20261118004", "date": "2026-11-18", "customer": "对照客户丁", "status": "recorded" }, { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金耳钉", "amount": 70000, "payer": "assistant", "excluded": false, "calculation": null, "component": "unallocated", "order_id": "", "number": "MM20261118-", "paper_number": "20261118008", "date": "2026-11-18", "customer": "对照驳回客户", "status": "recorded" }, { "kind": "afterSale", "after_sale_id": "", "name": "对照改圈", "source": "售后 · 2026-11-18", "amount": 850, "payer": "assistant", "component": "fee", "calculation": null, "project": "对照改圈", "number": "售后", "paper_number": "", "date": "2026-11-18", "customer": "对照售后客户", "status": "recorded" } ] }, "owner": { "payer": "owner", "name": "麦麦", "goods": 1686000, "paidFees": 3531, "total": 1689531, "missingCount": 0, "pendingCount": 0, "items": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金999", "amount": 286000, "payer": "owner", "excluded": false, "calculation": { "rate": 88000, "quantity": 3250 }, "component": "material", "order_id": "", "number": "MM20261118-", "paper_number": "20261118001", "date": "2026-11-18", "customer": "对照客户甲", "status": "recorded" }, { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 金镶玉吊坠", "amount": 150000, "payer": "owner", "excluded": false, "calculation": null, "component": "unallocated", "order_id": "", "number": "MM20261118-", "paper_number": "20261118003", "date": "2026-11-18", "customer": "对照客户丙", "status": "recorded" }, { "kind": "paid", "name": "信用卡手续费(6‰)", "source": "整单费用 · 实付 2026-11-18", "amount": 1731, "payer": "owner", "component": "fee", "order_id": "", "number": "MM20261118-", "paper_number": "20261118003", "date": "2026-11-18", "customer": "对照客户丙", "status": "recorded", "calculation": null, "paidDate": "2026-11-18" }, { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金手镯", "amount": 900000, "payer": "owner", "excluded": false, "calculation": null, "component": "unallocated", "order_id": "", "number": "MM20261118-", "paper_number": "20261118005", "date": "2026-11-18", "customer": "对照草稿客户", "status": "recorded" }, { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金项链", "amount": 350000, "payer": "owner", "excluded": false, "calculation": null, "component": "unallocated", "order_id": "", "number": "MM20261118-", "paper_number": "20261118009", "date": "2026-11-18", "customer": "对照分步客户", "status": "recorded" }, { "kind": "paid", "name": "信用卡手续费(6‰)", "source": "整单费用 · 实付 2026-11-18", "amount": 1800, "payer": "owner", "component": "fee", "order_id": "", "number": "MM20261118-", "paper_number": "20261118009", "date": "2026-11-18", "customer": "对照分步客户", "status": "recorded", "calculation": null, "paidDate": "2026-11-18" }, { "kind": "afterSale", "after_sale_id": "", "name": "对照清洗", "source": "售后 · 2026-11-18", "amount": 0, "payer": "owner", "component": "fee", "calculation": null, "project": "对照清洗", "number": "售后", "paper_number": "", "date": "2026-11-18", "customer": "对照售后客户二", "status": "recorded" } ] }, "assistant2": { "payer": "assistant2", "name": "小昊", "goods": 763000, "paidFees": 0, "total": 763000, "missingCount": 0, "pendingCount": 0, "items": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金999", "amount": 180000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "unallocated", "order_id": "", "number": "MM20261118-", "paper_number": "20261118002", "date": "2026-11-18", "customer": "对照客户乙", "status": "recorded" }, { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 2 · 纯银925", "amount": 3000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "unallocated", "order_id": "", "number": "MM20261118-", "paper_number": "20261118002", "date": "2026-11-18", "customer": "对照客户乙", "status": "recorded" }, { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金戒指", "amount": 130000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "unallocated", "order_id": "", "number": "MM20261118-", "paper_number": "20261118006", "date": "2026-11-18", "customer": "对照取消客户", "status": "recorded" }, { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金手链", "amount": 440000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "material", "order_id": "", "number": "MM20261118-", "paper_number": "20261118007", "date": "2026-11-18", "customer": "对照售后订单客户", "status": "recorded" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金手链", "amount": 10000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "labor", "order_id": "", "number": "MM20261118-", "paper_number": "20261118007", "date": "2026-11-18", "customer": "对照售后订单客户", "status": "recorded" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金手链", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories", "order_id": "", "number": "MM20261118-", "paper_number": "20261118007", "date": "2026-11-18", "customer": "对照售后订单客户", "status": "recorded" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金手链", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other", "order_id": "", "number": "MM20261118-", "paper_number": "20261118007", "date": "2026-11-18", "customer": "对照售后订单客户", "status": "recorded" } ] } }, "peopleCount": { "from": "2026-11-18", "date": "2026-11-18", "baselineDate": "2026-11-17", "mode": "daily-total", "assistant1": { "total": 5, "endTotal": 5, "baselineTotal": null, "baselineDate": null, "netChange": null, "netChangeReason": "missing-previous", "recordedDays": 1 }, "assistant2": { "total": 3, "endTotal": 3, "baselineTotal": null, "baselineDate": null, "netChange": null, "netChangeReason": "missing-previous", "recordedDays": 1 } }, "priceLockActivity": { "basis": "eventDate", "from": "2026-11-18", "date": "2026-11-18", "customerCash": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 270000, "account": "助理微信", "number": "SJ20261118-", "customer": "对照锁价客户", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:53.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null }, { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 50000, "account": "助理2微信", "number": "SJ20261118-", "customer": "对照锁价客户三", "product": "足金999", "actor": "助理2", "created": "2026-11-18T02:01:55.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null }, { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 80000, "account": "麦麦微信", "number": "SJ20261118-", "customer": "对照锁价客户四", "product": "足金999", "actor": "麦麦", "created": "2026-11-18T02:01:56.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null }, { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 120000, "account": "助理支付宝", "number": "SJ20261118-", "customer": "对照锁价客户二", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:02:02.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null } ], "orderPayments": [], "materialOutlays": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "material", "amount": 255000, "payer": "owner", "source": "original", "quantity": 3000, "rate": 85000, "number": "SJ20261118-", "customer": "对照锁价客户", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:53.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "component": "material" }, { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "material", "amount": 255000, "payer": "owner", "source": "original", "quantity": 3000, "rate": 85000, "number": "SJ20261118-", "customer": "对照锁价客户二", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:54.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "component": "material" }, { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "material", "amount": 258000, "payer": "assistant2", "source": "original", "quantity": 3000, "rate": 86000, "number": "SJ20261118-", "customer": "对照锁价客户三", "product": "足金999", "actor": "助理2", "created": "2026-11-18T02:01:55.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "component": "material" }, { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "material", "amount": 255000, "payer": "owner", "source": "original", "quantity": 3000, "rate": 85000, "number": "SJ20261118-", "customer": "对照锁价客户四", "product": "足金999", "actor": "麦麦", "created": "2026-11-18T02:01:56.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "component": "material" } ], "directOutlays": [], "deliveryGoodsOutlays": [], "receipts": { "receipt": 520000, "refund": 0, "net": 520000, "channels": [ { "channel": "wechat", "name": "微信", "receipt": 400000, "refund": 0, "net": 400000 }, { "channel": "alipay", "name": "支付宝", "receipt": 120000, "refund": 0, "net": 120000 }, { "channel": "cash", "name": "现金", "receipt": 0, "refund": 0, "net": 0 } ], "accounts": [ { "account": "助理微信", "receipt": 270000, "refund": 0, "net": 270000 }, { "account": "助理支付宝", "receipt": 120000, "refund": 0, "net": 120000 }, { "account": "助理现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦微信", "receipt": 80000, "refund": 0, "net": 80000 }, { "account": "麦麦支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2微信", "receipt": 50000, "refund": 0, "net": 50000 }, { "account": "助理2支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2现金", "receipt": 0, "refund": 0, "net": 0 } ], "paymentCount": 4, "orderCount": 4 }, "payerOutlays": { "owner": { "payer": "owner", "material": 765000, "goods": 765000, "paidFees": 0, "total": 765000 }, "assistant": { "payer": "assistant", "material": 0, "goods": 0, "paidFees": 0, "total": 0 }, "assistant2": { "payer": "assistant2", "material": 258000, "goods": 258000, "paidFees": 0, "total": 258000 } }, "summary": { "receipt": 520000, "refund": 0, "net": 520000, "materialOutlay": 1023000, "goodsOutlay": 1023000, "feeOutlay": 0, "ownerOutlay": 765000, "assistantOutlay": 0, "assistant2Outlay": 258000, "totalOutlay": 1023000, "eventCount": 8, "lockCount": 4 } }, "outlayGoods": 6266200, "outlayExpense": 5581, "outlayTotal": 6271781, "receiptsByOrderDate": { "basis": "orderDate", "filterScope": "matchingOrders", "from": "2026-11-18", "date": "2026-11-18", "receipt": 3788763, "refund": 0, "net": 3788763, "channels": [ { "channel": "wechat", "name": "微信", "receipt": 1221100, "refund": 0, "net": 1221100 }, { "channel": "alipay", "name": "支付宝", "receipt": 519163, "refund": 0, "net": 519163 }, { "channel": "cash", "name": "现金", "receipt": 1460000, "refund": 0, "net": 1460000 }, { "channel": "credit_card", "name": "信用卡", "receipt": 588500, "refund": 0, "net": 588500 } ], "accounts": [ { "account": "助理微信", "receipt": 591100, "refund": 0, "net": 591100 }, { "account": "助理支付宝", "receipt": 202000, "refund": 0, "net": 202000 }, { "account": "助理现金", "receipt": 330000, "refund": 0, "net": 330000 }, { "account": "麦麦微信", "receipt": 80000, "refund": 0, "net": 80000 }, { "account": "麦麦支付宝", "receipt": 100000, "refund": 0, "net": 100000 }, { "account": "麦麦现金", "receipt": 980000, "refund": 0, "net": 980000 }, { "account": "麦麦信用卡", "receipt": 588500, "refund": 0, "net": 588500 }, { "account": "助理2微信", "receipt": 550000, "refund": 0, "net": 550000 }, { "account": "助理2支付宝", "receipt": 217163, "refund": 0, "net": 217163 }, { "account": "助理2现金", "receipt": 150000, "refund": 0, "net": 150000 } ], "paymentCount": 14, "orderCount": 13 }, "totalCost": 2800781, "recipientReceipts": { "assistant": { "recipient": "assistant", "name": "娜娜", "receipt": 1123100, "refund": 0, "net": 1123100, "items": [ { "id": "", "date": "2026-11-18", "kind": "receipt", "amount": 321100, "account": "助理微信", "order_id": "", "price_lock_id": null, "order_date": "2026-11-18", "number": "MM20261118-", "paper_number": "20261118001", "customer": "对照客户甲", "reference": "开单时已全额收款", "note": "客户单备注", "created": "2026-11-18T02:01:17.000Z" }, { "id": "", "date": "2026-11-18", "kind": "receipt", "amount": 330000, "account": "助理现金", "order_id": "", "price_lock_id": null, "order_date": "2026-11-18", "number": "MM20261118-", "paper_number": "20261118004", "customer": "对照客户丁", "reference": "开单时已全额收款", "note": "", "created": "2026-11-18T02:01:20.000Z" }, { "id": "", "date": "2026-11-18", "kind": "receipt", "amount": 82000, "account": "助理支付宝", "order_id": "", "price_lock_id": null, "order_date": "2026-11-18", "number": "MM20261118-", "paper_number": "20261118008", "customer": "对照驳回客户", "reference": "开单时已全额收款", "note": "", "created": "2026-11-18T02:01:26.000Z" }, { "id": "", "date": "2026-11-18", "kind": "receipt", "amount": 270000, "account": "助理微信", "order_id": null, "price_lock_id": "", "order_date": null, "number": "SJ20261118-", "paper_number": null, "customer": "对照锁价客户", "reference": "", "note": "锁价备注", "created": "2026-11-18T02:01:53.000Z" }, { "id": "", "date": "2026-11-18", "kind": "receipt", "amount": 120000, "account": "助理支付宝", "order_id": null, "price_lock_id": "", "order_date": null, "number": "SJ20261118-", "paper_number": null, "customer": "对照锁价客户二", "reference": "", "note": "锁价备注", "created": "2026-11-18T02:02:02.000Z" } ] }, "owner": { "recipient": "owner", "name": "麦麦", "receipt": 1748500, "refund": 0, "net": 1748500, "items": [ { "id": "", "date": "2026-11-18", "kind": "receipt", "amount": 288500, "account": "麦麦信用卡", "order_id": "", "price_lock_id": null, "order_date": "2026-11-18", "number": "MM20261118-", "paper_number": "20261118003", "customer": "对照客户丙", "reference": "开单时已全额收款", "note": "", "created": "2026-11-18T02:01:19.000Z" }, { "id": "", "date": "2026-11-18", "kind": "receipt", "amount": 980000, "account": "麦麦现金", "order_id": "", "price_lock_id": null, "order_date": "2026-11-18", "number": "MM20261118-", "paper_number": "20261118005", "customer": "对照草稿客户", "reference": "开单时已全额收款", "note": "", "created": "2026-11-18T02:01:23.000Z" }, { "id": "", "date": "2026-11-18", "kind": "receipt", "amount": 100000, "account": "麦麦支付宝", "order_id": "", "price_lock_id": null, "order_date": "2026-11-18", "number": "MM20261118-", "paper_number": "20261118009", "customer": "对照分步客户", "reference": "定金", "note": "", "created": "2026-11-18T02:01:31.000Z" }, { "id": "", "date": "2026-11-18", "kind": "receipt", "amount": 300000, "account": "麦麦信用卡", "order_id": "", "price_lock_id": null, "order_date": "2026-11-18", "number": "MM20261118-", "paper_number": "20261118009", "customer": "对照分步客户", "reference": "尾款", "note": "", "created": "2026-11-18T02:01:33.000Z" }, { "id": "", "date": "2026-11-18", "kind": "receipt", "amount": 80000, "account": "麦麦微信", "order_id": null, "price_lock_id": "", "order_date": null, "number": "SJ20261118-", "paper_number": null, "customer": "对照锁价客户四", "reference": "", "note": "锁价备注", "created": "2026-11-18T02:01:56.000Z" } ] }, "assistant2": { "recipient": "assistant2", "name": "小昊", "receipt": 917163, "refund": 0, "net": 917163, "items": [ { "id": "", "date": "2026-11-18", "kind": "receipt", "amount": 217163, "account": "助理2支付宝", "order_id": "", "price_lock_id": null, "order_date": "2026-11-18", "number": "MM20261118-", "paper_number": "20261118002", "customer": "对照客户乙", "reference": "开单时已全额收款", "note": "", "created": "2026-11-18T02:01:18.000Z" }, { "id": "", "date": "2026-11-18", "kind": "receipt", "amount": 150000, "account": "助理2现金", "order_id": "", "price_lock_id": null, "order_date": "2026-11-18", "number": "MM20261118-", "paper_number": "20261118006", "customer": "对照取消客户", "reference": "开单时已全额收款", "note": "", "created": "2026-11-18T02:01:24.000Z" }, { "id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "order_id": "", "price_lock_id": null, "order_date": "2026-11-18", "number": "MM20261118-", "paper_number": "20261118007", "customer": "对照售后订单客户", "reference": "开单时已全额收款", "note": "", "created": "2026-11-18T02:01:25.000Z" }, { "id": "", "date": "2026-11-18", "kind": "receipt", "amount": 50000, "account": "助理2微信", "order_id": null, "price_lock_id": "", "order_date": null, "number": "SJ20261118-", "paper_number": null, "customer": "对照锁价客户三", "reference": "", "note": "锁价备注", "created": "2026-11-18T02:01:55.000Z" } ] } }, "ownershipReceipts": { "owner": { "member": "owner", "name": "麦麦", "receipt": 1460000, "refund": 0, "net": 1460000, "accounts": [ { "account": "麦麦现金", "recipient": "owner", "channel": "cash", "receipt": 980000, "refund": 0, "net": 980000, "entryCount": 1 }, { "account": "麦麦支付宝", "recipient": "owner", "channel": "alipay", "receipt": 100000, "refund": 0, "net": 100000, "entryCount": 1 }, { "account": "麦麦信用卡", "recipient": "owner", "channel": "credit_card", "receipt": 300000, "refund": 0, "net": 300000, "entryCount": 1 }, { "account": "麦麦微信", "recipient": "owner", "channel": "wechat", "receipt": 80000, "refund": 0, "net": 80000, "entryCount": 1 } ], "items": [ { "id": "", "date": "2026-11-18", "kind": "receipt", "amount": 980000, "account": "麦麦现金", "order_id": "", "price_lock_id": null, "order_date": "2026-11-18", "number": "MM20261118-", "paper_number": "20261118005", "customer": "对照草稿客户", "reference": "开单时已全额收款", "note": "", "created": "2026-11-18T02:01:23.000Z" }, { "id": "", "date": "2026-11-18", "kind": "receipt", "amount": 100000, "account": "麦麦支付宝", "order_id": "", "price_lock_id": null, "order_date": "2026-11-18", "number": "MM20261118-", "paper_number": "20261118009", "customer": "对照分步客户", "reference": "定金", "note": "", "created": "2026-11-18T02:01:31.000Z" }, { "id": "", "date": "2026-11-18", "kind": "receipt", "amount": 300000, "account": "麦麦信用卡", "order_id": "", "price_lock_id": null, "order_date": "2026-11-18", "number": "MM20261118-", "paper_number": "20261118009", "customer": "对照分步客户", "reference": "尾款", "note": "", "created": "2026-11-18T02:01:33.000Z" }, { "id": "", "date": "2026-11-18", "kind": "receipt", "amount": 80000, "account": "麦麦微信", "order_id": null, "price_lock_id": "", "order_date": null, "number": "SJ20261118-", "paper_number": null, "customer": "对照锁价客户四", "reference": "", "note": "锁价备注", "created": "2026-11-18T02:01:56.000Z" } ] }, "assistant": { "member": "assistant", "name": "娜娜", "receipt": 1411600, "refund": 0, "net": 1411600, "accounts": [ { "account": "助理微信", "recipient": "assistant", "channel": "wechat", "receipt": 591100, "refund": 0, "net": 591100, "entryCount": 2 }, { "account": "助理现金", "recipient": "assistant", "channel": "cash", "receipt": 330000, "refund": 0, "net": 330000, "entryCount": 1 }, { "account": "助理支付宝", "recipient": "assistant", "channel": "alipay", "receipt": 202000, "refund": 0, "net": 202000, "entryCount": 2 }, { "account": "麦麦信用卡", "recipient": "owner", "channel": "credit_card", "receipt": 288500, "refund": 0, "net": 288500, "entryCount": 1 } ], "items": [ { "id": "", "date": "2026-11-18", "kind": "receipt", "amount": 321100, "account": "助理微信", "order_id": "", "price_lock_id": null, "order_date": "2026-11-18", "number": "MM20261118-", "paper_number": "20261118001", "customer": "对照客户甲", "reference": "开单时已全额收款", "note": "客户单备注", "created": "2026-11-18T02:01:17.000Z" }, { "id": "", "date": "2026-11-18", "kind": "receipt", "amount": 330000, "account": "助理现金", "order_id": "", "price_lock_id": null, "order_date": "2026-11-18", "number": "MM20261118-", "paper_number": "20261118004", "customer": "对照客户丁", "reference": "开单时已全额收款", "note": "", "created": "2026-11-18T02:01:20.000Z" }, { "id": "", "date": "2026-11-18", "kind": "receipt", "amount": 82000, "account": "助理支付宝", "order_id": "", "price_lock_id": null, "order_date": "2026-11-18", "number": "MM20261118-", "paper_number": "20261118008", "customer": "对照驳回客户", "reference": "开单时已全额收款", "note": "", "created": "2026-11-18T02:01:26.000Z" }, { "id": "", "date": "2026-11-18", "kind": "receipt", "amount": 270000, "account": "助理微信", "order_id": null, "price_lock_id": "", "order_date": null, "number": "SJ20261118-", "paper_number": null, "customer": "对照锁价客户", "reference": "", "note": "锁价备注", "created": "2026-11-18T02:01:53.000Z" }, { "id": "", "date": "2026-11-18", "kind": "receipt", "amount": 120000, "account": "助理支付宝", "order_id": null, "price_lock_id": "", "order_date": null, "number": "SJ20261118-", "paper_number": null, "customer": "对照锁价客户二", "reference": "", "note": "锁价备注", "created": "2026-11-18T02:02:02.000Z" }, { "id": "", "date": "2026-11-18", "kind": "receipt", "amount": 288500, "account": "麦麦信用卡", "order_id": "", "price_lock_id": null, "order_date": "2026-11-18", "number": "MM20261118-", "paper_number": "20261118003", "customer": "对照客户丙", "reference": "开单时已全额收款", "note": "", "created": "2026-11-18T02:01:19.000Z" } ] }, "assistant2": { "member": "assistant2", "name": "小昊", "receipt": 917163, "refund": 0, "net": 917163, "accounts": [ { "account": "助理2支付宝", "recipient": "assistant2", "channel": "alipay", "receipt": 217163, "refund": 0, "net": 217163, "entryCount": 1 }, { "account": "助理2现金", "recipient": "assistant2", "channel": "cash", "receipt": 150000, "refund": 0, "net": 150000, "entryCount": 1 }, { "account": "助理2微信", "recipient": "assistant2", "channel": "wechat", "receipt": 550000, "refund": 0, "net": 550000, "entryCount": 2 } ], "items": [ { "id": "", "date": "2026-11-18", "kind": "receipt", "amount": 217163, "account": "助理2支付宝", "order_id": "", "price_lock_id": null, "order_date": "2026-11-18", "number": "MM20261118-", "paper_number": "20261118002", "customer": "对照客户乙", "reference": "开单时已全额收款", "note": "", "created": "2026-11-18T02:01:18.000Z" }, { "id": "", "date": "2026-11-18", "kind": "receipt", "amount": 150000, "account": "助理2现金", "order_id": "", "price_lock_id": null, "order_date": "2026-11-18", "number": "MM20261118-", "paper_number": "20261118006", "customer": "对照取消客户", "reference": "开单时已全额收款", "note": "", "created": "2026-11-18T02:01:24.000Z" }, { "id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "order_id": "", "price_lock_id": null, "order_date": "2026-11-18", "number": "MM20261118-", "paper_number": "20261118007", "customer": "对照售后订单客户", "reference": "开单时已全额收款", "note": "", "created": "2026-11-18T02:01:25.000Z" }, { "id": "", "date": "2026-11-18", "kind": "receipt", "amount": 50000, "account": "助理2微信", "order_id": null, "price_lock_id": "", "order_date": null, "number": "SJ20261118-", "paper_number": null, "customer": "对照锁价客户三", "reference": "", "note": "锁价备注", "created": "2026-11-18T02:01:55.000Z" } ] } }, "ownershipBusiness": { "owner": { "member": "owner", "name": "麦麦", "basis": "orderDate", "from": "2026-11-18", "date": "2026-11-18", "recordCount": 3, "orderCount": 2, "afterSaleCount": 1, "draftCount": 0, "sales": 1380000, "netReceipts": 1460000, "totalCost": 1251800, "knownTotalCost": 1251800, "selfCost": 1251800, "knownSelfCost": 1251800, "otherCost": 0, "knownOtherCost": 0, "profit": 128200, "knownProfit": 128200, "incomplete": false, "missingCostCount": 0, "pendingCostCount": 0, "unknownProfitCount": 0, "costByPayer": { "owner": { "member": "owner", "name": "麦麦", "totalCost": 1251800, "knownTotalCost": 1251800, "missingCount": 0, "pendingCount": 0 }, "assistant": { "member": "assistant", "name": "娜娜", "totalCost": 0, "knownTotalCost": 0, "missingCount": 0, "pendingCount": 0 }, "assistant2": { "member": "assistant2", "name": "小昊", "totalCost": 0, "knownTotalCost": 0, "missingCount": 0, "pendingCount": 0 } }, "poolMaterial": { "mg": 0, "amount": 0, "knownAmount": 0, "missingCount": 0, "byPayer": { "owner": { "amount": 0, "knownAmount": 0 }, "assistant": { "amount": 0, "knownAmount": 0 }, "assistant2": { "amount": 0, "knownAmount": 0 } }, "hasPriceLocks": false, "days": [], "otherCosts": { "knownAmount": 1251800, "amount": 1251800 } }, "ownerAdvances": { "basis": "orderDate", "from": "2026-11-18", "date": "2026-11-18", "days": [ { "date": "2026-11-18", "items": [ { "date": "2026-11-18", "kind": "order", "id": "", "number": "MM20261118-", "paperNumber": "20261118005", "customer": "对照草稿客户", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金手镯", "component": "unallocated", "poolId": null, "poolMaterial": false, "allocationPending": false, "amount": 900000, "estimatedAmount": null, "status": "recorded" }, { "date": "2026-11-18", "kind": "order", "id": "", "number": "MM20261118-", "paperNumber": "20261118009", "customer": "对照分步客户", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金项链", "component": "unallocated", "poolId": null, "poolMaterial": false, "allocationPending": false, "amount": 350000, "estimatedAmount": null, "status": "recorded" }, { "date": "2026-11-18", "kind": "order", "id": "", "number": "MM20261118-", "paperNumber": "20261118009", "customer": "对照分步客户", "name": "信用卡手续费(6‰)", "source": "2026-11-18", "component": "fee", "poolId": null, "poolMaterial": false, "allocationPending": false, "amount": 1800, "estimatedAmount": null, "status": "recorded" } ], "knownAmount": 1251800, "amount": 1251800, "missingCount": 0, "pendingCount": 0, "poolAmount": 0, "knownPoolAmount": 0, "otherAmount": 1251800, "knownOtherAmount": 1251800 } ] }, "currentAccount": { "basis": "orderDate", "from": "2026-11-18", "date": "2026-11-18", "days": [ { "date": "2026-11-18", "recordCount": 3, "knownMaterialCost": 0, "knownOtherCost": 1251800, "knownProfit": 128200, "ownerNetReceipts": 1460000, "missingCostCount": 0, "pendingCostCount": 0, "unknownProfitCount": 0, "incomplete": false, "materialCost": 0, "otherCost": 1251800, "profit": 128200, "knownAmount": -80000, "amount": -80000 } ] }, "difference": { "amount": 80000, "reconciled": false, "reasons": [ { "code": "price_lock_timing", "text": "锁价定金、尾款与退款按实际发生日核对,销售与利润按成交单日期核算。" } ] }, "equation": { "basis": "sales", "revenue": 1380000, "totalCost": 1251800, "profit": 128200, "complete": true }, "settlement": { "available": true, "basis": "cumulative-through-date", "from": "2026-11-18", "date": "2026-11-18", "dueOut": 0, "dueIn": 647081, "partial": false, "pendingCount": 0, "legacyCount": 0, "notice": "截至所选日的累计往来,已抵扣实际转账与代收;逐人核对,不将他人付款成本直接当作应转。", "counterparts": [ { "member": "assistant", "name": "娜娜", "dueOut": 0, "dueIn": 647081, "openingDue": 0, "periodNew": -657081, "periodTransferred": -10000, "closingDue": -647081, "offset": 290650, "period": { "obligationNet": -657081, "transferred": -10000, "receivedForNet": 288500, "advancedNet": -945581 } }, { "member": "assistant2", "name": "小昊", "dueOut": 0, "dueIn": 0, "openingDue": 0, "periodNew": 0, "periodTransferred": 0, "closingDue": 0, "offset": 0, "period": { "obligationNet": 0, "transferred": 0, "receivedForNet": 0, "advancedNet": 0 } } ] }, "hasActivity": true }, "assistant": { "member": "assistant", "name": "娜娜", "basis": "orderDate", "from": "2026-11-18", "date": "2026-11-18", "recordCount": 5, "orderCount": 4, "afterSaleCount": 1, "draftCount": 0, "sales": 1021600, "netReceipts": 1411600, "totalCost": 785981, "knownTotalCost": 785981, "selfCost": 348250, "knownSelfCost": 348250, "otherCost": 437731, "knownOtherCost": 437731, "profit": 235619, "knownProfit": 235619, "incomplete": false, "missingCostCount": 0, "pendingCostCount": 0, "unknownProfitCount": 0, "costByPayer": { "owner": { "member": "owner", "name": "麦麦", "totalCost": 437731, "knownTotalCost": 437731, "missingCount": 0, "pendingCount": 0 }, "assistant": { "member": "assistant", "name": "娜娜", "totalCost": 348250, "knownTotalCost": 348250, "missingCount": 0, "pendingCount": 0 }, "assistant2": { "member": "assistant2", "name": "小昊", "totalCost": 0, "knownTotalCost": 0, "missingCount": 0, "pendingCount": 0 } }, "poolMaterial": { "mg": 3000, "amount": 272000, "knownAmount": 272000, "missingCount": 0, "byPayer": { "owner": { "amount": 0, "knownAmount": 0 }, "assistant": { "amount": 272000, "knownAmount": 272000 }, "assistant2": { "amount": 0, "knownAmount": 0 } }, "hasPriceLocks": false, "days": [ { "mg": 3000, "amount": 272000, "knownAmount": 272000, "missingCount": 0, "byPayer": { "owner": { "amount": 0, "knownAmount": 0 }, "assistant": { "amount": 272000, "knownAmount": 272000 }, "assistant2": { "amount": 0, "knownAmount": 0 } }, "poolId": "2026-11-18", "date": "2026-11-18", "averageRate": 90667, "sources": [ { "kind": "public", "member": null, "priceLocked": false, "mg": 3000, "averageRate": 90667, "amount": 272000, "knownAmount": 272000, "missingCount": 0 } ] } ], "otherCosts": { "knownAmount": 513981, "amount": 513981 } }, "ownerAdvances": { "basis": "orderDate", "from": "2026-11-18", "date": "2026-11-18", "days": [ { "date": "2026-11-18", "items": [ { "date": "2026-11-18", "kind": "order", "id": "", "number": "MM20261118-", "paperNumber": "20261118001", "customer": "对照客户甲", "name": "料费成本", "source": "商品 1 · 足金999", "component": "material", "poolId": null, "poolMaterial": false, "allocationPending": false, "amount": 286000, "estimatedAmount": null, "status": "recorded" }, { "date": "2026-11-18", "kind": "order", "id": "", "number": "MM20261118-", "paperNumber": "20261118003", "customer": "对照客户丙", "name": "货品成本(原单未分项)", "source": "商品 1 · 金镶玉吊坠", "component": "unallocated", "poolId": null, "poolMaterial": false, "allocationPending": false, "amount": 150000, "estimatedAmount": null, "status": "recorded" }, { "date": "2026-11-18", "kind": "order", "id": "", "number": "MM20261118-", "paperNumber": "20261118003", "customer": "对照客户丙", "name": "信用卡手续费(6‰)", "source": "2026-11-18", "component": "fee", "poolId": null, "poolMaterial": false, "allocationPending": false, "amount": 1731, "estimatedAmount": null, "status": "recorded" } ], "knownAmount": 437731, "amount": 437731, "missingCount": 0, "pendingCount": 0, "poolAmount": 0, "knownPoolAmount": 0, "otherAmount": 437731, "knownOtherAmount": 437731 } ] }, "currentAccount": { "basis": "orderDate", "from": "2026-11-18", "date": "2026-11-18", "days": [ { "date": "2026-11-18", "recordCount": 5, "knownMaterialCost": 286000, "knownOtherCost": 151731, "knownProfit": 235619, "ownerNetReceipts": 288500, "missingCostCount": 0, "pendingCostCount": 0, "unknownProfitCount": 0, "incomplete": false, "materialCost": 286000, "otherCost": 151731, "profit": 235619, "knownAmount": 384850, "amount": 384850 } ] }, "difference": { "amount": 390000, "reconciled": false, "reasons": [ { "code": "price_lock_timing", "text": "锁价定金、尾款与退款按实际发生日核对,销售与利润按成交单日期核算。" } ] }, "equation": { "basis": "sales", "revenue": 1021600, "totalCost": 785981, "profit": 235619, "complete": true }, "settlement": { "available": true, "basis": "cumulative-through-date", "from": "2026-11-18", "date": "2026-11-18", "dueOut": 647081, "dueIn": 0, "partial": false, "pendingCount": 0, "legacyCount": 0, "notice": "截至所选日的累计往来,已抵扣实际转账与代收;逐人核对,不将他人付款成本直接当作应转。", "counterparts": [ { "member": "owner", "name": "麦麦", "dueOut": 647081, "dueIn": 0, "openingDue": 0, "periodNew": 657081, "periodTransferred": 10000, "closingDue": 647081, "offset": 290650, "period": { "obligationNet": 657081, "transferred": 10000, "receivedForNet": -288500, "advancedNet": 945581 } }, { "member": "assistant2", "name": "小昊", "dueOut": 0, "dueIn": 0, "openingDue": 0, "periodNew": 0, "periodTransferred": 0, "closingDue": 0, "offset": 0, "period": { "obligationNet": 0, "transferred": 0, "receivedForNet": 0, "advancedNet": 0 } } ] }, "hasActivity": true }, "assistant2": { "member": "assistant2", "name": "小昊", "basis": "orderDate", "from": "2026-11-18", "date": "2026-11-18", "recordCount": 3, "orderCount": 3, "afterSaleCount": 0, "draftCount": 0, "sales": 867163, "netReceipts": 917163, "totalCost": 763000, "knownTotalCost": 763000, "selfCost": 763000, "knownSelfCost": 763000, "otherCost": 0, "knownOtherCost": 0, "profit": 104163, "knownProfit": 104163, "incomplete": false, "missingCostCount": 0, "pendingCostCount": 0, "unknownProfitCount": 0, "costByPayer": { "owner": { "member": "owner", "name": "麦麦", "totalCost": 0, "knownTotalCost": 0, "missingCount": 0, "pendingCount": 0 }, "assistant": { "member": "assistant", "name": "娜娜", "totalCost": 0, "knownTotalCost": 0, "missingCount": 0, "pendingCount": 0 }, "assistant2": { "member": "assistant2", "name": "小昊", "totalCost": 763000, "knownTotalCost": 763000, "missingCount": 0, "pendingCount": 0 } }, "poolMaterial": { "mg": 0, "amount": 0, "knownAmount": 0, "missingCount": 0, "byPayer": { "owner": { "amount": 0, "knownAmount": 0 }, "assistant": { "amount": 0, "knownAmount": 0 }, "assistant2": { "amount": 0, "knownAmount": 0 } }, "hasPriceLocks": false, "days": [], "otherCosts": { "knownAmount": 763000, "amount": 763000 } }, "ownerAdvances": { "basis": "orderDate", "from": "2026-11-18", "date": "2026-11-18", "days": [] }, "currentAccount": { "basis": "orderDate", "from": "2026-11-18", "date": "2026-11-18", "days": [ { "date": "2026-11-18", "recordCount": 3, "knownMaterialCost": 0, "knownOtherCost": 0, "knownProfit": 104163, "ownerNetReceipts": 0, "missingCostCount": 0, "pendingCostCount": 0, "unknownProfitCount": 0, "incomplete": false, "materialCost": 0, "otherCost": 0, "profit": 104163, "knownAmount": 104163, "amount": 104163 } ] }, "difference": { "amount": 50000, "reconciled": false, "reasons": [ { "code": "price_lock_timing", "text": "锁价定金、尾款与退款按实际发生日核对,销售与利润按成交单日期核算。" } ] }, "equation": { "basis": "sales", "revenue": 867163, "totalCost": 763000, "profit": 104163, "complete": true }, "settlement": { "available": true, "basis": "cumulative-through-date", "from": "2026-11-18", "date": "2026-11-18", "dueOut": 0, "dueIn": 0, "partial": false, "pendingCount": 0, "legacyCount": 0, "notice": "截至所选日的累计往来,已抵扣实际转账与代收;逐人核对,不将他人付款成本直接当作应转。", "counterparts": [ { "member": "owner", "name": "麦麦", "dueOut": 0, "dueIn": 0, "openingDue": 0, "periodNew": 0, "periodTransferred": 0, "closingDue": 0, "offset": 0, "period": { "obligationNet": 0, "transferred": 0, "receivedForNet": 0, "advancedNet": 0 } }, { "member": "assistant", "name": "娜娜", "dueOut": 0, "dueIn": 0, "openingDue": 0, "periodNew": 0, "periodTransferred": 0, "closingDue": 0, "offset": 0, "period": { "obligationNet": 0, "transferred": 0, "receivedForNet": 0, "advancedNet": 0 } } ] }, "hasActivity": true } }, "dailyProfits": { "basis": "orderDate", "from": "2026-11-18", "date": "2026-11-18", "rows": [ { "recordCount": 3, "orderCount": 2, "afterSaleCount": 1, "draftCount": 0, "sales": 1380000, "knownTotalCost": 1251800, "knownProfit": 128200, "unknownCostCount": 0, "unknownProfitCount": 0, "incomplete": false, "date": "2026-11-18", "member": "owner", "name": "麦麦", "totalCost": 1251800, "profit": 128200 }, { "recordCount": 5, "orderCount": 4, "afterSaleCount": 1, "draftCount": 0, "sales": 1021600, "knownTotalCost": 785981, "knownProfit": 235619, "unknownCostCount": 0, "unknownProfitCount": 0, "incomplete": false, "date": "2026-11-18", "member": "assistant", "name": "娜娜", "totalCost": 785981, "profit": 235619 }, { "recordCount": 3, "orderCount": 3, "afterSaleCount": 0, "draftCount": 0, "sales": 867163, "knownTotalCost": 763000, "knownProfit": 104163, "unknownCostCount": 0, "unknownProfitCount": 0, "incomplete": false, "date": "2026-11-18", "member": "assistant2", "name": "小昊", "totalCost": 763000, "profit": 104163 } ], "summary": { "recordCount": 11, "orderCount": 9, "afterSaleCount": 2, "draftCount": 0, "sales": 3268763, "knownTotalCost": 2800781, "knownProfit": 467982, "unknownCostCount": 0, "unknownProfitCount": 0, "incomplete": false, "totalCost": 2800781, "profit": 467982 } }, "dailyFunds": { "date": "2026-11-18", "from": "2026-11-18", "team": { "from": "2026-11-18", "to": "2026-11-18", "date": "2026-11-18", "members": [ { "id": "owner", "name": "麦麦" }, { "id": "assistant", "name": "娜娜" }, { "id": "assistant2", "name": "小昊" } ], "balances": [ { "member": "owner", "receipts": 1748500, "refunds": 0, "outlays": 4274531, "transferIn": 10000, "transferOut": 0, "openingChange": 0, "periodChange": -2516031, "cumulativeChange": -2516031, "cashBalance": -2516031, "balanceType": "recorded-change", "notice": "仅三人新账已登记的资金增减,不含真实期初余额" }, { "member": "assistant", "receipts": 1123100, "refunds": 0, "outlays": 978400, "transferIn": 0, "transferOut": 10000, "openingChange": 0, "periodChange": 134700, "cumulativeChange": 134700, "cashBalance": 134700, "balanceType": "recorded-change", "notice": "仅三人新账已登记的资金增减,不含真实期初余额" }, { "member": "assistant2", "receipts": 917163, "refunds": 0, "outlays": 1021000, "transferIn": 0, "transferOut": 0, "openingChange": 0, "periodChange": -103837, "cumulativeChange": -103837, "cashBalance": -103837, "balanceType": "recorded-change", "notice": "仅三人新账已登记的资金增减,不含真实期初余额" } ], "pairs": [ { "id": "owner:assistant", "members": [ "owner", "assistant" ], "net": -647081, "obligationNet": -657081, "transferred": -10000, "receivedForNet": 288500, "advancedNet": -945581, "offset": 290650, "due": 647081, "fromMember": "assistant", "toMember": "owner", "direction": "transfer", "period": { "obligationNet": -657081, "transferred": -10000, "receivedForNet": 288500, "advancedNet": -945581 }, "entries": [ { "id": "", "date": "2026-11-18", "kind": "advance", "project": "商品实际垫付", "fromMember": "assistant", "toMember": "owner", "amount": 286000, "revision": 1, "sourceKind": "order", "sourceId": "" }, { "id": "", "date": "2026-11-18", "kind": "receipt", "project": "客户款代收", "fromMember": "owner", "toMember": "assistant", "amount": 288500, "revision": 1, "sourceKind": "order", "sourceId": "" }, { "id": "", "date": "2026-11-18", "kind": "advance", "project": "订单实际费用", "fromMember": "assistant", "toMember": "owner", "amount": 1731, "revision": 1, "sourceKind": "order", "sourceId": "" }, { "id": "", "date": "2026-11-18", "kind": "advance", "project": "商品实际垫付", "fromMember": "assistant", "toMember": "owner", "amount": 150000, "revision": 1, "sourceKind": "order", "sourceId": "" }, { "id": "", "date": "2026-11-18", "kind": "advance", "project": "锁价实际购料", "fromMember": "assistant", "toMember": "owner", "amount": 255000, "revision": 1, "sourceKind": "price_lock", "sourceId": "" }, { "id": "", "date": "2026-11-18", "kind": "advance", "project": "锁价实际购料", "fromMember": "assistant", "toMember": "owner", "amount": 255000, "revision": 1, "sourceKind": "price_lock", "sourceId": "" }, { "id": "", "date": "2026-11-18", "kind": "reimbursement", "project": "独立支出报销 · 对照邮寄", "fromMember": "owner", "toMember": "assistant", "amount": 1500, "revision": 1, "sourceKind": "reimbursement", "sourceId": "" }, { "id": "", "date": "2026-11-18", "kind": "reimbursement", "project": "独立支出报销 · 对照包装", "fromMember": "owner", "toMember": "assistant", "amount": 650, "revision": 1, "sourceKind": "reimbursement", "sourceId": "" } ] }, { "id": "owner:assistant2", "members": [ "owner", "assistant2" ], "net": 0, "obligationNet": 0, "transferred": 0, "receivedForNet": 0, "advancedNet": 0, "offset": 0, "due": 0, "fromMember": null, "toMember": null, "direction": "none", "period": { "obligationNet": 0, "transferred": 0, "receivedForNet": 0, "advancedNet": 0 }, "entries": [] }, { "id": "assistant:assistant2", "members": [ "assistant", "assistant2" ], "net": 0, "obligationNet": 0, "transferred": 0, "receivedForNet": 0, "advancedNet": 0, "offset": 0, "due": 0, "fromMember": null, "toMember": null, "direction": "none", "period": { "obligationNet": 0, "transferred": 0, "receivedForNet": 0, "advancedNet": 0 }, "entries": [] } ], "entries": [ { "id": "", "date": "2026-11-18", "kind": "advance", "project": "商品实际垫付", "fromMember": "assistant", "toMember": "owner", "amount": 286000, "revision": 1, "sourceKind": "order", "sourceId": "" }, { "id": "", "date": "2026-11-18", "kind": "receipt", "project": "客户款代收", "fromMember": "owner", "toMember": "assistant", "amount": 288500, "revision": 1, "sourceKind": "order", "sourceId": "" }, { "id": "", "date": "2026-11-18", "kind": "advance", "project": "订单实际费用", "fromMember": "assistant", "toMember": "owner", "amount": 1731, "revision": 1, "sourceKind": "order", "sourceId": "" }, { "id": "", "date": "2026-11-18", "kind": "advance", "project": "商品实际垫付", "fromMember": "assistant", "toMember": "owner", "amount": 150000, "revision": 1, "sourceKind": "order", "sourceId": "" }, { "id": "", "date": "2026-11-18", "kind": "advance", "project": "锁价实际购料", "fromMember": "assistant", "toMember": "owner", "amount": 255000, "revision": 1, "sourceKind": "price_lock", "sourceId": "" }, { "id": "", "date": "2026-11-18", "kind": "advance", "project": "锁价实际购料", "fromMember": "assistant", "toMember": "owner", "amount": 255000, "revision": 1, "sourceKind": "price_lock", "sourceId": "" }, { "id": "", "date": "2026-11-18", "kind": "reimbursement", "project": "独立支出报销 · 对照邮寄", "fromMember": "owner", "toMember": "assistant", "amount": 1500, "revision": 1, "sourceKind": "reimbursement", "sourceId": "" }, { "id": "", "date": "2026-11-18", "kind": "reimbursement", "project": "独立支出报销 · 对照包装", "fromMember": "owner", "toMember": "assistant", "amount": 650, "revision": 1, "sourceKind": "reimbursement", "sourceId": "" } ], "transfers": [ { "id": "", "date": "2026-11-18", "fromMember": "assistant", "toMember": "owner", "amount": 10000, "note": "对照转账", "actor": "麦麦" } ], "revision": "70efa07e17ce0a2addce8e0bd7b8a0453efd7f3a18845ff4958679e7c7e5ec8e", "pending": [], "legacyReadOnly": true, "cutover": "仅已启用的三人新账事件;旧结算不自动迁入", "transfersDeducted": true }, "readOnly": false, "hasRecords": true, "pendingCount": 0, "legacyReadOnly": true, "transfersNotDeducted": false, "reimbursements": [ { "id": "", "date": "2026-11-18", "items": [ { "id": "", "name": "对照邮寄", "amount": 1500, "member": "owner", "sourceType": "independent", "sourceKey": "", "usedAmount": 0, "remainingAmount": 1500 }, { "id": "", "name": "对照包装", "amount": 650, "member": "owner", "sourceType": "independent", "sourceKey": "", "usedAmount": 0, "remainingAmount": 650 } ], "total": 2150, "note": "补充备注", "status": "approved", "revision": 3, "requester_id": "", "requester_name": "助理", "reviewer_id": "", "reviewer_name": "麦麦", "reviewed": "2026-11-18T02:02:24.000Z", "review_note": "", "created": "2026-11-18T02:02:18.000Z", "updated": "2026-11-18T02:02:24.000Z", "payer": "assistant", "member": "assistant", "fundingMode": "independent", "canEdit": false, "canApprove": false }, { "id": "", "date": "2026-11-18", "items": [ { "id": "", "name": "对照快递", "amount": 900, "member": "owner", "sourceType": "independent", "sourceKey": "", "usedAmount": 0, "remainingAmount": 900 } ], "total": 900, "note": "", "status": "rejected", "revision": 2, "requester_id": "", "requester_name": "助理2", "reviewer_id": "", "reviewer_name": "麦麦", "reviewed": "2026-11-18T02:02:26.000Z", "review_note": "凭据不全", "created": "2026-11-18T02:02:25.000Z", "updated": "2026-11-18T02:02:26.000Z", "payer": "assistant2", "member": "assistant2", "fundingMode": "independent", "canEdit": true, "canApprove": false } ], "approvedReimbursements": 2150, "ready": true, "transferAmount": null, "direction": null, "sources": { "revision": "70efa07e17ce0a2addce8e0bd7b8a0453efd7f3a18845ff4958679e7c7e5ec8e", "total": 0, "items": [] }, "confirmation": null, "actualOutlay": null, "missingDates": [], "staleDates": [], "days": [] }, "reportRevision": "a135c4ad78c72f87ac985349eae3e0fbc880983c86af81708b22bedc856ff5bc" } }, { "seq": 187, "note": "section", "name": "dayTwoLogin" }, { "seq": 188, "note": "clock", "date": "2026-11-19", "hour": 10 }, { "seq": 189, "label": "session-expired-next-day", "date": "2026-11-19", "actor": "owner", "method": "GET", "path": "/api/state", "key": null, "status": 401, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "error": "请先登录" } }, { "seq": 190, "label": "login-owner", "date": "2026-11-19", "actor": "owner", "method": "POST", "path": "/api/login", "key": "golden-00090-login-owner", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "name": "麦麦", "password": "golden-owner-pass-2026" } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": "mm_session=; HttpOnly; SameSite=Strict; Path=/; Max-Age=28800", "body": { "user": { "id": "", "name": "麦麦", "role": "owner", "member": "owner", "operatorName": "麦麦", "label": "麦麦" } } }, { "seq": 191, "label": "login-assistant", "date": "2026-11-19", "actor": "assistant", "method": "POST", "path": "/api/login", "key": "golden-00091-login-assistant", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "name": "助理1", "password": "golden-assistant-new-pass" } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": "mm_session=; HttpOnly; SameSite=Strict; Path=/; Max-Age=28800", "body": { "user": { "id": "", "name": "助理", "role": "assistant", "member": "assistant", "operatorName": "娜娜", "label": "娜娜" } } }, { "seq": 192, "label": "login-assistant2", "date": "2026-11-19", "actor": "assistant2", "method": "POST", "path": "/api/login", "key": "golden-00092-login-assistant2", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "name": "助理2", "password": "golden-assistant2-new-2026" } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": "mm_session=; HttpOnly; SameSite=Strict; Path=/; Max-Age=28800", "body": { "user": { "id": "", "name": "助理2", "role": "assistant", "member": "assistant2", "operatorName": "小昊", "label": "小昊" } } }, { "seq": 193, "note": "section", "name": "inventoryApprovals" }, { "seq": 194, "label": null, "date": "2026-11-19", "actor": "assistant", "method": "GET", "path": "/api/inventory/movements/", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "groupId": "", "revision": 1, "status": "active", "manual": true, "canEdit": true, "canDelete": true, "requiresApproval": true, "deleteRequiresApproval": true, "requiresLegacyCountVerified": false, "legacyCountNotice": "", "values": { "kind": "increase", "date": "2026-11-18", "pocket": "现货", "to": "", "grams": "2.500", "note": "娜娜手动入库", "cost": "" }, "movements": [ { "id": "", "group_id": "", "order_id": null, "date": "2026-11-18", "pocket": "现货", "mg": 2500, "kind": "increase", "note": "娜娜手动入库", "purchase_cost": null, "actor": "助理", "created": "2026-11-18T02:01:04.000Z" } ], "pending": null } }, { "seq": 195, "label": "movement-foreign", "date": "2026-11-19", "actor": "assistant2", "method": "GET", "path": "/api/inventory/movements/", "key": null, "status": 404, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "error": "库存记录不存在或无权访问" } }, { "seq": 196, "label": "movement-update-request", "date": "2026-11-19", "actor": "assistant", "method": "POST", "path": "/api/inventory/movements//update", "key": "golden-00093-movement-update-request", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "kind": "increase", "date": "2026-11-18", "pocket": "现货", "to": "", "grams": "3", "note": "娜娜手动入库", "cost": "", "revision": 1, "reason": "跨天更正克重" } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "groupId": "", "applied": false, "pending": true, "requestId": "", "request": { "id": "", "groupId": "", "action": "update", "revision": 1, "groupRevision": 1, "status": "pending", "reason": "跨天更正克重", "before": { "kind": "increase", "date": "2026-11-18", "pocket": "现货", "to": "", "grams": "2.500", "note": "娜娜手动入库", "cost": "" }, "after": { "kind": "increase", "date": "2026-11-18", "pocket": "现货", "to": "", "grams": "3.000", "note": "娜娜手动入库", "cost": "" }, "requesterName": "助理", "requesterMember": "assistant", "created": "2026-11-19T02:00:07.000Z", "reviewerName": null, "reviewed": null, "note": "", "requiresLegacyCountVerified": false, "legacyCountNotice": "", "stale": false, "staleReason": "", "inventoryChanged": false, "inventoryRevision": "f9ba1a518632dfdce2281e0ed60f59765fbd918986839f55170f1ad4376c5d93", "canApprove": false }, "group": { "groupId": "", "revision": 1, "status": "active", "manual": true, "canEdit": false, "canDelete": false, "requiresApproval": true, "deleteRequiresApproval": true, "requiresLegacyCountVerified": false, "legacyCountNotice": "", "values": { "kind": "increase", "date": "2026-11-18", "pocket": "现货", "to": "", "grams": "2.500", "note": "娜娜手动入库", "cost": "" }, "movements": [ { "id": "", "group_id": "", "order_id": null, "date": "2026-11-18", "pocket": "现货", "mg": 2500, "kind": "increase", "note": "娜娜手动入库", "purchase_cost": null, "actor": "助理", "created": "2026-11-18T02:01:04.000Z" } ], "pending": { "id": "", "groupId": "", "action": "update", "revision": 1, "groupRevision": 1, "status": "pending", "reason": "跨天更正克重", "before": { "kind": "increase", "date": "2026-11-18", "pocket": "现货", "to": "", "grams": "2.500", "note": "娜娜手动入库", "cost": "" }, "after": { "kind": "increase", "date": "2026-11-18", "pocket": "现货", "to": "", "grams": "3.000", "note": "娜娜手动入库", "cost": "" }, "requesterName": "助理", "requesterMember": "assistant", "created": "2026-11-19T02:00:07.000Z", "reviewerName": null, "reviewed": null, "note": "", "requiresLegacyCountVerified": false, "legacyCountNotice": "", "stale": false, "staleReason": "", "inventoryChanged": false, "inventoryRevision": "f9ba1a518632dfdce2281e0ed60f59765fbd918986839f55170f1ad4376c5d93", "canApprove": false } } } }, { "seq": 197, "label": "inventory-changes-assistant", "date": "2026-11-19", "actor": "assistant", "method": "GET", "path": "/api/inventory/changes", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "requests": [ { "id": "", "groupId": "", "action": "update", "revision": 1, "groupRevision": 1, "status": "pending", "reason": "跨天更正克重", "before": { "kind": "increase", "date": "2026-11-18", "pocket": "现货", "to": "", "grams": "2.500", "note": "娜娜手动入库", "cost": "" }, "after": { "kind": "increase", "date": "2026-11-18", "pocket": "现货", "to": "", "grams": "3.000", "note": "娜娜手动入库", "cost": "" }, "requesterName": "助理", "requesterMember": "assistant", "created": "2026-11-19T02:00:07.000Z", "reviewerName": null, "reviewed": null, "note": "", "requiresLegacyCountVerified": false, "legacyCountNotice": "", "stale": false, "staleReason": "", "inventoryChanged": false, "inventoryRevision": "f9ba1a518632dfdce2281e0ed60f59765fbd918986839f55170f1ad4376c5d93", "canApprove": false } ], "counts": { "pending": 1, "approved": 0, "rejected": 0 } } }, { "seq": 198, "label": null, "date": "2026-11-19", "actor": "owner", "method": "GET", "path": "/api/inventory/changes/", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "", "groupId": "", "action": "update", "revision": 1, "groupRevision": 1, "status": "pending", "reason": "跨天更正克重", "before": { "kind": "increase", "date": "2026-11-18", "pocket": "现货", "to": "", "grams": "2.500", "note": "娜娜手动入库", "cost": "" }, "after": { "kind": "increase", "date": "2026-11-18", "pocket": "现货", "to": "", "grams": "3.000", "note": "娜娜手动入库", "cost": "" }, "requesterName": "助理", "requesterMember": "assistant", "created": "2026-11-19T02:00:07.000Z", "reviewerName": null, "reviewed": null, "note": "", "requiresLegacyCountVerified": false, "legacyCountNotice": "", "stale": false, "staleReason": "", "inventoryChanged": false, "inventoryRevision": "f9ba1a518632dfdce2281e0ed60f59765fbd918986839f55170f1ad4376c5d93", "canApprove": true } }, { "seq": 199, "label": "inventory-self-approve", "date": "2026-11-19", "actor": "assistant", "method": "POST", "path": "/api/inventory/changes//approve", "key": "golden-00094-inventory-self-approve", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "revision": 1, "inventoryRevision": "f9ba1a518632dfdce2281e0ed60f59765fbd918986839f55170f1ad4376c5d93", "verified": true } }, "status": 403, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "error": "库存修改和删除申请必须由麦麦审批" } }, { "seq": 200, "label": "inventory-approve", "date": "2026-11-19", "actor": "owner", "method": "POST", "path": "/api/inventory/changes//approve", "key": "golden-00095-inventory-approve", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "revision": 1, "inventoryRevision": "f9ba1a518632dfdce2281e0ed60f59765fbd918986839f55170f1ad4376c5d93", "verified": true } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "groupId": "", "applied": true, "pending": false, "requestId": "", "request": { "id": "", "groupId": "", "action": "update", "revision": 2, "groupRevision": 1, "status": "approved", "reason": "跨天更正克重", "before": { "kind": "increase", "date": "2026-11-18", "pocket": "现货", "to": "", "grams": "2.500", "note": "娜娜手动入库", "cost": "" }, "after": { "kind": "increase", "date": "2026-11-18", "pocket": "现货", "to": "", "grams": "3.000", "note": "娜娜手动入库", "cost": "" }, "requesterName": "助理", "requesterMember": "assistant", "created": "2026-11-19T02:00:07.000Z", "reviewerName": "麦麦", "reviewed": "2026-11-19T02:00:11.000Z", "note": "", "requiresLegacyCountVerified": false, "legacyCountNotice": "", "stale": false, "staleReason": "", "inventoryChanged": true, "inventoryRevision": "35ff0079df5382b6e27b0c2cb1c2e2c4710f39bc52ccee9de1c74f2057e17ee5", "canApprove": false }, "group": { "groupId": "", "revision": 2, "status": "modified", "manual": true, "canEdit": true, "canDelete": true, "requiresApproval": false, "deleteRequiresApproval": false, "requiresLegacyCountVerified": false, "legacyCountNotice": "", "values": { "kind": "increase", "date": "2026-11-18", "pocket": "现货", "to": "", "grams": "3.000", "note": "娜娜手动入库", "cost": "" }, "movements": [ { "id": "", "group_id": "", "order_id": null, "date": "2026-11-18", "pocket": "现货", "mg": 3000, "kind": "increase", "note": "娜娜手动入库", "purchase_cost": null, "actor": "麦麦", "created": "2026-11-19T02:00:11.000Z" } ], "pending": null } } }, { "seq": 201, "label": "movement2", "date": "2026-11-19", "actor": "assistant", "method": "GET", "path": "/api/inventory/movements/", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "groupId": "", "revision": 1, "status": "active", "manual": true, "canEdit": true, "canDelete": true, "requiresApproval": true, "deleteRequiresApproval": true, "requiresLegacyCountVerified": false, "legacyCountNotice": "", "values": { "kind": "decrease", "date": "2026-11-18", "pocket": "现货", "to": "", "grams": "0.500", "note": "娜娜手动出库", "cost": "" }, "movements": [ { "id": "", "group_id": "", "order_id": null, "date": "2026-11-18", "pocket": "现货", "mg": -500, "kind": "decrease", "note": "娜娜手动出库", "purchase_cost": null, "actor": "助理", "created": "2026-11-18T02:01:05.000Z" } ], "pending": null } }, { "seq": 202, "label": "movement-delete-request", "date": "2026-11-19", "actor": "assistant", "method": "POST", "path": "/api/inventory/movements//delete", "key": "golden-00096-movement-delete-request", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "revision": 1, "reason": "跨天删除申请", "verified": true } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "groupId": "", "applied": false, "pending": true, "requestId": "", "request": { "id": "", "groupId": "", "action": "delete", "revision": 1, "groupRevision": 1, "status": "pending", "reason": "跨天删除申请", "before": { "kind": "decrease", "date": "2026-11-18", "pocket": "现货", "to": "", "grams": "0.500", "note": "娜娜手动出库", "cost": "" }, "after": null, "requesterName": "助理", "requesterMember": "assistant", "created": "2026-11-19T02:00:13.000Z", "reviewerName": null, "reviewed": null, "note": "", "requiresLegacyCountVerified": false, "legacyCountNotice": "", "stale": false, "staleReason": "", "inventoryChanged": false, "inventoryRevision": "35ff0079df5382b6e27b0c2cb1c2e2c4710f39bc52ccee9de1c74f2057e17ee5", "canApprove": false }, "group": { "groupId": "", "revision": 1, "status": "active", "manual": true, "canEdit": false, "canDelete": false, "requiresApproval": true, "deleteRequiresApproval": true, "requiresLegacyCountVerified": false, "legacyCountNotice": "", "values": { "kind": "decrease", "date": "2026-11-18", "pocket": "现货", "to": "", "grams": "0.500", "note": "娜娜手动出库", "cost": "" }, "movements": [ { "id": "", "group_id": "", "order_id": null, "date": "2026-11-18", "pocket": "现货", "mg": -500, "kind": "decrease", "note": "娜娜手动出库", "purchase_cost": null, "actor": "助理", "created": "2026-11-18T02:01:05.000Z" } ], "pending": { "id": "", "groupId": "", "action": "delete", "revision": 1, "groupRevision": 1, "status": "pending", "reason": "跨天删除申请", "before": { "kind": "decrease", "date": "2026-11-18", "pocket": "现货", "to": "", "grams": "0.500", "note": "娜娜手动出库", "cost": "" }, "after": null, "requesterName": "助理", "requesterMember": "assistant", "created": "2026-11-19T02:00:13.000Z", "reviewerName": null, "reviewed": null, "note": "", "requiresLegacyCountVerified": false, "legacyCountNotice": "", "stale": false, "staleReason": "", "inventoryChanged": false, "inventoryRevision": "35ff0079df5382b6e27b0c2cb1c2e2c4710f39bc52ccee9de1c74f2057e17ee5", "canApprove": false } } } }, { "seq": 203, "label": "inventory-delete-request", "date": "2026-11-19", "actor": "owner", "method": "GET", "path": "/api/inventory/changes/", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "", "groupId": "", "action": "delete", "revision": 1, "groupRevision": 1, "status": "pending", "reason": "跨天删除申请", "before": { "kind": "decrease", "date": "2026-11-18", "pocket": "现货", "to": "", "grams": "0.500", "note": "娜娜手动出库", "cost": "" }, "after": null, "requesterName": "助理", "requesterMember": "assistant", "created": "2026-11-19T02:00:13.000Z", "reviewerName": null, "reviewed": null, "note": "", "requiresLegacyCountVerified": false, "legacyCountNotice": "", "stale": false, "staleReason": "", "inventoryChanged": false, "inventoryRevision": "35ff0079df5382b6e27b0c2cb1c2e2c4710f39bc52ccee9de1c74f2057e17ee5", "canApprove": true } }, { "seq": 204, "label": "inventory-reject", "date": "2026-11-19", "actor": "owner", "method": "POST", "path": "/api/inventory/changes//reject", "key": "golden-00097-inventory-reject", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "revision": 1, "note": "保留原记录" } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "groupId": "", "applied": false, "pending": false, "requestId": "", "request": { "id": "", "groupId": "", "action": "delete", "revision": 2, "groupRevision": 1, "status": "rejected", "reason": "跨天删除申请", "before": { "kind": "decrease", "date": "2026-11-18", "pocket": "现货", "to": "", "grams": "0.500", "note": "娜娜手动出库", "cost": "" }, "after": null, "requesterName": "助理", "requesterMember": "assistant", "created": "2026-11-19T02:00:13.000Z", "reviewerName": "麦麦", "reviewed": "2026-11-19T02:00:15.000Z", "note": "保留原记录", "requiresLegacyCountVerified": false, "legacyCountNotice": "", "stale": false, "staleReason": "", "inventoryChanged": false, "inventoryRevision": "35ff0079df5382b6e27b0c2cb1c2e2c4710f39bc52ccee9de1c74f2057e17ee5", "canApprove": false }, "group": { "groupId": "", "revision": 1, "status": "active", "manual": true, "canEdit": true, "canDelete": true, "requiresApproval": false, "deleteRequiresApproval": false, "requiresLegacyCountVerified": false, "legacyCountNotice": "", "values": { "kind": "decrease", "date": "2026-11-18", "pocket": "现货", "to": "", "grams": "0.500", "note": "娜娜手动出库", "cost": "" }, "movements": [ { "id": "", "group_id": "", "order_id": null, "date": "2026-11-18", "pocket": "现货", "mg": -500, "kind": "decrease", "note": "娜娜手动出库", "purchase_cost": null, "actor": "助理", "created": "2026-11-18T02:01:05.000Z" } ], "pending": null } } }, { "seq": 205, "label": "stock-same-day", "date": "2026-11-19", "actor": "assistant", "method": "POST", "path": "/api/stock", "key": "golden-00098-stock-same-day", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "date": "2026-11-19", "kind": "increase", "pocket": "金料", "grams": "1", "note": "当天手动入库" } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "group": "" } }, { "seq": 206, "label": "movements-assistant-d2", "date": "2026-11-19", "actor": "assistant", "method": "GET", "path": "/api/inventory/movements", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "pocket": "", "pockets": [ { "pocket": "现货", "active": true }, { "pocket": "金料", "active": true }, { "pocket": "找金", "active": true }, { "pocket": "回收旧料", "active": true }, { "pocket": "君宝汇", "active": true }, { "pocket": "pocket_", "active": true } ], "kind": "all", "hideDeleted": false, "from": "", "to": "", "total": 17, "shown": 17, "limit": 100, "pageSize": 100, "page": 1, "totalPages": 1, "hasPrev": false, "hasNext": false, "movements": [ { "id": "", "group_id": "", "order_id": null, "date": "2026-11-19", "pocket": "金料", "mg": 1000, "kind": "increase", "note": "当天手动入库", "purchase_cost": null, "actor": "助理", "created": "2026-11-19T02:00:16.000Z", "groupId": "", "revision": 1, "manual": true, "current": true, "status": "active", "reversal": false, "canEdit": true, "canDelete": true, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": null, "date": "2026-11-18", "pocket": "现货", "mg": 3000, "kind": "increase", "note": "娜娜手动入库", "purchase_cost": null, "actor": "麦麦", "created": "2026-11-19T02:00:11.000Z", "groupId": "", "revision": 2, "manual": true, "current": true, "status": "modified", "reversal": false, "canEdit": true, "canDelete": true, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": null, "date": "2026-11-18", "pocket": "现货", "mg": -2500, "kind": "manual_reversal", "note": "手动库存更正冲回:", "purchase_cost": null, "actor": "麦麦", "created": "2026-11-19T02:00:11.000Z", "groupId": "", "revision": 2, "manual": false, "current": false, "status": "modified", "reversal": true, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "date": "2026-11-18", "pocket": "现货", "mg": -4000, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "sale", "note": "MM20261118-", "actor": "麦麦", "created": "2026-11-18T02:01:34.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-18", "pocket": "现货", "mg": -800, "kind": "sale", "note": "MM20261118-", "purchase_cost": null, "actor": "助理", "created": "2026-11-18T02:01:26.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "date": "2026-11-18", "pocket": "现货", "mg": -5000, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "sale", "note": "MM20261118-", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "date": "2026-11-18", "pocket": "现货", "mg": -1500, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "sale", "note": "MM20261118-", "actor": "助理2", "created": "2026-11-18T02:01:24.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "date": "2026-11-18", "pocket": "pocket_", "mg": -10000, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "sale", "note": "MM20261118-", "actor": "麦麦", "created": "2026-11-18T02:01:23.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "date": "2026-11-18", "pocket": "现货", "mg": -2000, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "sale", "note": "MM20261118-", "actor": "助理2", "created": "2026-11-18T02:01:18.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-18", "pocket": "现货", "mg": -3250, "kind": "sale", "note": "MM20261118-", "purchase_cost": null, "actor": "助理", "created": "2026-11-18T02:01:17.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": null, "date": "2026-11-18", "pocket": "现货", "mg": -500, "kind": "decrease", "note": "娜娜手动出库", "purchase_cost": null, "actor": "助理", "created": "2026-11-18T02:01:05.000Z", "groupId": "", "revision": 1, "manual": true, "current": true, "status": "active", "reversal": false, "canEdit": true, "canDelete": true, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": null, "date": "2026-11-18", "pocket": "现货", "mg": 2500, "kind": "increase", "note": "娜娜手动入库", "purchase_cost": null, "actor": "助理", "created": "2026-11-18T02:01:04.000Z", "groupId": "", "revision": 2, "manual": true, "current": false, "status": "modified", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "date": "2026-11-18", "pocket": "金料", "mg": 5000, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "transfer", "note": "调拨", "actor": "麦麦", "created": "2026-11-18T02:01:03.000Z", "groupId": "", "revision": 1, "manual": true, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "date": "2026-11-18", "pocket": "现货", "mg": -5000, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "transfer", "note": "调拨", "actor": "麦麦", "created": "2026-11-18T02:01:03.000Z", "groupId": "", "revision": 1, "manual": true, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "date": "2026-11-18", "pocket": "pocket_", "mg": 20000, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "opening", "note": "展柜起始", "actor": "麦麦", "created": "2026-11-18T02:01:02.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "date": "2026-11-18", "pocket": "金料", "mg": 50000, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "opening", "note": "黄金对照起始金料", "actor": "麦麦", "created": "2026-11-18T02:01:01.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "date": "2026-11-18", "pocket": "现货", "mg": 100000, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "opening", "note": "黄金对照起始库存", "actor": "麦麦", "created": "2026-11-18T02:01:00.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false } ] } }, { "seq": 207, "label": "movement-same-day", "date": "2026-11-19", "actor": "assistant", "method": "GET", "path": "/api/inventory/movements/", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "groupId": "", "revision": 1, "status": "active", "manual": true, "canEdit": true, "canDelete": true, "requiresApproval": false, "deleteRequiresApproval": true, "requiresLegacyCountVerified": false, "legacyCountNotice": "", "values": { "kind": "increase", "date": "2026-11-19", "pocket": "金料", "to": "", "grams": "1.000", "note": "当天手动入库", "cost": "" }, "movements": [ { "id": "", "group_id": "", "order_id": null, "date": "2026-11-19", "pocket": "金料", "mg": 1000, "kind": "increase", "note": "当天手动入库", "purchase_cost": null, "actor": "助理", "created": "2026-11-19T02:00:16.000Z" } ], "pending": null } }, { "seq": 208, "label": "movement-update-direct", "date": "2026-11-19", "actor": "assistant", "method": "POST", "path": "/api/inventory/movements//update", "key": "golden-00099-movement-update-direct", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "kind": "increase", "date": "2026-11-19", "pocket": "金料", "to": "", "grams": "1.2", "note": "当天手动入库", "cost": "", "revision": 1, "reason": "当天更正" } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "groupId": "", "applied": true, "pending": false, "group": { "groupId": "", "revision": 2, "status": "modified", "manual": true, "canEdit": true, "canDelete": true, "requiresApproval": false, "deleteRequiresApproval": true, "requiresLegacyCountVerified": false, "legacyCountNotice": "", "values": { "kind": "increase", "date": "2026-11-19", "pocket": "金料", "to": "", "grams": "1.200", "note": "当天手动入库", "cost": "" }, "movements": [ { "id": "", "group_id": "", "order_id": null, "date": "2026-11-19", "pocket": "金料", "mg": 1200, "kind": "increase", "note": "当天手动入库", "purchase_cost": null, "actor": "助理", "created": "2026-11-19T02:00:19.000Z" } ], "pending": null } } }, { "seq": 209, "label": "movement-owner-view", "date": "2026-11-19", "actor": "owner", "method": "GET", "path": "/api/inventory/movements/", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "groupId": "", "revision": 2, "status": "modified", "manual": true, "canEdit": true, "canDelete": true, "requiresApproval": false, "deleteRequiresApproval": false, "requiresLegacyCountVerified": false, "legacyCountNotice": "", "values": { "kind": "increase", "date": "2026-11-19", "pocket": "金料", "to": "", "grams": "1.200", "note": "当天手动入库", "cost": "" }, "movements": [ { "id": "", "group_id": "", "order_id": null, "date": "2026-11-19", "pocket": "金料", "mg": 1200, "kind": "increase", "note": "当天手动入库", "purchase_cost": null, "actor": "助理", "created": "2026-11-19T02:00:19.000Z" } ], "pending": null } }, { "seq": 210, "label": "movement-delete-owner", "date": "2026-11-19", "actor": "owner", "method": "POST", "path": "/api/inventory/movements//delete", "key": "golden-00100-movement-delete-owner", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "revision": 2, "reason": "老板删除", "verified": true } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "groupId": "", "applied": true, "pending": false, "group": { "groupId": "", "revision": 3, "status": "deleted", "manual": true, "canEdit": false, "canDelete": false, "requiresApproval": false, "deleteRequiresApproval": false, "requiresLegacyCountVerified": false, "legacyCountNotice": "", "values": { "kind": "increase", "date": "2026-11-19", "pocket": "金料", "to": "", "grams": "1.200", "note": "当天手动入库", "cost": "" }, "movements": [], "pending": null } } }, { "seq": 211, "label": "inventory-changes-all", "date": "2026-11-19", "actor": "owner", "method": "GET", "path": "/api/inventory/changes?status=all", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "requests": [ { "id": "", "groupId": "", "action": "delete", "revision": 2, "groupRevision": 1, "status": "rejected", "reason": "跨天删除申请", "before": { "kind": "decrease", "date": "2026-11-18", "pocket": "现货", "to": "", "grams": "0.500", "note": "娜娜手动出库", "cost": "" }, "after": null, "requesterName": "助理", "requesterMember": "assistant", "created": "2026-11-19T02:00:13.000Z", "reviewerName": "麦麦", "reviewed": "2026-11-19T02:00:15.000Z", "note": "保留原记录", "requiresLegacyCountVerified": false, "legacyCountNotice": "", "stale": false, "staleReason": "", "inventoryChanged": false, "inventoryRevision": "35ff0079df5382b6e27b0c2cb1c2e2c4710f39bc52ccee9de1c74f2057e17ee5", "canApprove": false }, { "id": "", "groupId": "", "action": "update", "revision": 2, "groupRevision": 1, "status": "approved", "reason": "跨天更正克重", "before": { "kind": "increase", "date": "2026-11-18", "pocket": "现货", "to": "", "grams": "2.500", "note": "娜娜手动入库", "cost": "" }, "after": { "kind": "increase", "date": "2026-11-18", "pocket": "现货", "to": "", "grams": "3.000", "note": "娜娜手动入库", "cost": "" }, "requesterName": "助理", "requesterMember": "assistant", "created": "2026-11-19T02:00:07.000Z", "reviewerName": "麦麦", "reviewed": "2026-11-19T02:00:11.000Z", "note": "", "requiresLegacyCountVerified": false, "legacyCountNotice": "", "stale": false, "staleReason": "", "inventoryChanged": true, "inventoryRevision": "35ff0079df5382b6e27b0c2cb1c2e2c4710f39bc52ccee9de1c74f2057e17ee5", "canApprove": false } ], "counts": { "pending": 0, "approved": 1, "rejected": 1 } } }, { "seq": 212, "note": "section", "name": "orderChangesAndApprovals" }, { "seq": 213, "label": "order-edit-context", "date": "2026-11-19", "actor": "assistant", "method": "GET", "path": "/api/orders//edit", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "eligible": true, "financialEditable": true, "reason": "", "revision": 4, "inputs": { "id": "", "date": "2026-11-18", "customer": "对照客户甲", "customer_type": "unknown", "salesperson": "娜娜", "note": "客户单备注", "internal_note": "#复购 内部备注", "discount": "0.00", "rounding_mode": "yuan", "fee_cost_mode": "legacy", "fees_date": "2026-11-18", "payment_account": "助理微信", "lines": [ { "name": "足金999", "code": "", "unit": "g", "quantity": "3.250", "pocket": "现货", "payer": "assistant", "costPayers": { "material": "owner", "labor": "assistant" }, "cost": "2902.00", "costParts": { "material": "2860.00", "labor": "40.00", "accessories": "2.00", "other": "0.00" }, "costMaterial": { "mode": "gram", "rate": "880.00" }, "costLabor": { "mode": "total", "rate": "" }, "sale": "3210.50", "baseSale": "3185.00", "charges": [ { "name": "刻字", "amount": "20.00" }, { "name": "包装", "amount": "5.50" } ], "pricingMode": "auto", "goldPrice": "950.00", "laborRate": "30.00", "laborMode": "gram", "pieces": 1, "priceNote": "金价 950.00元/克 + 工费 30.00元/克" } ], "fee_items": [ { "key": "shipping", "amount": "12.00", "payer": "assistant", "note": "快递", "status": "estimated", "edited": true, "expense_id": "", "date": "2026-11-18" } ] }, "order": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照客户甲", "salesperson": "娜娜", "note": "客户单备注", "paper_number": "20261118001", "status": "delivered", "lines": [ { "name": "足金999", "code": "", "unit": "g", "quantity": 3250, "pocket": "现货", "payer": "assistant", "costPayers": { "material": "owner", "labor": "assistant" }, "cost": 290200, "costParts": { "material": 286000, "labor": 4000, "accessories": 200, "other": 0 }, "costMaterial": { "mode": "gram", "rate": 88000 }, "costLabor": { "mode": "total" }, "sale": 321050, "baseSale": 318500, "charges": [ { "name": "刻字", "amount": 2000 }, { "name": "包装", "amount": 550 } ], "pricingMode": "auto", "goldPrice": 95000, "laborRate": 3000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 950.00元/克 + 工费 30.00元/克" } ], "discount": 0, "total": 321100, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:17.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理微信", "fee_items": [ { "key": "shipping", "amount": 1200, "payer": "assistant", "note": "快递", "status": "recorded", "edited": false } ], "fees_date": "2026-11-18", "rounding_mode": "yuan", "internal_note": "#复购 内部备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": null, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 321100, "account": "助理微信", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-18T02:01:17.000Z" } ], "expenses": [ { "id": "", "order_id": "", "date": "2026-11-18", "amount": 1200, "payer": "assistant", "note": "快递", "actor": "助理", "created": "2026-11-18T02:01:17.000Z" } ], "settlements": [], "corrections": [], "received": 321100, "refunded": 0, "netReceived": 321100, "balance": 0, "rounding_adjustment": 50, "goodsCost": 290200, "directCost": 1200, "materialCostPending": false, "knownGoodsCost": 290200, "pendingFees": [], "draftFees": 0, "estimatedProfit": 29700, "profit": 29700, "knownProfit": 29700, "ownerCost": 286000, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "audit": [ { "action": "改为未打印", "actor": "助理", "detail": { "printed": false, "notice": "记录打印操作状态,不改变订单账目", "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-18T02:01:50.000Z" }, { "action": "记录打印操作", "actor": "助理", "detail": { "printed": true, "notice": "记录打印操作状态,不改变订单账目", "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-18T02:01:48.000Z" }, { "action": "生成已交付单据", "actor": "助理", "detail": { "amount": 321100, "account": "助理微信", "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-18T02:01:17.000Z" }, { "action": "complete", "actor": "助理", "detail": { "date": "2026-11-18", "verified": true, "revision": 4, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-18T02:01:17.000Z" }, { "action": "deliver", "actor": "助理", "detail": { "date": "2026-11-18", "verified": true, "revision": 4, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-18T02:01:17.000Z" }, { "action": "receipt", "actor": "助理", "detail": { "date": "2026-11-18", "amount": "3211.00", "account": "助理微信", "credit_card_fee_payer": "owner", "verified": true, "reference": "开单时已全额收款", "revision": 3, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-18T02:01:17.000Z" }, { "action": "confirm", "actor": "助理", "detail": { "date": "2026-11-18", "revision": 2, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-18T02:01:17.000Z" }, { "action": "保存草稿", "actor": "助理", "detail": { "revision": 1, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-18T02:01:17.000Z" } ], "sync": { "revision": 4, "done_revision": 0, "error": null, "updated": "2026-11-18T02:01:17.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 }, "requiresLegacyCountVerified": false, "legacyCountNotice": "", "directEditDate": "2026-11-19", "requiresApproval": true, "changePending": null } }, { "seq": 214, "label": "order-edit-cross-day-denied", "date": "2026-11-19", "actor": "assistant", "method": "POST", "path": "/api/orders//edit", "key": "golden-00101-order-edit-cross-day-denied", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "id": "", "date": "2026-11-18", "customer": "对照客户甲(改)", "customer_type": "unknown", "salesperson": "娜娜", "note": "客户单备注", "internal_note": "#复购 内部备注", "discount": "0.00", "rounding_mode": "yuan", "fee_cost_mode": "legacy", "fees_date": "2026-11-18", "payment_account": "助理微信", "lines": [ { "name": "足金999", "code": "", "unit": "g", "quantity": "3.250", "pocket": "现货", "payer": "assistant", "costPayers": { "material": "owner", "labor": "assistant" }, "cost": "2902.00", "costParts": { "material": "2860.00", "labor": "40.00", "accessories": "2.00", "other": "0.00" }, "costMaterial": { "mode": "gram", "rate": "880.00" }, "costLabor": { "mode": "total", "rate": "" }, "sale": "3210.50", "baseSale": "3185.00", "charges": [ { "name": "刻字", "amount": "20.00" }, { "name": "包装", "amount": "5.50" } ], "pricingMode": "auto", "goldPrice": "950.00", "laborRate": "30.00", "laborMode": "gram", "pieces": 1, "priceNote": "金价 950.00元/克 + 工费 30.00元/克" } ], "fee_items": [ { "key": "shipping", "amount": "12.00", "payer": "assistant", "note": "快递", "status": "estimated", "edited": true, "expense_id": "", "date": "2026-11-18" } ], "revision": 4, "reason": "跨天修改客户名", "verified": true } }, "status": 403, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "error": "助理仅可直接保存原单日期和保存日期都为今天的修改;其他日期请提交修改申请,由麦麦复核后生效" } }, { "seq": 215, "label": "order-change-request", "date": "2026-11-19", "actor": "assistant", "method": "POST", "path": "/api/orders//change", "key": "golden-00102-order-change-request", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "id": "", "date": "2026-11-18", "customer": "对照客户甲(改)", "customer_type": "unknown", "salesperson": "娜娜", "note": "客户单备注", "internal_note": "#复购 内部备注", "discount": "0.00", "rounding_mode": "yuan", "fee_cost_mode": "legacy", "fees_date": "2026-11-18", "payment_account": "助理微信", "lines": [ { "name": "足金999", "code": "", "unit": "g", "quantity": "3.250", "pocket": "现货", "payer": "assistant", "costPayers": { "material": "owner", "labor": "assistant" }, "cost": "2902.00", "costParts": { "material": "2860.00", "labor": "40.00", "accessories": "2.00", "other": "0.00" }, "costMaterial": { "mode": "gram", "rate": "880.00" }, "costLabor": { "mode": "total", "rate": "" }, "sale": "3210.50", "baseSale": "3185.00", "charges": [ { "name": "刻字", "amount": "20.00" }, { "name": "包装", "amount": "5.50" } ], "pricingMode": "auto", "goldPrice": "950.00", "laborRate": "30.00", "laborMode": "gram", "pieces": 1, "priceNote": "金价 950.00元/克 + 工费 30.00元/克" } ], "fee_items": [ { "key": "shipping", "amount": "12.00", "payer": "assistant", "note": "快递", "status": "estimated", "edited": true, "expense_id": "", "date": "2026-11-18" } ], "revision": 4, "reason": "跨天修改客户名", "verified": true } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "", "requestId": "", "request": { "id": "", "order_id": "", "order_revision": 4, "action": "edit", "reason": "跨天修改客户名", "status": "pending", "requester_id": "", "requester_name": "助理", "requester_role": "assistant", "created": "2026-11-19T02:00:25.000Z", "reviewer_id": null, "reviewer_name": null, "reviewed": null, "note": "", "action_label": "修改订单", "order_number": "MM20261118-", "order_date": "2026-11-18", "order_status": "delivered", "stale": false, "canApprove": false, "before": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照客户甲", "salesperson": "娜娜", "note": "客户单备注", "paper_number": "20261118001", "status": "delivered", "lines": [ { "name": "足金999", "code": "", "unit": "g", "quantity": 3250, "pocket": "现货", "payer": "assistant", "costPayers": { "material": "owner", "labor": "assistant" }, "cost": 290200, "costParts": { "material": 286000, "labor": 4000, "accessories": 200, "other": 0 }, "costMaterial": { "mode": "gram", "rate": 88000 }, "costLabor": { "mode": "total" }, "sale": 321050, "baseSale": 318500, "charges": [ { "name": "刻字", "amount": 2000 }, { "name": "包装", "amount": 550 } ], "pricingMode": "auto", "goldPrice": 95000, "laborRate": 3000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 950.00元/克 + 工费 30.00元/克" } ], "discount": 0, "total": 321100, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:17.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理微信", "fee_items": [ { "key": "shipping", "amount": 1200, "payer": "assistant", "note": "快递", "status": "recorded", "edited": false } ], "fees_date": "2026-11-18", "rounding_mode": "yuan", "internal_note": "#复购 内部备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant", "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 321100, "account": "助理微信", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-18T02:01:17.000Z" } ], "expenses": [ { "id": "", "order_id": "", "date": "2026-11-18", "amount": 1200, "payer": "assistant", "note": "快递", "actor": "助理", "created": "2026-11-18T02:01:17.000Z" } ], "settlements": [], "corrections": [], "received": 321100, "refunded": 0, "netReceived": 321100, "balance": 0, "rounding_adjustment": 50, "goodsCost": 290200, "directCost": 1200, "materialCostPending": false, "knownGoodsCost": 290200, "pendingFees": [], "draftFees": 0, "estimatedProfit": 29700, "profit": 29700, "knownProfit": 29700, "ownerCost": 286000, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "sync": { "revision": 4, "done_revision": 0, "error": null, "updated": "2026-11-18T02:01:17.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 }, "after": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照客户甲(改)", "salesperson": "娜娜", "note": "客户单备注", "paper_number": "20261118001", "status": "delivered", "lines": [ { "name": "足金999", "code": "", "unit": "g", "quantity": 3250, "pocket": "现货", "payer": "assistant", "costPayers": { "material": "owner", "labor": "assistant" }, "cost": 290200, "costParts": { "material": 286000, "labor": 4000, "accessories": 200, "other": 0 }, "costMaterial": { "mode": "gram", "rate": 88000 }, "costLabor": { "mode": "total" }, "sale": 321050, "baseSale": 318500, "charges": [ { "name": "刻字", "amount": 2000 }, { "name": "包装", "amount": 550 } ], "pricingMode": "auto", "goldPrice": 95000, "laborRate": 3000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 950.00元/克 + 工费 30.00元/克" } ], "discount": 0, "total": 321100, "revision": 5, "reviewed_revision": 0, "created": "2026-11-18T02:01:17.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理微信", "fee_items": [ { "key": "shipping", "amount": 1200, "payer": "assistant", "note": "快递", "status": "recorded", "edited": true, "date": "2026-11-18", "expense_id": "" } ], "fees_date": "2026-11-18", "rounding_mode": "yuan", "internal_note": "#复购 内部备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant", "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 321100, "account": "助理微信", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-18T02:01:17.000Z" } ], "expenses": [ { "id": "", "order_id": "", "date": "2026-11-18", "amount": 1200, "payer": "assistant", "note": "快递", "actor": "助理", "created": "2026-11-18T02:01:17.000Z" } ], "settlements": [], "corrections": [], "received": 321100, "refunded": 0, "netReceived": 321100, "balance": 0, "rounding_adjustment": 50, "goodsCost": 290200, "directCost": 1200, "materialCostPending": false, "knownGoodsCost": 290200, "pendingFees": [], "draftFees": 0, "estimatedProfit": 29700, "profit": 29700, "knownProfit": 29700, "ownerCost": 286000, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "sync": { "revision": 5, "done_revision": 0, "error": null, "updated": "2026-11-19T02:00:25.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 }, "summary": { "before": { "total": 321100, "netReceived": 321100, "goodsCost": 290200, "directCost": 1200, "profit": 29700, "settlementDue": 0, "materialCostPending": false }, "after": { "total": 321100, "netReceived": 321100, "goodsCost": 290200, "directCost": 1200, "profit": 29700, "settlementDue": 0, "materialCostPending": false }, "inventory": { "before": [ { "date": "2026-11-18", "pocket": "现货", "kind": "sale", "mg": -3250 } ], "after": [ { "date": "2026-11-18", "pocket": "现货", "kind": "sale", "mg": -3250 } ], "changes": [] } }, "changes": [ { "field": "customer", "label": "客户称呼", "before": "对照客户甲", "after": "对照客户甲(改)" }, { "field": "fee_items", "label": "实际费用", "before": [ { "key": "shipping", "amount": 1200, "payer": "assistant", "note": "快递", "status": "recorded", "edited": false } ], "after": [ { "key": "shipping", "amount": 1200, "payer": "assistant", "note": "快递", "status": "recorded", "edited": true, "date": "2026-11-18", "expense_id": "" } ] } ], "relatedOrders": [] }, "order": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照客户甲", "salesperson": "娜娜", "note": "客户单备注", "paper_number": "20261118001", "status": "delivered", "lines": [ { "name": "足金999", "code": "", "unit": "g", "quantity": 3250, "pocket": "现货", "payer": "assistant", "costPayers": { "material": "owner", "labor": "assistant" }, "cost": 290200, "costParts": { "material": 286000, "labor": 4000, "accessories": 200, "other": 0 }, "costMaterial": { "mode": "gram", "rate": 88000 }, "costLabor": { "mode": "total" }, "sale": 321050, "baseSale": 318500, "charges": [ { "name": "刻字", "amount": 2000 }, { "name": "包装", "amount": 550 } ], "pricingMode": "auto", "goldPrice": 95000, "laborRate": 3000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 950.00元/克 + 工费 30.00元/克" } ], "discount": 0, "total": 321100, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:17.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理微信", "fee_items": [ { "key": "shipping", "amount": 1200, "payer": "assistant", "note": "快递", "status": "recorded", "edited": false } ], "fees_date": "2026-11-18", "rounding_mode": "yuan", "internal_note": "#复购 内部备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant", "cancellationPending": null, "cancellationApproved": null, "changePending": { "id": "", "status": "pending", "action": "edit", "action_label": "修改订单", "order_revision": 4, "reason": "跨天修改客户名", "requester_name": "助理", "created": "2026-11-19T02:00:25.000Z", "reviewer_name": null, "reviewed": null, "note": "", "stale": false }, "changeApproved": null, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 321100, "account": "助理微信", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-18T02:01:17.000Z" } ], "expenses": [ { "id": "", "order_id": "", "date": "2026-11-18", "amount": 1200, "payer": "assistant", "note": "快递", "actor": "助理", "created": "2026-11-18T02:01:17.000Z" } ], "settlements": [], "corrections": [], "received": 321100, "refunded": 0, "netReceived": 321100, "balance": 0, "rounding_adjustment": 50, "goodsCost": 290200, "directCost": 1200, "materialCostPending": false, "knownGoodsCost": 290200, "pendingFees": [], "draftFees": 0, "estimatedProfit": 29700, "profit": 29700, "knownProfit": 29700, "ownerCost": 286000, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "audit": [ { "action": "申请修改订单", "actor": "助理", "detail": { "requestId": "", "action": "edit", "reason": "跨天修改客户名", "revision": 4, "changes": [ { "field": "customer", "label": "客户称呼", "before": "对照客户甲", "after": "对照客户甲(改)" }, { "field": "fee_items", "label": "实际费用", "before": [ { "key": "shipping", "amount": 1200, "payer": "assistant", "note": "快递", "status": "recorded", "edited": false } ], "after": [ { "key": "shipping", "amount": 1200, "payer": "assistant", "note": "快递", "status": "recorded", "edited": true, "date": "2026-11-18", "expense_id": "" } ] } ], "summary": { "before": { "total": 321100, "netReceived": 321100, "goodsCost": 290200, "directCost": 1200, "profit": 29700, "settlementDue": 0, "materialCostPending": false }, "after": { "total": 321100, "netReceived": 321100, "goodsCost": 290200, "directCost": 1200, "profit": 29700, "settlementDue": 0, "materialCostPending": false }, "inventory": { "before": [ { "date": "2026-11-18", "pocket": "现货", "kind": "sale", "mg": -3250 } ], "after": [ { "date": "2026-11-18", "pocket": "现货", "kind": "sale", "mg": -3250 } ], "changes": [] } }, "notice": "申请不改变订单、财务、库存或日报;由麦麦核对修改前后再审批", "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-19T02:00:25.000Z" }, { "action": "改为未打印", "actor": "助理", "detail": { "printed": false, "notice": "记录打印操作状态,不改变订单账目", "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-18T02:01:50.000Z" }, { "action": "记录打印操作", "actor": "助理", "detail": { "printed": true, "notice": "记录打印操作状态,不改变订单账目", "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-18T02:01:48.000Z" }, { "action": "生成已交付单据", "actor": "助理", "detail": { "amount": 321100, "account": "助理微信", "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-18T02:01:17.000Z" }, { "action": "complete", "actor": "助理", "detail": { "date": "2026-11-18", "verified": true, "revision": 4, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-18T02:01:17.000Z" }, { "action": "deliver", "actor": "助理", "detail": { "date": "2026-11-18", "verified": true, "revision": 4, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-18T02:01:17.000Z" }, { "action": "receipt", "actor": "助理", "detail": { "date": "2026-11-18", "amount": "3211.00", "account": "助理微信", "credit_card_fee_payer": "owner", "verified": true, "reference": "开单时已全额收款", "revision": 3, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-18T02:01:17.000Z" }, { "action": "confirm", "actor": "助理", "detail": { "date": "2026-11-18", "revision": 2, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-18T02:01:17.000Z" }, { "action": "保存草稿", "actor": "助理", "detail": { "revision": 1, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-18T02:01:17.000Z" } ], "sync": { "revision": 4, "done_revision": 0, "error": null, "updated": "2026-11-18T02:01:17.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 } } }, { "seq": 216, "label": "order-change-context", "date": "2026-11-19", "actor": "assistant", "method": "GET", "path": "/api/orders//change", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "eligible": false, "reason": "本单有待审批修改申请,请先由麦麦同意或驳回后再改动", "actions": { "edit": { "eligible": false, "reason": "本单有待审批修改申请,请先由麦麦同意或驳回后再改动", "directToday": false }, "expense": { "eligible": false, "reason": "本单有待审批修改申请,请先由麦麦同意或驳回后再改动", "directToday": false }, "fees": { "eligible": false, "reason": "本单有待审批修改申请,请先由麦麦同意或驳回后再改动", "directToday": false }, "refund": { "eligible": false, "reason": "本单有待审批修改申请,请先由麦麦同意或驳回后再改动", "directToday": false }, "return": { "eligible": false, "reason": "本单有待审批修改申请,请先由麦麦同意或驳回后再改动", "directToday": false }, "cost": { "eligible": false, "reason": "本单有待审批修改申请,请先由麦麦同意或驳回后再改动", "directToday": false } }, "directActionDate": "2026-11-19", "revision": 4, "pending": { "id": "", "order_id": "", "order_revision": 4, "action": "edit", "reason": "跨天修改客户名", "status": "pending", "requester_id": "", "requester_name": "助理", "requester_role": "assistant", "created": "2026-11-19T02:00:25.000Z", "reviewer_id": null, "reviewer_name": null, "reviewed": null, "note": "", "action_label": "修改订单", "order_number": "MM20261118-", "order_date": "2026-11-18", "order_status": "delivered", "stale": false, "canApprove": false, "before": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照客户甲", "salesperson": "娜娜", "note": "客户单备注", "paper_number": "20261118001", "status": "delivered", "lines": [ { "name": "足金999", "code": "", "unit": "g", "quantity": 3250, "pocket": "现货", "payer": "assistant", "costPayers": { "material": "owner", "labor": "assistant" }, "cost": 290200, "costParts": { "material": 286000, "labor": 4000, "accessories": 200, "other": 0 }, "costMaterial": { "mode": "gram", "rate": 88000 }, "costLabor": { "mode": "total" }, "sale": 321050, "baseSale": 318500, "charges": [ { "name": "刻字", "amount": 2000 }, { "name": "包装", "amount": 550 } ], "pricingMode": "auto", "goldPrice": 95000, "laborRate": 3000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 950.00元/克 + 工费 30.00元/克" } ], "discount": 0, "total": 321100, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:17.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理微信", "fee_items": [ { "key": "shipping", "amount": 1200, "payer": "assistant", "note": "快递", "status": "recorded", "edited": false } ], "fees_date": "2026-11-18", "rounding_mode": "yuan", "internal_note": "#复购 内部备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant", "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 321100, "account": "助理微信", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-18T02:01:17.000Z" } ], "expenses": [ { "id": "", "order_id": "", "date": "2026-11-18", "amount": 1200, "payer": "assistant", "note": "快递", "actor": "助理", "created": "2026-11-18T02:01:17.000Z" } ], "settlements": [], "corrections": [], "received": 321100, "refunded": 0, "netReceived": 321100, "balance": 0, "rounding_adjustment": 50, "goodsCost": 290200, "directCost": 1200, "materialCostPending": false, "knownGoodsCost": 290200, "pendingFees": [], "draftFees": 0, "estimatedProfit": 29700, "profit": 29700, "knownProfit": 29700, "ownerCost": 286000, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "sync": { "revision": 4, "done_revision": 0, "error": null, "updated": "2026-11-18T02:01:17.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 }, "after": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照客户甲(改)", "salesperson": "娜娜", "note": "客户单备注", "paper_number": "20261118001", "status": "delivered", "lines": [ { "name": "足金999", "code": "", "unit": "g", "quantity": 3250, "pocket": "现货", "payer": "assistant", "costPayers": { "material": "owner", "labor": "assistant" }, "cost": 290200, "costParts": { "material": 286000, "labor": 4000, "accessories": 200, "other": 0 }, "costMaterial": { "mode": "gram", "rate": 88000 }, "costLabor": { "mode": "total" }, "sale": 321050, "baseSale": 318500, "charges": [ { "name": "刻字", "amount": 2000 }, { "name": "包装", "amount": 550 } ], "pricingMode": "auto", "goldPrice": 95000, "laborRate": 3000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 950.00元/克 + 工费 30.00元/克" } ], "discount": 0, "total": 321100, "revision": 5, "reviewed_revision": 0, "created": "2026-11-18T02:01:17.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理微信", "fee_items": [ { "key": "shipping", "amount": 1200, "payer": "assistant", "note": "快递", "status": "recorded", "edited": true, "date": "2026-11-18", "expense_id": "" } ], "fees_date": "2026-11-18", "rounding_mode": "yuan", "internal_note": "#复购 内部备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant", "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 321100, "account": "助理微信", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-18T02:01:17.000Z" } ], "expenses": [ { "id": "", "order_id": "", "date": "2026-11-18", "amount": 1200, "payer": "assistant", "note": "快递", "actor": "助理", "created": "2026-11-18T02:01:17.000Z" } ], "settlements": [], "corrections": [], "received": 321100, "refunded": 0, "netReceived": 321100, "balance": 0, "rounding_adjustment": 50, "goodsCost": 290200, "directCost": 1200, "materialCostPending": false, "knownGoodsCost": 290200, "pendingFees": [], "draftFees": 0, "estimatedProfit": 29700, "profit": 29700, "knownProfit": 29700, "ownerCost": 286000, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "sync": { "revision": 5, "done_revision": 0, "error": null, "updated": "2026-11-19T02:00:25.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 }, "summary": { "before": { "total": 321100, "netReceived": 321100, "goodsCost": 290200, "directCost": 1200, "profit": 29700, "settlementDue": 0, "materialCostPending": false }, "after": { "total": 321100, "netReceived": 321100, "goodsCost": 290200, "directCost": 1200, "profit": 29700, "settlementDue": 0, "materialCostPending": false }, "inventory": { "before": [ { "date": "2026-11-18", "pocket": "现货", "kind": "sale", "mg": -3250 } ], "after": [ { "date": "2026-11-18", "pocket": "现货", "kind": "sale", "mg": -3250 } ], "changes": [] } }, "changes": [ { "field": "customer", "label": "客户称呼", "before": "对照客户甲", "after": "对照客户甲(改)" }, { "field": "fee_items", "label": "实际费用", "before": [ { "key": "shipping", "amount": 1200, "payer": "assistant", "note": "快递", "status": "recorded", "edited": false } ], "after": [ { "key": "shipping", "amount": 1200, "payer": "assistant", "note": "快递", "status": "recorded", "edited": true, "date": "2026-11-18", "expense_id": "" } ] } ], "relatedOrders": [] }, "requests": [ { "id": "", "order_id": "", "order_revision": 4, "action": "edit", "reason": "跨天修改客户名", "status": "pending", "requester_id": "", "requester_name": "助理", "requester_role": "assistant", "created": "2026-11-19T02:00:25.000Z", "reviewer_id": null, "reviewer_name": null, "reviewed": null, "note": "", "action_label": "修改订单", "order_number": "MM20261118-", "order_date": "2026-11-18", "order_status": "delivered", "stale": false, "canApprove": false, "before": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照客户甲", "salesperson": "娜娜", "note": "客户单备注", "paper_number": "20261118001", "status": "delivered", "lines": [ { "name": "足金999", "code": "", "unit": "g", "quantity": 3250, "pocket": "现货", "payer": "assistant", "costPayers": { "material": "owner", "labor": "assistant" }, "cost": 290200, "costParts": { "material": 286000, "labor": 4000, "accessories": 200, "other": 0 }, "costMaterial": { "mode": "gram", "rate": 88000 }, "costLabor": { "mode": "total" }, "sale": 321050, "baseSale": 318500, "charges": [ { "name": "刻字", "amount": 2000 }, { "name": "包装", "amount": 550 } ], "pricingMode": "auto", "goldPrice": 95000, "laborRate": 3000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 950.00元/克 + 工费 30.00元/克" } ], "discount": 0, "total": 321100, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:17.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理微信", "fee_items": [ { "key": "shipping", "amount": 1200, "payer": "assistant", "note": "快递", "status": "recorded", "edited": false } ], "fees_date": "2026-11-18", "rounding_mode": "yuan", "internal_note": "#复购 内部备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant", "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 321100, "account": "助理微信", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-18T02:01:17.000Z" } ], "expenses": [ { "id": "", "order_id": "", "date": "2026-11-18", "amount": 1200, "payer": "assistant", "note": "快递", "actor": "助理", "created": "2026-11-18T02:01:17.000Z" } ], "settlements": [], "corrections": [], "received": 321100, "refunded": 0, "netReceived": 321100, "balance": 0, "rounding_adjustment": 50, "goodsCost": 290200, "directCost": 1200, "materialCostPending": false, "knownGoodsCost": 290200, "pendingFees": [], "draftFees": 0, "estimatedProfit": 29700, "profit": 29700, "knownProfit": 29700, "ownerCost": 286000, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "sync": { "revision": 4, "done_revision": 0, "error": null, "updated": "2026-11-18T02:01:17.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 }, "after": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照客户甲(改)", "salesperson": "娜娜", "note": "客户单备注", "paper_number": "20261118001", "status": "delivered", "lines": [ { "name": "足金999", "code": "", "unit": "g", "quantity": 3250, "pocket": "现货", "payer": "assistant", "costPayers": { "material": "owner", "labor": "assistant" }, "cost": 290200, "costParts": { "material": 286000, "labor": 4000, "accessories": 200, "other": 0 }, "costMaterial": { "mode": "gram", "rate": 88000 }, "costLabor": { "mode": "total" }, "sale": 321050, "baseSale": 318500, "charges": [ { "name": "刻字", "amount": 2000 }, { "name": "包装", "amount": 550 } ], "pricingMode": "auto", "goldPrice": 95000, "laborRate": 3000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 950.00元/克 + 工费 30.00元/克" } ], "discount": 0, "total": 321100, "revision": 5, "reviewed_revision": 0, "created": "2026-11-18T02:01:17.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理微信", "fee_items": [ { "key": "shipping", "amount": 1200, "payer": "assistant", "note": "快递", "status": "recorded", "edited": true, "date": "2026-11-18", "expense_id": "" } ], "fees_date": "2026-11-18", "rounding_mode": "yuan", "internal_note": "#复购 内部备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant", "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 321100, "account": "助理微信", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-18T02:01:17.000Z" } ], "expenses": [ { "id": "", "order_id": "", "date": "2026-11-18", "amount": 1200, "payer": "assistant", "note": "快递", "actor": "助理", "created": "2026-11-18T02:01:17.000Z" } ], "settlements": [], "corrections": [], "received": 321100, "refunded": 0, "netReceived": 321100, "balance": 0, "rounding_adjustment": 50, "goodsCost": 290200, "directCost": 1200, "materialCostPending": false, "knownGoodsCost": 290200, "pendingFees": [], "draftFees": 0, "estimatedProfit": 29700, "profit": 29700, "knownProfit": 29700, "ownerCost": 286000, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "sync": { "revision": 5, "done_revision": 0, "error": null, "updated": "2026-11-19T02:00:25.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 }, "summary": { "before": { "total": 321100, "netReceived": 321100, "goodsCost": 290200, "directCost": 1200, "profit": 29700, "settlementDue": 0, "materialCostPending": false }, "after": { "total": 321100, "netReceived": 321100, "goodsCost": 290200, "directCost": 1200, "profit": 29700, "settlementDue": 0, "materialCostPending": false }, "inventory": { "before": [ { "date": "2026-11-18", "pocket": "现货", "kind": "sale", "mg": -3250 } ], "after": [ { "date": "2026-11-18", "pocket": "现货", "kind": "sale", "mg": -3250 } ], "changes": [] } }, "changes": [ { "field": "customer", "label": "客户称呼", "before": "对照客户甲", "after": "对照客户甲(改)" }, { "field": "fee_items", "label": "实际费用", "before": [ { "key": "shipping", "amount": 1200, "payer": "assistant", "note": "快递", "status": "recorded", "edited": false } ], "after": [ { "key": "shipping", "amount": 1200, "payer": "assistant", "note": "快递", "status": "recorded", "edited": true, "date": "2026-11-18", "expense_id": "" } ] } ], "relatedOrders": [] } ], "canApprove": false } }, { "seq": 217, "label": "order-changes-list", "date": "2026-11-19", "actor": "owner", "method": "GET", "path": "/api/order-changes", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "requests": [ { "id": "", "order_id": "", "order_revision": 4, "action": "edit", "reason": "跨天修改客户名", "status": "pending", "requester_id": "", "requester_name": "助理", "requester_role": "assistant", "created": "2026-11-19T02:00:25.000Z", "reviewer_id": null, "reviewer_name": null, "reviewed": null, "note": "", "action_label": "修改订单", "order_number": "MM20261118-", "order_date": "2026-11-18", "order_status": "delivered", "stale": false, "canApprove": true, "before": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照客户甲", "salesperson": "娜娜", "note": "客户单备注", "paper_number": "20261118001", "status": "delivered", "lines": [ { "name": "足金999", "code": "", "unit": "g", "quantity": 3250, "pocket": "现货", "payer": "assistant", "costPayers": { "material": "owner", "labor": "assistant" }, "cost": 290200, "costParts": { "material": 286000, "labor": 4000, "accessories": 200, "other": 0 }, "costMaterial": { "mode": "gram", "rate": 88000 }, "costLabor": { "mode": "total" }, "sale": 321050, "baseSale": 318500, "charges": [ { "name": "刻字", "amount": 2000 }, { "name": "包装", "amount": 550 } ], "pricingMode": "auto", "goldPrice": 95000, "laborRate": 3000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 950.00元/克 + 工费 30.00元/克" } ], "discount": 0, "total": 321100, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:17.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理微信", "fee_items": [ { "key": "shipping", "amount": 1200, "payer": "assistant", "note": "快递", "status": "recorded", "edited": false } ], "fees_date": "2026-11-18", "rounding_mode": "yuan", "internal_note": "#复购 内部备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant", "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 321100, "account": "助理微信", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-18T02:01:17.000Z" } ], "expenses": [ { "id": "", "order_id": "", "date": "2026-11-18", "amount": 1200, "payer": "assistant", "note": "快递", "actor": "助理", "created": "2026-11-18T02:01:17.000Z" } ], "settlements": [], "corrections": [], "received": 321100, "refunded": 0, "netReceived": 321100, "balance": 0, "rounding_adjustment": 50, "goodsCost": 290200, "directCost": 1200, "materialCostPending": false, "knownGoodsCost": 290200, "pendingFees": [], "draftFees": 0, "estimatedProfit": 29700, "profit": 29700, "knownProfit": 29700, "ownerCost": 286000, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "sync": { "revision": 4, "done_revision": 0, "error": null, "updated": "2026-11-18T02:01:17.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 }, "after": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照客户甲(改)", "salesperson": "娜娜", "note": "客户单备注", "paper_number": "20261118001", "status": "delivered", "lines": [ { "name": "足金999", "code": "", "unit": "g", "quantity": 3250, "pocket": "现货", "payer": "assistant", "costPayers": { "material": "owner", "labor": "assistant" }, "cost": 290200, "costParts": { "material": 286000, "labor": 4000, "accessories": 200, "other": 0 }, "costMaterial": { "mode": "gram", "rate": 88000 }, "costLabor": { "mode": "total" }, "sale": 321050, "baseSale": 318500, "charges": [ { "name": "刻字", "amount": 2000 }, { "name": "包装", "amount": 550 } ], "pricingMode": "auto", "goldPrice": 95000, "laborRate": 3000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 950.00元/克 + 工费 30.00元/克" } ], "discount": 0, "total": 321100, "revision": 5, "reviewed_revision": 0, "created": "2026-11-18T02:01:17.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理微信", "fee_items": [ { "key": "shipping", "amount": 1200, "payer": "assistant", "note": "快递", "status": "recorded", "edited": true, "date": "2026-11-18", "expense_id": "" } ], "fees_date": "2026-11-18", "rounding_mode": "yuan", "internal_note": "#复购 内部备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant", "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 321100, "account": "助理微信", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-18T02:01:17.000Z" } ], "expenses": [ { "id": "", "order_id": "", "date": "2026-11-18", "amount": 1200, "payer": "assistant", "note": "快递", "actor": "助理", "created": "2026-11-18T02:01:17.000Z" } ], "settlements": [], "corrections": [], "received": 321100, "refunded": 0, "netReceived": 321100, "balance": 0, "rounding_adjustment": 50, "goodsCost": 290200, "directCost": 1200, "materialCostPending": false, "knownGoodsCost": 290200, "pendingFees": [], "draftFees": 0, "estimatedProfit": 29700, "profit": 29700, "knownProfit": 29700, "ownerCost": 286000, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "sync": { "revision": 5, "done_revision": 0, "error": null, "updated": "2026-11-19T02:00:25.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 }, "summary": { "before": { "total": 321100, "netReceived": 321100, "goodsCost": 290200, "directCost": 1200, "profit": 29700, "settlementDue": 0, "materialCostPending": false }, "after": { "total": 321100, "netReceived": 321100, "goodsCost": 290200, "directCost": 1200, "profit": 29700, "settlementDue": 0, "materialCostPending": false }, "inventory": { "before": [ { "date": "2026-11-18", "pocket": "现货", "kind": "sale", "mg": -3250 } ], "after": [ { "date": "2026-11-18", "pocket": "现货", "kind": "sale", "mg": -3250 } ], "changes": [] } }, "changes": [ { "field": "customer", "label": "客户称呼", "before": "对照客户甲", "after": "对照客户甲(改)" }, { "field": "fee_items", "label": "实际费用", "before": [ { "key": "shipping", "amount": 1200, "payer": "assistant", "note": "快递", "status": "recorded", "edited": false } ], "after": [ { "key": "shipping", "amount": 1200, "payer": "assistant", "note": "快递", "status": "recorded", "edited": true, "date": "2026-11-18", "expense_id": "" } ] } ], "relatedOrders": [] } ], "counts": { "pending": 1, "approved": 0, "rejected": 0 }, "canApprove": true } }, { "seq": 218, "label": "order-change-detail", "date": "2026-11-19", "actor": "owner", "method": "GET", "path": "/api/order-changes/", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "", "order_id": "", "order_revision": 4, "action": "edit", "reason": "跨天修改客户名", "status": "pending", "requester_id": "", "requester_name": "助理", "requester_role": "assistant", "created": "2026-11-19T02:00:25.000Z", "reviewer_id": null, "reviewer_name": null, "reviewed": null, "note": "", "action_label": "修改订单", "order_number": "MM20261118-", "order_date": "2026-11-18", "order_status": "delivered", "stale": false, "canApprove": true, "before": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照客户甲", "salesperson": "娜娜", "note": "客户单备注", "paper_number": "20261118001", "status": "delivered", "lines": [ { "name": "足金999", "code": "", "unit": "g", "quantity": 3250, "pocket": "现货", "payer": "assistant", "costPayers": { "material": "owner", "labor": "assistant" }, "cost": 290200, "costParts": { "material": 286000, "labor": 4000, "accessories": 200, "other": 0 }, "costMaterial": { "mode": "gram", "rate": 88000 }, "costLabor": { "mode": "total" }, "sale": 321050, "baseSale": 318500, "charges": [ { "name": "刻字", "amount": 2000 }, { "name": "包装", "amount": 550 } ], "pricingMode": "auto", "goldPrice": 95000, "laborRate": 3000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 950.00元/克 + 工费 30.00元/克" } ], "discount": 0, "total": 321100, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:17.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理微信", "fee_items": [ { "key": "shipping", "amount": 1200, "payer": "assistant", "note": "快递", "status": "recorded", "edited": false } ], "fees_date": "2026-11-18", "rounding_mode": "yuan", "internal_note": "#复购 内部备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant", "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 321100, "account": "助理微信", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-18T02:01:17.000Z" } ], "expenses": [ { "id": "", "order_id": "", "date": "2026-11-18", "amount": 1200, "payer": "assistant", "note": "快递", "actor": "助理", "created": "2026-11-18T02:01:17.000Z" } ], "settlements": [], "corrections": [], "received": 321100, "refunded": 0, "netReceived": 321100, "balance": 0, "rounding_adjustment": 50, "goodsCost": 290200, "directCost": 1200, "materialCostPending": false, "knownGoodsCost": 290200, "pendingFees": [], "draftFees": 0, "estimatedProfit": 29700, "profit": 29700, "knownProfit": 29700, "ownerCost": 286000, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "sync": { "revision": 4, "done_revision": 0, "error": null, "updated": "2026-11-18T02:01:17.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 }, "after": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照客户甲(改)", "salesperson": "娜娜", "note": "客户单备注", "paper_number": "20261118001", "status": "delivered", "lines": [ { "name": "足金999", "code": "", "unit": "g", "quantity": 3250, "pocket": "现货", "payer": "assistant", "costPayers": { "material": "owner", "labor": "assistant" }, "cost": 290200, "costParts": { "material": 286000, "labor": 4000, "accessories": 200, "other": 0 }, "costMaterial": { "mode": "gram", "rate": 88000 }, "costLabor": { "mode": "total" }, "sale": 321050, "baseSale": 318500, "charges": [ { "name": "刻字", "amount": 2000 }, { "name": "包装", "amount": 550 } ], "pricingMode": "auto", "goldPrice": 95000, "laborRate": 3000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 950.00元/克 + 工费 30.00元/克" } ], "discount": 0, "total": 321100, "revision": 5, "reviewed_revision": 0, "created": "2026-11-18T02:01:17.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理微信", "fee_items": [ { "key": "shipping", "amount": 1200, "payer": "assistant", "note": "快递", "status": "recorded", "edited": true, "date": "2026-11-18", "expense_id": "" } ], "fees_date": "2026-11-18", "rounding_mode": "yuan", "internal_note": "#复购 内部备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant", "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 321100, "account": "助理微信", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-18T02:01:17.000Z" } ], "expenses": [ { "id": "", "order_id": "", "date": "2026-11-18", "amount": 1200, "payer": "assistant", "note": "快递", "actor": "助理", "created": "2026-11-18T02:01:17.000Z" } ], "settlements": [], "corrections": [], "received": 321100, "refunded": 0, "netReceived": 321100, "balance": 0, "rounding_adjustment": 50, "goodsCost": 290200, "directCost": 1200, "materialCostPending": false, "knownGoodsCost": 290200, "pendingFees": [], "draftFees": 0, "estimatedProfit": 29700, "profit": 29700, "knownProfit": 29700, "ownerCost": 286000, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "sync": { "revision": 5, "done_revision": 0, "error": null, "updated": "2026-11-19T02:00:25.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 }, "summary": { "before": { "total": 321100, "netReceived": 321100, "goodsCost": 290200, "directCost": 1200, "profit": 29700, "settlementDue": 0, "materialCostPending": false }, "after": { "total": 321100, "netReceived": 321100, "goodsCost": 290200, "directCost": 1200, "profit": 29700, "settlementDue": 0, "materialCostPending": false }, "inventory": { "before": [ { "date": "2026-11-18", "pocket": "现货", "kind": "sale", "mg": -3250 } ], "after": [ { "date": "2026-11-18", "pocket": "现货", "kind": "sale", "mg": -3250 } ], "changes": [] } }, "changes": [ { "field": "customer", "label": "客户称呼", "before": "对照客户甲", "after": "对照客户甲(改)" }, { "field": "fee_items", "label": "实际费用", "before": [ { "key": "shipping", "amount": 1200, "payer": "assistant", "note": "快递", "status": "recorded", "edited": false } ], "after": [ { "key": "shipping", "amount": 1200, "payer": "assistant", "note": "快递", "status": "recorded", "edited": true, "date": "2026-11-18", "expense_id": "" } ] } ], "relatedOrders": [] } }, { "seq": 219, "label": "order-change-self-approve", "date": "2026-11-19", "actor": "assistant", "method": "POST", "path": "/api/order-changes//approve", "key": "golden-00103-order-change-self-approve", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "revision": 4, "verified": true, "note": "自批" } }, "status": 403, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "error": "修改申请必须由麦麦账号审批" } }, { "seq": 220, "label": "order-change-stale", "date": "2026-11-19", "actor": "owner", "method": "POST", "path": "/api/order-changes//approve", "key": "golden-00104-order-change-stale", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "revision": 0, "verified": true, "note": "旧版本" } }, "status": 409, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "error": "订单、付款、物料或库存已有新变动,这份修改申请已过期,请驳回后重新申请" } }, { "seq": 221, "label": "order-change-approve", "date": "2026-11-19", "actor": "owner", "method": "POST", "path": "/api/order-changes//approve", "key": "golden-00105-order-change-approve", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "revision": 4, "verified": true, "note": "凭据已核对" } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "", "requestId": "", "request": { "id": "", "order_id": "", "order_revision": 4, "action": "edit", "reason": "跨天修改客户名", "status": "approved", "requester_id": "", "requester_name": "助理", "requester_role": "assistant", "created": "2026-11-19T02:00:25.000Z", "reviewer_id": "", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:00:31.000Z", "note": "凭据已核对", "action_label": "修改订单", "order_number": "MM20261118-", "order_date": "2026-11-18", "order_status": "delivered", "stale": false, "canApprove": false, "before": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照客户甲", "salesperson": "娜娜", "note": "客户单备注", "paper_number": "20261118001", "status": "delivered", "lines": [ { "name": "足金999", "code": "", "unit": "g", "quantity": 3250, "pocket": "现货", "payer": "assistant", "costPayers": { "material": "owner", "labor": "assistant" }, "cost": 290200, "costParts": { "material": 286000, "labor": 4000, "accessories": 200, "other": 0 }, "costMaterial": { "mode": "gram", "rate": 88000 }, "costLabor": { "mode": "total" }, "sale": 321050, "baseSale": 318500, "charges": [ { "name": "刻字", "amount": 2000 }, { "name": "包装", "amount": 550 } ], "pricingMode": "auto", "goldPrice": 95000, "laborRate": 3000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 950.00元/克 + 工费 30.00元/克" } ], "discount": 0, "total": 321100, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:17.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理微信", "fee_items": [ { "key": "shipping", "amount": 1200, "payer": "assistant", "note": "快递", "status": "recorded", "edited": false } ], "fees_date": "2026-11-18", "rounding_mode": "yuan", "internal_note": "#复购 内部备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant", "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 321100, "account": "助理微信", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-18T02:01:17.000Z" } ], "expenses": [ { "id": "", "order_id": "", "date": "2026-11-18", "amount": 1200, "payer": "assistant", "note": "快递", "actor": "助理", "created": "2026-11-18T02:01:17.000Z" } ], "settlements": [], "corrections": [], "received": 321100, "refunded": 0, "netReceived": 321100, "balance": 0, "rounding_adjustment": 50, "goodsCost": 290200, "directCost": 1200, "materialCostPending": false, "knownGoodsCost": 290200, "pendingFees": [], "draftFees": 0, "estimatedProfit": 29700, "profit": 29700, "knownProfit": 29700, "ownerCost": 286000, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "sync": { "revision": 4, "done_revision": 0, "error": null, "updated": "2026-11-18T02:01:17.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 }, "after": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照客户甲(改)", "salesperson": "娜娜", "note": "客户单备注", "paper_number": "20261118001", "status": "delivered", "lines": [ { "name": "足金999", "code": "", "unit": "g", "quantity": 3250, "pocket": "现货", "payer": "assistant", "costPayers": { "material": "owner", "labor": "assistant" }, "cost": 290200, "costParts": { "material": 286000, "labor": 4000, "accessories": 200, "other": 0 }, "costMaterial": { "mode": "gram", "rate": 88000 }, "costLabor": { "mode": "total" }, "sale": 321050, "baseSale": 318500, "charges": [ { "name": "刻字", "amount": 2000 }, { "name": "包装", "amount": 550 } ], "pricingMode": "auto", "goldPrice": 95000, "laborRate": 3000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 950.00元/克 + 工费 30.00元/克" } ], "discount": 0, "total": 321100, "revision": 5, "reviewed_revision": 0, "created": "2026-11-18T02:01:17.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理微信", "fee_items": [ { "key": "shipping", "amount": 1200, "payer": "assistant", "note": "快递", "status": "recorded", "edited": true, "date": "2026-11-18", "expense_id": "" } ], "fees_date": "2026-11-18", "rounding_mode": "yuan", "internal_note": "#复购 内部备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant", "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 321100, "account": "助理微信", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-18T02:01:17.000Z" } ], "expenses": [ { "id": "", "order_id": "", "date": "2026-11-18", "amount": 1200, "payer": "assistant", "note": "快递", "actor": "助理", "created": "2026-11-18T02:01:17.000Z" } ], "settlements": [], "corrections": [], "received": 321100, "refunded": 0, "netReceived": 321100, "balance": 0, "rounding_adjustment": 50, "goodsCost": 290200, "directCost": 1200, "materialCostPending": false, "knownGoodsCost": 290200, "pendingFees": [], "draftFees": 0, "estimatedProfit": 29700, "profit": 29700, "knownProfit": 29700, "ownerCost": 286000, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "sync": { "revision": 5, "done_revision": 0, "error": null, "updated": "2026-11-19T02:00:25.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 }, "summary": { "before": { "total": 321100, "netReceived": 321100, "goodsCost": 290200, "directCost": 1200, "profit": 29700, "settlementDue": 0, "materialCostPending": false }, "after": { "total": 321100, "netReceived": 321100, "goodsCost": 290200, "directCost": 1200, "profit": 29700, "settlementDue": 0, "materialCostPending": false }, "inventory": { "before": [ { "date": "2026-11-18", "pocket": "现货", "kind": "sale", "mg": -3250 } ], "after": [ { "date": "2026-11-18", "pocket": "现货", "kind": "sale", "mg": -3250 } ], "changes": [] } }, "changes": [ { "field": "customer", "label": "客户称呼", "before": "对照客户甲", "after": "对照客户甲(改)" }, { "field": "fee_items", "label": "实际费用", "before": [ { "key": "shipping", "amount": 1200, "payer": "assistant", "note": "快递", "status": "recorded", "edited": false } ], "after": [ { "key": "shipping", "amount": 1200, "payer": "assistant", "note": "快递", "status": "recorded", "edited": true, "date": "2026-11-18", "expense_id": "" } ] } ], "relatedOrders": [] }, "order": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照客户甲(改)", "salesperson": "娜娜", "note": "客户单备注", "paper_number": "20261118001", "status": "delivered", "lines": [ { "name": "足金999", "code": "", "unit": "g", "quantity": 3250, "pocket": "现货", "payer": "assistant", "costPayers": { "material": "owner", "labor": "assistant" }, "cost": 290200, "costParts": { "material": 286000, "labor": 4000, "accessories": 200, "other": 0 }, "costMaterial": { "mode": "gram", "rate": 88000 }, "costLabor": { "mode": "total" }, "sale": 321050, "baseSale": 318500, "charges": [ { "name": "刻字", "amount": 2000 }, { "name": "包装", "amount": 550 } ], "pricingMode": "auto", "goldPrice": 95000, "laborRate": 3000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 950.00元/克 + 工费 30.00元/克" } ], "discount": 0, "total": 321100, "revision": 5, "reviewed_revision": 0, "created": "2026-11-18T02:01:17.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理微信", "fee_items": [ { "key": "shipping", "amount": 1200, "payer": "assistant", "note": "快递", "status": "recorded", "edited": true, "date": "2026-11-18", "expense_id": "" } ], "fees_date": "2026-11-18", "rounding_mode": "yuan", "internal_note": "#复购 内部备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": { "id": "", "status": "approved", "action": "edit", "action_label": "修改订单", "order_revision": 4, "reason": "跨天修改客户名", "requester_name": "助理", "created": "2026-11-19T02:00:25.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:00:31.000Z", "note": "凭据已核对" }, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 321100, "account": "助理微信", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-18T02:01:17.000Z" } ], "expenses": [ { "id": "", "order_id": "", "date": "2026-11-18", "amount": 1200, "payer": "assistant", "note": "快递", "actor": "助理", "created": "2026-11-18T02:01:17.000Z" } ], "settlements": [], "corrections": [], "received": 321100, "refunded": 0, "netReceived": 321100, "balance": 0, "rounding_adjustment": 50, "goodsCost": 290200, "directCost": 1200, "materialCostPending": false, "knownGoodsCost": 290200, "pendingFees": [], "draftFees": 0, "estimatedProfit": 29700, "profit": 29700, "knownProfit": 29700, "ownerCost": 286000, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "audit": [ { "action": "同意修改订单", "actor": "麦麦", "detail": { "requestId": "", "action": "edit", "reason": "跨天修改客户名", "note": "凭据已核对", "requestedBy": "助理", "requestedAt": "2026-11-19T02:00:25.000Z", "reviewed": "2026-11-19T02:00:31.000Z", "summary": { "before": { "total": 321100, "netReceived": 321100, "goodsCost": 290200, "directCost": 1200, "profit": 29700, "settlementDue": 0, "materialCostPending": false }, "after": { "total": 321100, "netReceived": 321100, "goodsCost": 290200, "directCost": 1200, "profit": 29700, "settlementDue": 0, "materialCostPending": false }, "inventory": { "before": [ { "date": "2026-11-18", "pocket": "现货", "kind": "sale", "mg": -3250 } ], "after": [ { "date": "2026-11-18", "pocket": "现货", "kind": "sale", "mg": -3250 } ], "changes": [] } }, "notice": "按已核验的原申请更正同一订单;原订单身份、历史流水和真实双方转款保留", "actorIdentity": { "id": "", "role": "owner", "member": "owner" } }, "created": "2026-11-19T02:00:31.000Z" }, { "action": "整单账务修改", "actor": "麦麦", "detail": { "reason": "跨天修改客户名", "before": { "order": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照客户甲", "salesperson": "娜娜", "note": "客户单备注", "paper_number": "20261118001", "status": "delivered", "lines": [ { "name": "足金999", "code": "", "unit": "g", "quantity": 3250, "pocket": "现货", "payer": "assistant", "costPayers": { "material": "owner", "labor": "assistant" }, "cost": 290200, "costParts": { "material": 286000, "labor": 4000, "accessories": 200, "other": 0 }, "costMaterial": { "mode": "gram", "rate": 88000 }, "costLabor": { "mode": "total" }, "sale": 321050, "baseSale": 318500, "charges": [ { "name": "刻字", "amount": 2000 }, { "name": "包装", "amount": 550 } ], "pricingMode": "auto", "goldPrice": 95000, "laborRate": 3000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 950.00元/克 + 工费 30.00元/克" } ], "discount": 0, "total": 321100, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:17.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理微信", "fee_items": [ { "key": "shipping", "amount": 1200, "payer": "assistant", "note": "快递", "status": "recorded", "edited": false } ], "fees_date": "2026-11-18", "rounding_mode": "yuan", "internal_note": "#复购 内部备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant" }, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 321100, "account": "助理微信", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-18T02:01:17.000Z" } ], "expenses": [ { "id": "", "order_id": "", "date": "2026-11-18", "amount": 1200, "payer": "assistant", "note": "快递", "actor": "助理", "created": "2026-11-18T02:01:17.000Z" } ], "settlements": [], "journal": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "交付", "sales": 321100, "goods": 290200, "expense": 1200, "profit": 29700, "created": "2026-11-18T02:01:17.000Z" } ], "movements": [ { "id": "", "group_id": "", "order_id": "", "date": "2026-11-18", "pocket": "现货", "mg": -3250, "kind": "sale", "note": "MM20261118-", "purchase_cost": null, "actor": "助理", "created": "2026-11-18T02:01:17.000Z" } ] }, "after": { "order": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照客户甲(改)", "salesperson": "娜娜", "note": "客户单备注", "paper_number": "20261118001", "status": "delivered", "lines": [ { "name": "足金999", "code": "", "unit": "g", "quantity": 3250, "pocket": "现货", "payer": "assistant", "costPayers": { "material": "owner", "labor": "assistant" }, "cost": 290200, "costParts": { "material": 286000, "labor": 4000, "accessories": 200, "other": 0 }, "costMaterial": { "mode": "gram", "rate": 88000 }, "costLabor": { "mode": "total" }, "sale": 321050, "baseSale": 318500, "charges": [ { "name": "刻字", "amount": 2000 }, { "name": "包装", "amount": 550 } ], "pricingMode": "auto", "goldPrice": 95000, "laborRate": 3000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 950.00元/克 + 工费 30.00元/克" } ], "discount": 0, "total": 321100, "revision": 5, "reviewed_revision": 0, "created": "2026-11-18T02:01:17.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理微信", "fee_items": [ { "key": "shipping", "amount": 1200, "payer": "assistant", "note": "快递", "status": "recorded", "edited": true, "date": "2026-11-18", "expense_id": "" } ], "fees_date": "2026-11-18", "rounding_mode": "yuan", "internal_note": "#复购 内部备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant" }, "revision": 5, "received": 321100, "goods": 290200, "expense": 1200, "profit": 29700, "settlementDue": 0 }, "notice": "原收支、库存和利润流水保留;实际双方交款原样保留,按更正后应结金额计算差额", "actorIdentity": { "id": "", "role": "owner", "member": "owner" } }, "created": "2026-11-19T02:00:31.000Z" }, { "action": "申请修改订单", "actor": "助理", "detail": { "requestId": "", "action": "edit", "reason": "跨天修改客户名", "revision": 4, "changes": [ { "field": "customer", "label": "客户称呼", "before": "对照客户甲", "after": "对照客户甲(改)" }, { "field": "fee_items", "label": "实际费用", "before": [ { "key": "shipping", "amount": 1200, "payer": "assistant", "note": "快递", "status": "recorded", "edited": false } ], "after": [ { "key": "shipping", "amount": 1200, "payer": "assistant", "note": "快递", "status": "recorded", "edited": true, "date": "2026-11-18", "expense_id": "" } ] } ], "summary": { "before": { "total": 321100, "netReceived": 321100, "goodsCost": 290200, "directCost": 1200, "profit": 29700, "settlementDue": 0, "materialCostPending": false }, "after": { "total": 321100, "netReceived": 321100, "goodsCost": 290200, "directCost": 1200, "profit": 29700, "settlementDue": 0, "materialCostPending": false }, "inventory": { "before": [ { "date": "2026-11-18", "pocket": "现货", "kind": "sale", "mg": -3250 } ], "after": [ { "date": "2026-11-18", "pocket": "现货", "kind": "sale", "mg": -3250 } ], "changes": [] } }, "notice": "申请不改变订单、财务、库存或日报;由麦麦核对修改前后再审批", "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-19T02:00:25.000Z" }, { "action": "改为未打印", "actor": "助理", "detail": { "printed": false, "notice": "记录打印操作状态,不改变订单账目", "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-18T02:01:50.000Z" }, { "action": "记录打印操作", "actor": "助理", "detail": { "printed": true, "notice": "记录打印操作状态,不改变订单账目", "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-18T02:01:48.000Z" }, { "action": "生成已交付单据", "actor": "助理", "detail": { "amount": 321100, "account": "助理微信", "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-18T02:01:17.000Z" }, { "action": "complete", "actor": "助理", "detail": { "date": "2026-11-18", "verified": true, "revision": 4, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-18T02:01:17.000Z" }, { "action": "deliver", "actor": "助理", "detail": { "date": "2026-11-18", "verified": true, "revision": 4, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-18T02:01:17.000Z" }, { "action": "receipt", "actor": "助理", "detail": { "date": "2026-11-18", "amount": "3211.00", "account": "助理微信", "credit_card_fee_payer": "owner", "verified": true, "reference": "开单时已全额收款", "revision": 3, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-18T02:01:17.000Z" }, { "action": "confirm", "actor": "助理", "detail": { "date": "2026-11-18", "revision": 2, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-18T02:01:17.000Z" }, { "action": "保存草稿", "actor": "助理", "detail": { "revision": 1, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-18T02:01:17.000Z" } ], "sync": { "revision": 5, "done_revision": 0, "error": null, "updated": "2026-11-19T02:00:31.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 } } }, { "seq": 222, "label": "order-edit-context-2", "date": "2026-11-19", "actor": "assistant", "method": "GET", "path": "/api/orders//edit", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "eligible": true, "financialEditable": true, "reason": "", "revision": 4, "inputs": { "id": "", "date": "2026-11-18", "customer": "对照驳回客户", "customer_type": "unknown", "salesperson": "娜娜", "note": "", "internal_note": "驳回单备注", "discount": "0.00", "rounding_mode": "cent", "fee_cost_mode": "legacy", "fees_date": "2026-11-18", "payment_account": "助理支付宝", "lines": [ { "name": "足金耳钉", "code": "", "unit": "g", "quantity": "0.800", "pocket": "现货", "payer": "assistant", "cost": "700.00", "costMaterial": { "mode": "gram" }, "costLabor": { "mode": "total", "rate": "" }, "sale": "820.00", "baseSale": "820.00", "charges": [], "pricingMode": "manual", "priceNote": "" } ], "fee_items": [] }, "order": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照驳回客户", "salesperson": "娜娜", "note": "", "paper_number": "20261118008", "status": "delivered", "lines": [ { "name": "足金耳钉", "code": "", "unit": "g", "quantity": 800, "pocket": "现货", "payer": "assistant", "cost": 70000, "sale": 82000, "baseSale": 82000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 82000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:26.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理支付宝", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "驳回单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": null, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 82000, "account": "助理支付宝", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-18T02:01:26.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 82000, "refunded": 0, "netReceived": 82000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 70000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 70000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 12000, "profit": 12000, "knownProfit": 12000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "audit": [ { "action": "生成已交付单据", "actor": "助理", "detail": { "amount": 82000, "account": "助理支付宝", "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-18T02:01:26.000Z" }, { "action": "complete", "actor": "助理", "detail": { "date": "2026-11-18", "verified": true, "revision": 4, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-18T02:01:26.000Z" }, { "action": "deliver", "actor": "助理", "detail": { "date": "2026-11-18", "verified": true, "revision": 4, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-18T02:01:26.000Z" }, { "action": "receipt", "actor": "助理", "detail": { "date": "2026-11-18", "amount": "820.00", "account": "助理支付宝", "credit_card_fee_payer": "owner", "verified": true, "reference": "开单时已全额收款", "revision": 3, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-18T02:01:26.000Z" }, { "action": "confirm", "actor": "助理", "detail": { "date": "2026-11-18", "revision": 2, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-18T02:01:26.000Z" }, { "action": "保存草稿", "actor": "助理", "detail": { "revision": 1, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-18T02:01:26.000Z" } ], "sync": { "revision": 4, "done_revision": 0, "error": null, "updated": "2026-11-18T02:01:26.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 }, "requiresLegacyCountVerified": false, "legacyCountNotice": "", "directEditDate": "2026-11-19", "requiresApproval": true, "changePending": null } }, { "seq": 223, "label": "order-change-request-2", "date": "2026-11-19", "actor": "assistant", "method": "POST", "path": "/api/orders//change", "key": "golden-00106-order-change-request-2", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "id": "", "date": "2026-11-18", "customer": "对照驳回客户", "customer_type": "unknown", "salesperson": "娜娜", "note": "", "internal_note": "驳回单备注", "discount": "0.00", "rounding_mode": "cent", "fee_cost_mode": "legacy", "fees_date": "2026-11-18", "payment_account": "助理支付宝", "lines": [ { "name": "足金耳钉", "code": "", "unit": "g", "quantity": "0.800", "pocket": "现货", "payer": "assistant", "cost": "700.00", "costMaterial": { "mode": "gram" }, "costLabor": { "mode": "total", "rate": "" }, "sale": "800", "baseSale": "820.00", "charges": [], "pricingMode": "manual", "priceNote": "" } ], "fee_items": [], "revision": 4, "reason": "想改售价", "verified": true } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "", "requestId": "", "request": { "id": "", "order_id": "", "order_revision": 4, "action": "edit", "reason": "想改售价", "status": "pending", "requester_id": "", "requester_name": "助理", "requester_role": "assistant", "created": "2026-11-19T02:00:33.000Z", "reviewer_id": null, "reviewer_name": null, "reviewed": null, "note": "", "action_label": "修改订单", "order_number": "MM20261118-", "order_date": "2026-11-18", "order_status": "delivered", "stale": false, "canApprove": false, "before": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照驳回客户", "salesperson": "娜娜", "note": "", "paper_number": "20261118008", "status": "delivered", "lines": [ { "name": "足金耳钉", "code": "", "unit": "g", "quantity": 800, "pocket": "现货", "payer": "assistant", "cost": 70000, "sale": 82000, "baseSale": 82000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 82000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:26.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理支付宝", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "驳回单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant", "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 82000, "account": "助理支付宝", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-18T02:01:26.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 82000, "refunded": 0, "netReceived": 82000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 70000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 70000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 12000, "profit": 12000, "knownProfit": 12000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "sync": { "revision": 4, "done_revision": 0, "error": null, "updated": "2026-11-18T02:01:26.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 }, "after": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照驳回客户", "salesperson": "娜娜", "note": "", "paper_number": "20261118008", "status": "delivered", "lines": [ { "name": "足金耳钉", "code": "", "unit": "g", "quantity": 800, "pocket": "现货", "payer": "assistant", "cost": 70000, "sale": 82000, "baseSale": 82000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 82000, "revision": 5, "reviewed_revision": 0, "created": "2026-11-18T02:01:26.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理支付宝", "fee_items": [], "fees_date": "2026-11-18", "rounding_mode": "cent", "internal_note": "驳回单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant", "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 82000, "account": "助理支付宝", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-18T02:01:26.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 82000, "refunded": 0, "netReceived": 82000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 70000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 70000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 12000, "profit": 12000, "knownProfit": 12000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "sync": { "revision": 5, "done_revision": 0, "error": null, "updated": "2026-11-19T02:00:33.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 }, "summary": { "before": { "total": 82000, "netReceived": 82000, "goodsCost": 70000, "directCost": 0, "profit": 12000, "settlementDue": 0, "materialCostPending": false }, "after": { "total": 82000, "netReceived": 82000, "goodsCost": 70000, "directCost": 0, "profit": 12000, "settlementDue": 0, "materialCostPending": false }, "inventory": { "before": [ { "date": "2026-11-18", "pocket": "现货", "kind": "sale", "mg": -800 } ], "after": [ { "date": "2026-11-18", "pocket": "现货", "kind": "sale", "mg": -800 } ], "changes": [] } }, "changes": [ { "field": "fees_date", "label": "费用日期", "before": "", "after": "2026-11-18" } ], "relatedOrders": [] }, "order": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照驳回客户", "salesperson": "娜娜", "note": "", "paper_number": "20261118008", "status": "delivered", "lines": [ { "name": "足金耳钉", "code": "", "unit": "g", "quantity": 800, "pocket": "现货", "payer": "assistant", "cost": 70000, "sale": 82000, "baseSale": 82000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 82000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:26.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理支付宝", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "驳回单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant", "cancellationPending": null, "cancellationApproved": null, "changePending": { "id": "", "status": "pending", "action": "edit", "action_label": "修改订单", "order_revision": 4, "reason": "想改售价", "requester_name": "助理", "created": "2026-11-19T02:00:33.000Z", "reviewer_name": null, "reviewed": null, "note": "", "stale": false }, "changeApproved": null, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 82000, "account": "助理支付宝", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-18T02:01:26.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 82000, "refunded": 0, "netReceived": 82000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 70000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 70000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 12000, "profit": 12000, "knownProfit": 12000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "audit": [ { "action": "申请修改订单", "actor": "助理", "detail": { "requestId": "", "action": "edit", "reason": "想改售价", "revision": 4, "changes": [ { "field": "fees_date", "label": "费用日期", "before": "", "after": "2026-11-18" } ], "summary": { "before": { "total": 82000, "netReceived": 82000, "goodsCost": 70000, "directCost": 0, "profit": 12000, "settlementDue": 0, "materialCostPending": false }, "after": { "total": 82000, "netReceived": 82000, "goodsCost": 70000, "directCost": 0, "profit": 12000, "settlementDue": 0, "materialCostPending": false }, "inventory": { "before": [ { "date": "2026-11-18", "pocket": "现货", "kind": "sale", "mg": -800 } ], "after": [ { "date": "2026-11-18", "pocket": "现货", "kind": "sale", "mg": -800 } ], "changes": [] } }, "notice": "申请不改变订单、财务、库存或日报;由麦麦核对修改前后再审批", "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-19T02:00:33.000Z" }, { "action": "生成已交付单据", "actor": "助理", "detail": { "amount": 82000, "account": "助理支付宝", "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-18T02:01:26.000Z" }, { "action": "complete", "actor": "助理", "detail": { "date": "2026-11-18", "verified": true, "revision": 4, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-18T02:01:26.000Z" }, { "action": "deliver", "actor": "助理", "detail": { "date": "2026-11-18", "verified": true, "revision": 4, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-18T02:01:26.000Z" }, { "action": "receipt", "actor": "助理", "detail": { "date": "2026-11-18", "amount": "820.00", "account": "助理支付宝", "credit_card_fee_payer": "owner", "verified": true, "reference": "开单时已全额收款", "revision": 3, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-18T02:01:26.000Z" }, { "action": "confirm", "actor": "助理", "detail": { "date": "2026-11-18", "revision": 2, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-18T02:01:26.000Z" }, { "action": "保存草稿", "actor": "助理", "detail": { "revision": 1, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-18T02:01:26.000Z" } ], "sync": { "revision": 4, "done_revision": 0, "error": null, "updated": "2026-11-18T02:01:26.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 } } }, { "seq": 224, "label": "order-change-reject", "date": "2026-11-19", "actor": "owner", "method": "POST", "path": "/api/order-changes//reject", "key": "golden-00107-order-change-reject", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "note": "售价无误" } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "", "requestId": "", "request": { "id": "", "order_id": "", "order_revision": 4, "action": "edit", "reason": "想改售价", "status": "rejected", "requester_id": "", "requester_name": "助理", "requester_role": "assistant", "created": "2026-11-19T02:00:33.000Z", "reviewer_id": "", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:00:34.000Z", "note": "售价无误", "action_label": "修改订单", "order_number": "MM20261118-", "order_date": "2026-11-18", "order_status": "delivered", "stale": false, "canApprove": false, "before": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照驳回客户", "salesperson": "娜娜", "note": "", "paper_number": "20261118008", "status": "delivered", "lines": [ { "name": "足金耳钉", "code": "", "unit": "g", "quantity": 800, "pocket": "现货", "payer": "assistant", "cost": 70000, "sale": 82000, "baseSale": 82000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 82000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:26.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理支付宝", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "驳回单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant", "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 82000, "account": "助理支付宝", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-18T02:01:26.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 82000, "refunded": 0, "netReceived": 82000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 70000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 70000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 12000, "profit": 12000, "knownProfit": 12000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "sync": { "revision": 4, "done_revision": 0, "error": null, "updated": "2026-11-18T02:01:26.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 }, "after": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照驳回客户", "salesperson": "娜娜", "note": "", "paper_number": "20261118008", "status": "delivered", "lines": [ { "name": "足金耳钉", "code": "", "unit": "g", "quantity": 800, "pocket": "现货", "payer": "assistant", "cost": 70000, "sale": 82000, "baseSale": 82000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 82000, "revision": 5, "reviewed_revision": 0, "created": "2026-11-18T02:01:26.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理支付宝", "fee_items": [], "fees_date": "2026-11-18", "rounding_mode": "cent", "internal_note": "驳回单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant", "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 82000, "account": "助理支付宝", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-18T02:01:26.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 82000, "refunded": 0, "netReceived": 82000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 70000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 70000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 12000, "profit": 12000, "knownProfit": 12000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "sync": { "revision": 5, "done_revision": 0, "error": null, "updated": "2026-11-19T02:00:33.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 }, "summary": { "before": { "total": 82000, "netReceived": 82000, "goodsCost": 70000, "directCost": 0, "profit": 12000, "settlementDue": 0, "materialCostPending": false }, "after": { "total": 82000, "netReceived": 82000, "goodsCost": 70000, "directCost": 0, "profit": 12000, "settlementDue": 0, "materialCostPending": false }, "inventory": { "before": [ { "date": "2026-11-18", "pocket": "现货", "kind": "sale", "mg": -800 } ], "after": [ { "date": "2026-11-18", "pocket": "现货", "kind": "sale", "mg": -800 } ], "changes": [] } }, "changes": [ { "field": "fees_date", "label": "费用日期", "before": "", "after": "2026-11-18" } ], "relatedOrders": [] }, "order": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照驳回客户", "salesperson": "娜娜", "note": "", "paper_number": "20261118008", "status": "delivered", "lines": [ { "name": "足金耳钉", "code": "", "unit": "g", "quantity": 800, "pocket": "现货", "payer": "assistant", "cost": 70000, "sale": 82000, "baseSale": 82000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 82000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:26.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理支付宝", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "驳回单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": null, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 82000, "account": "助理支付宝", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-18T02:01:26.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 82000, "refunded": 0, "netReceived": 82000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 70000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 70000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 12000, "profit": 12000, "knownProfit": 12000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "audit": [ { "action": "驳回修改申请", "actor": "麦麦", "detail": { "requestId": "", "action": "edit", "reason": "想改售价", "note": "售价无误", "requestedBy": "助理", "requestedAt": "2026-11-19T02:00:33.000Z", "reviewed": "2026-11-19T02:00:34.000Z", "actorIdentity": { "id": "", "role": "owner", "member": "owner" } }, "created": "2026-11-19T02:00:34.000Z" }, { "action": "申请修改订单", "actor": "助理", "detail": { "requestId": "", "action": "edit", "reason": "想改售价", "revision": 4, "changes": [ { "field": "fees_date", "label": "费用日期", "before": "", "after": "2026-11-18" } ], "summary": { "before": { "total": 82000, "netReceived": 82000, "goodsCost": 70000, "directCost": 0, "profit": 12000, "settlementDue": 0, "materialCostPending": false }, "after": { "total": 82000, "netReceived": 82000, "goodsCost": 70000, "directCost": 0, "profit": 12000, "settlementDue": 0, "materialCostPending": false }, "inventory": { "before": [ { "date": "2026-11-18", "pocket": "现货", "kind": "sale", "mg": -800 } ], "after": [ { "date": "2026-11-18", "pocket": "现货", "kind": "sale", "mg": -800 } ], "changes": [] } }, "notice": "申请不改变订单、财务、库存或日报;由麦麦核对修改前后再审批", "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-19T02:00:33.000Z" }, { "action": "生成已交付单据", "actor": "助理", "detail": { "amount": 82000, "account": "助理支付宝", "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-18T02:01:26.000Z" }, { "action": "complete", "actor": "助理", "detail": { "date": "2026-11-18", "verified": true, "revision": 4, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-18T02:01:26.000Z" }, { "action": "deliver", "actor": "助理", "detail": { "date": "2026-11-18", "verified": true, "revision": 4, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-18T02:01:26.000Z" }, { "action": "receipt", "actor": "助理", "detail": { "date": "2026-11-18", "amount": "820.00", "account": "助理支付宝", "credit_card_fee_payer": "owner", "verified": true, "reference": "开单时已全额收款", "revision": 3, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-18T02:01:26.000Z" }, { "action": "confirm", "actor": "助理", "detail": { "date": "2026-11-18", "revision": 2, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-18T02:01:26.000Z" }, { "action": "保存草稿", "actor": "助理", "detail": { "revision": 1, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-18T02:01:26.000Z" } ], "sync": { "revision": 4, "done_revision": 0, "error": null, "updated": "2026-11-18T02:01:26.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 } } }, { "seq": 225, "label": "order-change-actions", "date": "2026-11-19", "actor": "assistant", "method": "GET", "path": "/api/orders//change", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "eligible": true, "reason": "", "actions": { "edit": { "eligible": true, "reason": "", "directToday": false }, "expense": { "eligible": true, "reason": "", "directToday": false }, "fees": { "eligible": false, "reason": "本单没有待核实的附加成本", "directToday": false }, "refund": { "eligible": false, "reason": "先登记退货并复核,仍有待退客户款时才能申请退款", "directToday": false }, "return": { "eligible": true, "reason": "", "directToday": false }, "cost": { "eligible": false, "reason": "只有待交付订单可以申请补录成本", "directToday": false } }, "directActionDate": "2026-11-19", "revision": 4, "pending": null, "requests": [], "canApprove": false } }, { "seq": 226, "label": "order-expense-request", "date": "2026-11-19", "actor": "assistant", "method": "POST", "path": "/api/orders//change", "key": "golden-00108-order-expense-request", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "action": "expense", "date": "2026-11-19", "revision": 4, "reason": "补记快递", "verified": true, "amount": "10", "payer": "assistant", "note": "补寄快递" } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "", "requestId": "", "request": { "id": "", "order_id": "", "order_revision": 4, "action": "expense", "reason": "补记快递", "status": "pending", "requester_id": "", "requester_name": "助理", "requester_role": "assistant", "created": "2026-11-19T02:00:36.000Z", "reviewer_id": null, "reviewer_name": null, "reviewed": null, "note": "", "action_label": "费用补记", "action_input": { "date": "2026-11-19", "amount": "10", "payer": "assistant", "note": "补寄快递" }, "order_number": "MM20261118-", "order_date": "2026-11-18", "order_status": "delivered", "stale": false, "canApprove": false, "before": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照客户丁", "salesperson": "娜娜", "note": "", "paper_number": "20261118004", "status": "delivered", "lines": [ { "name": "足金999", "code": "", "unit": "g", "quantity": 3000, "pocket": "", "payer": "assistant", "cost": 272000, "costParts": { "material": 272000, "labor": 0, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "pool", "poolId": "2026-11-18" }, "costLabor": { "mode": "total" }, "sale": 330000, "baseSale": 330000, "charges": [], "pricingMode": "manual", "priceNote": "", "materialPool": { "poolId": "2026-11-18", "date": "2026-11-18", "status": "allocated", "amount": 272000, "quantity": 3000, "averageRate": 90667, "allocations": [ { "payer": "assistant", "amount": 272000 } ], "revision": "e3072e81dd7b585b863bbbe6f312844a32ece32c2856aea4df479b9ceab74c55" } } ], "discount": 0, "total": 330000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:20.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理现金", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "料池单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant", "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 330000, "account": "助理现金", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-18T02:01:20.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 330000, "refunded": 0, "netReceived": 330000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 272000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 272000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 58000, "profit": 58000, "knownProfit": 58000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "sync": { "revision": 4, "done_revision": 0, "error": null, "updated": "2026-11-18T02:01:20.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 }, "after": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照客户丁", "salesperson": "娜娜", "note": "", "paper_number": "20261118004", "status": "delivered", "lines": [ { "name": "足金999", "code": "", "unit": "g", "quantity": 3000, "pocket": "", "payer": "assistant", "cost": 272000, "costParts": { "material": 272000, "labor": 0, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "pool", "poolId": "2026-11-18" }, "costLabor": { "mode": "total" }, "sale": 330000, "baseSale": 330000, "charges": [], "pricingMode": "manual", "priceNote": "", "materialPool": { "poolId": "2026-11-18", "date": "2026-11-18", "status": "allocated", "amount": 272000, "quantity": 3000, "averageRate": 90667, "allocations": [ { "payer": "assistant", "amount": 272000 } ], "revision": "e3072e81dd7b585b863bbbe6f312844a32ece32c2856aea4df479b9ceab74c55" } } ], "discount": 0, "total": 330000, "revision": 5, "reviewed_revision": 0, "created": "2026-11-18T02:01:20.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理现金", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "料池单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant", "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 330000, "account": "助理现金", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-18T02:01:20.000Z" } ], "expenses": [ { "id": "", "order_id": "", "date": "2026-11-19", "amount": 1000, "payer": "assistant", "note": "补寄快递", "actor": "助理", "created": "2026-11-19T02:00:36.000Z" } ], "settlements": [], "corrections": [], "received": 330000, "refunded": 0, "netReceived": 330000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 272000, "directCost": 1000, "materialCostPending": false, "knownGoodsCost": 272000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 57000, "profit": 57000, "knownProfit": 57000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "sync": { "revision": 5, "done_revision": 0, "error": null, "updated": "2026-11-19T02:00:36.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 }, "summary": { "before": { "total": 330000, "netReceived": 330000, "goodsCost": 272000, "directCost": 0, "profit": 58000, "settlementDue": 0, "materialCostPending": false }, "after": { "total": 330000, "netReceived": 330000, "goodsCost": 272000, "directCost": 1000, "profit": 57000, "settlementDue": 0, "materialCostPending": false }, "inventory": { "before": [], "after": [], "changes": [] } }, "changes": [ { "field": "expenses", "label": "实际费用流水", "before": [], "after": [ { "id": "", "order_id": "", "date": "2026-11-19", "amount": 1000, "payer": "assistant", "note": "补寄快递", "actor": "助理", "created": "2026-11-19T02:00:36.000Z" } ] }, { "field": "directCost", "label": "直接费用", "before": 0, "after": 1000 }, { "field": "profit", "label": "利润", "before": 58000, "after": 57000 } ], "relatedOrders": [] }, "order": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照客户丁", "salesperson": "娜娜", "note": "", "paper_number": "20261118004", "status": "delivered", "lines": [ { "name": "足金999", "code": "", "unit": "g", "quantity": 3000, "pocket": "", "payer": "assistant", "cost": 272000, "costParts": { "material": 272000, "labor": 0, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "pool", "poolId": "2026-11-18" }, "costLabor": { "mode": "total" }, "sale": 330000, "baseSale": 330000, "charges": [], "pricingMode": "manual", "priceNote": "", "materialPool": { "poolId": "2026-11-18", "date": "2026-11-18", "status": "allocated", "amount": 272000, "quantity": 3000, "averageRate": 90667, "allocations": [ { "payer": "assistant", "amount": 272000 } ], "revision": "e3072e81dd7b585b863bbbe6f312844a32ece32c2856aea4df479b9ceab74c55" } } ], "discount": 0, "total": 330000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:20.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理现金", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "料池单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant", "cancellationPending": null, "cancellationApproved": null, "changePending": { "id": "", "status": "pending", "action": "expense", "action_label": "费用补记", "order_revision": 4, "reason": "补记快递", "requester_name": "助理", "created": "2026-11-19T02:00:36.000Z", "reviewer_name": null, "reviewed": null, "note": "", "stale": false }, "changeApproved": null, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 330000, "account": "助理现金", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-18T02:01:20.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 330000, "refunded": 0, "netReceived": 330000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 272000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 272000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 58000, "profit": 58000, "knownProfit": 58000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "audit": [ { "action": "申请修改订单", "actor": "助理", "detail": { "requestId": "", "action": "expense", "reason": "补记快递", "revision": 4, "changes": [ { "field": "expenses", "label": "实际费用流水", "before": [], "after": [ { "id": "", "order_id": "", "date": "2026-11-19", "amount": 1000, "payer": "assistant", "note": "补寄快递", "actor": "助理", "created": "2026-11-19T02:00:36.000Z" } ] }, { "field": "directCost", "label": "直接费用", "before": 0, "after": 1000 }, { "field": "profit", "label": "利润", "before": 58000, "after": 57000 } ], "summary": { "before": { "total": 330000, "netReceived": 330000, "goodsCost": 272000, "directCost": 0, "profit": 58000, "settlementDue": 0, "materialCostPending": false }, "after": { "total": 330000, "netReceived": 330000, "goodsCost": 272000, "directCost": 1000, "profit": 57000, "settlementDue": 0, "materialCostPending": false }, "inventory": { "before": [], "after": [], "changes": [] } }, "notice": "申请不改变订单、财务、库存或日报;由麦麦核对修改前后再审批", "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-19T02:00:36.000Z" }, { "action": "生成已交付单据", "actor": "助理", "detail": { "amount": 330000, "account": "助理现金", "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-18T02:01:20.000Z" }, { "action": "complete", "actor": "助理", "detail": { "date": "2026-11-18", "verified": true, "revision": 4, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-18T02:01:20.000Z" }, { "action": "deliver", "actor": "助理", "detail": { "date": "2026-11-18", "verified": true, "revision": 4, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-18T02:01:20.000Z" }, { "action": "receipt", "actor": "助理", "detail": { "date": "2026-11-18", "amount": "3300.00", "account": "助理现金", "credit_card_fee_payer": "owner", "verified": true, "reference": "开单时已全额收款", "revision": 3, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-18T02:01:20.000Z" }, { "action": "confirm", "actor": "助理", "detail": { "date": "2026-11-18", "revision": 2, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-18T02:01:20.000Z" }, { "action": "保存草稿", "actor": "助理", "detail": { "revision": 1, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-18T02:01:20.000Z" } ], "sync": { "revision": 4, "done_revision": 0, "error": null, "updated": "2026-11-18T02:01:20.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 } } }, { "seq": 227, "label": "order-expense-approve", "date": "2026-11-19", "actor": "owner", "method": "POST", "path": "/api/order-changes//approve", "key": "golden-00109-order-expense-approve", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "revision": 4, "verified": true, "note": "核实" } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "", "requestId": "", "request": { "id": "", "order_id": "", "order_revision": 4, "action": "expense", "reason": "补记快递", "status": "approved", "requester_id": "", "requester_name": "助理", "requester_role": "assistant", "created": "2026-11-19T02:00:36.000Z", "reviewer_id": "", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:00:37.000Z", "note": "核实", "action_label": "费用补记", "action_input": { "date": "2026-11-19", "amount": "10", "payer": "assistant", "note": "补寄快递" }, "order_number": "MM20261118-", "order_date": "2026-11-18", "order_status": "delivered", "stale": false, "canApprove": false, "before": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照客户丁", "salesperson": "娜娜", "note": "", "paper_number": "20261118004", "status": "delivered", "lines": [ { "name": "足金999", "code": "", "unit": "g", "quantity": 3000, "pocket": "", "payer": "assistant", "cost": 272000, "costParts": { "material": 272000, "labor": 0, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "pool", "poolId": "2026-11-18" }, "costLabor": { "mode": "total" }, "sale": 330000, "baseSale": 330000, "charges": [], "pricingMode": "manual", "priceNote": "", "materialPool": { "poolId": "2026-11-18", "date": "2026-11-18", "status": "allocated", "amount": 272000, "quantity": 3000, "averageRate": 90667, "allocations": [ { "payer": "assistant", "amount": 272000 } ], "revision": "e3072e81dd7b585b863bbbe6f312844a32ece32c2856aea4df479b9ceab74c55" } } ], "discount": 0, "total": 330000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:20.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理现金", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "料池单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant", "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 330000, "account": "助理现金", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-18T02:01:20.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 330000, "refunded": 0, "netReceived": 330000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 272000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 272000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 58000, "profit": 58000, "knownProfit": 58000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "sync": { "revision": 4, "done_revision": 0, "error": null, "updated": "2026-11-18T02:01:20.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 }, "after": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照客户丁", "salesperson": "娜娜", "note": "", "paper_number": "20261118004", "status": "delivered", "lines": [ { "name": "足金999", "code": "", "unit": "g", "quantity": 3000, "pocket": "", "payer": "assistant", "cost": 272000, "costParts": { "material": 272000, "labor": 0, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "pool", "poolId": "2026-11-18" }, "costLabor": { "mode": "total" }, "sale": 330000, "baseSale": 330000, "charges": [], "pricingMode": "manual", "priceNote": "", "materialPool": { "poolId": "2026-11-18", "date": "2026-11-18", "status": "allocated", "amount": 272000, "quantity": 3000, "averageRate": 90667, "allocations": [ { "payer": "assistant", "amount": 272000 } ], "revision": "e3072e81dd7b585b863bbbe6f312844a32ece32c2856aea4df479b9ceab74c55" } } ], "discount": 0, "total": 330000, "revision": 5, "reviewed_revision": 0, "created": "2026-11-18T02:01:20.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理现金", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "料池单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant", "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 330000, "account": "助理现金", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-18T02:01:20.000Z" } ], "expenses": [ { "id": "", "order_id": "", "date": "2026-11-19", "amount": 1000, "payer": "assistant", "note": "补寄快递", "actor": "助理", "created": "2026-11-19T02:00:36.000Z" } ], "settlements": [], "corrections": [], "received": 330000, "refunded": 0, "netReceived": 330000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 272000, "directCost": 1000, "materialCostPending": false, "knownGoodsCost": 272000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 57000, "profit": 57000, "knownProfit": 57000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "sync": { "revision": 5, "done_revision": 0, "error": null, "updated": "2026-11-19T02:00:36.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 }, "summary": { "before": { "total": 330000, "netReceived": 330000, "goodsCost": 272000, "directCost": 0, "profit": 58000, "settlementDue": 0, "materialCostPending": false }, "after": { "total": 330000, "netReceived": 330000, "goodsCost": 272000, "directCost": 1000, "profit": 57000, "settlementDue": 0, "materialCostPending": false }, "inventory": { "before": [], "after": [], "changes": [] } }, "changes": [ { "field": "expenses", "label": "实际费用流水", "before": [], "after": [ { "id": "", "order_id": "", "date": "2026-11-19", "amount": 1000, "payer": "assistant", "note": "补寄快递", "actor": "助理", "created": "2026-11-19T02:00:36.000Z" } ] }, { "field": "directCost", "label": "直接费用", "before": 0, "after": 1000 }, { "field": "profit", "label": "利润", "before": 58000, "after": 57000 } ], "relatedOrders": [] }, "order": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照客户丁", "salesperson": "娜娜", "note": "", "paper_number": "20261118004", "status": "delivered", "lines": [ { "name": "足金999", "code": "", "unit": "g", "quantity": 3000, "pocket": "", "payer": "assistant", "cost": 272000, "costParts": { "material": 272000, "labor": 0, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "pool", "poolId": "2026-11-18" }, "costLabor": { "mode": "total" }, "sale": 330000, "baseSale": 330000, "charges": [], "pricingMode": "manual", "priceNote": "", "materialPool": { "poolId": "2026-11-18", "date": "2026-11-18", "status": "allocated", "amount": 272000, "quantity": 3000, "averageRate": 90667, "allocations": [ { "payer": "assistant", "amount": 272000 } ], "revision": "e3072e81dd7b585b863bbbe6f312844a32ece32c2856aea4df479b9ceab74c55" } } ], "discount": 0, "total": 330000, "revision": 5, "reviewed_revision": 0, "created": "2026-11-18T02:01:20.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理现金", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "料池单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": { "id": "", "status": "approved", "action": "expense", "action_label": "费用补记", "order_revision": 4, "reason": "补记快递", "requester_name": "助理", "created": "2026-11-19T02:00:36.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:00:37.000Z", "note": "核实" }, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 330000, "account": "助理现金", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-18T02:01:20.000Z" } ], "expenses": [ { "id": "", "order_id": "", "date": "2026-11-19", "amount": 1000, "payer": "assistant", "note": "补寄快递", "actor": "麦麦", "created": "2026-11-19T02:00:37.000Z" } ], "settlements": [], "corrections": [], "received": 330000, "refunded": 0, "netReceived": 330000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 272000, "directCost": 1000, "materialCostPending": false, "knownGoodsCost": 272000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 57000, "profit": 57000, "knownProfit": 57000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "audit": [ { "action": "同意修改订单", "actor": "麦麦", "detail": { "requestId": "", "action": "expense", "reason": "补记快递", "note": "核实", "requestedBy": "助理", "requestedAt": "2026-11-19T02:00:36.000Z", "reviewed": "2026-11-19T02:00:37.000Z", "summary": { "before": { "total": 330000, "netReceived": 330000, "goodsCost": 272000, "directCost": 0, "profit": 58000, "settlementDue": 0, "materialCostPending": false }, "after": { "total": 330000, "netReceived": 330000, "goodsCost": 272000, "directCost": 1000, "profit": 57000, "settlementDue": 0, "materialCostPending": false }, "inventory": { "before": [], "after": [], "changes": [] } }, "notice": "按已核验的原申请更正同一订单;原订单身份、历史流水和真实双方转款保留", "actorIdentity": { "id": "", "role": "owner", "member": "owner" } }, "created": "2026-11-19T02:00:37.000Z" }, { "action": "expense", "actor": "麦麦", "detail": { "date": "2026-11-19", "amount": "10", "payer": "assistant", "note": "补寄快递", "revision": 5, "reason": "补记快递", "verified": true, "actorIdentity": { "id": "", "role": "owner", "member": "owner" } }, "created": "2026-11-19T02:00:37.000Z" }, { "action": "申请修改订单", "actor": "助理", "detail": { "requestId": "", "action": "expense", "reason": "补记快递", "revision": 4, "changes": [ { "field": "expenses", "label": "实际费用流水", "before": [], "after": [ { "id": "", "order_id": "", "date": "2026-11-19", "amount": 1000, "payer": "assistant", "note": "补寄快递", "actor": "助理", "created": "2026-11-19T02:00:36.000Z" } ] }, { "field": "directCost", "label": "直接费用", "before": 0, "after": 1000 }, { "field": "profit", "label": "利润", "before": 58000, "after": 57000 } ], "summary": { "before": { "total": 330000, "netReceived": 330000, "goodsCost": 272000, "directCost": 0, "profit": 58000, "settlementDue": 0, "materialCostPending": false }, "after": { "total": 330000, "netReceived": 330000, "goodsCost": 272000, "directCost": 1000, "profit": 57000, "settlementDue": 0, "materialCostPending": false }, "inventory": { "before": [], "after": [], "changes": [] } }, "notice": "申请不改变订单、财务、库存或日报;由麦麦核对修改前后再审批", "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-19T02:00:36.000Z" }, { "action": "生成已交付单据", "actor": "助理", "detail": { "amount": 330000, "account": "助理现金", "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-18T02:01:20.000Z" }, { "action": "complete", "actor": "助理", "detail": { "date": "2026-11-18", "verified": true, "revision": 4, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-18T02:01:20.000Z" }, { "action": "deliver", "actor": "助理", "detail": { "date": "2026-11-18", "verified": true, "revision": 4, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-18T02:01:20.000Z" }, { "action": "receipt", "actor": "助理", "detail": { "date": "2026-11-18", "amount": "3300.00", "account": "助理现金", "credit_card_fee_payer": "owner", "verified": true, "reference": "开单时已全额收款", "revision": 3, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-18T02:01:20.000Z" }, { "action": "confirm", "actor": "助理", "detail": { "date": "2026-11-18", "revision": 2, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-18T02:01:20.000Z" }, { "action": "保存草稿", "actor": "助理", "detail": { "revision": 1, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-18T02:01:20.000Z" } ], "sync": { "revision": 5, "done_revision": 0, "error": null, "updated": "2026-11-19T02:00:37.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 } } }, { "seq": 228, "label": "owner-edit-context", "date": "2026-11-19", "actor": "owner", "method": "GET", "path": "/api/orders//edit", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "eligible": true, "financialEditable": true, "reason": "", "revision": 4, "inputs": { "id": "", "date": "2026-11-18", "customer": "对照客户丙", "customer_type": "unknown", "salesperson": "麦麦", "note": "", "internal_note": "一口价备注", "discount": "3.00", "rounding_mode": "yuan", "fee_cost_mode": "legacy", "fees_date": "2026-11-18", "payment_account": "麦麦信用卡", "lines": [ { "name": "金镶玉吊坠", "code": "", "unit": "件", "quantity": 1, "pocket": "", "payer": "owner", "cost": "1500.00", "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total", "rate": "" }, "sale": "2888.40", "baseSale": "2888.40", "charges": [], "pricingMode": "manual", "priceNote": "一口价" } ], "fee_items": [ { "key": "card_fee:", "system": "credit_card", "source_kind": "payment", "source_id": "", "date": "2026-11-18", "amount": "17.31", "payer": "owner", "note": "信用卡手续费(6‰)", "rate_permille": 6, "status": "estimated", "expense_id": "", "edited": true } ] }, "order": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照客户丙", "salesperson": "麦麦", "note": "", "paper_number": "20261118003", "status": "delivered", "lines": [ { "name": "金镶玉吊坠", "code": "", "unit": "件", "quantity": 1, "pocket": "", "payer": "owner", "cost": 150000, "sale": 288840, "baseSale": 288840, "charges": [], "pricingMode": "manual", "priceNote": "一口价" } ], "discount": 300, "total": 288500, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:19.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "麦麦信用卡", "fee_items": [ { "key": "card_fee:", "system": "credit_card", "source_kind": "payment", "source_id": "", "date": "2026-11-18", "amount": 1731, "payer": "owner", "note": "信用卡手续费(6‰)", "rate_permille": 6, "status": "recorded", "expense_id": "" } ], "fees_date": "", "rounding_mode": "yuan", "internal_note": "一口价备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": null, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 288500, "account": "麦麦信用卡", "reference": "开单时已全额收款", "actor": "麦麦", "created": "2026-11-18T02:01:19.000Z" } ], "expenses": [ { "id": "", "order_id": "", "date": "2026-11-18", "amount": 1731, "payer": "owner", "note": "信用卡手续费(6‰)", "actor": "麦麦", "created": "2026-11-18T02:01:19.000Z" } ], "settlements": [], "corrections": [], "received": 288500, "refunded": 0, "netReceived": 288500, "balance": 0, "rounding_adjustment": -40, "goodsCost": 150000, "directCost": 1731, "materialCostPending": false, "knownGoodsCost": 150000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 136769, "profit": 136769, "knownProfit": 136769, "ownerCost": 151731, "ownerDirect": 288500, "ownerCredit": 288500, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "audit": [ { "action": "生成已交付单据", "actor": "麦麦", "detail": { "amount": 288500, "account": "麦麦信用卡", "actorIdentity": { "id": "", "role": "owner", "member": "owner" } }, "created": "2026-11-18T02:01:19.000Z" }, { "action": "complete", "actor": "麦麦", "detail": { "date": "2026-11-18", "verified": true, "revision": 4, "actorIdentity": { "id": "", "role": "owner", "member": "owner" } }, "created": "2026-11-18T02:01:19.000Z" }, { "action": "deliver", "actor": "麦麦", "detail": { "date": "2026-11-18", "verified": true, "revision": 4, "actorIdentity": { "id": "", "role": "owner", "member": "owner" } }, "created": "2026-11-18T02:01:19.000Z" }, { "action": "receipt", "actor": "麦麦", "detail": { "date": "2026-11-18", "amount": "2885.00", "account": "麦麦信用卡", "credit_card_fee_payer": "owner", "verified": true, "reference": "开单时已全额收款", "revision": 3, "actorIdentity": { "id": "", "role": "owner", "member": "owner" } }, "created": "2026-11-18T02:01:19.000Z" }, { "action": "confirm", "actor": "麦麦", "detail": { "date": "2026-11-18", "revision": 2, "actorIdentity": { "id": "", "role": "owner", "member": "owner" } }, "created": "2026-11-18T02:01:19.000Z" }, { "action": "保存草稿", "actor": "麦麦", "detail": { "revision": 1, "actorIdentity": { "id": "", "role": "owner", "member": "owner" } }, "created": "2026-11-18T02:01:19.000Z" } ], "sync": { "revision": 4, "done_revision": 0, "error": null, "updated": "2026-11-18T02:01:19.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 }, "requiresLegacyCountVerified": false, "legacyCountNotice": "", "directEditDate": "2026-11-19", "requiresApproval": false, "changePending": null } }, { "seq": 229, "label": "owner-edit-order", "date": "2026-11-19", "actor": "owner", "method": "POST", "path": "/api/orders//edit", "key": "golden-00110-owner-edit-order", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "id": "", "date": "2026-11-18", "customer": "对照客户丙", "customer_type": "unknown", "salesperson": "麦麦", "note": "老板改备注", "internal_note": "一口价备注", "discount": "3.00", "rounding_mode": "yuan", "fee_cost_mode": "legacy", "fees_date": "2026-11-18", "payment_account": "麦麦信用卡", "lines": [ { "name": "金镶玉吊坠", "code": "", "unit": "件", "quantity": 1, "pocket": "", "payer": "owner", "cost": "1500.00", "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total", "rate": "" }, "sale": "2888.40", "baseSale": "2888.40", "charges": [], "pricingMode": "manual", "priceNote": "一口价" } ], "fee_items": [ { "key": "card_fee:", "system": "credit_card", "source_kind": "payment", "source_id": "", "date": "2026-11-18", "amount": "17.31", "payer": "owner", "note": "信用卡手续费(6‰)", "rate_permille": 6, "status": "estimated", "expense_id": "", "edited": true } ], "revision": 4, "reason": "老板更正备注", "verified": true } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "", "revision": 5, "order": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照客户丙", "salesperson": "麦麦", "note": "老板改备注", "paper_number": "20261118003", "status": "delivered", "lines": [ { "name": "金镶玉吊坠", "code": "", "unit": "件", "quantity": 1, "pocket": "", "payer": "owner", "cost": 150000, "sale": 288840, "baseSale": 288840, "charges": [], "pricingMode": "manual", "priceNote": "一口价" } ], "discount": 300, "total": 288500, "revision": 5, "reviewed_revision": 0, "created": "2026-11-18T02:01:19.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "麦麦信用卡", "fee_items": [ { "key": "card_fee:", "system": "credit_card", "source_kind": "payment", "source_id": "", "date": "2026-11-18", "amount": 1731, "payer": "owner", "note": "信用卡手续费(6‰)", "rate_permille": 6, "status": "recorded", "expense_id": "" } ], "fees_date": "2026-11-18", "rounding_mode": "yuan", "internal_note": "一口价备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": null, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 288500, "account": "麦麦信用卡", "reference": "开单时已全额收款", "actor": "麦麦", "created": "2026-11-18T02:01:19.000Z" } ], "expenses": [ { "id": "", "order_id": "", "date": "2026-11-18", "amount": 1731, "payer": "owner", "note": "信用卡手续费(6‰)", "actor": "麦麦", "created": "2026-11-18T02:01:19.000Z" } ], "settlements": [], "corrections": [], "received": 288500, "refunded": 0, "netReceived": 288500, "balance": 0, "rounding_adjustment": -40, "goodsCost": 150000, "directCost": 1731, "materialCostPending": false, "knownGoodsCost": 150000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 136769, "profit": 136769, "knownProfit": 136769, "ownerCost": 151731, "ownerDirect": 288500, "ownerCredit": 288500, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "audit": [ { "action": "整单账务修改", "actor": "麦麦", "detail": { "reason": "老板更正备注", "before": { "order": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照客户丙", "salesperson": "麦麦", "note": "", "paper_number": "20261118003", "status": "delivered", "lines": [ { "name": "金镶玉吊坠", "code": "", "unit": "件", "quantity": 1, "pocket": "", "payer": "owner", "cost": 150000, "sale": 288840, "baseSale": 288840, "charges": [], "pricingMode": "manual", "priceNote": "一口价" } ], "discount": 300, "total": 288500, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:19.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "麦麦信用卡", "fee_items": [ { "key": "card_fee:", "system": "credit_card", "source_kind": "payment", "source_id": "", "date": "2026-11-18", "amount": 1731, "payer": "owner", "note": "信用卡手续费(6‰)", "rate_permille": 6, "status": "recorded", "expense_id": "" } ], "fees_date": "", "rounding_mode": "yuan", "internal_note": "一口价备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant" }, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 288500, "account": "麦麦信用卡", "reference": "开单时已全额收款", "actor": "麦麦", "created": "2026-11-18T02:01:19.000Z" } ], "expenses": [ { "id": "", "order_id": "", "date": "2026-11-18", "amount": 1731, "payer": "owner", "note": "信用卡手续费(6‰)", "actor": "麦麦", "created": "2026-11-18T02:01:19.000Z" } ], "settlements": [], "journal": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "交付", "sales": 288500, "goods": 150000, "expense": 1731, "profit": 136769, "created": "2026-11-18T02:01:19.000Z" } ], "movements": [] }, "after": { "order": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照客户丙", "salesperson": "麦麦", "note": "老板改备注", "paper_number": "20261118003", "status": "delivered", "lines": [ { "name": "金镶玉吊坠", "code": "", "unit": "件", "quantity": 1, "pocket": "", "payer": "owner", "cost": 150000, "sale": 288840, "baseSale": 288840, "charges": [], "pricingMode": "manual", "priceNote": "一口价" } ], "discount": 300, "total": 288500, "revision": 5, "reviewed_revision": 0, "created": "2026-11-18T02:01:19.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "麦麦信用卡", "fee_items": [ { "key": "card_fee:", "system": "credit_card", "source_kind": "payment", "source_id": "", "date": "2026-11-18", "amount": 1731, "payer": "owner", "note": "信用卡手续费(6‰)", "rate_permille": 6, "status": "recorded", "expense_id": "" } ], "fees_date": "2026-11-18", "rounding_mode": "yuan", "internal_note": "一口价备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant" }, "revision": 5, "received": 288500, "goods": 150000, "expense": 1731, "profit": 136769, "settlementDue": 0 }, "notice": "原收支、库存和利润流水保留;实际双方交款原样保留,按更正后应结金额计算差额", "actorIdentity": { "id": "", "role": "owner", "member": "owner" } }, "created": "2026-11-19T02:00:39.000Z" }, { "action": "生成已交付单据", "actor": "麦麦", "detail": { "amount": 288500, "account": "麦麦信用卡", "actorIdentity": { "id": "", "role": "owner", "member": "owner" } }, "created": "2026-11-18T02:01:19.000Z" }, { "action": "complete", "actor": "麦麦", "detail": { "date": "2026-11-18", "verified": true, "revision": 4, "actorIdentity": { "id": "", "role": "owner", "member": "owner" } }, "created": "2026-11-18T02:01:19.000Z" }, { "action": "deliver", "actor": "麦麦", "detail": { "date": "2026-11-18", "verified": true, "revision": 4, "actorIdentity": { "id": "", "role": "owner", "member": "owner" } }, "created": "2026-11-18T02:01:19.000Z" }, { "action": "receipt", "actor": "麦麦", "detail": { "date": "2026-11-18", "amount": "2885.00", "account": "麦麦信用卡", "credit_card_fee_payer": "owner", "verified": true, "reference": "开单时已全额收款", "revision": 3, "actorIdentity": { "id": "", "role": "owner", "member": "owner" } }, "created": "2026-11-18T02:01:19.000Z" }, { "action": "confirm", "actor": "麦麦", "detail": { "date": "2026-11-18", "revision": 2, "actorIdentity": { "id": "", "role": "owner", "member": "owner" } }, "created": "2026-11-18T02:01:19.000Z" }, { "action": "保存草稿", "actor": "麦麦", "detail": { "revision": 1, "actorIdentity": { "id": "", "role": "owner", "member": "owner" } }, "created": "2026-11-18T02:01:19.000Z" } ], "sync": { "revision": 5, "done_revision": 0, "error": null, "updated": "2026-11-19T02:00:39.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 } } }, { "seq": 230, "label": "cancellation-context", "date": "2026-11-19", "actor": "assistant2", "method": "GET", "path": "/api/orders//cancellation", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "eligible": true, "reason": "", "revision": 4, "requiresLegacyCountVerified": false, "legacyCountNotice": "", "directActionDate": "2026-11-19", "directToday": false, "pending": null, "requests": [], "canApprove": false } }, { "seq": 231, "label": "cancellation-request", "date": "2026-11-19", "actor": "assistant2", "method": "POST", "path": "/api/orders//cancellation", "key": "golden-00111-cancellation-request", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "revision": 4, "reason": "重复录入" } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "", "requestId": "", "request": { "id": "", "order_id": "", "order_revision": 4, "reason": "重复录入", "status": "pending", "requester_id": "", "requester_name": "助理2", "requester_role": "assistant", "created": "2026-11-19T02:00:41.000Z", "reviewer_id": null, "reviewer_name": null, "reviewed": null, "note": "", "order_number": "MM20261118-", "order_date": "2026-11-18", "order_status": "delivered", "requiresLegacyCountVerified": false, "legacyCountNotice": "", "stale": false, "canApprove": false, "summary": { "total": 150000, "netReceived": 150000, "goodsCost": 130000, "directCost": 0, "profit": 20000, "settlementDue": 0, "inventory": [ { "date": "2026-11-18", "pocket": "现货", "mg": 1500 } ] } }, "order": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照取消客户", "salesperson": "小昊", "note": "", "paper_number": "20261118006", "status": "delivered", "lines": [ { "name": "足金戒指", "code": "", "unit": "g", "quantity": 1500, "pocket": "现货", "payer": "assistant2", "cost": 130000, "sale": 150000, "baseSale": 150000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 150000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:24.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2现金", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "取消单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": { "id": "", "status": "pending", "order_revision": 4, "reason": "重复录入", "requester_name": "助理2", "created": "2026-11-19T02:00:41.000Z", "reviewer_name": null, "reviewed": null, "note": "", "stale": false }, "cancellationApproved": null, "changePending": null, "changeApproved": null, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 150000, "account": "助理2现金", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:24.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 150000, "refunded": 0, "netReceived": 150000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 130000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 130000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 20000, "profit": 20000, "knownProfit": 20000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "audit": [ { "action": "申请取消订单", "actor": "助理2", "detail": { "requestId": "", "reason": "重复录入", "revision": 4, "summary": { "total": 150000, "netReceived": 150000, "goodsCost": 130000, "directCost": 0, "profit": 20000, "settlementDue": 0, "inventory": [ { "date": "2026-11-18", "pocket": "现货", "mg": 1500 } ] }, "notice": "申请不改变原订单状态、财务与库存;按录错作废提交麦麦审批", "actorIdentity": { "id": "", "role": "assistant", "member": "assistant2" } }, "created": "2026-11-19T02:00:41.000Z" }, { "action": "生成已交付单据", "actor": "助理2", "detail": { "amount": 150000, "account": "助理2现金", "actorIdentity": { "id": "", "role": "assistant", "member": "assistant2" } }, "created": "2026-11-18T02:01:24.000Z" }, { "action": "complete", "actor": "助理2", "detail": { "date": "2026-11-18", "verified": true, "revision": 4, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant2" } }, "created": "2026-11-18T02:01:24.000Z" }, { "action": "deliver", "actor": "助理2", "detail": { "date": "2026-11-18", "verified": true, "revision": 4, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant2" } }, "created": "2026-11-18T02:01:24.000Z" }, { "action": "receipt", "actor": "助理2", "detail": { "date": "2026-11-18", "amount": "1500.00", "account": "助理2现金", "credit_card_fee_payer": "owner", "verified": true, "reference": "开单时已全额收款", "revision": 3, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant2" } }, "created": "2026-11-18T02:01:24.000Z" }, { "action": "confirm", "actor": "助理2", "detail": { "date": "2026-11-18", "revision": 2, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant2" } }, "created": "2026-11-18T02:01:24.000Z" }, { "action": "保存草稿", "actor": "助理2", "detail": { "revision": 1, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant2" } }, "created": "2026-11-18T02:01:24.000Z" } ], "sync": { "revision": 4, "done_revision": 0, "error": null, "updated": "2026-11-18T02:01:24.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 } } }, { "seq": 232, "label": "cancellations-list", "date": "2026-11-19", "actor": "owner", "method": "GET", "path": "/api/order-cancellations", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "requests": [ { "id": "", "order_id": "", "order_revision": 4, "reason": "重复录入", "status": "pending", "requester_id": "", "requester_name": "助理2", "requester_role": "assistant", "created": "2026-11-19T02:00:41.000Z", "reviewer_id": null, "reviewer_name": null, "reviewed": null, "note": "", "order_number": "MM20261118-", "order_date": "2026-11-18", "order_status": "delivered", "requiresLegacyCountVerified": false, "legacyCountNotice": "", "stale": false, "canApprove": true, "summary": { "total": 150000, "netReceived": 150000, "goodsCost": 130000, "directCost": 0, "profit": 20000, "settlementDue": 0, "inventory": [ { "date": "2026-11-18", "pocket": "现货", "mg": 1500 } ] } } ], "counts": { "pending": 1, "approved": 0, "rejected": 0 }, "canApprove": true } }, { "seq": 233, "label": "cancellation-detail", "date": "2026-11-19", "actor": "owner", "method": "GET", "path": "/api/order-cancellations/", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "", "order_id": "", "order_revision": 4, "reason": "重复录入", "status": "pending", "requester_id": "", "requester_name": "助理2", "requester_role": "assistant", "created": "2026-11-19T02:00:41.000Z", "reviewer_id": null, "reviewer_name": null, "reviewed": null, "note": "", "order_number": "MM20261118-", "order_date": "2026-11-18", "order_status": "delivered", "requiresLegacyCountVerified": false, "legacyCountNotice": "", "stale": false, "canApprove": true, "summary": { "total": 150000, "netReceived": 150000, "goodsCost": 130000, "directCost": 0, "profit": 20000, "settlementDue": 0, "inventory": [ { "date": "2026-11-18", "pocket": "现货", "mg": 1500 } ] } } }, { "seq": 234, "label": "cancellation-self-approve", "date": "2026-11-19", "actor": "assistant2", "method": "POST", "path": "/api/order-cancellations//approve", "key": "golden-00112-cancellation-self-approve", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "revision": 4, "verified": true, "note": "自批" } }, "status": 403, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "error": "取消申请必须由麦麦账号审批" } }, { "seq": 235, "label": "cancellation-approve", "date": "2026-11-19", "actor": "owner", "method": "POST", "path": "/api/order-cancellations//approve", "key": "golden-00113-cancellation-approve", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "revision": 4, "verified": true, "note": "核对原单后确认" } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "", "requestId": "", "request": { "id": "", "order_id": "", "order_revision": 4, "reason": "重复录入", "status": "approved", "requester_id": "", "requester_name": "助理2", "requester_role": "assistant", "created": "2026-11-19T02:00:41.000Z", "reviewer_id": "", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:00:45.000Z", "note": "核对原单后确认", "order_number": "MM20261118-", "order_date": "2026-11-18", "order_status": "delivered", "requiresLegacyCountVerified": false, "legacyCountNotice": "", "stale": false, "canApprove": false, "summary": { "total": 150000, "netReceived": 150000, "goodsCost": 130000, "directCost": 0, "profit": 20000, "settlementDue": 0, "inventory": [ { "date": "2026-11-18", "pocket": "现货", "mg": 1500 } ] } }, "order": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照取消客户", "salesperson": "小昊", "note": "", "paper_number": "20261118006", "status": "cancelled", "lines": [ { "name": "足金戒指", "code": "", "unit": "g", "quantity": 1500, "pocket": "现货", "payer": "assistant2", "cost": 130000, "sale": 150000, "baseSale": 150000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 150000, "revision": 5, "reviewed_revision": 0, "created": "2026-11-18T02:01:24.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2现金", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "取消单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": { "id": "", "status": "approved", "order_revision": 4, "reason": "重复录入", "requester_name": "助理2", "created": "2026-11-19T02:00:41.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:00:45.000Z", "note": "核对原单后确认" }, "changePending": null, "changeApproved": null, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 150000, "account": "助理2现金", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:24.000Z" }, { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": -150000, "account": "助理2现金", "reference": "更正冲回:取消审批作废;重复录入", "actor": "麦麦", "created": "2026-11-19T02:00:45.000Z" } ], "expenses": [], "settlements": [], "corrections": [ { "target": "", "type": "payment", "reason": "重复录入", "actor": "麦麦", "created": "2026-11-19T02:00:45.000Z" } ], "received": 0, "refunded": 0, "netReceived": 0, "balance": 0, "rounding_adjustment": 0, "goodsCost": 130000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 130000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 20000, "profit": 0, "knownProfit": 0, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "audit": [ { "action": "同意取消订单(录错作废)", "actor": "麦麦", "detail": { "requestId": "", "reason": "重复录入", "note": "核对原单后确认", "requestedBy": "助理2", "requestedAt": "2026-11-19T02:00:41.000Z", "reviewed": "2026-11-19T02:00:45.000Z", "before": { "order": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照取消客户", "salesperson": "小昊", "note": "", "paper_number": "20261118006", "status": "delivered", "lines": [ { "name": "足金戒指", "code": "", "unit": "g", "quantity": 1500, "pocket": "现货", "payer": "assistant2", "cost": 130000, "sale": 150000, "baseSale": 150000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 150000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:24.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2现金", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "取消单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2" }, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 150000, "account": "助理2现金", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:24.000Z" } ], "expenses": [], "settlements": [], "journal": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "交付", "sales": 150000, "goods": 130000, "expense": 0, "profit": 20000, "created": "2026-11-18T02:01:24.000Z" } ], "movements": [ { "id": "", "group_id": "", "order_id": "", "date": "2026-11-18", "pocket": "现货", "mg": -1500, "kind": "sale", "note": "MM20261118-", "purchase_cost": null, "actor": "助理2", "created": "2026-11-18T02:01:24.000Z" } ], "corrections": [], "materialUsages": [], "priceLock": null }, "after": { "revision": 5, "status": "cancelled", "netReceived": 0, "directCost": 0, "profit": 0, "settlementDue": 0 }, "inventory": [ { "date": "2026-11-18", "pocket": "现货", "mg": 1500 } ], "notice": "原订单、作废记录、收支与库存流水保留;不是客户退货退款;原采购和双方实际交款不变,原已交款按作废后的应结余额处理", "actorIdentity": { "id": "", "role": "owner", "member": "owner" } }, "created": "2026-11-19T02:00:45.000Z" }, { "action": "申请取消订单", "actor": "助理2", "detail": { "requestId": "", "reason": "重复录入", "revision": 4, "summary": { "total": 150000, "netReceived": 150000, "goodsCost": 130000, "directCost": 0, "profit": 20000, "settlementDue": 0, "inventory": [ { "date": "2026-11-18", "pocket": "现货", "mg": 1500 } ] }, "notice": "申请不改变原订单状态、财务与库存;按录错作废提交麦麦审批", "actorIdentity": { "id": "", "role": "assistant", "member": "assistant2" } }, "created": "2026-11-19T02:00:41.000Z" }, { "action": "生成已交付单据", "actor": "助理2", "detail": { "amount": 150000, "account": "助理2现金", "actorIdentity": { "id": "", "role": "assistant", "member": "assistant2" } }, "created": "2026-11-18T02:01:24.000Z" }, { "action": "complete", "actor": "助理2", "detail": { "date": "2026-11-18", "verified": true, "revision": 4, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant2" } }, "created": "2026-11-18T02:01:24.000Z" }, { "action": "deliver", "actor": "助理2", "detail": { "date": "2026-11-18", "verified": true, "revision": 4, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant2" } }, "created": "2026-11-18T02:01:24.000Z" }, { "action": "receipt", "actor": "助理2", "detail": { "date": "2026-11-18", "amount": "1500.00", "account": "助理2现金", "credit_card_fee_payer": "owner", "verified": true, "reference": "开单时已全额收款", "revision": 3, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant2" } }, "created": "2026-11-18T02:01:24.000Z" }, { "action": "confirm", "actor": "助理2", "detail": { "date": "2026-11-18", "revision": 2, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant2" } }, "created": "2026-11-18T02:01:24.000Z" }, { "action": "保存草稿", "actor": "助理2", "detail": { "revision": 1, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant2" } }, "created": "2026-11-18T02:01:24.000Z" } ], "sync": { "revision": 5, "done_revision": 0, "error": null, "updated": "2026-11-19T02:00:45.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 } } }, { "seq": 236, "label": "cancelled-order", "date": "2026-11-19", "actor": "owner", "method": "GET", "path": "/api/orders/", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照取消客户", "salesperson": "小昊", "note": "", "paper_number": "20261118006", "status": "cancelled", "lines": [ { "name": "足金戒指", "code": "", "unit": "g", "quantity": 1500, "pocket": "现货", "payer": "assistant2", "cost": 130000, "sale": 150000, "baseSale": 150000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 150000, "revision": 5, "reviewed_revision": 0, "created": "2026-11-18T02:01:24.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2现金", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "取消单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": { "id": "", "status": "approved", "order_revision": 4, "reason": "重复录入", "requester_name": "助理2", "created": "2026-11-19T02:00:41.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:00:45.000Z", "note": "核对原单后确认" }, "changePending": null, "changeApproved": null, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 150000, "account": "助理2现金", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:24.000Z" }, { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": -150000, "account": "助理2现金", "reference": "更正冲回:取消审批作废;重复录入", "actor": "麦麦", "created": "2026-11-19T02:00:45.000Z" } ], "expenses": [], "settlements": [], "corrections": [ { "target": "", "type": "payment", "reason": "重复录入", "actor": "麦麦", "created": "2026-11-19T02:00:45.000Z" } ], "received": 0, "refunded": 0, "netReceived": 0, "balance": 0, "rounding_adjustment": 0, "goodsCost": 130000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 130000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 20000, "profit": 0, "knownProfit": 0, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "audit": [ { "action": "同意取消订单(录错作废)", "actor": "麦麦", "detail": { "requestId": "", "reason": "重复录入", "note": "核对原单后确认", "requestedBy": "助理2", "requestedAt": "2026-11-19T02:00:41.000Z", "reviewed": "2026-11-19T02:00:45.000Z", "before": { "order": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照取消客户", "salesperson": "小昊", "note": "", "paper_number": "20261118006", "status": "delivered", "lines": [ { "name": "足金戒指", "code": "", "unit": "g", "quantity": 1500, "pocket": "现货", "payer": "assistant2", "cost": 130000, "sale": 150000, "baseSale": 150000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 150000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:24.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2现金", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "取消单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2" }, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 150000, "account": "助理2现金", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:24.000Z" } ], "expenses": [], "settlements": [], "journal": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "交付", "sales": 150000, "goods": 130000, "expense": 0, "profit": 20000, "created": "2026-11-18T02:01:24.000Z" } ], "movements": [ { "id": "", "group_id": "", "order_id": "", "date": "2026-11-18", "pocket": "现货", "mg": -1500, "kind": "sale", "note": "MM20261118-", "purchase_cost": null, "actor": "助理2", "created": "2026-11-18T02:01:24.000Z" } ], "corrections": [], "materialUsages": [], "priceLock": null }, "after": { "revision": 5, "status": "cancelled", "netReceived": 0, "directCost": 0, "profit": 0, "settlementDue": 0 }, "inventory": [ { "date": "2026-11-18", "pocket": "现货", "mg": 1500 } ], "notice": "原订单、作废记录、收支与库存流水保留;不是客户退货退款;原采购和双方实际交款不变,原已交款按作废后的应结余额处理", "actorIdentity": { "id": "", "role": "owner", "member": "owner" } }, "created": "2026-11-19T02:00:45.000Z" }, { "action": "申请取消订单", "actor": "助理2", "detail": { "requestId": "", "reason": "重复录入", "revision": 4, "summary": { "total": 150000, "netReceived": 150000, "goodsCost": 130000, "directCost": 0, "profit": 20000, "settlementDue": 0, "inventory": [ { "date": "2026-11-18", "pocket": "现货", "mg": 1500 } ] }, "notice": "申请不改变原订单状态、财务与库存;按录错作废提交麦麦审批", "actorIdentity": { "id": "", "role": "assistant", "member": "assistant2" } }, "created": "2026-11-19T02:00:41.000Z" }, { "action": "生成已交付单据", "actor": "助理2", "detail": { "amount": 150000, "account": "助理2现金", "actorIdentity": { "id": "", "role": "assistant", "member": "assistant2" } }, "created": "2026-11-18T02:01:24.000Z" }, { "action": "complete", "actor": "助理2", "detail": { "date": "2026-11-18", "verified": true, "revision": 4, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant2" } }, "created": "2026-11-18T02:01:24.000Z" }, { "action": "deliver", "actor": "助理2", "detail": { "date": "2026-11-18", "verified": true, "revision": 4, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant2" } }, "created": "2026-11-18T02:01:24.000Z" }, { "action": "receipt", "actor": "助理2", "detail": { "date": "2026-11-18", "amount": "1500.00", "account": "助理2现金", "credit_card_fee_payer": "owner", "verified": true, "reference": "开单时已全额收款", "revision": 3, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant2" } }, "created": "2026-11-18T02:01:24.000Z" }, { "action": "confirm", "actor": "助理2", "detail": { "date": "2026-11-18", "revision": 2, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant2" } }, "created": "2026-11-18T02:01:24.000Z" }, { "action": "保存草稿", "actor": "助理2", "detail": { "revision": 1, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant2" } }, "created": "2026-11-18T02:01:24.000Z" } ], "sync": { "revision": 5, "done_revision": 0, "error": null, "updated": "2026-11-19T02:00:45.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } } }, { "seq": 237, "label": "refund-cancelled-voided", "date": "2026-11-19", "actor": "owner", "method": "POST", "path": "/api/orders//refund", "key": "golden-00114-refund-cancelled-voided", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "date": "2026-11-19", "amount": "0.00", "account": "助理2现金", "verified": true, "reference": "退回客户" } }, "status": 409, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "error": "本单已作废,不能新增收退款、费用、材料或交付;真实双方交款余额可继续处理" } }, { "seq": 238, "label": "ownership-context", "date": "2026-11-19", "actor": "owner", "method": "GET", "path": "/api/orders//ownership", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "eligible": true, "reason": "", "revision": 4, "member": "assistant", "members": [ { "member": "owner", "label": "麦麦", "enabled": true }, { "member": "assistant", "label": "娜娜", "enabled": true }, { "member": "assistant2", "label": "小昊", "enabled": true } ], "requiresApproval": false, "canDirect": true, "canApprove": true, "pending": null, "requests": [] } }, { "seq": 239, "label": "ownership-direct", "date": "2026-11-19", "actor": "owner", "method": "POST", "path": "/api/orders//ownership", "key": "golden-00115-ownership-direct", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "member": "assistant2", "revision": 4, "reason": "核实业务归属", "verified": true } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "", "requestId": "", "request": { "id": "", "order_id": "", "order_revision": 4, "from_member": "assistant", "to_member": "assistant2", "reason": "核实业务归属", "status": "approved", "direct": true, "requester_id": "", "requester_name": "麦麦", "requester_role": "owner", "created": "2026-11-19T02:00:49.000Z", "reviewer_id": "", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:00:49.000Z", "note": "", "before": { "member": "assistant", "label": "娜娜" }, "after": { "member": "assistant2", "label": "小昊" }, "order_number": "MM20261118-", "order_customer": "对照驳回客户", "order_date": "2026-11-18", "order_status": "delivered", "stale": false, "canApprove": false }, "applied": true, "revision": 5, "member": "assistant2", "order": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照驳回客户", "salesperson": "娜娜", "note": "", "paper_number": "20261118008", "status": "delivered", "lines": [ { "name": "足金耳钉", "code": "", "unit": "g", "quantity": 800, "pocket": "现货", "payer": "assistant", "cost": 70000, "sale": 82000, "baseSale": 82000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 82000, "revision": 5, "reviewed_revision": 0, "created": "2026-11-18T02:01:26.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理支付宝", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "驳回单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": null, "ownershipPending": null, "ownershipApproved": { "id": "", "status": "approved", "order_revision": 4, "before": { "member": "assistant", "label": "娜娜" }, "after": { "member": "assistant2", "label": "小昊" }, "reason": "核实业务归属", "requester_name": "麦麦", "created": "2026-11-19T02:00:49.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:00:49.000Z", "note": "", "direct": true }, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 82000, "account": "助理支付宝", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-18T02:01:26.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 82000, "refunded": 0, "netReceived": 82000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 70000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 70000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 12000, "profit": 12000, "knownProfit": 12000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "audit": [ { "action": "直接修改订单归属", "actor": "麦麦", "detail": { "requestId": "", "reason": "核实业务归属", "note": "", "requestedBy": "麦麦", "requestedAt": "2026-11-19T02:00:49.000Z", "before": { "member": "assistant", "label": "娜娜", "revision": 4 }, "after": { "member": "assistant2", "label": "小昊", "revision": 5 }, "related": [ { "kind": "order", "id": "" }, { "kind": "movement", "id": "" } ], "notice": "业绩、成本和利润随订单归属;实际收付款账户、付款人、金额、库存与成本利润数值保持不变,成员往来仅追加归属差额,真实转账保留", "actorIdentity": { "id": "", "role": "owner", "member": "owner" } }, "created": "2026-11-19T02:00:49.000Z" }, { "action": "驳回修改申请", "actor": "麦麦", "detail": { "requestId": "", "action": "edit", "reason": "想改售价", "note": "售价无误", "requestedBy": "助理", "requestedAt": "2026-11-19T02:00:33.000Z", "reviewed": "2026-11-19T02:00:34.000Z", "actorIdentity": { "id": "", "role": "owner", "member": "owner" } }, "created": "2026-11-19T02:00:34.000Z" }, { "action": "申请修改订单", "actor": "助理", "detail": { "requestId": "", "action": "edit", "reason": "想改售价", "revision": 4, "changes": [ { "field": "fees_date", "label": "费用日期", "before": "", "after": "2026-11-18" } ], "summary": { "before": { "total": 82000, "netReceived": 82000, "goodsCost": 70000, "directCost": 0, "profit": 12000, "settlementDue": 0, "materialCostPending": false }, "after": { "total": 82000, "netReceived": 82000, "goodsCost": 70000, "directCost": 0, "profit": 12000, "settlementDue": 0, "materialCostPending": false }, "inventory": { "before": [ { "date": "2026-11-18", "pocket": "现货", "kind": "sale", "mg": -800 } ], "after": [ { "date": "2026-11-18", "pocket": "现货", "kind": "sale", "mg": -800 } ], "changes": [] } }, "notice": "申请不改变订单、财务、库存或日报;由麦麦核对修改前后再审批", "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-19T02:00:33.000Z" }, { "action": "生成已交付单据", "actor": "助理", "detail": { "amount": 82000, "account": "助理支付宝", "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-18T02:01:26.000Z" }, { "action": "complete", "actor": "助理", "detail": { "date": "2026-11-18", "verified": true, "revision": 4, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-18T02:01:26.000Z" }, { "action": "deliver", "actor": "助理", "detail": { "date": "2026-11-18", "verified": true, "revision": 4, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-18T02:01:26.000Z" }, { "action": "receipt", "actor": "助理", "detail": { "date": "2026-11-18", "amount": "820.00", "account": "助理支付宝", "credit_card_fee_payer": "owner", "verified": true, "reference": "开单时已全额收款", "revision": 3, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-18T02:01:26.000Z" }, { "action": "confirm", "actor": "助理", "detail": { "date": "2026-11-18", "revision": 2, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-18T02:01:26.000Z" }, { "action": "保存草稿", "actor": "助理", "detail": { "revision": 1, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-18T02:01:26.000Z" } ], "sync": { "revision": 5, "done_revision": 0, "error": null, "updated": "2026-11-19T02:00:49.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 } } }, { "seq": 240, "label": "order-after-ownership-old-owner", "date": "2026-11-19", "actor": "assistant", "method": "GET", "path": "/api/orders/", "key": null, "status": 404, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "error": "记录不存在或无权访问" } }, { "seq": 241, "label": "order-after-ownership-new-owner", "date": "2026-11-19", "actor": "assistant2", "method": "GET", "path": "/api/orders/", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照驳回客户", "salesperson": "娜娜", "note": "", "paper_number": "20261118008", "status": "delivered", "lines": [ { "name": "足金耳钉", "code": "", "unit": "g", "quantity": 800, "pocket": "现货", "payer": "assistant", "cost": 70000, "sale": 82000, "baseSale": 82000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 82000, "revision": 5, "reviewed_revision": 0, "created": "2026-11-18T02:01:26.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理支付宝", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "驳回单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": null, "ownershipPending": null, "ownershipApproved": { "id": "", "status": "approved", "order_revision": 4, "before": { "member": "assistant", "label": "娜娜" }, "after": { "member": "assistant2", "label": "小昊" }, "reason": "核实业务归属", "requester_name": "麦麦", "created": "2026-11-19T02:00:49.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:00:49.000Z", "note": "", "direct": true }, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 82000, "account": "助理支付宝", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-18T02:01:26.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 82000, "refunded": 0, "netReceived": 82000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 70000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 70000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 12000, "profit": 12000, "knownProfit": 12000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "audit": [ { "action": "直接修改订单归属", "actor": "麦麦", "detail": { "requestId": "", "reason": "核实业务归属", "note": "", "requestedBy": "麦麦", "requestedAt": "2026-11-19T02:00:49.000Z", "before": { "member": "assistant", "label": "娜娜", "revision": 4 }, "after": { "member": "assistant2", "label": "小昊", "revision": 5 }, "related": [ { "kind": "order", "id": "" }, { "kind": "movement", "id": "" } ], "notice": "业绩、成本和利润随订单归属;实际收付款账户、付款人、金额、库存与成本利润数值保持不变,成员往来仅追加归属差额,真实转账保留", "actorIdentity": { "id": "", "role": "owner", "member": "owner" } }, "created": "2026-11-19T02:00:49.000Z" }, { "action": "驳回修改申请", "actor": "麦麦", "detail": { "requestId": "", "action": "edit", "reason": "想改售价", "note": "售价无误", "requestedBy": "助理", "requestedAt": "2026-11-19T02:00:33.000Z", "reviewed": "2026-11-19T02:00:34.000Z", "actorIdentity": { "id": "", "role": "owner", "member": "owner" } }, "created": "2026-11-19T02:00:34.000Z" }, { "action": "申请修改订单", "actor": "助理", "detail": { "requestId": "", "action": "edit", "reason": "想改售价", "revision": 4, "changes": [ { "field": "fees_date", "label": "费用日期", "before": "", "after": "2026-11-18" } ], "summary": { "before": { "total": 82000, "netReceived": 82000, "goodsCost": 70000, "directCost": 0, "profit": 12000, "settlementDue": 0, "materialCostPending": false }, "after": { "total": 82000, "netReceived": 82000, "goodsCost": 70000, "directCost": 0, "profit": 12000, "settlementDue": 0, "materialCostPending": false }, "inventory": { "before": [ { "date": "2026-11-18", "pocket": "现货", "kind": "sale", "mg": -800 } ], "after": [ { "date": "2026-11-18", "pocket": "现货", "kind": "sale", "mg": -800 } ], "changes": [] } }, "notice": "申请不改变订单、财务、库存或日报;由麦麦核对修改前后再审批", "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-19T02:00:33.000Z" }, { "action": "生成已交付单据", "actor": "助理", "detail": { "amount": 82000, "account": "助理支付宝", "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-18T02:01:26.000Z" }, { "action": "complete", "actor": "助理", "detail": { "date": "2026-11-18", "verified": true, "revision": 4, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-18T02:01:26.000Z" }, { "action": "deliver", "actor": "助理", "detail": { "date": "2026-11-18", "verified": true, "revision": 4, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-18T02:01:26.000Z" }, { "action": "receipt", "actor": "助理", "detail": { "date": "2026-11-18", "amount": "820.00", "account": "助理支付宝", "credit_card_fee_payer": "owner", "verified": true, "reference": "开单时已全额收款", "revision": 3, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-18T02:01:26.000Z" }, { "action": "confirm", "actor": "助理", "detail": { "date": "2026-11-18", "revision": 2, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-18T02:01:26.000Z" }, { "action": "保存草稿", "actor": "助理", "detail": { "revision": 1, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-18T02:01:26.000Z" } ], "sync": { "revision": 5, "done_revision": 0, "error": null, "updated": "2026-11-19T02:00:49.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } } }, { "seq": 242, "label": "ownership-context-assistant", "date": "2026-11-19", "actor": "assistant", "method": "GET", "path": "/api/orders//ownership", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "eligible": true, "reason": "", "revision": 5, "member": "assistant", "members": [ { "member": "owner", "label": "麦麦", "enabled": true }, { "member": "assistant", "label": "娜娜", "enabled": true }, { "member": "assistant2", "label": "小昊", "enabled": true } ], "requiresApproval": true, "canDirect": false, "canApprove": false, "pending": null, "requests": [] } }, { "seq": 243, "label": "ownership-request", "date": "2026-11-19", "actor": "assistant", "method": "POST", "path": "/api/orders//ownership", "key": "golden-00116-ownership-request", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "member": "assistant2", "revision": 5, "reason": "申请转给小昊", "verified": true } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "", "requestId": "", "request": { "id": "", "order_id": "", "order_revision": 5, "from_member": "assistant", "to_member": "assistant2", "reason": "申请转给小昊", "status": "pending", "direct": false, "requester_id": "", "requester_name": "助理", "requester_role": "assistant", "created": "2026-11-19T02:00:53.000Z", "reviewer_id": null, "reviewer_name": null, "reviewed": null, "note": "", "before": { "member": "assistant", "label": "娜娜" }, "after": { "member": "assistant2", "label": "小昊" }, "order_number": "MM20261118-", "order_customer": "对照客户丙", "order_date": "2026-11-18", "order_status": "delivered", "stale": false, "canApprove": false }, "applied": false, "revision": 5, "member": "assistant", "order": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照客户丙", "salesperson": "麦麦", "note": "老板改备注", "paper_number": "20261118003", "status": "delivered", "lines": [ { "name": "金镶玉吊坠", "code": "", "unit": "件", "quantity": 1, "pocket": "", "payer": "owner", "cost": 150000, "sale": 288840, "baseSale": 288840, "charges": [], "pricingMode": "manual", "priceNote": "一口价" } ], "discount": 300, "total": 288500, "revision": 5, "reviewed_revision": 0, "created": "2026-11-18T02:01:19.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "麦麦信用卡", "fee_items": [ { "key": "card_fee:", "system": "credit_card", "source_kind": "payment", "source_id": "", "date": "2026-11-18", "amount": 1731, "payer": "owner", "note": "信用卡手续费(6‰)", "rate_permille": 6, "status": "recorded", "expense_id": "" } ], "fees_date": "2026-11-18", "rounding_mode": "yuan", "internal_note": "一口价备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": null, "ownershipPending": { "id": "", "status": "pending", "order_revision": 5, "before": { "member": "assistant", "label": "娜娜" }, "after": { "member": "assistant2", "label": "小昊" }, "reason": "申请转给小昊", "requester_name": "助理", "created": "2026-11-19T02:00:53.000Z", "reviewer_name": null, "reviewed": null, "note": "", "direct": false, "stale": false }, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 288500, "account": "麦麦信用卡", "reference": "开单时已全额收款", "actor": "麦麦", "created": "2026-11-18T02:01:19.000Z" } ], "expenses": [ { "id": "", "order_id": "", "date": "2026-11-18", "amount": 1731, "payer": "owner", "note": "信用卡手续费(6‰)", "actor": "麦麦", "created": "2026-11-18T02:01:19.000Z" } ], "settlements": [], "corrections": [], "received": 288500, "refunded": 0, "netReceived": 288500, "balance": 0, "rounding_adjustment": -40, "goodsCost": 150000, "directCost": 1731, "materialCostPending": false, "knownGoodsCost": 150000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 136769, "profit": 136769, "knownProfit": 136769, "ownerCost": 151731, "ownerDirect": 288500, "ownerCredit": 288500, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "audit": [ { "action": "申请修改订单归属", "actor": "助理", "detail": { "requestId": "", "reason": "申请转给小昊", "before": { "member": "assistant", "label": "娜娜" }, "after": { "member": "assistant2", "label": "小昊" }, "revision": 5, "notice": "申请不改变订单、财务、库存或可见范围,由麦麦审批后生效", "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-19T02:00:53.000Z" }, { "action": "整单账务修改", "actor": "麦麦", "detail": { "reason": "老板更正备注", "before": { "order": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照客户丙", "salesperson": "麦麦", "note": "", "paper_number": "20261118003", "status": "delivered", "lines": [ { "name": "金镶玉吊坠", "code": "", "unit": "件", "quantity": 1, "pocket": "", "payer": "owner", "cost": 150000, "sale": 288840, "baseSale": 288840, "charges": [], "pricingMode": "manual", "priceNote": "一口价" } ], "discount": 300, "total": 288500, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:19.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "麦麦信用卡", "fee_items": [ { "key": "card_fee:", "system": "credit_card", "source_kind": "payment", "source_id": "", "date": "2026-11-18", "amount": 1731, "payer": "owner", "note": "信用卡手续费(6‰)", "rate_permille": 6, "status": "recorded", "expense_id": "" } ], "fees_date": "", "rounding_mode": "yuan", "internal_note": "一口价备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant" }, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 288500, "account": "麦麦信用卡", "reference": "开单时已全额收款", "actor": "麦麦", "created": "2026-11-18T02:01:19.000Z" } ], "expenses": [ { "id": "", "order_id": "", "date": "2026-11-18", "amount": 1731, "payer": "owner", "note": "信用卡手续费(6‰)", "actor": "麦麦", "created": "2026-11-18T02:01:19.000Z" } ], "settlements": [], "journal": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "交付", "sales": 288500, "goods": 150000, "expense": 1731, "profit": 136769, "created": "2026-11-18T02:01:19.000Z" } ], "movements": [] }, "after": { "order": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照客户丙", "salesperson": "麦麦", "note": "老板改备注", "paper_number": "20261118003", "status": "delivered", "lines": [ { "name": "金镶玉吊坠", "code": "", "unit": "件", "quantity": 1, "pocket": "", "payer": "owner", "cost": 150000, "sale": 288840, "baseSale": 288840, "charges": [], "pricingMode": "manual", "priceNote": "一口价" } ], "discount": 300, "total": 288500, "revision": 5, "reviewed_revision": 0, "created": "2026-11-18T02:01:19.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "麦麦信用卡", "fee_items": [ { "key": "card_fee:", "system": "credit_card", "source_kind": "payment", "source_id": "", "date": "2026-11-18", "amount": 1731, "payer": "owner", "note": "信用卡手续费(6‰)", "rate_permille": 6, "status": "recorded", "expense_id": "" } ], "fees_date": "2026-11-18", "rounding_mode": "yuan", "internal_note": "一口价备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant" }, "revision": 5, "received": 288500, "goods": 150000, "expense": 1731, "profit": 136769, "settlementDue": 0 }, "notice": "原收支、库存和利润流水保留;实际双方交款原样保留,按更正后应结金额计算差额", "actorIdentity": { "id": "", "role": "owner", "member": "owner" } }, "created": "2026-11-19T02:00:39.000Z" }, { "action": "生成已交付单据", "actor": "麦麦", "detail": { "amount": 288500, "account": "麦麦信用卡", "actorIdentity": { "id": "", "role": "owner", "member": "owner" } }, "created": "2026-11-18T02:01:19.000Z" }, { "action": "complete", "actor": "麦麦", "detail": { "date": "2026-11-18", "verified": true, "revision": 4, "actorIdentity": { "id": "", "role": "owner", "member": "owner" } }, "created": "2026-11-18T02:01:19.000Z" }, { "action": "deliver", "actor": "麦麦", "detail": { "date": "2026-11-18", "verified": true, "revision": 4, "actorIdentity": { "id": "", "role": "owner", "member": "owner" } }, "created": "2026-11-18T02:01:19.000Z" }, { "action": "receipt", "actor": "麦麦", "detail": { "date": "2026-11-18", "amount": "2885.00", "account": "麦麦信用卡", "credit_card_fee_payer": "owner", "verified": true, "reference": "开单时已全额收款", "revision": 3, "actorIdentity": { "id": "", "role": "owner", "member": "owner" } }, "created": "2026-11-18T02:01:19.000Z" }, { "action": "confirm", "actor": "麦麦", "detail": { "date": "2026-11-18", "revision": 2, "actorIdentity": { "id": "", "role": "owner", "member": "owner" } }, "created": "2026-11-18T02:01:19.000Z" }, { "action": "保存草稿", "actor": "麦麦", "detail": { "revision": 1, "actorIdentity": { "id": "", "role": "owner", "member": "owner" } }, "created": "2026-11-18T02:01:19.000Z" } ], "sync": { "revision": 5, "done_revision": 0, "error": null, "updated": "2026-11-19T02:00:39.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 } } }, { "seq": 244, "label": "ownership-changes-list", "date": "2026-11-19", "actor": "owner", "method": "GET", "path": "/api/order-ownership-changes", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "requests": [ { "id": "", "order_id": "", "order_revision": 5, "from_member": "assistant", "to_member": "assistant2", "reason": "申请转给小昊", "status": "pending", "direct": false, "requester_id": "", "requester_name": "助理", "requester_role": "assistant", "created": "2026-11-19T02:00:53.000Z", "reviewer_id": null, "reviewer_name": null, "reviewed": null, "note": "", "before": { "member": "assistant", "label": "娜娜" }, "after": { "member": "assistant2", "label": "小昊" }, "order_number": "MM20261118-", "order_customer": "对照客户丙", "order_date": "2026-11-18", "order_status": "delivered", "stale": false, "canApprove": true } ], "counts": { "pending": 1, "approved": 1, "rejected": 0 }, "canApprove": true } }, { "seq": 245, "label": "ownership-change-detail", "date": "2026-11-19", "actor": "owner", "method": "GET", "path": "/api/order-ownership-changes/", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "", "order_id": "", "order_revision": 5, "from_member": "assistant", "to_member": "assistant2", "reason": "申请转给小昊", "status": "pending", "direct": false, "requester_id": "", "requester_name": "助理", "requester_role": "assistant", "created": "2026-11-19T02:00:53.000Z", "reviewer_id": null, "reviewer_name": null, "reviewed": null, "note": "", "before": { "member": "assistant", "label": "娜娜" }, "after": { "member": "assistant2", "label": "小昊" }, "order_number": "MM20261118-", "order_customer": "对照客户丙", "order_date": "2026-11-18", "order_status": "delivered", "stale": false, "canApprove": true } }, { "seq": 246, "label": "ownership-reject", "date": "2026-11-19", "actor": "owner", "method": "POST", "path": "/api/order-ownership-changes//reject", "key": "golden-00117-ownership-reject", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "note": "不转" } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "", "requestId": "", "request": { "id": "", "order_id": "", "order_revision": 5, "from_member": "assistant", "to_member": "assistant2", "reason": "申请转给小昊", "status": "rejected", "direct": false, "requester_id": "", "requester_name": "助理", "requester_role": "assistant", "created": "2026-11-19T02:00:53.000Z", "reviewer_id": "", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:00:56.000Z", "note": "不转", "before": { "member": "assistant", "label": "娜娜" }, "after": { "member": "assistant2", "label": "小昊" }, "order_number": "MM20261118-", "order_customer": "对照客户丙", "order_date": "2026-11-18", "order_status": "delivered", "stale": false, "canApprove": false }, "applied": false, "revision": 5, "member": "assistant", "order": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照客户丙", "salesperson": "麦麦", "note": "老板改备注", "paper_number": "20261118003", "status": "delivered", "lines": [ { "name": "金镶玉吊坠", "code": "", "unit": "件", "quantity": 1, "pocket": "", "payer": "owner", "cost": 150000, "sale": 288840, "baseSale": 288840, "charges": [], "pricingMode": "manual", "priceNote": "一口价" } ], "discount": 300, "total": 288500, "revision": 5, "reviewed_revision": 0, "created": "2026-11-18T02:01:19.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "麦麦信用卡", "fee_items": [ { "key": "card_fee:", "system": "credit_card", "source_kind": "payment", "source_id": "", "date": "2026-11-18", "amount": 1731, "payer": "owner", "note": "信用卡手续费(6‰)", "rate_permille": 6, "status": "recorded", "expense_id": "" } ], "fees_date": "2026-11-18", "rounding_mode": "yuan", "internal_note": "一口价备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": null, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 288500, "account": "麦麦信用卡", "reference": "开单时已全额收款", "actor": "麦麦", "created": "2026-11-18T02:01:19.000Z" } ], "expenses": [ { "id": "", "order_id": "", "date": "2026-11-18", "amount": 1731, "payer": "owner", "note": "信用卡手续费(6‰)", "actor": "麦麦", "created": "2026-11-18T02:01:19.000Z" } ], "settlements": [], "corrections": [], "received": 288500, "refunded": 0, "netReceived": 288500, "balance": 0, "rounding_adjustment": -40, "goodsCost": 150000, "directCost": 1731, "materialCostPending": false, "knownGoodsCost": 150000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 136769, "profit": 136769, "knownProfit": 136769, "ownerCost": 151731, "ownerDirect": 288500, "ownerCredit": 288500, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "audit": [ { "action": "驳回订单归属申请", "actor": "麦麦", "detail": { "requestId": "", "reason": "申请转给小昊", "note": "不转", "requestedBy": "助理", "requestedAt": "2026-11-19T02:00:53.000Z", "before": { "member": "assistant", "label": "娜娜" }, "after": { "member": "assistant2", "label": "小昊" }, "actorIdentity": { "id": "", "role": "owner", "member": "owner" } }, "created": "2026-11-19T02:00:56.000Z" }, { "action": "申请修改订单归属", "actor": "助理", "detail": { "requestId": "", "reason": "申请转给小昊", "before": { "member": "assistant", "label": "娜娜" }, "after": { "member": "assistant2", "label": "小昊" }, "revision": 5, "notice": "申请不改变订单、财务、库存或可见范围,由麦麦审批后生效", "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-19T02:00:53.000Z" }, { "action": "整单账务修改", "actor": "麦麦", "detail": { "reason": "老板更正备注", "before": { "order": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照客户丙", "salesperson": "麦麦", "note": "", "paper_number": "20261118003", "status": "delivered", "lines": [ { "name": "金镶玉吊坠", "code": "", "unit": "件", "quantity": 1, "pocket": "", "payer": "owner", "cost": 150000, "sale": 288840, "baseSale": 288840, "charges": [], "pricingMode": "manual", "priceNote": "一口价" } ], "discount": 300, "total": 288500, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:19.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "麦麦信用卡", "fee_items": [ { "key": "card_fee:", "system": "credit_card", "source_kind": "payment", "source_id": "", "date": "2026-11-18", "amount": 1731, "payer": "owner", "note": "信用卡手续费(6‰)", "rate_permille": 6, "status": "recorded", "expense_id": "" } ], "fees_date": "", "rounding_mode": "yuan", "internal_note": "一口价备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant" }, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 288500, "account": "麦麦信用卡", "reference": "开单时已全额收款", "actor": "麦麦", "created": "2026-11-18T02:01:19.000Z" } ], "expenses": [ { "id": "", "order_id": "", "date": "2026-11-18", "amount": 1731, "payer": "owner", "note": "信用卡手续费(6‰)", "actor": "麦麦", "created": "2026-11-18T02:01:19.000Z" } ], "settlements": [], "journal": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "交付", "sales": 288500, "goods": 150000, "expense": 1731, "profit": 136769, "created": "2026-11-18T02:01:19.000Z" } ], "movements": [] }, "after": { "order": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照客户丙", "salesperson": "麦麦", "note": "老板改备注", "paper_number": "20261118003", "status": "delivered", "lines": [ { "name": "金镶玉吊坠", "code": "", "unit": "件", "quantity": 1, "pocket": "", "payer": "owner", "cost": 150000, "sale": 288840, "baseSale": 288840, "charges": [], "pricingMode": "manual", "priceNote": "一口价" } ], "discount": 300, "total": 288500, "revision": 5, "reviewed_revision": 0, "created": "2026-11-18T02:01:19.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "麦麦信用卡", "fee_items": [ { "key": "card_fee:", "system": "credit_card", "source_kind": "payment", "source_id": "", "date": "2026-11-18", "amount": 1731, "payer": "owner", "note": "信用卡手续费(6‰)", "rate_permille": 6, "status": "recorded", "expense_id": "" } ], "fees_date": "2026-11-18", "rounding_mode": "yuan", "internal_note": "一口价备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant" }, "revision": 5, "received": 288500, "goods": 150000, "expense": 1731, "profit": 136769, "settlementDue": 0 }, "notice": "原收支、库存和利润流水保留;实际双方交款原样保留,按更正后应结金额计算差额", "actorIdentity": { "id": "", "role": "owner", "member": "owner" } }, "created": "2026-11-19T02:00:39.000Z" }, { "action": "生成已交付单据", "actor": "麦麦", "detail": { "amount": 288500, "account": "麦麦信用卡", "actorIdentity": { "id": "", "role": "owner", "member": "owner" } }, "created": "2026-11-18T02:01:19.000Z" }, { "action": "complete", "actor": "麦麦", "detail": { "date": "2026-11-18", "verified": true, "revision": 4, "actorIdentity": { "id": "", "role": "owner", "member": "owner" } }, "created": "2026-11-18T02:01:19.000Z" }, { "action": "deliver", "actor": "麦麦", "detail": { "date": "2026-11-18", "verified": true, "revision": 4, "actorIdentity": { "id": "", "role": "owner", "member": "owner" } }, "created": "2026-11-18T02:01:19.000Z" }, { "action": "receipt", "actor": "麦麦", "detail": { "date": "2026-11-18", "amount": "2885.00", "account": "麦麦信用卡", "credit_card_fee_payer": "owner", "verified": true, "reference": "开单时已全额收款", "revision": 3, "actorIdentity": { "id": "", "role": "owner", "member": "owner" } }, "created": "2026-11-18T02:01:19.000Z" }, { "action": "confirm", "actor": "麦麦", "detail": { "date": "2026-11-18", "revision": 2, "actorIdentity": { "id": "", "role": "owner", "member": "owner" } }, "created": "2026-11-18T02:01:19.000Z" }, { "action": "保存草稿", "actor": "麦麦", "detail": { "revision": 1, "actorIdentity": { "id": "", "role": "owner", "member": "owner" } }, "created": "2026-11-18T02:01:19.000Z" } ], "sync": { "revision": 5, "done_revision": 0, "error": null, "updated": "2026-11-19T02:00:39.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 } } }, { "seq": 247, "label": "cancellation-context-2", "date": "2026-11-19", "actor": "assistant", "method": "GET", "path": "/api/orders//cancellation", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "eligible": true, "reason": "", "revision": 5, "requiresLegacyCountVerified": false, "legacyCountNotice": "", "directActionDate": "2026-11-19", "directToday": false, "pending": null, "requests": [], "canApprove": false } }, { "seq": 248, "label": "cancellation-request-2", "date": "2026-11-19", "actor": "assistant", "method": "POST", "path": "/api/orders//cancellation", "key": "golden-00118-cancellation-request-2", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "revision": 5, "reason": "客户想退" } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "", "requestId": "", "request": { "id": "", "order_id": "", "order_revision": 5, "reason": "客户想退", "status": "pending", "requester_id": "", "requester_name": "助理", "requester_role": "assistant", "created": "2026-11-19T02:00:58.000Z", "reviewer_id": null, "reviewer_name": null, "reviewed": null, "note": "", "order_number": "MM20261118-", "order_date": "2026-11-18", "order_status": "delivered", "requiresLegacyCountVerified": false, "legacyCountNotice": "", "stale": false, "canApprove": false, "summary": { "total": 330000, "netReceived": 330000, "goodsCost": 272000, "directCost": 1000, "profit": 57000, "settlementDue": 0, "inventory": [] } }, "order": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照客户丁", "salesperson": "娜娜", "note": "", "paper_number": "20261118004", "status": "delivered", "lines": [ { "name": "足金999", "code": "", "unit": "g", "quantity": 3000, "pocket": "", "payer": "assistant", "cost": 272000, "costParts": { "material": 272000, "labor": 0, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "pool", "poolId": "2026-11-18" }, "costLabor": { "mode": "total" }, "sale": 330000, "baseSale": 330000, "charges": [], "pricingMode": "manual", "priceNote": "", "materialPool": { "poolId": "2026-11-18", "date": "2026-11-18", "status": "allocated", "amount": 272000, "quantity": 3000, "averageRate": 90667, "allocations": [ { "payer": "assistant", "amount": 272000 } ], "revision": "e3072e81dd7b585b863bbbe6f312844a32ece32c2856aea4df479b9ceab74c55" } } ], "discount": 0, "total": 330000, "revision": 5, "reviewed_revision": 0, "created": "2026-11-18T02:01:20.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理现金", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "料池单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant", "cancellationPending": { "id": "", "status": "pending", "order_revision": 5, "reason": "客户想退", "requester_name": "助理", "created": "2026-11-19T02:00:58.000Z", "reviewer_name": null, "reviewed": null, "note": "", "stale": false }, "cancellationApproved": null, "changePending": null, "changeApproved": { "id": "", "status": "approved", "action": "expense", "action_label": "费用补记", "order_revision": 4, "reason": "补记快递", "requester_name": "助理", "created": "2026-11-19T02:00:36.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:00:37.000Z", "note": "核实" }, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 330000, "account": "助理现金", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-18T02:01:20.000Z" } ], "expenses": [ { "id": "", "order_id": "", "date": "2026-11-19", "amount": 1000, "payer": "assistant", "note": "补寄快递", "actor": "麦麦", "created": "2026-11-19T02:00:37.000Z" } ], "settlements": [], "corrections": [], "received": 330000, "refunded": 0, "netReceived": 330000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 272000, "directCost": 1000, "materialCostPending": false, "knownGoodsCost": 272000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 57000, "profit": 57000, "knownProfit": 57000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "audit": [ { "action": "申请取消订单", "actor": "助理", "detail": { "requestId": "", "reason": "客户想退", "revision": 5, "summary": { "total": 330000, "netReceived": 330000, "goodsCost": 272000, "directCost": 1000, "profit": 57000, "settlementDue": 0, "inventory": [] }, "notice": "申请不改变原订单状态、财务与库存;按录错作废提交麦麦审批", "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-19T02:00:58.000Z" }, { "action": "同意修改订单", "actor": "麦麦", "detail": { "requestId": "", "action": "expense", "reason": "补记快递", "note": "核实", "requestedBy": "助理", "requestedAt": "2026-11-19T02:00:36.000Z", "reviewed": "2026-11-19T02:00:37.000Z", "summary": { "before": { "total": 330000, "netReceived": 330000, "goodsCost": 272000, "directCost": 0, "profit": 58000, "settlementDue": 0, "materialCostPending": false }, "after": { "total": 330000, "netReceived": 330000, "goodsCost": 272000, "directCost": 1000, "profit": 57000, "settlementDue": 0, "materialCostPending": false }, "inventory": { "before": [], "after": [], "changes": [] } }, "notice": "按已核验的原申请更正同一订单;原订单身份、历史流水和真实双方转款保留", "actorIdentity": { "id": "", "role": "owner", "member": "owner" } }, "created": "2026-11-19T02:00:37.000Z" }, { "action": "expense", "actor": "麦麦", "detail": { "date": "2026-11-19", "amount": "10", "payer": "assistant", "note": "补寄快递", "revision": 5, "reason": "补记快递", "verified": true, "actorIdentity": { "id": "", "role": "owner", "member": "owner" } }, "created": "2026-11-19T02:00:37.000Z" }, { "action": "申请修改订单", "actor": "助理", "detail": { "requestId": "", "action": "expense", "reason": "补记快递", "revision": 4, "changes": [ { "field": "expenses", "label": "实际费用流水", "before": [], "after": [ { "id": "", "order_id": "", "date": "2026-11-19", "amount": 1000, "payer": "assistant", "note": "补寄快递", "actor": "助理", "created": "2026-11-19T02:00:36.000Z" } ] }, { "field": "directCost", "label": "直接费用", "before": 0, "after": 1000 }, { "field": "profit", "label": "利润", "before": 58000, "after": 57000 } ], "summary": { "before": { "total": 330000, "netReceived": 330000, "goodsCost": 272000, "directCost": 0, "profit": 58000, "settlementDue": 0, "materialCostPending": false }, "after": { "total": 330000, "netReceived": 330000, "goodsCost": 272000, "directCost": 1000, "profit": 57000, "settlementDue": 0, "materialCostPending": false }, "inventory": { "before": [], "after": [], "changes": [] } }, "notice": "申请不改变订单、财务、库存或日报;由麦麦核对修改前后再审批", "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-19T02:00:36.000Z" }, { "action": "生成已交付单据", "actor": "助理", "detail": { "amount": 330000, "account": "助理现金", "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-18T02:01:20.000Z" }, { "action": "complete", "actor": "助理", "detail": { "date": "2026-11-18", "verified": true, "revision": 4, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-18T02:01:20.000Z" }, { "action": "deliver", "actor": "助理", "detail": { "date": "2026-11-18", "verified": true, "revision": 4, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-18T02:01:20.000Z" }, { "action": "receipt", "actor": "助理", "detail": { "date": "2026-11-18", "amount": "3300.00", "account": "助理现金", "credit_card_fee_payer": "owner", "verified": true, "reference": "开单时已全额收款", "revision": 3, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-18T02:01:20.000Z" }, { "action": "confirm", "actor": "助理", "detail": { "date": "2026-11-18", "revision": 2, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-18T02:01:20.000Z" }, { "action": "保存草稿", "actor": "助理", "detail": { "revision": 1, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-18T02:01:20.000Z" } ], "sync": { "revision": 5, "done_revision": 0, "error": null, "updated": "2026-11-19T02:00:37.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 } } }, { "seq": 249, "label": "cancellation-reject", "date": "2026-11-19", "actor": "owner", "method": "POST", "path": "/api/order-cancellations//reject", "key": "golden-00119-cancellation-reject", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "note": "已交付不取消" } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "", "requestId": "", "request": { "id": "", "order_id": "", "order_revision": 5, "reason": "客户想退", "status": "rejected", "requester_id": "", "requester_name": "助理", "requester_role": "assistant", "created": "2026-11-19T02:00:58.000Z", "reviewer_id": "", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:00:59.000Z", "note": "已交付不取消", "order_number": "MM20261118-", "order_date": "2026-11-18", "order_status": "delivered", "requiresLegacyCountVerified": false, "legacyCountNotice": "", "stale": false, "canApprove": false, "summary": { "total": 330000, "netReceived": 330000, "goodsCost": 272000, "directCost": 1000, "profit": 57000, "settlementDue": 0, "inventory": [] } }, "order": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照客户丁", "salesperson": "娜娜", "note": "", "paper_number": "20261118004", "status": "delivered", "lines": [ { "name": "足金999", "code": "", "unit": "g", "quantity": 3000, "pocket": "", "payer": "assistant", "cost": 272000, "costParts": { "material": 272000, "labor": 0, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "pool", "poolId": "2026-11-18" }, "costLabor": { "mode": "total" }, "sale": 330000, "baseSale": 330000, "charges": [], "pricingMode": "manual", "priceNote": "", "materialPool": { "poolId": "2026-11-18", "date": "2026-11-18", "status": "allocated", "amount": 272000, "quantity": 3000, "averageRate": 90667, "allocations": [ { "payer": "assistant", "amount": 272000 } ], "revision": "e3072e81dd7b585b863bbbe6f312844a32ece32c2856aea4df479b9ceab74c55" } } ], "discount": 0, "total": 330000, "revision": 5, "reviewed_revision": 0, "created": "2026-11-18T02:01:20.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理现金", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "料池单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": { "id": "", "status": "approved", "action": "expense", "action_label": "费用补记", "order_revision": 4, "reason": "补记快递", "requester_name": "助理", "created": "2026-11-19T02:00:36.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:00:37.000Z", "note": "核实" }, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 330000, "account": "助理现金", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-18T02:01:20.000Z" } ], "expenses": [ { "id": "", "order_id": "", "date": "2026-11-19", "amount": 1000, "payer": "assistant", "note": "补寄快递", "actor": "麦麦", "created": "2026-11-19T02:00:37.000Z" } ], "settlements": [], "corrections": [], "received": 330000, "refunded": 0, "netReceived": 330000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 272000, "directCost": 1000, "materialCostPending": false, "knownGoodsCost": 272000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 57000, "profit": 57000, "knownProfit": 57000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "audit": [ { "action": "驳回取消申请", "actor": "麦麦", "detail": { "requestId": "", "reason": "客户想退", "note": "已交付不取消", "requestedBy": "助理", "requestedAt": "2026-11-19T02:00:58.000Z", "reviewed": "2026-11-19T02:00:59.000Z", "actorIdentity": { "id": "", "role": "owner", "member": "owner" } }, "created": "2026-11-19T02:00:59.000Z" }, { "action": "申请取消订单", "actor": "助理", "detail": { "requestId": "", "reason": "客户想退", "revision": 5, "summary": { "total": 330000, "netReceived": 330000, "goodsCost": 272000, "directCost": 1000, "profit": 57000, "settlementDue": 0, "inventory": [] }, "notice": "申请不改变原订单状态、财务与库存;按录错作废提交麦麦审批", "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-19T02:00:58.000Z" }, { "action": "同意修改订单", "actor": "麦麦", "detail": { "requestId": "", "action": "expense", "reason": "补记快递", "note": "核实", "requestedBy": "助理", "requestedAt": "2026-11-19T02:00:36.000Z", "reviewed": "2026-11-19T02:00:37.000Z", "summary": { "before": { "total": 330000, "netReceived": 330000, "goodsCost": 272000, "directCost": 0, "profit": 58000, "settlementDue": 0, "materialCostPending": false }, "after": { "total": 330000, "netReceived": 330000, "goodsCost": 272000, "directCost": 1000, "profit": 57000, "settlementDue": 0, "materialCostPending": false }, "inventory": { "before": [], "after": [], "changes": [] } }, "notice": "按已核验的原申请更正同一订单;原订单身份、历史流水和真实双方转款保留", "actorIdentity": { "id": "", "role": "owner", "member": "owner" } }, "created": "2026-11-19T02:00:37.000Z" }, { "action": "expense", "actor": "麦麦", "detail": { "date": "2026-11-19", "amount": "10", "payer": "assistant", "note": "补寄快递", "revision": 5, "reason": "补记快递", "verified": true, "actorIdentity": { "id": "", "role": "owner", "member": "owner" } }, "created": "2026-11-19T02:00:37.000Z" }, { "action": "申请修改订单", "actor": "助理", "detail": { "requestId": "", "action": "expense", "reason": "补记快递", "revision": 4, "changes": [ { "field": "expenses", "label": "实际费用流水", "before": [], "after": [ { "id": "", "order_id": "", "date": "2026-11-19", "amount": 1000, "payer": "assistant", "note": "补寄快递", "actor": "助理", "created": "2026-11-19T02:00:36.000Z" } ] }, { "field": "directCost", "label": "直接费用", "before": 0, "after": 1000 }, { "field": "profit", "label": "利润", "before": 58000, "after": 57000 } ], "summary": { "before": { "total": 330000, "netReceived": 330000, "goodsCost": 272000, "directCost": 0, "profit": 58000, "settlementDue": 0, "materialCostPending": false }, "after": { "total": 330000, "netReceived": 330000, "goodsCost": 272000, "directCost": 1000, "profit": 57000, "settlementDue": 0, "materialCostPending": false }, "inventory": { "before": [], "after": [], "changes": [] } }, "notice": "申请不改变订单、财务、库存或日报;由麦麦核对修改前后再审批", "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-19T02:00:36.000Z" }, { "action": "生成已交付单据", "actor": "助理", "detail": { "amount": 330000, "account": "助理现金", "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-18T02:01:20.000Z" }, { "action": "complete", "actor": "助理", "detail": { "date": "2026-11-18", "verified": true, "revision": 4, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-18T02:01:20.000Z" }, { "action": "deliver", "actor": "助理", "detail": { "date": "2026-11-18", "verified": true, "revision": 4, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-18T02:01:20.000Z" }, { "action": "receipt", "actor": "助理", "detail": { "date": "2026-11-18", "amount": "3300.00", "account": "助理现金", "credit_card_fee_payer": "owner", "verified": true, "reference": "开单时已全额收款", "revision": 3, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-18T02:01:20.000Z" }, { "action": "confirm", "actor": "助理", "detail": { "date": "2026-11-18", "revision": 2, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-18T02:01:20.000Z" }, { "action": "保存草稿", "actor": "助理", "detail": { "revision": 1, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-18T02:01:20.000Z" } ], "sync": { "revision": 5, "done_revision": 0, "error": null, "updated": "2026-11-19T02:00:37.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 } } }, { "seq": 250, "note": "section", "name": "orderAfterSale" }, { "seq": 251, "label": "order-after-sale-context", "date": "2026-11-19", "actor": "assistant2", "method": "GET", "path": "/api/orders//after-sale", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "orderId": "", "revision": 4, "eligible": true, "blockedReason": "", "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 5000, "pocket": "现货", "stockCount": null, "materialCost": 440000, "laborCost": 10000 } ], "record": null, "directToday": false, "inputs": { "date": "2026-11-19", "revision": 4, "reason": "", "afterSale": { "lines": [ { "lineIndex": 0, "quantity": "5.000", "pocket": "现货", "disposition": "stock" } ], "refund": { "amount": "5000.00", "account": "助理2微信", "payer": "assistant2", "reference": "" }, "deductionReason": "", "expenses": [] } } } }, { "seq": 252, "label": "order-before-after-sale", "date": "2026-11-19", "actor": "assistant2", "method": "GET", "path": "/api/orders/", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": null, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 0, "netReceived": 500000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 50000, "knownProfit": 50000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "audit": [ { "action": "生成已交付单据", "actor": "助理2", "detail": { "amount": 500000, "account": "助理2微信", "actorIdentity": { "id": "", "role": "assistant", "member": "assistant2" } }, "created": "2026-11-18T02:01:25.000Z" }, { "action": "complete", "actor": "助理2", "detail": { "date": "2026-11-18", "verified": true, "revision": 4, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant2" } }, "created": "2026-11-18T02:01:25.000Z" }, { "action": "deliver", "actor": "助理2", "detail": { "date": "2026-11-18", "verified": true, "revision": 4, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant2" } }, "created": "2026-11-18T02:01:25.000Z" }, { "action": "receipt", "actor": "助理2", "detail": { "date": "2026-11-18", "amount": "5000.00", "account": "助理2微信", "credit_card_fee_payer": "owner", "verified": true, "reference": "开单时已全额收款", "revision": 3, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant2" } }, "created": "2026-11-18T02:01:25.000Z" }, { "action": "confirm", "actor": "助理2", "detail": { "date": "2026-11-18", "revision": 2, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant2" } }, "created": "2026-11-18T02:01:25.000Z" }, { "action": "保存草稿", "actor": "助理2", "detail": { "revision": 1, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant2" } }, "created": "2026-11-18T02:01:25.000Z" } ], "sync": { "revision": 4, "done_revision": 0, "error": null, "updated": "2026-11-18T02:01:25.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } } }, { "seq": 253, "label": "after-sale-preview", "date": "2026-11-19", "actor": "assistant2", "method": "POST", "path": "/api/orders//after-sale-preview", "key": null, "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "date": "2026-11-19", "revision": 4, "verified": true, "reason": "客户退回一件", "afterSale": { "lines": [ { "lineIndex": 0, "quantity": "1.000", "pocket": "金料", "disposition": "scrap" } ], "refund": { "amount": "900", "account": "助理2支付宝", "payer": "assistant2" }, "deductionReason": "客户确认扣费", "expenses": [] } } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "before": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 0, "netReceived": 500000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 50000, "knownProfit": 50000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "sync": { "revision": 4, "done_revision": 0, "error": null, "updated": "2026-11-18T02:01:25.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 }, "after": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "returned", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 5, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": "2026-11-19", "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "refund", "amount": 90000, "account": "助理2支付宝", "reference": "整单售后退款", "actor": "助理2", "created": "2026-11-19T02:01:02.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 90000, "netReceived": 410000, "balance": 0, "orderAfterSale": { "orderId": "", "date": "2026-11-19", "reason": "客户退回一件", "deductionReason": "客户确认扣费", "refund": { "amount": 90000, "account": "助理2支付宝", "payer": "assistant2", "reference": "" }, "expenses": [], "original": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": null, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 0, "netReceived": 500000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 50000, "knownProfit": 50000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "funds_mode": "team", "credit_card_rate_permille": 6 }, "originalJournal": { "sales": 500000, "goods": 450000, "expense": 0, "profit": 50000 }, "summary": { "refundAmount": 90000, "retainedAmount": 410000, "materialReturnedCost": 88000, "laborRestockedCost": 0, "materialLoss": 352000, "costLoss": 362000, "originalDirectCost": 0, "newExpenses": 0, "directCost": 0, "profit": 48000, "finalProfit": 48000, "profitAdjustment": -2000, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ] }, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ], "originalOrder": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": null, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 0, "netReceived": 500000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 50000, "knownProfit": 50000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "funds_mode": "team", "credit_card_rate_permille": 6 } }, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 48000, "knownProfit": 48000, "ownerCost": 0, "assistantInventoryCredit": 0, "assistantInventoryCreditSources": [], "assistantInventoryCreditExplanation": "", "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "sync": { "revision": 5, "done_revision": 0, "error": null, "updated": "2026-11-19T02:01:02.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 }, "summary": { "before": { "total": 500000, "netReceived": 500000, "goodsCost": 450000, "directCost": 0, "profit": 50000, "settlementDue": 0, "materialCostPending": false }, "after": { "total": 500000, "netReceived": 410000, "goodsCost": 450000, "directCost": 0, "profit": 48000, "settlementDue": 0, "materialCostPending": false }, "inventory": { "before": [ { "date": "2026-11-18", "pocket": "现货", "kind": "sale", "mg": -5000 } ], "after": [ { "date": "2026-11-18", "pocket": "现货", "kind": "sale", "mg": -5000 }, { "date": "2026-11-19", "pocket": "金料", "kind": "return", "mg": 1000 } ], "changes": [ { "date": "2026-11-19", "pocket": "金料", "mg": 1000 } ] } }, "changes": [ { "field": "status", "label": "订单状态", "before": "delivered", "after": "returned" }, { "field": "returned_date", "label": "退货日期", "before": null, "after": "2026-11-19" }, { "field": "refunded", "label": "累计退款", "before": 0, "after": 90000 }, { "field": "payments", "label": "收退款流水", "before": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "after": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "refund", "amount": 90000, "account": "助理2支付宝", "reference": "整单售后退款", "actor": "助理2", "created": "2026-11-19T02:01:02.000Z" } ] }, { "field": "netReceived", "label": "已收净额", "before": 500000, "after": 410000 }, { "field": "profit", "label": "利润", "before": 50000, "after": 48000 } ], "relatedOrders": [], "afterSale": { "orderId": "", "date": "2026-11-19", "reason": "客户退回一件", "deductionReason": "客户确认扣费", "refund": { "amount": 90000, "account": "助理2支付宝", "payer": "assistant2", "reference": "" }, "expenses": [], "original": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": null, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 0, "netReceived": 500000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 50000, "knownProfit": 50000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "funds_mode": "team", "credit_card_rate_permille": 6 }, "originalJournal": { "sales": 500000, "goods": 450000, "expense": 0, "profit": 50000 }, "summary": { "refundAmount": 90000, "retainedAmount": 410000, "materialReturnedCost": 88000, "laborRestockedCost": 0, "materialLoss": 352000, "costLoss": 362000, "originalDirectCost": 0, "newExpenses": 0, "directCost": 0, "profit": 48000, "finalProfit": 48000, "profitAdjustment": -2000, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ] }, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ], "originalOrder": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": null, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 0, "netReceived": 500000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 50000, "knownProfit": 50000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "funds_mode": "team", "credit_card_rate_permille": 6 } } } }, { "seq": 254, "label": "after-sale-request", "date": "2026-11-19", "actor": "assistant2", "method": "POST", "path": "/api/orders//change", "key": "golden-00120-after-sale-request", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "date": "2026-11-19", "revision": 4, "verified": true, "reason": "客户退回一件", "afterSale": { "lines": [ { "lineIndex": 0, "quantity": "1.000", "pocket": "金料", "disposition": "scrap" } ], "refund": { "amount": "900", "account": "助理2支付宝", "payer": "assistant2" }, "deductionReason": "客户确认扣费", "expenses": [] }, "action": "return" } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "", "requestId": "", "request": { "id": "", "order_id": "", "order_revision": 4, "action": "return", "reason": "客户退回一件", "status": "pending", "requester_id": "", "requester_name": "助理2", "requester_role": "assistant", "created": "2026-11-19T02:01:03.000Z", "reviewer_id": null, "reviewer_name": null, "reviewed": null, "note": "", "action_label": "订单售后", "action_input": { "date": "2026-11-19", "afterSale": { "lines": [ { "lineIndex": 0, "quantity": "1.000", "pocket": "金料", "disposition": "scrap" } ], "refund": { "amount": "900", "account": "助理2支付宝", "payer": "assistant2" }, "deductionReason": "客户确认扣费", "expenses": [] } }, "order_number": "MM20261118-", "order_date": "2026-11-18", "order_status": "delivered", "stale": false, "canApprove": false, "before": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 0, "netReceived": 500000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 50000, "knownProfit": 50000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "sync": { "revision": 4, "done_revision": 0, "error": null, "updated": "2026-11-18T02:01:25.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 }, "after": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "returned", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 5, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": "2026-11-19", "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "refund", "amount": 90000, "account": "助理2支付宝", "reference": "整单售后退款", "actor": "助理2", "created": "2026-11-19T02:01:03.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 90000, "netReceived": 410000, "balance": 0, "orderAfterSale": { "orderId": "", "date": "2026-11-19", "reason": "客户退回一件", "deductionReason": "客户确认扣费", "refund": { "amount": 90000, "account": "助理2支付宝", "payer": "assistant2", "reference": "" }, "expenses": [], "original": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": null, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 0, "netReceived": 500000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 50000, "knownProfit": 50000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "funds_mode": "team", "credit_card_rate_permille": 6 }, "originalJournal": { "sales": 500000, "goods": 450000, "expense": 0, "profit": 50000 }, "summary": { "refundAmount": 90000, "retainedAmount": 410000, "materialReturnedCost": 88000, "laborRestockedCost": 0, "materialLoss": 352000, "costLoss": 362000, "originalDirectCost": 0, "newExpenses": 0, "directCost": 0, "profit": 48000, "finalProfit": 48000, "profitAdjustment": -2000, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ] }, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ], "originalOrder": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": null, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 0, "netReceived": 500000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 50000, "knownProfit": 50000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "funds_mode": "team", "credit_card_rate_permille": 6 } }, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 48000, "knownProfit": 48000, "ownerCost": 0, "assistantInventoryCredit": 0, "assistantInventoryCreditSources": [], "assistantInventoryCreditExplanation": "", "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "sync": { "revision": 5, "done_revision": 0, "error": null, "updated": "2026-11-19T02:01:03.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 }, "summary": { "before": { "total": 500000, "netReceived": 500000, "goodsCost": 450000, "directCost": 0, "profit": 50000, "settlementDue": 0, "materialCostPending": false }, "after": { "total": 500000, "netReceived": 410000, "goodsCost": 450000, "directCost": 0, "profit": 48000, "settlementDue": 0, "materialCostPending": false }, "inventory": { "before": [ { "date": "2026-11-18", "pocket": "现货", "kind": "sale", "mg": -5000 } ], "after": [ { "date": "2026-11-18", "pocket": "现货", "kind": "sale", "mg": -5000 }, { "date": "2026-11-19", "pocket": "金料", "kind": "return", "mg": 1000 } ], "changes": [ { "date": "2026-11-19", "pocket": "金料", "mg": 1000 } ] } }, "changes": [ { "field": "status", "label": "订单状态", "before": "delivered", "after": "returned" }, { "field": "returned_date", "label": "退货日期", "before": null, "after": "2026-11-19" }, { "field": "refunded", "label": "累计退款", "before": 0, "after": 90000 }, { "field": "payments", "label": "收退款流水", "before": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "after": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "refund", "amount": 90000, "account": "助理2支付宝", "reference": "整单售后退款", "actor": "助理2", "created": "2026-11-19T02:01:03.000Z" } ] }, { "field": "netReceived", "label": "已收净额", "before": 500000, "after": 410000 }, { "field": "profit", "label": "利润", "before": 50000, "after": 48000 } ], "relatedOrders": [], "afterSale": { "orderId": "", "date": "2026-11-19", "reason": "客户退回一件", "deductionReason": "客户确认扣费", "refund": { "amount": 90000, "account": "助理2支付宝", "payer": "assistant2", "reference": "" }, "expenses": [], "original": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": null, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 0, "netReceived": 500000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 50000, "knownProfit": 50000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "funds_mode": "team", "credit_card_rate_permille": 6 }, "originalJournal": { "sales": 500000, "goods": 450000, "expense": 0, "profit": 50000 }, "summary": { "refundAmount": 90000, "retainedAmount": 410000, "materialReturnedCost": 88000, "laborRestockedCost": 0, "materialLoss": 352000, "costLoss": 362000, "originalDirectCost": 0, "newExpenses": 0, "directCost": 0, "profit": 48000, "finalProfit": 48000, "profitAdjustment": -2000, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ] }, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ], "originalOrder": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": null, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 0, "netReceived": 500000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 50000, "knownProfit": 50000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "funds_mode": "team", "credit_card_rate_permille": 6 } } }, "order": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": { "id": "", "status": "pending", "action": "return", "action_label": "订单售后", "order_revision": 4, "reason": "客户退回一件", "requester_name": "助理2", "created": "2026-11-19T02:01:03.000Z", "reviewer_name": null, "reviewed": null, "note": "", "stale": false }, "changeApproved": null, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 0, "netReceived": 500000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 50000, "knownProfit": 50000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "audit": [ { "action": "申请修改订单", "actor": "助理2", "detail": { "requestId": "", "action": "return", "reason": "客户退回一件", "revision": 4, "changes": [ { "field": "status", "label": "订单状态", "before": "delivered", "after": "returned" }, { "field": "returned_date", "label": "退货日期", "before": null, "after": "2026-11-19" }, { "field": "refunded", "label": "累计退款", "before": 0, "after": 90000 }, { "field": "payments", "label": "收退款流水", "before": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "after": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "refund", "amount": 90000, "account": "助理2支付宝", "reference": "整单售后退款", "actor": "助理2", "created": "2026-11-19T02:01:03.000Z" } ] }, { "field": "netReceived", "label": "已收净额", "before": 500000, "after": 410000 }, { "field": "profit", "label": "利润", "before": 50000, "after": 48000 } ], "summary": { "before": { "total": 500000, "netReceived": 500000, "goodsCost": 450000, "directCost": 0, "profit": 50000, "settlementDue": 0, "materialCostPending": false }, "after": { "total": 500000, "netReceived": 410000, "goodsCost": 450000, "directCost": 0, "profit": 48000, "settlementDue": 0, "materialCostPending": false }, "inventory": { "before": [ { "date": "2026-11-18", "pocket": "现货", "kind": "sale", "mg": -5000 } ], "after": [ { "date": "2026-11-18", "pocket": "现货", "kind": "sale", "mg": -5000 }, { "date": "2026-11-19", "pocket": "金料", "kind": "return", "mg": 1000 } ], "changes": [ { "date": "2026-11-19", "pocket": "金料", "mg": 1000 } ] } }, "notice": "申请不改变订单、财务、库存或日报;由麦麦核对修改前后再审批", "actorIdentity": { "id": "", "role": "assistant", "member": "assistant2" } }, "created": "2026-11-19T02:01:03.000Z" }, { "action": "生成已交付单据", "actor": "助理2", "detail": { "amount": 500000, "account": "助理2微信", "actorIdentity": { "id": "", "role": "assistant", "member": "assistant2" } }, "created": "2026-11-18T02:01:25.000Z" }, { "action": "complete", "actor": "助理2", "detail": { "date": "2026-11-18", "verified": true, "revision": 4, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant2" } }, "created": "2026-11-18T02:01:25.000Z" }, { "action": "deliver", "actor": "助理2", "detail": { "date": "2026-11-18", "verified": true, "revision": 4, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant2" } }, "created": "2026-11-18T02:01:25.000Z" }, { "action": "receipt", "actor": "助理2", "detail": { "date": "2026-11-18", "amount": "5000.00", "account": "助理2微信", "credit_card_fee_payer": "owner", "verified": true, "reference": "开单时已全额收款", "revision": 3, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant2" } }, "created": "2026-11-18T02:01:25.000Z" }, { "action": "confirm", "actor": "助理2", "detail": { "date": "2026-11-18", "revision": 2, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant2" } }, "created": "2026-11-18T02:01:25.000Z" }, { "action": "保存草稿", "actor": "助理2", "detail": { "revision": 1, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant2" } }, "created": "2026-11-18T02:01:25.000Z" } ], "sync": { "revision": 4, "done_revision": 0, "error": null, "updated": "2026-11-18T02:01:25.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 } } }, { "seq": 255, "label": "after-sale-request-detail", "date": "2026-11-19", "actor": "owner", "method": "GET", "path": "/api/order-changes/", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "", "order_id": "", "order_revision": 4, "action": "return", "reason": "客户退回一件", "status": "pending", "requester_id": "", "requester_name": "助理2", "requester_role": "assistant", "created": "2026-11-19T02:01:03.000Z", "reviewer_id": null, "reviewer_name": null, "reviewed": null, "note": "", "action_label": "订单售后", "action_input": { "date": "2026-11-19", "afterSale": { "lines": [ { "lineIndex": 0, "quantity": "1.000", "pocket": "金料", "disposition": "scrap" } ], "refund": { "amount": "900", "account": "助理2支付宝", "payer": "assistant2" }, "deductionReason": "客户确认扣费", "expenses": [] } }, "order_number": "MM20261118-", "order_date": "2026-11-18", "order_status": "delivered", "stale": false, "canApprove": true, "before": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 0, "netReceived": 500000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 50000, "knownProfit": 50000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "sync": { "revision": 4, "done_revision": 0, "error": null, "updated": "2026-11-18T02:01:25.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 }, "after": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "returned", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 5, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": "2026-11-19", "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "refund", "amount": 90000, "account": "助理2支付宝", "reference": "整单售后退款", "actor": "助理2", "created": "2026-11-19T02:01:03.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 90000, "netReceived": 410000, "balance": 0, "orderAfterSale": { "orderId": "", "date": "2026-11-19", "reason": "客户退回一件", "deductionReason": "客户确认扣费", "refund": { "amount": 90000, "account": "助理2支付宝", "payer": "assistant2", "reference": "" }, "expenses": [], "original": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": null, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 0, "netReceived": 500000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 50000, "knownProfit": 50000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "funds_mode": "team", "credit_card_rate_permille": 6 }, "originalJournal": { "sales": 500000, "goods": 450000, "expense": 0, "profit": 50000 }, "summary": { "refundAmount": 90000, "retainedAmount": 410000, "materialReturnedCost": 88000, "laborRestockedCost": 0, "materialLoss": 352000, "costLoss": 362000, "originalDirectCost": 0, "newExpenses": 0, "directCost": 0, "profit": 48000, "finalProfit": 48000, "profitAdjustment": -2000, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ] }, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ], "originalOrder": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": null, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 0, "netReceived": 500000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 50000, "knownProfit": 50000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "funds_mode": "team", "credit_card_rate_permille": 6 } }, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 48000, "knownProfit": 48000, "ownerCost": 0, "assistantInventoryCredit": 0, "assistantInventoryCreditSources": [], "assistantInventoryCreditExplanation": "", "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "sync": { "revision": 5, "done_revision": 0, "error": null, "updated": "2026-11-19T02:01:03.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 }, "summary": { "before": { "total": 500000, "netReceived": 500000, "goodsCost": 450000, "directCost": 0, "profit": 50000, "settlementDue": 0, "materialCostPending": false }, "after": { "total": 500000, "netReceived": 410000, "goodsCost": 450000, "directCost": 0, "profit": 48000, "settlementDue": 0, "materialCostPending": false }, "inventory": { "before": [ { "date": "2026-11-18", "pocket": "现货", "kind": "sale", "mg": -5000 } ], "after": [ { "date": "2026-11-18", "pocket": "现货", "kind": "sale", "mg": -5000 }, { "date": "2026-11-19", "pocket": "金料", "kind": "return", "mg": 1000 } ], "changes": [ { "date": "2026-11-19", "pocket": "金料", "mg": 1000 } ] } }, "changes": [ { "field": "status", "label": "订单状态", "before": "delivered", "after": "returned" }, { "field": "returned_date", "label": "退货日期", "before": null, "after": "2026-11-19" }, { "field": "refunded", "label": "累计退款", "before": 0, "after": 90000 }, { "field": "payments", "label": "收退款流水", "before": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "after": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "refund", "amount": 90000, "account": "助理2支付宝", "reference": "整单售后退款", "actor": "助理2", "created": "2026-11-19T02:01:03.000Z" } ] }, { "field": "netReceived", "label": "已收净额", "before": 500000, "after": 410000 }, { "field": "profit", "label": "利润", "before": 50000, "after": 48000 } ], "relatedOrders": [], "afterSale": { "orderId": "", "date": "2026-11-19", "reason": "客户退回一件", "deductionReason": "客户确认扣费", "refund": { "amount": 90000, "account": "助理2支付宝", "payer": "assistant2", "reference": "" }, "expenses": [], "original": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": null, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 0, "netReceived": 500000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 50000, "knownProfit": 50000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "funds_mode": "team", "credit_card_rate_permille": 6 }, "originalJournal": { "sales": 500000, "goods": 450000, "expense": 0, "profit": 50000 }, "summary": { "refundAmount": 90000, "retainedAmount": 410000, "materialReturnedCost": 88000, "laborRestockedCost": 0, "materialLoss": 352000, "costLoss": 362000, "originalDirectCost": 0, "newExpenses": 0, "directCost": 0, "profit": 48000, "finalProfit": 48000, "profitAdjustment": -2000, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ] }, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ], "originalOrder": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": null, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 0, "netReceived": 500000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 50000, "knownProfit": 50000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "funds_mode": "team", "credit_card_rate_permille": 6 } } } }, { "seq": 256, "label": "after-sale-approve", "date": "2026-11-19", "actor": "owner", "method": "POST", "path": "/api/order-changes//approve", "key": "golden-00121-after-sale-approve", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "revision": 4, "verified": true, "note": "实物已收回" } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "", "requestId": "", "request": { "id": "", "order_id": "", "order_revision": 4, "action": "return", "reason": "客户退回一件", "status": "approved", "requester_id": "", "requester_name": "助理2", "requester_role": "assistant", "created": "2026-11-19T02:01:03.000Z", "reviewer_id": "", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:01:05.000Z", "note": "实物已收回", "action_label": "订单售后", "action_input": { "date": "2026-11-19", "afterSale": { "lines": [ { "lineIndex": 0, "quantity": "1.000", "pocket": "金料", "disposition": "scrap" } ], "refund": { "amount": "900", "account": "助理2支付宝", "payer": "assistant2" }, "deductionReason": "客户确认扣费", "expenses": [] } }, "order_number": "MM20261118-", "order_date": "2026-11-18", "order_status": "delivered", "stale": false, "canApprove": false, "before": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 0, "netReceived": 500000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 50000, "knownProfit": 50000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "sync": { "revision": 4, "done_revision": 0, "error": null, "updated": "2026-11-18T02:01:25.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 }, "after": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "returned", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 5, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": "2026-11-19", "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "refund", "amount": 90000, "account": "助理2支付宝", "reference": "整单售后退款", "actor": "助理2", "created": "2026-11-19T02:01:03.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 90000, "netReceived": 410000, "balance": 0, "orderAfterSale": { "orderId": "", "date": "2026-11-19", "reason": "客户退回一件", "deductionReason": "客户确认扣费", "refund": { "amount": 90000, "account": "助理2支付宝", "payer": "assistant2", "reference": "" }, "expenses": [], "original": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": null, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 0, "netReceived": 500000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 50000, "knownProfit": 50000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "funds_mode": "team", "credit_card_rate_permille": 6 }, "originalJournal": { "sales": 500000, "goods": 450000, "expense": 0, "profit": 50000 }, "summary": { "refundAmount": 90000, "retainedAmount": 410000, "materialReturnedCost": 88000, "laborRestockedCost": 0, "materialLoss": 352000, "costLoss": 362000, "originalDirectCost": 0, "newExpenses": 0, "directCost": 0, "profit": 48000, "finalProfit": 48000, "profitAdjustment": -2000, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ] }, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ], "originalOrder": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": null, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 0, "netReceived": 500000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 50000, "knownProfit": 50000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "funds_mode": "team", "credit_card_rate_permille": 6 } }, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 48000, "knownProfit": 48000, "ownerCost": 0, "assistantInventoryCredit": 0, "assistantInventoryCreditSources": [], "assistantInventoryCreditExplanation": "", "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "sync": { "revision": 5, "done_revision": 0, "error": null, "updated": "2026-11-19T02:01:03.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 }, "summary": { "before": { "total": 500000, "netReceived": 500000, "goodsCost": 450000, "directCost": 0, "profit": 50000, "settlementDue": 0, "materialCostPending": false }, "after": { "total": 500000, "netReceived": 410000, "goodsCost": 450000, "directCost": 0, "profit": 48000, "settlementDue": 0, "materialCostPending": false }, "inventory": { "before": [ { "date": "2026-11-18", "pocket": "现货", "kind": "sale", "mg": -5000 } ], "after": [ { "date": "2026-11-18", "pocket": "现货", "kind": "sale", "mg": -5000 }, { "date": "2026-11-19", "pocket": "金料", "kind": "return", "mg": 1000 } ], "changes": [ { "date": "2026-11-19", "pocket": "金料", "mg": 1000 } ] } }, "changes": [ { "field": "status", "label": "订单状态", "before": "delivered", "after": "returned" }, { "field": "returned_date", "label": "退货日期", "before": null, "after": "2026-11-19" }, { "field": "refunded", "label": "累计退款", "before": 0, "after": 90000 }, { "field": "payments", "label": "收退款流水", "before": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "after": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "refund", "amount": 90000, "account": "助理2支付宝", "reference": "整单售后退款", "actor": "助理2", "created": "2026-11-19T02:01:03.000Z" } ] }, { "field": "netReceived", "label": "已收净额", "before": 500000, "after": 410000 }, { "field": "profit", "label": "利润", "before": 50000, "after": 48000 } ], "relatedOrders": [], "afterSale": { "orderId": "", "date": "2026-11-19", "reason": "客户退回一件", "deductionReason": "客户确认扣费", "refund": { "amount": 90000, "account": "助理2支付宝", "payer": "assistant2", "reference": "" }, "expenses": [], "original": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": null, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 0, "netReceived": 500000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 50000, "knownProfit": 50000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "funds_mode": "team", "credit_card_rate_permille": 6 }, "originalJournal": { "sales": 500000, "goods": 450000, "expense": 0, "profit": 50000 }, "summary": { "refundAmount": 90000, "retainedAmount": 410000, "materialReturnedCost": 88000, "laborRestockedCost": 0, "materialLoss": 352000, "costLoss": 362000, "originalDirectCost": 0, "newExpenses": 0, "directCost": 0, "profit": 48000, "finalProfit": 48000, "profitAdjustment": -2000, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ] }, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ], "originalOrder": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": null, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 0, "netReceived": 500000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 50000, "knownProfit": 50000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "funds_mode": "team", "credit_card_rate_permille": 6 } } }, "order": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "returned", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 5, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": "2026-11-19", "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": { "id": "", "status": "approved", "action": "return", "action_label": "订单售后", "order_revision": 4, "reason": "客户退回一件", "requester_name": "助理2", "created": "2026-11-19T02:01:03.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:01:05.000Z", "note": "实物已收回" }, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "refund", "amount": 90000, "account": "助理2支付宝", "reference": "整单售后退款", "actor": "麦麦", "created": "2026-11-19T02:01:05.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 90000, "netReceived": 410000, "balance": 0, "orderAfterSale": { "orderId": "", "date": "2026-11-19", "reason": "客户退回一件", "deductionReason": "客户确认扣费", "refund": { "amount": 90000, "account": "助理2支付宝", "payer": "assistant2", "reference": "" }, "expenses": [], "original": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": { "id": "", "status": "approved", "action": "return", "action_label": "订单售后", "order_revision": 4, "reason": "客户退回一件", "requester_name": "助理2", "created": "2026-11-19T02:01:03.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:01:05.000Z", "note": "实物已收回" }, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 0, "netReceived": 500000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 50000, "knownProfit": 50000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "funds_mode": "team", "credit_card_rate_permille": 6 }, "originalJournal": { "sales": 500000, "goods": 450000, "expense": 0, "profit": 50000 }, "summary": { "refundAmount": 90000, "retainedAmount": 410000, "materialReturnedCost": 88000, "laborRestockedCost": 0, "materialLoss": 352000, "costLoss": 362000, "originalDirectCost": 0, "newExpenses": 0, "directCost": 0, "profit": 48000, "finalProfit": 48000, "profitAdjustment": -2000, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ] }, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ], "originalOrder": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": { "id": "", "status": "approved", "action": "return", "action_label": "订单售后", "order_revision": 4, "reason": "客户退回一件", "requester_name": "助理2", "created": "2026-11-19T02:01:03.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:01:05.000Z", "note": "实物已收回" }, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 0, "netReceived": 500000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 50000, "knownProfit": 50000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "funds_mode": "team", "credit_card_rate_permille": 6 } }, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 48000, "knownProfit": 48000, "ownerCost": 0, "assistantInventoryCredit": 0, "assistantInventoryCreditSources": [], "assistantInventoryCreditExplanation": "", "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "audit": [ { "action": "同意修改订单", "actor": "麦麦", "detail": { "requestId": "", "action": "return", "reason": "客户退回一件", "note": "实物已收回", "requestedBy": "助理2", "requestedAt": "2026-11-19T02:01:03.000Z", "reviewed": "2026-11-19T02:01:05.000Z", "summary": { "before": { "total": 500000, "netReceived": 500000, "goodsCost": 450000, "directCost": 0, "profit": 50000, "settlementDue": 0, "materialCostPending": false }, "after": { "total": 500000, "netReceived": 410000, "goodsCost": 450000, "directCost": 0, "profit": 48000, "settlementDue": 0, "materialCostPending": false }, "inventory": { "before": [ { "date": "2026-11-18", "pocket": "现货", "kind": "sale", "mg": -5000 } ], "after": [ { "date": "2026-11-18", "pocket": "现货", "kind": "sale", "mg": -5000 }, { "date": "2026-11-19", "pocket": "金料", "kind": "return", "mg": 1000 } ], "changes": [ { "date": "2026-11-19", "pocket": "金料", "mg": 1000 } ] } }, "notice": "按已核验的原申请更正同一订单;原订单身份、历史流水和真实双方转款保留", "actorIdentity": { "id": "", "role": "owner", "member": "owner" } }, "created": "2026-11-19T02:01:05.000Z" }, { "action": "订单退货退款售后", "actor": "麦麦", "detail": { "date": "2026-11-19", "revision": 5, "reason": "客户退回一件", "verified": true, "afterSale": { "lines": [ { "lineIndex": 0, "quantity": "1.000", "pocket": "金料", "disposition": "scrap" } ], "refund": { "amount": "900", "account": "助理2支付宝", "payer": "assistant2" }, "deductionReason": "客户确认扣费", "expenses": [] }, "summary": { "refundAmount": 90000, "retainedAmount": 410000, "materialReturnedCost": 88000, "laborRestockedCost": 0, "materialLoss": 352000, "costLoss": 362000, "originalDirectCost": 0, "newExpenses": 0, "directCost": 0, "profit": 48000, "finalProfit": 48000, "profitAdjustment": -2000, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ] }, "actorIdentity": { "id": "", "role": "owner", "member": "owner" } }, "created": "2026-11-19T02:01:05.000Z" }, { "action": "申请修改订单", "actor": "助理2", "detail": { "requestId": "", "action": "return", "reason": "客户退回一件", "revision": 4, "changes": [ { "field": "status", "label": "订单状态", "before": "delivered", "after": "returned" }, { "field": "returned_date", "label": "退货日期", "before": null, "after": "2026-11-19" }, { "field": "refunded", "label": "累计退款", "before": 0, "after": 90000 }, { "field": "payments", "label": "收退款流水", "before": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "after": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "refund", "amount": 90000, "account": "助理2支付宝", "reference": "整单售后退款", "actor": "助理2", "created": "2026-11-19T02:01:03.000Z" } ] }, { "field": "netReceived", "label": "已收净额", "before": 500000, "after": 410000 }, { "field": "profit", "label": "利润", "before": 50000, "after": 48000 } ], "summary": { "before": { "total": 500000, "netReceived": 500000, "goodsCost": 450000, "directCost": 0, "profit": 50000, "settlementDue": 0, "materialCostPending": false }, "after": { "total": 500000, "netReceived": 410000, "goodsCost": 450000, "directCost": 0, "profit": 48000, "settlementDue": 0, "materialCostPending": false }, "inventory": { "before": [ { "date": "2026-11-18", "pocket": "现货", "kind": "sale", "mg": -5000 } ], "after": [ { "date": "2026-11-18", "pocket": "现货", "kind": "sale", "mg": -5000 }, { "date": "2026-11-19", "pocket": "金料", "kind": "return", "mg": 1000 } ], "changes": [ { "date": "2026-11-19", "pocket": "金料", "mg": 1000 } ] } }, "notice": "申请不改变订单、财务、库存或日报;由麦麦核对修改前后再审批", "actorIdentity": { "id": "", "role": "assistant", "member": "assistant2" } }, "created": "2026-11-19T02:01:03.000Z" }, { "action": "生成已交付单据", "actor": "助理2", "detail": { "amount": 500000, "account": "助理2微信", "actorIdentity": { "id": "", "role": "assistant", "member": "assistant2" } }, "created": "2026-11-18T02:01:25.000Z" }, { "action": "complete", "actor": "助理2", "detail": { "date": "2026-11-18", "verified": true, "revision": 4, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant2" } }, "created": "2026-11-18T02:01:25.000Z" }, { "action": "deliver", "actor": "助理2", "detail": { "date": "2026-11-18", "verified": true, "revision": 4, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant2" } }, "created": "2026-11-18T02:01:25.000Z" }, { "action": "receipt", "actor": "助理2", "detail": { "date": "2026-11-18", "amount": "5000.00", "account": "助理2微信", "credit_card_fee_payer": "owner", "verified": true, "reference": "开单时已全额收款", "revision": 3, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant2" } }, "created": "2026-11-18T02:01:25.000Z" }, { "action": "confirm", "actor": "助理2", "detail": { "date": "2026-11-18", "revision": 2, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant2" } }, "created": "2026-11-18T02:01:25.000Z" }, { "action": "保存草稿", "actor": "助理2", "detail": { "revision": 1, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant2" } }, "created": "2026-11-18T02:01:25.000Z" } ], "sync": { "revision": 5, "done_revision": 0, "error": null, "updated": "2026-11-19T02:01:05.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 } } }, { "seq": 257, "label": "returned-stock-lots", "date": "2026-11-19", "actor": "assistant2", "method": "GET", "path": "/api/returned-stock-lots?date=2026-11-19", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "lots": [] } }, { "seq": 258, "label": "order-after-sale-after", "date": "2026-11-19", "actor": "assistant2", "method": "GET", "path": "/api/orders//after-sale", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "orderId": "", "revision": 5, "eligible": false, "blockedReason": "本单已完成整单退货售后,不能重复退货或继续退款", "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 5000, "pocket": "现货", "stockCount": null, "materialCost": 440000, "laborCost": 10000 } ], "record": { "orderId": "", "date": "2026-11-19", "reason": "客户退回一件", "deductionReason": "客户确认扣费", "refund": { "amount": 90000, "account": "助理2支付宝", "payer": "assistant2", "reference": "" }, "expenses": [], "original": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": { "id": "", "status": "approved", "action": "return", "action_label": "订单售后", "order_revision": 4, "reason": "客户退回一件", "requester_name": "助理2", "created": "2026-11-19T02:01:03.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:01:05.000Z", "note": "实物已收回" }, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 0, "netReceived": 500000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 50000, "knownProfit": 50000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "funds_mode": "team", "credit_card_rate_permille": 6 }, "originalJournal": { "sales": 500000, "goods": 450000, "expense": 0, "profit": 50000 }, "summary": { "refundAmount": 90000, "retainedAmount": 410000, "materialReturnedCost": 88000, "laborRestockedCost": 0, "materialLoss": 352000, "costLoss": 362000, "originalDirectCost": 0, "newExpenses": 0, "directCost": 0, "profit": 48000, "finalProfit": 48000, "profitAdjustment": -2000, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ] }, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ], "originalOrder": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": { "id": "", "status": "approved", "action": "return", "action_label": "订单售后", "order_revision": 4, "reason": "客户退回一件", "requester_name": "助理2", "created": "2026-11-19T02:01:03.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:01:05.000Z", "note": "实物已收回" }, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 0, "netReceived": 500000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 50000, "knownProfit": 50000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "funds_mode": "team", "credit_card_rate_permille": 6 } }, "directToday": false, "inputs": { "date": "2026-11-19", "revision": 5, "reason": "", "afterSale": { "lines": [ { "lineIndex": 0, "quantity": "5.000", "pocket": "现货", "disposition": "stock" } ], "refund": { "amount": "4100.00", "account": "助理2微信", "payer": "assistant2", "reference": "" }, "deductionReason": "", "expenses": [] } } } }, { "seq": 259, "label": "after-sale-detail-d2", "date": "2026-11-19", "actor": "assistant", "method": "GET", "path": "/api/after-sales/", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "", "revision": 1, "record": { "id": "", "date": "2026-11-18", "project": "对照改圈", "customer": "对照售后客户", "amount": 850, "payer": "assistant", "actor": "助理", "created": "2026-11-18T02:02:03.000Z", "member": "assistant", "revision": 1 }, "values": { "date": "2026-11-18", "project": "对照改圈", "customer": "对照售后客户", "amount": "8.50", "payer": "assistant" }, "permissions": { "canEdit": true, "canDirectEdit": false, "requiresApproval": true, "canRequest": true, "reason": "只有原日期和修改后日期都为北京时间今天时可直接保存;其他日期须由麦麦审批" }, "pending": null, "history": [] } }, { "seq": 260, "label": "after-sale-update-request", "date": "2026-11-19", "actor": "assistant", "method": "POST", "path": "/api/after-sales//update", "key": "golden-00122-after-sale-update-request", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "date": "2026-11-18", "project": "对照改圈", "customer": "对照售后客户", "amount": "9.50", "payer": "assistant", "revision": 1, "reason": "金额录错" } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "", "after_sale_id": "", "applied": false, "pending": true, "requestId": "", "request": { "id": "", "afterSaleId": "", "revision": 1, "recordRevision": 1, "status": "pending", "reason": "金额录错", "before": { "date": "2026-11-18", "project": "对照改圈", "customer": "对照售后客户", "amount": 850, "payer": "assistant" }, "after": { "date": "2026-11-18", "project": "对照改圈", "customer": "对照售后客户", "amount": 950, "payer": "assistant" }, "member": "assistant", "requesterName": "助理", "requesterMember": "assistant", "created": "2026-11-19T02:01:09.000Z", "reviewerName": null, "reviewed": null, "note": "", "stale": false, "staleReason": "", "canApprove": false }, "record": { "id": "", "revision": 1, "record": { "id": "", "date": "2026-11-18", "project": "对照改圈", "customer": "对照售后客户", "amount": 850, "payer": "assistant", "actor": "助理", "created": "2026-11-18T02:02:03.000Z", "member": "assistant", "revision": 1 }, "values": { "date": "2026-11-18", "project": "对照改圈", "customer": "对照售后客户", "amount": "8.50", "payer": "assistant" }, "permissions": { "canEdit": false, "canDirectEdit": false, "requiresApproval": true, "canRequest": false, "reason": "已有待审批修改,请先由麦麦处理" }, "pending": { "id": "", "afterSaleId": "", "revision": 1, "recordRevision": 1, "status": "pending", "reason": "金额录错", "before": { "date": "2026-11-18", "project": "对照改圈", "customer": "对照售后客户", "amount": 850, "payer": "assistant" }, "after": { "date": "2026-11-18", "project": "对照改圈", "customer": "对照售后客户", "amount": 950, "payer": "assistant" }, "member": "assistant", "requesterName": "助理", "requesterMember": "assistant", "created": "2026-11-19T02:01:09.000Z", "reviewerName": null, "reviewed": null, "note": "", "stale": false, "staleReason": "", "canApprove": false }, "history": [] } } }, { "seq": 261, "label": "after-sale-changes", "date": "2026-11-19", "actor": "owner", "method": "GET", "path": "/api/after-sales/changes", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "requests": [ { "id": "", "afterSaleId": "", "revision": 1, "recordRevision": 1, "status": "pending", "reason": "金额录错", "before": { "date": "2026-11-18", "project": "对照改圈", "customer": "对照售后客户", "amount": 850, "payer": "assistant" }, "after": { "date": "2026-11-18", "project": "对照改圈", "customer": "对照售后客户", "amount": 950, "payer": "assistant" }, "member": "assistant", "requesterName": "助理", "requesterMember": "assistant", "created": "2026-11-19T02:01:09.000Z", "reviewerName": null, "reviewed": null, "note": "", "stale": false, "staleReason": "", "canApprove": true } ], "counts": { "pending": 1, "approved": 0, "rejected": 0 } } }, { "seq": 262, "label": "after-sale-change-detail", "date": "2026-11-19", "actor": "owner", "method": "GET", "path": "/api/after-sales/changes/", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "", "afterSaleId": "", "revision": 1, "recordRevision": 1, "status": "pending", "reason": "金额录错", "before": { "date": "2026-11-18", "project": "对照改圈", "customer": "对照售后客户", "amount": 850, "payer": "assistant" }, "after": { "date": "2026-11-18", "project": "对照改圈", "customer": "对照售后客户", "amount": 950, "payer": "assistant" }, "member": "assistant", "requesterName": "助理", "requesterMember": "assistant", "created": "2026-11-19T02:01:09.000Z", "reviewerName": null, "reviewed": null, "note": "", "stale": false, "staleReason": "", "canApprove": true } }, { "seq": 263, "label": "after-sale-change-approve", "date": "2026-11-19", "actor": "owner", "method": "POST", "path": "/api/after-sales/changes//approve", "key": "golden-00123-after-sale-change-approve", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "revision": 1, "note": "核实", "verified": true } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "", "afterSaleId": "", "revision": 2, "recordRevision": 1, "status": "approved", "reason": "金额录错", "before": { "date": "2026-11-18", "project": "对照改圈", "customer": "对照售后客户", "amount": 850, "payer": "assistant" }, "after": { "date": "2026-11-18", "project": "对照改圈", "customer": "对照售后客户", "amount": 950, "payer": "assistant" }, "member": "assistant", "requesterName": "助理", "requesterMember": "assistant", "created": "2026-11-19T02:01:09.000Z", "reviewerName": "麦麦", "reviewed": "2026-11-19T02:01:12.000Z", "note": "核实", "stale": false, "staleReason": "", "canApprove": false } }, { "seq": 264, "label": "after-sale-detail-after-approve", "date": "2026-11-19", "actor": "assistant", "method": "GET", "path": "/api/after-sales/", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "", "revision": 2, "record": { "id": "", "date": "2026-11-18", "project": "对照改圈", "customer": "对照售后客户", "amount": 950, "payer": "assistant", "actor": "助理", "created": "2026-11-18T02:02:03.000Z", "member": "assistant", "revision": 2 }, "values": { "date": "2026-11-18", "project": "对照改圈", "customer": "对照售后客户", "amount": "9.50", "payer": "assistant" }, "permissions": { "canEdit": true, "canDirectEdit": false, "requiresApproval": true, "canRequest": true, "reason": "只有原日期和修改后日期都为北京时间今天时可直接保存;其他日期须由麦麦审批" }, "pending": null, "history": [ { "id": "", "afterSaleId": "", "revision": 2, "recordRevision": 1, "status": "approved", "reason": "金额录错", "before": { "date": "2026-11-18", "project": "对照改圈", "customer": "对照售后客户", "amount": 850, "payer": "assistant" }, "after": { "date": "2026-11-18", "project": "对照改圈", "customer": "对照售后客户", "amount": 950, "payer": "assistant" }, "member": "assistant", "requesterName": "助理", "requesterMember": "assistant", "created": "2026-11-19T02:01:09.000Z", "reviewerName": "麦麦", "reviewed": "2026-11-19T02:01:12.000Z", "note": "核实", "stale": false, "staleReason": "", "canApprove": false } ] } }, { "seq": 265, "label": "after-sale-update-request-2", "date": "2026-11-19", "actor": "assistant", "method": "POST", "path": "/api/after-sales//update", "key": "golden-00124-after-sale-update-request-2", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "date": "2026-11-18", "project": "对照改圈", "customer": "对照售后客户", "amount": "12", "payer": "assistant", "revision": 2, "reason": "再次调整" } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "", "after_sale_id": "", "applied": false, "pending": true, "requestId": "", "request": { "id": "", "afterSaleId": "", "revision": 1, "recordRevision": 2, "status": "pending", "reason": "再次调整", "before": { "date": "2026-11-18", "project": "对照改圈", "customer": "对照售后客户", "amount": 950, "payer": "assistant" }, "after": { "date": "2026-11-18", "project": "对照改圈", "customer": "对照售后客户", "amount": 1200, "payer": "assistant" }, "member": "assistant", "requesterName": "助理", "requesterMember": "assistant", "created": "2026-11-19T02:01:14.000Z", "reviewerName": null, "reviewed": null, "note": "", "stale": false, "staleReason": "", "canApprove": false }, "record": { "id": "", "revision": 2, "record": { "id": "", "date": "2026-11-18", "project": "对照改圈", "customer": "对照售后客户", "amount": 950, "payer": "assistant", "actor": "助理", "created": "2026-11-18T02:02:03.000Z", "member": "assistant", "revision": 2 }, "values": { "date": "2026-11-18", "project": "对照改圈", "customer": "对照售后客户", "amount": "9.50", "payer": "assistant" }, "permissions": { "canEdit": false, "canDirectEdit": false, "requiresApproval": true, "canRequest": false, "reason": "已有待审批修改,请先由麦麦处理" }, "pending": { "id": "", "afterSaleId": "", "revision": 1, "recordRevision": 2, "status": "pending", "reason": "再次调整", "before": { "date": "2026-11-18", "project": "对照改圈", "customer": "对照售后客户", "amount": 950, "payer": "assistant" }, "after": { "date": "2026-11-18", "project": "对照改圈", "customer": "对照售后客户", "amount": 1200, "payer": "assistant" }, "member": "assistant", "requesterName": "助理", "requesterMember": "assistant", "created": "2026-11-19T02:01:14.000Z", "reviewerName": null, "reviewed": null, "note": "", "stale": false, "staleReason": "", "canApprove": false }, "history": [ { "id": "", "afterSaleId": "", "revision": 2, "recordRevision": 1, "status": "approved", "reason": "金额录错", "before": { "date": "2026-11-18", "project": "对照改圈", "customer": "对照售后客户", "amount": 850, "payer": "assistant" }, "after": { "date": "2026-11-18", "project": "对照改圈", "customer": "对照售后客户", "amount": 950, "payer": "assistant" }, "member": "assistant", "requesterName": "助理", "requesterMember": "assistant", "created": "2026-11-19T02:01:09.000Z", "reviewerName": "麦麦", "reviewed": "2026-11-19T02:01:12.000Z", "note": "核实", "stale": false, "staleReason": "", "canApprove": false } ] } } }, { "seq": 266, "label": "after-sale-change-reject", "date": "2026-11-19", "actor": "owner", "method": "POST", "path": "/api/after-sales/changes//reject", "key": "golden-00125-after-sale-change-reject", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "revision": 1, "note": "金额无误" } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "", "afterSaleId": "", "revision": 2, "recordRevision": 2, "status": "rejected", "reason": "再次调整", "before": { "date": "2026-11-18", "project": "对照改圈", "customer": "对照售后客户", "amount": 950, "payer": "assistant" }, "after": { "date": "2026-11-18", "project": "对照改圈", "customer": "对照售后客户", "amount": 1200, "payer": "assistant" }, "member": "assistant", "requesterName": "助理", "requesterMember": "assistant", "created": "2026-11-19T02:01:14.000Z", "reviewerName": "麦麦", "reviewed": "2026-11-19T02:01:15.000Z", "note": "金额无误", "stale": false, "staleReason": "", "canApprove": false } }, { "seq": 267, "note": "section", "name": "priceLocksD2" }, { "seq": 268, "label": "lock-edit-context-d2", "date": "2026-11-19", "actor": "assistant", "method": "GET", "path": "/api/price-locks//edit-context", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "eligible": true, "revision": 1, "requiresApproval": true, "reason": "", "inputs": { "date": "2026-11-18", "customer": "对照锁价客户", "salesperson": "娜娜", "note": "锁价备注", "discount": "0.00", "member": "assistant", "payment": { "amount": "2700.00", "account": "助理微信", "verified": true }, "lines": [ { "name": "足金999", "code": "", "unit": "g", "quantity": "3.000", "goldPrice": "900.00", "laborRate": "20.00", "laborMode": "gram", "pieces": 1, "charges": [], "lineId": "", "material": { "source": "manual", "rate": "850.00", "payer": "owner", "verified": true } } ] }, "lock": { "id": "", "number": "SJ20261118-", "date": "2026-11-18", "customer": "对照锁价客户", "salesperson": "娜娜", "note": "锁价备注", "line": { "name": "足金999", "code": "", "unit": "g", "quantity": 3000, "pocket": "", "payer": "owner", "costPayers": { "material": "owner", "labor": "owner" }, "cost": 255000, "costParts": { "material": 255000, "labor": 0, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 276000, "baseSale": 276000, "charges": [], "pricingMode": "auto", "goldPrice": 90000, "laborRate": 2000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 900.00元/克 + 工费 20.00元/克" }, "locked_mg": 3000, "sell_rate": 90000, "buy_rate": 85000, "buy_payer": "owner", "material_amount": 255000, "estimated_total": 276000, "discount": 0, "status": "pending", "revision": 1, "final_order_id": null, "delivery": null, "actor": "助理", "created": "2026-11-18T02:01:53.000Z", "updated": "2026-11-18T02:01:53.000Z", "cancelled_at": null, "cancelled_reason": null, "lines": [ { "id": "", "line_index": 0, "line": { "name": "足金999", "code": "", "unit": "g", "quantity": 3000, "pocket": "", "payer": "owner", "costPayers": { "material": "owner", "labor": "owner" }, "cost": 255000, "costParts": { "material": 255000, "labor": 0, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 276000, "baseSale": 276000, "charges": [], "pricingMode": "auto", "goldPrice": 90000, "laborRate": 2000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 900.00元/克 + 工费 20.00元/克" }, "locked_mg": 3000, "sell_rate": 90000, "buy_rate": 85000, "buy_payer": "owner", "material_amount": 255000, "material_source": "manual", "delivery": null } ], "member": "assistant", "kind": "priceLock", "credit_card_rate_permille": 6, "material_source": "manual", "cash_events": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 270000, "account": "助理微信", "payer": null, "source": null, "quantity": null, "rate": null, "number": "SJ20261118-", "customer": "对照锁价客户", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:53.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null, "card_fee_amount": null, "card_fee_payer": null, "card_fee_expense_id": null, "card_fee_rate": null, "card_fee_note": null } ], "material_events": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "material", "amount": 255000, "account": null, "payer": "owner", "source": "original", "quantity": 3000, "rate": 85000, "number": "SJ20261118-", "customer": "对照锁价客户", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:53.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "card_fee_amount": null, "card_fee_payer": null, "card_fee_expense_id": null, "card_fee_rate": null, "card_fee_note": null } ], "voided_events": [], "received": 270000, "refunded": 0, "netReceived": 270000, "credit_card_fees": [], "credit_card_fee_total": 0 }, "changePending": null } }, { "seq": 269, "label": "lock-edit-cross-day-denied", "date": "2026-11-19", "actor": "assistant", "method": "POST", "path": "/api/price-locks//edit", "key": "golden-00126-lock-edit-cross-day-denied", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "date": "2026-11-18", "customer": "对照锁价客户(改)", "salesperson": "娜娜", "note": "锁价备注", "discount": "0.00", "member": "assistant", "payment": { "amount": "2700.00", "account": "助理微信", "verified": true }, "lines": [ { "name": "足金999", "code": "", "unit": "g", "quantity": "3.000", "goldPrice": "900.00", "laborRate": "20.00", "laborMode": "gram", "pieces": 1, "charges": [], "lineId": "", "material": { "source": "manual", "rate": "850.00", "payer": "owner", "verified": true } } ], "revision": 1, "reason": "改客户名", "verified": true } }, "status": 403, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "error": "历史锁价单修改或取消须提交申请,由麦麦复核" } }, { "seq": 270, "label": "lock-change-request", "date": "2026-11-19", "actor": "assistant", "method": "POST", "path": "/api/price-locks//change-requests", "key": "golden-00127-lock-change-request", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "date": "2026-11-18", "customer": "对照锁价客户(改)", "salesperson": "娜娜", "note": "锁价备注", "discount": "0.00", "member": "assistant", "payment": { "amount": "2700.00", "account": "助理微信", "verified": true }, "lines": [ { "name": "足金999", "code": "", "unit": "g", "quantity": "3.000", "goldPrice": "900.00", "laborRate": "20.00", "laborMode": "gram", "pieces": 1, "charges": [], "lineId": "", "material": { "source": "manual", "rate": "850.00", "payer": "owner", "verified": true } } ], "action": "edit", "revision": 1, "reason": "改客户名", "verified": true } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "", "requestId": "", "price_lock_id": "", "request": { "id": "", "price_lock_id": "", "price_lock_revision": 1, "action": "edit", "reason": "改客户名", "payload": { "date": "2026-11-18", "customer": "对照锁价客户(改)", "salesperson": "娜娜", "note": "锁价备注", "discount": "0.00", "member": "assistant", "payment": { "amount": "2700.00", "account": "助理微信", "verified": true }, "lines": [ { "name": "足金999", "code": "", "unit": "g", "quantity": "3.000", "goldPrice": "900.00", "laborRate": "20.00", "laborMode": "gram", "pieces": 1, "charges": [], "lineId": "", "material": { "source": "manual", "rate": "850.00", "payer": "owner", "verified": true } } ], "action": "edit", "revision": 1, "reason": "改客户名", "verified": true }, "status": "pending", "requester_id": "", "requester_name": "助理", "requester_role": "assistant", "created": "2026-11-19T02:01:18.000Z", "reviewer_id": null, "reviewer_name": null, "reviewed": null, "note": "", "requestId": "", "revision": 1, "before": { "id": "", "number": "SJ20261118-", "date": "2026-11-18", "customer": "对照锁价客户", "salesperson": "娜娜", "note": "锁价备注", "line": { "name": "足金999", "code": "", "unit": "g", "quantity": 3000, "pocket": "", "payer": "owner", "costPayers": { "material": "owner", "labor": "owner" }, "cost": 255000, "costParts": { "material": 255000, "labor": 0, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 276000, "baseSale": 276000, "charges": [], "pricingMode": "auto", "goldPrice": 90000, "laborRate": 2000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 900.00元/克 + 工费 20.00元/克" }, "locked_mg": 3000, "sell_rate": 90000, "buy_rate": 85000, "buy_payer": "owner", "material_amount": 255000, "estimated_total": 276000, "discount": 0, "status": "pending", "revision": 1, "final_order_id": null, "delivery": null, "actor": "助理", "created": "2026-11-18T02:01:53.000Z", "updated": "2026-11-18T02:01:53.000Z", "cancelled_at": null, "cancelled_reason": null, "lines": [ { "id": "", "line_index": 0, "line": { "name": "足金999", "code": "", "unit": "g", "quantity": 3000, "pocket": "", "payer": "owner", "costPayers": { "material": "owner", "labor": "owner" }, "cost": 255000, "costParts": { "material": 255000, "labor": 0, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 276000, "baseSale": 276000, "charges": [], "pricingMode": "auto", "goldPrice": 90000, "laborRate": 2000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 900.00元/克 + 工费 20.00元/克" }, "locked_mg": 3000, "sell_rate": 90000, "buy_rate": 85000, "buy_payer": "owner", "material_amount": 255000, "material_source": "manual", "delivery": null } ], "member": "assistant", "kind": "priceLock", "credit_card_rate_permille": 6, "material_source": "manual", "cash_events": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 270000, "account": "助理微信", "payer": null, "source": null, "quantity": null, "rate": null, "number": "SJ20261118-", "customer": "对照锁价客户", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:53.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null, "card_fee_amount": null, "card_fee_payer": null, "card_fee_expense_id": null, "card_fee_rate": null, "card_fee_note": null } ], "material_events": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "material", "amount": 255000, "account": null, "payer": "owner", "source": "original", "quantity": 3000, "rate": 85000, "number": "SJ20261118-", "customer": "对照锁价客户", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:53.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "card_fee_amount": null, "card_fee_payer": null, "card_fee_expense_id": null, "card_fee_rate": null, "card_fee_note": null } ], "voided_events": [], "received": 270000, "refunded": 0, "netReceived": 270000, "credit_card_fees": [], "credit_card_fee_total": 0 }, "after": { "id": "", "number": "SJ20261118-", "date": "2026-11-18", "customer": "对照锁价客户(改)", "salesperson": "娜娜", "note": "锁价备注", "line": { "name": "足金999", "code": "", "unit": "g", "quantity": 3000, "pocket": "", "payer": "owner", "costPayers": { "material": "owner", "labor": "owner" }, "cost": 255000, "costParts": { "material": 255000, "labor": 0, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 276000, "baseSale": 276000, "charges": [], "pricingMode": "auto", "goldPrice": 90000, "laborRate": 2000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 900.00元/克 + 工费 20.00元/克" }, "locked_mg": 3000, "sell_rate": 90000, "buy_rate": 85000, "buy_payer": "owner", "material_amount": 255000, "estimated_total": 276000, "discount": 0, "status": "pending", "revision": 2, "final_order_id": null, "delivery": null, "actor": "助理", "created": "2026-11-18T02:01:53.000Z", "updated": "2026-11-19T02:01:18.000Z", "cancelled_at": null, "cancelled_reason": null, "lines": [ { "id": "", "line_index": 0, "line": { "name": "足金999", "code": "", "unit": "g", "quantity": 3000, "pocket": "", "payer": "owner", "costPayers": { "material": "owner", "labor": "owner" }, "cost": 255000, "costParts": { "material": 255000, "labor": 0, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 276000, "baseSale": 276000, "charges": [], "pricingMode": "auto", "goldPrice": 90000, "laborRate": 2000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 900.00元/克 + 工费 20.00元/克" }, "locked_mg": 3000, "sell_rate": 90000, "buy_rate": 85000, "buy_payer": "owner", "material_amount": 255000, "material_source": "manual", "delivery": null } ], "member": "assistant", "kind": "priceLock", "credit_card_rate_permille": 6, "material_source": "manual", "cash_events": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 270000, "account": "助理微信", "payer": null, "source": null, "quantity": null, "rate": null, "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:53.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null, "card_fee_amount": null, "card_fee_payer": null, "card_fee_expense_id": null, "card_fee_rate": null, "card_fee_note": null } ], "material_events": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "material", "amount": 255000, "account": null, "payer": "owner", "source": "original", "quantity": 3000, "rate": 85000, "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:53.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "card_fee_amount": null, "card_fee_payer": null, "card_fee_expense_id": null, "card_fee_rate": null, "card_fee_note": null } ], "voided_events": [], "received": 270000, "refunded": 0, "netReceived": 270000, "credit_card_fees": [], "credit_card_fee_total": 0 }, "changes": [ { "field": "customer", "before": "对照锁价客户", "after": "对照锁价客户(改)" } ], "relatedOrders": [], "relatedPriceLocks": [], "stale": false } } }, { "seq": 271, "label": "lock-changes-list", "date": "2026-11-19", "actor": "owner", "method": "GET", "path": "/api/price-lock-changes", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "rows": [ { "id": "", "price_lock_id": "", "price_lock_revision": 1, "action": "edit", "reason": "改客户名", "payload": { "date": "2026-11-18", "customer": "对照锁价客户(改)", "salesperson": "娜娜", "note": "锁价备注", "discount": "0.00", "member": "assistant", "payment": { "amount": "2700.00", "account": "助理微信", "verified": true }, "lines": [ { "name": "足金999", "code": "", "unit": "g", "quantity": "3.000", "goldPrice": "900.00", "laborRate": "20.00", "laborMode": "gram", "pieces": 1, "charges": [], "lineId": "", "material": { "source": "manual", "rate": "850.00", "payer": "owner", "verified": true } } ], "action": "edit", "revision": 1, "reason": "改客户名", "verified": true }, "status": "pending", "requester_id": "", "requester_name": "助理", "requester_role": "assistant", "created": "2026-11-19T02:01:18.000Z", "reviewer_id": null, "reviewer_name": null, "reviewed": null, "note": "", "requestId": "", "revision": 1, "before": { "id": "", "number": "SJ20261118-", "date": "2026-11-18", "customer": "对照锁价客户", "salesperson": "娜娜", "note": "锁价备注", "line": { "name": "足金999", "code": "", "unit": "g", "quantity": 3000, "pocket": "", "payer": "owner", "costPayers": { "material": "owner", "labor": "owner" }, "cost": 255000, "costParts": { "material": 255000, "labor": 0, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 276000, "baseSale": 276000, "charges": [], "pricingMode": "auto", "goldPrice": 90000, "laborRate": 2000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 900.00元/克 + 工费 20.00元/克" }, "locked_mg": 3000, "sell_rate": 90000, "buy_rate": 85000, "buy_payer": "owner", "material_amount": 255000, "estimated_total": 276000, "discount": 0, "status": "pending", "revision": 1, "final_order_id": null, "delivery": null, "actor": "助理", "created": "2026-11-18T02:01:53.000Z", "updated": "2026-11-18T02:01:53.000Z", "cancelled_at": null, "cancelled_reason": null, "lines": [ { "id": "", "line_index": 0, "line": { "name": "足金999", "code": "", "unit": "g", "quantity": 3000, "pocket": "", "payer": "owner", "costPayers": { "material": "owner", "labor": "owner" }, "cost": 255000, "costParts": { "material": 255000, "labor": 0, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 276000, "baseSale": 276000, "charges": [], "pricingMode": "auto", "goldPrice": 90000, "laborRate": 2000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 900.00元/克 + 工费 20.00元/克" }, "locked_mg": 3000, "sell_rate": 90000, "buy_rate": 85000, "buy_payer": "owner", "material_amount": 255000, "material_source": "manual", "delivery": null } ], "member": "assistant", "kind": "priceLock", "credit_card_rate_permille": 6, "material_source": "manual", "cash_events": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 270000, "account": "助理微信", "payer": null, "source": null, "quantity": null, "rate": null, "number": "SJ20261118-", "customer": "对照锁价客户", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:53.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null, "card_fee_amount": null, "card_fee_payer": null, "card_fee_expense_id": null, "card_fee_rate": null, "card_fee_note": null } ], "material_events": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "material", "amount": 255000, "account": null, "payer": "owner", "source": "original", "quantity": 3000, "rate": 85000, "number": "SJ20261118-", "customer": "对照锁价客户", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:53.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "card_fee_amount": null, "card_fee_payer": null, "card_fee_expense_id": null, "card_fee_rate": null, "card_fee_note": null } ], "voided_events": [], "received": 270000, "refunded": 0, "netReceived": 270000, "credit_card_fees": [], "credit_card_fee_total": 0 }, "after": { "id": "", "number": "SJ20261118-", "date": "2026-11-18", "customer": "对照锁价客户(改)", "salesperson": "娜娜", "note": "锁价备注", "line": { "name": "足金999", "code": "", "unit": "g", "quantity": 3000, "pocket": "", "payer": "owner", "costPayers": { "material": "owner", "labor": "owner" }, "cost": 255000, "costParts": { "material": 255000, "labor": 0, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 276000, "baseSale": 276000, "charges": [], "pricingMode": "auto", "goldPrice": 90000, "laborRate": 2000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 900.00元/克 + 工费 20.00元/克" }, "locked_mg": 3000, "sell_rate": 90000, "buy_rate": 85000, "buy_payer": "owner", "material_amount": 255000, "estimated_total": 276000, "discount": 0, "status": "pending", "revision": 2, "final_order_id": null, "delivery": null, "actor": "助理", "created": "2026-11-18T02:01:53.000Z", "updated": "2026-11-19T02:01:18.000Z", "cancelled_at": null, "cancelled_reason": null, "lines": [ { "id": "", "line_index": 0, "line": { "name": "足金999", "code": "", "unit": "g", "quantity": 3000, "pocket": "", "payer": "owner", "costPayers": { "material": "owner", "labor": "owner" }, "cost": 255000, "costParts": { "material": 255000, "labor": 0, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 276000, "baseSale": 276000, "charges": [], "pricingMode": "auto", "goldPrice": 90000, "laborRate": 2000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 900.00元/克 + 工费 20.00元/克" }, "locked_mg": 3000, "sell_rate": 90000, "buy_rate": 85000, "buy_payer": "owner", "material_amount": 255000, "material_source": "manual", "delivery": null } ], "member": "assistant", "kind": "priceLock", "credit_card_rate_permille": 6, "material_source": "manual", "cash_events": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 270000, "account": "助理微信", "payer": null, "source": null, "quantity": null, "rate": null, "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:53.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null, "card_fee_amount": null, "card_fee_payer": null, "card_fee_expense_id": null, "card_fee_rate": null, "card_fee_note": null } ], "material_events": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "material", "amount": 255000, "account": null, "payer": "owner", "source": "original", "quantity": 3000, "rate": 85000, "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:53.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "card_fee_amount": null, "card_fee_payer": null, "card_fee_expense_id": null, "card_fee_rate": null, "card_fee_note": null } ], "voided_events": [], "received": 270000, "refunded": 0, "netReceived": 270000, "credit_card_fees": [], "credit_card_fee_total": 0 }, "changes": [ { "field": "customer", "before": "对照锁价客户", "after": "对照锁价客户(改)" } ], "relatedOrders": [], "relatedPriceLocks": [], "stale": false } ] } }, { "seq": 272, "label": "lock-change-detail", "date": "2026-11-19", "actor": "owner", "method": "GET", "path": "/api/price-lock-changes/", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "", "price_lock_id": "", "price_lock_revision": 1, "action": "edit", "reason": "改客户名", "payload": { "date": "2026-11-18", "customer": "对照锁价客户(改)", "salesperson": "娜娜", "note": "锁价备注", "discount": "0.00", "member": "assistant", "payment": { "amount": "2700.00", "account": "助理微信", "verified": true }, "lines": [ { "name": "足金999", "code": "", "unit": "g", "quantity": "3.000", "goldPrice": "900.00", "laborRate": "20.00", "laborMode": "gram", "pieces": 1, "charges": [], "lineId": "", "material": { "source": "manual", "rate": "850.00", "payer": "owner", "verified": true } } ], "action": "edit", "revision": 1, "reason": "改客户名", "verified": true }, "status": "pending", "requester_id": "", "requester_name": "助理", "requester_role": "assistant", "created": "2026-11-19T02:01:18.000Z", "reviewer_id": null, "reviewer_name": null, "reviewed": null, "note": "", "requestId": "", "revision": 1, "before": { "id": "", "number": "SJ20261118-", "date": "2026-11-18", "customer": "对照锁价客户", "salesperson": "娜娜", "note": "锁价备注", "line": { "name": "足金999", "code": "", "unit": "g", "quantity": 3000, "pocket": "", "payer": "owner", "costPayers": { "material": "owner", "labor": "owner" }, "cost": 255000, "costParts": { "material": 255000, "labor": 0, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 276000, "baseSale": 276000, "charges": [], "pricingMode": "auto", "goldPrice": 90000, "laborRate": 2000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 900.00元/克 + 工费 20.00元/克" }, "locked_mg": 3000, "sell_rate": 90000, "buy_rate": 85000, "buy_payer": "owner", "material_amount": 255000, "estimated_total": 276000, "discount": 0, "status": "pending", "revision": 1, "final_order_id": null, "delivery": null, "actor": "助理", "created": "2026-11-18T02:01:53.000Z", "updated": "2026-11-18T02:01:53.000Z", "cancelled_at": null, "cancelled_reason": null, "lines": [ { "id": "", "line_index": 0, "line": { "name": "足金999", "code": "", "unit": "g", "quantity": 3000, "pocket": "", "payer": "owner", "costPayers": { "material": "owner", "labor": "owner" }, "cost": 255000, "costParts": { "material": 255000, "labor": 0, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 276000, "baseSale": 276000, "charges": [], "pricingMode": "auto", "goldPrice": 90000, "laborRate": 2000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 900.00元/克 + 工费 20.00元/克" }, "locked_mg": 3000, "sell_rate": 90000, "buy_rate": 85000, "buy_payer": "owner", "material_amount": 255000, "material_source": "manual", "delivery": null } ], "member": "assistant", "kind": "priceLock", "credit_card_rate_permille": 6, "material_source": "manual", "cash_events": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 270000, "account": "助理微信", "payer": null, "source": null, "quantity": null, "rate": null, "number": "SJ20261118-", "customer": "对照锁价客户", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:53.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null, "card_fee_amount": null, "card_fee_payer": null, "card_fee_expense_id": null, "card_fee_rate": null, "card_fee_note": null } ], "material_events": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "material", "amount": 255000, "account": null, "payer": "owner", "source": "original", "quantity": 3000, "rate": 85000, "number": "SJ20261118-", "customer": "对照锁价客户", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:53.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "card_fee_amount": null, "card_fee_payer": null, "card_fee_expense_id": null, "card_fee_rate": null, "card_fee_note": null } ], "voided_events": [], "received": 270000, "refunded": 0, "netReceived": 270000, "credit_card_fees": [], "credit_card_fee_total": 0 }, "after": { "id": "", "number": "SJ20261118-", "date": "2026-11-18", "customer": "对照锁价客户(改)", "salesperson": "娜娜", "note": "锁价备注", "line": { "name": "足金999", "code": "", "unit": "g", "quantity": 3000, "pocket": "", "payer": "owner", "costPayers": { "material": "owner", "labor": "owner" }, "cost": 255000, "costParts": { "material": 255000, "labor": 0, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 276000, "baseSale": 276000, "charges": [], "pricingMode": "auto", "goldPrice": 90000, "laborRate": 2000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 900.00元/克 + 工费 20.00元/克" }, "locked_mg": 3000, "sell_rate": 90000, "buy_rate": 85000, "buy_payer": "owner", "material_amount": 255000, "estimated_total": 276000, "discount": 0, "status": "pending", "revision": 2, "final_order_id": null, "delivery": null, "actor": "助理", "created": "2026-11-18T02:01:53.000Z", "updated": "2026-11-19T02:01:18.000Z", "cancelled_at": null, "cancelled_reason": null, "lines": [ { "id": "", "line_index": 0, "line": { "name": "足金999", "code": "", "unit": "g", "quantity": 3000, "pocket": "", "payer": "owner", "costPayers": { "material": "owner", "labor": "owner" }, "cost": 255000, "costParts": { "material": 255000, "labor": 0, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 276000, "baseSale": 276000, "charges": [], "pricingMode": "auto", "goldPrice": 90000, "laborRate": 2000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 900.00元/克 + 工费 20.00元/克" }, "locked_mg": 3000, "sell_rate": 90000, "buy_rate": 85000, "buy_payer": "owner", "material_amount": 255000, "material_source": "manual", "delivery": null } ], "member": "assistant", "kind": "priceLock", "credit_card_rate_permille": 6, "material_source": "manual", "cash_events": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 270000, "account": "助理微信", "payer": null, "source": null, "quantity": null, "rate": null, "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:53.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null, "card_fee_amount": null, "card_fee_payer": null, "card_fee_expense_id": null, "card_fee_rate": null, "card_fee_note": null } ], "material_events": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "material", "amount": 255000, "account": null, "payer": "owner", "source": "original", "quantity": 3000, "rate": 85000, "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:53.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "card_fee_amount": null, "card_fee_payer": null, "card_fee_expense_id": null, "card_fee_rate": null, "card_fee_note": null } ], "voided_events": [], "received": 270000, "refunded": 0, "netReceived": 270000, "credit_card_fees": [], "credit_card_fee_total": 0 }, "changes": [ { "field": "customer", "before": "对照锁价客户", "after": "对照锁价客户(改)" } ], "relatedOrders": [], "relatedPriceLocks": [], "stale": false } }, { "seq": 273, "label": "lock-change-approve", "date": "2026-11-19", "actor": "owner", "method": "POST", "path": "/api/price-lock-changes//approve", "key": "golden-00128-lock-change-approve", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "revision": 1, "verified": true, "note": "核实" } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "", "requestId": "", "price_lock_id": "", "request": { "id": "", "price_lock_id": "", "price_lock_revision": 1, "action": "edit", "reason": "改客户名", "payload": { "date": "2026-11-18", "customer": "对照锁价客户(改)", "salesperson": "娜娜", "note": "锁价备注", "discount": "0.00", "member": "assistant", "payment": { "amount": "2700.00", "account": "助理微信", "verified": true }, "lines": [ { "name": "足金999", "code": "", "unit": "g", "quantity": "3.000", "goldPrice": "900.00", "laborRate": "20.00", "laborMode": "gram", "pieces": 1, "charges": [], "lineId": "", "material": { "source": "manual", "rate": "850.00", "payer": "owner", "verified": true } } ], "action": "edit", "revision": 1, "reason": "改客户名", "verified": true }, "status": "approved", "requester_id": "", "requester_name": "助理", "requester_role": "assistant", "created": "2026-11-19T02:01:18.000Z", "reviewer_id": "", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:01:21.000Z", "note": "核实", "requestId": "", "revision": 1, "before": { "id": "", "number": "SJ20261118-", "date": "2026-11-18", "customer": "对照锁价客户", "salesperson": "娜娜", "note": "锁价备注", "line": { "name": "足金999", "code": "", "unit": "g", "quantity": 3000, "pocket": "", "payer": "owner", "costPayers": { "material": "owner", "labor": "owner" }, "cost": 255000, "costParts": { "material": 255000, "labor": 0, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 276000, "baseSale": 276000, "charges": [], "pricingMode": "auto", "goldPrice": 90000, "laborRate": 2000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 900.00元/克 + 工费 20.00元/克" }, "locked_mg": 3000, "sell_rate": 90000, "buy_rate": 85000, "buy_payer": "owner", "material_amount": 255000, "estimated_total": 276000, "discount": 0, "status": "pending", "revision": 1, "final_order_id": null, "delivery": null, "actor": "助理", "created": "2026-11-18T02:01:53.000Z", "updated": "2026-11-18T02:01:53.000Z", "cancelled_at": null, "cancelled_reason": null, "lines": [ { "id": "", "line_index": 0, "line": { "name": "足金999", "code": "", "unit": "g", "quantity": 3000, "pocket": "", "payer": "owner", "costPayers": { "material": "owner", "labor": "owner" }, "cost": 255000, "costParts": { "material": 255000, "labor": 0, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 276000, "baseSale": 276000, "charges": [], "pricingMode": "auto", "goldPrice": 90000, "laborRate": 2000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 900.00元/克 + 工费 20.00元/克" }, "locked_mg": 3000, "sell_rate": 90000, "buy_rate": 85000, "buy_payer": "owner", "material_amount": 255000, "material_source": "manual", "delivery": null } ], "member": "assistant", "kind": "priceLock", "credit_card_rate_permille": 6, "material_source": "manual", "cash_events": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 270000, "account": "助理微信", "payer": null, "source": null, "quantity": null, "rate": null, "number": "SJ20261118-", "customer": "对照锁价客户", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:53.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null, "card_fee_amount": null, "card_fee_payer": null, "card_fee_expense_id": null, "card_fee_rate": null, "card_fee_note": null } ], "material_events": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "material", "amount": 255000, "account": null, "payer": "owner", "source": "original", "quantity": 3000, "rate": 85000, "number": "SJ20261118-", "customer": "对照锁价客户", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:53.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "card_fee_amount": null, "card_fee_payer": null, "card_fee_expense_id": null, "card_fee_rate": null, "card_fee_note": null } ], "voided_events": [], "received": 270000, "refunded": 0, "netReceived": 270000, "credit_card_fees": [], "credit_card_fee_total": 0 }, "after": { "id": "", "number": "SJ20261118-", "date": "2026-11-18", "customer": "对照锁价客户(改)", "salesperson": "娜娜", "note": "锁价备注", "line": { "name": "足金999", "code": "", "unit": "g", "quantity": 3000, "pocket": "", "payer": "owner", "costPayers": { "material": "owner", "labor": "owner" }, "cost": 255000, "costParts": { "material": 255000, "labor": 0, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 276000, "baseSale": 276000, "charges": [], "pricingMode": "auto", "goldPrice": 90000, "laborRate": 2000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 900.00元/克 + 工费 20.00元/克" }, "locked_mg": 3000, "sell_rate": 90000, "buy_rate": 85000, "buy_payer": "owner", "material_amount": 255000, "estimated_total": 276000, "discount": 0, "status": "pending", "revision": 2, "final_order_id": null, "delivery": null, "actor": "助理", "created": "2026-11-18T02:01:53.000Z", "updated": "2026-11-19T02:01:18.000Z", "cancelled_at": null, "cancelled_reason": null, "lines": [ { "id": "", "line_index": 0, "line": { "name": "足金999", "code": "", "unit": "g", "quantity": 3000, "pocket": "", "payer": "owner", "costPayers": { "material": "owner", "labor": "owner" }, "cost": 255000, "costParts": { "material": 255000, "labor": 0, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 276000, "baseSale": 276000, "charges": [], "pricingMode": "auto", "goldPrice": 90000, "laborRate": 2000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 900.00元/克 + 工费 20.00元/克" }, "locked_mg": 3000, "sell_rate": 90000, "buy_rate": 85000, "buy_payer": "owner", "material_amount": 255000, "material_source": "manual", "delivery": null } ], "member": "assistant", "kind": "priceLock", "credit_card_rate_permille": 6, "material_source": "manual", "cash_events": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 270000, "account": "助理微信", "payer": null, "source": null, "quantity": null, "rate": null, "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:53.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null, "card_fee_amount": null, "card_fee_payer": null, "card_fee_expense_id": null, "card_fee_rate": null, "card_fee_note": null } ], "material_events": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "material", "amount": 255000, "account": null, "payer": "owner", "source": "original", "quantity": 3000, "rate": 85000, "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:53.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "card_fee_amount": null, "card_fee_payer": null, "card_fee_expense_id": null, "card_fee_rate": null, "card_fee_note": null } ], "voided_events": [], "received": 270000, "refunded": 0, "netReceived": 270000, "credit_card_fees": [], "credit_card_fee_total": 0 }, "changes": [ { "field": "customer", "before": "对照锁价客户", "after": "对照锁价客户(改)" } ], "relatedOrders": [], "relatedPriceLocks": [], "stale": false }, "lock": { "id": "", "number": "SJ20261118-", "date": "2026-11-18", "customer": "对照锁价客户(改)", "salesperson": "娜娜", "note": "锁价备注", "line": { "name": "足金999", "code": "", "unit": "g", "quantity": 3000, "pocket": "", "payer": "owner", "costPayers": { "material": "owner", "labor": "owner" }, "cost": 255000, "costParts": { "material": 255000, "labor": 0, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 276000, "baseSale": 276000, "charges": [], "pricingMode": "auto", "goldPrice": 90000, "laborRate": 2000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 900.00元/克 + 工费 20.00元/克" }, "locked_mg": 3000, "sell_rate": 90000, "buy_rate": 85000, "buy_payer": "owner", "material_amount": 255000, "estimated_total": 276000, "discount": 0, "status": "pending", "revision": 2, "final_order_id": null, "delivery": null, "actor": "助理", "created": "2026-11-18T02:01:53.000Z", "updated": "2026-11-19T02:01:21.000Z", "cancelled_at": null, "cancelled_reason": null, "lines": [ { "id": "", "line_index": 0, "line": { "name": "足金999", "code": "", "unit": "g", "quantity": 3000, "pocket": "", "payer": "owner", "costPayers": { "material": "owner", "labor": "owner" }, "cost": 255000, "costParts": { "material": 255000, "labor": 0, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 276000, "baseSale": 276000, "charges": [], "pricingMode": "auto", "goldPrice": 90000, "laborRate": 2000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 900.00元/克 + 工费 20.00元/克" }, "locked_mg": 3000, "sell_rate": 90000, "buy_rate": 85000, "buy_payer": "owner", "material_amount": 255000, "material_source": "manual", "delivery": null } ], "member": "assistant", "kind": "priceLock", "credit_card_rate_permille": 6, "material_source": "manual", "cash_events": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 270000, "account": "助理微信", "payer": null, "source": null, "quantity": null, "rate": null, "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:53.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null, "card_fee_amount": null, "card_fee_payer": null, "card_fee_expense_id": null, "card_fee_rate": null, "card_fee_note": null } ], "material_events": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "material", "amount": 255000, "account": null, "payer": "owner", "source": "original", "quantity": 3000, "rate": 85000, "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:53.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "card_fee_amount": null, "card_fee_payer": null, "card_fee_expense_id": null, "card_fee_rate": null, "card_fee_note": null } ], "voided_events": [], "received": 270000, "refunded": 0, "netReceived": 270000, "credit_card_fees": [], "credit_card_fee_total": 0 } } }, { "seq": 274, "label": "lock-c-context", "date": "2026-11-19", "actor": "assistant2", "method": "GET", "path": "/api/price-locks//edit-context", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "eligible": true, "revision": 1, "requiresApproval": true, "reason": "", "inputs": { "date": "2026-11-18", "customer": "对照锁价客户三", "salesperson": "小昊", "note": "锁价备注", "discount": "0.00", "member": "assistant2", "payment": { "amount": "500.00", "account": "助理2微信", "verified": true }, "lines": [ { "name": "足金999", "code": "", "unit": "g", "quantity": "3.000", "goldPrice": "900.00", "laborRate": "20.00", "laborMode": "gram", "pieces": 1, "charges": [], "lineId": "", "material": { "source": "manual", "rate": "860.00", "payer": "assistant2", "verified": true } } ] }, "lock": { "id": "", "number": "SJ20261118-", "date": "2026-11-18", "customer": "对照锁价客户三", "salesperson": "小昊", "note": "锁价备注", "line": { "name": "足金999", "code": "", "unit": "g", "quantity": 3000, "pocket": "", "payer": "assistant2", "costPayers": { "material": "assistant2", "labor": "assistant2" }, "cost": 258000, "costParts": { "material": 258000, "labor": 0, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 276000, "baseSale": 276000, "charges": [], "pricingMode": "auto", "goldPrice": 90000, "laborRate": 2000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 900.00元/克 + 工费 20.00元/克" }, "locked_mg": 3000, "sell_rate": 90000, "buy_rate": 86000, "buy_payer": "assistant2", "material_amount": 258000, "estimated_total": 276000, "discount": 0, "status": "pending", "revision": 1, "final_order_id": null, "delivery": null, "actor": "助理2", "created": "2026-11-18T02:01:55.000Z", "updated": "2026-11-18T02:01:55.000Z", "cancelled_at": null, "cancelled_reason": null, "lines": [ { "id": "", "line_index": 0, "line": { "name": "足金999", "code": "", "unit": "g", "quantity": 3000, "pocket": "", "payer": "assistant2", "costPayers": { "material": "assistant2", "labor": "assistant2" }, "cost": 258000, "costParts": { "material": 258000, "labor": 0, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 276000, "baseSale": 276000, "charges": [], "pricingMode": "auto", "goldPrice": 90000, "laborRate": 2000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 900.00元/克 + 工费 20.00元/克" }, "locked_mg": 3000, "sell_rate": 90000, "buy_rate": 86000, "buy_payer": "assistant2", "material_amount": 258000, "material_source": "manual", "delivery": null } ], "member": "assistant2", "kind": "priceLock", "credit_card_rate_permille": 6, "material_source": "manual", "cash_events": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 50000, "account": "助理2微信", "payer": null, "source": null, "quantity": null, "rate": null, "number": "SJ20261118-", "customer": "对照锁价客户三", "product": "足金999", "actor": "助理2", "created": "2026-11-18T02:01:55.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null, "card_fee_amount": null, "card_fee_payer": null, "card_fee_expense_id": null, "card_fee_rate": null, "card_fee_note": null } ], "material_events": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "material", "amount": 258000, "account": null, "payer": "assistant2", "source": "original", "quantity": 3000, "rate": 86000, "number": "SJ20261118-", "customer": "对照锁价客户三", "product": "足金999", "actor": "助理2", "created": "2026-11-18T02:01:55.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "card_fee_amount": null, "card_fee_payer": null, "card_fee_expense_id": null, "card_fee_rate": null, "card_fee_note": null } ], "voided_events": [], "received": 50000, "refunded": 0, "netReceived": 50000, "credit_card_fees": [], "credit_card_fee_total": 0 }, "changePending": null } }, { "seq": 275, "label": "lock-cancel-request", "date": "2026-11-19", "actor": "assistant2", "method": "POST", "path": "/api/price-locks//change-requests", "key": "golden-00129-lock-cancel-request", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "action": "cancel", "revision": 1, "reason": "客户不要了", "verified": true } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "", "requestId": "", "price_lock_id": "", "request": { "id": "", "price_lock_id": "", "price_lock_revision": 1, "action": "cancel", "reason": "客户不要了", "payload": { "action": "cancel", "revision": 1, "reason": "客户不要了", "verified": true }, "status": "pending", "requester_id": "", "requester_name": "助理2", "requester_role": "assistant", "created": "2026-11-19T02:01:23.000Z", "reviewer_id": null, "reviewer_name": null, "reviewed": null, "note": "", "requestId": "", "revision": 1, "before": { "id": "", "number": "SJ20261118-", "date": "2026-11-18", "customer": "对照锁价客户三", "salesperson": "小昊", "note": "锁价备注", "line": { "name": "足金999", "code": "", "unit": "g", "quantity": 3000, "pocket": "", "payer": "assistant2", "costPayers": { "material": "assistant2", "labor": "assistant2" }, "cost": 258000, "costParts": { "material": 258000, "labor": 0, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 276000, "baseSale": 276000, "charges": [], "pricingMode": "auto", "goldPrice": 90000, "laborRate": 2000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 900.00元/克 + 工费 20.00元/克" }, "locked_mg": 3000, "sell_rate": 90000, "buy_rate": 86000, "buy_payer": "assistant2", "material_amount": 258000, "estimated_total": 276000, "discount": 0, "status": "pending", "revision": 1, "final_order_id": null, "delivery": null, "actor": "助理2", "created": "2026-11-18T02:01:55.000Z", "updated": "2026-11-18T02:01:55.000Z", "cancelled_at": null, "cancelled_reason": null, "lines": [ { "id": "", "line_index": 0, "line": { "name": "足金999", "code": "", "unit": "g", "quantity": 3000, "pocket": "", "payer": "assistant2", "costPayers": { "material": "assistant2", "labor": "assistant2" }, "cost": 258000, "costParts": { "material": 258000, "labor": 0, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 276000, "baseSale": 276000, "charges": [], "pricingMode": "auto", "goldPrice": 90000, "laborRate": 2000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 900.00元/克 + 工费 20.00元/克" }, "locked_mg": 3000, "sell_rate": 90000, "buy_rate": 86000, "buy_payer": "assistant2", "material_amount": 258000, "material_source": "manual", "delivery": null } ], "member": "assistant2", "kind": "priceLock", "credit_card_rate_permille": 6, "material_source": "manual", "cash_events": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 50000, "account": "助理2微信", "payer": null, "source": null, "quantity": null, "rate": null, "number": "SJ20261118-", "customer": "对照锁价客户三", "product": "足金999", "actor": "助理2", "created": "2026-11-18T02:01:55.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null, "card_fee_amount": null, "card_fee_payer": null, "card_fee_expense_id": null, "card_fee_rate": null, "card_fee_note": null } ], "material_events": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "material", "amount": 258000, "account": null, "payer": "assistant2", "source": "original", "quantity": 3000, "rate": 86000, "number": "SJ20261118-", "customer": "对照锁价客户三", "product": "足金999", "actor": "助理2", "created": "2026-11-18T02:01:55.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "card_fee_amount": null, "card_fee_payer": null, "card_fee_expense_id": null, "card_fee_rate": null, "card_fee_note": null } ], "voided_events": [], "received": 50000, "refunded": 0, "netReceived": 50000, "credit_card_fees": [], "credit_card_fee_total": 0 }, "after": { "id": "", "number": "SJ20261118-", "date": "2026-11-18", "customer": "对照锁价客户三", "salesperson": "小昊", "note": "锁价备注", "line": { "name": "足金999", "code": "", "unit": "g", "quantity": 3000, "pocket": "", "payer": "assistant2", "costPayers": { "material": "assistant2", "labor": "assistant2" }, "cost": 258000, "costParts": { "material": 258000, "labor": 0, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 276000, "baseSale": 276000, "charges": [], "pricingMode": "auto", "goldPrice": 90000, "laborRate": 2000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 900.00元/克 + 工费 20.00元/克" }, "locked_mg": 3000, "sell_rate": 90000, "buy_rate": 86000, "buy_payer": "assistant2", "material_amount": 258000, "estimated_total": 276000, "discount": 0, "status": "cancelled", "revision": 2, "final_order_id": null, "delivery": null, "actor": "助理2", "created": "2026-11-18T02:01:55.000Z", "updated": "2026-11-19T02:01:23.000Z", "cancelled_at": "2026-11-19T02:01:23.000Z", "cancelled_reason": "客户不要了", "lines": [ { "id": "", "line_index": 0, "line": { "name": "足金999", "code": "", "unit": "g", "quantity": 3000, "pocket": "", "payer": "assistant2", "costPayers": { "material": "assistant2", "labor": "assistant2" }, "cost": 258000, "costParts": { "material": 258000, "labor": 0, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 276000, "baseSale": 276000, "charges": [], "pricingMode": "auto", "goldPrice": 90000, "laborRate": 2000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 900.00元/克 + 工费 20.00元/克" }, "locked_mg": 3000, "sell_rate": 90000, "buy_rate": 86000, "buy_payer": "assistant2", "material_amount": 258000, "material_source": "manual", "delivery": null } ], "member": "assistant2", "kind": "priceLock", "credit_card_rate_permille": 6, "material_source": "manual", "cash_events": [], "material_events": [], "voided_events": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 50000, "account": "助理2微信", "payer": null, "source": null, "quantity": null, "rate": null, "number": "SJ20261118-", "customer": "对照锁价客户三", "product": "足金999", "actor": "助理2", "created": "2026-11-18T02:01:55.000Z", "line_index": null, "voided": 1, "void_reason": "客户不要了", "voided_at": "2026-11-19T02:01:23.000Z", "card_fee_amount": null, "card_fee_payer": null, "card_fee_expense_id": null, "card_fee_rate": null, "card_fee_note": null }, { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "material", "amount": 258000, "account": null, "payer": "assistant2", "source": "original", "quantity": 3000, "rate": 86000, "number": "SJ20261118-", "customer": "对照锁价客户三", "product": "足金999", "actor": "助理2", "created": "2026-11-18T02:01:55.000Z", "line_index": 0, "voided": 1, "void_reason": "客户不要了", "voided_at": "2026-11-19T02:01:23.000Z", "card_fee_amount": null, "card_fee_payer": null, "card_fee_expense_id": null, "card_fee_rate": null, "card_fee_note": null } ], "received": 0, "refunded": 0, "netReceived": 0, "credit_card_fees": [], "credit_card_fee_total": 0 }, "materialReturnDate": "2026-11-19", "changes": [ { "field": "netReceived", "before": 50000, "after": 0 }, { "field": "status", "before": "pending", "after": "cancelled" } ], "relatedOrders": [], "relatedPriceLocks": [], "stale": false } } }, { "seq": 276, "label": "lock-cancel-reject", "date": "2026-11-19", "actor": "owner", "method": "POST", "path": "/api/price-lock-changes//reject", "key": "golden-00130-lock-cancel-reject", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "note": "客户仍要" } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "", "requestId": "", "request": { "id": "", "price_lock_id": "", "price_lock_revision": 1, "action": "cancel", "reason": "客户不要了", "payload": { "action": "cancel", "revision": 1, "reason": "客户不要了", "verified": true }, "status": "rejected", "requester_id": "", "requester_name": "助理2", "requester_role": "assistant", "created": "2026-11-19T02:01:23.000Z", "reviewer_id": "", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:01:24.000Z", "note": "客户仍要", "requestId": "", "revision": 1, "before": { "id": "", "number": "SJ20261118-", "date": "2026-11-18", "customer": "对照锁价客户三", "salesperson": "小昊", "note": "锁价备注", "line": { "name": "足金999", "code": "", "unit": "g", "quantity": 3000, "pocket": "", "payer": "assistant2", "costPayers": { "material": "assistant2", "labor": "assistant2" }, "cost": 258000, "costParts": { "material": 258000, "labor": 0, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 276000, "baseSale": 276000, "charges": [], "pricingMode": "auto", "goldPrice": 90000, "laborRate": 2000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 900.00元/克 + 工费 20.00元/克" }, "locked_mg": 3000, "sell_rate": 90000, "buy_rate": 86000, "buy_payer": "assistant2", "material_amount": 258000, "estimated_total": 276000, "discount": 0, "status": "pending", "revision": 1, "final_order_id": null, "delivery": null, "actor": "助理2", "created": "2026-11-18T02:01:55.000Z", "updated": "2026-11-18T02:01:55.000Z", "cancelled_at": null, "cancelled_reason": null, "lines": [ { "id": "", "line_index": 0, "line": { "name": "足金999", "code": "", "unit": "g", "quantity": 3000, "pocket": "", "payer": "assistant2", "costPayers": { "material": "assistant2", "labor": "assistant2" }, "cost": 258000, "costParts": { "material": 258000, "labor": 0, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 276000, "baseSale": 276000, "charges": [], "pricingMode": "auto", "goldPrice": 90000, "laborRate": 2000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 900.00元/克 + 工费 20.00元/克" }, "locked_mg": 3000, "sell_rate": 90000, "buy_rate": 86000, "buy_payer": "assistant2", "material_amount": 258000, "material_source": "manual", "delivery": null } ], "member": "assistant2", "kind": "priceLock", "credit_card_rate_permille": 6, "material_source": "manual", "cash_events": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 50000, "account": "助理2微信", "payer": null, "source": null, "quantity": null, "rate": null, "number": "SJ20261118-", "customer": "对照锁价客户三", "product": "足金999", "actor": "助理2", "created": "2026-11-18T02:01:55.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null, "card_fee_amount": null, "card_fee_payer": null, "card_fee_expense_id": null, "card_fee_rate": null, "card_fee_note": null } ], "material_events": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "material", "amount": 258000, "account": null, "payer": "assistant2", "source": "original", "quantity": 3000, "rate": 86000, "number": "SJ20261118-", "customer": "对照锁价客户三", "product": "足金999", "actor": "助理2", "created": "2026-11-18T02:01:55.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "card_fee_amount": null, "card_fee_payer": null, "card_fee_expense_id": null, "card_fee_rate": null, "card_fee_note": null } ], "voided_events": [], "received": 50000, "refunded": 0, "netReceived": 50000, "credit_card_fees": [], "credit_card_fee_total": 0 }, "after": { "id": "", "number": "SJ20261118-", "date": "2026-11-18", "customer": "对照锁价客户三", "salesperson": "小昊", "note": "锁价备注", "line": { "name": "足金999", "code": "", "unit": "g", "quantity": 3000, "pocket": "", "payer": "assistant2", "costPayers": { "material": "assistant2", "labor": "assistant2" }, "cost": 258000, "costParts": { "material": 258000, "labor": 0, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 276000, "baseSale": 276000, "charges": [], "pricingMode": "auto", "goldPrice": 90000, "laborRate": 2000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 900.00元/克 + 工费 20.00元/克" }, "locked_mg": 3000, "sell_rate": 90000, "buy_rate": 86000, "buy_payer": "assistant2", "material_amount": 258000, "estimated_total": 276000, "discount": 0, "status": "cancelled", "revision": 2, "final_order_id": null, "delivery": null, "actor": "助理2", "created": "2026-11-18T02:01:55.000Z", "updated": "2026-11-19T02:01:23.000Z", "cancelled_at": "2026-11-19T02:01:23.000Z", "cancelled_reason": "客户不要了", "lines": [ { "id": "", "line_index": 0, "line": { "name": "足金999", "code": "", "unit": "g", "quantity": 3000, "pocket": "", "payer": "assistant2", "costPayers": { "material": "assistant2", "labor": "assistant2" }, "cost": 258000, "costParts": { "material": 258000, "labor": 0, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 276000, "baseSale": 276000, "charges": [], "pricingMode": "auto", "goldPrice": 90000, "laborRate": 2000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 900.00元/克 + 工费 20.00元/克" }, "locked_mg": 3000, "sell_rate": 90000, "buy_rate": 86000, "buy_payer": "assistant2", "material_amount": 258000, "material_source": "manual", "delivery": null } ], "member": "assistant2", "kind": "priceLock", "credit_card_rate_permille": 6, "material_source": "manual", "cash_events": [], "material_events": [], "voided_events": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 50000, "account": "助理2微信", "payer": null, "source": null, "quantity": null, "rate": null, "number": "SJ20261118-", "customer": "对照锁价客户三", "product": "足金999", "actor": "助理2", "created": "2026-11-18T02:01:55.000Z", "line_index": null, "voided": 1, "void_reason": "客户不要了", "voided_at": "2026-11-19T02:01:23.000Z", "card_fee_amount": null, "card_fee_payer": null, "card_fee_expense_id": null, "card_fee_rate": null, "card_fee_note": null }, { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "material", "amount": 258000, "account": null, "payer": "assistant2", "source": "original", "quantity": 3000, "rate": 86000, "number": "SJ20261118-", "customer": "对照锁价客户三", "product": "足金999", "actor": "助理2", "created": "2026-11-18T02:01:55.000Z", "line_index": 0, "voided": 1, "void_reason": "客户不要了", "voided_at": "2026-11-19T02:01:23.000Z", "card_fee_amount": null, "card_fee_payer": null, "card_fee_expense_id": null, "card_fee_rate": null, "card_fee_note": null } ], "received": 0, "refunded": 0, "netReceived": 0, "credit_card_fees": [], "credit_card_fee_total": 0 }, "materialReturnDate": "2026-11-19", "changes": [ { "field": "netReceived", "before": 50000, "after": 0 }, { "field": "status", "before": "pending", "after": "cancelled" } ], "relatedOrders": [], "relatedPriceLocks": [], "stale": false } } }, { "seq": 277, "label": "lock-d-context", "date": "2026-11-19", "actor": "owner", "method": "GET", "path": "/api/price-locks//edit-context", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "eligible": true, "revision": 1, "requiresApproval": false, "reason": "", "inputs": { "date": "2026-11-18", "customer": "对照锁价客户四", "salesperson": "麦麦", "note": "锁价备注", "discount": "0.00", "member": "owner", "payment": { "amount": "800.00", "account": "麦麦微信", "verified": true }, "lines": [ { "name": "足金999", "code": "", "unit": "g", "quantity": "3.000", "goldPrice": "900.00", "laborRate": "20.00", "laborMode": "gram", "pieces": 1, "charges": [], "lineId": "", "material": { "source": "manual", "rate": "850.00", "payer": "owner", "verified": true } } ] }, "lock": { "id": "", "number": "SJ20261118-", "date": "2026-11-18", "customer": "对照锁价客户四", "salesperson": "麦麦", "note": "锁价备注", "line": { "name": "足金999", "code": "", "unit": "g", "quantity": 3000, "pocket": "", "payer": "owner", "costPayers": { "material": "owner", "labor": "owner" }, "cost": 255000, "costParts": { "material": 255000, "labor": 0, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 276000, "baseSale": 276000, "charges": [], "pricingMode": "auto", "goldPrice": 90000, "laborRate": 2000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 900.00元/克 + 工费 20.00元/克" }, "locked_mg": 3000, "sell_rate": 90000, "buy_rate": 85000, "buy_payer": "owner", "material_amount": 255000, "estimated_total": 276000, "discount": 0, "status": "pending", "revision": 1, "final_order_id": null, "delivery": null, "actor": "麦麦", "created": "2026-11-18T02:01:56.000Z", "updated": "2026-11-18T02:01:56.000Z", "cancelled_at": null, "cancelled_reason": null, "lines": [ { "id": "", "line_index": 0, "line": { "name": "足金999", "code": "", "unit": "g", "quantity": 3000, "pocket": "", "payer": "owner", "costPayers": { "material": "owner", "labor": "owner" }, "cost": 255000, "costParts": { "material": 255000, "labor": 0, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 276000, "baseSale": 276000, "charges": [], "pricingMode": "auto", "goldPrice": 90000, "laborRate": 2000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 900.00元/克 + 工费 20.00元/克" }, "locked_mg": 3000, "sell_rate": 90000, "buy_rate": 85000, "buy_payer": "owner", "material_amount": 255000, "material_source": "manual", "delivery": null } ], "member": "owner", "kind": "priceLock", "credit_card_rate_permille": 6, "material_source": "manual", "cash_events": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 80000, "account": "麦麦微信", "payer": null, "source": null, "quantity": null, "rate": null, "number": "SJ20261118-", "customer": "对照锁价客户四", "product": "足金999", "actor": "麦麦", "created": "2026-11-18T02:01:56.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null, "card_fee_amount": null, "card_fee_payer": null, "card_fee_expense_id": null, "card_fee_rate": null, "card_fee_note": null } ], "material_events": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "material", "amount": 255000, "account": null, "payer": "owner", "source": "original", "quantity": 3000, "rate": 85000, "number": "SJ20261118-", "customer": "对照锁价客户四", "product": "足金999", "actor": "麦麦", "created": "2026-11-18T02:01:56.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "card_fee_amount": null, "card_fee_payer": null, "card_fee_expense_id": null, "card_fee_rate": null, "card_fee_note": null } ], "voided_events": [], "received": 80000, "refunded": 0, "netReceived": 80000, "credit_card_fees": [], "credit_card_fee_total": 0 }, "changePending": null } }, { "seq": 278, "label": "lock-cancel-owner", "date": "2026-11-19", "actor": "owner", "method": "POST", "path": "/api/price-locks//cancel", "key": "golden-00131-lock-cancel-owner", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "revision": 1, "reason": "录错作废", "verified": true } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "", "price_lock_id": "", "status": "cancelled", "revision": 2, "lock": { "id": "", "number": "SJ20261118-", "date": "2026-11-18", "customer": "对照锁价客户四", "salesperson": "麦麦", "note": "锁价备注", "line": { "name": "足金999", "code": "", "unit": "g", "quantity": 3000, "pocket": "", "payer": "owner", "costPayers": { "material": "owner", "labor": "owner" }, "cost": 255000, "costParts": { "material": 255000, "labor": 0, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 276000, "baseSale": 276000, "charges": [], "pricingMode": "auto", "goldPrice": 90000, "laborRate": 2000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 900.00元/克 + 工费 20.00元/克" }, "locked_mg": 3000, "sell_rate": 90000, "buy_rate": 85000, "buy_payer": "owner", "material_amount": 255000, "estimated_total": 276000, "discount": 0, "status": "cancelled", "revision": 2, "final_order_id": null, "delivery": null, "actor": "麦麦", "created": "2026-11-18T02:01:56.000Z", "updated": "2026-11-19T02:01:26.000Z", "cancelled_at": "2026-11-19T02:01:26.000Z", "cancelled_reason": "录错作废", "lines": [ { "id": "", "line_index": 0, "line": { "name": "足金999", "code": "", "unit": "g", "quantity": 3000, "pocket": "", "payer": "owner", "costPayers": { "material": "owner", "labor": "owner" }, "cost": 255000, "costParts": { "material": 255000, "labor": 0, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 276000, "baseSale": 276000, "charges": [], "pricingMode": "auto", "goldPrice": 90000, "laborRate": 2000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 900.00元/克 + 工费 20.00元/克" }, "locked_mg": 3000, "sell_rate": 90000, "buy_rate": 85000, "buy_payer": "owner", "material_amount": 255000, "material_source": "manual", "delivery": null } ], "member": "owner", "kind": "priceLock", "credit_card_rate_permille": 6, "material_source": "manual", "cash_events": [], "material_events": [], "voided_events": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 80000, "account": "麦麦微信", "payer": null, "source": null, "quantity": null, "rate": null, "number": "SJ20261118-", "customer": "对照锁价客户四", "product": "足金999", "actor": "麦麦", "created": "2026-11-18T02:01:56.000Z", "line_index": null, "voided": 1, "void_reason": "录错作废", "voided_at": "2026-11-19T02:01:26.000Z", "card_fee_amount": null, "card_fee_payer": null, "card_fee_expense_id": null, "card_fee_rate": null, "card_fee_note": null }, { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "material", "amount": 255000, "account": null, "payer": "owner", "source": "original", "quantity": 3000, "rate": 85000, "number": "SJ20261118-", "customer": "对照锁价客户四", "product": "足金999", "actor": "麦麦", "created": "2026-11-18T02:01:56.000Z", "line_index": 0, "voided": 1, "void_reason": "录错作废", "voided_at": "2026-11-19T02:01:26.000Z", "card_fee_amount": null, "card_fee_payer": null, "card_fee_expense_id": null, "card_fee_rate": null, "card_fee_note": null } ], "received": 0, "refunded": 0, "netReceived": 0, "credit_card_fees": [], "credit_card_fee_total": 0 } } }, { "seq": 279, "label": "lock-before-deliver", "date": "2026-11-19", "actor": "assistant", "method": "GET", "path": "/api/price-locks/", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "", "number": "SJ20261118-", "date": "2026-11-18", "customer": "对照锁价客户(改)", "salesperson": "娜娜", "note": "锁价备注", "line": { "name": "足金999", "code": "", "unit": "g", "quantity": 3000, "pocket": "", "payer": "owner", "costPayers": { "material": "owner", "labor": "owner" }, "cost": 255000, "costParts": { "material": 255000, "labor": 0, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 276000, "baseSale": 276000, "charges": [], "pricingMode": "auto", "goldPrice": 90000, "laborRate": 2000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 900.00元/克 + 工费 20.00元/克" }, "locked_mg": 3000, "sell_rate": 90000, "buy_rate": 85000, "buy_payer": "owner", "material_amount": 255000, "estimated_total": 276000, "discount": 0, "status": "pending", "revision": 2, "final_order_id": null, "delivery": null, "actor": "助理", "created": "2026-11-18T02:01:53.000Z", "updated": "2026-11-19T02:01:21.000Z", "cancelled_at": null, "cancelled_reason": null, "lines": [ { "id": "", "line_index": 0, "line": { "name": "足金999", "code": "", "unit": "g", "quantity": 3000, "pocket": "", "payer": "owner", "costPayers": { "material": "owner", "labor": "owner" }, "cost": 255000, "costParts": { "material": 255000, "labor": 0, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 276000, "baseSale": 276000, "charges": [], "pricingMode": "auto", "goldPrice": 90000, "laborRate": 2000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 900.00元/克 + 工费 20.00元/克" }, "locked_mg": 3000, "sell_rate": 90000, "buy_rate": 85000, "buy_payer": "owner", "material_amount": 255000, "material_source": "manual", "delivery": null } ], "member": "assistant", "kind": "priceLock", "credit_card_rate_permille": 6, "material_source": "manual", "cash_events": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 270000, "account": "助理微信", "payer": null, "source": null, "quantity": null, "rate": null, "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:53.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null, "card_fee_amount": null, "card_fee_payer": null, "card_fee_expense_id": null, "card_fee_rate": null, "card_fee_note": null } ], "material_events": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "material", "amount": 255000, "account": null, "payer": "owner", "source": "original", "quantity": 3000, "rate": 85000, "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:53.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "card_fee_amount": null, "card_fee_payer": null, "card_fee_expense_id": null, "card_fee_rate": null, "card_fee_note": null } ], "voided_events": [], "received": 270000, "refunded": 0, "netReceived": 270000, "credit_card_fees": [], "credit_card_fee_total": 0 } }, { "seq": 280, "label": "lock-deliver", "date": "2026-11-19", "actor": "assistant", "method": "POST", "path": "/api/price-locks//deliver", "key": "golden-00132-lock-deliver", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "date": "2026-11-19", "revision": 2, "verified": true, "line": { "quantity": "3.100", "laborRate": "20", "laborMode": "gram", "pieces": "1", "charges": [ { "name": "服务", "amount": "10" } ], "payer": "assistant", "costParts": { "labor": "30", "accessories": "0", "other": "0" }, "costPayers": { "material": "owner", "labor": "assistant" } }, "discount": "0", "extraMaterial": { "rate": "900", "payer": "assistant", "verified": true }, "inventory": { "pocket": "现货", "original": "receive", "extra": "receive" }, "settlement": { "amount": "162", "account": "助理支付宝", "verified": true }, "fee_items": [ { "key": "shipping", "note": "实际快递", "amount": "6", "payer": "owner" } ] } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "", "order_id": "", "price_lock_id": "", "status": "delivered", "revision": 3 } }, { "seq": 281, "label": "price-locks-after", "date": "2026-11-19", "actor": "owner", "method": "GET", "path": "/api/price-locks?status=all", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "from": "2000-01-01", "date": "2026-11-19", "rows": [ { "id": "", "number": "SJ20261118-", "date": "2026-11-18", "customer": "对照锁价客户(改)", "salesperson": "娜娜", "note": "锁价备注", "line": { "name": "足金999", "code": "", "unit": "g", "quantity": 3000, "pocket": "", "payer": "owner", "costPayers": { "material": "owner", "labor": "owner" }, "cost": 255000, "costParts": { "material": 255000, "labor": 0, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 276000, "baseSale": 276000, "charges": [], "pricingMode": "auto", "goldPrice": 90000, "laborRate": 2000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 900.00元/克 + 工费 20.00元/克" }, "locked_mg": 3000, "sell_rate": 90000, "buy_rate": 85000, "buy_payer": "owner", "material_amount": 255000, "estimated_total": 276000, "discount": 0, "status": "delivered", "revision": 3, "final_order_id": "", "delivery": { "date": "2026-11-19", "total": 286200, "difference": 16200, "lines": [ { "lineId": "", "date": "2026-11-19", "quantity": 3100, "original_used_mg": 3000, "extra_mg": 100, "leftover_mg": 0, "leftover_cost": 0, "inventory": { "pocket": "现货", "original": "receive", "extra": "receive" } } ], "quantity": 3100, "original_used_mg": 3000, "extra_mg": 100, "leftover_mg": 0, "leftover_cost": 0, "inventory": { "pocket": "现货", "original": "receive", "extra": "receive" } }, "actor": "助理", "created": "2026-11-18T02:01:53.000Z", "updated": "2026-11-19T02:01:28.000Z", "cancelled_at": null, "cancelled_reason": null, "lines": [ { "id": "", "line_index": 0, "line": { "name": "足金999", "code": "", "unit": "g", "quantity": 3000, "pocket": "", "payer": "owner", "costPayers": { "material": "owner", "labor": "owner" }, "cost": 255000, "costParts": { "material": 255000, "labor": 0, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 276000, "baseSale": 276000, "charges": [], "pricingMode": "auto", "goldPrice": 90000, "laborRate": 2000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 900.00元/克 + 工费 20.00元/克" }, "locked_mg": 3000, "sell_rate": 90000, "buy_rate": 85000, "buy_payer": "owner", "material_amount": 255000, "material_source": "manual", "delivery": { "lineId": "", "date": "2026-11-19", "quantity": 3100, "original_used_mg": 3000, "extra_mg": 100, "leftover_mg": 0, "leftover_cost": 0, "inventory": { "pocket": "现货", "original": "receive", "extra": "receive" } } } ], "member": "assistant", "kind": "priceLock", "credit_card_rate_permille": 6, "material_source": "manual", "cash_events": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 270000, "account": "助理微信", "payer": null, "source": null, "quantity": null, "rate": null, "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:53.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null, "card_fee_amount": null, "card_fee_payer": null, "card_fee_expense_id": null, "card_fee_rate": null, "card_fee_note": null }, { "id": "", "price_lock_id": "", "date": "2026-11-19", "kind": "receipt", "amount": 16200, "account": "助理支付宝", "payer": null, "source": null, "quantity": null, "rate": null, "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-19T02:01:28.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null, "card_fee_amount": null, "card_fee_payer": null, "card_fee_expense_id": null, "card_fee_rate": null, "card_fee_note": null } ], "material_events": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "material", "amount": 255000, "account": null, "payer": "owner", "source": "original", "quantity": 3000, "rate": 85000, "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:53.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "card_fee_amount": null, "card_fee_payer": null, "card_fee_expense_id": null, "card_fee_rate": null, "card_fee_note": null }, { "id": "", "price_lock_id": "", "date": "2026-11-19", "kind": "material", "amount": 9000, "account": null, "payer": "assistant", "source": "extra", "quantity": 100, "rate": 90000, "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-19T02:01:28.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "card_fee_amount": null, "card_fee_payer": null, "card_fee_expense_id": null, "card_fee_rate": null, "card_fee_note": null } ], "voided_events": [], "received": 286200, "refunded": 0, "netReceived": 286200, "credit_card_fees": [], "credit_card_fee_total": 0 }, { "id": "", "number": "SJ20261118-", "date": "2026-11-18", "customer": "对照锁价客户二", "salesperson": "娜娜", "note": "锁价备注", "line": { "name": "足金999", "code": "", "unit": "g", "quantity": 3000, "pocket": "", "payer": "owner", "costPayers": { "material": "owner", "labor": "owner" }, "cost": 255000, "costParts": { "material": 255000, "labor": 0, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 276000, "baseSale": 276000, "charges": [], "pricingMode": "auto", "goldPrice": 90000, "laborRate": 2000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 900.00元/克 + 工费 20.00元/克" }, "locked_mg": 3000, "sell_rate": 90000, "buy_rate": 85000, "buy_payer": "owner", "material_amount": 255000, "estimated_total": 276000, "discount": 0, "status": "pending", "revision": 2, "final_order_id": null, "delivery": null, "actor": "助理", "created": "2026-11-18T02:01:54.000Z", "updated": "2026-11-18T02:02:02.000Z", "cancelled_at": null, "cancelled_reason": null, "lines": [ { "id": "", "line_index": 0, "line": { "name": "足金999", "code": "", "unit": "g", "quantity": 3000, "pocket": "", "payer": "owner", "costPayers": { "material": "owner", "labor": "owner" }, "cost": 255000, "costParts": { "material": 255000, "labor": 0, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 276000, "baseSale": 276000, "charges": [], "pricingMode": "auto", "goldPrice": 90000, "laborRate": 2000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 900.00元/克 + 工费 20.00元/克" }, "locked_mg": 3000, "sell_rate": 90000, "buy_rate": 85000, "buy_payer": "owner", "material_amount": 255000, "material_source": "manual", "delivery": null } ], "member": "assistant", "kind": "priceLock", "credit_card_rate_permille": 6, "material_source": "manual", "cash_events": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 120000, "account": "助理支付宝", "payer": null, "source": null, "quantity": null, "rate": null, "number": "SJ20261118-", "customer": "对照锁价客户二", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:02:02.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null, "card_fee_amount": null, "card_fee_payer": null, "card_fee_expense_id": null, "card_fee_rate": null, "card_fee_note": null } ], "material_events": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "material", "amount": 255000, "account": null, "payer": "owner", "source": "original", "quantity": 3000, "rate": 85000, "number": "SJ20261118-", "customer": "对照锁价客户二", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:54.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "card_fee_amount": null, "card_fee_payer": null, "card_fee_expense_id": null, "card_fee_rate": null, "card_fee_note": null } ], "voided_events": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 100000, "account": "助理支付宝", "payer": null, "source": null, "quantity": null, "rate": null, "number": "SJ20261118-", "customer": "对照锁价客户二", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:54.000Z", "line_index": null, "voided": 1, "void_reason": "当天更正收款", "voided_at": "2026-11-18T02:02:02.000Z", "card_fee_amount": null, "card_fee_payer": null, "card_fee_expense_id": null, "card_fee_rate": null, "card_fee_note": null } ], "received": 120000, "refunded": 0, "netReceived": 120000, "credit_card_fees": [], "credit_card_fee_total": 0 }, { "id": "", "number": "SJ20261118-", "date": "2026-11-18", "customer": "对照锁价客户三", "salesperson": "小昊", "note": "锁价备注", "line": { "name": "足金999", "code": "", "unit": "g", "quantity": 3000, "pocket": "", "payer": "assistant2", "costPayers": { "material": "assistant2", "labor": "assistant2" }, "cost": 258000, "costParts": { "material": 258000, "labor": 0, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 276000, "baseSale": 276000, "charges": [], "pricingMode": "auto", "goldPrice": 90000, "laborRate": 2000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 900.00元/克 + 工费 20.00元/克" }, "locked_mg": 3000, "sell_rate": 90000, "buy_rate": 86000, "buy_payer": "assistant2", "material_amount": 258000, "estimated_total": 276000, "discount": 0, "status": "pending", "revision": 1, "final_order_id": null, "delivery": null, "actor": "助理2", "created": "2026-11-18T02:01:55.000Z", "updated": "2026-11-18T02:01:55.000Z", "cancelled_at": null, "cancelled_reason": null, "lines": [ { "id": "", "line_index": 0, "line": { "name": "足金999", "code": "", "unit": "g", "quantity": 3000, "pocket": "", "payer": "assistant2", "costPayers": { "material": "assistant2", "labor": "assistant2" }, "cost": 258000, "costParts": { "material": 258000, "labor": 0, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 276000, "baseSale": 276000, "charges": [], "pricingMode": "auto", "goldPrice": 90000, "laborRate": 2000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 900.00元/克 + 工费 20.00元/克" }, "locked_mg": 3000, "sell_rate": 90000, "buy_rate": 86000, "buy_payer": "assistant2", "material_amount": 258000, "material_source": "manual", "delivery": null } ], "member": "assistant2", "kind": "priceLock", "credit_card_rate_permille": 6, "material_source": "manual", "cash_events": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 50000, "account": "助理2微信", "payer": null, "source": null, "quantity": null, "rate": null, "number": "SJ20261118-", "customer": "对照锁价客户三", "product": "足金999", "actor": "助理2", "created": "2026-11-18T02:01:55.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null, "card_fee_amount": null, "card_fee_payer": null, "card_fee_expense_id": null, "card_fee_rate": null, "card_fee_note": null } ], "material_events": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "material", "amount": 258000, "account": null, "payer": "assistant2", "source": "original", "quantity": 3000, "rate": 86000, "number": "SJ20261118-", "customer": "对照锁价客户三", "product": "足金999", "actor": "助理2", "created": "2026-11-18T02:01:55.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "card_fee_amount": null, "card_fee_payer": null, "card_fee_expense_id": null, "card_fee_rate": null, "card_fee_note": null } ], "voided_events": [], "received": 50000, "refunded": 0, "netReceived": 50000, "credit_card_fees": [], "credit_card_fee_total": 0 }, { "id": "", "number": "SJ20261118-", "date": "2026-11-18", "customer": "对照锁价客户四", "salesperson": "麦麦", "note": "锁价备注", "line": { "name": "足金999", "code": "", "unit": "g", "quantity": 3000, "pocket": "", "payer": "owner", "costPayers": { "material": "owner", "labor": "owner" }, "cost": 255000, "costParts": { "material": 255000, "labor": 0, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 276000, "baseSale": 276000, "charges": [], "pricingMode": "auto", "goldPrice": 90000, "laborRate": 2000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 900.00元/克 + 工费 20.00元/克" }, "locked_mg": 3000, "sell_rate": 90000, "buy_rate": 85000, "buy_payer": "owner", "material_amount": 255000, "estimated_total": 276000, "discount": 0, "status": "cancelled", "revision": 2, "final_order_id": null, "delivery": null, "actor": "麦麦", "created": "2026-11-18T02:01:56.000Z", "updated": "2026-11-19T02:01:26.000Z", "cancelled_at": "2026-11-19T02:01:26.000Z", "cancelled_reason": "录错作废", "lines": [ { "id": "", "line_index": 0, "line": { "name": "足金999", "code": "", "unit": "g", "quantity": 3000, "pocket": "", "payer": "owner", "costPayers": { "material": "owner", "labor": "owner" }, "cost": 255000, "costParts": { "material": 255000, "labor": 0, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 276000, "baseSale": 276000, "charges": [], "pricingMode": "auto", "goldPrice": 90000, "laborRate": 2000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 900.00元/克 + 工费 20.00元/克" }, "locked_mg": 3000, "sell_rate": 90000, "buy_rate": 85000, "buy_payer": "owner", "material_amount": 255000, "material_source": "manual", "delivery": null } ], "member": "owner", "kind": "priceLock", "credit_card_rate_permille": 6, "material_source": "manual", "cash_events": [], "material_events": [], "voided_events": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 80000, "account": "麦麦微信", "payer": null, "source": null, "quantity": null, "rate": null, "number": "SJ20261118-", "customer": "对照锁价客户四", "product": "足金999", "actor": "麦麦", "created": "2026-11-18T02:01:56.000Z", "line_index": null, "voided": 1, "void_reason": "录错作废", "voided_at": "2026-11-19T02:01:26.000Z", "card_fee_amount": null, "card_fee_payer": null, "card_fee_expense_id": null, "card_fee_rate": null, "card_fee_note": null }, { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "material", "amount": 255000, "account": null, "payer": "owner", "source": "original", "quantity": 3000, "rate": 85000, "number": "SJ20261118-", "customer": "对照锁价客户四", "product": "足金999", "actor": "麦麦", "created": "2026-11-18T02:01:56.000Z", "line_index": 0, "voided": 1, "void_reason": "录错作废", "voided_at": "2026-11-19T02:01:26.000Z", "card_fee_amount": null, "card_fee_payer": null, "card_fee_expense_id": null, "card_fee_rate": null, "card_fee_note": null } ], "received": 0, "refunded": 0, "netReceived": 0, "credit_card_fees": [], "credit_card_fee_total": 0 } ], "counts": { "pending": 2, "delivered": 1, "cancelled": 1 } } }, { "seq": 282, "label": "state-after-lock-deliver", "date": "2026-11-19", "actor": "assistant", "method": "GET", "path": "/api/state", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "today": "2026-11-19", "mode": "trial", "user": { "id": "", "name": "助理", "role": "assistant", "member": "assistant", "operatorName": "娜娜", "label": "娜娜" }, "members": [ { "member": "owner", "label": "麦麦", "enabled": true }, { "member": "assistant", "label": "娜娜", "enabled": true }, { "member": "assistant2", "label": "小昊", "enabled": true } ], "shopSettings": { "version": 1, "revision": 7, "storeName": "黄金对照珠宝", "receiptSubtitle": "黄金对照销售单", "contact": "联系电话 000-0000", "members": [ { "member": "owner", "label": "麦麦" }, { "member": "assistant", "label": "娜娜" }, { "member": "assistant2", "label": "小昊" } ], "creditCardRatePermille": 6, "costPresets": { "jd": { "amount": "8", "payer": "owner" }, "yt": { "amount": "6", "payer": "order" }, "box": { "amount": "3", "payer": "owner" }, "steel": { "amount": "7", "payer": "owner" }, "silver": { "amount": "18", "payer": "owner" } }, "feeDefaults": { "certificate": "4", "packaging": "3", "shipping": "8", "packagingPayer": "owner" } }, "pockets": [ "现货", "金料", "找金", "回收旧料", "君宝汇", "pocket_" ], "pocketCatalog": [ { "key": "现货", "name": "现货", "active": true, "self": true, "builtin": true, "revision": 1, "created": "2026-11-18T02:00:00.000Z", "updated": "2026-11-18T02:00:00.000Z", "countUnit": null, "countSince": null }, { "key": "金料", "name": "金料", "active": true, "self": true, "builtin": true, "revision": 1, "created": "2026-11-18T02:00:00.000Z", "updated": "2026-11-18T02:00:00.000Z", "countUnit": null, "countSince": null }, { "key": "找金", "name": "找金", "active": true, "self": false, "builtin": true, "revision": 1, "created": "2026-11-18T02:00:00.000Z", "updated": "2026-11-18T02:00:00.000Z", "countUnit": null, "countSince": null }, { "key": "回收旧料", "name": "回收旧料", "active": true, "self": true, "builtin": true, "revision": 1, "created": "2026-11-18T02:00:00.000Z", "updated": "2026-11-18T02:00:00.000Z", "countUnit": null, "countSince": null }, { "key": "君宝汇", "name": "君宝汇", "active": true, "self": false, "builtin": true, "revision": 1, "created": "2026-11-18T02:00:00.000Z", "updated": "2026-11-18T02:00:00.000Z", "countUnit": null, "countSince": null }, { "key": "臻金汇", "name": "臻金汇", "active": false, "self": false, "builtin": true, "revision": 1, "created": "2026-11-18T02:00:00.000Z", "updated": "2026-11-18T02:00:00.000Z", "countUnit": null, "countSince": null }, { "key": "金金", "name": "金金", "active": false, "self": false, "builtin": true, "revision": 1, "created": "2026-11-18T02:00:00.000Z", "updated": "2026-11-18T02:00:00.000Z", "countUnit": null, "countSince": null }, { "key": "定制工厂", "name": "定制工厂", "active": false, "self": false, "builtin": true, "revision": 1, "created": "2026-11-18T02:00:00.000Z", "updated": "2026-11-18T02:00:00.000Z", "countUnit": null, "countSince": null }, { "key": "pocket_", "name": "展柜A(主)", "active": true, "self": true, "builtin": false, "revision": 2, "created": "2026-11-18T02:00:32.000Z", "updated": "2026-11-18T02:00:34.000Z", "countUnit": null, "countSince": null } ], "accounts": [ "助理微信", "助理支付宝", "助理现金", "麦麦微信", "麦麦支付宝", "麦麦现金", "麦麦信用卡", "助理2微信", "助理2支付宝", "助理2现金" ], "inventory": [ { "pocket": "现货", "mg": 82450, "reserved": 0, "available": 82450 }, { "pocket": "金料", "mg": 56000, "reserved": 0, "available": 56000 }, { "pocket": "找金", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "回收旧料", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "君宝汇", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "臻金汇", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "金金", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "定制工厂", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "pocket_", "mg": 10000, "reserved": 0, "available": 10000 } ], "orders": [ { "id": "", "number": "MM20261119-", "date": "2026-11-19", "customer": "对照锁价客户(改)", "salesperson": "娜娜", "note": "锁价备注;锁价单 SJ20261118-;按原锁定金价 900.00元/克结算", "paper_number": "20261119010", "status": "delivered", "lines": [ { "name": "足金999", "code": "", "unit": "g", "quantity": 3100, "pocket": "现货", "payer": "assistant", "costPayers": { "material": "owner", "labor": "assistant" }, "cost": 267000, "costParts": { "material": 264000, "labor": 3000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 286200, "baseSale": 285200, "charges": [ { "name": "服务", "amount": 1000 } ], "pricingMode": "auto", "goldPrice": 90000, "laborRate": 2000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 900.00元/克 + 工费 20.00元/克", "lineId": "", "materialAllocations": [ { "source": "original", "quantity": 3000, "rate": 85000, "amount": 255000, "payer": "owner" }, { "source": "extra", "quantity": 100, "rate": 90000, "amount": 9000, "payer": "assistant" } ] } ], "discount": 0, "total": 286200, "revision": 3, "reviewed_revision": 0, "created": "2026-11-19T02:01:28.000Z", "delivered_date": "2026-11-19", "returned_date": null, "paper_date": "2026-11-19", "payment_account": "助理支付宝", "fee_items": [ { "key": "shipping", "amount": 600, "payer": "owner", "note": "实际快递", "status": "recorded", "edited": false } ], "fees_date": "2026-11-19", "rounding_mode": "yuan", "internal_note": "", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": null, "ownershipPending": null, "ownershipApproved": null, "price_lock_id": "", "corrections": [], "received": 286200, "refunded": 0, "netReceived": 286200, "balance": 0, "rounding_adjustment": 0, "goodsCost": 267000, "directCost": 600, "materialCostPending": false, "knownGoodsCost": 267000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 18600, "profit": 18600, "knownProfit": 18600, "ownerCost": 255600, "assistantInventoryCredit": 0, "assistantInventoryCreditSources": [], "assistantInventoryCreditExplanation": "", "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "sync": { "revision": 3, "done_revision": 0, "error": null, "updated": "2026-11-19T02:01:28.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 }, { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照客户丁", "salesperson": "娜娜", "note": "", "paper_number": "20261118004", "status": "delivered", "lines": [ { "name": "足金999", "code": "", "unit": "g", "quantity": 3000, "pocket": "", "payer": "assistant", "cost": 272000, "costParts": { "material": 272000, "labor": 0, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "pool", "poolId": "2026-11-18" }, "costLabor": { "mode": "total" }, "sale": 330000, "baseSale": 330000, "charges": [], "pricingMode": "manual", "priceNote": "", "materialPool": { "poolId": "2026-11-18", "date": "2026-11-18", "status": "allocated", "amount": 272000, "quantity": 3000, "averageRate": 90667, "allocations": [ { "payer": "assistant", "amount": 272000 } ], "revision": "e3072e81dd7b585b863bbbe6f312844a32ece32c2856aea4df479b9ceab74c55" } } ], "discount": 0, "total": 330000, "revision": 5, "reviewed_revision": 0, "created": "2026-11-18T02:01:20.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理现金", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "料池单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": { "id": "", "status": "approved", "action": "expense", "action_label": "费用补记", "order_revision": 4, "reason": "补记快递", "requester_name": "助理", "created": "2026-11-19T02:00:36.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:00:37.000Z", "note": "核实" }, "ownershipPending": null, "ownershipApproved": null, "corrections": [], "received": 330000, "refunded": 0, "netReceived": 330000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 272000, "directCost": 1000, "materialCostPending": false, "knownGoodsCost": 272000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 57000, "profit": 57000, "knownProfit": 57000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "sync": { "revision": 5, "done_revision": 0, "error": null, "updated": "2026-11-19T02:00:37.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 }, { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照客户丙", "salesperson": "麦麦", "note": "老板改备注", "paper_number": "20261118003", "status": "delivered", "lines": [ { "name": "金镶玉吊坠", "code": "", "unit": "件", "quantity": 1, "pocket": "", "payer": "owner", "cost": 150000, "sale": 288840, "baseSale": 288840, "charges": [], "pricingMode": "manual", "priceNote": "一口价" } ], "discount": 300, "total": 288500, "revision": 5, "reviewed_revision": 0, "created": "2026-11-18T02:01:19.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "麦麦信用卡", "fee_items": [ { "key": "card_fee:", "system": "credit_card", "source_kind": "payment", "source_id": "", "date": "2026-11-18", "amount": 1731, "payer": "owner", "note": "信用卡手续费(6‰)", "rate_permille": 6, "status": "recorded", "expense_id": "" } ], "fees_date": "2026-11-18", "rounding_mode": "yuan", "internal_note": "一口价备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": null, "ownershipPending": null, "ownershipApproved": null, "corrections": [], "received": 288500, "refunded": 0, "netReceived": 288500, "balance": 0, "rounding_adjustment": -40, "goodsCost": 150000, "directCost": 1731, "materialCostPending": false, "knownGoodsCost": 150000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 136769, "profit": 136769, "knownProfit": 136769, "ownerCost": 151731, "ownerDirect": 288500, "ownerCredit": 288500, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "sync": { "revision": 5, "done_revision": 0, "error": null, "updated": "2026-11-19T02:00:39.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 }, { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照客户甲(改)", "salesperson": "娜娜", "note": "客户单备注", "paper_number": "20261118001", "status": "delivered", "lines": [ { "name": "足金999", "code": "", "unit": "g", "quantity": 3250, "pocket": "现货", "payer": "assistant", "costPayers": { "material": "owner", "labor": "assistant" }, "cost": 290200, "costParts": { "material": 286000, "labor": 4000, "accessories": 200, "other": 0 }, "costMaterial": { "mode": "gram", "rate": 88000 }, "costLabor": { "mode": "total" }, "sale": 321050, "baseSale": 318500, "charges": [ { "name": "刻字", "amount": 2000 }, { "name": "包装", "amount": 550 } ], "pricingMode": "auto", "goldPrice": 95000, "laborRate": 3000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 950.00元/克 + 工费 30.00元/克" } ], "discount": 0, "total": 321100, "revision": 5, "reviewed_revision": 0, "created": "2026-11-18T02:01:17.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理微信", "fee_items": [ { "key": "shipping", "amount": 1200, "payer": "assistant", "note": "快递", "status": "recorded", "edited": true, "date": "2026-11-18", "expense_id": "" } ], "fees_date": "2026-11-18", "rounding_mode": "yuan", "internal_note": "#复购 内部备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": { "id": "", "status": "approved", "action": "edit", "action_label": "修改订单", "order_revision": 4, "reason": "跨天修改客户名", "requester_name": "助理", "created": "2026-11-19T02:00:25.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:00:31.000Z", "note": "凭据已核对" }, "ownershipPending": null, "ownershipApproved": null, "corrections": [], "received": 321100, "refunded": 0, "netReceived": 321100, "balance": 0, "rounding_adjustment": 50, "goodsCost": 290200, "directCost": 1200, "materialCostPending": false, "knownGoodsCost": 290200, "pendingFees": [], "draftFees": 0, "estimatedProfit": 29700, "profit": 29700, "knownProfit": 29700, "ownerCost": 286000, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "sync": { "revision": 5, "done_revision": 0, "error": null, "updated": "2026-11-19T02:00:31.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 } ], "priceLockCounts": { "pending": 1, "delivered": 1, "cancelled": 0 }, "materialPoolSummary": { "totalMg": 31000, "totalAmount": 2808000, "usedMg": 3000, "remainingMg": 28000, "shortageMg": 0, "consumedCost": 272000, "remainingCost": 2536000, "pendingCount": 0, "purchaseCount": 3 }, "materialPoolSettlement": { "legacyReadOnly": true, "settlementDue": null, "knownSettlementDue": null, "pendingCount": 0, "pools": [] }, "materialPoolAllocation": { "version": 1, "targetVersion": 2, "migrationRequired": true, "usageCount": 1, "activeUsageCount": 1 }, "sync": { "enabled": false }, "printing": { "store": "黄金对照珠宝", "subtitle": "黄金对照销售单", "contact": "联系电话 000-0000", "width": 241, "height": 140, "offsetX": 2, "offsetY": 3, "rows": 3, "contentTop": 12, "rowHeight": 10 }, "backup": null, "movements": [ { "id": "", "group_id": "", "order_id": "", "date": "2026-11-19", "pocket": "现货", "mg": -3100, "kind": "sale", "note": "MM20261119-", "purchase_cost": null, "actor": "助理", "created": "2026-11-19T02:01:28.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-19", "pocket": "现货", "mg": 100, "kind": "lock_purchase", "note": "SJ20261118- 足金999 补重黄金入库", "purchase_cost": 9000, "actor": "助理", "created": "2026-11-19T02:01:28.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-19", "pocket": "现货", "mg": 3000, "kind": "lock_purchase", "note": "SJ20261118- 足金999 原锁定黄金入库", "purchase_cost": 255000, "actor": "助理", "created": "2026-11-19T02:01:28.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "after-sale:", "date": "2026-11-19", "pocket": "金料", "mg": 1000, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "return", "note": "MM20261118- · 售后回收旧料", "actor": "麦麦", "created": "2026-11-19T02:01:05.000Z", "groupId": "after-sale:", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "date": "2026-11-18", "pocket": "现货", "mg": 1500, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "order_cancel_reverse", "note": "MM20261118-;审批作废:重复录入", "actor": "麦麦", "created": "2026-11-19T02:00:45.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": null, "date": "2026-11-19", "pocket": "金料", "mg": -1200, "kind": "manual_reversal", "note": "手动库存更正冲回:", "purchase_cost": null, "actor": "麦麦", "created": "2026-11-19T02:00:21.000Z", "groupId": "", "revision": 3, "manual": false, "current": false, "status": "deleted", "reversal": true, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": null, "date": "2026-11-19", "pocket": "金料", "mg": 1200, "kind": "increase", "note": "当天手动入库", "purchase_cost": null, "actor": "助理", "created": "2026-11-19T02:00:19.000Z", "groupId": "", "revision": 3, "manual": true, "current": false, "status": "deleted", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": null, "date": "2026-11-19", "pocket": "金料", "mg": -1000, "kind": "manual_reversal", "note": "手动库存更正冲回:", "purchase_cost": null, "actor": "助理", "created": "2026-11-19T02:00:19.000Z", "groupId": "", "revision": 3, "manual": false, "current": false, "status": "deleted", "reversal": true, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": null, "date": "2026-11-19", "pocket": "金料", "mg": 1000, "kind": "increase", "note": "当天手动入库", "purchase_cost": null, "actor": "助理", "created": "2026-11-19T02:00:16.000Z", "groupId": "", "revision": 3, "manual": true, "current": false, "status": "deleted", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": null, "date": "2026-11-18", "pocket": "现货", "mg": 3000, "kind": "increase", "note": "娜娜手动入库", "purchase_cost": null, "actor": "麦麦", "created": "2026-11-19T02:00:11.000Z", "groupId": "", "revision": 2, "manual": true, "current": true, "status": "modified", "reversal": false, "canEdit": true, "canDelete": true, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": null, "date": "2026-11-18", "pocket": "现货", "mg": -2500, "kind": "manual_reversal", "note": "手动库存更正冲回:", "purchase_cost": null, "actor": "麦麦", "created": "2026-11-19T02:00:11.000Z", "groupId": "", "revision": 2, "manual": false, "current": false, "status": "modified", "reversal": true, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "date": "2026-11-18", "pocket": "现货", "mg": -4000, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "sale", "note": "MM20261118-", "actor": "麦麦", "created": "2026-11-18T02:01:34.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "date": "2026-11-18", "pocket": "现货", "mg": -800, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "sale", "note": "MM20261118-", "actor": "助理", "created": "2026-11-18T02:01:26.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "date": "2026-11-18", "pocket": "现货", "mg": -5000, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "sale", "note": "MM20261118-", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "date": "2026-11-18", "pocket": "现货", "mg": -1500, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "sale", "note": "MM20261118-", "actor": "助理2", "created": "2026-11-18T02:01:24.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "date": "2026-11-18", "pocket": "pocket_", "mg": -10000, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "sale", "note": "MM20261118-", "actor": "麦麦", "created": "2026-11-18T02:01:23.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "date": "2026-11-18", "pocket": "现货", "mg": -2000, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "sale", "note": "MM20261118-", "actor": "助理2", "created": "2026-11-18T02:01:18.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-18", "pocket": "现货", "mg": -3250, "kind": "sale", "note": "MM20261118-", "purchase_cost": null, "actor": "助理", "created": "2026-11-18T02:01:17.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": null, "date": "2026-11-18", "pocket": "现货", "mg": -500, "kind": "decrease", "note": "娜娜手动出库", "purchase_cost": null, "actor": "助理", "created": "2026-11-18T02:01:05.000Z", "groupId": "", "revision": 1, "manual": true, "current": true, "status": "active", "reversal": false, "canEdit": true, "canDelete": true, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": null, "date": "2026-11-18", "pocket": "现货", "mg": 2500, "kind": "increase", "note": "娜娜手动入库", "purchase_cost": null, "actor": "助理", "created": "2026-11-18T02:01:04.000Z", "groupId": "", "revision": 2, "manual": true, "current": false, "status": "modified", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "date": "2026-11-18", "pocket": "金料", "mg": 5000, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "transfer", "note": "调拨", "actor": "麦麦", "created": "2026-11-18T02:01:03.000Z", "groupId": "", "revision": 1, "manual": true, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "date": "2026-11-18", "pocket": "现货", "mg": -5000, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "transfer", "note": "调拨", "actor": "麦麦", "created": "2026-11-18T02:01:03.000Z", "groupId": "", "revision": 1, "manual": true, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "date": "2026-11-18", "pocket": "pocket_", "mg": 20000, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "opening", "note": "展柜起始", "actor": "麦麦", "created": "2026-11-18T02:01:02.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "date": "2026-11-18", "pocket": "金料", "mg": 50000, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "opening", "note": "黄金对照起始金料", "actor": "麦麦", "created": "2026-11-18T02:01:01.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "date": "2026-11-18", "pocket": "现货", "mg": 100000, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "opening", "note": "黄金对照起始库存", "actor": "麦麦", "created": "2026-11-18T02:01:00.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false } ] } }, { "seq": 283, "note": "section", "name": "exchangesD2" }, { "seq": 284, "label": "exchange-quote", "date": "2026-11-19", "actor": "assistant2", "method": "POST", "path": "/api/recoveries/quote", "key": null, "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "mode": "exchange", "date": "2026-11-19", "customer": "对照换货客户", "salesperson": "小昊", "old_lines": [ { "name": "Au旧料", "incoming_weight": "8", "melted_weight": "8", "purity": "99.9" } ], "buy_rate": "900", "payer": "assistant2", "payment_account": "助理2微信", "verified": true, "exchange": { "name": "足金对照新货", "quantity": "12", "pocket": "现货", "gold_price": "1000", "labor_rate": "20", "labor_mode": "gram", "depreciation_rate": "10", "cost_material": { "mode": "gram", "rate": "900" }, "cost_labor": { "mode": "gram", "rate": "5" }, "cost_payer": "assistant2", "discount": "0", "rounding_mode": "cent" } } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "mode": "exchange", "date": "2026-11-19", "customer": "对照换货客户", "customer_type": "unknown", "salesperson": "小昊", "member": "assistant2", "note": "", "old_lines": [ { "name": "Au旧料", "incomingMg": 8000, "meltedMg": 8000, "purity": 99.9, "foldedMg": 7992 } ], "oldMg": 7992, "oldPocket": "回收旧料", "credit_card_rate_permille": 6, "newMg": 12000, "matchedMg": 7992, "differenceMg": 4008, "surplusMg": 0, "goldRate": 100000, "laborRate": 2000, "laborMode": "gram", "depreciationRate": 1000, "depreciationMg": 7992, "goldAmount": 400800, "laborAmount": 24000, "depreciationAmount": 7992, "charges": [], "chargesAmount": 0, "discount": 0, "rounding_mode": "cent", "rounding_adjustment": 0, "receivable": 432792, "payer": "assistant2", "payment_account": "助理2微信", "materialCost": 360720, "laborCost": 6000, "goodsCost": 366720, "directCost": 0, "profit": 66072, "newProduct": { "name": "足金对照新货", "quantity": 12000, "pocket": "现货" }, "exchange": { "costMaterial": { "mode": "total", "rate": 90000, "consumptionMg": 4008 }, "costLabor": { "mode": "gram", "rate": 500 }, "costPayer": "assistant2", "costPayers": { "material": "assistant2", "labor": "assistant2" }, "fee_items": [] }, "purchaseMg": 0, "buyRate": 0, "calculatedPurchaseAmount": 0, "purchaseAmount": 0, "actualBuyRate": null, "offsetAmount": 0, "netSettlement": 432792, "cashReceipt": 432792, "cashPayment": 0, "cardFee": 0, "paymentMethods": [ "微信" ] } }, { "seq": 285, "label": "recovery-exchange", "date": "2026-11-19", "actor": "assistant2", "method": "POST", "path": "/api/recoveries", "key": "golden-00133-recovery-exchange", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "mode": "exchange", "date": "2026-11-19", "customer": "对照换货客户", "salesperson": "小昊", "old_lines": [ { "name": "Au旧料", "incoming_weight": "8", "melted_weight": "8", "purity": "99.9" } ], "buy_rate": "900", "payer": "assistant2", "payment_account": "助理2微信", "verified": true, "exchange": { "name": "足金对照新货", "quantity": "12", "pocket": "现货", "gold_price": "1000", "labor_rate": "20", "labor_mode": "gram", "depreciation_rate": "10", "cost_material": { "mode": "gram", "rate": "900" }, "cost_labor": { "mode": "gram", "rate": "5" }, "cost_payer": "assistant2", "discount": "0", "rounding_mode": "cent" } } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "mode": "exchange", "date": "2026-11-19", "customer": "对照换货客户", "customer_type": "unknown", "salesperson": "小昊", "member": "assistant2", "note": "", "old_lines": [ { "name": "Au旧料", "incomingMg": 8000, "meltedMg": 8000, "purity": 99.9, "foldedMg": 7992 } ], "oldMg": 7992, "oldPocket": "回收旧料", "credit_card_rate_permille": 6, "newMg": 12000, "matchedMg": 7992, "differenceMg": 4008, "surplusMg": 0, "goldRate": 100000, "laborRate": 2000, "laborMode": "gram", "depreciationRate": 1000, "depreciationMg": 7992, "goldAmount": 400800, "laborAmount": 24000, "depreciationAmount": 7992, "charges": [], "chargesAmount": 0, "discount": 0, "rounding_mode": "cent", "rounding_adjustment": 0, "receivable": 432792, "payer": "assistant2", "payment_account": "助理2微信", "materialCost": 360720, "laborCost": 6000, "goodsCost": 366720, "directCost": 0, "profit": 66072, "newProduct": { "name": "足金对照新货", "quantity": 12000, "pocket": "现货" }, "exchange": { "costMaterial": { "mode": "total", "rate": 90000, "consumptionMg": 4008 }, "costLabor": { "mode": "gram", "rate": 500 }, "costPayer": "assistant2", "costPayers": { "material": "assistant2", "labor": "assistant2" }, "fee_items": [] }, "purchaseMg": 0, "buyRate": 0, "calculatedPurchaseAmount": 0, "purchaseAmount": 0, "actualBuyRate": null, "offsetAmount": 0, "netSettlement": 432792, "cashReceipt": 432792, "cashPayment": 0, "cardFee": 0, "paymentMethods": [ "微信" ], "id": "", "number": "HS202611190001", "order_id": "", "purchase_id": null, "created": "2026-11-19T02:01:32.000Z", "actor": "助理2", "revision": 1, "paper_number": "20261119011", "materialCostPending": false, "status": "active", "cancelledAt": "", "canEdit": true, "canCancel": true, "pendingRequestId": null, "immutableReason": "本单关联黄金回收/置换、购料及库存,暂不支持普通订单修改、取消、退款、退货或费用变更,请保留原关联记录" } }, { "seq": 286, "label": "recovery-exchange-2", "date": "2026-11-19", "actor": "assistant", "method": "POST", "path": "/api/recoveries", "key": "golden-00134-recovery-exchange-2", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "mode": "exchange", "date": "2026-11-19", "customer": "对照换货客户二", "salesperson": "娜娜", "old_lines": [ { "name": "Au旧料", "incoming_weight": "5", "melted_weight": "4.9", "purity": "99" } ], "buy_rate": "900", "payer": "assistant", "payment_account": "助理微信", "verified": true, "exchange": { "name": "足金对照新货", "quantity": "6", "pocket": "现货", "gold_price": "1000", "labor_rate": "20", "labor_mode": "gram", "depreciation_rate": "10", "cost_material": { "mode": "gram", "rate": "900" }, "cost_labor": { "mode": "gram", "rate": "5" }, "cost_payer": "assistant", "discount": "10", "rounding_mode": "yuan" } } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "mode": "exchange", "date": "2026-11-19", "customer": "对照换货客户二", "customer_type": "unknown", "salesperson": "娜娜", "member": "assistant", "note": "", "old_lines": [ { "name": "Au旧料", "incomingMg": 5000, "meltedMg": 4900, "purity": 99, "foldedMg": 4851 } ], "oldMg": 4851, "oldPocket": "回收旧料", "credit_card_rate_permille": 6, "newMg": 6000, "matchedMg": 4851, "differenceMg": 1149, "surplusMg": 0, "goldRate": 100000, "laborRate": 2000, "laborMode": "gram", "depreciationRate": 1000, "depreciationMg": 4851, "goldAmount": 114900, "laborAmount": 12000, "depreciationAmount": 4851, "charges": [], "chargesAmount": 0, "discount": 1000, "rounding_mode": "yuan", "rounding_adjustment": 49, "receivable": 130800, "payer": "assistant", "payment_account": "助理微信", "materialCost": 103410, "laborCost": 3000, "goodsCost": 106410, "directCost": 0, "profit": 24390, "newProduct": { "name": "足金对照新货", "quantity": 6000, "pocket": "现货" }, "exchange": { "costMaterial": { "mode": "total", "rate": 90000, "consumptionMg": 1149 }, "costLabor": { "mode": "gram", "rate": 500 }, "costPayer": "assistant", "costPayers": { "material": "assistant", "labor": "assistant" }, "fee_items": [] }, "purchaseMg": 0, "buyRate": 0, "calculatedPurchaseAmount": 0, "purchaseAmount": 0, "actualBuyRate": null, "offsetAmount": 0, "netSettlement": 130800, "cashReceipt": 130800, "cashPayment": 0, "cardFee": 0, "paymentMethods": [ "微信" ], "id": "", "number": "HS202611190002", "order_id": "", "purchase_id": null, "created": "2026-11-19T02:01:33.000Z", "actor": "助理", "revision": 1, "paper_number": "20261119012", "materialCostPending": false, "status": "active", "cancelledAt": "", "canEdit": true, "canCancel": true, "pendingRequestId": null, "immutableReason": "本单关联黄金回收/置换、购料及库存,暂不支持普通订单修改、取消、退款、退货或费用变更,请保留原关联记录" } }, { "seq": 287, "label": "recoveries-assistant2", "date": "2026-11-19", "actor": "assistant2", "method": "GET", "path": "/api/recoveries", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "from": "2026-11-19", "date": "2026-11-19", "rows": [ { "mode": "exchange", "date": "2026-11-19", "customer": "对照换货客户", "customer_type": "unknown", "salesperson": "小昊", "member": "assistant2", "note": "", "old_lines": [ { "name": "Au旧料", "incomingMg": 8000, "meltedMg": 8000, "purity": 99.9, "foldedMg": 7992 } ], "oldMg": 7992, "oldPocket": "回收旧料", "credit_card_rate_permille": 6, "newMg": 12000, "matchedMg": 7992, "differenceMg": 4008, "surplusMg": 0, "goldRate": 100000, "laborRate": 2000, "laborMode": "gram", "depreciationRate": 1000, "depreciationMg": 7992, "goldAmount": 400800, "laborAmount": 24000, "depreciationAmount": 7992, "charges": [], "chargesAmount": 0, "discount": 0, "rounding_mode": "cent", "rounding_adjustment": 0, "receivable": 432792, "payer": "assistant2", "payment_account": "助理2微信", "materialCost": 360720, "laborCost": 6000, "goodsCost": 366720, "directCost": 0, "profit": 66072, "newProduct": { "name": "足金对照新货", "quantity": 12000, "pocket": "现货" }, "exchange": { "costMaterial": { "mode": "total", "rate": 90000, "consumptionMg": 4008 }, "costLabor": { "mode": "gram", "rate": 500 }, "costPayer": "assistant2", "costPayers": { "material": "assistant2", "labor": "assistant2" }, "fee_items": [] }, "purchaseMg": 0, "buyRate": 0, "calculatedPurchaseAmount": 0, "purchaseAmount": 0, "actualBuyRate": null, "offsetAmount": 0, "netSettlement": 432792, "cashReceipt": 432792, "cashPayment": 0, "cardFee": 0, "paymentMethods": [ "微信" ], "id": "", "number": "HS202611190001", "order_id": "", "purchase_id": null, "created": "2026-11-19T02:01:32.000Z", "actor": "助理2", "revision": 1, "paper_number": "20261119011", "materialCostPending": false, "status": "active", "cancelledAt": "", "canEdit": true, "canCancel": true, "pendingRequestId": null, "immutableReason": "本单关联黄金回收/置换、购料及库存,暂不支持普通订单修改、取消、退款、退货或费用变更,请保留原关联记录", "printStatus": { "kind": "recovery", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } } ], "summary": { "count": 1, "cancelledCount": 0, "directCount": 0, "exchangeCount": 1, "oldMg": 7992, "newMg": 12000, "purchaseMg": 0, "purchaseAmount": 0, "receivable": 432792, "offsetAmount": 0, "cashReceipt": 432792, "cashPayment": 0 } } }, { "seq": 288, "label": "recoveries-owner", "date": "2026-11-19", "actor": "owner", "method": "GET", "path": "/api/recoveries", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "from": "2026-11-19", "date": "2026-11-19", "rows": [ { "mode": "exchange", "date": "2026-11-19", "customer": "对照换货客户二", "customer_type": "unknown", "salesperson": "娜娜", "member": "assistant", "note": "", "old_lines": [ { "name": "Au旧料", "incomingMg": 5000, "meltedMg": 4900, "purity": 99, "foldedMg": 4851 } ], "oldMg": 4851, "oldPocket": "回收旧料", "credit_card_rate_permille": 6, "newMg": 6000, "matchedMg": 4851, "differenceMg": 1149, "surplusMg": 0, "goldRate": 100000, "laborRate": 2000, "laborMode": "gram", "depreciationRate": 1000, "depreciationMg": 4851, "goldAmount": 114900, "laborAmount": 12000, "depreciationAmount": 4851, "charges": [], "chargesAmount": 0, "discount": 1000, "rounding_mode": "yuan", "rounding_adjustment": 49, "receivable": 130800, "payer": "assistant", "payment_account": "助理微信", "materialCost": 103410, "laborCost": 3000, "goodsCost": 106410, "directCost": 0, "profit": 24390, "newProduct": { "name": "足金对照新货", "quantity": 6000, "pocket": "现货" }, "exchange": { "costMaterial": { "mode": "total", "rate": 90000, "consumptionMg": 1149 }, "costLabor": { "mode": "gram", "rate": 500 }, "costPayer": "assistant", "costPayers": { "material": "assistant", "labor": "assistant" }, "fee_items": [] }, "purchaseMg": 0, "buyRate": 0, "calculatedPurchaseAmount": 0, "purchaseAmount": 0, "actualBuyRate": null, "offsetAmount": 0, "netSettlement": 130800, "cashReceipt": 130800, "cashPayment": 0, "cardFee": 0, "paymentMethods": [ "微信" ], "id": "", "number": "HS202611190002", "order_id": "", "purchase_id": null, "created": "2026-11-19T02:01:33.000Z", "actor": "助理", "revision": 1, "paper_number": "20261119012", "materialCostPending": false, "status": "active", "cancelledAt": "", "canEdit": true, "canCancel": true, "pendingRequestId": null, "immutableReason": "本单关联黄金回收/置换、购料及库存,暂不支持普通订单修改、取消、退款、退货或费用变更,请保留原关联记录", "printStatus": { "kind": "recovery", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "mode": "exchange", "date": "2026-11-19", "customer": "对照换货客户", "customer_type": "unknown", "salesperson": "小昊", "member": "assistant2", "note": "", "old_lines": [ { "name": "Au旧料", "incomingMg": 8000, "meltedMg": 8000, "purity": 99.9, "foldedMg": 7992 } ], "oldMg": 7992, "oldPocket": "回收旧料", "credit_card_rate_permille": 6, "newMg": 12000, "matchedMg": 7992, "differenceMg": 4008, "surplusMg": 0, "goldRate": 100000, "laborRate": 2000, "laborMode": "gram", "depreciationRate": 1000, "depreciationMg": 7992, "goldAmount": 400800, "laborAmount": 24000, "depreciationAmount": 7992, "charges": [], "chargesAmount": 0, "discount": 0, "rounding_mode": "cent", "rounding_adjustment": 0, "receivable": 432792, "payer": "assistant2", "payment_account": "助理2微信", "materialCost": 360720, "laborCost": 6000, "goodsCost": 366720, "directCost": 0, "profit": 66072, "newProduct": { "name": "足金对照新货", "quantity": 12000, "pocket": "现货" }, "exchange": { "costMaterial": { "mode": "total", "rate": 90000, "consumptionMg": 4008 }, "costLabor": { "mode": "gram", "rate": 500 }, "costPayer": "assistant2", "costPayers": { "material": "assistant2", "labor": "assistant2" }, "fee_items": [] }, "purchaseMg": 0, "buyRate": 0, "calculatedPurchaseAmount": 0, "purchaseAmount": 0, "actualBuyRate": null, "offsetAmount": 0, "netSettlement": 432792, "cashReceipt": 432792, "cashPayment": 0, "cardFee": 0, "paymentMethods": [ "微信" ], "id": "", "number": "HS202611190001", "order_id": "", "purchase_id": null, "created": "2026-11-19T02:01:32.000Z", "actor": "助理2", "revision": 1, "paper_number": "20261119011", "materialCostPending": false, "status": "active", "cancelledAt": "", "canEdit": true, "canCancel": true, "pendingRequestId": null, "immutableReason": "本单关联黄金回收/置换、购料及库存,暂不支持普通订单修改、取消、退款、退货或费用变更,请保留原关联记录", "printStatus": { "kind": "recovery", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } } ], "summary": { "count": 2, "cancelledCount": 0, "directCount": 0, "exchangeCount": 2, "oldMg": 12843, "newMg": 18000, "purchaseMg": 0, "purchaseAmount": 0, "receivable": 563592, "offsetAmount": 0, "cashReceipt": 563592, "cashPayment": 0 } } }, { "seq": 289, "label": "recovery-exchange-detail", "date": "2026-11-19", "actor": "assistant2", "method": "GET", "path": "/api/recoveries/", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "mode": "exchange", "date": "2026-11-19", "customer": "对照换货客户", "customer_type": "unknown", "salesperson": "小昊", "member": "assistant2", "note": "", "old_lines": [ { "name": "Au旧料", "incomingMg": 8000, "meltedMg": 8000, "purity": 99.9, "foldedMg": 7992 } ], "oldMg": 7992, "oldPocket": "回收旧料", "credit_card_rate_permille": 6, "newMg": 12000, "matchedMg": 7992, "differenceMg": 4008, "surplusMg": 0, "goldRate": 100000, "laborRate": 2000, "laborMode": "gram", "depreciationRate": 1000, "depreciationMg": 7992, "goldAmount": 400800, "laborAmount": 24000, "depreciationAmount": 7992, "charges": [], "chargesAmount": 0, "discount": 0, "rounding_mode": "cent", "rounding_adjustment": 0, "receivable": 432792, "payer": "assistant2", "payment_account": "助理2微信", "materialCost": 360720, "laborCost": 6000, "goodsCost": 366720, "directCost": 0, "profit": 66072, "newProduct": { "name": "足金对照新货", "quantity": 12000, "pocket": "现货" }, "exchange": { "costMaterial": { "mode": "total", "rate": 90000, "consumptionMg": 4008 }, "costLabor": { "mode": "gram", "rate": 500 }, "costPayer": "assistant2", "costPayers": { "material": "assistant2", "labor": "assistant2" }, "fee_items": [] }, "purchaseMg": 0, "buyRate": 0, "calculatedPurchaseAmount": 0, "purchaseAmount": 0, "actualBuyRate": null, "offsetAmount": 0, "netSettlement": 432792, "cashReceipt": 432792, "cashPayment": 0, "cardFee": 0, "paymentMethods": [ "微信" ], "id": "", "number": "HS202611190001", "order_id": "", "purchase_id": null, "created": "2026-11-19T02:01:32.000Z", "actor": "助理2", "revision": 1, "paper_number": "20261119011", "materialCostPending": false, "status": "active", "cancelledAt": "", "canEdit": true, "canCancel": true, "pendingRequestId": null, "immutableReason": "本单关联黄金回收/置换、购料及库存,暂不支持普通订单修改、取消、退款、退货或费用变更,请保留原关联记录", "printStatus": { "kind": "recovery", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } } }, { "seq": 290, "label": "recovery-foreign", "date": "2026-11-19", "actor": "assistant", "method": "GET", "path": "/api/recoveries/", "key": null, "status": 404, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "error": "记录不存在或无权访问" } }, { "seq": 291, "label": "print-exchange", "date": "2026-11-19", "actor": "assistant2", "method": "GET", "path": "/print/recoveries/", "key": null, "status": 200, "contentType": "text/html; charset=utf-8", "disposition": null, "setCookie": null, "body": { "text": "HS202611190001 · 黄金置换单
","printed":false,"revision":0,"updated":null,"actor":null,"sourceRevision":1,"user":""}\" role=\"status\">未打印固定241×140mm横版;打印窗口也选241×140mm,关闭页眉页脚。正在调整为一页…

黄金对照珠宝

黄金置换单
客户:对照换货客户日期:2026-11-19单号:HS202611190001
开单人:小昊收款方式:微信

旧料(Au 黄金)

序号旧料名称来料克重(克)熔后克重(克)成色折后克重(克)
1Au 黄金 · Au旧料8.008.0099.9%7.99
旧料折后合计:7.99 克

换走新货

序号新货名称全克重(克)
1足金对照新货12.00
换走新货全克重合计:12.00 克

置换结算明细

项目计价说明金额(元)
补金差价4.01 克 × ¥1000.00/克+¥4008.00
新货工费12.00 克 × ¥20.00/克+¥240.00
折旧费7.99 克 × ¥10.00/克+¥79.92
附加项目+¥0.00
优惠−¥0.00
余料回收款0.00 克 × ¥0.00/克−¥0.00
结算人民币大写:肆仟叁佰贰拾柒元玖角贰分
客户补款:¥4327.92
备注:—
联系电话:联系电话 000-0000
经办人:小昊 ________________
" } }, { "seq": 292, "label": "print-status-recovery", "date": "2026-11-19", "actor": "assistant2", "method": "GET", "path": "/api/print-status/recovery/", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "kind": "recovery", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null, "sourceRevision": 1 } }, { "seq": 293, "label": "print-status-recovery-set", "date": "2026-11-19", "actor": "assistant2", "method": "POST", "path": "/api/print-status/recovery/", "key": "golden-00135-print-status-recovery-set", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "printed": true, "revision": 0, "sourceRevision": 1 } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "kind": "recovery", "id": "", "printed": true, "revision": 1, "updated": "2026-11-19T02:01:40.000Z", "actor": "助理2", "sourceRevision": 1 } }, { "seq": 294, "label": "recovery-exchange-detail-after-print", "date": "2026-11-19", "actor": "assistant2", "method": "GET", "path": "/api/recoveries/", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "mode": "exchange", "date": "2026-11-19", "customer": "对照换货客户", "customer_type": "unknown", "salesperson": "小昊", "member": "assistant2", "note": "", "old_lines": [ { "name": "Au旧料", "incomingMg": 8000, "meltedMg": 8000, "purity": 99.9, "foldedMg": 7992 } ], "oldMg": 7992, "oldPocket": "回收旧料", "credit_card_rate_permille": 6, "newMg": 12000, "matchedMg": 7992, "differenceMg": 4008, "surplusMg": 0, "goldRate": 100000, "laborRate": 2000, "laborMode": "gram", "depreciationRate": 1000, "depreciationMg": 7992, "goldAmount": 400800, "laborAmount": 24000, "depreciationAmount": 7992, "charges": [], "chargesAmount": 0, "discount": 0, "rounding_mode": "cent", "rounding_adjustment": 0, "receivable": 432792, "payer": "assistant2", "payment_account": "助理2微信", "materialCost": 360720, "laborCost": 6000, "goodsCost": 366720, "directCost": 0, "profit": 66072, "newProduct": { "name": "足金对照新货", "quantity": 12000, "pocket": "现货" }, "exchange": { "costMaterial": { "mode": "total", "rate": 90000, "consumptionMg": 4008 }, "costLabor": { "mode": "gram", "rate": 500 }, "costPayer": "assistant2", "costPayers": { "material": "assistant2", "labor": "assistant2" }, "fee_items": [] }, "purchaseMg": 0, "buyRate": 0, "calculatedPurchaseAmount": 0, "purchaseAmount": 0, "actualBuyRate": null, "offsetAmount": 0, "netSettlement": 432792, "cashReceipt": 432792, "cashPayment": 0, "cardFee": 0, "paymentMethods": [ "微信" ], "id": "", "number": "HS202611190001", "order_id": "", "purchase_id": null, "created": "2026-11-19T02:01:32.000Z", "actor": "助理2", "revision": 1, "paper_number": "20261119011", "materialCostPending": false, "status": "active", "cancelledAt": "", "canEdit": true, "canCancel": true, "pendingRequestId": null, "immutableReason": "本单关联黄金回收/置换、购料及库存,暂不支持普通订单修改、取消、退款、退货或费用变更,请保留原关联记录", "printStatus": { "kind": "recovery", "id": "", "printed": true, "revision": 1, "updated": "2026-11-19T02:01:40.000Z", "actor": "助理2" } } }, { "seq": 295, "label": "print-exchange-order", "date": "2026-11-19", "actor": "assistant2", "method": "GET", "path": "/print/", "key": null, "status": 200, "contentType": "text/html; charset=utf-8", "disposition": null, "setCookie": null, "body": { "text": "HS202611190001 · 黄金置换单
","printed":true,"revision":1,"updated":"2026-11-19T02:01:40.000Z","actor":"助理2","sourceRevision":4,"user":""}\" role=\"status\">✓ 已打印固定241×140mm横版;打印窗口也选241×140mm,关闭页眉页脚。正在调整为一页…

黄金对照珠宝

黄金置换单
客户:对照换货客户日期:2026-11-19单号:HS202611190001
开单人:小昊收款方式:微信

旧料(Au 黄金)

序号旧料名称来料克重(克)熔后克重(克)成色折后克重(克)
1Au 黄金 · Au旧料8.008.0099.9%7.99
旧料折后合计:7.99 克

换走新货

序号新货名称全克重(克)
1足金对照新货12.00
换走新货全克重合计:12.00 克

置换结算明细

项目计价说明金额(元)
补金差价4.01 克 × ¥1000.00/克+¥4008.00
新货工费12.00 克 × ¥20.00/克+¥240.00
折旧费7.99 克 × ¥10.00/克+¥79.92
附加项目+¥0.00
优惠−¥0.00
余料回收款0.00 克 × ¥0.00/克−¥0.00
结算人民币大写:肆仟叁佰贰拾柒元玖角贰分
客户补款:¥4327.92
备注:—
联系电话:联系电话 000-0000
经办人:小昊 ________________
" } }, { "seq": 296, "label": null, "date": "2026-11-19", "actor": "assistant", "method": "POST", "path": "/api/customer-materials", "key": "golden-00136-customer-materials", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "date": "2026-11-19", "grams": "1.5", "memo": "对照寄存袋", "verified": true } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "", "number": "JC202611190001", "date": "2026-11-19", "mg": 1500, "remainingMg": 1500, "usedMg": 0, "memo": "对照寄存袋", "actor": "助理", "created": "2026-11-19T02:01:43.000Z", "events": [] } }, { "seq": 297, "label": "customer-material-unverified", "date": "2026-11-19", "actor": "assistant", "method": "POST", "path": "/api/customer-materials", "key": "golden-00137-customer-material-unverified", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "date": "2026-11-19", "grams": "1.5", "memo": "对照寄存袋", "verified": false } }, "status": 400, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "error": "请确认寄存克重和备忘" } }, { "seq": 298, "label": "customer-materials-owner", "date": "2026-11-19", "actor": "owner", "method": "GET", "path": "/api/customer-materials", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "rows": [ { "id": "", "number": "JC202611190001", "date": "2026-11-19", "mg": 1500, "remainingMg": 1500, "usedMg": 0, "memo": "对照寄存袋", "actor": "助理", "created": "2026-11-19T02:01:43.000Z", "events": [] } ], "totalMg": 1500, "remainingMg": 1500, "usedMg": 0 } }, { "seq": 299, "label": "customer-materials-assistant", "date": "2026-11-19", "actor": "assistant", "method": "GET", "path": "/api/customer-materials", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "rows": [ { "id": "", "number": "JC202611190001", "date": "2026-11-19", "mg": 1500, "remainingMg": 1500, "usedMg": 0, "memo": "对照寄存袋", "actor": "助理", "created": "2026-11-19T02:01:43.000Z", "events": [] } ], "totalMg": 1500, "remainingMg": 1500, "usedMg": 0 } }, { "seq": 300, "label": "customer-materials-assistant2", "date": "2026-11-19", "actor": "assistant2", "method": "GET", "path": "/api/customer-materials", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "rows": [ { "id": "", "number": "JC202611190001", "date": "2026-11-19", "mg": 1500, "remainingMg": 1500, "usedMg": 0, "memo": "对照寄存袋", "actor": "助理", "created": "2026-11-19T02:01:43.000Z", "events": [] } ], "totalMg": 1500, "remainingMg": 1500, "usedMg": 0 } }, { "seq": 301, "note": "section", "name": "sameDayD2" }, { "seq": 302, "label": "issue-d2", "date": "2026-11-19", "actor": "assistant", "method": "POST", "path": "/api/orders/issue", "key": "golden-00138-issue-d2", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "date": "2026-11-19", "customer": "当天客户", "internal_note": "当天单备注", "salesperson": "娜娜", "payment_account": "助理微信", "rounding_mode": "cent", "lines": [ { "name": "足金吊坠", "unit": "g", "quantity": "2", "pocket": "现货", "payer": "assistant", "sale": "2100", "cost": "1800" } ], "fee_items": [] } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "" } }, { "seq": 303, "label": "same-day-edit-context", "date": "2026-11-19", "actor": "assistant", "method": "GET", "path": "/api/orders//edit", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "eligible": true, "financialEditable": true, "reason": "", "revision": 4, "inputs": { "id": "", "date": "2026-11-19", "customer": "当天客户", "customer_type": "unknown", "salesperson": "娜娜", "note": "", "internal_note": "当天单备注", "discount": "0.00", "rounding_mode": "cent", "fee_cost_mode": "legacy", "fees_date": "2026-11-19", "payment_account": "助理微信", "lines": [ { "name": "足金吊坠", "code": "", "unit": "g", "quantity": "2.000", "pocket": "现货", "payer": "assistant", "cost": "1800.00", "costMaterial": { "mode": "gram" }, "costLabor": { "mode": "total", "rate": "" }, "sale": "2100.00", "baseSale": "2100.00", "charges": [], "pricingMode": "manual", "priceNote": "" } ], "fee_items": [] }, "order": { "id": "", "number": "MM20261119-", "date": "2026-11-19", "customer": "当天客户", "salesperson": "娜娜", "note": "", "paper_number": "20261119013", "status": "delivered", "lines": [ { "name": "足金吊坠", "code": "", "unit": "g", "quantity": 2000, "pocket": "现货", "payer": "assistant", "cost": 180000, "sale": 210000, "baseSale": 210000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 210000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-19T02:01:48.000Z", "delivered_date": "2026-11-19", "returned_date": null, "paper_date": "2026-11-19", "payment_account": "助理微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "当天单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": null, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-19", "kind": "receipt", "amount": 210000, "account": "助理微信", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-19T02:01:48.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 210000, "refunded": 0, "netReceived": 210000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 180000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 180000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 30000, "profit": 30000, "knownProfit": 30000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "audit": [ { "action": "生成已交付单据", "actor": "助理", "detail": { "amount": 210000, "account": "助理微信", "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-19T02:01:48.000Z" }, { "action": "complete", "actor": "助理", "detail": { "date": "2026-11-19", "verified": true, "revision": 4, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-19T02:01:48.000Z" }, { "action": "deliver", "actor": "助理", "detail": { "date": "2026-11-19", "verified": true, "revision": 4, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-19T02:01:48.000Z" }, { "action": "receipt", "actor": "助理", "detail": { "date": "2026-11-19", "amount": "2100.00", "account": "助理微信", "credit_card_fee_payer": "owner", "verified": true, "reference": "开单时已全额收款", "revision": 3, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-19T02:01:48.000Z" }, { "action": "confirm", "actor": "助理", "detail": { "date": "2026-11-19", "revision": 2, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-19T02:01:48.000Z" }, { "action": "保存草稿", "actor": "助理", "detail": { "revision": 1, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-19T02:01:48.000Z" } ], "sync": { "revision": 4, "done_revision": 0, "error": null, "updated": "2026-11-19T02:01:48.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 }, "requiresLegacyCountVerified": false, "legacyCountNotice": "", "directEditDate": "2026-11-19", "requiresApproval": false, "changePending": null } }, { "seq": 304, "label": "same-day-edit-direct", "date": "2026-11-19", "actor": "assistant", "method": "POST", "path": "/api/orders//edit", "key": "golden-00139-same-day-edit-direct", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "id": "", "date": "2026-11-19", "customer": "当天客户(改)", "customer_type": "unknown", "salesperson": "娜娜", "note": "", "internal_note": "当天单备注", "discount": "0.00", "rounding_mode": "cent", "fee_cost_mode": "legacy", "fees_date": "2026-11-19", "payment_account": "助理微信", "lines": [ { "name": "足金吊坠", "code": "", "unit": "g", "quantity": "2.000", "pocket": "现货", "payer": "assistant", "cost": "1800.00", "costMaterial": { "mode": "gram" }, "costLabor": { "mode": "total", "rate": "" }, "sale": "2100.00", "baseSale": "2100.00", "charges": [], "pricingMode": "manual", "priceNote": "" } ], "fee_items": [], "revision": 4, "reason": "当天改客户", "verified": true } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "", "revision": 5, "order": { "id": "", "number": "MM20261119-", "date": "2026-11-19", "customer": "当天客户(改)", "salesperson": "娜娜", "note": "", "paper_number": "20261119013", "status": "delivered", "lines": [ { "name": "足金吊坠", "code": "", "unit": "g", "quantity": 2000, "pocket": "现货", "payer": "assistant", "cost": 180000, "sale": 210000, "baseSale": 210000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 210000, "revision": 5, "reviewed_revision": 0, "created": "2026-11-19T02:01:48.000Z", "delivered_date": "2026-11-19", "returned_date": null, "paper_date": "2026-11-19", "payment_account": "助理微信", "fee_items": [], "fees_date": "2026-11-19", "rounding_mode": "cent", "internal_note": "当天单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": null, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-19", "kind": "receipt", "amount": 210000, "account": "助理微信", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-19T02:01:48.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 210000, "refunded": 0, "netReceived": 210000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 180000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 180000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 30000, "profit": 30000, "knownProfit": 30000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "audit": [ { "action": "整单账务修改", "actor": "助理", "detail": { "reason": "当天改客户", "before": { "order": { "id": "", "number": "MM20261119-", "date": "2026-11-19", "customer": "当天客户", "salesperson": "娜娜", "note": "", "paper_number": "20261119013", "status": "delivered", "lines": [ { "name": "足金吊坠", "code": "", "unit": "g", "quantity": 2000, "pocket": "现货", "payer": "assistant", "cost": 180000, "sale": 210000, "baseSale": 210000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 210000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-19T02:01:48.000Z", "delivered_date": "2026-11-19", "returned_date": null, "paper_date": "2026-11-19", "payment_account": "助理微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "当天单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant" }, "payments": [ { "id": "", "order_id": "", "date": "2026-11-19", "kind": "receipt", "amount": 210000, "account": "助理微信", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-19T02:01:48.000Z" } ], "expenses": [], "settlements": [], "journal": [ { "id": "", "order_id": "", "date": "2026-11-19", "kind": "交付", "sales": 210000, "goods": 180000, "expense": 0, "profit": 30000, "created": "2026-11-19T02:01:48.000Z" } ], "movements": [ { "id": "", "group_id": "", "order_id": "", "date": "2026-11-19", "pocket": "现货", "mg": -2000, "kind": "sale", "note": "MM20261119-", "purchase_cost": null, "actor": "助理", "created": "2026-11-19T02:01:48.000Z" } ] }, "after": { "order": { "id": "", "number": "MM20261119-", "date": "2026-11-19", "customer": "当天客户(改)", "salesperson": "娜娜", "note": "", "paper_number": "20261119013", "status": "delivered", "lines": [ { "name": "足金吊坠", "code": "", "unit": "g", "quantity": 2000, "pocket": "现货", "payer": "assistant", "cost": 180000, "sale": 210000, "baseSale": 210000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 210000, "revision": 5, "reviewed_revision": 0, "created": "2026-11-19T02:01:48.000Z", "delivered_date": "2026-11-19", "returned_date": null, "paper_date": "2026-11-19", "payment_account": "助理微信", "fee_items": [], "fees_date": "2026-11-19", "rounding_mode": "cent", "internal_note": "当天单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant" }, "revision": 5, "received": 210000, "goods": 180000, "expense": 0, "profit": 30000, "settlementDue": 0 }, "notice": "原收支、库存和利润流水保留;实际双方交款原样保留,按更正后应结金额计算差额", "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-19T02:01:50.000Z" }, { "action": "生成已交付单据", "actor": "助理", "detail": { "amount": 210000, "account": "助理微信", "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-19T02:01:48.000Z" }, { "action": "complete", "actor": "助理", "detail": { "date": "2026-11-19", "verified": true, "revision": 4, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-19T02:01:48.000Z" }, { "action": "deliver", "actor": "助理", "detail": { "date": "2026-11-19", "verified": true, "revision": 4, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-19T02:01:48.000Z" }, { "action": "receipt", "actor": "助理", "detail": { "date": "2026-11-19", "amount": "2100.00", "account": "助理微信", "credit_card_fee_payer": "owner", "verified": true, "reference": "开单时已全额收款", "revision": 3, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-19T02:01:48.000Z" }, { "action": "confirm", "actor": "助理", "detail": { "date": "2026-11-19", "revision": 2, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-19T02:01:48.000Z" }, { "action": "保存草稿", "actor": "助理", "detail": { "revision": 1, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-19T02:01:48.000Z" } ], "sync": { "revision": 5, "done_revision": 0, "error": null, "updated": "2026-11-19T02:01:50.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 } } }, { "seq": 305, "label": "order-d2-detail", "date": "2026-11-19", "actor": "assistant", "method": "GET", "path": "/api/orders/", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "", "number": "MM20261119-", "date": "2026-11-19", "customer": "当天客户(改)", "salesperson": "娜娜", "note": "", "paper_number": "20261119013", "status": "delivered", "lines": [ { "name": "足金吊坠", "code": "", "unit": "g", "quantity": 2000, "pocket": "现货", "payer": "assistant", "cost": 180000, "sale": 210000, "baseSale": 210000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 210000, "revision": 5, "reviewed_revision": 0, "created": "2026-11-19T02:01:48.000Z", "delivered_date": "2026-11-19", "returned_date": null, "paper_date": "2026-11-19", "payment_account": "助理微信", "fee_items": [], "fees_date": "2026-11-19", "rounding_mode": "cent", "internal_note": "当天单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": null, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-19", "kind": "receipt", "amount": 210000, "account": "助理微信", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-19T02:01:48.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 210000, "refunded": 0, "netReceived": 210000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 180000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 180000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 30000, "profit": 30000, "knownProfit": 30000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "audit": [ { "action": "整单账务修改", "actor": "助理", "detail": { "reason": "当天改客户", "before": { "order": { "id": "", "number": "MM20261119-", "date": "2026-11-19", "customer": "当天客户", "salesperson": "娜娜", "note": "", "paper_number": "20261119013", "status": "delivered", "lines": [ { "name": "足金吊坠", "code": "", "unit": "g", "quantity": 2000, "pocket": "现货", "payer": "assistant", "cost": 180000, "sale": 210000, "baseSale": 210000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 210000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-19T02:01:48.000Z", "delivered_date": "2026-11-19", "returned_date": null, "paper_date": "2026-11-19", "payment_account": "助理微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "当天单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant" }, "payments": [ { "id": "", "order_id": "", "date": "2026-11-19", "kind": "receipt", "amount": 210000, "account": "助理微信", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-19T02:01:48.000Z" } ], "expenses": [], "settlements": [], "journal": [ { "id": "", "order_id": "", "date": "2026-11-19", "kind": "交付", "sales": 210000, "goods": 180000, "expense": 0, "profit": 30000, "created": "2026-11-19T02:01:48.000Z" } ], "movements": [ { "id": "", "group_id": "", "order_id": "", "date": "2026-11-19", "pocket": "现货", "mg": -2000, "kind": "sale", "note": "MM20261119-", "purchase_cost": null, "actor": "助理", "created": "2026-11-19T02:01:48.000Z" } ] }, "after": { "order": { "id": "", "number": "MM20261119-", "date": "2026-11-19", "customer": "当天客户(改)", "salesperson": "娜娜", "note": "", "paper_number": "20261119013", "status": "delivered", "lines": [ { "name": "足金吊坠", "code": "", "unit": "g", "quantity": 2000, "pocket": "现货", "payer": "assistant", "cost": 180000, "sale": 210000, "baseSale": 210000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 210000, "revision": 5, "reviewed_revision": 0, "created": "2026-11-19T02:01:48.000Z", "delivered_date": "2026-11-19", "returned_date": null, "paper_date": "2026-11-19", "payment_account": "助理微信", "fee_items": [], "fees_date": "2026-11-19", "rounding_mode": "cent", "internal_note": "当天单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant" }, "revision": 5, "received": 210000, "goods": 180000, "expense": 0, "profit": 30000, "settlementDue": 0 }, "notice": "原收支、库存和利润流水保留;实际双方交款原样保留,按更正后应结金额计算差额", "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-19T02:01:50.000Z" }, { "action": "生成已交付单据", "actor": "助理", "detail": { "amount": 210000, "account": "助理微信", "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-19T02:01:48.000Z" }, { "action": "complete", "actor": "助理", "detail": { "date": "2026-11-19", "verified": true, "revision": 4, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-19T02:01:48.000Z" }, { "action": "deliver", "actor": "助理", "detail": { "date": "2026-11-19", "verified": true, "revision": 4, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-19T02:01:48.000Z" }, { "action": "receipt", "actor": "助理", "detail": { "date": "2026-11-19", "amount": "2100.00", "account": "助理微信", "credit_card_fee_payer": "owner", "verified": true, "reference": "开单时已全额收款", "revision": 3, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-19T02:01:48.000Z" }, { "action": "confirm", "actor": "助理", "detail": { "date": "2026-11-19", "revision": 2, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-19T02:01:48.000Z" }, { "action": "保存草稿", "actor": "助理", "detail": { "revision": 1, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-19T02:01:48.000Z" } ], "sync": { "revision": 5, "done_revision": 0, "error": null, "updated": "2026-11-19T02:01:50.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } } }, { "seq": 306, "label": "same-day-expense", "date": "2026-11-19", "actor": "assistant", "method": "POST", "path": "/api/orders//expense", "key": "golden-00140-same-day-expense", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "date": "2026-11-19", "revision": 5, "reason": "当天快递", "verified": true, "amount": "8", "payer": "assistant", "note": "当天快递" } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "" } }, { "seq": 307, "label": "ownership-context-same-day", "date": "2026-11-19", "actor": "assistant", "method": "GET", "path": "/api/orders//ownership", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "eligible": true, "reason": "", "revision": 6, "member": "assistant", "members": [ { "member": "owner", "label": "麦麦", "enabled": true }, { "member": "assistant", "label": "娜娜", "enabled": true }, { "member": "assistant2", "label": "小昊", "enabled": true } ], "requiresApproval": true, "canDirect": false, "canApprove": false, "pending": null, "requests": [] } }, { "seq": 308, "label": "ownership-request-same-day", "date": "2026-11-19", "actor": "assistant", "method": "POST", "path": "/api/orders//ownership", "key": "golden-00141-ownership-request-same-day", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "member": "assistant2", "revision": 6, "reason": "实际由小昊接待", "verified": true } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "", "requestId": "", "request": { "id": "", "order_id": "", "order_revision": 6, "from_member": "assistant", "to_member": "assistant2", "reason": "实际由小昊接待", "status": "pending", "direct": false, "requester_id": "", "requester_name": "助理", "requester_role": "assistant", "created": "2026-11-19T02:01:54.000Z", "reviewer_id": null, "reviewer_name": null, "reviewed": null, "note": "", "before": { "member": "assistant", "label": "娜娜" }, "after": { "member": "assistant2", "label": "小昊" }, "order_number": "MM20261119-", "order_customer": "当天客户(改)", "order_date": "2026-11-19", "order_status": "delivered", "stale": false, "canApprove": false }, "applied": false, "revision": 6, "member": "assistant", "order": { "id": "", "number": "MM20261119-", "date": "2026-11-19", "customer": "当天客户(改)", "salesperson": "娜娜", "note": "", "paper_number": "20261119013", "status": "delivered", "lines": [ { "name": "足金吊坠", "code": "", "unit": "g", "quantity": 2000, "pocket": "现货", "payer": "assistant", "cost": 180000, "sale": 210000, "baseSale": 210000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 210000, "revision": 6, "reviewed_revision": 0, "created": "2026-11-19T02:01:48.000Z", "delivered_date": "2026-11-19", "returned_date": null, "paper_date": "2026-11-19", "payment_account": "助理微信", "fee_items": [], "fees_date": "2026-11-19", "rounding_mode": "cent", "internal_note": "当天单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": null, "ownershipPending": { "id": "", "status": "pending", "order_revision": 6, "before": { "member": "assistant", "label": "娜娜" }, "after": { "member": "assistant2", "label": "小昊" }, "reason": "实际由小昊接待", "requester_name": "助理", "created": "2026-11-19T02:01:54.000Z", "reviewer_name": null, "reviewed": null, "note": "", "direct": false, "stale": false }, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-19", "kind": "receipt", "amount": 210000, "account": "助理微信", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-19T02:01:48.000Z" } ], "expenses": [ { "id": "", "order_id": "", "date": "2026-11-19", "amount": 800, "payer": "assistant", "note": "当天快递", "actor": "助理", "created": "2026-11-19T02:01:52.000Z" } ], "settlements": [], "corrections": [], "received": 210000, "refunded": 0, "netReceived": 210000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 180000, "directCost": 800, "materialCostPending": false, "knownGoodsCost": 180000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 29200, "profit": 29200, "knownProfit": 29200, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "audit": [ { "action": "申请修改订单归属", "actor": "助理", "detail": { "requestId": "", "reason": "实际由小昊接待", "before": { "member": "assistant", "label": "娜娜" }, "after": { "member": "assistant2", "label": "小昊" }, "revision": 6, "notice": "申请不改变订单、财务、库存或可见范围,由麦麦审批后生效", "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-19T02:01:54.000Z" }, { "action": "expense", "actor": "助理", "detail": { "date": "2026-11-19", "revision": 6, "reason": "当天快递", "verified": true, "amount": "8", "payer": "assistant", "note": "当天快递", "direct": true, "directDate": "2026-11-19", "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-19T02:01:52.000Z" }, { "action": "整单账务修改", "actor": "助理", "detail": { "reason": "当天改客户", "before": { "order": { "id": "", "number": "MM20261119-", "date": "2026-11-19", "customer": "当天客户", "salesperson": "娜娜", "note": "", "paper_number": "20261119013", "status": "delivered", "lines": [ { "name": "足金吊坠", "code": "", "unit": "g", "quantity": 2000, "pocket": "现货", "payer": "assistant", "cost": 180000, "sale": 210000, "baseSale": 210000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 210000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-19T02:01:48.000Z", "delivered_date": "2026-11-19", "returned_date": null, "paper_date": "2026-11-19", "payment_account": "助理微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "当天单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant" }, "payments": [ { "id": "", "order_id": "", "date": "2026-11-19", "kind": "receipt", "amount": 210000, "account": "助理微信", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-19T02:01:48.000Z" } ], "expenses": [], "settlements": [], "journal": [ { "id": "", "order_id": "", "date": "2026-11-19", "kind": "交付", "sales": 210000, "goods": 180000, "expense": 0, "profit": 30000, "created": "2026-11-19T02:01:48.000Z" } ], "movements": [ { "id": "", "group_id": "", "order_id": "", "date": "2026-11-19", "pocket": "现货", "mg": -2000, "kind": "sale", "note": "MM20261119-", "purchase_cost": null, "actor": "助理", "created": "2026-11-19T02:01:48.000Z" } ] }, "after": { "order": { "id": "", "number": "MM20261119-", "date": "2026-11-19", "customer": "当天客户(改)", "salesperson": "娜娜", "note": "", "paper_number": "20261119013", "status": "delivered", "lines": [ { "name": "足金吊坠", "code": "", "unit": "g", "quantity": 2000, "pocket": "现货", "payer": "assistant", "cost": 180000, "sale": 210000, "baseSale": 210000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 210000, "revision": 5, "reviewed_revision": 0, "created": "2026-11-19T02:01:48.000Z", "delivered_date": "2026-11-19", "returned_date": null, "paper_date": "2026-11-19", "payment_account": "助理微信", "fee_items": [], "fees_date": "2026-11-19", "rounding_mode": "cent", "internal_note": "当天单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant" }, "revision": 5, "received": 210000, "goods": 180000, "expense": 0, "profit": 30000, "settlementDue": 0 }, "notice": "原收支、库存和利润流水保留;实际双方交款原样保留,按更正后应结金额计算差额", "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-19T02:01:50.000Z" }, { "action": "生成已交付单据", "actor": "助理", "detail": { "amount": 210000, "account": "助理微信", "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-19T02:01:48.000Z" }, { "action": "complete", "actor": "助理", "detail": { "date": "2026-11-19", "verified": true, "revision": 4, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-19T02:01:48.000Z" }, { "action": "deliver", "actor": "助理", "detail": { "date": "2026-11-19", "verified": true, "revision": 4, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-19T02:01:48.000Z" }, { "action": "receipt", "actor": "助理", "detail": { "date": "2026-11-19", "amount": "2100.00", "account": "助理微信", "credit_card_fee_payer": "owner", "verified": true, "reference": "开单时已全额收款", "revision": 3, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-19T02:01:48.000Z" }, { "action": "confirm", "actor": "助理", "detail": { "date": "2026-11-19", "revision": 2, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-19T02:01:48.000Z" }, { "action": "保存草稿", "actor": "助理", "detail": { "revision": 1, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-19T02:01:48.000Z" } ], "sync": { "revision": 6, "done_revision": 0, "error": null, "updated": "2026-11-19T02:01:52.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 } } }, { "seq": 309, "label": "ownership-request-detail", "date": "2026-11-19", "actor": "owner", "method": "GET", "path": "/api/order-ownership-changes/", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "", "order_id": "", "order_revision": 6, "from_member": "assistant", "to_member": "assistant2", "reason": "实际由小昊接待", "status": "pending", "direct": false, "requester_id": "", "requester_name": "助理", "requester_role": "assistant", "created": "2026-11-19T02:01:54.000Z", "reviewer_id": null, "reviewer_name": null, "reviewed": null, "note": "", "before": { "member": "assistant", "label": "娜娜" }, "after": { "member": "assistant2", "label": "小昊" }, "order_number": "MM20261119-", "order_customer": "当天客户(改)", "order_date": "2026-11-19", "order_status": "delivered", "stale": false, "canApprove": true } }, { "seq": 310, "label": "ownership-approve", "date": "2026-11-19", "actor": "owner", "method": "POST", "path": "/api/order-ownership-changes//approve", "key": "golden-00142-ownership-approve", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "revision": 6, "verified": true, "note": "核实" } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "", "requestId": "", "request": { "id": "", "order_id": "", "order_revision": 6, "from_member": "assistant", "to_member": "assistant2", "reason": "实际由小昊接待", "status": "approved", "direct": false, "requester_id": "", "requester_name": "助理", "requester_role": "assistant", "created": "2026-11-19T02:01:54.000Z", "reviewer_id": "", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:01:56.000Z", "note": "核实", "before": { "member": "assistant", "label": "娜娜" }, "after": { "member": "assistant2", "label": "小昊" }, "order_number": "MM20261119-", "order_customer": "当天客户(改)", "order_date": "2026-11-19", "order_status": "delivered", "stale": false, "canApprove": false }, "applied": true, "revision": 7, "member": "assistant2", "order": { "id": "", "number": "MM20261119-", "date": "2026-11-19", "customer": "当天客户(改)", "salesperson": "娜娜", "note": "", "paper_number": "20261119013", "status": "delivered", "lines": [ { "name": "足金吊坠", "code": "", "unit": "g", "quantity": 2000, "pocket": "现货", "payer": "assistant", "cost": 180000, "sale": 210000, "baseSale": 210000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 210000, "revision": 7, "reviewed_revision": 0, "created": "2026-11-19T02:01:48.000Z", "delivered_date": "2026-11-19", "returned_date": null, "paper_date": "2026-11-19", "payment_account": "助理微信", "fee_items": [], "fees_date": "2026-11-19", "rounding_mode": "cent", "internal_note": "当天单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": null, "ownershipPending": null, "ownershipApproved": { "id": "", "status": "approved", "order_revision": 6, "before": { "member": "assistant", "label": "娜娜" }, "after": { "member": "assistant2", "label": "小昊" }, "reason": "实际由小昊接待", "requester_name": "助理", "created": "2026-11-19T02:01:54.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:01:56.000Z", "note": "核实", "direct": false }, "payments": [ { "id": "", "order_id": "", "date": "2026-11-19", "kind": "receipt", "amount": 210000, "account": "助理微信", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-19T02:01:48.000Z" } ], "expenses": [ { "id": "", "order_id": "", "date": "2026-11-19", "amount": 800, "payer": "assistant", "note": "当天快递", "actor": "助理", "created": "2026-11-19T02:01:52.000Z" } ], "settlements": [], "corrections": [], "received": 210000, "refunded": 0, "netReceived": 210000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 180000, "directCost": 800, "materialCostPending": false, "knownGoodsCost": 180000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 29200, "profit": 29200, "knownProfit": 29200, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "audit": [ { "action": "同意修改订单归属", "actor": "麦麦", "detail": { "requestId": "", "reason": "实际由小昊接待", "note": "核实", "requestedBy": "助理", "requestedAt": "2026-11-19T02:01:54.000Z", "before": { "member": "assistant", "label": "娜娜", "revision": 6 }, "after": { "member": "assistant2", "label": "小昊", "revision": 7 }, "related": [ { "kind": "order", "id": "" }, { "kind": "movement", "id": "" } ], "notice": "业绩、成本和利润随订单归属;实际收付款账户、付款人、金额、库存与成本利润数值保持不变,成员往来仅追加归属差额,真实转账保留", "actorIdentity": { "id": "", "role": "owner", "member": "owner" } }, "created": "2026-11-19T02:01:56.000Z" }, { "action": "申请修改订单归属", "actor": "助理", "detail": { "requestId": "", "reason": "实际由小昊接待", "before": { "member": "assistant", "label": "娜娜" }, "after": { "member": "assistant2", "label": "小昊" }, "revision": 6, "notice": "申请不改变订单、财务、库存或可见范围,由麦麦审批后生效", "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-19T02:01:54.000Z" }, { "action": "expense", "actor": "助理", "detail": { "date": "2026-11-19", "revision": 6, "reason": "当天快递", "verified": true, "amount": "8", "payer": "assistant", "note": "当天快递", "direct": true, "directDate": "2026-11-19", "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-19T02:01:52.000Z" }, { "action": "整单账务修改", "actor": "助理", "detail": { "reason": "当天改客户", "before": { "order": { "id": "", "number": "MM20261119-", "date": "2026-11-19", "customer": "当天客户", "salesperson": "娜娜", "note": "", "paper_number": "20261119013", "status": "delivered", "lines": [ { "name": "足金吊坠", "code": "", "unit": "g", "quantity": 2000, "pocket": "现货", "payer": "assistant", "cost": 180000, "sale": 210000, "baseSale": 210000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 210000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-19T02:01:48.000Z", "delivered_date": "2026-11-19", "returned_date": null, "paper_date": "2026-11-19", "payment_account": "助理微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "当天单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant" }, "payments": [ { "id": "", "order_id": "", "date": "2026-11-19", "kind": "receipt", "amount": 210000, "account": "助理微信", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-19T02:01:48.000Z" } ], "expenses": [], "settlements": [], "journal": [ { "id": "", "order_id": "", "date": "2026-11-19", "kind": "交付", "sales": 210000, "goods": 180000, "expense": 0, "profit": 30000, "created": "2026-11-19T02:01:48.000Z" } ], "movements": [ { "id": "", "group_id": "", "order_id": "", "date": "2026-11-19", "pocket": "现货", "mg": -2000, "kind": "sale", "note": "MM20261119-", "purchase_cost": null, "actor": "助理", "created": "2026-11-19T02:01:48.000Z" } ] }, "after": { "order": { "id": "", "number": "MM20261119-", "date": "2026-11-19", "customer": "当天客户(改)", "salesperson": "娜娜", "note": "", "paper_number": "20261119013", "status": "delivered", "lines": [ { "name": "足金吊坠", "code": "", "unit": "g", "quantity": 2000, "pocket": "现货", "payer": "assistant", "cost": 180000, "sale": 210000, "baseSale": 210000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 210000, "revision": 5, "reviewed_revision": 0, "created": "2026-11-19T02:01:48.000Z", "delivered_date": "2026-11-19", "returned_date": null, "paper_date": "2026-11-19", "payment_account": "助理微信", "fee_items": [], "fees_date": "2026-11-19", "rounding_mode": "cent", "internal_note": "当天单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant" }, "revision": 5, "received": 210000, "goods": 180000, "expense": 0, "profit": 30000, "settlementDue": 0 }, "notice": "原收支、库存和利润流水保留;实际双方交款原样保留,按更正后应结金额计算差额", "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-19T02:01:50.000Z" }, { "action": "生成已交付单据", "actor": "助理", "detail": { "amount": 210000, "account": "助理微信", "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-19T02:01:48.000Z" }, { "action": "complete", "actor": "助理", "detail": { "date": "2026-11-19", "verified": true, "revision": 4, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-19T02:01:48.000Z" }, { "action": "deliver", "actor": "助理", "detail": { "date": "2026-11-19", "verified": true, "revision": 4, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-19T02:01:48.000Z" }, { "action": "receipt", "actor": "助理", "detail": { "date": "2026-11-19", "amount": "2100.00", "account": "助理微信", "credit_card_fee_payer": "owner", "verified": true, "reference": "开单时已全额收款", "revision": 3, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-19T02:01:48.000Z" }, { "action": "confirm", "actor": "助理", "detail": { "date": "2026-11-19", "revision": 2, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-19T02:01:48.000Z" }, { "action": "保存草稿", "actor": "助理", "detail": { "revision": 1, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-19T02:01:48.000Z" } ], "sync": { "revision": 7, "done_revision": 0, "error": null, "updated": "2026-11-19T02:01:56.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 } } }, { "seq": 311, "label": "issue-d2-cancel", "date": "2026-11-19", "actor": "assistant", "method": "POST", "path": "/api/orders/issue", "key": "golden-00143-issue-d2-cancel", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "date": "2026-11-19", "customer": "当天取消客户", "internal_note": "当天单备注", "salesperson": "娜娜", "payment_account": "助理微信", "rounding_mode": "cent", "lines": [ { "name": "足金吊坠", "unit": "g", "quantity": "2", "pocket": "现货", "payer": "assistant", "sale": "2100", "cost": "1800" } ], "fee_items": [] } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "" } }, { "seq": 312, "label": "order-d2-cancel-detail", "date": "2026-11-19", "actor": "assistant", "method": "GET", "path": "/api/orders/", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "", "number": "MM20261119-", "date": "2026-11-19", "customer": "当天取消客户", "salesperson": "娜娜", "note": "", "paper_number": "20261119014", "status": "delivered", "lines": [ { "name": "足金吊坠", "code": "", "unit": "g", "quantity": 2000, "pocket": "现货", "payer": "assistant", "cost": 180000, "sale": 210000, "baseSale": 210000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 210000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-19T02:01:57.000Z", "delivered_date": "2026-11-19", "returned_date": null, "paper_date": "2026-11-19", "payment_account": "助理微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "当天单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": null, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-19", "kind": "receipt", "amount": 210000, "account": "助理微信", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-19T02:01:57.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 210000, "refunded": 0, "netReceived": 210000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 180000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 180000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 30000, "profit": 30000, "knownProfit": 30000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "audit": [ { "action": "生成已交付单据", "actor": "助理", "detail": { "amount": 210000, "account": "助理微信", "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-19T02:01:57.000Z" }, { "action": "complete", "actor": "助理", "detail": { "date": "2026-11-19", "verified": true, "revision": 4, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-19T02:01:57.000Z" }, { "action": "deliver", "actor": "助理", "detail": { "date": "2026-11-19", "verified": true, "revision": 4, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-19T02:01:57.000Z" }, { "action": "receipt", "actor": "助理", "detail": { "date": "2026-11-19", "amount": "2100.00", "account": "助理微信", "credit_card_fee_payer": "owner", "verified": true, "reference": "开单时已全额收款", "revision": 3, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-19T02:01:57.000Z" }, { "action": "confirm", "actor": "助理", "detail": { "date": "2026-11-19", "revision": 2, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-19T02:01:57.000Z" }, { "action": "保存草稿", "actor": "助理", "detail": { "revision": 1, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-19T02:01:57.000Z" } ], "sync": { "revision": 4, "done_revision": 0, "error": null, "updated": "2026-11-19T02:01:57.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } } }, { "seq": 313, "label": "cancel-today", "date": "2026-11-19", "actor": "assistant", "method": "POST", "path": "/api/orders//canceltoday", "key": "golden-00144-cancel-today", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "date": "2026-11-19", "revision": 4, "reason": "当天录错", "verified": true } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "", "requestId": "", "request": { "id": "", "order_id": "", "order_revision": 4, "reason": "当天录错", "status": "approved", "requester_id": "", "requester_name": "助理", "requester_role": "assistant", "created": "2026-11-19T02:01:59.000Z", "reviewer_id": null, "reviewer_name": null, "reviewed": null, "note": "", "direct": true, "operator_name": "助理", "executedAt": "2026-11-19T02:01:59.000Z", "order_number": "MM20261119-", "order_date": "2026-11-19", "order_status": "delivered", "requiresLegacyCountVerified": false, "legacyCountNotice": "", "stale": false, "canApprove": false, "summary": { "total": 210000, "netReceived": 210000, "goodsCost": 180000, "directCost": 0, "profit": 30000, "settlementDue": 0, "inventory": [ { "date": "2026-11-19", "pocket": "现货", "mg": 2000 } ] } }, "order": { "id": "", "number": "MM20261119-", "date": "2026-11-19", "customer": "当天取消客户", "salesperson": "娜娜", "note": "", "paper_number": "20261119014", "status": "cancelled", "lines": [ { "name": "足金吊坠", "code": "", "unit": "g", "quantity": 2000, "pocket": "现货", "payer": "assistant", "cost": 180000, "sale": 210000, "baseSale": 210000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 210000, "revision": 5, "reviewed_revision": 0, "created": "2026-11-19T02:01:57.000Z", "delivered_date": "2026-11-19", "returned_date": null, "paper_date": "2026-11-19", "payment_account": "助理微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "当天单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant", "cancellationPending": null, "cancellationApproved": { "id": "", "status": "approved", "order_revision": 4, "reason": "当天录错", "requester_name": "助理", "created": "2026-11-19T02:01:59.000Z", "reviewer_name": null, "reviewed": null, "note": "", "direct": true, "operator_name": "助理", "executedAt": "2026-11-19T02:01:59.000Z" }, "changePending": null, "changeApproved": null, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-19", "kind": "receipt", "amount": 210000, "account": "助理微信", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-19T02:01:57.000Z" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "receipt", "amount": -210000, "account": "助理微信", "reference": "更正冲回:取消审批作废;当天录错", "actor": "助理", "created": "2026-11-19T02:01:59.000Z" } ], "expenses": [], "settlements": [], "corrections": [ { "target": "", "type": "payment", "reason": "当天录错", "actor": "助理", "created": "2026-11-19T02:01:59.000Z" } ], "received": 0, "refunded": 0, "netReceived": 0, "balance": 0, "rounding_adjustment": 0, "goodsCost": 180000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 180000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 30000, "profit": 0, "knownProfit": 0, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "audit": [ { "action": "当天直接取消订单(录错作废)", "actor": "助理", "detail": { "requestId": "", "reason": "当天录错", "note": "", "requestedBy": "助理", "requestedAt": "2026-11-19T02:01:59.000Z", "reviewed": null, "direct": true, "operator": "助理", "operationDate": "2026-11-19", "before": { "order": { "id": "", "number": "MM20261119-", "date": "2026-11-19", "customer": "当天取消客户", "salesperson": "娜娜", "note": "", "paper_number": "20261119014", "status": "delivered", "lines": [ { "name": "足金吊坠", "code": "", "unit": "g", "quantity": 2000, "pocket": "现货", "payer": "assistant", "cost": 180000, "sale": 210000, "baseSale": 210000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 210000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-19T02:01:57.000Z", "delivered_date": "2026-11-19", "returned_date": null, "paper_date": "2026-11-19", "payment_account": "助理微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "当天单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant" }, "payments": [ { "id": "", "order_id": "", "date": "2026-11-19", "kind": "receipt", "amount": 210000, "account": "助理微信", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-19T02:01:57.000Z" } ], "expenses": [], "settlements": [], "journal": [ { "id": "", "order_id": "", "date": "2026-11-19", "kind": "交付", "sales": 210000, "goods": 180000, "expense": 0, "profit": 30000, "created": "2026-11-19T02:01:57.000Z" } ], "movements": [ { "id": "", "group_id": "", "order_id": "", "date": "2026-11-19", "pocket": "现货", "mg": -2000, "kind": "sale", "note": "MM20261119-", "purchase_cost": null, "actor": "助理", "created": "2026-11-19T02:01:57.000Z" } ], "corrections": [], "materialUsages": [], "priceLock": null }, "after": { "revision": 5, "status": "cancelled", "netReceived": 0, "directCost": 0, "profit": 0, "settlementDue": 0 }, "inventory": [ { "date": "2026-11-19", "pocket": "现货", "mg": 2000 } ], "notice": "原订单、作废记录、收支与库存流水保留;不是客户退货退款;原采购和双方实际交款不变,原已交款按作废后的应结余额处理", "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-19T02:01:59.000Z" }, { "action": "生成已交付单据", "actor": "助理", "detail": { "amount": 210000, "account": "助理微信", "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-19T02:01:57.000Z" }, { "action": "complete", "actor": "助理", "detail": { "date": "2026-11-19", "verified": true, "revision": 4, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-19T02:01:57.000Z" }, { "action": "deliver", "actor": "助理", "detail": { "date": "2026-11-19", "verified": true, "revision": 4, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-19T02:01:57.000Z" }, { "action": "receipt", "actor": "助理", "detail": { "date": "2026-11-19", "amount": "2100.00", "account": "助理微信", "credit_card_fee_payer": "owner", "verified": true, "reference": "开单时已全额收款", "revision": 3, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-19T02:01:57.000Z" }, { "action": "confirm", "actor": "助理", "detail": { "date": "2026-11-19", "revision": 2, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-19T02:01:57.000Z" }, { "action": "保存草稿", "actor": "助理", "detail": { "revision": 1, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-19T02:01:57.000Z" } ], "sync": { "revision": 5, "done_revision": 0, "error": null, "updated": "2026-11-19T02:01:59.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 } } }, { "seq": 314, "label": "cancel-today-old-denied", "date": "2026-11-19", "actor": "assistant", "method": "POST", "path": "/api/orders//canceltoday", "key": "golden-00145-cancel-today-old-denied", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "date": "2026-11-19", "revision": 1, "reason": "跨天不可", "verified": true } }, "status": 403, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "error": "仅原单日期和操作日期都为今天时可直接取消;其他日期请提交取消申请,由麦麦复核" } }, { "seq": 315, "label": "settlement-team-mode-denied", "date": "2026-11-19", "actor": "owner", "method": "POST", "path": "/api/orders//settlement", "key": "golden-00146-settlement-team-mode-denied", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "date": "2026-11-19", "amount": "1", "direction": "toOwner", "verified": true } }, "status": 400, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "error": "三人新单请在成员间转款中登记实际付款,旧双方交款入口仅保留历史单据" } }, { "seq": 316, "label": "receipt-denied", "date": "2026-11-19", "actor": "assistant", "method": "POST", "path": "/api/orders//receipt", "key": "golden-00147-receipt-denied", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "date": "2026-11-19", "amount": "1", "account": "助理微信", "verified": true } }, "status": 400, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "error": "仅待交付订单可以补收款" } }, { "seq": 317, "note": "section", "name": "fundsD2" }, { "seq": 318, "label": "team-funds-before-transfer", "date": "2026-11-19", "actor": "owner", "method": "GET", "path": "/api/team-funds?date=2026-11-19", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "from": "2026-11-19", "to": "2026-11-19", "date": "2026-11-19", "members": [ { "id": "owner", "name": "麦麦" }, { "id": "assistant", "name": "娜娜" }, { "id": "assistant2", "name": "小昊" } ], "balances": [ { "member": "owner", "receipts": 0, "refunds": 0, "outlays": 600, "transferIn": 0, "transferOut": 0, "openingChange": -2341031, "periodChange": -600, "cumulativeChange": -2341631, "cashBalance": -600, "balanceType": "recorded-change", "notice": "仅三人新账已登记的资金增减,不含真实期初余额" }, { "member": "assistant", "receipts": 357000, "refunds": 0, "outlays": 300210, "transferIn": 0, "transferOut": 0, "openingChange": 134600, "periodChange": 56790, "cumulativeChange": 191390, "cashBalance": 56790, "balanceType": "recorded-change", "notice": "仅三人新账已登记的资金增减,不含真实期初余额" }, { "member": "assistant2", "receipts": 432792, "refunds": 90000, "outlays": 366720, "transferIn": 0, "transferOut": 0, "openingChange": -123837, "periodChange": -23928, "cumulativeChange": -147765, "cashBalance": -23928, "balanceType": "recorded-change", "notice": "仅三人新账已登记的资金增减,不含真实期初余额" } ], "pairs": [ { "id": "owner:assistant", "members": [ "owner", "assistant" ], "net": -647681, "obligationNet": -657681, "transferred": -10000, "receivedForNet": 288500, "advancedNet": -946181, "offset": 290650, "due": 647681, "fromMember": "assistant", "toMember": "owner", "direction": "transfer", "period": { "obligationNet": -600, "transferred": 0, "receivedForNet": 0, "advancedNet": -600 }, "entries": [ { "id": "", "date": "2026-11-19", "kind": "advance", "project": "订单实际费用", "fromMember": "assistant", "toMember": "owner", "amount": 600, "revision": 1, "sourceKind": "order", "sourceId": "" } ] }, { "id": "owner:assistant2", "members": [ "owner", "assistant2" ], "net": 0, "obligationNet": 0, "transferred": 0, "receivedForNet": 0, "advancedNet": 0, "offset": 0, "due": 0, "fromMember": null, "toMember": null, "direction": "none", "period": { "obligationNet": 0, "transferred": 0, "receivedForNet": 0, "advancedNet": 0 }, "entries": [] }, { "id": "assistant:assistant2", "members": [ "assistant", "assistant2" ], "net": 41200, "obligationNet": 41200, "transferred": 0, "receivedForNet": 292000, "advancedNet": -250800, "offset": 250800, "due": 41200, "fromMember": "assistant", "toMember": "assistant2", "direction": "transfer", "period": { "obligationNet": 29200, "transferred": 0, "receivedForNet": 210000, "advancedNet": -180800 }, "entries": [ { "id": "", "date": "2026-11-19", "kind": "receipt", "project": "客户款代收", "fromMember": "assistant", "toMember": "assistant2", "amount": 210000, "revision": 3, "sourceKind": "order", "sourceId": "" }, { "id": "", "date": "2026-11-19", "kind": "advance", "project": "订单实际费用", "fromMember": "assistant2", "toMember": "assistant", "amount": 800, "revision": 3, "sourceKind": "order", "sourceId": "" }, { "id": "", "date": "2026-11-19", "kind": "advance", "project": "商品实际垫付", "fromMember": "assistant2", "toMember": "assistant", "amount": 180000, "revision": 3, "sourceKind": "order", "sourceId": "" } ] } ], "entries": [ { "id": "", "date": "2026-11-19", "kind": "advance", "project": "订单实际费用", "fromMember": "assistant", "toMember": "owner", "amount": 600, "revision": 1, "sourceKind": "order", "sourceId": "" }, { "id": "", "date": "2026-11-19", "kind": "receipt", "project": "客户款代收", "fromMember": "assistant", "toMember": "assistant2", "amount": 210000, "revision": 3, "sourceKind": "order", "sourceId": "" }, { "id": "", "date": "2026-11-19", "kind": "advance", "project": "订单实际费用", "fromMember": "assistant2", "toMember": "assistant", "amount": 800, "revision": 3, "sourceKind": "order", "sourceId": "" }, { "id": "", "date": "2026-11-19", "kind": "advance", "project": "商品实际垫付", "fromMember": "assistant2", "toMember": "assistant", "amount": 180000, "revision": 3, "sourceKind": "order", "sourceId": "" } ], "transfers": [], "revision": "8725ea15b8ac58f5e0f3e56d679f35fce85273eb72a86899e755c194b7851f70", "pending": [], "legacyReadOnly": true, "cutover": "仅已启用的三人新账事件;旧结算不自动迁入", "transfersDeducted": true } }, { "seq": 319, "label": "transfer", "date": "2026-11-19", "actor": "owner", "method": "POST", "path": "/api/team-funds/transfer", "key": "golden-00148-transfer", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "date": "2026-11-19", "fromMember": "assistant", "toMember": "owner", "amount": "100.00", "revision": "8725ea15b8ac58f5e0f3e56d679f35fce85273eb72a86899e755c194b7851f70", "verified": true, "note": "对照转账二" } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "", "team": { "from": "2026-11-19", "to": "2026-11-19", "date": "2026-11-19", "members": [ { "id": "owner", "name": "麦麦" }, { "id": "assistant", "name": "娜娜" }, { "id": "assistant2", "name": "小昊" } ], "balances": [ { "member": "owner", "receipts": 0, "refunds": 0, "outlays": 600, "transferIn": 10000, "transferOut": 0, "openingChange": -2341031, "periodChange": 9400, "cumulativeChange": -2331631, "cashBalance": 9400, "balanceType": "recorded-change", "notice": "仅三人新账已登记的资金增减,不含真实期初余额" }, { "member": "assistant", "receipts": 357000, "refunds": 0, "outlays": 300210, "transferIn": 0, "transferOut": 10000, "openingChange": 134600, "periodChange": 46790, "cumulativeChange": 181390, "cashBalance": 46790, "balanceType": "recorded-change", "notice": "仅三人新账已登记的资金增减,不含真实期初余额" }, { "member": "assistant2", "receipts": 432792, "refunds": 90000, "outlays": 366720, "transferIn": 0, "transferOut": 0, "openingChange": -123837, "periodChange": -23928, "cumulativeChange": -147765, "cashBalance": -23928, "balanceType": "recorded-change", "notice": "仅三人新账已登记的资金增减,不含真实期初余额" } ], "pairs": [ { "id": "owner:assistant", "members": [ "owner", "assistant" ], "net": -637681, "obligationNet": -657681, "transferred": -20000, "receivedForNet": 288500, "advancedNet": -946181, "offset": 290650, "due": 637681, "fromMember": "assistant", "toMember": "owner", "direction": "transfer", "period": { "obligationNet": -600, "transferred": -10000, "receivedForNet": 0, "advancedNet": -600 }, "entries": [ { "id": "", "date": "2026-11-19", "kind": "advance", "project": "订单实际费用", "fromMember": "assistant", "toMember": "owner", "amount": 600, "revision": 1, "sourceKind": "order", "sourceId": "" } ] }, { "id": "owner:assistant2", "members": [ "owner", "assistant2" ], "net": 0, "obligationNet": 0, "transferred": 0, "receivedForNet": 0, "advancedNet": 0, "offset": 0, "due": 0, "fromMember": null, "toMember": null, "direction": "none", "period": { "obligationNet": 0, "transferred": 0, "receivedForNet": 0, "advancedNet": 0 }, "entries": [] }, { "id": "assistant:assistant2", "members": [ "assistant", "assistant2" ], "net": 41200, "obligationNet": 41200, "transferred": 0, "receivedForNet": 292000, "advancedNet": -250800, "offset": 250800, "due": 41200, "fromMember": "assistant", "toMember": "assistant2", "direction": "transfer", "period": { "obligationNet": 29200, "transferred": 0, "receivedForNet": 210000, "advancedNet": -180800 }, "entries": [ { "id": "", "date": "2026-11-19", "kind": "receipt", "project": "客户款代收", "fromMember": "assistant", "toMember": "assistant2", "amount": 210000, "revision": 3, "sourceKind": "order", "sourceId": "" }, { "id": "", "date": "2026-11-19", "kind": "advance", "project": "订单实际费用", "fromMember": "assistant2", "toMember": "assistant", "amount": 800, "revision": 3, "sourceKind": "order", "sourceId": "" }, { "id": "", "date": "2026-11-19", "kind": "advance", "project": "商品实际垫付", "fromMember": "assistant2", "toMember": "assistant", "amount": 180000, "revision": 3, "sourceKind": "order", "sourceId": "" } ] } ], "entries": [ { "id": "", "date": "2026-11-19", "kind": "advance", "project": "订单实际费用", "fromMember": "assistant", "toMember": "owner", "amount": 600, "revision": 1, "sourceKind": "order", "sourceId": "" }, { "id": "", "date": "2026-11-19", "kind": "receipt", "project": "客户款代收", "fromMember": "assistant", "toMember": "assistant2", "amount": 210000, "revision": 3, "sourceKind": "order", "sourceId": "" }, { "id": "", "date": "2026-11-19", "kind": "advance", "project": "订单实际费用", "fromMember": "assistant2", "toMember": "assistant", "amount": 800, "revision": 3, "sourceKind": "order", "sourceId": "" }, { "id": "", "date": "2026-11-19", "kind": "advance", "project": "商品实际垫付", "fromMember": "assistant2", "toMember": "assistant", "amount": 180000, "revision": 3, "sourceKind": "order", "sourceId": "" } ], "transfers": [ { "id": "", "date": "2026-11-19", "fromMember": "assistant", "toMember": "owner", "amount": 10000, "note": "对照转账二", "actor": "麦麦" } ], "revision": "91d8e840360bd6750d7d9078c202052d4754bf75b4d2400dcc33adc06ef7598e", "pending": [], "legacyReadOnly": true, "cutover": "仅已启用的三人新账事件;旧结算不自动迁入", "transfersDeducted": true } } }, { "seq": 320, "label": "transfer-stale-revision", "date": "2026-11-19", "actor": "owner", "method": "POST", "path": "/api/team-funds/transfer", "key": "golden-00149-transfer-stale-revision", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "date": "2026-11-19", "fromMember": "assistant", "toMember": "owner", "amount": "100.00", "revision": "8725ea15b8ac58f5e0f3e56d679f35fce85273eb72a86899e755c194b7851f70", "verified": true, "note": "对照转账二" } }, "status": 409, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "error": "双方待结余额已有变动,请刷新核对后登记" } }, { "seq": 321, "label": "team-funds-d2", "date": "2026-11-19", "actor": "owner", "method": "GET", "path": "/api/team-funds?date=2026-11-19", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "from": "2026-11-19", "to": "2026-11-19", "date": "2026-11-19", "members": [ { "id": "owner", "name": "麦麦" }, { "id": "assistant", "name": "娜娜" }, { "id": "assistant2", "name": "小昊" } ], "balances": [ { "member": "owner", "receipts": 0, "refunds": 0, "outlays": 600, "transferIn": 10000, "transferOut": 0, "openingChange": -2341031, "periodChange": 9400, "cumulativeChange": -2331631, "cashBalance": 9400, "balanceType": "recorded-change", "notice": "仅三人新账已登记的资金增减,不含真实期初余额" }, { "member": "assistant", "receipts": 357000, "refunds": 0, "outlays": 300210, "transferIn": 0, "transferOut": 10000, "openingChange": 134600, "periodChange": 46790, "cumulativeChange": 181390, "cashBalance": 46790, "balanceType": "recorded-change", "notice": "仅三人新账已登记的资金增减,不含真实期初余额" }, { "member": "assistant2", "receipts": 432792, "refunds": 90000, "outlays": 366720, "transferIn": 0, "transferOut": 0, "openingChange": -123837, "periodChange": -23928, "cumulativeChange": -147765, "cashBalance": -23928, "balanceType": "recorded-change", "notice": "仅三人新账已登记的资金增减,不含真实期初余额" } ], "pairs": [ { "id": "owner:assistant", "members": [ "owner", "assistant" ], "net": -637681, "obligationNet": -657681, "transferred": -20000, "receivedForNet": 288500, "advancedNet": -946181, "offset": 290650, "due": 637681, "fromMember": "assistant", "toMember": "owner", "direction": "transfer", "period": { "obligationNet": -600, "transferred": -10000, "receivedForNet": 0, "advancedNet": -600 }, "entries": [ { "id": "", "date": "2026-11-19", "kind": "advance", "project": "订单实际费用", "fromMember": "assistant", "toMember": "owner", "amount": 600, "revision": 1, "sourceKind": "order", "sourceId": "" } ] }, { "id": "owner:assistant2", "members": [ "owner", "assistant2" ], "net": 0, "obligationNet": 0, "transferred": 0, "receivedForNet": 0, "advancedNet": 0, "offset": 0, "due": 0, "fromMember": null, "toMember": null, "direction": "none", "period": { "obligationNet": 0, "transferred": 0, "receivedForNet": 0, "advancedNet": 0 }, "entries": [] }, { "id": "assistant:assistant2", "members": [ "assistant", "assistant2" ], "net": 41200, "obligationNet": 41200, "transferred": 0, "receivedForNet": 292000, "advancedNet": -250800, "offset": 250800, "due": 41200, "fromMember": "assistant", "toMember": "assistant2", "direction": "transfer", "period": { "obligationNet": 29200, "transferred": 0, "receivedForNet": 210000, "advancedNet": -180800 }, "entries": [ { "id": "", "date": "2026-11-19", "kind": "receipt", "project": "客户款代收", "fromMember": "assistant", "toMember": "assistant2", "amount": 210000, "revision": 3, "sourceKind": "order", "sourceId": "" }, { "id": "", "date": "2026-11-19", "kind": "advance", "project": "订单实际费用", "fromMember": "assistant2", "toMember": "assistant", "amount": 800, "revision": 3, "sourceKind": "order", "sourceId": "" }, { "id": "", "date": "2026-11-19", "kind": "advance", "project": "商品实际垫付", "fromMember": "assistant2", "toMember": "assistant", "amount": 180000, "revision": 3, "sourceKind": "order", "sourceId": "" } ] } ], "entries": [ { "id": "", "date": "2026-11-19", "kind": "advance", "project": "订单实际费用", "fromMember": "assistant", "toMember": "owner", "amount": 600, "revision": 1, "sourceKind": "order", "sourceId": "" }, { "id": "", "date": "2026-11-19", "kind": "receipt", "project": "客户款代收", "fromMember": "assistant", "toMember": "assistant2", "amount": 210000, "revision": 3, "sourceKind": "order", "sourceId": "" }, { "id": "", "date": "2026-11-19", "kind": "advance", "project": "订单实际费用", "fromMember": "assistant2", "toMember": "assistant", "amount": 800, "revision": 3, "sourceKind": "order", "sourceId": "" }, { "id": "", "date": "2026-11-19", "kind": "advance", "project": "商品实际垫付", "fromMember": "assistant2", "toMember": "assistant", "amount": 180000, "revision": 3, "sourceKind": "order", "sourceId": "" } ], "transfers": [ { "id": "", "date": "2026-11-19", "fromMember": "assistant", "toMember": "owner", "amount": 10000, "note": "对照转账二", "actor": "麦麦" } ], "revision": "91d8e840360bd6750d7d9078c202052d4754bf75b4d2400dcc33adc06ef7598e", "pending": [], "legacyReadOnly": true, "cutover": "仅已启用的三人新账事件;旧结算不自动迁入", "transfersDeducted": true } }, { "seq": 322, "label": "team-profits", "date": "2026-11-19", "actor": "owner", "method": "GET", "path": "/api/team-profits?month=2026-11", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "basis": "orderDate", "month": "2026-11", "from": "2026-11-01", "date": "2026-11-19", "rows": [ { "member": "assistant", "name": "娜娜", "recordCount": 7, "orderCount": 6, "afterSaleCount": 1, "draftCount": 0, "sales": 1356600, "knownTotalCost": 1091091, "knownProfit": 265509, "unknownCostCount": 0, "unknownProfitCount": 0, "incomplete": false, "totalCost": 1091091, "profit": 265509, "shareRate": 30, "estimatedShare": 79653 }, { "member": "assistant2", "name": "小昊", "recordCount": 7, "orderCount": 6, "afterSaleCount": 1, "draftCount": 0, "sales": 1351955, "knownTotalCost": 1162520, "knownProfit": 189435, "unknownCostCount": 0, "unknownProfitCount": 0, "incomplete": false, "totalCost": 1162520, "profit": 189435, "shareRate": 30, "estimatedShare": 56831 } ] } }, { "seq": 323, "label": "team-profits-default", "date": "2026-11-19", "actor": "owner", "method": "GET", "path": "/api/team-profits", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "basis": "orderDate", "month": "2026-11", "from": "2026-11-01", "date": "2026-11-19", "rows": [ { "member": "assistant", "name": "娜娜", "recordCount": 7, "orderCount": 6, "afterSaleCount": 1, "draftCount": 0, "sales": 1356600, "knownTotalCost": 1091091, "knownProfit": 265509, "unknownCostCount": 0, "unknownProfitCount": 0, "incomplete": false, "totalCost": 1091091, "profit": 265509, "shareRate": 30, "estimatedShare": 79653 }, { "member": "assistant2", "name": "小昊", "recordCount": 7, "orderCount": 6, "afterSaleCount": 1, "draftCount": 0, "sales": 1351955, "knownTotalCost": 1162520, "knownProfit": 189435, "unknownCostCount": 0, "unknownProfitCount": 0, "incomplete": false, "totalCost": 1162520, "profit": 189435, "shareRate": 30, "estimatedShare": 56831 } ] } }, { "seq": 324, "label": "team-profits-denied", "date": "2026-11-19", "actor": "assistant", "method": "GET", "path": "/api/team-profits", "key": null, "status": 403, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "error": "这项操作由店主账号完成" } }, { "seq": 325, "label": "daily-funds-d2-owner", "date": "2026-11-19", "actor": "owner", "method": "GET", "path": "/api/daily-funds?date=2026-11-19", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "date": "2026-11-19", "from": "2026-11-19", "team": { "from": "2026-11-19", "to": "2026-11-19", "date": "2026-11-19", "members": [ { "id": "owner", "name": "麦麦" }, { "id": "assistant", "name": "娜娜" }, { "id": "assistant2", "name": "小昊" } ], "balances": [ { "member": "owner", "receipts": 0, "refunds": 0, "outlays": 600, "transferIn": 10000, "transferOut": 0, "openingChange": -2341031, "periodChange": 9400, "cumulativeChange": -2331631, "cashBalance": 9400, "balanceType": "recorded-change", "notice": "仅三人新账已登记的资金增减,不含真实期初余额" }, { "member": "assistant", "receipts": 357000, "refunds": 0, "outlays": 300210, "transferIn": 0, "transferOut": 10000, "openingChange": 134600, "periodChange": 46790, "cumulativeChange": 181390, "cashBalance": 46790, "balanceType": "recorded-change", "notice": "仅三人新账已登记的资金增减,不含真实期初余额" }, { "member": "assistant2", "receipts": 432792, "refunds": 90000, "outlays": 366720, "transferIn": 0, "transferOut": 0, "openingChange": -123837, "periodChange": -23928, "cumulativeChange": -147765, "cashBalance": -23928, "balanceType": "recorded-change", "notice": "仅三人新账已登记的资金增减,不含真实期初余额" } ], "pairs": [ { "id": "owner:assistant", "members": [ "owner", "assistant" ], "net": -637681, "obligationNet": -657681, "transferred": -20000, "receivedForNet": 288500, "advancedNet": -946181, "offset": 290650, "due": 637681, "fromMember": "assistant", "toMember": "owner", "direction": "transfer", "period": { "obligationNet": -600, "transferred": -10000, "receivedForNet": 0, "advancedNet": -600 }, "entries": [ { "id": "", "date": "2026-11-19", "kind": "advance", "project": "订单实际费用", "fromMember": "assistant", "toMember": "owner", "amount": 600, "revision": 1, "sourceKind": "order", "sourceId": "" } ] }, { "id": "owner:assistant2", "members": [ "owner", "assistant2" ], "net": 0, "obligationNet": 0, "transferred": 0, "receivedForNet": 0, "advancedNet": 0, "offset": 0, "due": 0, "fromMember": null, "toMember": null, "direction": "none", "period": { "obligationNet": 0, "transferred": 0, "receivedForNet": 0, "advancedNet": 0 }, "entries": [] }, { "id": "assistant:assistant2", "members": [ "assistant", "assistant2" ], "net": 41200, "obligationNet": 41200, "transferred": 0, "receivedForNet": 292000, "advancedNet": -250800, "offset": 250800, "due": 41200, "fromMember": "assistant", "toMember": "assistant2", "direction": "transfer", "period": { "obligationNet": 29200, "transferred": 0, "receivedForNet": 210000, "advancedNet": -180800 }, "entries": [ { "id": "", "date": "2026-11-19", "kind": "receipt", "project": "客户款代收", "fromMember": "assistant", "toMember": "assistant2", "amount": 210000, "revision": 3, "sourceKind": "order", "sourceId": "" }, { "id": "", "date": "2026-11-19", "kind": "advance", "project": "订单实际费用", "fromMember": "assistant2", "toMember": "assistant", "amount": 800, "revision": 3, "sourceKind": "order", "sourceId": "" }, { "id": "", "date": "2026-11-19", "kind": "advance", "project": "商品实际垫付", "fromMember": "assistant2", "toMember": "assistant", "amount": 180000, "revision": 3, "sourceKind": "order", "sourceId": "" } ] } ], "entries": [ { "id": "", "date": "2026-11-19", "kind": "advance", "project": "订单实际费用", "fromMember": "assistant", "toMember": "owner", "amount": 600, "revision": 1, "sourceKind": "order", "sourceId": "" }, { "id": "", "date": "2026-11-19", "kind": "receipt", "project": "客户款代收", "fromMember": "assistant", "toMember": "assistant2", "amount": 210000, "revision": 3, "sourceKind": "order", "sourceId": "" }, { "id": "", "date": "2026-11-19", "kind": "advance", "project": "订单实际费用", "fromMember": "assistant2", "toMember": "assistant", "amount": 800, "revision": 3, "sourceKind": "order", "sourceId": "" }, { "id": "", "date": "2026-11-19", "kind": "advance", "project": "商品实际垫付", "fromMember": "assistant2", "toMember": "assistant", "amount": 180000, "revision": 3, "sourceKind": "order", "sourceId": "" } ], "transfers": [ { "id": "", "date": "2026-11-19", "fromMember": "assistant", "toMember": "owner", "amount": 10000, "note": "对照转账二", "actor": "麦麦" } ], "revision": "91d8e840360bd6750d7d9078c202052d4754bf75b4d2400dcc33adc06ef7598e", "pending": [], "legacyReadOnly": true, "cutover": "仅已启用的三人新账事件;旧结算不自动迁入", "transfersDeducted": true }, "readOnly": false, "hasRecords": true, "pendingCount": 0, "legacyReadOnly": true, "transfersNotDeducted": false, "reimbursements": [], "approvedReimbursements": 0, "ready": true, "transferAmount": null, "direction": null, "sources": { "revision": "91d8e840360bd6750d7d9078c202052d4754bf75b4d2400dcc33adc06ef7598e", "total": 0, "items": [] }, "confirmation": null, "actualOutlay": null, "missingDates": [], "staleDates": [], "days": [] } }, { "seq": 326, "label": "daily-funds-d2-assistant", "date": "2026-11-19", "actor": "assistant", "method": "GET", "path": "/api/daily-funds?date=2026-11-19", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "date": "2026-11-19", "from": "2026-11-19", "team": { "from": "2026-11-19", "to": "2026-11-19", "date": "2026-11-19", "members": [ { "id": "owner", "name": "麦麦" }, { "id": "assistant", "name": "娜娜" }, { "id": "assistant2", "name": "小昊" } ], "balances": [ { "member": "assistant", "receipts": 357000, "refunds": 0, "outlays": 300210, "transferIn": 0, "transferOut": 10000, "openingChange": 134600, "periodChange": 46790, "cumulativeChange": 181390, "cashBalance": 46790, "balanceType": "recorded-change", "notice": "仅三人新账已登记的资金增减,不含真实期初余额" } ], "pairs": [ { "id": "owner:assistant", "members": [ "owner", "assistant" ], "net": -637681, "obligationNet": -657681, "transferred": -20000, "receivedForNet": 288500, "advancedNet": -946181, "offset": 290650, "due": 637681, "fromMember": "assistant", "toMember": "owner", "direction": "transfer", "period": { "obligationNet": -600, "transferred": -10000, "receivedForNet": 0, "advancedNet": -600 }, "entries": [ { "id": "", "date": "2026-11-19", "kind": "advance", "project": "订单实际费用", "fromMember": "assistant", "toMember": "owner", "amount": 600, "revision": 1 } ] }, { "id": "assistant:assistant2", "members": [ "assistant", "assistant2" ], "net": 41200, "obligationNet": 41200, "transferred": 0, "receivedForNet": 292000, "advancedNet": -250800, "offset": 250800, "due": 41200, "fromMember": "assistant", "toMember": "assistant2", "direction": "transfer", "period": { "obligationNet": 29200, "transferred": 0, "receivedForNet": 210000, "advancedNet": -180800 }, "entries": [ { "id": "", "date": "2026-11-19", "kind": "receipt", "project": "客户款代收", "fromMember": "assistant", "toMember": "assistant2", "amount": 210000, "revision": 3 }, { "id": "", "date": "2026-11-19", "kind": "advance", "project": "订单实际费用", "fromMember": "assistant2", "toMember": "assistant", "amount": 800, "revision": 3 }, { "id": "", "date": "2026-11-19", "kind": "advance", "project": "商品实际垫付", "fromMember": "assistant2", "toMember": "assistant", "amount": 180000, "revision": 3 } ] } ], "entries": [ { "id": "", "date": "2026-11-19", "kind": "advance", "project": "订单实际费用", "fromMember": "assistant", "toMember": "owner", "amount": 600, "revision": 1 }, { "id": "", "date": "2026-11-19", "kind": "receipt", "project": "客户款代收", "fromMember": "assistant", "toMember": "assistant2", "amount": 210000, "revision": 3 }, { "id": "", "date": "2026-11-19", "kind": "advance", "project": "订单实际费用", "fromMember": "assistant2", "toMember": "assistant", "amount": 800, "revision": 3 }, { "id": "", "date": "2026-11-19", "kind": "advance", "project": "商品实际垫付", "fromMember": "assistant2", "toMember": "assistant", "amount": 180000, "revision": 3 } ], "transfers": [ { "id": "", "date": "2026-11-19", "fromMember": "assistant", "toMember": "owner", "amount": 10000 } ], "revision": "91d8e840360bd6750d7d9078c202052d4754bf75b4d2400dcc33adc06ef7598e", "pending": [], "legacyReadOnly": true, "cutover": "仅已启用的三人新账事件;旧结算不自动迁入", "transfersDeducted": true }, "readOnly": false, "hasRecords": true, "pendingCount": 0, "legacyReadOnly": true, "transfersNotDeducted": false, "reimbursements": [], "approvedReimbursements": 0, "ready": true, "transferAmount": null, "direction": null, "sources": { "revision": "91d8e840360bd6750d7d9078c202052d4754bf75b4d2400dcc33adc06ef7598e", "total": 0, "items": [] }, "confirmation": null, "actualOutlay": null, "missingDates": [], "staleDates": [], "days": [] } }, { "seq": 327, "label": "daily-funds-d2-assistant2", "date": "2026-11-19", "actor": "assistant2", "method": "GET", "path": "/api/daily-funds?date=2026-11-19", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "date": "2026-11-19", "from": "2026-11-19", "team": { "from": "2026-11-19", "to": "2026-11-19", "date": "2026-11-19", "members": [ { "id": "owner", "name": "麦麦" }, { "id": "assistant", "name": "娜娜" }, { "id": "assistant2", "name": "小昊" } ], "balances": [ { "member": "assistant2", "receipts": 432792, "refunds": 90000, "outlays": 366720, "transferIn": 0, "transferOut": 0, "openingChange": -123837, "periodChange": -23928, "cumulativeChange": -147765, "cashBalance": -23928, "balanceType": "recorded-change", "notice": "仅三人新账已登记的资金增减,不含真实期初余额" } ], "pairs": [ { "id": "owner:assistant2", "members": [ "owner", "assistant2" ], "net": 0, "obligationNet": 0, "transferred": 0, "receivedForNet": 0, "advancedNet": 0, "offset": 0, "due": 0, "fromMember": null, "toMember": null, "direction": "none", "period": { "obligationNet": 0, "transferred": 0, "receivedForNet": 0, "advancedNet": 0 }, "entries": [] }, { "id": "assistant:assistant2", "members": [ "assistant", "assistant2" ], "net": 41200, "obligationNet": 41200, "transferred": 0, "receivedForNet": 292000, "advancedNet": -250800, "offset": 250800, "due": 41200, "fromMember": "assistant", "toMember": "assistant2", "direction": "transfer", "period": { "obligationNet": 29200, "transferred": 0, "receivedForNet": 210000, "advancedNet": -180800 }, "entries": [ { "id": "", "date": "2026-11-19", "kind": "receipt", "project": "客户款代收", "fromMember": "assistant", "toMember": "assistant2", "amount": 210000, "revision": 3 }, { "id": "", "date": "2026-11-19", "kind": "advance", "project": "订单实际费用", "fromMember": "assistant2", "toMember": "assistant", "amount": 800, "revision": 3 }, { "id": "", "date": "2026-11-19", "kind": "advance", "project": "商品实际垫付", "fromMember": "assistant2", "toMember": "assistant", "amount": 180000, "revision": 3 } ] } ], "entries": [ { "id": "", "date": "2026-11-19", "kind": "receipt", "project": "客户款代收", "fromMember": "assistant", "toMember": "assistant2", "amount": 210000, "revision": 3 }, { "id": "", "date": "2026-11-19", "kind": "advance", "project": "订单实际费用", "fromMember": "assistant2", "toMember": "assistant", "amount": 800, "revision": 3 }, { "id": "", "date": "2026-11-19", "kind": "advance", "project": "商品实际垫付", "fromMember": "assistant2", "toMember": "assistant", "amount": 180000, "revision": 3 } ], "transfers": [], "revision": "dc9272ede872920e05008ef8c8e2a290e766de64cae986a7eb1b705d4e306dda", "pending": [], "legacyReadOnly": true, "cutover": "仅已启用的三人新账事件;旧结算不自动迁入", "transfersDeducted": true }, "readOnly": false, "hasRecords": true, "pendingCount": 0, "legacyReadOnly": true, "transfersNotDeducted": false, "reimbursements": [], "approvedReimbursements": 0, "ready": true, "transferAmount": null, "direction": null, "sources": { "revision": "dc9272ede872920e05008ef8c8e2a290e766de64cae986a7eb1b705d4e306dda", "total": 0, "items": [] }, "confirmation": null, "actualOutlay": null, "missingDates": [], "staleDates": [], "days": [] } }, { "seq": 328, "label": "people-count-d2", "date": "2026-11-19", "actor": "owner", "method": "GET", "path": "/api/people-count?date=2026-11-19", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "date": "2026-11-19", "previousDate": "2026-11-18", "previous": { "assistant1Count": 5, "assistant2Count": 3 }, "previousDates": { "assistant1": "2026-11-18", "assistant2": "2026-11-18" }, "mode": "daily-total", "assistant1Count": null, "assistant1Change": null, "assistant1ChangeReason": "missing-current", "assistant2Count": null, "assistant2Change": null, "assistant2ChangeReason": "missing-current", "revision": 0 } }, { "seq": 329, "label": "people-count-d2-save", "date": "2026-11-19", "actor": "owner", "method": "POST", "path": "/api/people-count", "key": "golden-00150-people-count-d2-save", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "date": "2026-11-19", "assistant1Count": 7, "assistant2Count": 4, "revision": 0 } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "date": "2026-11-19", "revision": 1, "previousDate": "2026-11-18", "mode": "daily-total", "assistant1Count": 7, "assistant1Change": 2, "assistant1ChangeReason": null, "assistant2Count": 4, "assistant2Change": 1, "assistant2ChangeReason": null, "previous": { "assistant1Count": 5, "assistant2Count": 3 }, "previousDates": { "assistant1": "2026-11-18", "assistant2": "2026-11-18" } } }, { "seq": 330, "label": "people-count-history-range", "date": "2026-11-19", "actor": "owner", "method": "GET", "path": "/api/people-count-history?from=2026-11-18&date=2026-11-19", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "from": "2026-11-18", "date": "2026-11-19", "today": "2026-11-19", "baselineDate": "2026-11-17", "mode": "daily-total", "rows": [ { "date": "2026-11-18", "previousDate": "2026-11-17", "previous": { "assistant1Count": null, "assistant2Count": null }, "previousDates": { "assistant1": null, "assistant2": null }, "mode": "daily-total", "assistant1Count": 5, "assistant1Change": null, "assistant1ChangeReason": "missing-previous", "assistant2Count": 3, "assistant2Change": null, "assistant2ChangeReason": "missing-previous" }, { "date": "2026-11-19", "previousDate": "2026-11-18", "previous": { "assistant1Count": 5, "assistant2Count": 3 }, "previousDates": { "assistant1": "2026-11-18", "assistant2": "2026-11-18" }, "mode": "daily-total", "assistant1Count": 7, "assistant1Change": 2, "assistant1ChangeReason": null, "assistant2Count": 4, "assistant2Change": 1, "assistant2ChangeReason": null } ], "summary": { "assistant1": { "total": 7, "endTotal": 7, "baselineTotal": null, "baselineDate": null, "netChange": null, "netChangeReason": "missing-previous", "recordedDays": 2 }, "assistant2": { "total": 4, "endTotal": 4, "baselineTotal": null, "baselineDate": null, "netChange": null, "netChangeReason": "missing-previous", "recordedDays": 2 } } } }, { "seq": 331, "note": "section", "name": "materialChanges" }, { "seq": 332, "label": "rolling-preview-before-enable", "date": "2026-11-19", "actor": "owner", "method": "GET", "path": "/api/material-pools/rolling-preview", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "date": "2026-11-19", "revision": "43f4bb53265d6960e55a5870506e366d94a3921fc8613a13012a4cfa99ac7f39", "canEnable": true, "reason": "", "opening": { "mg": 27000, "amount": 2448000, "allocations": [ { "payer": "assistant", "amount": 628000, "source_id": "", "created": "2026-11-18T02:01:09.000Z", "source_sequence": 1 }, { "payer": "owner", "amount": 1820000, "source_id": "", "created": "2026-11-18T02:01:10.000Z", "source_sequence": 2 } ] }, "affectedOrderCount": 0, "relatedOrders": [], "affectedDates": [], "summary": { "affectedOrderCount": 0, "goodsDelta": 0, "profitDelta": 0 } } }, { "seq": 333, "label": "rolling-enable-denied", "date": "2026-11-19", "actor": "assistant", "method": "POST", "path": "/api/material-pools/rolling-enable", "key": "golden-00151-rolling-enable-denied", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "date": "2026-11-19", "revision": "43f4bb53265d6960e55a5870506e366d94a3921fc8613a13012a4cfa99ac7f39", "verified": true } }, "status": 403, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "error": "滚动料池须由麦麦核实后启用" } }, { "seq": 334, "label": "rolling-enable", "date": "2026-11-19", "actor": "owner", "method": "POST", "path": "/api/material-pools/rolling-enable", "key": "golden-00152-rolling-enable", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "date": "2026-11-19", "revision": "43f4bb53265d6960e55a5870506e366d94a3921fc8613a13012a4cfa99ac7f39", "verified": true } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "rolling": { "enabled": true, "cutover": "2026-11-19", "canEnable": false, "reason": "" }, "current": { "id": "2026-11-19", "date": "2026-11-19", "rolling": true, "frozen": false, "totalMg": 28000, "totalAmount": 2536000, "usedMg": 0, "remainingMg": 28000, "shortageMg": 0, "consumedCost": 0, "remainingCost": 2536000, "remainingAllocations": [ { "payer": "assistant", "amount": 628000, "source_id": "", "created": "2026-11-18T02:01:09.000Z", "source_sequence": 1 }, { "payer": "owner", "amount": 1820000, "source_id": "", "created": "2026-11-18T02:01:10.000Z", "source_sequence": 2 }, { "payer": "assistant2", "amount": 88000, "source_id": "return::material:0", "created": "2026-11-19T02:01:05.000Z" } ], "byPayer": { "owner": { "purchased": 1820000, "consumed": 0, "remaining": 1820000 }, "assistant": { "purchased": 628000, "consumed": 0, "remaining": 628000 }, "assistant2": { "purchased": 88000, "consumed": 0, "remaining": 88000 } }, "averageRate": 90571, "status": "unused", "revision": "ff814cc4c01584def21570bc60f0854b715c6ea408a557d8938b7070af0d103d", "opening": { "mg": 27000, "amount": 2448000, "allocations": [ { "payer": "assistant", "amount": 628000, "source_id": "", "created": "2026-11-18T02:01:09.000Z", "source_sequence": 1 }, { "payer": "owner", "amount": 1820000, "source_id": "", "created": "2026-11-18T02:01:10.000Z", "source_sequence": 2 } ] }, "todayPurchases": { "mg": 0, "amount": 0, "count": 0, "items": [] }, "todayReturns": { "mg": 1000, "amount": 88000, "count": 1, "grossMg": 1000, "grossAmount": 88000, "grossCount": 1 }, "returns": [ { "id": "", "order_id": "", "line_index": 0, "date": "2026-11-19", "mg": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "origin_pool_id": "", "same_day": 0, "actor": "麦麦", "created": "2026-11-19T02:01:05.000Z", "source_sequence": 1, "number": "20261118007", "paper_number": "20261118007", "order_date": "2026-11-18", "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "sameDay": false, "cashAmount": 0 } ], "purchases": [ { "id": "carry:2026-11-19", "date": "2026-11-19", "mg": 27000, "amount": 2448000, "payer": "assistant", "allocations": [ { "payer": "assistant", "amount": 628000, "source_id": "", "created": "2026-11-18T02:01:09.000Z", "source_sequence": 1 }, { "payer": "owner", "amount": 1820000, "source_id": "", "created": "2026-11-18T02:01:10.000Z", "source_sequence": 2 } ], "created": "2026-11-19T00:00:00.000Z", "note": "以前结转", "sourceKind": "carry", "cashAmount": 0, "canEdit": false }, { "id": "return::material:0", "order_id": "", "line_index": 0, "date": "2026-11-19", "mg": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "origin_pool_id": "", "same_day": 0, "actor": "麦麦", "created": "2026-11-19T02:01:05.000Z", "source_sequence": 1, "number": "20261118007", "paper_number": "20261118007", "order_date": "2026-11-18", "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "sameDay": false, "cashAmount": 0, "batches": [], "materialKind": "public", "materialOwner": null, "payer": "assistant2", "sourceKind": "return", "note": "退货回料", "canEdit": false } ], "usages": [], "settlements": [], "settlement": { "legacyReadOnly": true, "settlementDue": 0, "assistantInventoryCredit": 0, "transferred": 0, "pending": false } } } }, { "seq": 335, "label": "purchase-d2", "date": "2026-11-19", "actor": "assistant", "method": "POST", "path": "/api/material-purchases", "key": "golden-00153-purchase-d2", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "date": "2026-11-19", "grams": "5", "total": "4600", "payer": "assistant", "allocations": [ { "member": "assistant", "amount": "4600" } ], "note": "第二天购料" } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "", "poolId": "2026-11-19", "pool": { "id": "2026-11-19", "date": "2026-11-19", "rolling": true, "frozen": false, "totalMg": 33000, "totalAmount": 2996000, "usedMg": 0, "remainingMg": 33000, "shortageMg": 0, "consumedCost": 0, "remainingCost": 2996000, "remainingAllocations": [ { "payer": "assistant", "amount": 628000, "source_id": "", "created": "2026-11-18T02:01:09.000Z", "source_sequence": 1 }, { "payer": "owner", "amount": 1820000, "source_id": "", "created": "2026-11-18T02:01:10.000Z", "source_sequence": 2 }, { "payer": "assistant2", "amount": 88000, "source_id": "return::material:0", "created": "2026-11-19T02:01:05.000Z" }, { "payer": "assistant", "amount": 460000, "source_id": "", "created": "2026-11-19T02:02:19.000Z" } ], "byPayer": { "owner": { "purchased": 1820000, "consumed": 0, "remaining": 1820000 }, "assistant": { "purchased": 1088000, "consumed": 0, "remaining": 1088000 }, "assistant2": { "purchased": 88000, "consumed": 0, "remaining": 88000 } }, "averageRate": 90788, "status": "unused", "revision": "d957c8c11a47cb6cd1c7a6ef6deed7d7713ae16b9a71f6b2785951a75cd2dadd", "todayPurchases": { "mg": 5000, "amount": 460000, "count": 1, "items": [ { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 5000, "amount": 460000, "payer": "assistant", "note": "第二天购料", "actor": "助理", "created": "2026-11-19T02:02:19.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:19.000Z", "source_sequence": 4, "sourceKind": "purchase", "member": "assistant", "canEdit": true, "canRequestChange": false, "ownerReviewRequired": false } ] }, "todayReturns": { "mg": 1000, "amount": 88000, "count": 1, "grossMg": 1000, "grossAmount": 88000, "grossCount": 1 }, "purchases": [ { "id": "carry:2026-11-19", "date": "2026-11-19", "mg": 27000, "amount": 2448000, "payer": "assistant", "allocations": [ { "payer": "assistant", "amount": 628000, "source_id": "", "created": "2026-11-18T02:01:09.000Z", "source_sequence": 1 }, { "payer": "owner", "amount": 1820000, "source_id": "", "created": "2026-11-18T02:01:10.000Z", "source_sequence": 2 } ], "shared": true, "canEdit": false, "canRequestChange": false, "sourceKind": "carry", "cashAmount": 0 }, { "id": "return::material:0", "date": "2026-11-19", "mg": 1000, "amount": 88000, "payer": "assistant2", "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "shared": true, "canEdit": false, "canRequestChange": false, "sourceKind": "return", "cashAmount": 0 }, { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 5000, "amount": 460000, "payer": "assistant", "note": "第二天购料", "actor": "助理", "created": "2026-11-19T02:02:19.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:19.000Z", "source_sequence": 4, "sourceKind": "purchase", "member": "assistant", "canEdit": true, "canRequestChange": false, "ownerReviewRequired": false } ], "usages": [], "settlements": [], "settlement": { "legacyReadOnly": true, "pending": false, "settlementDue": null }, "opening": { "mg": 27000, "amount": 2448000, "allocations": [ { "payer": "assistant", "amount": 628000, "source_id": "", "created": "2026-11-18T02:01:09.000Z", "source_sequence": 1 }, { "payer": "owner", "amount": 1820000, "source_id": "", "created": "2026-11-18T02:01:10.000Z", "source_sequence": 2 } ] }, "returns": [ { "id": "", "date": "2026-11-19", "mg": 1000, "amount": 88000, "sameDay": false, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "anonymous": true } ], "legacyReadOnly": true } } }, { "seq": 336, "label": "purchase-d2-xiaohao", "date": "2026-11-19", "actor": "assistant2", "method": "POST", "path": "/api/material-purchases", "key": "golden-00154-purchase-d2-xiaohao", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "date": "2026-11-19", "grams": "4", "total": "3700", "payer": "assistant2", "allocations": [ { "member": "assistant2", "amount": "3700" } ] } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "", "poolId": "2026-11-19", "pool": { "id": "2026-11-19", "date": "2026-11-19", "rolling": true, "frozen": false, "totalMg": 37000, "totalAmount": 3366000, "usedMg": 0, "remainingMg": 37000, "shortageMg": 0, "consumedCost": 0, "remainingCost": 3366000, "remainingAllocations": [ { "payer": "assistant", "amount": 628000, "source_id": "", "created": "2026-11-18T02:01:09.000Z", "source_sequence": 1 }, { "payer": "owner", "amount": 1820000, "source_id": "", "created": "2026-11-18T02:01:10.000Z", "source_sequence": 2 }, { "payer": "assistant2", "amount": 88000, "source_id": "return::material:0", "created": "2026-11-19T02:01:05.000Z" }, { "payer": "assistant", "amount": 460000, "source_id": "", "created": "2026-11-19T02:02:19.000Z" }, { "payer": "assistant2", "amount": 370000, "source_id": "", "created": "2026-11-19T02:02:20.000Z" } ], "byPayer": { "owner": { "purchased": 1820000, "consumed": 0, "remaining": 1820000 }, "assistant": { "purchased": 1088000, "consumed": 0, "remaining": 1088000 }, "assistant2": { "purchased": 458000, "consumed": 0, "remaining": 458000 } }, "averageRate": 90973, "status": "unused", "revision": "9e003dda2a0f5a651e44e6fd5de9e538d583d5c58dfd96aaa75b35b062e227af", "todayPurchases": { "mg": 9000, "amount": 830000, "count": 2, "items": [ { "id": "", "date": "2026-11-19", "mg": 5000, "amount": 460000, "payer": "assistant", "shared": true, "canEdit": false, "canRequestChange": false, "sourceKind": "purchase" }, { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 4000, "amount": 370000, "payer": "assistant2", "note": "", "actor": "助理2", "created": "2026-11-19T02:02:20.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:20.000Z", "source_sequence": 5, "sourceKind": "purchase", "member": "assistant2", "canEdit": true, "canRequestChange": false, "ownerReviewRequired": false } ] }, "todayReturns": { "mg": 1000, "amount": 88000, "count": 1, "grossMg": 1000, "grossAmount": 88000, "grossCount": 1 }, "purchases": [ { "id": "carry:2026-11-19", "date": "2026-11-19", "mg": 27000, "amount": 2448000, "payer": "assistant", "allocations": [ { "payer": "assistant", "amount": 628000, "source_id": "", "created": "2026-11-18T02:01:09.000Z", "source_sequence": 1 }, { "payer": "owner", "amount": 1820000, "source_id": "", "created": "2026-11-18T02:01:10.000Z", "source_sequence": 2 } ], "shared": true, "canEdit": false, "canRequestChange": false, "sourceKind": "carry", "cashAmount": 0 }, { "id": "return::material:0", "date": "2026-11-19", "mg": 1000, "amount": 88000, "payer": "assistant2", "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "shared": true, "canEdit": false, "canRequestChange": false, "sourceKind": "return", "cashAmount": 0 }, { "id": "", "date": "2026-11-19", "mg": 5000, "amount": 460000, "payer": "assistant", "shared": true, "canEdit": false, "canRequestChange": false, "sourceKind": "purchase" }, { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 4000, "amount": 370000, "payer": "assistant2", "note": "", "actor": "助理2", "created": "2026-11-19T02:02:20.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:20.000Z", "source_sequence": 5, "sourceKind": "purchase", "member": "assistant2", "canEdit": true, "canRequestChange": false, "ownerReviewRequired": false } ], "usages": [], "settlements": [], "settlement": { "legacyReadOnly": true, "pending": false, "settlementDue": null }, "opening": { "mg": 27000, "amount": 2448000, "allocations": [ { "payer": "assistant", "amount": 628000, "source_id": "", "created": "2026-11-18T02:01:09.000Z", "source_sequence": 1 }, { "payer": "owner", "amount": 1820000, "source_id": "", "created": "2026-11-18T02:01:10.000Z", "source_sequence": 2 } ] }, "returns": [ { "id": "", "order_id": "", "line_index": 0, "date": "2026-11-19", "mg": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "origin_pool_id": "", "same_day": 0, "actor": "麦麦", "created": "2026-11-19T02:01:05.000Z", "source_sequence": 1, "number": "20261118007", "paper_number": "20261118007", "order_date": "2026-11-18", "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "sameDay": false, "cashAmount": 0 } ], "legacyReadOnly": true } } }, { "seq": 337, "label": "purchase-detail-d2", "date": "2026-11-19", "actor": "assistant", "method": "GET", "path": "/api/material-purchases/", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "purchase": { "id": "", "pool_id": "2026-11-18", "date": "2026-11-18", "mg": 10000, "amount": 900000, "payer": "assistant", "note": "娜娜购料", "actor": "助理", "created": "2026-11-18T02:01:09.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-18T02:01:09.000Z", "ownerReviewRequired": true, "canRequestChange": true }, "pool": { "id": "2026-11-18", "date": "2026-11-18", "totalMg": 30000, "totalAmount": 2720000, "averageRate": 90667, "usedMg": 3000, "remainingMg": 27000, "shortageMg": 0, "consumedCost": 272000, "remainingCost": 2448000, "status": "using", "revision": "e3072e81dd7b585b863bbbe6f312844a32ece32c2856aea4df479b9ceab74c55", "purchases": [ { "id": "", "pool_id": "2026-11-18", "date": "2026-11-18", "mg": 10000, "amount": 900000, "payer": "assistant", "note": "娜娜购料", "actor": "助理", "created": "2026-11-18T02:01:09.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-18T02:01:09.000Z", "member": "assistant", "canEdit": false, "canRequestChange": true, "ownerReviewRequired": true }, { "id": "", "date": "2026-11-18", "mg": 20000, "amount": 1820000, "payer": "owner", "shared": true, "canEdit": false, "canRequestChange": false } ], "usages": [ { "id": "", "order_id": "", "line_index": 0, "pool_id": "2026-11-18", "date": "2026-11-18", "mg": 3000, "active": 1, "amount": 272000, "owner_amount": 0, "assistant_amount": 272000, "revision": 2, "created": "2026-11-18T02:01:20.000Z", "updated": "2026-11-18T02:01:20.000Z", "fifo_sequence": 1, "number": "MM20261118-", "customer": "对照客户丁", "order_status": "delivered", "member": "assistant", "product": "足金999" } ], "settlements": [], "byPayer": { "owner": { "purchased": 1820000, "consumed": 0, "remaining": 1820000 }, "assistant": { "purchased": 900000, "consumed": 272000, "remaining": 628000 } }, "settlement": { "legacyReadOnly": true, "pending": false, "settlementDue": null }, "legacyReadOnly": true }, "history": [ { "action": "登记实际购料", "actor": "助理", "detail": { "before": null, "after": { "id": "", "pool_id": "2026-11-18", "date": "2026-11-18", "mg": 10000, "amount": 900000, "payer": "assistant", "note": "娜娜购料", "actor": "助理", "created": "2026-11-18T02:01:09.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-18T02:01:09.000Z" }, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-18T02:01:09.000Z" } ] } }, { "seq": 338, "label": "purchase-edit-cross-day-denied", "date": "2026-11-19", "actor": "assistant", "method": "POST", "path": "/api/material-purchases//edit", "key": "golden-00155-purchase-edit-cross-day-denied", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "date": "2026-11-18", "grams": "11", "total": "9900", "payer": "assistant", "note": "直接改", "revision": 1 } }, "status": 409, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "error": "已结转日期的料池已冻结,历史更正须提交麦麦复核" } }, { "seq": 339, "label": "purchase-change-request", "date": "2026-11-19", "actor": "assistant", "method": "POST", "path": "/api/material-purchases//change", "key": "golden-00156-purchase-change-request", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "date": "2026-11-18", "grams": "11", "total": "9900", "payer": "assistant", "allocations": [ { "member": "assistant", "amount": "9900" } ], "note": "核对凭据", "revision": 1, "action": "edit", "reason": "核对原始购料凭据后申请", "verified": true } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "", "purchase_id": "", "purchase_revision": 1, "action": "edit", "reason": "核对原始购料凭据后申请", "status": "pending", "requester_id": "", "requester_name": "助理", "requester_role": "assistant", "created": "2026-11-19T02:02:23.000Z", "reviewer_id": null, "reviewer_name": null, "reviewed": null, "note": "", "stale": false, "canApprove": false, "preview": { "before": { "id": "", "date": "2026-11-18", "mg": 10000, "amount": 900000, "payer": "assistant", "note": "娜娜购料", "revision": 1 }, "after": { "id": "", "date": "2026-11-18", "mg": 11000, "amount": 990000, "payer": "assistant", "note": "核对凭据", "revision": 2 }, "relatedOrders": [ { "id": "", "number": "20261118004", "date": "2026-11-18", "member": "assistant", "before": { "goodsCost": 272000, "profit": 57000, "settlementDue": 0, "ownerCost": 0, "total": 330000, "netReceived": 330000 }, "after": { "goodsCost": 271935, "profit": 57065, "settlementDue": 0, "ownerCost": 0, "total": 330000, "netReceived": 330000 } } ], "affectedDates": [ "2026-11-18" ], "summary": { "affectedOrderCount": 1 } } } }, { "seq": 340, "label": "purchase-changes-list", "date": "2026-11-19", "actor": "owner", "method": "GET", "path": "/api/material-purchase-changes", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "rows": [ { "id": "", "purchase_id": "", "purchase_revision": 1, "action": "edit", "reason": "核对原始购料凭据后申请", "status": "pending", "requester_id": "", "requester_name": "助理", "requester_role": "assistant", "created": "2026-11-19T02:02:23.000Z", "reviewer_id": null, "reviewer_name": null, "reviewed": null, "note": "", "stale": false, "canApprove": true, "preview": { "before": { "id": "", "date": "2026-11-18", "mg": 10000, "amount": 900000, "payer": "assistant", "note": "娜娜购料", "revision": 1 }, "after": { "id": "", "date": "2026-11-18", "mg": 11000, "amount": 990000, "payer": "assistant", "note": "核对凭据", "revision": 2 }, "relatedOrders": [ { "id": "", "number": "20261118004", "date": "2026-11-18", "member": "assistant", "before": { "goodsCost": 272000, "profit": 57000, "settlementDue": 0, "ownerCost": 0, "total": 330000, "netReceived": 330000 }, "after": { "goodsCost": 271935, "profit": 57065, "settlementDue": 0, "ownerCost": 0, "total": 330000, "netReceived": 330000 } } ], "affectedDates": [ "2026-11-18" ], "summary": { "affectedOrderCount": 1, "goodsDelta": -65, "profitDelta": 65 } } } ], "counts": { "pending": 1, "approved": 0, "rejected": 0 } } }, { "seq": 341, "label": "purchase-change-detail", "date": "2026-11-19", "actor": "assistant", "method": "GET", "path": "/api/material-purchase-changes/", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "", "purchase_id": "", "purchase_revision": 1, "action": "edit", "reason": "核对原始购料凭据后申请", "status": "pending", "requester_id": "", "requester_name": "助理", "requester_role": "assistant", "created": "2026-11-19T02:02:23.000Z", "reviewer_id": null, "reviewer_name": null, "reviewed": null, "note": "", "stale": false, "canApprove": false, "preview": { "before": { "id": "", "date": "2026-11-18", "mg": 10000, "amount": 900000, "payer": "assistant", "note": "娜娜购料", "revision": 1 }, "after": { "id": "", "date": "2026-11-18", "mg": 11000, "amount": 990000, "payer": "assistant", "note": "核对凭据", "revision": 2 }, "relatedOrders": [ { "id": "", "number": "20261118004", "date": "2026-11-18", "member": "assistant", "before": { "goodsCost": 272000, "profit": 57000, "settlementDue": 0, "ownerCost": 0, "total": 330000, "netReceived": 330000 }, "after": { "goodsCost": 271935, "profit": 57065, "settlementDue": 0, "ownerCost": 0, "total": 330000, "netReceived": 330000 } } ], "affectedDates": [ "2026-11-18" ], "summary": { "affectedOrderCount": 1 } } } }, { "seq": 342, "label": "purchase-change-self-approve", "date": "2026-11-19", "actor": "assistant", "method": "POST", "path": "/api/material-purchase-changes//approve", "key": "golden-00157-purchase-change-self-approve", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "revision": 1, "verified": true, "note": "自批" } }, "status": 403, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "error": "历史购料更正须由麦麦批准" } }, { "seq": 343, "label": "purchase-change-approve", "date": "2026-11-19", "actor": "owner", "method": "POST", "path": "/api/material-purchase-changes//approve", "key": "golden-00158-purchase-change-approve", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "revision": 1, "verified": true, "note": "已核对付款凭据" } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "", "purchase_id": "", "purchase_revision": 1, "action": "edit", "reason": "核对原始购料凭据后申请", "status": "approved", "requester_id": "", "requester_name": "助理", "requester_role": "assistant", "created": "2026-11-19T02:02:23.000Z", "reviewer_id": "", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:02:27.000Z", "note": "已核对付款凭据", "stale": false, "canApprove": false, "preview": { "before": { "id": "", "date": "2026-11-18", "mg": 10000, "amount": 900000, "payer": "assistant", "note": "娜娜购料", "revision": 1 }, "after": { "id": "", "date": "2026-11-18", "mg": 11000, "amount": 990000, "payer": "assistant", "note": "核对凭据", "revision": 2 }, "relatedOrders": [ { "id": "", "number": "20261118004", "date": "2026-11-18", "member": "assistant", "before": { "goodsCost": 272000, "profit": 57000, "settlementDue": 0, "ownerCost": 0, "total": 330000, "netReceived": 330000 }, "after": { "goodsCost": 271935, "profit": 57065, "settlementDue": 0, "ownerCost": 0, "total": 330000, "netReceived": 330000 } } ], "affectedDates": [ "2026-11-18" ], "summary": { "affectedOrderCount": 1, "goodsDelta": -65, "profitDelta": 65 } } } }, { "seq": 344, "label": "purchase-detail-after-approve", "date": "2026-11-19", "actor": "assistant", "method": "GET", "path": "/api/material-purchases/", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "purchase": { "id": "", "pool_id": "2026-11-18", "date": "2026-11-18", "mg": 11000, "amount": 990000, "payer": "assistant", "note": "核对凭据", "actor": "助理", "created": "2026-11-18T02:01:09.000Z", "revision": 2, "deleted_at": "", "updated": "2026-11-19T02:02:27.000Z", "ownerReviewRequired": true, "canRequestChange": true }, "pool": { "id": "2026-11-18", "date": "2026-11-18", "totalMg": 31000, "totalAmount": 2810000, "averageRate": 90645, "usedMg": 3000, "remainingMg": 28000, "shortageMg": 0, "consumedCost": 271935, "remainingCost": 2538065, "status": "using", "revision": "2823f40ff78424f5423f0dbdf991ea5fcc83b0144648e9d2399869970c27af75", "purchases": [ { "id": "", "pool_id": "2026-11-18", "date": "2026-11-18", "mg": 11000, "amount": 990000, "payer": "assistant", "note": "核对凭据", "actor": "助理", "created": "2026-11-18T02:01:09.000Z", "revision": 2, "deleted_at": "", "updated": "2026-11-19T02:02:27.000Z", "member": "assistant", "canEdit": false, "canRequestChange": true, "ownerReviewRequired": true }, { "id": "", "date": "2026-11-18", "mg": 20000, "amount": 1820000, "payer": "owner", "shared": true, "canEdit": false, "canRequestChange": false } ], "usages": [ { "id": "", "order_id": "", "line_index": 0, "pool_id": "2026-11-18", "date": "2026-11-18", "mg": 3000, "active": 1, "amount": 271935, "owner_amount": 0, "assistant_amount": 271935, "revision": 3, "created": "2026-11-18T02:01:20.000Z", "updated": "2026-11-19T02:02:27.000Z", "fifo_sequence": 1, "number": "MM20261118-", "customer": "对照客户丁", "order_status": "delivered", "member": "assistant", "product": "足金999" } ], "settlements": [], "byPayer": { "owner": { "purchased": 1820000, "consumed": 0, "remaining": 1820000 }, "assistant": { "purchased": 990000, "consumed": 271935, "remaining": 718065 } }, "settlement": { "legacyReadOnly": true, "pending": false, "settlementDue": null }, "legacyReadOnly": true }, "history": [ { "action": "修改实际购料", "actor": "麦麦", "detail": { "before": { "id": "", "pool_id": "2026-11-18", "date": "2026-11-18", "mg": 10000, "amount": 900000, "payer": "assistant", "note": "娜娜购料", "actor": "助理", "created": "2026-11-18T02:01:09.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-18T02:01:09.000Z" }, "after": { "id": "", "pool_id": "2026-11-18", "date": "2026-11-18", "mg": 11000, "amount": 990000, "payer": "assistant", "note": "核对凭据", "actor": "助理", "created": "2026-11-18T02:01:09.000Z", "revision": 2, "deleted_at": "", "updated": "2026-11-19T02:02:27.000Z" }, "actorIdentity": { "id": "", "role": "owner", "member": "owner" } }, "created": "2026-11-19T02:02:27.000Z" }, { "action": "登记实际购料", "actor": "助理", "detail": { "before": null, "after": { "id": "", "pool_id": "2026-11-18", "date": "2026-11-18", "mg": 10000, "amount": 900000, "payer": "assistant", "note": "娜娜购料", "actor": "助理", "created": "2026-11-18T02:01:09.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-18T02:01:09.000Z" }, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-18T02:01:09.000Z" } ] } }, { "seq": 345, "label": "purchase-delete-request", "date": "2026-11-19", "actor": "assistant", "method": "POST", "path": "/api/material-purchases//change", "key": "golden-00159-purchase-delete-request", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "revision": 2, "action": "delete", "reason": "申请删除历史购料", "verified": true } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "", "purchase_id": "", "purchase_revision": 2, "action": "delete", "reason": "申请删除历史购料", "status": "pending", "requester_id": "", "requester_name": "助理", "requester_role": "assistant", "created": "2026-11-19T02:02:29.000Z", "reviewer_id": null, "reviewer_name": null, "reviewed": null, "note": "", "stale": false, "canApprove": false, "preview": { "before": { "id": "", "date": "2026-11-18", "mg": 11000, "amount": 990000, "payer": "assistant", "note": "核对凭据", "revision": 2 }, "after": null, "relatedOrders": [ { "id": "", "number": "20261118004", "date": "2026-11-18", "member": "assistant", "before": { "goodsCost": 271935, "profit": 57065, "settlementDue": 0, "ownerCost": 0, "total": 330000, "netReceived": 330000 }, "after": { "goodsCost": 273000, "profit": 56000, "settlementDue": 0, "ownerCost": 273000, "total": 330000, "netReceived": 330000 } } ], "affectedDates": [ "2026-11-18" ], "summary": { "affectedOrderCount": 1 } } } }, { "seq": 346, "label": "purchase-change-reject", "date": "2026-11-19", "actor": "owner", "method": "POST", "path": "/api/material-purchase-changes//reject", "key": "golden-00160-purchase-change-reject", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "note": "购料真实存在" } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "", "purchase_id": "", "purchase_revision": 2, "action": "delete", "reason": "申请删除历史购料", "status": "rejected", "requester_id": "", "requester_name": "助理", "requester_role": "assistant", "created": "2026-11-19T02:02:29.000Z", "reviewer_id": "", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:02:30.000Z", "note": "购料真实存在", "stale": false, "canApprove": false, "preview": { "before": { "id": "", "date": "2026-11-18", "mg": 11000, "amount": 990000, "payer": "assistant", "note": "核对凭据", "revision": 2 }, "after": null, "relatedOrders": [ { "id": "", "number": "20261118004", "date": "2026-11-18", "member": "assistant", "before": { "goodsCost": 271935, "profit": 57065, "settlementDue": 0, "ownerCost": 0, "total": 330000, "netReceived": 330000 }, "after": { "goodsCost": 273000, "profit": 56000, "settlementDue": 0, "ownerCost": 273000, "total": 330000, "netReceived": 330000 } } ], "affectedDates": [ "2026-11-18" ], "summary": { "affectedOrderCount": 1, "goodsDelta": 1065, "profitDelta": -1065 } } } }, { "seq": 347, "label": "purchase-owner-detail", "date": "2026-11-19", "actor": "owner", "method": "GET", "path": "/api/material-purchases/", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "purchase": { "id": "", "pool_id": "2026-11-18", "date": "2026-11-18", "mg": 20000, "amount": 1820000, "payer": "owner", "note": "麦麦购料", "actor": "麦麦", "created": "2026-11-18T02:01:10.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-18T02:01:10.000Z", "ownerReviewRequired": true, "canRequestChange": true }, "pool": { "id": "2026-11-18", "date": "2026-11-18", "totalMg": 31000, "totalAmount": 2810000, "averageRate": 90645, "usedMg": 3000, "remainingMg": 28000, "shortageMg": 0, "consumedCost": 271935, "remainingCost": 2538065, "status": "using", "revision": "2823f40ff78424f5423f0dbdf991ea5fcc83b0144648e9d2399869970c27af75", "purchases": [ { "id": "", "pool_id": "2026-11-18", "date": "2026-11-18", "mg": 11000, "amount": 990000, "payer": "assistant", "note": "核对凭据", "actor": "助理", "created": "2026-11-18T02:01:09.000Z", "revision": 2, "deleted_at": "", "updated": "2026-11-19T02:02:27.000Z", "canEdit": false, "canRequestChange": true, "ownerReviewRequired": true, "member": "assistant" }, { "id": "", "pool_id": "2026-11-18", "date": "2026-11-18", "mg": 20000, "amount": 1820000, "payer": "owner", "note": "麦麦购料", "actor": "麦麦", "created": "2026-11-18T02:01:10.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-18T02:01:10.000Z", "canEdit": false, "canRequestChange": true, "ownerReviewRequired": true, "member": "owner" } ], "usages": [ { "id": "", "order_id": "", "line_index": 0, "pool_id": "2026-11-18", "date": "2026-11-18", "mg": 3000, "active": 1, "amount": 271935, "owner_amount": 0, "assistant_amount": 271935, "revision": 3, "created": "2026-11-18T02:01:20.000Z", "updated": "2026-11-19T02:02:27.000Z", "fifo_sequence": 1, "number": "MM20261118-", "customer": "对照客户丁", "order_status": "delivered", "member": "assistant", "product": "足金999" } ], "settlements": [], "byPayer": { "owner": { "purchased": 1820000, "consumed": 0, "remaining": 1820000 }, "assistant": { "purchased": 990000, "consumed": 271935, "remaining": 718065 } }, "settlement": { "assistantInventoryCredit": 718065, "transferred": 0, "settlementDue": -718065, "pending": false }, "legacyReadOnly": true }, "history": [ { "action": "登记实际购料", "actor": "麦麦", "detail": { "before": null, "after": { "id": "", "pool_id": "2026-11-18", "date": "2026-11-18", "mg": 20000, "amount": 1820000, "payer": "owner", "note": "麦麦购料", "actor": "麦麦", "created": "2026-11-18T02:01:10.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-18T02:01:10.000Z" }, "actorIdentity": { "id": "", "role": "owner", "member": "owner" } }, "created": "2026-11-18T02:01:10.000Z" } ] } }, { "seq": 348, "label": "purchase-edit-owner-frozen", "date": "2026-11-19", "actor": "owner", "method": "POST", "path": "/api/material-purchases//edit", "key": "golden-00161-purchase-edit-owner-frozen", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "date": "2026-11-18", "grams": "20", "total": "18400", "payer": "owner", "note": "老板改价", "revision": 1 } }, "status": 409, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "error": "已结转日期的料池已冻结,历史更正须提交麦麦复核" } }, { "seq": 349, "label": "purchase-to-delete", "date": "2026-11-19", "actor": "owner", "method": "POST", "path": "/api/material-purchases", "key": "golden-00162-purchase-to-delete", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "date": "2026-11-19", "grams": "1", "total": "900", "payer": "owner", "note": "待删除" } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "", "poolId": "2026-11-19", "pool": { "id": "2026-11-19", "date": "2026-11-19", "rolling": true, "frozen": false, "totalMg": 39000, "totalAmount": 3546065, "usedMg": 0, "remainingMg": 39000, "shortageMg": 0, "consumedCost": 0, "remainingCost": 3546065, "remainingAllocations": [ { "payer": "assistant", "amount": 718065, "source_id": "", "created": "2026-11-18T02:01:09.000Z", "source_sequence": 1 }, { "payer": "owner", "amount": 1820000, "source_id": "", "created": "2026-11-18T02:01:10.000Z", "source_sequence": 2 }, { "payer": "assistant2", "amount": 88000, "source_id": "return::material:0", "created": "2026-11-19T02:01:05.000Z" }, { "payer": "assistant", "amount": 460000, "source_id": "", "created": "2026-11-19T02:02:19.000Z" }, { "payer": "assistant2", "amount": 370000, "source_id": "", "created": "2026-11-19T02:02:20.000Z" }, { "payer": "owner", "amount": 90000, "source_id": "", "created": "2026-11-19T02:02:33.000Z" } ], "byPayer": { "owner": { "purchased": 1910000, "consumed": 0, "remaining": 1910000 }, "assistant": { "purchased": 1178065, "consumed": 0, "remaining": 1178065 }, "assistant2": { "purchased": 458000, "consumed": 0, "remaining": 458000 } }, "averageRate": 90925, "status": "unused", "revision": "88796bce0013dc02ca8ca610e43f143452f0f65c48352b8a31129d713ebf12bd", "opening": { "mg": 28000, "amount": 2538065, "allocations": [ { "payer": "assistant", "amount": 718065, "source_id": "", "created": "2026-11-18T02:01:09.000Z", "source_sequence": 1 }, { "payer": "owner", "amount": 1820000, "source_id": "", "created": "2026-11-18T02:01:10.000Z", "source_sequence": 2 } ], "pending": false, "pools": [ { "id": "2026-11-18", "date": "2026-11-18", "totalMg": 31000, "totalAmount": 2810000, "averageRate": 90645, "usedMg": 3000, "remainingMg": 28000, "shortageMg": 0, "consumedCost": 271935, "remainingCost": 2538065, "status": "using", "revision": "2823f40ff78424f5423f0dbdf991ea5fcc83b0144648e9d2399869970c27af75", "purchases": [ { "id": "", "pool_id": "2026-11-18", "date": "2026-11-18", "mg": 11000, "amount": 990000, "payer": "assistant", "note": "核对凭据", "actor": "助理", "created": "2026-11-18T02:01:09.000Z", "revision": 2, "deleted_at": "", "updated": "2026-11-19T02:02:27.000Z" }, { "id": "", "pool_id": "2026-11-18", "date": "2026-11-18", "mg": 20000, "amount": 1820000, "payer": "owner", "note": "麦麦购料", "actor": "麦麦", "created": "2026-11-18T02:01:10.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-18T02:01:10.000Z" } ], "usages": [ { "id": "", "order_id": "", "line_index": 0, "pool_id": "2026-11-18", "date": "2026-11-18", "mg": 3000, "active": 1, "amount": 271935, "owner_amount": 0, "assistant_amount": 271935, "revision": 3, "created": "2026-11-18T02:01:20.000Z", "updated": "2026-11-19T02:02:27.000Z", "fifo_sequence": 1, "number": "MM20261118-", "customer": "对照客户丁", "order_status": "delivered", "member": "assistant", "product": "足金999" } ], "settlements": [], "byPayer": { "owner": { "purchased": 1820000, "consumed": 0, "remaining": 1820000 }, "assistant": { "purchased": 990000, "consumed": 271935, "remaining": 718065 } }, "settlement": { "assistantInventoryCredit": 718065, "transferred": 0, "settlementDue": -718065, "pending": false } } ] }, "todayPurchases": { "mg": 10000, "amount": 920000, "count": 3, "items": [ { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 5000, "amount": 460000, "payer": "assistant", "note": "第二天购料", "actor": "助理", "created": "2026-11-19T02:02:19.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:19.000Z", "source_sequence": 4, "sourceKind": "purchase", "canEdit": true, "canRequestChange": false, "ownerReviewRequired": false, "member": "assistant" }, { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 4000, "amount": 370000, "payer": "assistant2", "note": "", "actor": "助理2", "created": "2026-11-19T02:02:20.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:20.000Z", "source_sequence": 5, "sourceKind": "purchase", "canEdit": true, "canRequestChange": false, "ownerReviewRequired": false, "member": "assistant2" }, { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 1000, "amount": 90000, "payer": "owner", "note": "待删除", "actor": "麦麦", "created": "2026-11-19T02:02:33.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:33.000Z", "source_sequence": 6, "sourceKind": "purchase", "canEdit": true, "canRequestChange": false, "ownerReviewRequired": false, "member": "owner" } ] }, "todayReturns": { "mg": 1000, "amount": 88000, "count": 1, "grossMg": 1000, "grossAmount": 88000, "grossCount": 1 }, "returns": [ { "id": "", "order_id": "", "line_index": 0, "date": "2026-11-19", "mg": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "origin_pool_id": "", "same_day": 0, "actor": "麦麦", "created": "2026-11-19T02:01:05.000Z", "source_sequence": 1, "number": "20261118007", "paper_number": "20261118007", "order_date": "2026-11-18", "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "sameDay": false, "cashAmount": 0 } ], "purchases": [ { "id": "carry:2026-11-19", "date": "2026-11-19", "mg": 28000, "amount": 2538065, "payer": "assistant", "allocations": [ { "payer": "assistant", "amount": 718065, "source_id": "", "created": "2026-11-18T02:01:09.000Z", "source_sequence": 1 }, { "payer": "owner", "amount": 1820000, "source_id": "", "created": "2026-11-18T02:01:10.000Z", "source_sequence": 2 } ], "created": "2026-11-19T00:00:00.000Z", "note": "以前结转", "sourceKind": "carry", "cashAmount": 0, "canEdit": false, "canRequestChange": false, "ownerReviewRequired": false }, { "id": "return::material:0", "order_id": "", "line_index": 0, "date": "2026-11-19", "mg": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "origin_pool_id": "", "same_day": 0, "actor": "麦麦", "created": "2026-11-19T02:01:05.000Z", "source_sequence": 1, "number": "20261118007", "paper_number": "20261118007", "order_date": "2026-11-18", "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "sameDay": false, "cashAmount": 0, "batches": [], "materialKind": "public", "materialOwner": null, "payer": "assistant2", "sourceKind": "return", "note": "退货回料", "canEdit": false, "canRequestChange": false, "ownerReviewRequired": false }, { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 5000, "amount": 460000, "payer": "assistant", "note": "第二天购料", "actor": "助理", "created": "2026-11-19T02:02:19.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:19.000Z", "source_sequence": 4, "sourceKind": "purchase", "canEdit": true, "canRequestChange": false, "ownerReviewRequired": false, "member": "assistant" }, { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 4000, "amount": 370000, "payer": "assistant2", "note": "", "actor": "助理2", "created": "2026-11-19T02:02:20.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:20.000Z", "source_sequence": 5, "sourceKind": "purchase", "canEdit": true, "canRequestChange": false, "ownerReviewRequired": false, "member": "assistant2" }, { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 1000, "amount": 90000, "payer": "owner", "note": "待删除", "actor": "麦麦", "created": "2026-11-19T02:02:33.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:33.000Z", "source_sequence": 6, "sourceKind": "purchase", "canEdit": true, "canRequestChange": false, "ownerReviewRequired": false, "member": "owner" } ], "usages": [], "settlements": [], "settlement": { "legacyReadOnly": true, "settlementDue": 0, "assistantInventoryCredit": 0, "transferred": 0, "pending": false }, "legacyReadOnly": true } } }, { "seq": 350, "label": "purchase-to-delete-detail", "date": "2026-11-19", "actor": "owner", "method": "GET", "path": "/api/material-purchases/", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "purchase": { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 1000, "amount": 90000, "payer": "owner", "note": "待删除", "actor": "麦麦", "created": "2026-11-19T02:02:33.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:33.000Z" }, "pool": { "id": "2026-11-19", "date": "2026-11-19", "rolling": true, "frozen": false, "totalMg": 39000, "totalAmount": 3546065, "usedMg": 0, "remainingMg": 39000, "shortageMg": 0, "consumedCost": 0, "remainingCost": 3546065, "remainingAllocations": [ { "payer": "assistant", "amount": 718065, "source_id": "", "created": "2026-11-18T02:01:09.000Z", "source_sequence": 1 }, { "payer": "owner", "amount": 1820000, "source_id": "", "created": "2026-11-18T02:01:10.000Z", "source_sequence": 2 }, { "payer": "assistant2", "amount": 88000, "source_id": "return::material:0", "created": "2026-11-19T02:01:05.000Z" }, { "payer": "assistant", "amount": 460000, "source_id": "", "created": "2026-11-19T02:02:19.000Z" }, { "payer": "assistant2", "amount": 370000, "source_id": "", "created": "2026-11-19T02:02:20.000Z" }, { "payer": "owner", "amount": 90000, "source_id": "", "created": "2026-11-19T02:02:33.000Z" } ], "byPayer": { "owner": { "purchased": 1910000, "consumed": 0, "remaining": 1910000 }, "assistant": { "purchased": 1178065, "consumed": 0, "remaining": 1178065 }, "assistant2": { "purchased": 458000, "consumed": 0, "remaining": 458000 } }, "averageRate": 90925, "status": "unused", "revision": "88796bce0013dc02ca8ca610e43f143452f0f65c48352b8a31129d713ebf12bd", "opening": { "mg": 28000, "amount": 2538065, "allocations": [ { "payer": "assistant", "amount": 718065, "source_id": "", "created": "2026-11-18T02:01:09.000Z", "source_sequence": 1 }, { "payer": "owner", "amount": 1820000, "source_id": "", "created": "2026-11-18T02:01:10.000Z", "source_sequence": 2 } ], "pending": false, "pools": [ { "id": "2026-11-18", "date": "2026-11-18", "totalMg": 31000, "totalAmount": 2810000, "averageRate": 90645, "usedMg": 3000, "remainingMg": 28000, "shortageMg": 0, "consumedCost": 271935, "remainingCost": 2538065, "status": "using", "revision": "2823f40ff78424f5423f0dbdf991ea5fcc83b0144648e9d2399869970c27af75", "purchases": [ { "id": "", "pool_id": "2026-11-18", "date": "2026-11-18", "mg": 11000, "amount": 990000, "payer": "assistant", "note": "核对凭据", "actor": "助理", "created": "2026-11-18T02:01:09.000Z", "revision": 2, "deleted_at": "", "updated": "2026-11-19T02:02:27.000Z" }, { "id": "", "pool_id": "2026-11-18", "date": "2026-11-18", "mg": 20000, "amount": 1820000, "payer": "owner", "note": "麦麦购料", "actor": "麦麦", "created": "2026-11-18T02:01:10.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-18T02:01:10.000Z" } ], "usages": [ { "id": "", "order_id": "", "line_index": 0, "pool_id": "2026-11-18", "date": "2026-11-18", "mg": 3000, "active": 1, "amount": 271935, "owner_amount": 0, "assistant_amount": 271935, "revision": 3, "created": "2026-11-18T02:01:20.000Z", "updated": "2026-11-19T02:02:27.000Z", "fifo_sequence": 1, "number": "MM20261118-", "customer": "对照客户丁", "order_status": "delivered", "member": "assistant", "product": "足金999" } ], "settlements": [], "byPayer": { "owner": { "purchased": 1820000, "consumed": 0, "remaining": 1820000 }, "assistant": { "purchased": 990000, "consumed": 271935, "remaining": 718065 } }, "settlement": { "assistantInventoryCredit": 718065, "transferred": 0, "settlementDue": -718065, "pending": false } } ] }, "todayPurchases": { "mg": 10000, "amount": 920000, "count": 3, "items": [ { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 5000, "amount": 460000, "payer": "assistant", "note": "第二天购料", "actor": "助理", "created": "2026-11-19T02:02:19.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:19.000Z", "source_sequence": 4, "sourceKind": "purchase", "canEdit": true, "canRequestChange": false, "ownerReviewRequired": false, "member": "assistant" }, { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 4000, "amount": 370000, "payer": "assistant2", "note": "", "actor": "助理2", "created": "2026-11-19T02:02:20.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:20.000Z", "source_sequence": 5, "sourceKind": "purchase", "canEdit": true, "canRequestChange": false, "ownerReviewRequired": false, "member": "assistant2" }, { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 1000, "amount": 90000, "payer": "owner", "note": "待删除", "actor": "麦麦", "created": "2026-11-19T02:02:33.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:33.000Z", "source_sequence": 6, "sourceKind": "purchase", "canEdit": true, "canRequestChange": false, "ownerReviewRequired": false, "member": "owner" } ] }, "todayReturns": { "mg": 1000, "amount": 88000, "count": 1, "grossMg": 1000, "grossAmount": 88000, "grossCount": 1 }, "returns": [ { "id": "", "order_id": "", "line_index": 0, "date": "2026-11-19", "mg": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "origin_pool_id": "", "same_day": 0, "actor": "麦麦", "created": "2026-11-19T02:01:05.000Z", "source_sequence": 1, "number": "20261118007", "paper_number": "20261118007", "order_date": "2026-11-18", "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "sameDay": false, "cashAmount": 0 } ], "purchases": [ { "id": "carry:2026-11-19", "date": "2026-11-19", "mg": 28000, "amount": 2538065, "payer": "assistant", "allocations": [ { "payer": "assistant", "amount": 718065, "source_id": "", "created": "2026-11-18T02:01:09.000Z", "source_sequence": 1 }, { "payer": "owner", "amount": 1820000, "source_id": "", "created": "2026-11-18T02:01:10.000Z", "source_sequence": 2 } ], "created": "2026-11-19T00:00:00.000Z", "note": "以前结转", "sourceKind": "carry", "cashAmount": 0, "canEdit": false, "canRequestChange": false, "ownerReviewRequired": false }, { "id": "return::material:0", "order_id": "", "line_index": 0, "date": "2026-11-19", "mg": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "origin_pool_id": "", "same_day": 0, "actor": "麦麦", "created": "2026-11-19T02:01:05.000Z", "source_sequence": 1, "number": "20261118007", "paper_number": "20261118007", "order_date": "2026-11-18", "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "sameDay": false, "cashAmount": 0, "batches": [], "materialKind": "public", "materialOwner": null, "payer": "assistant2", "sourceKind": "return", "note": "退货回料", "canEdit": false, "canRequestChange": false, "ownerReviewRequired": false }, { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 5000, "amount": 460000, "payer": "assistant", "note": "第二天购料", "actor": "助理", "created": "2026-11-19T02:02:19.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:19.000Z", "source_sequence": 4, "sourceKind": "purchase", "canEdit": true, "canRequestChange": false, "ownerReviewRequired": false, "member": "assistant" }, { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 4000, "amount": 370000, "payer": "assistant2", "note": "", "actor": "助理2", "created": "2026-11-19T02:02:20.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:20.000Z", "source_sequence": 5, "sourceKind": "purchase", "canEdit": true, "canRequestChange": false, "ownerReviewRequired": false, "member": "assistant2" }, { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 1000, "amount": 90000, "payer": "owner", "note": "待删除", "actor": "麦麦", "created": "2026-11-19T02:02:33.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:33.000Z", "source_sequence": 6, "sourceKind": "purchase", "canEdit": true, "canRequestChange": false, "ownerReviewRequired": false, "member": "owner" } ], "usages": [], "settlements": [], "settlement": { "legacyReadOnly": true, "settlementDue": 0, "assistantInventoryCredit": 0, "transferred": 0, "pending": false }, "legacyReadOnly": true }, "history": [ { "action": "登记实际购料", "actor": "麦麦", "detail": { "before": null, "after": { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 1000, "amount": 90000, "payer": "owner", "note": "待删除", "actor": "麦麦", "created": "2026-11-19T02:02:33.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:33.000Z" }, "actorIdentity": { "id": "", "role": "owner", "member": "owner" } }, "created": "2026-11-19T02:02:33.000Z" } ] } }, { "seq": 351, "label": "purchase-edit-same-day", "date": "2026-11-19", "actor": "owner", "method": "POST", "path": "/api/material-purchases//edit", "key": "golden-00163-purchase-edit-same-day", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "date": "2026-11-19", "grams": "1.5", "total": "1380", "payer": "owner", "note": "当天改价", "revision": 1 } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "", "poolId": "2026-11-19", "previousPoolId": "2026-11-19", "pool": { "id": "2026-11-19", "date": "2026-11-19", "rolling": true, "frozen": false, "totalMg": 39500, "totalAmount": 3594065, "usedMg": 0, "remainingMg": 39500, "shortageMg": 0, "consumedCost": 0, "remainingCost": 3594065, "remainingAllocations": [ { "payer": "assistant", "amount": 718065, "source_id": "", "created": "2026-11-18T02:01:09.000Z", "source_sequence": 1 }, { "payer": "owner", "amount": 1820000, "source_id": "", "created": "2026-11-18T02:01:10.000Z", "source_sequence": 2 }, { "payer": "assistant2", "amount": 88000, "source_id": "return::material:0", "created": "2026-11-19T02:01:05.000Z" }, { "payer": "assistant", "amount": 460000, "source_id": "", "created": "2026-11-19T02:02:19.000Z" }, { "payer": "assistant2", "amount": 370000, "source_id": "", "created": "2026-11-19T02:02:20.000Z" }, { "payer": "owner", "amount": 138000, "source_id": "", "created": "2026-11-19T02:02:33.000Z" } ], "byPayer": { "owner": { "purchased": 1958000, "consumed": 0, "remaining": 1958000 }, "assistant": { "purchased": 1178065, "consumed": 0, "remaining": 1178065 }, "assistant2": { "purchased": 458000, "consumed": 0, "remaining": 458000 } }, "averageRate": 90989, "status": "unused", "revision": "16ac04efab7be0ef91ae5b56186cfdb6a60326e325808a5c54051a85fa3943d1", "opening": { "mg": 28000, "amount": 2538065, "allocations": [ { "payer": "assistant", "amount": 718065, "source_id": "", "created": "2026-11-18T02:01:09.000Z", "source_sequence": 1 }, { "payer": "owner", "amount": 1820000, "source_id": "", "created": "2026-11-18T02:01:10.000Z", "source_sequence": 2 } ], "pending": false, "pools": [ { "id": "2026-11-18", "date": "2026-11-18", "totalMg": 31000, "totalAmount": 2810000, "averageRate": 90645, "usedMg": 3000, "remainingMg": 28000, "shortageMg": 0, "consumedCost": 271935, "remainingCost": 2538065, "status": "using", "revision": "2823f40ff78424f5423f0dbdf991ea5fcc83b0144648e9d2399869970c27af75", "purchases": [ { "id": "", "pool_id": "2026-11-18", "date": "2026-11-18", "mg": 11000, "amount": 990000, "payer": "assistant", "note": "核对凭据", "actor": "助理", "created": "2026-11-18T02:01:09.000Z", "revision": 2, "deleted_at": "", "updated": "2026-11-19T02:02:27.000Z" }, { "id": "", "pool_id": "2026-11-18", "date": "2026-11-18", "mg": 20000, "amount": 1820000, "payer": "owner", "note": "麦麦购料", "actor": "麦麦", "created": "2026-11-18T02:01:10.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-18T02:01:10.000Z" } ], "usages": [ { "id": "", "order_id": "", "line_index": 0, "pool_id": "2026-11-18", "date": "2026-11-18", "mg": 3000, "active": 1, "amount": 271935, "owner_amount": 0, "assistant_amount": 271935, "revision": 3, "created": "2026-11-18T02:01:20.000Z", "updated": "2026-11-19T02:02:27.000Z", "fifo_sequence": 1, "number": "MM20261118-", "customer": "对照客户丁", "order_status": "delivered", "member": "assistant", "product": "足金999" } ], "settlements": [], "byPayer": { "owner": { "purchased": 1820000, "consumed": 0, "remaining": 1820000 }, "assistant": { "purchased": 990000, "consumed": 271935, "remaining": 718065 } }, "settlement": { "assistantInventoryCredit": 718065, "transferred": 0, "settlementDue": -718065, "pending": false } } ] }, "todayPurchases": { "mg": 10500, "amount": 968000, "count": 3, "items": [ { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 5000, "amount": 460000, "payer": "assistant", "note": "第二天购料", "actor": "助理", "created": "2026-11-19T02:02:19.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:19.000Z", "source_sequence": 4, "sourceKind": "purchase", "canEdit": true, "canRequestChange": false, "ownerReviewRequired": false, "member": "assistant" }, { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 4000, "amount": 370000, "payer": "assistant2", "note": "", "actor": "助理2", "created": "2026-11-19T02:02:20.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:20.000Z", "source_sequence": 5, "sourceKind": "purchase", "canEdit": true, "canRequestChange": false, "ownerReviewRequired": false, "member": "assistant2" }, { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 1500, "amount": 138000, "payer": "owner", "note": "当天改价", "actor": "麦麦", "created": "2026-11-19T02:02:33.000Z", "revision": 2, "deleted_at": "", "updated": "2026-11-19T02:02:35.000Z", "source_sequence": 6, "sourceKind": "purchase", "canEdit": true, "canRequestChange": false, "ownerReviewRequired": false, "member": "owner" } ] }, "todayReturns": { "mg": 1000, "amount": 88000, "count": 1, "grossMg": 1000, "grossAmount": 88000, "grossCount": 1 }, "returns": [ { "id": "", "order_id": "", "line_index": 0, "date": "2026-11-19", "mg": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "origin_pool_id": "", "same_day": 0, "actor": "麦麦", "created": "2026-11-19T02:01:05.000Z", "source_sequence": 1, "number": "20261118007", "paper_number": "20261118007", "order_date": "2026-11-18", "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "sameDay": false, "cashAmount": 0 } ], "purchases": [ { "id": "carry:2026-11-19", "date": "2026-11-19", "mg": 28000, "amount": 2538065, "payer": "assistant", "allocations": [ { "payer": "assistant", "amount": 718065, "source_id": "", "created": "2026-11-18T02:01:09.000Z", "source_sequence": 1 }, { "payer": "owner", "amount": 1820000, "source_id": "", "created": "2026-11-18T02:01:10.000Z", "source_sequence": 2 } ], "created": "2026-11-19T00:00:00.000Z", "note": "以前结转", "sourceKind": "carry", "cashAmount": 0, "canEdit": false, "canRequestChange": false, "ownerReviewRequired": false }, { "id": "return::material:0", "order_id": "", "line_index": 0, "date": "2026-11-19", "mg": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "origin_pool_id": "", "same_day": 0, "actor": "麦麦", "created": "2026-11-19T02:01:05.000Z", "source_sequence": 1, "number": "20261118007", "paper_number": "20261118007", "order_date": "2026-11-18", "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "sameDay": false, "cashAmount": 0, "batches": [], "materialKind": "public", "materialOwner": null, "payer": "assistant2", "sourceKind": "return", "note": "退货回料", "canEdit": false, "canRequestChange": false, "ownerReviewRequired": false }, { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 5000, "amount": 460000, "payer": "assistant", "note": "第二天购料", "actor": "助理", "created": "2026-11-19T02:02:19.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:19.000Z", "source_sequence": 4, "sourceKind": "purchase", "canEdit": true, "canRequestChange": false, "ownerReviewRequired": false, "member": "assistant" }, { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 4000, "amount": 370000, "payer": "assistant2", "note": "", "actor": "助理2", "created": "2026-11-19T02:02:20.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:20.000Z", "source_sequence": 5, "sourceKind": "purchase", "canEdit": true, "canRequestChange": false, "ownerReviewRequired": false, "member": "assistant2" }, { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 1500, "amount": 138000, "payer": "owner", "note": "当天改价", "actor": "麦麦", "created": "2026-11-19T02:02:33.000Z", "revision": 2, "deleted_at": "", "updated": "2026-11-19T02:02:35.000Z", "source_sequence": 6, "sourceKind": "purchase", "canEdit": true, "canRequestChange": false, "ownerReviewRequired": false, "member": "owner" } ], "usages": [], "settlements": [], "settlement": { "legacyReadOnly": true, "settlementDue": 0, "assistantInventoryCredit": 0, "transferred": 0, "pending": false }, "legacyReadOnly": true } } }, { "seq": 352, "label": "purchase-after-edit", "date": "2026-11-19", "actor": "owner", "method": "GET", "path": "/api/material-purchases/", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "purchase": { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 1500, "amount": 138000, "payer": "owner", "note": "当天改价", "actor": "麦麦", "created": "2026-11-19T02:02:33.000Z", "revision": 2, "deleted_at": "", "updated": "2026-11-19T02:02:35.000Z" }, "pool": { "id": "2026-11-19", "date": "2026-11-19", "rolling": true, "frozen": false, "totalMg": 39500, "totalAmount": 3594065, "usedMg": 0, "remainingMg": 39500, "shortageMg": 0, "consumedCost": 0, "remainingCost": 3594065, "remainingAllocations": [ { "payer": "assistant", "amount": 718065, "source_id": "", "created": "2026-11-18T02:01:09.000Z", "source_sequence": 1 }, { "payer": "owner", "amount": 1820000, "source_id": "", "created": "2026-11-18T02:01:10.000Z", "source_sequence": 2 }, { "payer": "assistant2", "amount": 88000, "source_id": "return::material:0", "created": "2026-11-19T02:01:05.000Z" }, { "payer": "assistant", "amount": 460000, "source_id": "", "created": "2026-11-19T02:02:19.000Z" }, { "payer": "assistant2", "amount": 370000, "source_id": "", "created": "2026-11-19T02:02:20.000Z" }, { "payer": "owner", "amount": 138000, "source_id": "", "created": "2026-11-19T02:02:33.000Z" } ], "byPayer": { "owner": { "purchased": 1958000, "consumed": 0, "remaining": 1958000 }, "assistant": { "purchased": 1178065, "consumed": 0, "remaining": 1178065 }, "assistant2": { "purchased": 458000, "consumed": 0, "remaining": 458000 } }, "averageRate": 90989, "status": "unused", "revision": "16ac04efab7be0ef91ae5b56186cfdb6a60326e325808a5c54051a85fa3943d1", "opening": { "mg": 28000, "amount": 2538065, "allocations": [ { "payer": "assistant", "amount": 718065, "source_id": "", "created": "2026-11-18T02:01:09.000Z", "source_sequence": 1 }, { "payer": "owner", "amount": 1820000, "source_id": "", "created": "2026-11-18T02:01:10.000Z", "source_sequence": 2 } ], "pending": false, "pools": [ { "id": "2026-11-18", "date": "2026-11-18", "totalMg": 31000, "totalAmount": 2810000, "averageRate": 90645, "usedMg": 3000, "remainingMg": 28000, "shortageMg": 0, "consumedCost": 271935, "remainingCost": 2538065, "status": "using", "revision": "2823f40ff78424f5423f0dbdf991ea5fcc83b0144648e9d2399869970c27af75", "purchases": [ { "id": "", "pool_id": "2026-11-18", "date": "2026-11-18", "mg": 11000, "amount": 990000, "payer": "assistant", "note": "核对凭据", "actor": "助理", "created": "2026-11-18T02:01:09.000Z", "revision": 2, "deleted_at": "", "updated": "2026-11-19T02:02:27.000Z" }, { "id": "", "pool_id": "2026-11-18", "date": "2026-11-18", "mg": 20000, "amount": 1820000, "payer": "owner", "note": "麦麦购料", "actor": "麦麦", "created": "2026-11-18T02:01:10.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-18T02:01:10.000Z" } ], "usages": [ { "id": "", "order_id": "", "line_index": 0, "pool_id": "2026-11-18", "date": "2026-11-18", "mg": 3000, "active": 1, "amount": 271935, "owner_amount": 0, "assistant_amount": 271935, "revision": 3, "created": "2026-11-18T02:01:20.000Z", "updated": "2026-11-19T02:02:27.000Z", "fifo_sequence": 1, "number": "MM20261118-", "customer": "对照客户丁", "order_status": "delivered", "member": "assistant", "product": "足金999" } ], "settlements": [], "byPayer": { "owner": { "purchased": 1820000, "consumed": 0, "remaining": 1820000 }, "assistant": { "purchased": 990000, "consumed": 271935, "remaining": 718065 } }, "settlement": { "assistantInventoryCredit": 718065, "transferred": 0, "settlementDue": -718065, "pending": false } } ] }, "todayPurchases": { "mg": 10500, "amount": 968000, "count": 3, "items": [ { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 5000, "amount": 460000, "payer": "assistant", "note": "第二天购料", "actor": "助理", "created": "2026-11-19T02:02:19.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:19.000Z", "source_sequence": 4, "sourceKind": "purchase", "canEdit": true, "canRequestChange": false, "ownerReviewRequired": false, "member": "assistant" }, { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 4000, "amount": 370000, "payer": "assistant2", "note": "", "actor": "助理2", "created": "2026-11-19T02:02:20.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:20.000Z", "source_sequence": 5, "sourceKind": "purchase", "canEdit": true, "canRequestChange": false, "ownerReviewRequired": false, "member": "assistant2" }, { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 1500, "amount": 138000, "payer": "owner", "note": "当天改价", "actor": "麦麦", "created": "2026-11-19T02:02:33.000Z", "revision": 2, "deleted_at": "", "updated": "2026-11-19T02:02:35.000Z", "source_sequence": 6, "sourceKind": "purchase", "canEdit": true, "canRequestChange": false, "ownerReviewRequired": false, "member": "owner" } ] }, "todayReturns": { "mg": 1000, "amount": 88000, "count": 1, "grossMg": 1000, "grossAmount": 88000, "grossCount": 1 }, "returns": [ { "id": "", "order_id": "", "line_index": 0, "date": "2026-11-19", "mg": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "origin_pool_id": "", "same_day": 0, "actor": "麦麦", "created": "2026-11-19T02:01:05.000Z", "source_sequence": 1, "number": "20261118007", "paper_number": "20261118007", "order_date": "2026-11-18", "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "sameDay": false, "cashAmount": 0 } ], "purchases": [ { "id": "carry:2026-11-19", "date": "2026-11-19", "mg": 28000, "amount": 2538065, "payer": "assistant", "allocations": [ { "payer": "assistant", "amount": 718065, "source_id": "", "created": "2026-11-18T02:01:09.000Z", "source_sequence": 1 }, { "payer": "owner", "amount": 1820000, "source_id": "", "created": "2026-11-18T02:01:10.000Z", "source_sequence": 2 } ], "created": "2026-11-19T00:00:00.000Z", "note": "以前结转", "sourceKind": "carry", "cashAmount": 0, "canEdit": false, "canRequestChange": false, "ownerReviewRequired": false }, { "id": "return::material:0", "order_id": "", "line_index": 0, "date": "2026-11-19", "mg": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "origin_pool_id": "", "same_day": 0, "actor": "麦麦", "created": "2026-11-19T02:01:05.000Z", "source_sequence": 1, "number": "20261118007", "paper_number": "20261118007", "order_date": "2026-11-18", "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "sameDay": false, "cashAmount": 0, "batches": [], "materialKind": "public", "materialOwner": null, "payer": "assistant2", "sourceKind": "return", "note": "退货回料", "canEdit": false, "canRequestChange": false, "ownerReviewRequired": false }, { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 5000, "amount": 460000, "payer": "assistant", "note": "第二天购料", "actor": "助理", "created": "2026-11-19T02:02:19.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:19.000Z", "source_sequence": 4, "sourceKind": "purchase", "canEdit": true, "canRequestChange": false, "ownerReviewRequired": false, "member": "assistant" }, { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 4000, "amount": 370000, "payer": "assistant2", "note": "", "actor": "助理2", "created": "2026-11-19T02:02:20.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:20.000Z", "source_sequence": 5, "sourceKind": "purchase", "canEdit": true, "canRequestChange": false, "ownerReviewRequired": false, "member": "assistant2" }, { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 1500, "amount": 138000, "payer": "owner", "note": "当天改价", "actor": "麦麦", "created": "2026-11-19T02:02:33.000Z", "revision": 2, "deleted_at": "", "updated": "2026-11-19T02:02:35.000Z", "source_sequence": 6, "sourceKind": "purchase", "canEdit": true, "canRequestChange": false, "ownerReviewRequired": false, "member": "owner" } ], "usages": [], "settlements": [], "settlement": { "legacyReadOnly": true, "settlementDue": 0, "assistantInventoryCredit": 0, "transferred": 0, "pending": false }, "legacyReadOnly": true }, "history": [ { "action": "修改实际购料", "actor": "麦麦", "detail": { "before": { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 1000, "amount": 90000, "payer": "owner", "note": "待删除", "actor": "麦麦", "created": "2026-11-19T02:02:33.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:33.000Z" }, "after": { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 1500, "amount": 138000, "payer": "owner", "note": "当天改价", "actor": "麦麦", "created": "2026-11-19T02:02:33.000Z", "revision": 2, "deleted_at": "", "updated": "2026-11-19T02:02:35.000Z" }, "actorIdentity": { "id": "", "role": "owner", "member": "owner" } }, "created": "2026-11-19T02:02:35.000Z" }, { "action": "登记实际购料", "actor": "麦麦", "detail": { "before": null, "after": { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 1000, "amount": 90000, "payer": "owner", "note": "待删除", "actor": "麦麦", "created": "2026-11-19T02:02:33.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:33.000Z" }, "actorIdentity": { "id": "", "role": "owner", "member": "owner" } }, "created": "2026-11-19T02:02:33.000Z" } ] } }, { "seq": 353, "label": "purchase-delete", "date": "2026-11-19", "actor": "owner", "method": "POST", "path": "/api/material-purchases//delete", "key": "golden-00164-purchase-delete", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "revision": 2, "reason": "录错", "verified": true } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "", "poolId": "2026-11-19", "previousPoolId": "2026-11-19", "pool": { "id": "2026-11-19", "date": "2026-11-19", "rolling": true, "frozen": false, "totalMg": 38000, "totalAmount": 3456065, "usedMg": 0, "remainingMg": 38000, "shortageMg": 0, "consumedCost": 0, "remainingCost": 3456065, "remainingAllocations": [ { "payer": "assistant", "amount": 718065, "source_id": "", "created": "2026-11-18T02:01:09.000Z", "source_sequence": 1 }, { "payer": "owner", "amount": 1820000, "source_id": "", "created": "2026-11-18T02:01:10.000Z", "source_sequence": 2 }, { "payer": "assistant2", "amount": 88000, "source_id": "return::material:0", "created": "2026-11-19T02:01:05.000Z" }, { "payer": "assistant", "amount": 460000, "source_id": "", "created": "2026-11-19T02:02:19.000Z" }, { "payer": "assistant2", "amount": 370000, "source_id": "", "created": "2026-11-19T02:02:20.000Z" } ], "byPayer": { "owner": { "purchased": 1820000, "consumed": 0, "remaining": 1820000 }, "assistant": { "purchased": 1178065, "consumed": 0, "remaining": 1178065 }, "assistant2": { "purchased": 458000, "consumed": 0, "remaining": 458000 } }, "averageRate": 90949, "status": "unused", "revision": "9486762293324e10f1a52858598f622e173f4469097a1cca00e6032f7d2cc15a", "opening": { "mg": 28000, "amount": 2538065, "allocations": [ { "payer": "assistant", "amount": 718065, "source_id": "", "created": "2026-11-18T02:01:09.000Z", "source_sequence": 1 }, { "payer": "owner", "amount": 1820000, "source_id": "", "created": "2026-11-18T02:01:10.000Z", "source_sequence": 2 } ], "pending": false, "pools": [ { "id": "2026-11-18", "date": "2026-11-18", "totalMg": 31000, "totalAmount": 2810000, "averageRate": 90645, "usedMg": 3000, "remainingMg": 28000, "shortageMg": 0, "consumedCost": 271935, "remainingCost": 2538065, "status": "using", "revision": "2823f40ff78424f5423f0dbdf991ea5fcc83b0144648e9d2399869970c27af75", "purchases": [ { "id": "", "pool_id": "2026-11-18", "date": "2026-11-18", "mg": 11000, "amount": 990000, "payer": "assistant", "note": "核对凭据", "actor": "助理", "created": "2026-11-18T02:01:09.000Z", "revision": 2, "deleted_at": "", "updated": "2026-11-19T02:02:27.000Z" }, { "id": "", "pool_id": "2026-11-18", "date": "2026-11-18", "mg": 20000, "amount": 1820000, "payer": "owner", "note": "麦麦购料", "actor": "麦麦", "created": "2026-11-18T02:01:10.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-18T02:01:10.000Z" } ], "usages": [ { "id": "", "order_id": "", "line_index": 0, "pool_id": "2026-11-18", "date": "2026-11-18", "mg": 3000, "active": 1, "amount": 271935, "owner_amount": 0, "assistant_amount": 271935, "revision": 3, "created": "2026-11-18T02:01:20.000Z", "updated": "2026-11-19T02:02:27.000Z", "fifo_sequence": 1, "number": "MM20261118-", "customer": "对照客户丁", "order_status": "delivered", "member": "assistant", "product": "足金999" } ], "settlements": [], "byPayer": { "owner": { "purchased": 1820000, "consumed": 0, "remaining": 1820000 }, "assistant": { "purchased": 990000, "consumed": 271935, "remaining": 718065 } }, "settlement": { "assistantInventoryCredit": 718065, "transferred": 0, "settlementDue": -718065, "pending": false } } ] }, "todayPurchases": { "mg": 9000, "amount": 830000, "count": 2, "items": [ { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 5000, "amount": 460000, "payer": "assistant", "note": "第二天购料", "actor": "助理", "created": "2026-11-19T02:02:19.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:19.000Z", "source_sequence": 4, "sourceKind": "purchase", "canEdit": true, "canRequestChange": false, "ownerReviewRequired": false, "member": "assistant" }, { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 4000, "amount": 370000, "payer": "assistant2", "note": "", "actor": "助理2", "created": "2026-11-19T02:02:20.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:20.000Z", "source_sequence": 5, "sourceKind": "purchase", "canEdit": true, "canRequestChange": false, "ownerReviewRequired": false, "member": "assistant2" } ] }, "todayReturns": { "mg": 1000, "amount": 88000, "count": 1, "grossMg": 1000, "grossAmount": 88000, "grossCount": 1 }, "returns": [ { "id": "", "order_id": "", "line_index": 0, "date": "2026-11-19", "mg": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "origin_pool_id": "", "same_day": 0, "actor": "麦麦", "created": "2026-11-19T02:01:05.000Z", "source_sequence": 1, "number": "20261118007", "paper_number": "20261118007", "order_date": "2026-11-18", "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "sameDay": false, "cashAmount": 0 } ], "purchases": [ { "id": "carry:2026-11-19", "date": "2026-11-19", "mg": 28000, "amount": 2538065, "payer": "assistant", "allocations": [ { "payer": "assistant", "amount": 718065, "source_id": "", "created": "2026-11-18T02:01:09.000Z", "source_sequence": 1 }, { "payer": "owner", "amount": 1820000, "source_id": "", "created": "2026-11-18T02:01:10.000Z", "source_sequence": 2 } ], "created": "2026-11-19T00:00:00.000Z", "note": "以前结转", "sourceKind": "carry", "cashAmount": 0, "canEdit": false, "canRequestChange": false, "ownerReviewRequired": false }, { "id": "return::material:0", "order_id": "", "line_index": 0, "date": "2026-11-19", "mg": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "origin_pool_id": "", "same_day": 0, "actor": "麦麦", "created": "2026-11-19T02:01:05.000Z", "source_sequence": 1, "number": "20261118007", "paper_number": "20261118007", "order_date": "2026-11-18", "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "sameDay": false, "cashAmount": 0, "batches": [], "materialKind": "public", "materialOwner": null, "payer": "assistant2", "sourceKind": "return", "note": "退货回料", "canEdit": false, "canRequestChange": false, "ownerReviewRequired": false }, { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 5000, "amount": 460000, "payer": "assistant", "note": "第二天购料", "actor": "助理", "created": "2026-11-19T02:02:19.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:19.000Z", "source_sequence": 4, "sourceKind": "purchase", "canEdit": true, "canRequestChange": false, "ownerReviewRequired": false, "member": "assistant" }, { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 4000, "amount": 370000, "payer": "assistant2", "note": "", "actor": "助理2", "created": "2026-11-19T02:02:20.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:20.000Z", "source_sequence": 5, "sourceKind": "purchase", "canEdit": true, "canRequestChange": false, "ownerReviewRequired": false, "member": "assistant2" } ], "usages": [], "settlements": [], "settlement": { "legacyReadOnly": true, "settlementDue": 0, "assistantInventoryCredit": 0, "transferred": 0, "pending": false }, "legacyReadOnly": true }, "deleted": true } }, { "seq": 354, "label": "material-pool-quote-rolling-old-pool", "date": "2026-11-19", "actor": "assistant", "method": "POST", "path": "/api/material-pools/quote", "key": null, "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "member": "assistant", "date": "2026-11-19", "entries": [ { "lineIndex": 0, "poolId": "2026-11-19", "mg": 2000 }, { "lineIndex": 1, "poolId": "2026-11-18", "mg": 1000 } ] } }, "status": 400, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "error": "滚动日料池须使用订单当天日期" } }, { "seq": 355, "label": "known-issue-material-pool-quote-d2", "date": "2026-11-19", "actor": "assistant", "method": "POST", "path": "/api/material-pools/quote", "key": null, "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "member": "assistant", "date": "2026-11-19", "entries": [ { "lineIndex": 0, "poolId": "2026-11-19", "mg": 2000 }, { "lineIndex": 1, "poolId": "2026-11-19", "mg": 1000 } ] } }, "status": 400, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "error": "料池实际批次克重不足" } }, { "seq": 356, "label": "issue-rolling-pool", "date": "2026-11-19", "actor": "assistant", "method": "POST", "path": "/api/orders/issue", "key": "golden-00165-issue-rolling-pool", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "date": "2026-11-19", "customer": "滚动料池客户", "internal_note": "滚动料池备注", "salesperson": "娜娜", "payment_account": "助理微信", "rounding_mode": "cent", "lines": [ { "name": "足金999", "unit": "g", "quantity": "2", "pocket": "", "payer": "assistant", "sale": "2200", "costParts": { "material": "", "labor": "0", "accessories": "0", "other": "0" }, "costMaterial": { "mode": "pool", "poolId": "2026-11-19" } } ], "fee_items": [] } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "" } }, { "seq": 357, "label": "material-pools-rolling", "date": "2026-11-19", "actor": "owner", "method": "GET", "path": "/api/material-pools", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "from": "2000-01-01", "date": "2026-11-19", "rows": [ { "id": "2026-11-19", "date": "2026-11-19", "rolling": true, "frozen": false, "totalMg": 38000, "totalAmount": 3456065, "usedMg": 2000, "remainingMg": 36000, "shortageMg": 0, "consumedCost": 181898, "remainingCost": 3274167, "remainingAllocations": [ { "payer": "assistant", "amount": 536167, "source_id": "", "created": "2026-11-18T02:01:09.000Z", "source_sequence": 1 }, { "payer": "owner", "amount": 1820000, "source_id": "", "created": "2026-11-18T02:01:10.000Z", "source_sequence": 2 }, { "payer": "assistant2", "amount": 88000, "source_id": "return::material:0", "created": "2026-11-19T02:01:05.000Z" }, { "payer": "assistant", "amount": 460000, "source_id": "", "created": "2026-11-19T02:02:19.000Z" }, { "payer": "assistant2", "amount": 370000, "source_id": "", "created": "2026-11-19T02:02:20.000Z" } ], "byPayer": { "owner": { "purchased": 1820000, "consumed": 0, "remaining": 1820000 }, "assistant": { "purchased": 1178065, "consumed": 181898, "remaining": 996167 }, "assistant2": { "purchased": 458000, "consumed": 0, "remaining": 458000 } }, "averageRate": 90949, "status": "using", "revision": "c2b7cf97dc5037020f6b38451266013f370e11bed92c022656cc69db8dab9cf4", "opening": { "mg": 28000, "amount": 2538065, "allocations": [ { "payer": "assistant", "amount": 718065, "source_id": "", "created": "2026-11-18T02:01:09.000Z", "source_sequence": 1 }, { "payer": "owner", "amount": 1820000, "source_id": "", "created": "2026-11-18T02:01:10.000Z", "source_sequence": 2 } ], "pending": false, "pools": [ { "id": "2026-11-18", "date": "2026-11-18", "totalMg": 31000, "totalAmount": 2810000, "averageRate": 90645, "usedMg": 3000, "remainingMg": 28000, "shortageMg": 0, "consumedCost": 271935, "remainingCost": 2538065, "status": "using", "revision": "2823f40ff78424f5423f0dbdf991ea5fcc83b0144648e9d2399869970c27af75", "purchases": [ { "id": "", "pool_id": "2026-11-18", "date": "2026-11-18", "mg": 11000, "amount": 990000, "payer": "assistant", "note": "核对凭据", "actor": "助理", "created": "2026-11-18T02:01:09.000Z", "revision": 2, "deleted_at": "", "updated": "2026-11-19T02:02:27.000Z" }, { "id": "", "pool_id": "2026-11-18", "date": "2026-11-18", "mg": 20000, "amount": 1820000, "payer": "owner", "note": "麦麦购料", "actor": "麦麦", "created": "2026-11-18T02:01:10.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-18T02:01:10.000Z" } ], "usages": [ { "id": "", "order_id": "", "line_index": 0, "pool_id": "2026-11-18", "date": "2026-11-18", "mg": 3000, "active": 1, "amount": 271935, "owner_amount": 0, "assistant_amount": 271935, "revision": 3, "created": "2026-11-18T02:01:20.000Z", "updated": "2026-11-19T02:02:27.000Z", "fifo_sequence": 1, "number": "MM20261118-", "customer": "对照客户丁", "order_status": "delivered", "member": "assistant", "product": "足金999" } ], "settlements": [], "byPayer": { "owner": { "purchased": 1820000, "consumed": 0, "remaining": 1820000 }, "assistant": { "purchased": 990000, "consumed": 271935, "remaining": 718065 } }, "settlement": { "assistantInventoryCredit": 718065, "transferred": 0, "settlementDue": -718065, "pending": false } } ] }, "todayPurchases": { "mg": 9000, "amount": 830000, "count": 2, "items": [ { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 5000, "amount": 460000, "payer": "assistant", "note": "第二天购料", "actor": "助理", "created": "2026-11-19T02:02:19.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:19.000Z", "source_sequence": 4, "sourceKind": "purchase", "canEdit": true, "canRequestChange": false, "ownerReviewRequired": false, "member": "assistant" }, { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 4000, "amount": 370000, "payer": "assistant2", "note": "", "actor": "助理2", "created": "2026-11-19T02:02:20.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:20.000Z", "source_sequence": 5, "sourceKind": "purchase", "canEdit": true, "canRequestChange": false, "ownerReviewRequired": false, "member": "assistant2" } ] }, "todayReturns": { "mg": 1000, "amount": 88000, "count": 1, "grossMg": 1000, "grossAmount": 88000, "grossCount": 1 }, "returns": [ { "id": "", "order_id": "", "line_index": 0, "date": "2026-11-19", "mg": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "origin_pool_id": "", "same_day": 0, "actor": "麦麦", "created": "2026-11-19T02:01:05.000Z", "source_sequence": 1, "number": "20261118007", "paper_number": "20261118007", "order_date": "2026-11-18", "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "sameDay": false, "cashAmount": 0 } ], "purchases": [ { "id": "carry:2026-11-19", "date": "2026-11-19", "mg": 28000, "amount": 2538065, "payer": "assistant", "allocations": [ { "payer": "assistant", "amount": 718065, "source_id": "", "created": "2026-11-18T02:01:09.000Z", "source_sequence": 1 }, { "payer": "owner", "amount": 1820000, "source_id": "", "created": "2026-11-18T02:01:10.000Z", "source_sequence": 2 } ], "created": "2026-11-19T00:00:00.000Z", "note": "以前结转", "sourceKind": "carry", "cashAmount": 0, "canEdit": false, "canRequestChange": false, "ownerReviewRequired": false }, { "id": "return::material:0", "order_id": "", "line_index": 0, "date": "2026-11-19", "mg": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "origin_pool_id": "", "same_day": 0, "actor": "麦麦", "created": "2026-11-19T02:01:05.000Z", "source_sequence": 1, "number": "20261118007", "paper_number": "20261118007", "order_date": "2026-11-18", "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "sameDay": false, "cashAmount": 0, "batches": [], "materialKind": "public", "materialOwner": null, "payer": "assistant2", "sourceKind": "return", "note": "退货回料", "canEdit": false, "canRequestChange": false, "ownerReviewRequired": false }, { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 5000, "amount": 460000, "payer": "assistant", "note": "第二天购料", "actor": "助理", "created": "2026-11-19T02:02:19.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:19.000Z", "source_sequence": 4, "sourceKind": "purchase", "canEdit": true, "canRequestChange": false, "ownerReviewRequired": false, "member": "assistant" }, { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 4000, "amount": 370000, "payer": "assistant2", "note": "", "actor": "助理2", "created": "2026-11-19T02:02:20.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:20.000Z", "source_sequence": 5, "sourceKind": "purchase", "canEdit": true, "canRequestChange": false, "ownerReviewRequired": false, "member": "assistant2" } ], "usages": [ { "id": "", "order_id": "", "line_index": 0, "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 2000, "active": 1, "amount": 181898, "owner_amount": 0, "assistant_amount": 181898, "revision": 1, "created": "2026-11-19T02:02:40.000Z", "updated": "2026-11-19T02:02:40.000Z", "fifo_sequence": 2, "number": "MM20261119-", "customer": "滚动料池客户", "order_status": "delivered", "assistant2_amount": 0, "member": "assistant", "product": "足金999" } ], "settlements": [], "settlement": { "legacyReadOnly": true, "settlementDue": 0, "assistantInventoryCredit": 0, "transferred": 0, "pending": false }, "legacyReadOnly": true }, { "id": "2026-11-18", "date": "2026-11-18", "totalMg": 31000, "totalAmount": 2810000, "averageRate": 90645, "usedMg": 3000, "remainingMg": 28000, "shortageMg": 0, "consumedCost": 271935, "remainingCost": 2538065, "status": "using", "revision": "2823f40ff78424f5423f0dbdf991ea5fcc83b0144648e9d2399869970c27af75", "purchases": [ { "id": "", "pool_id": "2026-11-18", "date": "2026-11-18", "mg": 11000, "amount": 990000, "payer": "assistant", "note": "核对凭据", "actor": "助理", "created": "2026-11-18T02:01:09.000Z", "revision": 2, "deleted_at": "", "updated": "2026-11-19T02:02:27.000Z", "canEdit": false, "canRequestChange": true, "ownerReviewRequired": true, "member": "assistant" }, { "id": "", "pool_id": "2026-11-18", "date": "2026-11-18", "mg": 20000, "amount": 1820000, "payer": "owner", "note": "麦麦购料", "actor": "麦麦", "created": "2026-11-18T02:01:10.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-18T02:01:10.000Z", "canEdit": false, "canRequestChange": true, "ownerReviewRequired": true, "member": "owner" } ], "usages": [ { "id": "", "order_id": "", "line_index": 0, "pool_id": "2026-11-18", "date": "2026-11-18", "mg": 3000, "active": 1, "amount": 271935, "owner_amount": 0, "assistant_amount": 271935, "revision": 3, "created": "2026-11-18T02:01:20.000Z", "updated": "2026-11-19T02:02:27.000Z", "fifo_sequence": 1, "number": "MM20261118-", "customer": "对照客户丁", "order_status": "delivered", "member": "assistant", "product": "足金999" } ], "settlements": [], "byPayer": { "owner": { "purchased": 1820000, "consumed": 0, "remaining": 1820000 }, "assistant": { "purchased": 990000, "consumed": 271935, "remaining": 718065 } }, "settlement": { "assistantInventoryCredit": 718065, "transferred": 0, "settlementDue": -718065, "pending": false }, "legacyReadOnly": true } ], "current": { "id": "2026-11-19", "date": "2026-11-19", "rolling": true, "frozen": false, "totalMg": 38000, "totalAmount": 3456065, "usedMg": 2000, "remainingMg": 36000, "shortageMg": 0, "consumedCost": 181898, "remainingCost": 3274167, "remainingAllocations": [ { "payer": "assistant", "amount": 536167, "source_id": "", "created": "2026-11-18T02:01:09.000Z", "source_sequence": 1 }, { "payer": "owner", "amount": 1820000, "source_id": "", "created": "2026-11-18T02:01:10.000Z", "source_sequence": 2 }, { "payer": "assistant2", "amount": 88000, "source_id": "return::material:0", "created": "2026-11-19T02:01:05.000Z" }, { "payer": "assistant", "amount": 460000, "source_id": "", "created": "2026-11-19T02:02:19.000Z" }, { "payer": "assistant2", "amount": 370000, "source_id": "", "created": "2026-11-19T02:02:20.000Z" } ], "byPayer": { "owner": { "purchased": 1820000, "consumed": 0, "remaining": 1820000 }, "assistant": { "purchased": 1178065, "consumed": 181898, "remaining": 996167 }, "assistant2": { "purchased": 458000, "consumed": 0, "remaining": 458000 } }, "averageRate": 90949, "status": "using", "revision": "c2b7cf97dc5037020f6b38451266013f370e11bed92c022656cc69db8dab9cf4", "opening": { "mg": 28000, "amount": 2538065, "allocations": [ { "payer": "assistant", "amount": 718065, "source_id": "", "created": "2026-11-18T02:01:09.000Z", "source_sequence": 1 }, { "payer": "owner", "amount": 1820000, "source_id": "", "created": "2026-11-18T02:01:10.000Z", "source_sequence": 2 } ], "pending": false, "pools": [ { "id": "2026-11-18", "date": "2026-11-18", "totalMg": 31000, "totalAmount": 2810000, "averageRate": 90645, "usedMg": 3000, "remainingMg": 28000, "shortageMg": 0, "consumedCost": 271935, "remainingCost": 2538065, "status": "using", "revision": "2823f40ff78424f5423f0dbdf991ea5fcc83b0144648e9d2399869970c27af75", "purchases": [ { "id": "", "pool_id": "2026-11-18", "date": "2026-11-18", "mg": 11000, "amount": 990000, "payer": "assistant", "note": "核对凭据", "actor": "助理", "created": "2026-11-18T02:01:09.000Z", "revision": 2, "deleted_at": "", "updated": "2026-11-19T02:02:27.000Z" }, { "id": "", "pool_id": "2026-11-18", "date": "2026-11-18", "mg": 20000, "amount": 1820000, "payer": "owner", "note": "麦麦购料", "actor": "麦麦", "created": "2026-11-18T02:01:10.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-18T02:01:10.000Z" } ], "usages": [ { "id": "", "order_id": "", "line_index": 0, "pool_id": "2026-11-18", "date": "2026-11-18", "mg": 3000, "active": 1, "amount": 271935, "owner_amount": 0, "assistant_amount": 271935, "revision": 3, "created": "2026-11-18T02:01:20.000Z", "updated": "2026-11-19T02:02:27.000Z", "fifo_sequence": 1, "number": "MM20261118-", "customer": "对照客户丁", "order_status": "delivered", "member": "assistant", "product": "足金999" } ], "settlements": [], "byPayer": { "owner": { "purchased": 1820000, "consumed": 0, "remaining": 1820000 }, "assistant": { "purchased": 990000, "consumed": 271935, "remaining": 718065 } }, "settlement": { "assistantInventoryCredit": 718065, "transferred": 0, "settlementDue": -718065, "pending": false } } ] }, "todayPurchases": { "mg": 9000, "amount": 830000, "count": 2, "items": [ { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 5000, "amount": 460000, "payer": "assistant", "note": "第二天购料", "actor": "助理", "created": "2026-11-19T02:02:19.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:19.000Z", "source_sequence": 4, "sourceKind": "purchase", "canEdit": true, "canRequestChange": false, "ownerReviewRequired": false, "member": "assistant" }, { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 4000, "amount": 370000, "payer": "assistant2", "note": "", "actor": "助理2", "created": "2026-11-19T02:02:20.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:20.000Z", "source_sequence": 5, "sourceKind": "purchase", "canEdit": true, "canRequestChange": false, "ownerReviewRequired": false, "member": "assistant2" } ] }, "todayReturns": { "mg": 1000, "amount": 88000, "count": 1, "grossMg": 1000, "grossAmount": 88000, "grossCount": 1 }, "returns": [ { "id": "", "order_id": "", "line_index": 0, "date": "2026-11-19", "mg": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "origin_pool_id": "", "same_day": 0, "actor": "麦麦", "created": "2026-11-19T02:01:05.000Z", "source_sequence": 1, "number": "20261118007", "paper_number": "20261118007", "order_date": "2026-11-18", "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "sameDay": false, "cashAmount": 0 } ], "purchases": [ { "id": "carry:2026-11-19", "date": "2026-11-19", "mg": 28000, "amount": 2538065, "payer": "assistant", "allocations": [ { "payer": "assistant", "amount": 718065, "source_id": "", "created": "2026-11-18T02:01:09.000Z", "source_sequence": 1 }, { "payer": "owner", "amount": 1820000, "source_id": "", "created": "2026-11-18T02:01:10.000Z", "source_sequence": 2 } ], "created": "2026-11-19T00:00:00.000Z", "note": "以前结转", "sourceKind": "carry", "cashAmount": 0, "canEdit": false, "canRequestChange": false, "ownerReviewRequired": false }, { "id": "return::material:0", "order_id": "", "line_index": 0, "date": "2026-11-19", "mg": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "origin_pool_id": "", "same_day": 0, "actor": "麦麦", "created": "2026-11-19T02:01:05.000Z", "source_sequence": 1, "number": "20261118007", "paper_number": "20261118007", "order_date": "2026-11-18", "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "sameDay": false, "cashAmount": 0, "batches": [], "materialKind": "public", "materialOwner": null, "payer": "assistant2", "sourceKind": "return", "note": "退货回料", "canEdit": false, "canRequestChange": false, "ownerReviewRequired": false }, { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 5000, "amount": 460000, "payer": "assistant", "note": "第二天购料", "actor": "助理", "created": "2026-11-19T02:02:19.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:19.000Z", "source_sequence": 4, "sourceKind": "purchase", "canEdit": true, "canRequestChange": false, "ownerReviewRequired": false, "member": "assistant" }, { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 4000, "amount": 370000, "payer": "assistant2", "note": "", "actor": "助理2", "created": "2026-11-19T02:02:20.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:20.000Z", "source_sequence": 5, "sourceKind": "purchase", "canEdit": true, "canRequestChange": false, "ownerReviewRequired": false, "member": "assistant2" } ], "usages": [ { "id": "", "order_id": "", "line_index": 0, "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 2000, "active": 1, "amount": 181898, "owner_amount": 0, "assistant_amount": 181898, "revision": 1, "created": "2026-11-19T02:02:40.000Z", "updated": "2026-11-19T02:02:40.000Z", "fifo_sequence": 2, "number": "MM20261119-", "customer": "滚动料池客户", "order_status": "delivered", "assistant2_amount": 0, "member": "assistant", "product": "足金999" } ], "settlements": [], "settlement": { "legacyReadOnly": true, "settlementDue": 0, "assistantInventoryCredit": 0, "transferred": 0, "pending": false }, "legacyReadOnly": true }, "rolling": { "enabled": true, "cutover": "2026-11-19", "canEnable": false, "reason": "" }, "summary": { "totalMg": 38000, "totalAmount": 3456065, "usedMg": 2000, "remainingMg": 36000, "remainingCost": 3274167, "shortageMg": 0, "pendingCount": 0, "purchaseCount": 2 }, "settlement": { "legacyReadOnly": true, "settlementDue": 0, "knownSettlementDue": 0, "pendingCount": 0, "pools": [] } } }, { "seq": 358, "label": "material-pool-detail-owner", "date": "2026-11-19", "actor": "owner", "method": "GET", "path": "/api/material-pools/2026-11-18", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "2026-11-18", "date": "2026-11-18", "totalMg": 31000, "totalAmount": 2810000, "averageRate": 90645, "usedMg": 3000, "remainingMg": 28000, "shortageMg": 0, "consumedCost": 271935, "remainingCost": 2538065, "status": "using", "revision": "2823f40ff78424f5423f0dbdf991ea5fcc83b0144648e9d2399869970c27af75", "purchases": [ { "id": "", "pool_id": "2026-11-18", "date": "2026-11-18", "mg": 11000, "amount": 990000, "payer": "assistant", "note": "核对凭据", "actor": "助理", "created": "2026-11-18T02:01:09.000Z", "revision": 2, "deleted_at": "", "updated": "2026-11-19T02:02:27.000Z", "canEdit": false, "canRequestChange": true, "ownerReviewRequired": true, "member": "assistant" }, { "id": "", "pool_id": "2026-11-18", "date": "2026-11-18", "mg": 20000, "amount": 1820000, "payer": "owner", "note": "麦麦购料", "actor": "麦麦", "created": "2026-11-18T02:01:10.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-18T02:01:10.000Z", "canEdit": false, "canRequestChange": true, "ownerReviewRequired": true, "member": "owner" } ], "usages": [ { "id": "", "order_id": "", "line_index": 0, "pool_id": "2026-11-18", "date": "2026-11-18", "mg": 3000, "active": 1, "amount": 271935, "owner_amount": 0, "assistant_amount": 271935, "revision": 3, "created": "2026-11-18T02:01:20.000Z", "updated": "2026-11-19T02:02:27.000Z", "fifo_sequence": 1, "number": "MM20261118-", "customer": "对照客户丁", "order_status": "delivered", "member": "assistant", "product": "足金999" } ], "settlements": [], "byPayer": { "owner": { "purchased": 1820000, "consumed": 0, "remaining": 1820000 }, "assistant": { "purchased": 990000, "consumed": 271935, "remaining": 718065 } }, "settlement": { "assistantInventoryCredit": 718065, "transferred": 0, "settlementDue": -718065, "pending": false }, "legacyReadOnly": true } }, { "seq": 359, "label": "material-pool-settlement-team", "date": "2026-11-19", "actor": "owner", "method": "POST", "path": "/api/material-pools/2026-11-18/settlement", "key": "golden-00166-material-pool-settlement-team", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "date": "2026-11-19", "amount": "1", "direction": "toOwner", "verified": true, "revision": "2823f40ff78424f5423f0dbdf991ea5fcc83b0144648e9d2399869970c27af75" } }, "status": 409, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "error": "三人购料请到成员往来登记双方实际转账" } }, { "seq": 360, "label": "rolling-preview", "date": "2026-11-19", "actor": "owner", "method": "GET", "path": "/api/material-pools/rolling-preview", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "date": "2026-11-19", "revision": "8993c4d7982a2a06187bd31c29ecbcd55b57e69eae80278303d5c955059aaebf", "canEnable": false, "reason": "滚动料池已经启用", "opening": { "mg": 28000, "amount": 2538065, "allocations": [ { "payer": "assistant", "amount": 718065, "source_id": "", "created": "2026-11-18T02:01:09.000Z", "source_sequence": 1 }, { "payer": "owner", "amount": 1820000, "source_id": "", "created": "2026-11-18T02:01:10.000Z", "source_sequence": 2 } ] }, "affectedOrderCount": 1 } }, { "seq": 361, "label": "rolling-preview-denied", "date": "2026-11-19", "actor": "assistant", "method": "GET", "path": "/api/material-pools/rolling-preview", "key": null, "status": 403, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "error": "这项操作由店主账号完成" } }, { "seq": 362, "note": "section", "name": "securityChecks" }, { "seq": 363, "label": "csrf-missing-origin", "date": "2026-11-19", "actor": "assistant", "method": "POST", "path": "/api/orders/issue", "key": "golden-00167-csrf-missing-origin", "request": { "headers": { "origin": null, "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "date": "2026-11-19", "customer": "安全测试", "internal_note": "安全测试备注", "salesperson": "娜娜", "payment_account": "助理微信", "rounding_mode": "cent", "lines": [ { "name": "足金转运珠", "unit": "g", "quantity": "0.5", "pocket": "现货", "payer": "assistant", "sale": "500", "cost": "420" } ], "fee_items": [] } }, "status": 403, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "error": "请从系统页面提交操作" } }, { "seq": 364, "label": "csrf-wrong-origin", "date": "2026-11-19", "actor": "assistant", "method": "POST", "path": "/api/orders/issue", "key": "golden-00168-csrf-wrong-origin", "request": { "headers": { "origin": "https://evil.example", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "date": "2026-11-19", "customer": "安全测试", "internal_note": "安全测试备注", "salesperson": "娜娜", "payment_account": "助理微信", "rounding_mode": "cent", "lines": [ { "name": "足金转运珠", "unit": "g", "quantity": "0.5", "pocket": "现货", "payer": "assistant", "sale": "500", "cost": "420" } ], "fee_items": [] } }, "status": 403, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "error": "请从系统页面提交操作" } }, { "seq": 365, "label": "csrf-missing-header", "date": "2026-11-19", "actor": "assistant", "method": "POST", "path": "/api/orders/issue", "key": "golden-00169-csrf-missing-header", "request": { "headers": { "origin": "http://", "xrw": null, "contentType": "application/json" }, "body": { "date": "2026-11-19", "customer": "安全测试", "internal_note": "安全测试备注", "salesperson": "娜娜", "payment_account": "助理微信", "rounding_mode": "cent", "lines": [ { "name": "足金转运珠", "unit": "g", "quantity": "0.5", "pocket": "现货", "payer": "assistant", "sale": "500", "cost": "420" } ], "fee_items": [] } }, "status": 403, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "error": "请从系统页面提交操作" } }, { "seq": 366, "label": "csrf-wrong-content-type", "date": "2026-11-19", "actor": "assistant", "method": "POST", "path": "/api/orders/issue", "key": "golden-00170-csrf-wrong-content-type", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "text/plain" }, "body": { "date": "2026-11-19", "customer": "安全测试", "internal_note": "安全测试备注", "salesperson": "娜娜", "payment_account": "助理微信", "rounding_mode": "cent", "lines": [ { "name": "足金转运珠", "unit": "g", "quantity": "0.5", "pocket": "现货", "payer": "assistant", "sale": "500", "cost": "420" } ], "fee_items": [] } }, "status": 403, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "error": "请从系统页面提交操作" } }, { "seq": 367, "label": "invalid-json", "date": "2026-11-19", "actor": "assistant", "method": "POST", "path": "/api/orders/issue", "key": "golden-00171-invalid-json", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": "{not json" }, "status": 400, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "error": "请求内容不是有效JSON" } }, { "seq": 368, "label": "idempotent-first", "date": "2026-11-19", "actor": "assistant", "method": "POST", "path": "/api/orders/issue", "key": "golden-idempotency-replay-0001", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "date": "2026-11-19", "customer": "安全测试", "internal_note": "安全测试备注", "salesperson": "娜娜", "payment_account": "助理微信", "rounding_mode": "cent", "lines": [ { "name": "足金转运珠", "unit": "g", "quantity": "0.5", "pocket": "现货", "payer": "assistant", "sale": "500", "cost": "420" } ], "fee_items": [] } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "" } }, { "seq": 369, "label": "idempotent-replay", "date": "2026-11-19", "actor": "assistant", "method": "POST", "path": "/api/orders/issue", "key": "golden-idempotency-replay-0001", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "date": "2026-11-19", "customer": "安全测试", "internal_note": "安全测试备注", "salesperson": "娜娜", "payment_account": "助理微信", "rounding_mode": "cent", "lines": [ { "name": "足金转运珠", "unit": "g", "quantity": "0.5", "pocket": "现货", "payer": "assistant", "sale": "500", "cost": "420" } ], "fee_items": [] } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "" } }, { "seq": 370, "label": "idempotent-conflict", "date": "2026-11-19", "actor": "assistant", "method": "POST", "path": "/api/orders/issue", "key": "golden-idempotency-replay-0001", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "date": "2026-11-19", "customer": "不同内容", "internal_note": "安全测试备注", "salesperson": "娜娜", "payment_account": "助理微信", "rounding_mode": "cent", "lines": [ { "name": "足金转运珠", "unit": "g", "quantity": "0.5", "pocket": "现货", "payer": "assistant", "sale": "500", "cost": "420" } ], "fee_items": [] } }, "status": 409, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "error": "这个操作号已用于其他内容,请重新操作" } }, { "seq": 371, "label": "idempotency-key-invalid", "date": "2026-11-19", "actor": "assistant", "method": "POST", "path": "/api/orders/issue", "key": "short", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "date": "2026-11-19", "customer": "安全测试", "internal_note": "安全测试备注", "salesperson": "娜娜", "payment_account": "助理微信", "rounding_mode": "cent", "lines": [ { "name": "足金转运珠", "unit": "g", "quantity": "0.5", "pocket": "现货", "payer": "assistant", "sale": "500", "cost": "420" } ], "fee_items": [] } }, "status": 400, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "error": "缺少有效操作号,请刷新后重试" } }, { "seq": 372, "label": "idempotency-key-missing", "date": "2026-11-19", "actor": "assistant", "method": "POST", "path": "/api/orders/issue", "key": null, "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "date": "2026-11-19", "customer": "安全测试", "internal_note": "安全测试备注", "salesperson": "娜娜", "payment_account": "助理微信", "rounding_mode": "cent", "lines": [ { "name": "足金转运珠", "unit": "g", "quantity": "0.5", "pocket": "现货", "payer": "assistant", "sale": "500", "cost": "420" } ], "fee_items": [] } }, "status": 400, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "error": "缺少有效操作号,请刷新后重试" } }, { "seq": 373, "label": "foreign-order", "date": "2026-11-19", "actor": "assistant2", "method": "GET", "path": "/api/orders/", "key": null, "status": 404, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "error": "记录不存在或无权访问" } }, { "seq": 374, "label": "foreign-order-public", "date": "2026-11-19", "actor": "assistant2", "method": "GET", "path": "/api/orders//public", "key": null, "status": 404, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "error": "记录不存在或无权访问" } }, { "seq": 375, "label": "foreign-order-edit", "date": "2026-11-19", "actor": "assistant2", "method": "GET", "path": "/api/orders//edit", "key": null, "status": 404, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "error": "记录不存在或无权访问" } }, { "seq": 376, "label": "foreign-order-change", "date": "2026-11-19", "actor": "assistant2", "method": "GET", "path": "/api/orders//change", "key": null, "status": 404, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "error": "记录不存在或无权访问" } }, { "seq": 377, "label": "foreign-order-cancellation", "date": "2026-11-19", "actor": "assistant2", "method": "GET", "path": "/api/orders//cancellation", "key": null, "status": 404, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "error": "记录不存在或无权访问" } }, { "seq": 378, "label": "foreign-order-ownership", "date": "2026-11-19", "actor": "assistant2", "method": "GET", "path": "/api/orders//ownership", "key": null, "status": 404, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "error": "记录不存在或无权访问" } }, { "seq": 379, "label": "foreign-order-after-sale", "date": "2026-11-19", "actor": "assistant2", "method": "GET", "path": "/api/orders//after-sale", "key": null, "status": 404, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "error": "记录不存在或无权访问" } }, { "seq": 380, "label": "foreign-order-post-edit", "date": "2026-11-19", "actor": "assistant2", "method": "POST", "path": "/api/orders//edit", "key": "golden-00172-foreign-order-post-edit", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "date": "2026-11-19", "revision": 1, "reason": "越权", "verified": true } }, "status": 404, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "error": "记录不存在或无权访问" } }, { "seq": 381, "label": "foreign-order-post-change", "date": "2026-11-19", "actor": "assistant2", "method": "POST", "path": "/api/orders//change", "key": "golden-00173-foreign-order-post-change", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "date": "2026-11-19", "revision": 1, "reason": "越权", "verified": true } }, "status": 404, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "error": "记录不存在或无权访问" } }, { "seq": 382, "label": "foreign-order-post-cancellation", "date": "2026-11-19", "actor": "assistant2", "method": "POST", "path": "/api/orders//cancellation", "key": "golden-00174-foreign-order-post-cancellation", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "date": "2026-11-19", "revision": 1, "reason": "越权", "verified": true } }, "status": 404, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "error": "记录不存在或无权访问" } }, { "seq": 383, "label": "foreign-order-post-canceltoday", "date": "2026-11-19", "actor": "assistant2", "method": "POST", "path": "/api/orders//canceltoday", "key": "golden-00175-foreign-order-post-canceltoday", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "date": "2026-11-19", "revision": 1, "reason": "越权", "verified": true } }, "status": 404, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "error": "记录不存在或无权访问" } }, { "seq": 384, "label": "foreign-order-post-receipt", "date": "2026-11-19", "actor": "assistant2", "method": "POST", "path": "/api/orders//receipt", "key": "golden-00176-foreign-order-post-receipt", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "date": "2026-11-19", "revision": 1, "reason": "越权", "verified": true } }, "status": 404, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "error": "记录不存在或无权访问" } }, { "seq": 385, "label": "foreign-order-post-expense", "date": "2026-11-19", "actor": "assistant2", "method": "POST", "path": "/api/orders//expense", "key": "golden-00177-foreign-order-post-expense", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "date": "2026-11-19", "revision": 1, "reason": "越权", "verified": true } }, "status": 404, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "error": "记录不存在或无权访问" } }, { "seq": 386, "label": "order-book-foreign-member", "date": "2026-11-19", "actor": "assistant", "method": "GET", "path": "/api/order-book?member=assistant2", "key": null, "status": 403, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "error": "只能查看本人的业务" } }, { "seq": 387, "label": "report-foreign-member", "date": "2026-11-19", "actor": "assistant", "method": "GET", "path": "/api/report?member=assistant2", "key": null, "status": 403, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "error": "只能查看本人的业务" } }, { "seq": 388, "label": "owner-only-get", "date": "2026-11-19", "actor": "assistant2", "method": "GET", "path": "/api/export/inventory", "key": null, "status": 403, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "error": "这项操作由店主账号完成" } }, { "seq": 389, "label": "owner-only-get", "date": "2026-11-19", "actor": "assistant2", "method": "GET", "path": "/api/team-funds?date=2026-11-19", "key": null, "status": 403, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "error": "这项操作由店主账号完成" } }, { "seq": 390, "label": "owner-only-get", "date": "2026-11-19", "actor": "assistant2", "method": "GET", "path": "/api/employees", "key": null, "status": 403, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "error": "这项操作由店主账号完成" } }, { "seq": 391, "label": "owner-only-get", "date": "2026-11-19", "actor": "assistant2", "method": "GET", "path": "/api/material-pools/rolling-preview", "key": null, "status": 403, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "error": "这项操作由店主账号完成" } }, { "seq": 392, "label": "owner-only-get", "date": "2026-11-19", "actor": "assistant2", "method": "GET", "path": "/api/private-operations", "key": null, "status": 403, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "error": "这项操作由店主账号完成" } }, { "seq": 393, "label": "owner-only-get", "date": "2026-11-19", "actor": "assistant2", "method": "GET", "path": "/api/people-count", "key": null, "status": 403, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "error": "这项操作由店主账号完成" } }, { "seq": 394, "label": "owner-only-get", "date": "2026-11-19", "actor": "assistant2", "method": "GET", "path": "/api/people-count-history", "key": null, "status": 403, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "error": "这项操作由店主账号完成" } }, { "seq": 395, "label": "owner-only-post", "date": "2026-11-19", "actor": "assistant2", "method": "POST", "path": "/api/backup", "key": "golden-00178-owner-only-post", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": {} }, "status": 403, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "error": "这项操作由店主账号完成" } }, { "seq": 396, "label": "owner-only-post", "date": "2026-11-19", "actor": "assistant2", "method": "POST", "path": "/api/sync", "key": "golden-00179-owner-only-post", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": {} }, "status": 403, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "error": "这项操作由店主账号完成" } }, { "seq": 397, "label": "owner-only-post", "date": "2026-11-19", "actor": "assistant2", "method": "POST", "path": "/api/shop-settings", "key": "golden-00180-owner-only-post", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "revision": 0 } }, "status": 403, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "error": "这项操作由店主账号完成" } }, { "seq": 398, "label": "owner-only-post", "date": "2026-11-19", "actor": "assistant2", "method": "POST", "path": "/api/printing", "key": "golden-00181-owner-only-post", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "offsetX": 1 } }, "status": 403, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "error": "这项操作由店主账号完成" } }, { "seq": 399, "label": "owner-only-post", "date": "2026-11-19", "actor": "assistant2", "method": "POST", "path": "/api/pockets", "key": "golden-00182-owner-only-post", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "name": "x" } }, "status": 403, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "error": "这项操作由店主账号完成" } }, { "seq": 400, "label": "owner-only-post", "date": "2026-11-19", "actor": "assistant2", "method": "POST", "path": "/api/employees", "key": "golden-00183-owner-only-post", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "label": "x" } }, "status": 403, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "error": "这项操作由店主账号完成" } }, { "seq": 401, "label": "owner-only-post", "date": "2026-11-19", "actor": "assistant2", "method": "POST", "path": "/api/team-funds/transfers", "key": "golden-00184-owner-only-post", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": {} }, "status": 403, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "error": "这项操作由店主账号完成" } }, { "seq": 402, "label": "owner-only-post", "date": "2026-11-19", "actor": "assistant2", "method": "POST", "path": "/api/people-count", "key": "golden-00185-owner-only-post", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "date": "2026-11-19", "revision": 0 } }, "status": 403, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "error": "这项操作由店主账号完成" } }, { "seq": 403, "label": "owner-only-post", "date": "2026-11-19", "actor": "assistant2", "method": "POST", "path": "/api/private-operations/people", "key": "golden-00186-owner-only-post", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "date": "2026-11-19", "member": "assistant", "total_count": 1, "new_count": 0, "revision": 0 } }, "status": 403, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "error": "只能登记和查看自己的人数" } }, { "seq": 404, "label": "owner-only-post", "date": "2026-11-19", "actor": "assistant2", "method": "POST", "path": "/api/close", "key": "golden-00187-owner-only-post", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "date": "2026-11-19", "basis": "orderDate" } }, "status": 403, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "error": "这项操作由店主账号完成" } }, { "seq": 405, "label": "owner-only-post", "date": "2026-11-19", "actor": "assistant2", "method": "POST", "path": "/api/inventory/review", "key": "golden-00188-owner-only-post", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "date": "2026-11-19", "verified": true, "revision": "x" } }, "status": 403, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "error": "这项操作由店主账号完成" } }, { "seq": 406, "label": "owner-only-post", "date": "2026-11-19", "actor": "assistant2", "method": "POST", "path": "/api/team-members/assistant/password", "key": "golden-00189-owner-only-post", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "password": "x", "verified": true } }, "status": 403, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "error": "这项操作由店主账号完成" } }, { "seq": 407, "label": "unknown-get", "date": "2026-11-19", "actor": "assistant", "method": "GET", "path": "/api/unknown-route", "key": null, "status": 404, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "error": "地址不存在" } }, { "seq": 408, "label": "unknown-post", "date": "2026-11-19", "actor": "assistant", "method": "POST", "path": "/api/unknown-route", "key": "golden-00190-unknown-post", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": {} }, "status": 404, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "error": "地址不存在" } }, { "seq": 409, "label": "method-not-allowed", "date": "2026-11-19", "actor": "assistant", "method": "PUT", "path": "/api/state", "key": null, "status": 405, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "error": "不支持的请求方式" } }, { "seq": 410, "label": "anonymous-order", "date": "2026-11-19", "actor": null, "method": "GET", "path": "/api/orders/", "key": null, "status": 401, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "error": "请先登录" } }, { "seq": 411, "label": "account-changed-header", "date": "2026-11-19", "actor": "assistant", "method": "GET", "path": "/api/state", "key": null, "status": 409, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "error": "登录账号已在其他页面切换,请刷新后继续;原操作已暂停。", "code": "ACCOUNT_CHANGED" } }, { "seq": 412, "note": "section", "name": "reports" }, { "seq": 413, "label": "report-d2-owner", "date": "2026-11-19", "actor": "owner", "method": "GET", "path": "/api/report?date=2026-11-19", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "date": "2026-11-19", "from": "2026-11-19", "sales": 1239792, "goods": 1056028, "knownGoods": 1056028, "expense": 2400, "profit": 181364, "knownProfit": 181364, "materialCostPending": false, "pendingMaterialCount": 0, "materialPoolActivity": { "from": "2026-11-19", "to": "2026-11-19", "purchases": [ { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 5000, "amount": 460000, "payer": "assistant", "note": "第二天购料", "actor": "助理", "created": "2026-11-19T02:02:19.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:19.000Z" }, { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 4000, "amount": 370000, "payer": "assistant2", "note": "", "actor": "助理2", "created": "2026-11-19T02:02:20.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:20.000Z" } ], "settlements": [], "events": [ { "id": "", "pool_id": "2026-11-19", "usage_id": "", "order_id": "", "date": "2026-11-19", "kind": "交付占用", "before_value": null, "after_value": { "poolId": "2026-11-19", "mg": 2000, "active": 1, "amount": null, "ownerAmount": null, "assistantAmount": null, "revision": 1 }, "actor": "助理", "created": "2026-11-19T02:02:40.000Z" } ] }, "materialPoolSettlement": { "legacyReadOnly": true, "settlementDue": 0, "knownSettlementDue": 0, "pendingCount": 0, "pools": [] }, "delivered": 6, "returns": 0, "accounts": [ { "account": "助理微信", "receipt": 610800, "refund": 0 }, { "account": "助理支付宝", "receipt": 16200, "refund": 0 }, { "account": "助理现金", "receipt": 0, "refund": 0 }, { "account": "麦麦微信", "receipt": 0, "refund": 0 }, { "account": "麦麦支付宝", "receipt": 0, "refund": 0 }, { "account": "麦麦现金", "receipt": 0, "refund": 0 }, { "account": "助理信用卡", "receipt": 0, "refund": 0 }, { "account": "麦麦信用卡", "receipt": 0, "refund": 0 }, { "account": "助理2微信", "receipt": 432792, "refund": 0 }, { "account": "助理2支付宝", "receipt": 0, "refund": 90000 }, { "account": "助理2现金", "receipt": 0, "refund": 0 }, { "account": "助理2信用卡", "receipt": 0, "refund": 0 } ], "payments": [ { "id": "", "order_id": "", "date": "2026-11-19", "kind": "refund", "amount": 90000, "account": "助理2支付宝", "reference": "整单售后退款", "actor": "麦麦", "created": "2026-11-19T02:01:05.000Z", "number": "MM20261118-" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "receipt", "amount": 432792, "account": "助理2微信", "reference": "置换差额实际收款 · HS202611190001", "actor": "助理2", "created": "2026-11-19T02:01:32.000Z", "number": "MM20261119-" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "receipt", "amount": 130800, "account": "助理微信", "reference": "置换差额实际收款 · HS202611190002", "actor": "助理", "created": "2026-11-19T02:01:33.000Z", "number": "MM20261119-" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "receipt", "amount": 210000, "account": "助理微信", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-19T02:01:48.000Z", "number": "MM20261119-" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "receipt", "amount": 210000, "account": "助理微信", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-19T02:01:57.000Z", "number": "MM20261119-" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "receipt", "amount": -210000, "account": "助理微信", "reference": "更正冲回:取消审批作废;当天录错", "actor": "助理", "created": "2026-11-19T02:01:59.000Z", "number": "MM20261119-" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "receipt", "amount": 220000, "account": "助理微信", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-19T02:02:40.000Z", "number": "MM20261119-" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "receipt", "amount": 50000, "account": "助理微信", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-19T02:02:51.000Z", "number": "MM20261119-" }, { "id": "", "price_lock_id": "", "date": "2026-11-19", "kind": "receipt", "amount": 16200, "account": "助理支付宝", "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-19T02:01:28.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null, "price_lock_event_id": "" } ], "settlements": [], "journal": [ { "id": "", "order_id": "", "date": "2026-11-19", "kind": "直接费用", "sales": 0, "goods": 0, "expense": 1000, "profit": -1000, "created": "2026-11-19T02:00:37.000Z", "number": "MM20261118-" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "订单退货退款售后", "sales": -90000, "goods": -88000, "expense": 0, "profit": -2000, "created": "2026-11-19T02:01:05.000Z", "number": "MM20261118-" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "交付", "sales": 286200, "goods": 267000, "expense": 600, "profit": 18600, "created": "2026-11-19T02:01:28.000Z", "number": "MM20261119-" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "交付", "sales": 432792, "goods": 366720, "expense": 0, "profit": 66072, "created": "2026-11-19T02:01:32.000Z", "number": "MM20261119-" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "交付", "sales": 130800, "goods": 106410, "expense": 0, "profit": 24390, "created": "2026-11-19T02:01:33.000Z", "number": "MM20261119-" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "交付", "sales": 210000, "goods": 180000, "expense": 0, "profit": 30000, "created": "2026-11-19T02:01:48.000Z", "number": "MM20261119-" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "直接费用", "sales": 0, "goods": 0, "expense": 800, "profit": -800, "created": "2026-11-19T02:01:52.000Z", "number": "MM20261119-" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "交付", "sales": 210000, "goods": 180000, "expense": 0, "profit": 30000, "created": "2026-11-19T02:01:57.000Z", "number": "MM20261119-" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "订单录错作废冲回", "sales": -210000, "goods": -180000, "expense": 0, "profit": -30000, "created": "2026-11-19T02:01:59.000Z", "number": "MM20261119-" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "交付", "sales": 220000, "goods": 181898, "expense": 0, "profit": 38102, "created": "2026-11-19T02:02:40.000Z", "number": "MM20261119-" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "交付", "sales": 50000, "goods": 42000, "expense": 0, "profit": 8000, "created": "2026-11-19T02:02:51.000Z", "number": "MM20261119-" } ], "afterSales": [], "afterSaleCount": 0, "inventory": [ { "pocket": "现货", "mg": 61950, "reserved": 0, "available": 61950 }, { "pocket": "金料", "mg": 56000, "reserved": 0, "available": 56000 }, { "pocket": "找金", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "回收旧料", "mg": 12843, "reserved": 0, "available": 12843 }, { "pocket": "君宝汇", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "臻金汇", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "金金", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "定制工厂", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "pocket_", "mg": 10000, "reserved": 0, "available": 10000 } ], "warnings": [ { "id": "", "number": "MM20261119-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261119-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261119-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261119-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261119-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261119-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261119-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261118-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261118-", "message": "麦麦直接收客户款,已扣减总待结金额;货款/利润拆分需单独复核" }, { "id": "", "number": "MM20261118-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261118-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261118-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261118-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261118-", "message": "麦麦直接收客户款,已扣减总待结金额;货款/利润拆分需单独复核" }, { "id": "", "number": "MM20261118-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261118-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261118-", "message": "麦麦直接收客户款,已扣减总待结金额;货款/利润拆分需单独复核" }, { "id": "", "number": "MM20261118-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261118-", "message": "有记录待麦麦复核" } ], "unsettled": [], "settlementDue": 0, "knownSettlementDue": 0, "customerBalance": 0, "close": null } }, { "seq": 414, "label": "report-d2-orderdate-owner", "date": "2026-11-19", "actor": "owner", "method": "GET", "path": "/api/report?date=2026-11-19&basis=orderDate", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "date": "2026-11-19", "from": "2026-11-19", "sales": 1239792, "goods": 1056028, "knownGoods": 1056028, "expense": 1400, "profit": 182364, "knownProfit": 182364, "materialCostPending": false, "pendingMaterialCount": 0, "materialPoolActivity": { "basis": "purchaseDate", "from": "2026-11-19", "date": "2026-11-19", "purchases": [ { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 5000, "amount": 460000, "payer": "assistant", "note": "第二天购料", "actor": "助理", "created": "2026-11-19T02:02:19.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:19.000Z" }, { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 4000, "amount": 370000, "payer": "assistant2", "note": "", "actor": "助理2", "created": "2026-11-19T02:02:20.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:20.000Z" } ], "payerOutlays": { "owner": { "payer": "owner", "material": 0, "goods": 0, "paidFees": 0, "total": 0, "purchaseCount": 0 }, "assistant": { "payer": "assistant", "material": 460000, "goods": 460000, "paidFees": 0, "total": 460000, "purchaseCount": 1 }, "assistant2": { "payer": "assistant2", "material": 370000, "goods": 370000, "paidFees": 0, "total": 370000, "purchaseCount": 1 } }, "summary": { "purchaseCount": 2, "poolCount": 1, "mg": 9000, "materialOutlay": 830000, "purchaseValue": 830000, "ownerOutlay": 0, "assistantOutlay": 460000, "assistant2Outlay": 370000, "totalOutlay": 830000, "eventCount": 2 } }, "materialPoolSettlement": { "legacyReadOnly": true, "settlementDue": 0, "knownSettlementDue": 0, "pendingCount": 0, "pools": [] }, "delivered": 6, "returns": 1, "accounts": [ { "account": "助理微信", "receipt": 610800, "refund": 0, "net": 610800 }, { "account": "助理支付宝", "receipt": 16200, "refund": 0, "net": 16200 }, { "account": "助理现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2微信", "receipt": 432792, "refund": 0, "net": 432792 }, { "account": "助理2支付宝", "receipt": 0, "refund": 90000, "net": -90000 }, { "account": "助理2现金", "receipt": 0, "refund": 0, "net": 0 } ], "payments": [ { "id": "", "order_id": "", "date": "2026-11-19", "kind": "receipt", "amount": 432792, "account": "助理2微信", "reference": "置换差额实际收款 · HS202611190001", "actor": "助理2", "created": "2026-11-19T02:01:32.000Z", "number": "MM20261119-", "paper_number": "20261119011", "order_date": "2026-11-19" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "receipt", "amount": 130800, "account": "助理微信", "reference": "置换差额实际收款 · HS202611190002", "actor": "助理", "created": "2026-11-19T02:01:33.000Z", "number": "MM20261119-", "paper_number": "20261119012", "order_date": "2026-11-19" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "receipt", "amount": 210000, "account": "助理微信", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-19T02:01:48.000Z", "number": "MM20261119-", "paper_number": "20261119013", "order_date": "2026-11-19" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "receipt", "amount": 210000, "account": "助理微信", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-19T02:01:57.000Z", "number": "MM20261119-", "paper_number": "20261119014", "order_date": "2026-11-19" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "receipt", "amount": -210000, "account": "助理微信", "reference": "更正冲回:取消审批作废;当天录错", "actor": "助理", "created": "2026-11-19T02:01:59.000Z", "number": "MM20261119-", "paper_number": "20261119014", "order_date": "2026-11-19" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "receipt", "amount": 220000, "account": "助理微信", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-19T02:02:40.000Z", "number": "MM20261119-", "paper_number": "20261119015", "order_date": "2026-11-19" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "receipt", "amount": 50000, "account": "助理微信", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-19T02:02:51.000Z", "number": "MM20261119-", "paper_number": "20261119016", "order_date": "2026-11-19" }, { "id": "", "price_lock_id": "", "date": "2026-11-19", "kind": "receipt", "amount": 16200, "account": "助理支付宝", "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-19T02:01:28.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "refund", "amount": 90000, "account": "助理2支付宝", "reference": "整单售后退款", "actor": "麦麦", "created": "2026-11-19T02:01:05.000Z", "number": "MM20261118-", "paper_number": "20261118007", "customer": "对照售后订单客户", "order_date": "2026-11-18", "order_after_sale": true } ], "settlements": [], "journal": [ { "id": "", "order_id": "", "date": "2026-11-19", "kind": "交付", "sales": 286200, "goods": 267000, "expense": 600, "profit": 18600, "created": "2026-11-19T02:01:28.000Z", "number": "MM20261119-", "paper_number": "20261119010", "order_date": "2026-11-19" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "交付", "sales": 432792, "goods": 366720, "expense": 0, "profit": 66072, "created": "2026-11-19T02:01:32.000Z", "number": "MM20261119-", "paper_number": "20261119011", "order_date": "2026-11-19" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "交付", "sales": 130800, "goods": 106410, "expense": 0, "profit": 24390, "created": "2026-11-19T02:01:33.000Z", "number": "MM20261119-", "paper_number": "20261119012", "order_date": "2026-11-19" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "交付", "sales": 210000, "goods": 180000, "expense": 0, "profit": 30000, "created": "2026-11-19T02:01:48.000Z", "number": "MM20261119-", "paper_number": "20261119013", "order_date": "2026-11-19" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "直接费用", "sales": 0, "goods": 0, "expense": 800, "profit": -800, "created": "2026-11-19T02:01:52.000Z", "number": "MM20261119-", "paper_number": "20261119013", "order_date": "2026-11-19" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "交付", "sales": 210000, "goods": 180000, "expense": 0, "profit": 30000, "created": "2026-11-19T02:01:57.000Z", "number": "MM20261119-", "paper_number": "20261119014", "order_date": "2026-11-19" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "订单录错作废冲回", "sales": -210000, "goods": -180000, "expense": 0, "profit": -30000, "created": "2026-11-19T02:01:59.000Z", "number": "MM20261119-", "paper_number": "20261119014", "order_date": "2026-11-19" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "交付", "sales": 220000, "goods": 181898, "expense": 0, "profit": 38102, "created": "2026-11-19T02:02:40.000Z", "number": "MM20261119-", "paper_number": "20261119015", "order_date": "2026-11-19" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "交付", "sales": 50000, "goods": 42000, "expense": 0, "profit": 8000, "created": "2026-11-19T02:02:51.000Z", "number": "MM20261119-", "paper_number": "20261119016", "order_date": "2026-11-19" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "订单退货退款售后", "sales": -90000, "goods": -88000, "expense": 0, "profit": -2000, "created": "2026-11-19T02:01:05.000Z", "number": "MM20261118-", "paper_number": "20261118007", "order_date": "2026-11-18" } ], "afterSales": [], "afterSaleCount": 0, "inventory": [ { "pocket": "现货", "mg": 61950, "reserved": 0, "available": 61950 }, { "pocket": "金料", "mg": 56000, "reserved": 0, "available": 56000 }, { "pocket": "找金", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "回收旧料", "mg": 12843, "reserved": 0, "available": 12843 }, { "pocket": "君宝汇", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "臻金汇", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "金金", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "定制工厂", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "pocket_", "mg": 10000, "reserved": 0, "available": 10000 } ], "warnings": [ { "id": "", "number": "MM20261119-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261119-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261119-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261119-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261119-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261119-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261119-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261118-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261118-", "message": "麦麦直接收客户款,已扣减总待结金额;货款/利润拆分需单独复核" }, { "id": "", "number": "MM20261118-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261118-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261118-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261118-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261118-", "message": "麦麦直接收客户款,已扣减总待结金额;货款/利润拆分需单独复核" }, { "id": "", "number": "MM20261118-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261118-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261118-", "message": "麦麦直接收客户款,已扣减总待结金额;货款/利润拆分需单独复核" }, { "id": "", "number": "MM20261118-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261118-", "message": "有记录待麦麦复核" } ], "unsettled": [], "settlementDue": 0, "knownSettlementDue": 0, "customerBalance": 0, "close": null, "basis": "orderDate", "summary": { "orderCount": 7, "completedCount": 6, "draftCount": 0, "confirmedCount": 0, "returnedCount": 1, "cancelledCount": 1, "incompleteCount": 0, "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "unknownCostCount": 0, "unknownProfitCount": 0, "legacyUnallocatedCount": 2, "sale": 1239792, "material": 822028, "laborAndFees": 13400, "unallocated": 222000, "totalCost": 1057428, "profit": 182364, "ownerCost": 255600, "assistantCost": 523108, "assistant2Cost": 278720, "mg": 27600, "pieces": 0, "knownCounts": { "sale": 7, "material": 5, "laborAndFees": 5, "unallocated": 7, "totalCost": 7, "profit": 7, "ownerCost": 7, "assistantCost": 7, "assistant2Cost": 7 }, "unknownCounts": { "sale": 0, "material": 2, "laborAndFees": 2, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0 }, "partial": true, "afterSaleCount": 1, "recordCount": 8 }, "orderRows": [ { "id": "", "order_id": "", "kind": "orderAfterSale", "orderAfterSale": { "orderId": "", "date": "2026-11-19", "reason": "客户退回一件", "deductionReason": "客户确认扣费", "refund": { "amount": 90000, "account": "助理2支付宝", "payer": "assistant2", "reference": "" }, "expenses": [], "original": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": { "id": "", "status": "approved", "action": "return", "action_label": "订单售后", "order_revision": 4, "reason": "客户退回一件", "requester_name": "助理2", "created": "2026-11-19T02:01:03.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:01:05.000Z", "note": "实物已收回" }, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 0, "netReceived": 500000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 50000, "knownProfit": 50000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "funds_mode": "team", "credit_card_rate_permille": 6 }, "originalJournal": { "sales": 500000, "goods": 450000, "expense": 0, "profit": 50000 }, "summary": { "refundAmount": 90000, "retainedAmount": 410000, "materialReturnedCost": 88000, "laborRestockedCost": 0, "materialLoss": 352000, "costLoss": 362000, "originalDirectCost": 0, "newExpenses": 0, "directCost": 0, "profit": 48000, "finalProfit": 48000, "profitAdjustment": -2000, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ] }, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ], "order_id": "", "created": "2026-11-19T02:01:05.000Z", "number": "MM20261118-", "paper_number": "20261118007", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "order_date": "2026-11-18", "member": "assistant2" }, "member": "assistant2", "number": "MM20261118-", "paper_number": "20261118007", "date": "2026-11-19", "order_date": "2026-11-18", "created": "2026-11-19T02:01:05.000Z", "customer": "对照售后订单客户", "salesperson": "小昊", "status": "after_sale", "note": "", "project": "订单售后", "types": [ "订单售后" ], "mg": 0, "summaryMg": 0, "pieces": 0, "originalSale": 500000, "sale": -90000, "material": -88000, "laborAndFees": 0, "unallocated": 0, "totalCost": -88000, "profit": -2000, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": -88000, "known": { "sale": -90000, "material": -88000, "laborAndFees": 0, "unallocated": 0, "totalCost": -88000, "profit": -2000, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": -88000 }, "costItems": [ { "kind": "goods", "component": "material", "name": "售后收回金料成本", "source": "商品 1 · 足金手链", "amount": -88000, "payer": "assistant2", "nonCash": true, "materialPoolId": "2026-11-19", "calculation": null } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "按售后发生日调整;回收成本不属于新付款", "balance": 0, "revision": 1, "reviewed_revision": 1 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119010", "date": "2026-11-19", "created": "2026-11-19T02:01:28.000Z", "price_lock_id": "", "customer": "对照锁价客户(改)", "salesperson": "娜娜", "status": "delivered", "note": "锁价备注;锁价单 SJ20261118-;按原锁定金价 900.00元/克结算", "types": [ "货盘现货" ], "mg": 3100, "summaryMg": 3100, "pieces": 0, "originalSale": 286200, "sale": 286200, "material": 264000, "laborAndFees": 3600, "unallocated": 0, "totalCost": 267600, "profit": 18600, "ownerCost": 255600, "assistantCost": 12000, "assistant2Cost": 0, "known": { "sale": 286200, "material": 264000, "laborAndFees": 3600, "unallocated": 0, "totalCost": 267600, "profit": 18600, "ownerCost": 255600, "assistantCost": 12000, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 原锁价采购", "amount": 255000, "payer": "owner", "excluded": false, "priceLockSource": "original", "calculation": { "rate": 85000, "quantity": 3000 } }, { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 补重采购", "amount": 9000, "payer": "assistant", "excluded": false, "priceLockSource": "extra", "calculation": { "rate": 90000, "quantity": 100 } }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "实际快递", "source": "2026-11-19", "amount": 600, "payer": "owner", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "实际快递", "source": "2026-11-19", "amount": 600, "payer": "owner", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 3, "reviewed_revision": 0 }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119011", "date": "2026-11-19", "created": "2026-11-19T02:01:32.000Z", "recovery_id": "", "recovery_mode": "exchange", "nonCashOffset": 0, "cashPaid": 0, "netSettlement": 432792, "recovery_immutable_reason": "本单关联黄金回收/置换、购料及库存,暂不支持普通订单修改、取消、退款、退货或费用变更,请保留原关联记录", "customer": "对照换货客户", "salesperson": "小昊", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 12000, "summaryMg": 12000, "pieces": 0, "originalSale": 432792, "sale": 432792, "material": 360720, "laborAndFees": 6000, "unallocated": 0, "totalCost": 366720, "profit": 66072, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 366720, "known": { "sale": 432792, "material": 360720, "laborAndFees": 6000, "unallocated": 0, "totalCost": 366720, "profit": 66072, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 366720 }, "costItems": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金对照新货", "amount": 360720, "payer": "assistant2", "excluded": false, "calculation": { "rate": 90000, "quantity": 4008 }, "component": "material" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 6000, "payer": "assistant2", "excluded": false, "calculation": { "rate": 500, "quantity": 12000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 6000, "payer": "assistant2", "excluded": false, "calculation": { "rate": 500, "quantity": 12000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 4, "reviewed_revision": 0 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119012", "date": "2026-11-19", "created": "2026-11-19T02:01:33.000Z", "recovery_id": "", "recovery_mode": "exchange", "nonCashOffset": 0, "cashPaid": 0, "netSettlement": 130800, "recovery_immutable_reason": "本单关联黄金回收/置换、购料及库存,暂不支持普通订单修改、取消、退款、退货或费用变更,请保留原关联记录", "customer": "对照换货客户二", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 6000, "summaryMg": 6000, "pieces": 0, "originalSale": 130800, "sale": 130800, "material": 103410, "laborAndFees": 3000, "unallocated": 0, "totalCost": 106410, "profit": 24390, "ownerCost": 0, "assistantCost": 106410, "assistant2Cost": 0, "known": { "sale": 130800, "material": 103410, "laborAndFees": 3000, "unallocated": 0, "totalCost": 106410, "profit": 24390, "ownerCost": 0, "assistantCost": 106410, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金对照新货", "amount": 103410, "payer": "assistant", "excluded": false, "calculation": { "rate": 90000, "quantity": 1149 }, "component": "material" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": { "rate": 500, "quantity": 6000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": { "rate": 500, "quantity": 6000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 4, "reviewed_revision": 0 }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119013", "date": "2026-11-19", "created": "2026-11-19T02:01:48.000Z", "customer": "当天客户(改)", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 2000, "summaryMg": 2000, "pieces": 0, "originalSale": 210000, "sale": 210000, "material": null, "laborAndFees": null, "unallocated": 180000, "totalCost": 180800, "profit": 29200, "ownerCost": 0, "assistantCost": 180800, "assistant2Cost": 0, "known": { "sale": 210000, "material": 0, "laborAndFees": 800, "unallocated": 180000, "totalCost": 180800, "profit": 29200, "ownerCost": 0, "assistantCost": 180800, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金吊坠", "amount": 180000, "payer": "assistant", "excluded": false, "calculation": null, "component": "unallocated" }, { "kind": "paid", "name": "当天快递", "source": "2026-11-19", "amount": 800, "payer": "assistant", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "paid", "name": "当天快递", "source": "2026-11-19", "amount": 800, "payer": "assistant", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 7, "reviewed_revision": 0 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119014", "date": "2026-11-19", "created": "2026-11-19T02:01:57.000Z", "cancellationApproved": { "id": "", "status": "approved", "order_revision": 4, "reason": "当天录错", "requester_name": "助理", "created": "2026-11-19T02:01:59.000Z", "reviewer_name": null, "reviewed": null, "note": "", "direct": true, "operator_name": "助理", "executedAt": "2026-11-19T02:01:59.000Z" }, "customer": "当天取消客户", "salesperson": "娜娜", "status": "cancelled", "note": "", "types": [ "货盘现货" ], "mg": 2000, "summaryMg": 2000, "pieces": 0, "originalSale": 210000, "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0, "known": { "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0 }, "costItems": [], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "录错作废已获麦麦批准,本单销售、成本与收款记账已撤销,原单和审批记录保留", "balance": 0, "revision": 5, "reviewed_revision": 0 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119015", "date": "2026-11-19", "created": "2026-11-19T02:02:40.000Z", "materialPoolIds": [ "2026-11-19" ], "materialCostPending": false, "customer": "滚动料池客户", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "配货" ], "mg": 2000, "summaryMg": 2000, "pieces": 0, "originalSale": 220000, "sale": 220000, "material": 181898, "laborAndFees": 0, "unallocated": 0, "totalCost": 181898, "profit": 38102, "ownerCost": 0, "assistantCost": 181898, "assistant2Cost": 0, "known": { "sale": 220000, "material": 181898, "laborAndFees": 0, "unallocated": 0, "totalCost": 181898, "profit": 38102, "ownerCost": 0, "assistantCost": 181898, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 2026-11-19日购料", "amount": 181898, "payer": "assistant", "excluded": false, "materialPoolId": "2026-11-19", "materialPoolRevision": "2e1d58e4d359165036a53976f4ed30c7052bb21df8bd2eb46c6544546a2e818b", "calculation": { "rate": 90949, "quantity": 2000, "weighted": true } }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 4, "reviewed_revision": 0 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119016", "date": "2026-11-19", "created": "2026-11-19T02:02:51.000Z", "customer": "安全测试", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 500, "summaryMg": 500, "pieces": 0, "originalSale": 50000, "sale": 50000, "material": null, "laborAndFees": null, "unallocated": 42000, "totalCost": 42000, "profit": 8000, "ownerCost": 0, "assistantCost": 42000, "assistant2Cost": 0, "known": { "sale": 50000, "material": 0, "laborAndFees": 0, "unallocated": 42000, "totalCost": 42000, "profit": 8000, "ownerCost": 0, "assistantCost": 42000, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金转运珠", "amount": 42000, "payer": "assistant", "excluded": false, "calculation": null, "component": "unallocated" } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 4, "reviewed_revision": 0 } ], "payerCosts": { "assistant": { "payer": "assistant", "name": "娜娜", "goods": 800410, "paidFees": 800, "total": 801210, "missingCount": 0, "pendingCount": 0, "items": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金对照新货", "amount": 103410, "payer": "assistant", "excluded": false, "calculation": { "rate": 90000, "quantity": 1149 }, "component": "material", "order_id": "", "number": "MM20261119-", "paper_number": "20261119012", "date": "2026-11-19", "customer": "对照换货客户二", "status": "recorded" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": { "rate": 500, "quantity": 6000 }, "component": "labor", "order_id": "", "number": "MM20261119-", "paper_number": "20261119012", "date": "2026-11-19", "customer": "对照换货客户二", "status": "recorded" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories", "order_id": "", "number": "MM20261119-", "paper_number": "20261119012", "date": "2026-11-19", "customer": "对照换货客户二", "status": "recorded" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other", "order_id": "", "number": "MM20261119-", "paper_number": "20261119012", "date": "2026-11-19", "customer": "对照换货客户二", "status": "recorded" }, { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金吊坠", "amount": 180000, "payer": "assistant", "excluded": false, "calculation": null, "component": "unallocated", "order_id": "", "number": "MM20261119-", "paper_number": "20261119013", "date": "2026-11-19", "customer": "当天客户(改)", "status": "recorded" }, { "kind": "paid", "name": "当天快递", "source": "整单费用 · 实付 2026-11-19", "amount": 800, "payer": "assistant", "component": "fee", "order_id": "", "number": "MM20261119-", "paper_number": "20261119013", "date": "2026-11-19", "customer": "当天客户(改)", "status": "recorded", "calculation": null, "paidDate": "2026-11-19" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor", "order_id": "", "number": "MM20261119-", "paper_number": "20261119015", "date": "2026-11-19", "customer": "滚动料池客户", "status": "recorded" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories", "order_id": "", "number": "MM20261119-", "paper_number": "20261119015", "date": "2026-11-19", "customer": "滚动料池客户", "status": "recorded" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other", "order_id": "", "number": "MM20261119-", "paper_number": "20261119015", "date": "2026-11-19", "customer": "滚动料池客户", "status": "recorded" }, { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金转运珠", "amount": 42000, "payer": "assistant", "excluded": false, "calculation": null, "component": "unallocated", "order_id": "", "number": "MM20261119-", "paper_number": "20261119016", "date": "2026-11-19", "customer": "安全测试", "status": "recorded" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": null, "id": "price-lock-goods::0", "price_lock_id": "", "order_id": "", "number": "MM20261119-", "paper_number": "20261119010", "customer": "对照锁价客户(改)", "date": "2026-11-19", "component": "labor", "status": "recorded", "actualOutlay": true }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "id": "price-lock-goods::1", "price_lock_id": "", "order_id": "", "number": "MM20261119-", "paper_number": "20261119010", "customer": "对照锁价客户(改)", "date": "2026-11-19", "component": "accessories", "status": "recorded", "actualOutlay": true }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "id": "price-lock-goods::2", "price_lock_id": "", "order_id": "", "number": "MM20261119-", "paper_number": "20261119010", "customer": "对照锁价客户(改)", "date": "2026-11-19", "component": "other", "status": "recorded", "actualOutlay": true }, { "id": "", "price_lock_id": "", "date": "2026-11-19", "kind": "goods", "amount": 9000, "payer": "assistant", "source": "锁价采购 · 实付 2026-11-19", "quantity": 100, "rate": 90000, "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-19T02:01:28.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "component": "material", "name": "补购料费", "materialSource": "extra", "paidDate": "2026-11-19", "calculation": { "rate": 90000, "quantity": 100 }, "status": "recorded", "actualOutlay": true }, { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 5000, "amount": 460000, "payer": "assistant", "note": "第二天购料", "actor": "助理", "created": "2026-11-19T02:02:19.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:19.000Z", "purchaseAmount": 460000, "kind": "goods", "component": "material", "materialPoolId": "2026-11-19", "name": "日料池采购", "source": "日料池 2026-11-19 · 实付 2026-11-19", "paidDate": "2026-11-19", "quantity": 5000, "calculation": null, "status": "recorded", "actualOutlay": true } ] }, "owner": { "payer": "owner", "name": "麦麦", "goods": 0, "paidFees": 600, "total": 600, "missingCount": 0, "pendingCount": 0, "items": [ { "id": "", "order_id": "", "date": "2026-11-19", "amount": 600, "payer": "owner", "note": "实际快递", "actor": "助理", "created": "2026-11-19T02:01:28.000Z", "price_lock_id": "", "number": "SJ20261118-", "customer": "对照锁价客户(改)", "kind": "paid", "component": "fee", "product": "足金999", "name": "实际快递", "source": "锁价费用 · 实付 2026-11-19", "paidDate": "2026-11-19", "status": "recorded", "calculation": null, "actualOutlay": true } ] }, "assistant2": { "payer": "assistant2", "name": "小昊", "goods": 736720, "paidFees": 0, "total": 736720, "missingCount": 0, "pendingCount": 0, "items": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金对照新货", "amount": 360720, "payer": "assistant2", "excluded": false, "calculation": { "rate": 90000, "quantity": 4008 }, "component": "material", "order_id": "", "number": "MM20261119-", "paper_number": "20261119011", "date": "2026-11-19", "customer": "对照换货客户", "status": "recorded" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 6000, "payer": "assistant2", "excluded": false, "calculation": { "rate": 500, "quantity": 12000 }, "component": "labor", "order_id": "", "number": "MM20261119-", "paper_number": "20261119011", "date": "2026-11-19", "customer": "对照换货客户", "status": "recorded" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories", "order_id": "", "number": "MM20261119-", "paper_number": "20261119011", "date": "2026-11-19", "customer": "对照换货客户", "status": "recorded" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other", "order_id": "", "number": "MM20261119-", "paper_number": "20261119011", "date": "2026-11-19", "customer": "对照换货客户", "status": "recorded" }, { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 4000, "amount": 370000, "payer": "assistant2", "note": "", "actor": "助理2", "created": "2026-11-19T02:02:20.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:20.000Z", "purchaseAmount": 370000, "kind": "goods", "component": "material", "materialPoolId": "2026-11-19", "name": "日料池采购", "source": "日料池 2026-11-19 · 实付 2026-11-19", "paidDate": "2026-11-19", "quantity": 4000, "calculation": null, "status": "recorded", "actualOutlay": true } ] } }, "orderPayerCosts": { "assistant": { "payer": "assistant", "name": "娜娜", "goods": 522308, "paidFees": 800, "total": 523108, "missingCount": 0, "pendingCount": 0, "items": [ { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 补重采购", "amount": 9000, "payer": "assistant", "excluded": false, "priceLockSource": "extra", "calculation": { "rate": 90000, "quantity": 100 }, "order_id": "", "number": "MM20261119-", "paper_number": "20261119010", "date": "2026-11-19", "customer": "对照锁价客户(改)", "status": "recorded" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor", "order_id": "", "number": "MM20261119-", "paper_number": "20261119010", "date": "2026-11-19", "customer": "对照锁价客户(改)", "status": "recorded" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories", "order_id": "", "number": "MM20261119-", "paper_number": "20261119010", "date": "2026-11-19", "customer": "对照锁价客户(改)", "status": "recorded" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other", "order_id": "", "number": "MM20261119-", "paper_number": "20261119010", "date": "2026-11-19", "customer": "对照锁价客户(改)", "status": "recorded" }, { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金对照新货", "amount": 103410, "payer": "assistant", "excluded": false, "calculation": { "rate": 90000, "quantity": 1149 }, "component": "material", "order_id": "", "number": "MM20261119-", "paper_number": "20261119012", "date": "2026-11-19", "customer": "对照换货客户二", "status": "recorded" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": { "rate": 500, "quantity": 6000 }, "component": "labor", "order_id": "", "number": "MM20261119-", "paper_number": "20261119012", "date": "2026-11-19", "customer": "对照换货客户二", "status": "recorded" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories", "order_id": "", "number": "MM20261119-", "paper_number": "20261119012", "date": "2026-11-19", "customer": "对照换货客户二", "status": "recorded" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other", "order_id": "", "number": "MM20261119-", "paper_number": "20261119012", "date": "2026-11-19", "customer": "对照换货客户二", "status": "recorded" }, { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金吊坠", "amount": 180000, "payer": "assistant", "excluded": false, "calculation": null, "component": "unallocated", "order_id": "", "number": "MM20261119-", "paper_number": "20261119013", "date": "2026-11-19", "customer": "当天客户(改)", "status": "recorded" }, { "kind": "paid", "name": "当天快递", "source": "整单费用 · 实付 2026-11-19", "amount": 800, "payer": "assistant", "component": "fee", "order_id": "", "number": "MM20261119-", "paper_number": "20261119013", "date": "2026-11-19", "customer": "当天客户(改)", "status": "recorded", "calculation": null, "paidDate": "2026-11-19" }, { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 2026-11-19日购料", "amount": 181898, "payer": "assistant", "excluded": false, "materialPoolId": "2026-11-19", "materialPoolRevision": "2e1d58e4d359165036a53976f4ed30c7052bb21df8bd2eb46c6544546a2e818b", "calculation": { "rate": 90949, "quantity": 2000, "weighted": true }, "order_id": "", "number": "MM20261119-", "paper_number": "20261119015", "date": "2026-11-19", "customer": "滚动料池客户", "status": "recorded" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor", "order_id": "", "number": "MM20261119-", "paper_number": "20261119015", "date": "2026-11-19", "customer": "滚动料池客户", "status": "recorded" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories", "order_id": "", "number": "MM20261119-", "paper_number": "20261119015", "date": "2026-11-19", "customer": "滚动料池客户", "status": "recorded" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other", "order_id": "", "number": "MM20261119-", "paper_number": "20261119015", "date": "2026-11-19", "customer": "滚动料池客户", "status": "recorded" }, { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金转运珠", "amount": 42000, "payer": "assistant", "excluded": false, "calculation": null, "component": "unallocated", "order_id": "", "number": "MM20261119-", "paper_number": "20261119016", "date": "2026-11-19", "customer": "安全测试", "status": "recorded" } ] }, "owner": { "payer": "owner", "name": "麦麦", "goods": 255000, "paidFees": 600, "total": 255600, "missingCount": 0, "pendingCount": 0, "items": [ { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 原锁价采购", "amount": 255000, "payer": "owner", "excluded": false, "priceLockSource": "original", "calculation": { "rate": 85000, "quantity": 3000 }, "order_id": "", "number": "MM20261119-", "paper_number": "20261119010", "date": "2026-11-19", "customer": "对照锁价客户(改)", "status": "recorded" }, { "kind": "paid", "name": "实际快递", "source": "整单费用 · 实付 2026-11-19", "amount": 600, "payer": "owner", "component": "fee", "order_id": "", "number": "MM20261119-", "paper_number": "20261119010", "date": "2026-11-19", "customer": "对照锁价客户(改)", "status": "recorded", "calculation": null, "paidDate": "2026-11-19" } ] }, "assistant2": { "payer": "assistant2", "name": "小昊", "goods": 278720, "paidFees": 0, "total": 278720, "missingCount": 0, "pendingCount": 0, "items": [ { "kind": "goods", "component": "material", "name": "售后收回金料成本", "source": "商品 1 · 足金手链", "amount": -88000, "payer": "assistant2", "nonCash": true, "materialPoolId": "2026-11-19", "calculation": null, "order_id": "", "orderAfterSale": true, "number": "MM20261118-", "paper_number": "20261118007", "date": "2026-11-19", "customer": "对照售后订单客户", "status": "recorded" }, { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金对照新货", "amount": 360720, "payer": "assistant2", "excluded": false, "calculation": { "rate": 90000, "quantity": 4008 }, "component": "material", "order_id": "", "number": "MM20261119-", "paper_number": "20261119011", "date": "2026-11-19", "customer": "对照换货客户", "status": "recorded" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 6000, "payer": "assistant2", "excluded": false, "calculation": { "rate": 500, "quantity": 12000 }, "component": "labor", "order_id": "", "number": "MM20261119-", "paper_number": "20261119011", "date": "2026-11-19", "customer": "对照换货客户", "status": "recorded" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories", "order_id": "", "number": "MM20261119-", "paper_number": "20261119011", "date": "2026-11-19", "customer": "对照换货客户", "status": "recorded" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other", "order_id": "", "number": "MM20261119-", "paper_number": "20261119011", "date": "2026-11-19", "customer": "对照换货客户", "status": "recorded" } ] } }, "peopleCount": { "from": "2026-11-19", "date": "2026-11-19", "baselineDate": "2026-11-18", "mode": "daily-total", "assistant1": { "total": 7, "endTotal": 7, "baselineTotal": 5, "baselineDate": "2026-11-18", "netChange": 2, "netChangeReason": null, "recordedDays": 1 }, "assistant2": { "total": 4, "endTotal": 4, "baselineTotal": 3, "baselineDate": "2026-11-18", "netChange": 1, "netChangeReason": null, "recordedDays": 1 } }, "priceLockActivity": { "basis": "eventDate", "from": "2026-11-19", "date": "2026-11-19", "customerCash": [ { "id": "", "price_lock_id": "", "date": "2026-11-19", "kind": "receipt", "amount": 16200, "account": "助理支付宝", "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-19T02:01:28.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null } ], "orderPayments": [], "materialOutlays": [ { "id": "", "price_lock_id": "", "date": "2026-11-19", "kind": "material", "amount": 9000, "payer": "assistant", "source": "extra", "quantity": 100, "rate": 90000, "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-19T02:01:28.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "component": "material" } ], "directOutlays": [ { "id": "", "order_id": "", "date": "2026-11-19", "amount": 600, "payer": "owner", "note": "实际快递", "actor": "助理", "created": "2026-11-19T02:01:28.000Z", "price_lock_id": "", "number": "SJ20261118-", "customer": "对照锁价客户(改)", "kind": "fee", "component": "fee", "product": "足金999" } ], "deliveryGoodsOutlays": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": null, "id": "price-lock-goods::0", "price_lock_id": "", "order_id": "", "number": "MM20261119-", "paper_number": "20261119010", "customer": "对照锁价客户(改)", "date": "2026-11-19", "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "id": "price-lock-goods::1", "price_lock_id": "", "order_id": "", "number": "MM20261119-", "paper_number": "20261119010", "customer": "对照锁价客户(改)", "date": "2026-11-19", "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "id": "price-lock-goods::2", "price_lock_id": "", "order_id": "", "number": "MM20261119-", "paper_number": "20261119010", "customer": "对照锁价客户(改)", "date": "2026-11-19", "component": "other" } ], "receipts": { "receipt": 16200, "refund": 0, "net": 16200, "channels": [ { "channel": "wechat", "name": "微信", "receipt": 0, "refund": 0, "net": 0 }, { "channel": "alipay", "name": "支付宝", "receipt": 16200, "refund": 0, "net": 16200 }, { "channel": "cash", "name": "现金", "receipt": 0, "refund": 0, "net": 0 } ], "accounts": [ { "account": "助理微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理支付宝", "receipt": 16200, "refund": 0, "net": 16200 }, { "account": "助理现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2现金", "receipt": 0, "refund": 0, "net": 0 } ], "paymentCount": 1, "orderCount": 1 }, "payerOutlays": { "owner": { "payer": "owner", "material": 0, "goods": 0, "paidFees": 600, "total": 600 }, "assistant": { "payer": "assistant", "material": 9000, "goods": 12000, "paidFees": 0, "total": 12000 }, "assistant2": { "payer": "assistant2", "material": 0, "goods": 0, "paidFees": 0, "total": 0 } }, "summary": { "receipt": 16200, "refund": 0, "net": 16200, "materialOutlay": 9000, "goodsOutlay": 12000, "feeOutlay": 600, "ownerOutlay": 600, "assistantOutlay": 12000, "assistant2Outlay": 0, "totalOutlay": 12600, "eventCount": 6, "lockCount": 1 } }, "outlayGoods": 1537130, "outlayExpense": 1400, "outlayTotal": 1538530, "receiptsByOrderDate": { "basis": "orderDate", "filterScope": "matchingOrders", "from": "2026-11-19", "date": "2026-11-19", "receipt": 1059792, "refund": 90000, "net": 969792, "channels": [ { "channel": "wechat", "name": "微信", "receipt": 1043592, "refund": 0, "net": 1043592 }, { "channel": "alipay", "name": "支付宝", "receipt": 16200, "refund": 90000, "net": -73800 }, { "channel": "cash", "name": "现金", "receipt": 0, "refund": 0, "net": 0 } ], "accounts": [ { "account": "助理微信", "receipt": 610800, "refund": 0, "net": 610800 }, { "account": "助理支付宝", "receipt": 16200, "refund": 0, "net": 16200 }, { "account": "助理现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2微信", "receipt": 432792, "refund": 0, "net": 432792 }, { "account": "助理2支付宝", "receipt": 0, "refund": 90000, "net": -90000 }, { "account": "助理2现金", "receipt": 0, "refund": 0, "net": 0 } ], "paymentCount": 9, "orderCount": 8 }, "totalCost": 1057428, "recipientReceipts": { "assistant": { "recipient": "assistant", "name": "娜娜", "receipt": 627000, "refund": 0, "net": 627000, "items": [ { "id": "", "date": "2026-11-19", "kind": "receipt", "amount": 130800, "account": "助理微信", "order_id": "", "price_lock_id": null, "order_date": "2026-11-19", "number": "MM20261119-", "paper_number": "20261119012", "customer": "对照换货客户二", "reference": "置换差额实际收款 · HS202611190002", "note": "", "created": "2026-11-19T02:01:33.000Z" }, { "id": "", "date": "2026-11-19", "kind": "receipt", "amount": 210000, "account": "助理微信", "order_id": "", "price_lock_id": null, "order_date": "2026-11-19", "number": "MM20261119-", "paper_number": "20261119013", "customer": "当天客户(改)", "reference": "开单时已全额收款", "note": "", "created": "2026-11-19T02:01:48.000Z" }, { "id": "", "date": "2026-11-19", "kind": "receipt", "amount": 210000, "account": "助理微信", "order_id": "", "price_lock_id": null, "order_date": "2026-11-19", "number": "MM20261119-", "paper_number": "20261119014", "customer": "当天取消客户", "reference": "开单时已全额收款", "note": "", "created": "2026-11-19T02:01:57.000Z" }, { "id": "", "date": "2026-11-19", "kind": "receipt", "amount": -210000, "account": "助理微信", "order_id": "", "price_lock_id": null, "order_date": "2026-11-19", "number": "MM20261119-", "paper_number": "20261119014", "customer": "当天取消客户", "reference": "更正冲回:取消审批作废;当天录错", "note": "", "created": "2026-11-19T02:01:59.000Z" }, { "id": "", "date": "2026-11-19", "kind": "receipt", "amount": 220000, "account": "助理微信", "order_id": "", "price_lock_id": null, "order_date": "2026-11-19", "number": "MM20261119-", "paper_number": "20261119015", "customer": "滚动料池客户", "reference": "开单时已全额收款", "note": "", "created": "2026-11-19T02:02:40.000Z" }, { "id": "", "date": "2026-11-19", "kind": "receipt", "amount": 50000, "account": "助理微信", "order_id": "", "price_lock_id": null, "order_date": "2026-11-19", "number": "MM20261119-", "paper_number": "20261119016", "customer": "安全测试", "reference": "开单时已全额收款", "note": "", "created": "2026-11-19T02:02:51.000Z" }, { "id": "", "date": "2026-11-19", "kind": "receipt", "amount": 16200, "account": "助理支付宝", "order_id": "", "price_lock_id": "", "order_date": "2026-11-19", "number": "SJ20261118-", "paper_number": "20261119010", "customer": "对照锁价客户(改)", "reference": "", "note": "锁价备注", "created": "2026-11-19T02:01:28.000Z" } ] }, "owner": { "recipient": "owner", "name": "麦麦", "receipt": 0, "refund": 0, "net": 0, "items": [] }, "assistant2": { "recipient": "assistant2", "name": "小昊", "receipt": 432792, "refund": 90000, "net": 342792, "items": [ { "id": "", "date": "2026-11-19", "kind": "receipt", "amount": 432792, "account": "助理2微信", "order_id": "", "price_lock_id": null, "order_date": "2026-11-19", "number": "MM20261119-", "paper_number": "20261119011", "customer": "对照换货客户", "reference": "置换差额实际收款 · HS202611190001", "note": "", "created": "2026-11-19T02:01:32.000Z" }, { "id": "", "date": "2026-11-19", "kind": "refund", "amount": 90000, "account": "助理2支付宝", "order_id": "", "price_lock_id": null, "order_date": "2026-11-18", "number": "MM20261118-", "paper_number": "20261118007", "customer": "对照售后订单客户", "reference": "整单售后退款", "note": "", "created": "2026-11-19T02:01:05.000Z", "order_after_sale": true } ] } }, "ownershipReceipts": { "owner": { "member": "owner", "name": "麦麦", "receipt": 0, "refund": 0, "net": 0, "accounts": [], "items": [] }, "assistant": { "member": "assistant", "name": "娜娜", "receipt": 417000, "refund": 0, "net": 417000, "accounts": [ { "account": "助理微信", "recipient": "assistant", "channel": "wechat", "receipt": 400800, "refund": 0, "net": 400800, "entryCount": 5 }, { "account": "助理支付宝", "recipient": "assistant", "channel": "alipay", "receipt": 16200, "refund": 0, "net": 16200, "entryCount": 1 } ], "items": [ { "id": "", "date": "2026-11-19", "kind": "receipt", "amount": 130800, "account": "助理微信", "order_id": "", "price_lock_id": null, "order_date": "2026-11-19", "number": "MM20261119-", "paper_number": "20261119012", "customer": "对照换货客户二", "reference": "置换差额实际收款 · HS202611190002", "note": "", "created": "2026-11-19T02:01:33.000Z" }, { "id": "", "date": "2026-11-19", "kind": "receipt", "amount": 210000, "account": "助理微信", "order_id": "", "price_lock_id": null, "order_date": "2026-11-19", "number": "MM20261119-", "paper_number": "20261119014", "customer": "当天取消客户", "reference": "开单时已全额收款", "note": "", "created": "2026-11-19T02:01:57.000Z" }, { "id": "", "date": "2026-11-19", "kind": "receipt", "amount": -210000, "account": "助理微信", "order_id": "", "price_lock_id": null, "order_date": "2026-11-19", "number": "MM20261119-", "paper_number": "20261119014", "customer": "当天取消客户", "reference": "更正冲回:取消审批作废;当天录错", "note": "", "created": "2026-11-19T02:01:59.000Z" }, { "id": "", "date": "2026-11-19", "kind": "receipt", "amount": 220000, "account": "助理微信", "order_id": "", "price_lock_id": null, "order_date": "2026-11-19", "number": "MM20261119-", "paper_number": "20261119015", "customer": "滚动料池客户", "reference": "开单时已全额收款", "note": "", "created": "2026-11-19T02:02:40.000Z" }, { "id": "", "date": "2026-11-19", "kind": "receipt", "amount": 50000, "account": "助理微信", "order_id": "", "price_lock_id": null, "order_date": "2026-11-19", "number": "MM20261119-", "paper_number": "20261119016", "customer": "安全测试", "reference": "开单时已全额收款", "note": "", "created": "2026-11-19T02:02:51.000Z" }, { "id": "", "date": "2026-11-19", "kind": "receipt", "amount": 16200, "account": "助理支付宝", "order_id": "", "price_lock_id": "", "order_date": "2026-11-19", "number": "SJ20261118-", "paper_number": "20261119010", "customer": "对照锁价客户(改)", "reference": "", "note": "锁价备注", "created": "2026-11-19T02:01:28.000Z" } ] }, "assistant2": { "member": "assistant2", "name": "小昊", "receipt": 642792, "refund": 90000, "net": 552792, "accounts": [ { "account": "助理微信", "recipient": "assistant", "channel": "wechat", "receipt": 210000, "refund": 0, "net": 210000, "entryCount": 1 }, { "account": "助理2微信", "recipient": "assistant2", "channel": "wechat", "receipt": 432792, "refund": 0, "net": 432792, "entryCount": 1 }, { "account": "助理2支付宝", "recipient": "assistant2", "channel": "alipay", "receipt": 0, "refund": 90000, "net": -90000, "entryCount": 1 } ], "items": [ { "id": "", "date": "2026-11-19", "kind": "receipt", "amount": 210000, "account": "助理微信", "order_id": "", "price_lock_id": null, "order_date": "2026-11-19", "number": "MM20261119-", "paper_number": "20261119013", "customer": "当天客户(改)", "reference": "开单时已全额收款", "note": "", "created": "2026-11-19T02:01:48.000Z" }, { "id": "", "date": "2026-11-19", "kind": "receipt", "amount": 432792, "account": "助理2微信", "order_id": "", "price_lock_id": null, "order_date": "2026-11-19", "number": "MM20261119-", "paper_number": "20261119011", "customer": "对照换货客户", "reference": "置换差额实际收款 · HS202611190001", "note": "", "created": "2026-11-19T02:01:32.000Z" }, { "id": "", "date": "2026-11-19", "kind": "refund", "amount": 90000, "account": "助理2支付宝", "order_id": "", "price_lock_id": null, "order_date": "2026-11-18", "number": "MM20261118-", "paper_number": "20261118007", "customer": "对照售后订单客户", "reference": "整单售后退款", "note": "", "created": "2026-11-19T02:01:05.000Z", "order_after_sale": true } ] } }, "ownershipBusiness": { "owner": { "member": "owner", "name": "麦麦", "basis": "orderDate", "from": "2026-11-19", "date": "2026-11-19", "recordCount": 0, "orderCount": 0, "afterSaleCount": 0, "draftCount": 0, "sales": 0, "netReceipts": 0, "totalCost": 0, "knownTotalCost": 0, "selfCost": 0, "knownSelfCost": 0, "otherCost": 0, "knownOtherCost": 0, "profit": 0, "knownProfit": 0, "incomplete": false, "missingCostCount": 0, "pendingCostCount": 0, "unknownProfitCount": 0, "costByPayer": { "owner": { "member": "owner", "name": "麦麦", "totalCost": 0, "knownTotalCost": 0, "missingCount": 0, "pendingCount": 0 }, "assistant": { "member": "assistant", "name": "娜娜", "totalCost": 0, "knownTotalCost": 0, "missingCount": 0, "pendingCount": 0 }, "assistant2": { "member": "assistant2", "name": "小昊", "totalCost": 0, "knownTotalCost": 0, "missingCount": 0, "pendingCount": 0 } }, "poolMaterial": { "mg": 0, "amount": 0, "knownAmount": 0, "missingCount": 0, "byPayer": { "owner": { "amount": 0, "knownAmount": 0 }, "assistant": { "amount": 0, "knownAmount": 0 }, "assistant2": { "amount": 0, "knownAmount": 0 } }, "hasPriceLocks": false, "days": [], "otherCosts": { "knownAmount": 0, "amount": 0 } }, "ownerAdvances": { "basis": "orderDate", "from": "2026-11-19", "date": "2026-11-19", "days": [] }, "currentAccount": { "basis": "orderDate", "from": "2026-11-19", "date": "2026-11-19", "days": [] }, "difference": { "amount": 0, "reconciled": true, "reasons": [] }, "equation": { "basis": "netReceipts", "revenue": 0, "totalCost": 0, "profit": 0, "complete": true }, "settlement": { "available": true, "basis": "cumulative-through-date", "from": "2026-11-19", "date": "2026-11-19", "dueOut": 0, "dueIn": 637681, "partial": false, "pendingCount": 0, "legacyCount": 0, "notice": "截至所选日的累计往来,已抵扣实际转账与代收;逐人核对,不将他人付款成本直接当作应转。", "counterparts": [ { "member": "assistant", "name": "娜娜", "dueOut": 0, "dueIn": 637681, "openingDue": -647081, "periodNew": -600, "periodTransferred": -10000, "closingDue": -637681, "offset": 290650, "period": { "obligationNet": -600, "transferred": -10000, "receivedForNet": 0, "advancedNet": -600 } }, { "member": "assistant2", "name": "小昊", "dueOut": 0, "dueIn": 0, "openingDue": 0, "periodNew": 0, "periodTransferred": 0, "closingDue": 0, "offset": 0, "period": { "obligationNet": 0, "transferred": 0, "receivedForNet": 0, "advancedNet": 0 } } ] }, "hasActivity": true }, "assistant": { "member": "assistant", "name": "娜娜", "basis": "orderDate", "from": "2026-11-19", "date": "2026-11-19", "recordCount": 5, "orderCount": 5, "afterSaleCount": 0, "draftCount": 0, "sales": 687000, "netReceipts": 417000, "totalCost": 597908, "knownTotalCost": 597908, "selfCost": 342308, "knownSelfCost": 342308, "otherCost": 255600, "knownOtherCost": 255600, "profit": 89092, "knownProfit": 89092, "incomplete": false, "missingCostCount": 0, "pendingCostCount": 0, "unknownProfitCount": 0, "costByPayer": { "owner": { "member": "owner", "name": "麦麦", "totalCost": 255600, "knownTotalCost": 255600, "missingCount": 0, "pendingCount": 0 }, "assistant": { "member": "assistant", "name": "娜娜", "totalCost": 342308, "knownTotalCost": 342308, "missingCount": 0, "pendingCount": 0 }, "assistant2": { "member": "assistant2", "name": "小昊", "totalCost": 0, "knownTotalCost": 0, "missingCount": 0, "pendingCount": 0 } }, "poolMaterial": { "mg": 2000, "amount": 181898, "knownAmount": 181898, "missingCount": 0, "byPayer": { "owner": { "amount": 0, "knownAmount": 0 }, "assistant": { "amount": 181898, "knownAmount": 181898 }, "assistant2": { "amount": 0, "knownAmount": 0 } }, "hasPriceLocks": false, "days": [ { "mg": 2000, "amount": 181898, "knownAmount": 181898, "missingCount": 0, "byPayer": { "owner": { "amount": 0, "knownAmount": 0 }, "assistant": { "amount": 181898, "knownAmount": 181898 }, "assistant2": { "amount": 0, "knownAmount": 0 } }, "poolId": "2026-11-19", "date": "2026-11-19", "averageRate": 90949, "sources": [ { "kind": "public", "member": null, "priceLocked": false, "mg": 2000, "averageRate": 90949, "amount": 181898, "knownAmount": 181898, "missingCount": 0 } ] } ], "otherCosts": { "knownAmount": 416010, "amount": 416010 } }, "ownerAdvances": { "basis": "orderDate", "from": "2026-11-19", "date": "2026-11-19", "days": [ { "date": "2026-11-19", "items": [ { "date": "2026-11-19", "kind": "order", "id": "", "number": "MM20261119-", "paperNumber": "20261119010", "customer": "对照锁价客户(改)", "name": "料费成本", "source": "商品 1 · 足金999 · 原锁价采购", "component": "material", "poolId": null, "poolMaterial": false, "allocationPending": false, "amount": 255000, "estimatedAmount": null, "status": "recorded" }, { "date": "2026-11-19", "kind": "order", "id": "", "number": "MM20261119-", "paperNumber": "20261119010", "customer": "对照锁价客户(改)", "name": "实际快递", "source": "2026-11-19", "component": "fee", "poolId": null, "poolMaterial": false, "allocationPending": false, "amount": 600, "estimatedAmount": null, "status": "recorded" } ], "knownAmount": 255600, "amount": 255600, "missingCount": 0, "pendingCount": 0, "poolAmount": 0, "knownPoolAmount": 0, "otherAmount": 255600, "knownOtherAmount": 255600 } ] }, "currentAccount": { "basis": "orderDate", "from": "2026-11-19", "date": "2026-11-19", "days": [ { "date": "2026-11-19", "recordCount": 5, "knownMaterialCost": 255000, "knownOtherCost": 600, "knownProfit": 89092, "ownerNetReceipts": 0, "missingCostCount": 0, "pendingCostCount": 0, "unknownProfitCount": 0, "incomplete": false, "materialCost": 255000, "otherCost": 600, "profit": 89092, "knownAmount": 344692, "amount": 344692 } ] }, "difference": { "amount": -270000, "reconciled": false, "reasons": [ { "code": "price_lock_timing", "text": "锁价定金、尾款与退款按实际发生日核对,销售与利润按成交单日期核算。" }, { "code": "refund_or_cancellation", "text": "退货或作废已按原账冲回销售;尚未退清的客户款或不同日期的退款不作为销售利润。" } ] }, "equation": { "basis": "sales", "revenue": 687000, "totalCost": 597908, "profit": 89092, "complete": true }, "settlement": { "available": true, "basis": "cumulative-through-date", "from": "2026-11-19", "date": "2026-11-19", "dueOut": 678881, "dueIn": 0, "partial": false, "pendingCount": 0, "legacyCount": 0, "notice": "截至所选日的累计往来,已抵扣实际转账与代收;逐人核对,不将他人付款成本直接当作应转。", "counterparts": [ { "member": "owner", "name": "麦麦", "dueOut": 637681, "dueIn": 0, "openingDue": 647081, "periodNew": 600, "periodTransferred": 10000, "closingDue": 637681, "offset": 290650, "period": { "obligationNet": 600, "transferred": 10000, "receivedForNet": 0, "advancedNet": 600 } }, { "member": "assistant2", "name": "小昊", "dueOut": 41200, "dueIn": 0, "openingDue": 12000, "periodNew": 29200, "periodTransferred": 0, "closingDue": 41200, "offset": 250800, "period": { "obligationNet": 29200, "transferred": 0, "receivedForNet": 210000, "advancedNet": -180800 } } ] }, "hasActivity": true }, "assistant2": { "member": "assistant2", "name": "小昊", "basis": "orderDate", "from": "2026-11-19", "date": "2026-11-19", "recordCount": 3, "orderCount": 2, "afterSaleCount": 1, "draftCount": 0, "sales": 552792, "netReceipts": 552792, "totalCost": 459520, "knownTotalCost": 459520, "selfCost": 278720, "knownSelfCost": 278720, "otherCost": 180800, "knownOtherCost": 180800, "profit": 93272, "knownProfit": 93272, "incomplete": false, "missingCostCount": 0, "pendingCostCount": 0, "unknownProfitCount": 0, "costByPayer": { "owner": { "member": "owner", "name": "麦麦", "totalCost": 0, "knownTotalCost": 0, "missingCount": 0, "pendingCount": 0 }, "assistant": { "member": "assistant", "name": "娜娜", "totalCost": 180800, "knownTotalCost": 180800, "missingCount": 0, "pendingCount": 0 }, "assistant2": { "member": "assistant2", "name": "小昊", "totalCost": 278720, "knownTotalCost": 278720, "missingCount": 0, "pendingCount": 0 } }, "poolMaterial": { "mg": 0, "amount": 0, "knownAmount": 0, "missingCount": 0, "byPayer": { "owner": { "amount": 0, "knownAmount": 0 }, "assistant": { "amount": 0, "knownAmount": 0 }, "assistant2": { "amount": 0, "knownAmount": 0 } }, "hasPriceLocks": false, "days": [], "otherCosts": { "knownAmount": 459520, "amount": 459520 } }, "ownerAdvances": { "basis": "orderDate", "from": "2026-11-19", "date": "2026-11-19", "days": [] }, "currentAccount": { "basis": "orderDate", "from": "2026-11-19", "date": "2026-11-19", "days": [ { "date": "2026-11-19", "recordCount": 3, "knownMaterialCost": 0, "knownOtherCost": 0, "knownProfit": 93272, "ownerNetReceipts": 0, "missingCostCount": 0, "pendingCostCount": 0, "unknownProfitCount": 0, "incomplete": false, "materialCost": 0, "otherCost": 0, "profit": 93272, "knownAmount": 93272, "amount": 93272 } ] }, "difference": { "amount": 0, "reconciled": true, "reasons": [] }, "equation": { "basis": "netReceipts", "revenue": 552792, "totalCost": 459520, "profit": 93272, "complete": true }, "settlement": { "available": true, "basis": "cumulative-through-date", "from": "2026-11-19", "date": "2026-11-19", "dueOut": 0, "dueIn": 41200, "partial": false, "pendingCount": 0, "legacyCount": 0, "notice": "截至所选日的累计往来,已抵扣实际转账与代收;逐人核对,不将他人付款成本直接当作应转。", "counterparts": [ { "member": "owner", "name": "麦麦", "dueOut": 0, "dueIn": 0, "openingDue": 0, "periodNew": 0, "periodTransferred": 0, "closingDue": 0, "offset": 0, "period": { "obligationNet": 0, "transferred": 0, "receivedForNet": 0, "advancedNet": 0 } }, { "member": "assistant", "name": "娜娜", "dueOut": 0, "dueIn": 41200, "openingDue": -12000, "periodNew": -29200, "periodTransferred": 0, "closingDue": -41200, "offset": 250800, "period": { "obligationNet": -29200, "transferred": 0, "receivedForNet": -210000, "advancedNet": 180800 } } ] }, "hasActivity": true } }, "dailyProfits": { "basis": "orderDate", "from": "2026-11-19", "date": "2026-11-19", "rows": [ { "recordCount": 5, "orderCount": 5, "afterSaleCount": 0, "draftCount": 0, "sales": 687000, "knownTotalCost": 597908, "knownProfit": 89092, "unknownCostCount": 0, "unknownProfitCount": 0, "incomplete": false, "date": "2026-11-19", "member": "assistant", "name": "娜娜", "totalCost": 597908, "profit": 89092 }, { "recordCount": 3, "orderCount": 2, "afterSaleCount": 1, "draftCount": 0, "sales": 552792, "knownTotalCost": 459520, "knownProfit": 93272, "unknownCostCount": 0, "unknownProfitCount": 0, "incomplete": false, "date": "2026-11-19", "member": "assistant2", "name": "小昊", "totalCost": 459520, "profit": 93272 } ], "summary": { "recordCount": 8, "orderCount": 7, "afterSaleCount": 1, "draftCount": 0, "sales": 1239792, "knownTotalCost": 1057428, "knownProfit": 182364, "unknownCostCount": 0, "unknownProfitCount": 0, "incomplete": false, "totalCost": 1057428, "profit": 182364 } }, "dailyFunds": { "date": "2026-11-19", "from": "2026-11-19", "team": { "from": "2026-11-19", "to": "2026-11-19", "date": "2026-11-19", "members": [ { "id": "owner", "name": "麦麦" }, { "id": "assistant", "name": "娜娜" }, { "id": "assistant2", "name": "小昊" } ], "balances": [ { "member": "owner", "receipts": 0, "refunds": 0, "outlays": 600, "transferIn": 10000, "transferOut": 0, "openingChange": -2341031, "periodChange": 9400, "cumulativeChange": -2331631, "cashBalance": 9400, "balanceType": "recorded-change", "notice": "仅三人新账已登记的资金增减,不含真实期初余额" }, { "member": "assistant", "receipts": 627000, "refunds": 0, "outlays": 802210, "transferIn": 0, "transferOut": 10000, "openingChange": 44600, "periodChange": -185210, "cumulativeChange": -140610, "cashBalance": -185210, "balanceType": "recorded-change", "notice": "仅三人新账已登记的资金增减,不含真实期初余额" }, { "member": "assistant2", "receipts": 432792, "refunds": 90000, "outlays": 736720, "transferIn": 0, "transferOut": 0, "openingChange": -123837, "periodChange": -393928, "cumulativeChange": -517765, "cashBalance": -393928, "balanceType": "recorded-change", "notice": "仅三人新账已登记的资金增减,不含真实期初余额" } ], "pairs": [ { "id": "owner:assistant", "members": [ "owner", "assistant" ], "net": -637681, "obligationNet": -657681, "transferred": -20000, "receivedForNet": 288500, "advancedNet": -946181, "offset": 290650, "due": 637681, "fromMember": "assistant", "toMember": "owner", "direction": "transfer", "period": { "obligationNet": -600, "transferred": -10000, "receivedForNet": 0, "advancedNet": -600 }, "entries": [ { "id": "", "date": "2026-11-19", "kind": "advance", "project": "订单实际费用", "fromMember": "assistant", "toMember": "owner", "amount": 600, "revision": 1, "sourceKind": "order", "sourceId": "" } ] }, { "id": "owner:assistant2", "members": [ "owner", "assistant2" ], "net": 0, "obligationNet": 0, "transferred": 0, "receivedForNet": 0, "advancedNet": 0, "offset": 0, "due": 0, "fromMember": null, "toMember": null, "direction": "none", "period": { "obligationNet": 0, "transferred": 0, "receivedForNet": 0, "advancedNet": 0 }, "entries": [] }, { "id": "assistant:assistant2", "members": [ "assistant", "assistant2" ], "net": 41200, "obligationNet": 41200, "transferred": 0, "receivedForNet": 292000, "advancedNet": -250800, "offset": 250800, "due": 41200, "fromMember": "assistant", "toMember": "assistant2", "direction": "transfer", "period": { "obligationNet": 29200, "transferred": 0, "receivedForNet": 210000, "advancedNet": -180800 }, "entries": [ { "id": "", "date": "2026-11-19", "kind": "receipt", "project": "客户款代收", "fromMember": "assistant", "toMember": "assistant2", "amount": 210000, "revision": 3, "sourceKind": "order", "sourceId": "" }, { "id": "", "date": "2026-11-19", "kind": "advance", "project": "订单实际费用", "fromMember": "assistant2", "toMember": "assistant", "amount": 800, "revision": 3, "sourceKind": "order", "sourceId": "" }, { "id": "", "date": "2026-11-19", "kind": "advance", "project": "商品实际垫付", "fromMember": "assistant2", "toMember": "assistant", "amount": 180000, "revision": 3, "sourceKind": "order", "sourceId": "" } ] } ], "entries": [ { "id": "", "date": "2026-11-19", "kind": "advance", "project": "订单实际费用", "fromMember": "assistant", "toMember": "owner", "amount": 600, "revision": 1, "sourceKind": "order", "sourceId": "" }, { "id": "", "date": "2026-11-19", "kind": "receipt", "project": "客户款代收", "fromMember": "assistant", "toMember": "assistant2", "amount": 210000, "revision": 3, "sourceKind": "order", "sourceId": "" }, { "id": "", "date": "2026-11-19", "kind": "advance", "project": "订单实际费用", "fromMember": "assistant2", "toMember": "assistant", "amount": 800, "revision": 3, "sourceKind": "order", "sourceId": "" }, { "id": "", "date": "2026-11-19", "kind": "advance", "project": "商品实际垫付", "fromMember": "assistant2", "toMember": "assistant", "amount": 180000, "revision": 3, "sourceKind": "order", "sourceId": "" } ], "transfers": [ { "id": "", "date": "2026-11-19", "fromMember": "assistant", "toMember": "owner", "amount": 10000, "note": "对照转账二", "actor": "麦麦" } ], "revision": "91d8e840360bd6750d7d9078c202052d4754bf75b4d2400dcc33adc06ef7598e", "pending": [], "legacyReadOnly": true, "cutover": "仅已启用的三人新账事件;旧结算不自动迁入", "transfersDeducted": true }, "readOnly": false, "hasRecords": true, "pendingCount": 0, "legacyReadOnly": true, "transfersNotDeducted": false, "reimbursements": [], "approvedReimbursements": 0, "ready": true, "transferAmount": null, "direction": null, "sources": { "revision": "91d8e840360bd6750d7d9078c202052d4754bf75b4d2400dcc33adc06ef7598e", "total": 0, "items": [] }, "confirmation": null, "actualOutlay": null, "missingDates": [], "staleDates": [], "days": [] }, "reportRevision": "fa73de27deceb492d63cf1d58c3eba7bf0d1089f22a851135fe95a461efa7504" } }, { "seq": 415, "label": "report-range-owner", "date": "2026-11-19", "actor": "owner", "method": "GET", "path": "/api/report?from=2026-11-18&date=2026-11-19&basis=orderDate", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "date": "2026-11-19", "from": "2026-11-18", "sales": 4358555, "goods": 3721163, "knownGoods": 3721163, "expense": 8081, "profit": 629311, "knownProfit": 629311, "materialCostPending": false, "pendingMaterialCount": 0, "materialPoolActivity": { "basis": "purchaseDate", "from": "2026-11-18", "date": "2026-11-19", "purchases": [ { "id": "", "pool_id": "2026-11-18", "date": "2026-11-18", "mg": 11000, "amount": 990000, "payer": "assistant", "note": "核对凭据", "actor": "助理", "created": "2026-11-18T02:01:09.000Z", "revision": 2, "deleted_at": "", "updated": "2026-11-19T02:02:27.000Z" }, { "id": "", "pool_id": "2026-11-18", "date": "2026-11-18", "mg": 20000, "amount": 1820000, "payer": "owner", "note": "麦麦购料", "actor": "麦麦", "created": "2026-11-18T02:01:10.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-18T02:01:10.000Z" }, { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 5000, "amount": 460000, "payer": "assistant", "note": "第二天购料", "actor": "助理", "created": "2026-11-19T02:02:19.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:19.000Z" }, { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 4000, "amount": 370000, "payer": "assistant2", "note": "", "actor": "助理2", "created": "2026-11-19T02:02:20.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:20.000Z" } ], "payerOutlays": { "owner": { "payer": "owner", "material": 1820000, "goods": 1820000, "paidFees": 0, "total": 1820000, "purchaseCount": 1 }, "assistant": { "payer": "assistant", "material": 1450000, "goods": 1450000, "paidFees": 0, "total": 1450000, "purchaseCount": 2 }, "assistant2": { "payer": "assistant2", "material": 370000, "goods": 370000, "paidFees": 0, "total": 370000, "purchaseCount": 1 } }, "summary": { "purchaseCount": 4, "poolCount": 2, "mg": 40000, "materialOutlay": 3640000, "purchaseValue": 3640000, "ownerOutlay": 1820000, "assistantOutlay": 1450000, "assistant2Outlay": 370000, "totalOutlay": 3640000, "eventCount": 4 } }, "materialPoolSettlement": { "legacyReadOnly": true, "settlementDue": 0, "knownSettlementDue": 0, "pendingCount": 0, "pools": [] }, "delivered": 14, "returns": 1, "accounts": [ { "account": "助理微信", "receipt": 1201900, "refund": 0, "net": 1201900 }, { "account": "助理支付宝", "receipt": 218200, "refund": 0, "net": 218200 }, { "account": "助理现金", "receipt": 330000, "refund": 0, "net": 330000 }, { "account": "麦麦微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦支付宝", "receipt": 100000, "refund": 0, "net": 100000 }, { "account": "麦麦现金", "receipt": 980000, "refund": 0, "net": 980000 }, { "account": "麦麦信用卡", "receipt": 588500, "refund": 0, "net": 588500 }, { "account": "助理2微信", "receipt": 982792, "refund": 0, "net": 982792 }, { "account": "助理2支付宝", "receipt": 217163, "refund": 90000, "net": 127163 }, { "account": "助理2现金", "receipt": 0, "refund": 0, "net": 0 } ], "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 321100, "account": "助理微信", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-18T02:01:17.000Z", "number": "MM20261118-", "paper_number": "20261118001", "order_date": "2026-11-18" }, { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 217163, "account": "助理2支付宝", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:18.000Z", "number": "MM20261118-", "paper_number": "20261118002", "order_date": "2026-11-18" }, { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 288500, "account": "麦麦信用卡", "reference": "开单时已全额收款", "actor": "麦麦", "created": "2026-11-18T02:01:19.000Z", "number": "MM20261118-", "paper_number": "20261118003", "order_date": "2026-11-18" }, { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 330000, "account": "助理现金", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-18T02:01:20.000Z", "number": "MM20261118-", "paper_number": "20261118004", "order_date": "2026-11-18" }, { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 980000, "account": "麦麦现金", "reference": "开单时已全额收款", "actor": "麦麦", "created": "2026-11-18T02:01:23.000Z", "number": "MM20261118-", "paper_number": "20261118005", "order_date": "2026-11-18" }, { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 150000, "account": "助理2现金", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:24.000Z", "number": "MM20261118-", "paper_number": "20261118006", "order_date": "2026-11-18" }, { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z", "number": "MM20261118-", "paper_number": "20261118007", "order_date": "2026-11-18" }, { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 82000, "account": "助理支付宝", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-18T02:01:26.000Z", "number": "MM20261118-", "paper_number": "20261118008", "order_date": "2026-11-18" }, { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 100000, "account": "麦麦支付宝", "reference": "定金", "actor": "麦麦", "created": "2026-11-18T02:01:31.000Z", "number": "MM20261118-", "paper_number": "20261118009", "order_date": "2026-11-18" }, { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 300000, "account": "麦麦信用卡", "reference": "尾款", "actor": "麦麦", "created": "2026-11-18T02:01:33.000Z", "number": "MM20261118-", "paper_number": "20261118009", "order_date": "2026-11-18" }, { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": -150000, "account": "助理2现金", "reference": "更正冲回:取消审批作废;重复录入", "actor": "麦麦", "created": "2026-11-19T02:00:45.000Z", "number": "MM20261118-", "paper_number": "20261118006", "order_date": "2026-11-18" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "receipt", "amount": 432792, "account": "助理2微信", "reference": "置换差额实际收款 · HS202611190001", "actor": "助理2", "created": "2026-11-19T02:01:32.000Z", "number": "MM20261119-", "paper_number": "20261119011", "order_date": "2026-11-19" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "receipt", "amount": 130800, "account": "助理微信", "reference": "置换差额实际收款 · HS202611190002", "actor": "助理", "created": "2026-11-19T02:01:33.000Z", "number": "MM20261119-", "paper_number": "20261119012", "order_date": "2026-11-19" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "receipt", "amount": 210000, "account": "助理微信", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-19T02:01:48.000Z", "number": "MM20261119-", "paper_number": "20261119013", "order_date": "2026-11-19" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "receipt", "amount": 210000, "account": "助理微信", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-19T02:01:57.000Z", "number": "MM20261119-", "paper_number": "20261119014", "order_date": "2026-11-19" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "receipt", "amount": -210000, "account": "助理微信", "reference": "更正冲回:取消审批作废;当天录错", "actor": "助理", "created": "2026-11-19T02:01:59.000Z", "number": "MM20261119-", "paper_number": "20261119014", "order_date": "2026-11-19" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "receipt", "amount": 220000, "account": "助理微信", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-19T02:02:40.000Z", "number": "MM20261119-", "paper_number": "20261119015", "order_date": "2026-11-19" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "receipt", "amount": 50000, "account": "助理微信", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-19T02:02:51.000Z", "number": "MM20261119-", "paper_number": "20261119016", "order_date": "2026-11-19" }, { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 270000, "account": "助理微信", "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:53.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null }, { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 50000, "account": "助理2微信", "number": "SJ20261118-", "customer": "对照锁价客户三", "product": "足金999", "actor": "助理2", "created": "2026-11-18T02:01:55.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null }, { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 120000, "account": "助理支付宝", "number": "SJ20261118-", "customer": "对照锁价客户二", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:02:02.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null }, { "id": "", "price_lock_id": "", "date": "2026-11-19", "kind": "receipt", "amount": 16200, "account": "助理支付宝", "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-19T02:01:28.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "refund", "amount": 90000, "account": "助理2支付宝", "reference": "整单售后退款", "actor": "麦麦", "created": "2026-11-19T02:01:05.000Z", "number": "MM20261118-", "paper_number": "20261118007", "customer": "对照售后订单客户", "order_date": "2026-11-18", "order_after_sale": true } ], "settlements": [], "journal": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "交付", "sales": 321100, "goods": 290200, "expense": 1200, "profit": 29700, "created": "2026-11-18T02:01:17.000Z", "number": "MM20261118-", "paper_number": "20261118001", "order_date": "2026-11-18" }, { "id": "", "order_id": "", "date": "2026-11-18", "kind": "交付", "sales": 217163, "goods": 183000, "expense": 0, "profit": 34163, "created": "2026-11-18T02:01:18.000Z", "number": "MM20261118-", "paper_number": "20261118002", "order_date": "2026-11-18" }, { "id": "", "order_id": "", "date": "2026-11-18", "kind": "交付", "sales": 288500, "goods": 150000, "expense": 1731, "profit": 136769, "created": "2026-11-18T02:01:19.000Z", "number": "MM20261118-", "paper_number": "20261118003", "order_date": "2026-11-18" }, { "id": "", "order_id": "", "date": "2026-11-18", "kind": "交付", "sales": 330000, "goods": 272000, "expense": 0, "profit": 58000, "created": "2026-11-18T02:01:20.000Z", "number": "MM20261118-", "paper_number": "20261118004", "order_date": "2026-11-18" }, { "id": "", "order_id": "", "date": "2026-11-18", "kind": "交付", "sales": 980000, "goods": 900000, "expense": 0, "profit": 80000, "created": "2026-11-18T02:01:23.000Z", "number": "MM20261118-", "paper_number": "20261118005", "order_date": "2026-11-18" }, { "id": "", "order_id": "", "date": "2026-11-18", "kind": "交付", "sales": 150000, "goods": 130000, "expense": 0, "profit": 20000, "created": "2026-11-18T02:01:24.000Z", "number": "MM20261118-", "paper_number": "20261118006", "order_date": "2026-11-18" }, { "id": "", "order_id": "", "date": "2026-11-18", "kind": "交付", "sales": 500000, "goods": 450000, "expense": 0, "profit": 50000, "created": "2026-11-18T02:01:25.000Z", "number": "MM20261118-", "paper_number": "20261118007", "order_date": "2026-11-18" }, { "id": "", "order_id": "", "date": "2026-11-18", "kind": "交付", "sales": 82000, "goods": 70000, "expense": 0, "profit": 12000, "created": "2026-11-18T02:01:26.000Z", "number": "MM20261118-", "paper_number": "20261118008", "order_date": "2026-11-18" }, { "id": "", "order_id": "", "date": "2026-11-18", "kind": "交付", "sales": 400000, "goods": 350000, "expense": 1800, "profit": 48200, "created": "2026-11-18T02:01:34.000Z", "number": "MM20261118-", "paper_number": "20261118009", "order_date": "2026-11-18" }, { "id": "", "order_id": "", "date": "2026-11-18", "kind": "订单录错作废冲回", "sales": -150000, "goods": -130000, "expense": 0, "profit": -20000, "created": "2026-11-19T02:00:45.000Z", "number": "MM20261118-", "paper_number": "20261118006", "order_date": "2026-11-18" }, { "id": "", "order_id": "", "date": "2026-11-18", "kind": "日购料成本调整", "sales": 0, "goods": -65, "expense": 0, "profit": 65, "created": "2026-11-19T02:02:27.000Z", "number": "MM20261118-", "paper_number": "20261118004", "order_date": "2026-11-18" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "直接费用", "sales": 0, "goods": 0, "expense": 1000, "profit": -1000, "created": "2026-11-19T02:00:37.000Z", "number": "MM20261118-", "paper_number": "20261118004", "order_date": "2026-11-18" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "交付", "sales": 286200, "goods": 267000, "expense": 600, "profit": 18600, "created": "2026-11-19T02:01:28.000Z", "number": "MM20261119-", "paper_number": "20261119010", "order_date": "2026-11-19" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "交付", "sales": 432792, "goods": 366720, "expense": 0, "profit": 66072, "created": "2026-11-19T02:01:32.000Z", "number": "MM20261119-", "paper_number": "20261119011", "order_date": "2026-11-19" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "交付", "sales": 130800, "goods": 106410, "expense": 0, "profit": 24390, "created": "2026-11-19T02:01:33.000Z", "number": "MM20261119-", "paper_number": "20261119012", "order_date": "2026-11-19" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "交付", "sales": 210000, "goods": 180000, "expense": 0, "profit": 30000, "created": "2026-11-19T02:01:48.000Z", "number": "MM20261119-", "paper_number": "20261119013", "order_date": "2026-11-19" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "直接费用", "sales": 0, "goods": 0, "expense": 800, "profit": -800, "created": "2026-11-19T02:01:52.000Z", "number": "MM20261119-", "paper_number": "20261119013", "order_date": "2026-11-19" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "交付", "sales": 210000, "goods": 180000, "expense": 0, "profit": 30000, "created": "2026-11-19T02:01:57.000Z", "number": "MM20261119-", "paper_number": "20261119014", "order_date": "2026-11-19" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "订单录错作废冲回", "sales": -210000, "goods": -180000, "expense": 0, "profit": -30000, "created": "2026-11-19T02:01:59.000Z", "number": "MM20261119-", "paper_number": "20261119014", "order_date": "2026-11-19" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "交付", "sales": 220000, "goods": 181898, "expense": 0, "profit": 38102, "created": "2026-11-19T02:02:40.000Z", "number": "MM20261119-", "paper_number": "20261119015", "order_date": "2026-11-19" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "交付", "sales": 50000, "goods": 42000, "expense": 0, "profit": 8000, "created": "2026-11-19T02:02:51.000Z", "number": "MM20261119-", "paper_number": "20261119016", "order_date": "2026-11-19" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "订单退货退款售后", "sales": -90000, "goods": -88000, "expense": 0, "profit": -2000, "created": "2026-11-19T02:01:05.000Z", "number": "MM20261118-", "paper_number": "20261118007", "order_date": "2026-11-18" } ], "afterSales": [ { "id": "", "date": "2026-11-18", "project": "对照改圈", "customer": "对照售后客户", "amount": 950, "payer": "assistant", "actor": "助理", "created": "2026-11-18T02:02:03.000Z" }, { "id": "", "date": "2026-11-18", "project": "对照清洗", "customer": "对照售后客户二", "amount": 0, "payer": "owner", "actor": "麦麦", "created": "2026-11-18T02:02:06.000Z" } ], "afterSaleCount": 2, "inventory": [ { "pocket": "现货", "mg": 61950, "reserved": 0, "available": 61950 }, { "pocket": "金料", "mg": 56000, "reserved": 0, "available": 56000 }, { "pocket": "找金", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "回收旧料", "mg": 12843, "reserved": 0, "available": 12843 }, { "pocket": "君宝汇", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "臻金汇", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "金金", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "定制工厂", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "pocket_", "mg": 10000, "reserved": 0, "available": 10000 } ], "warnings": [ { "id": "", "number": "MM20261119-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261119-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261119-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261119-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261119-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261119-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261119-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261118-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261118-", "message": "麦麦直接收客户款,已扣减总待结金额;货款/利润拆分需单独复核" }, { "id": "", "number": "MM20261118-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261118-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261118-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261118-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261118-", "message": "麦麦直接收客户款,已扣减总待结金额;货款/利润拆分需单独复核" }, { "id": "", "number": "MM20261118-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261118-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261118-", "message": "麦麦直接收客户款,已扣减总待结金额;货款/利润拆分需单独复核" }, { "id": "", "number": "MM20261118-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261118-", "message": "有记录待麦麦复核" } ], "unsettled": [], "settlementDue": 0, "knownSettlementDue": 0, "customerBalance": 0, "close": null, "basis": "orderDate", "summary": { "orderCount": 16, "completedCount": 14, "draftCount": 0, "confirmedCount": 0, "returnedCount": 1, "cancelledCount": 2, "incompleteCount": 0, "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "unknownCostCount": 0, "unknownProfitCount": 0, "legacyUnallocatedCount": 7, "sale": 4358555, "material": 1819963, "laborAndFees": 34281, "unallocated": 1875000, "totalCost": 3729244, "profit": 629311, "ownerCost": 1945131, "assistantCost": 872393, "assistant2Cost": 911720, "mg": 57150, "pieces": 4, "knownCounts": { "sale": 16, "material": 9, "laborAndFees": 9, "unallocated": 16, "totalCost": 16, "profit": 16, "ownerCost": 16, "assistantCost": 16, "assistant2Cost": 16 }, "unknownCounts": { "sale": 0, "material": 7, "laborAndFees": 7, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0 }, "partial": true, "afterSaleCount": 3, "recordCount": 19 }, "orderRows": [ { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118001", "date": "2026-11-18", "created": "2026-11-18T02:01:17.000Z", "customer": "对照客户甲(改)", "salesperson": "娜娜", "status": "delivered", "note": "客户单备注", "types": [ "货盘现货" ], "mg": 3250, "summaryMg": 3250, "pieces": 0, "originalSale": 321100, "sale": 321100, "material": 286000, "laborAndFees": 5400, "unallocated": 0, "totalCost": 291400, "profit": 29700, "ownerCost": 286000, "assistantCost": 5400, "assistant2Cost": 0, "known": { "sale": 321100, "material": 286000, "laborAndFees": 5400, "unallocated": 0, "totalCost": 291400, "profit": 29700, "ownerCost": 286000, "assistantCost": 5400, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金999", "amount": 286000, "payer": "owner", "excluded": false, "calculation": { "rate": 88000, "quantity": 3250 }, "component": "material" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 4000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 200, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "快递", "source": "2026-11-18", "amount": 1200, "payer": "assistant", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 4000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 200, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "快递", "source": "2026-11-18", "amount": 1200, "payer": "assistant", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 5, "reviewed_revision": 0 }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118002", "date": "2026-11-18", "created": "2026-11-18T02:01:18.000Z", "customer": "对照客户乙", "salesperson": "小昊", "status": "delivered", "note": "", "types": [ "货盘现货", "配货 · 银饰" ], "mg": 2000, "summaryMg": 2000, "pieces": 3, "originalSale": 217163, "sale": 217163, "material": null, "laborAndFees": null, "unallocated": 183000, "totalCost": 183000, "profit": 34163, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 183000, "known": { "sale": 217163, "material": 0, "laborAndFees": 0, "unallocated": 183000, "totalCost": 183000, "profit": 34163, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 183000 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金999", "amount": 180000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "unallocated" }, { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 2 · 纯银925", "amount": 3000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "unallocated" } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 4, "reviewed_revision": 0 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118003", "date": "2026-11-18", "created": "2026-11-18T02:01:19.000Z", "customer": "对照客户丙", "salesperson": "麦麦", "status": "delivered", "note": "老板改备注", "types": [ "配货" ], "mg": 0, "summaryMg": 0, "pieces": 1, "originalSale": 288500, "sale": 288500, "material": null, "laborAndFees": null, "unallocated": 150000, "totalCost": 151731, "profit": 136769, "ownerCost": 151731, "assistantCost": 0, "assistant2Cost": 0, "known": { "sale": 288500, "material": 0, "laborAndFees": 1731, "unallocated": 150000, "totalCost": 151731, "profit": 136769, "ownerCost": 151731, "assistantCost": 0, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 金镶玉吊坠", "amount": 150000, "payer": "owner", "excluded": false, "calculation": null, "component": "unallocated" }, { "kind": "paid", "name": "信用卡手续费(6‰)", "source": "2026-11-18", "amount": 1731, "payer": "owner", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "paid", "name": "信用卡手续费(6‰)", "source": "2026-11-18", "amount": 1731, "payer": "owner", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 5, "reviewed_revision": 0 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118004", "date": "2026-11-18", "created": "2026-11-18T02:01:20.000Z", "materialPoolIds": [ "2026-11-18" ], "materialCostPending": false, "customer": "对照客户丁", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "配货" ], "mg": 3000, "summaryMg": 3000, "pieces": 0, "originalSale": 330000, "sale": 330000, "material": 271935, "laborAndFees": 1000, "unallocated": 0, "totalCost": 272935, "profit": 57065, "ownerCost": 0, "assistantCost": 272935, "assistant2Cost": 0, "known": { "sale": 330000, "material": 271935, "laborAndFees": 1000, "unallocated": 0, "totalCost": 272935, "profit": 57065, "ownerCost": 0, "assistantCost": 272935, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 2026-11-18日购料", "amount": 271935, "payer": "assistant", "excluded": false, "materialPoolId": "2026-11-18", "materialPoolRevision": "2823f40ff78424f5423f0dbdf991ea5fcc83b0144648e9d2399869970c27af75", "calculation": { "rate": 90645, "quantity": 3000, "weighted": true } }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "补寄快递", "source": "2026-11-19", "amount": 1000, "payer": "assistant", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "补寄快递", "source": "2026-11-19", "amount": 1000, "payer": "assistant", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 6, "reviewed_revision": 0 }, { "id": "", "member": "owner", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118005", "date": "2026-11-18", "created": "2026-11-18T02:01:21.000Z", "customer": "对照草稿客户", "salesperson": "麦麦", "status": "delivered", "note": "", "types": [ "货盘·展柜A(主)" ], "mg": 10000, "summaryMg": 10000, "pieces": 0, "originalSale": 980000, "sale": 980000, "material": null, "laborAndFees": null, "unallocated": 900000, "totalCost": 900000, "profit": 80000, "ownerCost": 900000, "assistantCost": 0, "assistant2Cost": 0, "known": { "sale": 980000, "material": 0, "laborAndFees": 0, "unallocated": 900000, "totalCost": 900000, "profit": 80000, "ownerCost": 900000, "assistantCost": 0, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金手镯", "amount": 900000, "payer": "owner", "excluded": false, "calculation": null, "component": "unallocated" } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 5, "reviewed_revision": 0 }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118006", "date": "2026-11-18", "created": "2026-11-18T02:01:24.000Z", "cancellationApproved": { "id": "", "status": "approved", "order_revision": 4, "reason": "重复录入", "requester_name": "助理2", "created": "2026-11-19T02:00:41.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:00:45.000Z", "note": "核对原单后确认" }, "customer": "对照取消客户", "salesperson": "小昊", "status": "cancelled", "note": "", "types": [ "货盘现货" ], "mg": 1500, "summaryMg": 1500, "pieces": 0, "originalSale": 150000, "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0, "known": { "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0 }, "costItems": [], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "录错作废已获麦麦批准,本单销售、成本与收款记账已撤销,原单和审批记录保留", "balance": 0, "revision": 5, "reviewed_revision": 0 }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118007", "date": "2026-11-18", "created": "2026-11-18T02:01:25.000Z", "customer": "对照售后订单客户", "salesperson": "小昊", "status": "delivered", "note": "", "orderAfterSale": { "orderId": "", "date": "2026-11-19", "reason": "客户退回一件", "deductionReason": "客户确认扣费", "refund": { "amount": 90000, "account": "助理2支付宝", "payer": "assistant2", "reference": "" }, "expenses": [], "original": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": { "id": "", "status": "approved", "action": "return", "action_label": "订单售后", "order_revision": 4, "reason": "客户退回一件", "requester_name": "助理2", "created": "2026-11-19T02:01:03.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:01:05.000Z", "note": "实物已收回" }, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 0, "netReceived": 500000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 50000, "knownProfit": 50000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "funds_mode": "team", "credit_card_rate_permille": 6 }, "originalJournal": { "sales": 500000, "goods": 450000, "expense": 0, "profit": 50000 }, "summary": { "refundAmount": 90000, "retainedAmount": 410000, "materialReturnedCost": 88000, "laborRestockedCost": 0, "materialLoss": 352000, "costLoss": 362000, "originalDirectCost": 0, "newExpenses": 0, "directCost": 0, "profit": 48000, "finalProfit": 48000, "profitAdjustment": -2000, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ] }, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ], "originalOrder": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": { "id": "", "status": "approved", "action": "return", "action_label": "订单售后", "order_revision": 4, "reason": "客户退回一件", "requester_name": "助理2", "created": "2026-11-19T02:01:03.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:01:05.000Z", "note": "实物已收回" }, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 0, "netReceived": 500000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 50000, "knownProfit": 50000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "funds_mode": "team", "credit_card_rate_permille": 6 } }, "current_status": "returned", "types": [ "货盘现货" ], "mg": 5000, "summaryMg": 5000, "pieces": 0, "originalSale": 500000, "sale": 500000, "material": 440000, "laborAndFees": 10000, "unallocated": 0, "totalCost": 450000, "profit": 50000, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 450000, "known": { "sale": 500000, "material": 440000, "laborAndFees": 10000, "unallocated": 0, "totalCost": 450000, "profit": 50000, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 450000 }, "costItems": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金手链", "amount": 440000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "material" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金手链", "amount": 10000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金手链", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金手链", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金手链", "amount": 10000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金手链", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金手链", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 4, "reviewed_revision": 0 }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118008", "date": "2026-11-18", "created": "2026-11-18T02:01:26.000Z", "customer": "对照驳回客户", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 800, "summaryMg": 800, "pieces": 0, "originalSale": 82000, "sale": 82000, "material": null, "laborAndFees": null, "unallocated": 70000, "totalCost": 70000, "profit": 12000, "ownerCost": 0, "assistantCost": 70000, "assistant2Cost": 0, "known": { "sale": 82000, "material": 0, "laborAndFees": 0, "unallocated": 70000, "totalCost": 70000, "profit": 12000, "ownerCost": 0, "assistantCost": 70000, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金耳钉", "amount": 70000, "payer": "assistant", "excluded": false, "calculation": null, "component": "unallocated" } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 5, "reviewed_revision": 0 }, { "id": "", "member": "owner", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118009", "date": "2026-11-18", "created": "2026-11-18T02:01:27.000Z", "customer": "对照分步客户", "salesperson": "麦麦", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 4000, "summaryMg": 4000, "pieces": 0, "originalSale": 400000, "sale": 400000, "material": null, "laborAndFees": null, "unallocated": 350000, "totalCost": 351800, "profit": 48200, "ownerCost": 351800, "assistantCost": 0, "assistant2Cost": 0, "known": { "sale": 400000, "material": 0, "laborAndFees": 1800, "unallocated": 350000, "totalCost": 351800, "profit": 48200, "ownerCost": 351800, "assistantCost": 0, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金项链", "amount": 350000, "payer": "owner", "excluded": false, "calculation": null, "component": "unallocated" }, { "kind": "paid", "name": "信用卡手续费(6‰)", "source": "2026-11-18", "amount": 1800, "payer": "owner", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "paid", "name": "信用卡手续费(6‰)", "source": "2026-11-18", "amount": 1800, "payer": "owner", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 5, "reviewed_revision": 0 }, { "id": "", "kind": "afterSale", "after_sale_id": "", "number": "售后", "paper_number": "", "date": "2026-11-18", "created": "2026-11-18T02:02:03.000Z", "customer": "对照售后客户", "salesperson": "助理", "status": "after_sale", "project": "对照改圈", "note": "对照改圈", "amount": 950, "payer": "assistant", "types": [ "售后" ], "mg": 0, "summaryMg": 0, "pieces": 0, "originalSale": 0, "sale": 0, "material": 0, "laborAndFees": 950, "unallocated": 0, "totalCost": 950, "profit": -950, "ownerCost": 0, "assistantCost": 950, "known": { "sale": 0, "material": 0, "laborAndFees": 950, "unallocated": 0, "totalCost": 950, "profit": -950, "ownerCost": 0, "assistantCost": 950 }, "costItems": [ { "kind": "afterSale", "after_sale_id": "", "name": "对照改圈", "source": "售后 · 2026-11-18", "amount": 950, "payer": "assistant", "component": "fee", "calculation": null } ], "laborAndFeeItems": [ { "kind": "afterSale", "after_sale_id": "", "name": "对照改圈", "source": "售后 · 2026-11-18", "amount": 950, "payer": "assistant", "component": "fee", "calculation": null } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "独立售后支出,计入所选日期利润", "balance": 0, "revision": 2, "reviewed_revision": 2 }, { "id": "", "kind": "afterSale", "after_sale_id": "", "number": "售后", "paper_number": "", "date": "2026-11-18", "created": "2026-11-18T02:02:06.000Z", "customer": "对照售后客户二", "salesperson": "麦麦", "status": "after_sale", "project": "对照清洗", "note": "对照清洗", "amount": 0, "payer": "owner", "types": [ "售后" ], "mg": 0, "summaryMg": 0, "pieces": 0, "originalSale": 0, "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "known": { "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0 }, "costItems": [ { "kind": "afterSale", "after_sale_id": "", "name": "对照清洗", "source": "售后 · 2026-11-18", "amount": 0, "payer": "owner", "component": "fee", "calculation": null } ], "laborAndFeeItems": [ { "kind": "afterSale", "after_sale_id": "", "name": "对照清洗", "source": "售后 · 2026-11-18", "amount": 0, "payer": "owner", "component": "fee", "calculation": null } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "独立售后支出,计入所选日期利润", "balance": 0, "revision": 1, "reviewed_revision": 1 }, { "id": "", "order_id": "", "kind": "orderAfterSale", "orderAfterSale": { "orderId": "", "date": "2026-11-19", "reason": "客户退回一件", "deductionReason": "客户确认扣费", "refund": { "amount": 90000, "account": "助理2支付宝", "payer": "assistant2", "reference": "" }, "expenses": [], "original": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": { "id": "", "status": "approved", "action": "return", "action_label": "订单售后", "order_revision": 4, "reason": "客户退回一件", "requester_name": "助理2", "created": "2026-11-19T02:01:03.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:01:05.000Z", "note": "实物已收回" }, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 0, "netReceived": 500000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 50000, "knownProfit": 50000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "funds_mode": "team", "credit_card_rate_permille": 6 }, "originalJournal": { "sales": 500000, "goods": 450000, "expense": 0, "profit": 50000 }, "summary": { "refundAmount": 90000, "retainedAmount": 410000, "materialReturnedCost": 88000, "laborRestockedCost": 0, "materialLoss": 352000, "costLoss": 362000, "originalDirectCost": 0, "newExpenses": 0, "directCost": 0, "profit": 48000, "finalProfit": 48000, "profitAdjustment": -2000, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ] }, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ], "order_id": "", "created": "2026-11-19T02:01:05.000Z", "number": "MM20261118-", "paper_number": "20261118007", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "order_date": "2026-11-18", "member": "assistant2" }, "member": "assistant2", "number": "MM20261118-", "paper_number": "20261118007", "date": "2026-11-19", "order_date": "2026-11-18", "created": "2026-11-19T02:01:05.000Z", "customer": "对照售后订单客户", "salesperson": "小昊", "status": "after_sale", "note": "", "project": "订单售后", "types": [ "订单售后" ], "mg": 0, "summaryMg": 0, "pieces": 0, "originalSale": 500000, "sale": -90000, "material": -88000, "laborAndFees": 0, "unallocated": 0, "totalCost": -88000, "profit": -2000, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": -88000, "known": { "sale": -90000, "material": -88000, "laborAndFees": 0, "unallocated": 0, "totalCost": -88000, "profit": -2000, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": -88000 }, "costItems": [ { "kind": "goods", "component": "material", "name": "售后收回金料成本", "source": "商品 1 · 足金手链", "amount": -88000, "payer": "assistant2", "nonCash": true, "materialPoolId": "2026-11-19", "calculation": null } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "按售后发生日调整;回收成本不属于新付款", "balance": 0, "revision": 1, "reviewed_revision": 1 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119010", "date": "2026-11-19", "created": "2026-11-19T02:01:28.000Z", "price_lock_id": "", "customer": "对照锁价客户(改)", "salesperson": "娜娜", "status": "delivered", "note": "锁价备注;锁价单 SJ20261118-;按原锁定金价 900.00元/克结算", "types": [ "货盘现货" ], "mg": 3100, "summaryMg": 3100, "pieces": 0, "originalSale": 286200, "sale": 286200, "material": 264000, "laborAndFees": 3600, "unallocated": 0, "totalCost": 267600, "profit": 18600, "ownerCost": 255600, "assistantCost": 12000, "assistant2Cost": 0, "known": { "sale": 286200, "material": 264000, "laborAndFees": 3600, "unallocated": 0, "totalCost": 267600, "profit": 18600, "ownerCost": 255600, "assistantCost": 12000, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 原锁价采购", "amount": 255000, "payer": "owner", "excluded": false, "priceLockSource": "original", "calculation": { "rate": 85000, "quantity": 3000 } }, { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 补重采购", "amount": 9000, "payer": "assistant", "excluded": false, "priceLockSource": "extra", "calculation": { "rate": 90000, "quantity": 100 } }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "实际快递", "source": "2026-11-19", "amount": 600, "payer": "owner", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "实际快递", "source": "2026-11-19", "amount": 600, "payer": "owner", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 3, "reviewed_revision": 0 }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119011", "date": "2026-11-19", "created": "2026-11-19T02:01:32.000Z", "recovery_id": "", "recovery_mode": "exchange", "nonCashOffset": 0, "cashPaid": 0, "netSettlement": 432792, "recovery_immutable_reason": "本单关联黄金回收/置换、购料及库存,暂不支持普通订单修改、取消、退款、退货或费用变更,请保留原关联记录", "customer": "对照换货客户", "salesperson": "小昊", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 12000, "summaryMg": 12000, "pieces": 0, "originalSale": 432792, "sale": 432792, "material": 360720, "laborAndFees": 6000, "unallocated": 0, "totalCost": 366720, "profit": 66072, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 366720, "known": { "sale": 432792, "material": 360720, "laborAndFees": 6000, "unallocated": 0, "totalCost": 366720, "profit": 66072, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 366720 }, "costItems": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金对照新货", "amount": 360720, "payer": "assistant2", "excluded": false, "calculation": { "rate": 90000, "quantity": 4008 }, "component": "material" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 6000, "payer": "assistant2", "excluded": false, "calculation": { "rate": 500, "quantity": 12000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 6000, "payer": "assistant2", "excluded": false, "calculation": { "rate": 500, "quantity": 12000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 4, "reviewed_revision": 0 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119012", "date": "2026-11-19", "created": "2026-11-19T02:01:33.000Z", "recovery_id": "", "recovery_mode": "exchange", "nonCashOffset": 0, "cashPaid": 0, "netSettlement": 130800, "recovery_immutable_reason": "本单关联黄金回收/置换、购料及库存,暂不支持普通订单修改、取消、退款、退货或费用变更,请保留原关联记录", "customer": "对照换货客户二", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 6000, "summaryMg": 6000, "pieces": 0, "originalSale": 130800, "sale": 130800, "material": 103410, "laborAndFees": 3000, "unallocated": 0, "totalCost": 106410, "profit": 24390, "ownerCost": 0, "assistantCost": 106410, "assistant2Cost": 0, "known": { "sale": 130800, "material": 103410, "laborAndFees": 3000, "unallocated": 0, "totalCost": 106410, "profit": 24390, "ownerCost": 0, "assistantCost": 106410, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金对照新货", "amount": 103410, "payer": "assistant", "excluded": false, "calculation": { "rate": 90000, "quantity": 1149 }, "component": "material" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": { "rate": 500, "quantity": 6000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": { "rate": 500, "quantity": 6000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 4, "reviewed_revision": 0 }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119013", "date": "2026-11-19", "created": "2026-11-19T02:01:48.000Z", "customer": "当天客户(改)", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 2000, "summaryMg": 2000, "pieces": 0, "originalSale": 210000, "sale": 210000, "material": null, "laborAndFees": null, "unallocated": 180000, "totalCost": 180800, "profit": 29200, "ownerCost": 0, "assistantCost": 180800, "assistant2Cost": 0, "known": { "sale": 210000, "material": 0, "laborAndFees": 800, "unallocated": 180000, "totalCost": 180800, "profit": 29200, "ownerCost": 0, "assistantCost": 180800, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金吊坠", "amount": 180000, "payer": "assistant", "excluded": false, "calculation": null, "component": "unallocated" }, { "kind": "paid", "name": "当天快递", "source": "2026-11-19", "amount": 800, "payer": "assistant", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "paid", "name": "当天快递", "source": "2026-11-19", "amount": 800, "payer": "assistant", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 7, "reviewed_revision": 0 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119014", "date": "2026-11-19", "created": "2026-11-19T02:01:57.000Z", "cancellationApproved": { "id": "", "status": "approved", "order_revision": 4, "reason": "当天录错", "requester_name": "助理", "created": "2026-11-19T02:01:59.000Z", "reviewer_name": null, "reviewed": null, "note": "", "direct": true, "operator_name": "助理", "executedAt": "2026-11-19T02:01:59.000Z" }, "customer": "当天取消客户", "salesperson": "娜娜", "status": "cancelled", "note": "", "types": [ "货盘现货" ], "mg": 2000, "summaryMg": 2000, "pieces": 0, "originalSale": 210000, "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0, "known": { "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0 }, "costItems": [], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "录错作废已获麦麦批准,本单销售、成本与收款记账已撤销,原单和审批记录保留", "balance": 0, "revision": 5, "reviewed_revision": 0 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119015", "date": "2026-11-19", "created": "2026-11-19T02:02:40.000Z", "materialPoolIds": [ "2026-11-19" ], "materialCostPending": false, "customer": "滚动料池客户", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "配货" ], "mg": 2000, "summaryMg": 2000, "pieces": 0, "originalSale": 220000, "sale": 220000, "material": 181898, "laborAndFees": 0, "unallocated": 0, "totalCost": 181898, "profit": 38102, "ownerCost": 0, "assistantCost": 181898, "assistant2Cost": 0, "known": { "sale": 220000, "material": 181898, "laborAndFees": 0, "unallocated": 0, "totalCost": 181898, "profit": 38102, "ownerCost": 0, "assistantCost": 181898, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 2026-11-19日购料", "amount": 181898, "payer": "assistant", "excluded": false, "materialPoolId": "2026-11-19", "materialPoolRevision": "2e1d58e4d359165036a53976f4ed30c7052bb21df8bd2eb46c6544546a2e818b", "calculation": { "rate": 90949, "quantity": 2000, "weighted": true } }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 4, "reviewed_revision": 0 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119016", "date": "2026-11-19", "created": "2026-11-19T02:02:51.000Z", "customer": "安全测试", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 500, "summaryMg": 500, "pieces": 0, "originalSale": 50000, "sale": 50000, "material": null, "laborAndFees": null, "unallocated": 42000, "totalCost": 42000, "profit": 8000, "ownerCost": 0, "assistantCost": 42000, "assistant2Cost": 0, "known": { "sale": 50000, "material": 0, "laborAndFees": 0, "unallocated": 42000, "totalCost": 42000, "profit": 8000, "ownerCost": 0, "assistantCost": 42000, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金转运珠", "amount": 42000, "payer": "assistant", "excluded": false, "calculation": null, "component": "unallocated" } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 4, "reviewed_revision": 0 } ], "payerCosts": { "assistant": { "payer": "assistant", "name": "娜娜", "goods": 1864610, "paidFees": 3950, "total": 1868560, "missingCount": 0, "pendingCount": 0, "items": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 4000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor", "order_id": "", "number": "MM20261118-", "paper_number": "20261118001", "date": "2026-11-18", "customer": "对照客户甲(改)", "status": "recorded" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 200, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories", "order_id": "", "number": "MM20261118-", "paper_number": "20261118001", "date": "2026-11-18", "customer": "对照客户甲(改)", "status": "recorded" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other", "order_id": "", "number": "MM20261118-", "paper_number": "20261118001", "date": "2026-11-18", "customer": "对照客户甲(改)", "status": "recorded" }, { "kind": "paid", "name": "快递", "source": "整单费用 · 实付 2026-11-18", "amount": 1200, "payer": "assistant", "component": "fee", "order_id": "", "number": "MM20261118-", "paper_number": "20261118001", "date": "2026-11-18", "customer": "对照客户甲(改)", "status": "recorded", "calculation": null, "paidDate": "2026-11-18" }, { "kind": "paid", "name": "补寄快递", "source": "整单费用 · 实付 2026-11-19", "amount": 1000, "payer": "assistant", "component": "fee", "order_id": "", "number": "MM20261118-", "paper_number": "20261118004", "date": "2026-11-18", "customer": "对照客户丁", "status": "recorded", "calculation": null, "paidDate": "2026-11-19" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor", "order_id": "", "number": "MM20261118-", "paper_number": "20261118004", "date": "2026-11-18", "customer": "对照客户丁", "status": "recorded" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories", "order_id": "", "number": "MM20261118-", "paper_number": "20261118004", "date": "2026-11-18", "customer": "对照客户丁", "status": "recorded" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other", "order_id": "", "number": "MM20261118-", "paper_number": "20261118004", "date": "2026-11-18", "customer": "对照客户丁", "status": "recorded" }, { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金耳钉", "amount": 70000, "payer": "assistant", "excluded": false, "calculation": null, "component": "unallocated", "order_id": "", "number": "MM20261118-", "paper_number": "20261118008", "date": "2026-11-18", "customer": "对照驳回客户", "status": "recorded" }, { "kind": "afterSale", "after_sale_id": "", "name": "对照改圈", "source": "售后 · 2026-11-18", "amount": 950, "payer": "assistant", "component": "fee", "calculation": null, "project": "对照改圈", "number": "售后", "paper_number": "", "date": "2026-11-18", "customer": "对照售后客户", "status": "recorded" }, { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金对照新货", "amount": 103410, "payer": "assistant", "excluded": false, "calculation": { "rate": 90000, "quantity": 1149 }, "component": "material", "order_id": "", "number": "MM20261119-", "paper_number": "20261119012", "date": "2026-11-19", "customer": "对照换货客户二", "status": "recorded" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": { "rate": 500, "quantity": 6000 }, "component": "labor", "order_id": "", "number": "MM20261119-", "paper_number": "20261119012", "date": "2026-11-19", "customer": "对照换货客户二", "status": "recorded" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories", "order_id": "", "number": "MM20261119-", "paper_number": "20261119012", "date": "2026-11-19", "customer": "对照换货客户二", "status": "recorded" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other", "order_id": "", "number": "MM20261119-", "paper_number": "20261119012", "date": "2026-11-19", "customer": "对照换货客户二", "status": "recorded" }, { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金吊坠", "amount": 180000, "payer": "assistant", "excluded": false, "calculation": null, "component": "unallocated", "order_id": "", "number": "MM20261119-", "paper_number": "20261119013", "date": "2026-11-19", "customer": "当天客户(改)", "status": "recorded" }, { "kind": "paid", "name": "当天快递", "source": "整单费用 · 实付 2026-11-19", "amount": 800, "payer": "assistant", "component": "fee", "order_id": "", "number": "MM20261119-", "paper_number": "20261119013", "date": "2026-11-19", "customer": "当天客户(改)", "status": "recorded", "calculation": null, "paidDate": "2026-11-19" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor", "order_id": "", "number": "MM20261119-", "paper_number": "20261119015", "date": "2026-11-19", "customer": "滚动料池客户", "status": "recorded" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories", "order_id": "", "number": "MM20261119-", "paper_number": "20261119015", "date": "2026-11-19", "customer": "滚动料池客户", "status": "recorded" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other", "order_id": "", "number": "MM20261119-", "paper_number": "20261119015", "date": "2026-11-19", "customer": "滚动料池客户", "status": "recorded" }, { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金转运珠", "amount": 42000, "payer": "assistant", "excluded": false, "calculation": null, "component": "unallocated", "order_id": "", "number": "MM20261119-", "paper_number": "20261119016", "date": "2026-11-19", "customer": "安全测试", "status": "recorded" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": null, "id": "price-lock-goods::0", "price_lock_id": "", "order_id": "", "number": "MM20261119-", "paper_number": "20261119010", "customer": "对照锁价客户(改)", "date": "2026-11-19", "component": "labor", "status": "recorded", "actualOutlay": true }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "id": "price-lock-goods::1", "price_lock_id": "", "order_id": "", "number": "MM20261119-", "paper_number": "20261119010", "customer": "对照锁价客户(改)", "date": "2026-11-19", "component": "accessories", "status": "recorded", "actualOutlay": true }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "id": "price-lock-goods::2", "price_lock_id": "", "order_id": "", "number": "MM20261119-", "paper_number": "20261119010", "customer": "对照锁价客户(改)", "date": "2026-11-19", "component": "other", "status": "recorded", "actualOutlay": true }, { "id": "", "price_lock_id": "", "date": "2026-11-19", "kind": "goods", "amount": 9000, "payer": "assistant", "source": "锁价采购 · 实付 2026-11-19", "quantity": 100, "rate": 90000, "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-19T02:01:28.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "component": "material", "name": "补购料费", "materialSource": "extra", "paidDate": "2026-11-19", "calculation": { "rate": 90000, "quantity": 100 }, "status": "recorded", "actualOutlay": true }, { "id": "", "pool_id": "2026-11-18", "date": "2026-11-18", "mg": 11000, "amount": 990000, "payer": "assistant", "note": "核对凭据", "actor": "助理", "created": "2026-11-18T02:01:09.000Z", "revision": 2, "deleted_at": "", "updated": "2026-11-19T02:02:27.000Z", "purchaseAmount": 990000, "kind": "goods", "component": "material", "materialPoolId": "2026-11-18", "name": "日料池采购", "source": "日料池 2026-11-18 · 实付 2026-11-18", "paidDate": "2026-11-18", "quantity": 11000, "calculation": null, "status": "recorded", "actualOutlay": true }, { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 5000, "amount": 460000, "payer": "assistant", "note": "第二天购料", "actor": "助理", "created": "2026-11-19T02:02:19.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:19.000Z", "purchaseAmount": 460000, "kind": "goods", "component": "material", "materialPoolId": "2026-11-19", "name": "日料池采购", "source": "日料池 2026-11-19 · 实付 2026-11-19", "paidDate": "2026-11-19", "quantity": 5000, "calculation": null, "status": "recorded", "actualOutlay": true } ] }, "owner": { "payer": "owner", "name": "麦麦", "goods": 4016000, "paidFees": 4131, "total": 4020131, "missingCount": 0, "pendingCount": 0, "items": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金999", "amount": 286000, "payer": "owner", "excluded": false, "calculation": { "rate": 88000, "quantity": 3250 }, "component": "material", "order_id": "", "number": "MM20261118-", "paper_number": "20261118001", "date": "2026-11-18", "customer": "对照客户甲(改)", "status": "recorded" }, { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 金镶玉吊坠", "amount": 150000, "payer": "owner", "excluded": false, "calculation": null, "component": "unallocated", "order_id": "", "number": "MM20261118-", "paper_number": "20261118003", "date": "2026-11-18", "customer": "对照客户丙", "status": "recorded" }, { "kind": "paid", "name": "信用卡手续费(6‰)", "source": "整单费用 · 实付 2026-11-18", "amount": 1731, "payer": "owner", "component": "fee", "order_id": "", "number": "MM20261118-", "paper_number": "20261118003", "date": "2026-11-18", "customer": "对照客户丙", "status": "recorded", "calculation": null, "paidDate": "2026-11-18" }, { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金手镯", "amount": 900000, "payer": "owner", "excluded": false, "calculation": null, "component": "unallocated", "order_id": "", "number": "MM20261118-", "paper_number": "20261118005", "date": "2026-11-18", "customer": "对照草稿客户", "status": "recorded" }, { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金项链", "amount": 350000, "payer": "owner", "excluded": false, "calculation": null, "component": "unallocated", "order_id": "", "number": "MM20261118-", "paper_number": "20261118009", "date": "2026-11-18", "customer": "对照分步客户", "status": "recorded" }, { "kind": "paid", "name": "信用卡手续费(6‰)", "source": "整单费用 · 实付 2026-11-18", "amount": 1800, "payer": "owner", "component": "fee", "order_id": "", "number": "MM20261118-", "paper_number": "20261118009", "date": "2026-11-18", "customer": "对照分步客户", "status": "recorded", "calculation": null, "paidDate": "2026-11-18" }, { "kind": "afterSale", "after_sale_id": "", "name": "对照清洗", "source": "售后 · 2026-11-18", "amount": 0, "payer": "owner", "component": "fee", "calculation": null, "project": "对照清洗", "number": "售后", "paper_number": "", "date": "2026-11-18", "customer": "对照售后客户二", "status": "recorded" }, { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "goods", "amount": 255000, "payer": "owner", "source": "锁价采购 · 实付 2026-11-18", "quantity": 3000, "rate": 85000, "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:53.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "component": "material", "name": "锁价料费", "materialSource": "original", "paidDate": "2026-11-18", "calculation": { "rate": 85000, "quantity": 3000 }, "status": "recorded", "actualOutlay": true }, { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "goods", "amount": 255000, "payer": "owner", "source": "锁价采购 · 实付 2026-11-18", "quantity": 3000, "rate": 85000, "number": "SJ20261118-", "customer": "对照锁价客户二", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:54.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "component": "material", "name": "锁价料费", "materialSource": "original", "paidDate": "2026-11-18", "calculation": { "rate": 85000, "quantity": 3000 }, "status": "recorded", "actualOutlay": true }, { "id": "", "order_id": "", "date": "2026-11-19", "amount": 600, "payer": "owner", "note": "实际快递", "actor": "助理", "created": "2026-11-19T02:01:28.000Z", "price_lock_id": "", "number": "SJ20261118-", "customer": "对照锁价客户(改)", "kind": "paid", "component": "fee", "product": "足金999", "name": "实际快递", "source": "锁价费用 · 实付 2026-11-19", "paidDate": "2026-11-19", "status": "recorded", "calculation": null, "actualOutlay": true }, { "id": "", "pool_id": "2026-11-18", "date": "2026-11-18", "mg": 20000, "amount": 1820000, "payer": "owner", "note": "麦麦购料", "actor": "麦麦", "created": "2026-11-18T02:01:10.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-18T02:01:10.000Z", "purchaseAmount": 1820000, "kind": "goods", "component": "material", "materialPoolId": "2026-11-18", "name": "日料池采购", "source": "日料池 2026-11-18 · 实付 2026-11-18", "paidDate": "2026-11-18", "quantity": 20000, "calculation": null, "status": "recorded", "actualOutlay": true } ] }, "assistant2": { "payer": "assistant2", "name": "小昊", "goods": 1627720, "paidFees": 0, "total": 1627720, "missingCount": 0, "pendingCount": 0, "items": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金999", "amount": 180000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "unallocated", "order_id": "", "number": "MM20261118-", "paper_number": "20261118002", "date": "2026-11-18", "customer": "对照客户乙", "status": "recorded" }, { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 2 · 纯银925", "amount": 3000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "unallocated", "order_id": "", "number": "MM20261118-", "paper_number": "20261118002", "date": "2026-11-18", "customer": "对照客户乙", "status": "recorded" }, { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金手链", "amount": 440000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "material", "order_id": "", "number": "MM20261118-", "paper_number": "20261118007", "date": "2026-11-18", "customer": "对照售后订单客户", "status": "recorded" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金手链", "amount": 10000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "labor", "order_id": "", "number": "MM20261118-", "paper_number": "20261118007", "date": "2026-11-18", "customer": "对照售后订单客户", "status": "recorded" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金手链", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories", "order_id": "", "number": "MM20261118-", "paper_number": "20261118007", "date": "2026-11-18", "customer": "对照售后订单客户", "status": "recorded" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金手链", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other", "order_id": "", "number": "MM20261118-", "paper_number": "20261118007", "date": "2026-11-18", "customer": "对照售后订单客户", "status": "recorded" }, { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金对照新货", "amount": 360720, "payer": "assistant2", "excluded": false, "calculation": { "rate": 90000, "quantity": 4008 }, "component": "material", "order_id": "", "number": "MM20261119-", "paper_number": "20261119011", "date": "2026-11-19", "customer": "对照换货客户", "status": "recorded" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 6000, "payer": "assistant2", "excluded": false, "calculation": { "rate": 500, "quantity": 12000 }, "component": "labor", "order_id": "", "number": "MM20261119-", "paper_number": "20261119011", "date": "2026-11-19", "customer": "对照换货客户", "status": "recorded" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories", "order_id": "", "number": "MM20261119-", "paper_number": "20261119011", "date": "2026-11-19", "customer": "对照换货客户", "status": "recorded" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other", "order_id": "", "number": "MM20261119-", "paper_number": "20261119011", "date": "2026-11-19", "customer": "对照换货客户", "status": "recorded" }, { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "goods", "amount": 258000, "payer": "assistant2", "source": "锁价采购 · 实付 2026-11-18", "quantity": 3000, "rate": 86000, "number": "SJ20261118-", "customer": "对照锁价客户三", "product": "足金999", "actor": "助理2", "created": "2026-11-18T02:01:55.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "component": "material", "name": "锁价料费", "materialSource": "original", "paidDate": "2026-11-18", "calculation": { "rate": 86000, "quantity": 3000 }, "status": "recorded", "actualOutlay": true }, { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 4000, "amount": 370000, "payer": "assistant2", "note": "", "actor": "助理2", "created": "2026-11-19T02:02:20.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:20.000Z", "purchaseAmount": 370000, "kind": "goods", "component": "material", "materialPoolId": "2026-11-19", "name": "日料池采购", "source": "日料池 2026-11-19 · 实付 2026-11-19", "paidDate": "2026-11-19", "quantity": 4000, "calculation": null, "status": "recorded", "actualOutlay": true } ] } }, "orderPayerCosts": { "assistant": { "payer": "assistant", "name": "娜娜", "goods": 868443, "paidFees": 3950, "total": 872393, "missingCount": 0, "pendingCount": 0, "items": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 4000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor", "order_id": "", "number": "MM20261118-", "paper_number": "20261118001", "date": "2026-11-18", "customer": "对照客户甲(改)", "status": "recorded" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 200, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories", "order_id": "", "number": "MM20261118-", "paper_number": "20261118001", "date": "2026-11-18", "customer": "对照客户甲(改)", "status": "recorded" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other", "order_id": "", "number": "MM20261118-", "paper_number": "20261118001", "date": "2026-11-18", "customer": "对照客户甲(改)", "status": "recorded" }, { "kind": "paid", "name": "快递", "source": "整单费用 · 实付 2026-11-18", "amount": 1200, "payer": "assistant", "component": "fee", "order_id": "", "number": "MM20261118-", "paper_number": "20261118001", "date": "2026-11-18", "customer": "对照客户甲(改)", "status": "recorded", "calculation": null, "paidDate": "2026-11-18" }, { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 2026-11-18日购料", "amount": 271935, "payer": "assistant", "excluded": false, "materialPoolId": "2026-11-18", "materialPoolRevision": "2823f40ff78424f5423f0dbdf991ea5fcc83b0144648e9d2399869970c27af75", "calculation": { "rate": 90645, "quantity": 3000, "weighted": true }, "order_id": "", "number": "MM20261118-", "paper_number": "20261118004", "date": "2026-11-18", "customer": "对照客户丁", "status": "recorded" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor", "order_id": "", "number": "MM20261118-", "paper_number": "20261118004", "date": "2026-11-18", "customer": "对照客户丁", "status": "recorded" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories", "order_id": "", "number": "MM20261118-", "paper_number": "20261118004", "date": "2026-11-18", "customer": "对照客户丁", "status": "recorded" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other", "order_id": "", "number": "MM20261118-", "paper_number": "20261118004", "date": "2026-11-18", "customer": "对照客户丁", "status": "recorded" }, { "kind": "paid", "name": "补寄快递", "source": "整单费用 · 实付 2026-11-19", "amount": 1000, "payer": "assistant", "component": "fee", "order_id": "", "number": "MM20261118-", "paper_number": "20261118004", "date": "2026-11-18", "customer": "对照客户丁", "status": "recorded", "calculation": null, "paidDate": "2026-11-19" }, { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金耳钉", "amount": 70000, "payer": "assistant", "excluded": false, "calculation": null, "component": "unallocated", "order_id": "", "number": "MM20261118-", "paper_number": "20261118008", "date": "2026-11-18", "customer": "对照驳回客户", "status": "recorded" }, { "kind": "afterSale", "after_sale_id": "", "name": "对照改圈", "source": "售后 · 2026-11-18", "amount": 950, "payer": "assistant", "component": "fee", "calculation": null, "project": "对照改圈", "number": "售后", "paper_number": "", "date": "2026-11-18", "customer": "对照售后客户", "status": "recorded" }, { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 补重采购", "amount": 9000, "payer": "assistant", "excluded": false, "priceLockSource": "extra", "calculation": { "rate": 90000, "quantity": 100 }, "order_id": "", "number": "MM20261119-", "paper_number": "20261119010", "date": "2026-11-19", "customer": "对照锁价客户(改)", "status": "recorded" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor", "order_id": "", "number": "MM20261119-", "paper_number": "20261119010", "date": "2026-11-19", "customer": "对照锁价客户(改)", "status": "recorded" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories", "order_id": "", "number": "MM20261119-", "paper_number": "20261119010", "date": "2026-11-19", "customer": "对照锁价客户(改)", "status": "recorded" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other", "order_id": "", "number": "MM20261119-", "paper_number": "20261119010", "date": "2026-11-19", "customer": "对照锁价客户(改)", "status": "recorded" }, { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金对照新货", "amount": 103410, "payer": "assistant", "excluded": false, "calculation": { "rate": 90000, "quantity": 1149 }, "component": "material", "order_id": "", "number": "MM20261119-", "paper_number": "20261119012", "date": "2026-11-19", "customer": "对照换货客户二", "status": "recorded" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": { "rate": 500, "quantity": 6000 }, "component": "labor", "order_id": "", "number": "MM20261119-", "paper_number": "20261119012", "date": "2026-11-19", "customer": "对照换货客户二", "status": "recorded" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories", "order_id": "", "number": "MM20261119-", "paper_number": "20261119012", "date": "2026-11-19", "customer": "对照换货客户二", "status": "recorded" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other", "order_id": "", "number": "MM20261119-", "paper_number": "20261119012", "date": "2026-11-19", "customer": "对照换货客户二", "status": "recorded" }, { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金吊坠", "amount": 180000, "payer": "assistant", "excluded": false, "calculation": null, "component": "unallocated", "order_id": "", "number": "MM20261119-", "paper_number": "20261119013", "date": "2026-11-19", "customer": "当天客户(改)", "status": "recorded" }, { "kind": "paid", "name": "当天快递", "source": "整单费用 · 实付 2026-11-19", "amount": 800, "payer": "assistant", "component": "fee", "order_id": "", "number": "MM20261119-", "paper_number": "20261119013", "date": "2026-11-19", "customer": "当天客户(改)", "status": "recorded", "calculation": null, "paidDate": "2026-11-19" }, { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 2026-11-19日购料", "amount": 181898, "payer": "assistant", "excluded": false, "materialPoolId": "2026-11-19", "materialPoolRevision": "2e1d58e4d359165036a53976f4ed30c7052bb21df8bd2eb46c6544546a2e818b", "calculation": { "rate": 90949, "quantity": 2000, "weighted": true }, "order_id": "", "number": "MM20261119-", "paper_number": "20261119015", "date": "2026-11-19", "customer": "滚动料池客户", "status": "recorded" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor", "order_id": "", "number": "MM20261119-", "paper_number": "20261119015", "date": "2026-11-19", "customer": "滚动料池客户", "status": "recorded" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories", "order_id": "", "number": "MM20261119-", "paper_number": "20261119015", "date": "2026-11-19", "customer": "滚动料池客户", "status": "recorded" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other", "order_id": "", "number": "MM20261119-", "paper_number": "20261119015", "date": "2026-11-19", "customer": "滚动料池客户", "status": "recorded" }, { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金转运珠", "amount": 42000, "payer": "assistant", "excluded": false, "calculation": null, "component": "unallocated", "order_id": "", "number": "MM20261119-", "paper_number": "20261119016", "date": "2026-11-19", "customer": "安全测试", "status": "recorded" } ] }, "owner": { "payer": "owner", "name": "麦麦", "goods": 1941000, "paidFees": 4131, "total": 1945131, "missingCount": 0, "pendingCount": 0, "items": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金999", "amount": 286000, "payer": "owner", "excluded": false, "calculation": { "rate": 88000, "quantity": 3250 }, "component": "material", "order_id": "", "number": "MM20261118-", "paper_number": "20261118001", "date": "2026-11-18", "customer": "对照客户甲(改)", "status": "recorded" }, { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 金镶玉吊坠", "amount": 150000, "payer": "owner", "excluded": false, "calculation": null, "component": "unallocated", "order_id": "", "number": "MM20261118-", "paper_number": "20261118003", "date": "2026-11-18", "customer": "对照客户丙", "status": "recorded" }, { "kind": "paid", "name": "信用卡手续费(6‰)", "source": "整单费用 · 实付 2026-11-18", "amount": 1731, "payer": "owner", "component": "fee", "order_id": "", "number": "MM20261118-", "paper_number": "20261118003", "date": "2026-11-18", "customer": "对照客户丙", "status": "recorded", "calculation": null, "paidDate": "2026-11-18" }, { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金手镯", "amount": 900000, "payer": "owner", "excluded": false, "calculation": null, "component": "unallocated", "order_id": "", "number": "MM20261118-", "paper_number": "20261118005", "date": "2026-11-18", "customer": "对照草稿客户", "status": "recorded" }, { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金项链", "amount": 350000, "payer": "owner", "excluded": false, "calculation": null, "component": "unallocated", "order_id": "", "number": "MM20261118-", "paper_number": "20261118009", "date": "2026-11-18", "customer": "对照分步客户", "status": "recorded" }, { "kind": "paid", "name": "信用卡手续费(6‰)", "source": "整单费用 · 实付 2026-11-18", "amount": 1800, "payer": "owner", "component": "fee", "order_id": "", "number": "MM20261118-", "paper_number": "20261118009", "date": "2026-11-18", "customer": "对照分步客户", "status": "recorded", "calculation": null, "paidDate": "2026-11-18" }, { "kind": "afterSale", "after_sale_id": "", "name": "对照清洗", "source": "售后 · 2026-11-18", "amount": 0, "payer": "owner", "component": "fee", "calculation": null, "project": "对照清洗", "number": "售后", "paper_number": "", "date": "2026-11-18", "customer": "对照售后客户二", "status": "recorded" }, { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 原锁价采购", "amount": 255000, "payer": "owner", "excluded": false, "priceLockSource": "original", "calculation": { "rate": 85000, "quantity": 3000 }, "order_id": "", "number": "MM20261119-", "paper_number": "20261119010", "date": "2026-11-19", "customer": "对照锁价客户(改)", "status": "recorded" }, { "kind": "paid", "name": "实际快递", "source": "整单费用 · 实付 2026-11-19", "amount": 600, "payer": "owner", "component": "fee", "order_id": "", "number": "MM20261119-", "paper_number": "20261119010", "date": "2026-11-19", "customer": "对照锁价客户(改)", "status": "recorded", "calculation": null, "paidDate": "2026-11-19" } ] }, "assistant2": { "payer": "assistant2", "name": "小昊", "goods": 911720, "paidFees": 0, "total": 911720, "missingCount": 0, "pendingCount": 0, "items": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金999", "amount": 180000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "unallocated", "order_id": "", "number": "MM20261118-", "paper_number": "20261118002", "date": "2026-11-18", "customer": "对照客户乙", "status": "recorded" }, { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 2 · 纯银925", "amount": 3000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "unallocated", "order_id": "", "number": "MM20261118-", "paper_number": "20261118002", "date": "2026-11-18", "customer": "对照客户乙", "status": "recorded" }, { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金手链", "amount": 440000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "material", "order_id": "", "number": "MM20261118-", "paper_number": "20261118007", "date": "2026-11-18", "customer": "对照售后订单客户", "status": "recorded" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金手链", "amount": 10000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "labor", "order_id": "", "number": "MM20261118-", "paper_number": "20261118007", "date": "2026-11-18", "customer": "对照售后订单客户", "status": "recorded" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金手链", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories", "order_id": "", "number": "MM20261118-", "paper_number": "20261118007", "date": "2026-11-18", "customer": "对照售后订单客户", "status": "recorded" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金手链", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other", "order_id": "", "number": "MM20261118-", "paper_number": "20261118007", "date": "2026-11-18", "customer": "对照售后订单客户", "status": "recorded" }, { "kind": "goods", "component": "material", "name": "售后收回金料成本", "source": "商品 1 · 足金手链", "amount": -88000, "payer": "assistant2", "nonCash": true, "materialPoolId": "2026-11-19", "calculation": null, "order_id": "", "orderAfterSale": true, "number": "MM20261118-", "paper_number": "20261118007", "date": "2026-11-19", "customer": "对照售后订单客户", "status": "recorded" }, { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金对照新货", "amount": 360720, "payer": "assistant2", "excluded": false, "calculation": { "rate": 90000, "quantity": 4008 }, "component": "material", "order_id": "", "number": "MM20261119-", "paper_number": "20261119011", "date": "2026-11-19", "customer": "对照换货客户", "status": "recorded" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 6000, "payer": "assistant2", "excluded": false, "calculation": { "rate": 500, "quantity": 12000 }, "component": "labor", "order_id": "", "number": "MM20261119-", "paper_number": "20261119011", "date": "2026-11-19", "customer": "对照换货客户", "status": "recorded" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories", "order_id": "", "number": "MM20261119-", "paper_number": "20261119011", "date": "2026-11-19", "customer": "对照换货客户", "status": "recorded" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other", "order_id": "", "number": "MM20261119-", "paper_number": "20261119011", "date": "2026-11-19", "customer": "对照换货客户", "status": "recorded" } ] } }, "peopleCount": { "from": "2026-11-18", "date": "2026-11-19", "baselineDate": "2026-11-17", "mode": "daily-total", "assistant1": { "total": 7, "endTotal": 7, "baselineTotal": null, "baselineDate": null, "netChange": null, "netChangeReason": "missing-previous", "recordedDays": 2 }, "assistant2": { "total": 4, "endTotal": 4, "baselineTotal": null, "baselineDate": null, "netChange": null, "netChangeReason": "missing-previous", "recordedDays": 2 } }, "priceLockActivity": { "basis": "eventDate", "from": "2026-11-18", "date": "2026-11-19", "customerCash": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 270000, "account": "助理微信", "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:53.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null }, { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 50000, "account": "助理2微信", "number": "SJ20261118-", "customer": "对照锁价客户三", "product": "足金999", "actor": "助理2", "created": "2026-11-18T02:01:55.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null }, { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 120000, "account": "助理支付宝", "number": "SJ20261118-", "customer": "对照锁价客户二", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:02:02.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null }, { "id": "", "price_lock_id": "", "date": "2026-11-19", "kind": "receipt", "amount": 16200, "account": "助理支付宝", "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-19T02:01:28.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null } ], "orderPayments": [], "materialOutlays": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "material", "amount": 255000, "payer": "owner", "source": "original", "quantity": 3000, "rate": 85000, "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:53.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "component": "material" }, { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "material", "amount": 255000, "payer": "owner", "source": "original", "quantity": 3000, "rate": 85000, "number": "SJ20261118-", "customer": "对照锁价客户二", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:54.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "component": "material" }, { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "material", "amount": 258000, "payer": "assistant2", "source": "original", "quantity": 3000, "rate": 86000, "number": "SJ20261118-", "customer": "对照锁价客户三", "product": "足金999", "actor": "助理2", "created": "2026-11-18T02:01:55.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "component": "material" }, { "id": "", "price_lock_id": "", "date": "2026-11-19", "kind": "material", "amount": 9000, "payer": "assistant", "source": "extra", "quantity": 100, "rate": 90000, "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-19T02:01:28.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "component": "material" } ], "directOutlays": [ { "id": "", "order_id": "", "date": "2026-11-19", "amount": 600, "payer": "owner", "note": "实际快递", "actor": "助理", "created": "2026-11-19T02:01:28.000Z", "price_lock_id": "", "number": "SJ20261118-", "customer": "对照锁价客户(改)", "kind": "fee", "component": "fee", "product": "足金999" } ], "deliveryGoodsOutlays": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": null, "id": "price-lock-goods::0", "price_lock_id": "", "order_id": "", "number": "MM20261119-", "paper_number": "20261119010", "customer": "对照锁价客户(改)", "date": "2026-11-19", "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "id": "price-lock-goods::1", "price_lock_id": "", "order_id": "", "number": "MM20261119-", "paper_number": "20261119010", "customer": "对照锁价客户(改)", "date": "2026-11-19", "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "id": "price-lock-goods::2", "price_lock_id": "", "order_id": "", "number": "MM20261119-", "paper_number": "20261119010", "customer": "对照锁价客户(改)", "date": "2026-11-19", "component": "other" } ], "receipts": { "receipt": 456200, "refund": 0, "net": 456200, "channels": [ { "channel": "wechat", "name": "微信", "receipt": 320000, "refund": 0, "net": 320000 }, { "channel": "alipay", "name": "支付宝", "receipt": 136200, "refund": 0, "net": 136200 }, { "channel": "cash", "name": "现金", "receipt": 0, "refund": 0, "net": 0 } ], "accounts": [ { "account": "助理微信", "receipt": 270000, "refund": 0, "net": 270000 }, { "account": "助理支付宝", "receipt": 136200, "refund": 0, "net": 136200 }, { "account": "助理现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2微信", "receipt": 50000, "refund": 0, "net": 50000 }, { "account": "助理2支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2现金", "receipt": 0, "refund": 0, "net": 0 } ], "paymentCount": 4, "orderCount": 3 }, "payerOutlays": { "owner": { "payer": "owner", "material": 510000, "goods": 510000, "paidFees": 600, "total": 510600 }, "assistant": { "payer": "assistant", "material": 9000, "goods": 12000, "paidFees": 0, "total": 12000 }, "assistant2": { "payer": "assistant2", "material": 258000, "goods": 258000, "paidFees": 0, "total": 258000 } }, "summary": { "receipt": 456200, "refund": 0, "net": 456200, "materialOutlay": 777000, "goodsOutlay": 780000, "feeOutlay": 600, "ownerOutlay": 510600, "assistantOutlay": 12000, "assistant2Outlay": 258000, "totalOutlay": 780600, "eventCount": 12, "lockCount": 3 } }, "outlayGoods": 7508330, "outlayExpense": 8081, "outlayTotal": 7516411, "receiptsByOrderDate": { "basis": "orderDate", "filterScope": "matchingOrders", "from": "2026-11-18", "date": "2026-11-19", "receipt": 4618555, "refund": 90000, "net": 4528555, "channels": [ { "channel": "wechat", "name": "微信", "receipt": 2184692, "refund": 0, "net": 2184692 }, { "channel": "alipay", "name": "支付宝", "receipt": 535363, "refund": 90000, "net": 445363 }, { "channel": "cash", "name": "现金", "receipt": 1310000, "refund": 0, "net": 1310000 }, { "channel": "credit_card", "name": "信用卡", "receipt": 588500, "refund": 0, "net": 588500 } ], "accounts": [ { "account": "助理微信", "receipt": 1201900, "refund": 0, "net": 1201900 }, { "account": "助理支付宝", "receipt": 218200, "refund": 0, "net": 218200 }, { "account": "助理现金", "receipt": 330000, "refund": 0, "net": 330000 }, { "account": "麦麦微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦支付宝", "receipt": 100000, "refund": 0, "net": 100000 }, { "account": "麦麦现金", "receipt": 980000, "refund": 0, "net": 980000 }, { "account": "麦麦信用卡", "receipt": 588500, "refund": 0, "net": 588500 }, { "account": "助理2微信", "receipt": 982792, "refund": 0, "net": 982792 }, { "account": "助理2支付宝", "receipt": 217163, "refund": 90000, "net": 127163 }, { "account": "助理2现金", "receipt": 0, "refund": 0, "net": 0 } ], "paymentCount": 23, "orderCount": 18 }, "totalCost": 3729244, "recipientReceipts": { "assistant": { "recipient": "assistant", "name": "娜娜", "receipt": 1750100, "refund": 0, "net": 1750100, "items": [ { "id": "", "date": "2026-11-18", "kind": "receipt", "amount": 321100, "account": "助理微信", "order_id": "", "price_lock_id": null, "order_date": "2026-11-18", "number": "MM20261118-", "paper_number": "20261118001", "customer": "对照客户甲(改)", "reference": "开单时已全额收款", "note": "客户单备注", "created": "2026-11-18T02:01:17.000Z" }, { "id": "", "date": "2026-11-18", "kind": "receipt", "amount": 330000, "account": "助理现金", "order_id": "", "price_lock_id": null, "order_date": "2026-11-18", "number": "MM20261118-", "paper_number": "20261118004", "customer": "对照客户丁", "reference": "开单时已全额收款", "note": "", "created": "2026-11-18T02:01:20.000Z" }, { "id": "", "date": "2026-11-18", "kind": "receipt", "amount": 82000, "account": "助理支付宝", "order_id": "", "price_lock_id": null, "order_date": "2026-11-18", "number": "MM20261118-", "paper_number": "20261118008", "customer": "对照驳回客户", "reference": "开单时已全额收款", "note": "", "created": "2026-11-18T02:01:26.000Z" }, { "id": "", "date": "2026-11-19", "kind": "receipt", "amount": 130800, "account": "助理微信", "order_id": "", "price_lock_id": null, "order_date": "2026-11-19", "number": "MM20261119-", "paper_number": "20261119012", "customer": "对照换货客户二", "reference": "置换差额实际收款 · HS202611190002", "note": "", "created": "2026-11-19T02:01:33.000Z" }, { "id": "", "date": "2026-11-19", "kind": "receipt", "amount": 210000, "account": "助理微信", "order_id": "", "price_lock_id": null, "order_date": "2026-11-19", "number": "MM20261119-", "paper_number": "20261119013", "customer": "当天客户(改)", "reference": "开单时已全额收款", "note": "", "created": "2026-11-19T02:01:48.000Z" }, { "id": "", "date": "2026-11-19", "kind": "receipt", "amount": 210000, "account": "助理微信", "order_id": "", "price_lock_id": null, "order_date": "2026-11-19", "number": "MM20261119-", "paper_number": "20261119014", "customer": "当天取消客户", "reference": "开单时已全额收款", "note": "", "created": "2026-11-19T02:01:57.000Z" }, { "id": "", "date": "2026-11-19", "kind": "receipt", "amount": -210000, "account": "助理微信", "order_id": "", "price_lock_id": null, "order_date": "2026-11-19", "number": "MM20261119-", "paper_number": "20261119014", "customer": "当天取消客户", "reference": "更正冲回:取消审批作废;当天录错", "note": "", "created": "2026-11-19T02:01:59.000Z" }, { "id": "", "date": "2026-11-19", "kind": "receipt", "amount": 220000, "account": "助理微信", "order_id": "", "price_lock_id": null, "order_date": "2026-11-19", "number": "MM20261119-", "paper_number": "20261119015", "customer": "滚动料池客户", "reference": "开单时已全额收款", "note": "", "created": "2026-11-19T02:02:40.000Z" }, { "id": "", "date": "2026-11-19", "kind": "receipt", "amount": 50000, "account": "助理微信", "order_id": "", "price_lock_id": null, "order_date": "2026-11-19", "number": "MM20261119-", "paper_number": "20261119016", "customer": "安全测试", "reference": "开单时已全额收款", "note": "", "created": "2026-11-19T02:02:51.000Z" }, { "id": "", "date": "2026-11-18", "kind": "receipt", "amount": 270000, "account": "助理微信", "order_id": "", "price_lock_id": "", "order_date": "2026-11-19", "number": "SJ20261118-", "paper_number": "20261119010", "customer": "对照锁价客户(改)", "reference": "", "note": "锁价备注", "created": "2026-11-18T02:01:53.000Z" }, { "id": "", "date": "2026-11-18", "kind": "receipt", "amount": 120000, "account": "助理支付宝", "order_id": null, "price_lock_id": "", "order_date": null, "number": "SJ20261118-", "paper_number": null, "customer": "对照锁价客户二", "reference": "", "note": "锁价备注", "created": "2026-11-18T02:02:02.000Z" }, { "id": "", "date": "2026-11-19", "kind": "receipt", "amount": 16200, "account": "助理支付宝", "order_id": "", "price_lock_id": "", "order_date": "2026-11-19", "number": "SJ20261118-", "paper_number": "20261119010", "customer": "对照锁价客户(改)", "reference": "", "note": "锁价备注", "created": "2026-11-19T02:01:28.000Z" } ] }, "owner": { "recipient": "owner", "name": "麦麦", "receipt": 1668500, "refund": 0, "net": 1668500, "items": [ { "id": "", "date": "2026-11-18", "kind": "receipt", "amount": 288500, "account": "麦麦信用卡", "order_id": "", "price_lock_id": null, "order_date": "2026-11-18", "number": "MM20261118-", "paper_number": "20261118003", "customer": "对照客户丙", "reference": "开单时已全额收款", "note": "老板改备注", "created": "2026-11-18T02:01:19.000Z" }, { "id": "", "date": "2026-11-18", "kind": "receipt", "amount": 980000, "account": "麦麦现金", "order_id": "", "price_lock_id": null, "order_date": "2026-11-18", "number": "MM20261118-", "paper_number": "20261118005", "customer": "对照草稿客户", "reference": "开单时已全额收款", "note": "", "created": "2026-11-18T02:01:23.000Z" }, { "id": "", "date": "2026-11-18", "kind": "receipt", "amount": 100000, "account": "麦麦支付宝", "order_id": "", "price_lock_id": null, "order_date": "2026-11-18", "number": "MM20261118-", "paper_number": "20261118009", "customer": "对照分步客户", "reference": "定金", "note": "", "created": "2026-11-18T02:01:31.000Z" }, { "id": "", "date": "2026-11-18", "kind": "receipt", "amount": 300000, "account": "麦麦信用卡", "order_id": "", "price_lock_id": null, "order_date": "2026-11-18", "number": "MM20261118-", "paper_number": "20261118009", "customer": "对照分步客户", "reference": "尾款", "note": "", "created": "2026-11-18T02:01:33.000Z" } ] }, "assistant2": { "recipient": "assistant2", "name": "小昊", "receipt": 1199955, "refund": 90000, "net": 1109955, "items": [ { "id": "", "date": "2026-11-18", "kind": "receipt", "amount": 217163, "account": "助理2支付宝", "order_id": "", "price_lock_id": null, "order_date": "2026-11-18", "number": "MM20261118-", "paper_number": "20261118002", "customer": "对照客户乙", "reference": "开单时已全额收款", "note": "", "created": "2026-11-18T02:01:18.000Z" }, { "id": "", "date": "2026-11-18", "kind": "receipt", "amount": 150000, "account": "助理2现金", "order_id": "", "price_lock_id": null, "order_date": "2026-11-18", "number": "MM20261118-", "paper_number": "20261118006", "customer": "对照取消客户", "reference": "开单时已全额收款", "note": "", "created": "2026-11-18T02:01:24.000Z" }, { "id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "order_id": "", "price_lock_id": null, "order_date": "2026-11-18", "number": "MM20261118-", "paper_number": "20261118007", "customer": "对照售后订单客户", "reference": "开单时已全额收款", "note": "", "created": "2026-11-18T02:01:25.000Z" }, { "id": "", "date": "2026-11-18", "kind": "receipt", "amount": -150000, "account": "助理2现金", "order_id": "", "price_lock_id": null, "order_date": "2026-11-18", "number": "MM20261118-", "paper_number": "20261118006", "customer": "对照取消客户", "reference": "更正冲回:取消审批作废;重复录入", "note": "", "created": "2026-11-19T02:00:45.000Z" }, { "id": "", "date": "2026-11-19", "kind": "receipt", "amount": 432792, "account": "助理2微信", "order_id": "", "price_lock_id": null, "order_date": "2026-11-19", "number": "MM20261119-", "paper_number": "20261119011", "customer": "对照换货客户", "reference": "置换差额实际收款 · HS202611190001", "note": "", "created": "2026-11-19T02:01:32.000Z" }, { "id": "", "date": "2026-11-18", "kind": "receipt", "amount": 50000, "account": "助理2微信", "order_id": null, "price_lock_id": "", "order_date": null, "number": "SJ20261118-", "paper_number": null, "customer": "对照锁价客户三", "reference": "", "note": "锁价备注", "created": "2026-11-18T02:01:55.000Z" }, { "id": "", "date": "2026-11-19", "kind": "refund", "amount": 90000, "account": "助理2支付宝", "order_id": "", "price_lock_id": null, "order_date": "2026-11-18", "number": "MM20261118-", "paper_number": "20261118007", "customer": "对照售后订单客户", "reference": "整单售后退款", "note": "", "created": "2026-11-19T02:01:05.000Z", "order_after_sale": true } ] } }, "ownershipReceipts": { "owner": { "member": "owner", "name": "麦麦", "receipt": 1380000, "refund": 0, "net": 1380000, "accounts": [ { "account": "麦麦现金", "recipient": "owner", "channel": "cash", "receipt": 980000, "refund": 0, "net": 980000, "entryCount": 1 }, { "account": "麦麦支付宝", "recipient": "owner", "channel": "alipay", "receipt": 100000, "refund": 0, "net": 100000, "entryCount": 1 }, { "account": "麦麦信用卡", "recipient": "owner", "channel": "credit_card", "receipt": 300000, "refund": 0, "net": 300000, "entryCount": 1 } ], "items": [ { "id": "", "date": "2026-11-18", "kind": "receipt", "amount": 980000, "account": "麦麦现金", "order_id": "", "price_lock_id": null, "order_date": "2026-11-18", "number": "MM20261118-", "paper_number": "20261118005", "customer": "对照草稿客户", "reference": "开单时已全额收款", "note": "", "created": "2026-11-18T02:01:23.000Z" }, { "id": "", "date": "2026-11-18", "kind": "receipt", "amount": 100000, "account": "麦麦支付宝", "order_id": "", "price_lock_id": null, "order_date": "2026-11-18", "number": "MM20261118-", "paper_number": "20261118009", "customer": "对照分步客户", "reference": "定金", "note": "", "created": "2026-11-18T02:01:31.000Z" }, { "id": "", "date": "2026-11-18", "kind": "receipt", "amount": 300000, "account": "麦麦信用卡", "order_id": "", "price_lock_id": null, "order_date": "2026-11-18", "number": "MM20261118-", "paper_number": "20261118009", "customer": "对照分步客户", "reference": "尾款", "note": "", "created": "2026-11-18T02:01:33.000Z" } ] }, "assistant": { "member": "assistant", "name": "娜娜", "receipt": 1746600, "refund": 0, "net": 1746600, "accounts": [ { "account": "助理微信", "recipient": "assistant", "channel": "wechat", "receipt": 991900, "refund": 0, "net": 991900, "entryCount": 7 }, { "account": "助理现金", "recipient": "assistant", "channel": "cash", "receipt": 330000, "refund": 0, "net": 330000, "entryCount": 1 }, { "account": "助理支付宝", "recipient": "assistant", "channel": "alipay", "receipt": 136200, "refund": 0, "net": 136200, "entryCount": 2 }, { "account": "麦麦信用卡", "recipient": "owner", "channel": "credit_card", "receipt": 288500, "refund": 0, "net": 288500, "entryCount": 1 } ], "items": [ { "id": "", "date": "2026-11-18", "kind": "receipt", "amount": 321100, "account": "助理微信", "order_id": "", "price_lock_id": null, "order_date": "2026-11-18", "number": "MM20261118-", "paper_number": "20261118001", "customer": "对照客户甲(改)", "reference": "开单时已全额收款", "note": "客户单备注", "created": "2026-11-18T02:01:17.000Z" }, { "id": "", "date": "2026-11-18", "kind": "receipt", "amount": 330000, "account": "助理现金", "order_id": "", "price_lock_id": null, "order_date": "2026-11-18", "number": "MM20261118-", "paper_number": "20261118004", "customer": "对照客户丁", "reference": "开单时已全额收款", "note": "", "created": "2026-11-18T02:01:20.000Z" }, { "id": "", "date": "2026-11-19", "kind": "receipt", "amount": 130800, "account": "助理微信", "order_id": "", "price_lock_id": null, "order_date": "2026-11-19", "number": "MM20261119-", "paper_number": "20261119012", "customer": "对照换货客户二", "reference": "置换差额实际收款 · HS202611190002", "note": "", "created": "2026-11-19T02:01:33.000Z" }, { "id": "", "date": "2026-11-19", "kind": "receipt", "amount": 210000, "account": "助理微信", "order_id": "", "price_lock_id": null, "order_date": "2026-11-19", "number": "MM20261119-", "paper_number": "20261119014", "customer": "当天取消客户", "reference": "开单时已全额收款", "note": "", "created": "2026-11-19T02:01:57.000Z" }, { "id": "", "date": "2026-11-19", "kind": "receipt", "amount": -210000, "account": "助理微信", "order_id": "", "price_lock_id": null, "order_date": "2026-11-19", "number": "MM20261119-", "paper_number": "20261119014", "customer": "当天取消客户", "reference": "更正冲回:取消审批作废;当天录错", "note": "", "created": "2026-11-19T02:01:59.000Z" }, { "id": "", "date": "2026-11-19", "kind": "receipt", "amount": 220000, "account": "助理微信", "order_id": "", "price_lock_id": null, "order_date": "2026-11-19", "number": "MM20261119-", "paper_number": "20261119015", "customer": "滚动料池客户", "reference": "开单时已全额收款", "note": "", "created": "2026-11-19T02:02:40.000Z" }, { "id": "", "date": "2026-11-19", "kind": "receipt", "amount": 50000, "account": "助理微信", "order_id": "", "price_lock_id": null, "order_date": "2026-11-19", "number": "MM20261119-", "paper_number": "20261119016", "customer": "安全测试", "reference": "开单时已全额收款", "note": "", "created": "2026-11-19T02:02:51.000Z" }, { "id": "", "date": "2026-11-18", "kind": "receipt", "amount": 270000, "account": "助理微信", "order_id": "", "price_lock_id": "", "order_date": "2026-11-19", "number": "SJ20261118-", "paper_number": "20261119010", "customer": "对照锁价客户(改)", "reference": "", "note": "锁价备注", "created": "2026-11-18T02:01:53.000Z" }, { "id": "", "date": "2026-11-18", "kind": "receipt", "amount": 120000, "account": "助理支付宝", "order_id": null, "price_lock_id": "", "order_date": null, "number": "SJ20261118-", "paper_number": null, "customer": "对照锁价客户二", "reference": "", "note": "锁价备注", "created": "2026-11-18T02:02:02.000Z" }, { "id": "", "date": "2026-11-19", "kind": "receipt", "amount": 16200, "account": "助理支付宝", "order_id": "", "price_lock_id": "", "order_date": "2026-11-19", "number": "SJ20261118-", "paper_number": "20261119010", "customer": "对照锁价客户(改)", "reference": "", "note": "锁价备注", "created": "2026-11-19T02:01:28.000Z" }, { "id": "", "date": "2026-11-18", "kind": "receipt", "amount": 288500, "account": "麦麦信用卡", "order_id": "", "price_lock_id": null, "order_date": "2026-11-18", "number": "MM20261118-", "paper_number": "20261118003", "customer": "对照客户丙", "reference": "开单时已全额收款", "note": "老板改备注", "created": "2026-11-18T02:01:19.000Z" } ] }, "assistant2": { "member": "assistant2", "name": "小昊", "receipt": 1491955, "refund": 90000, "net": 1401955, "accounts": [ { "account": "助理支付宝", "recipient": "assistant", "channel": "alipay", "receipt": 82000, "refund": 0, "net": 82000, "entryCount": 1 }, { "account": "助理微信", "recipient": "assistant", "channel": "wechat", "receipt": 210000, "refund": 0, "net": 210000, "entryCount": 1 }, { "account": "助理2支付宝", "recipient": "assistant2", "channel": "alipay", "receipt": 217163, "refund": 90000, "net": 127163, "entryCount": 2 }, { "account": "助理2现金", "recipient": "assistant2", "channel": "cash", "receipt": 0, "refund": 0, "net": 0, "entryCount": 2 }, { "account": "助理2微信", "recipient": "assistant2", "channel": "wechat", "receipt": 982792, "refund": 0, "net": 982792, "entryCount": 3 } ], "items": [ { "id": "", "date": "2026-11-18", "kind": "receipt", "amount": 82000, "account": "助理支付宝", "order_id": "", "price_lock_id": null, "order_date": "2026-11-18", "number": "MM20261118-", "paper_number": "20261118008", "customer": "对照驳回客户", "reference": "开单时已全额收款", "note": "", "created": "2026-11-18T02:01:26.000Z" }, { "id": "", "date": "2026-11-19", "kind": "receipt", "amount": 210000, "account": "助理微信", "order_id": "", "price_lock_id": null, "order_date": "2026-11-19", "number": "MM20261119-", "paper_number": "20261119013", "customer": "当天客户(改)", "reference": "开单时已全额收款", "note": "", "created": "2026-11-19T02:01:48.000Z" }, { "id": "", "date": "2026-11-18", "kind": "receipt", "amount": 217163, "account": "助理2支付宝", "order_id": "", "price_lock_id": null, "order_date": "2026-11-18", "number": "MM20261118-", "paper_number": "20261118002", "customer": "对照客户乙", "reference": "开单时已全额收款", "note": "", "created": "2026-11-18T02:01:18.000Z" }, { "id": "", "date": "2026-11-18", "kind": "receipt", "amount": 150000, "account": "助理2现金", "order_id": "", "price_lock_id": null, "order_date": "2026-11-18", "number": "MM20261118-", "paper_number": "20261118006", "customer": "对照取消客户", "reference": "开单时已全额收款", "note": "", "created": "2026-11-18T02:01:24.000Z" }, { "id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "order_id": "", "price_lock_id": null, "order_date": "2026-11-18", "number": "MM20261118-", "paper_number": "20261118007", "customer": "对照售后订单客户", "reference": "开单时已全额收款", "note": "", "created": "2026-11-18T02:01:25.000Z" }, { "id": "", "date": "2026-11-18", "kind": "receipt", "amount": -150000, "account": "助理2现金", "order_id": "", "price_lock_id": null, "order_date": "2026-11-18", "number": "MM20261118-", "paper_number": "20261118006", "customer": "对照取消客户", "reference": "更正冲回:取消审批作废;重复录入", "note": "", "created": "2026-11-19T02:00:45.000Z" }, { "id": "", "date": "2026-11-19", "kind": "receipt", "amount": 432792, "account": "助理2微信", "order_id": "", "price_lock_id": null, "order_date": "2026-11-19", "number": "MM20261119-", "paper_number": "20261119011", "customer": "对照换货客户", "reference": "置换差额实际收款 · HS202611190001", "note": "", "created": "2026-11-19T02:01:32.000Z" }, { "id": "", "date": "2026-11-18", "kind": "receipt", "amount": 50000, "account": "助理2微信", "order_id": null, "price_lock_id": "", "order_date": null, "number": "SJ20261118-", "paper_number": null, "customer": "对照锁价客户三", "reference": "", "note": "锁价备注", "created": "2026-11-18T02:01:55.000Z" }, { "id": "", "date": "2026-11-19", "kind": "refund", "amount": 90000, "account": "助理2支付宝", "order_id": "", "price_lock_id": null, "order_date": "2026-11-18", "number": "MM20261118-", "paper_number": "20261118007", "customer": "对照售后订单客户", "reference": "整单售后退款", "note": "", "created": "2026-11-19T02:01:05.000Z", "order_after_sale": true } ] } }, "ownershipBusiness": { "owner": { "member": "owner", "name": "麦麦", "basis": "orderDate", "from": "2026-11-18", "date": "2026-11-19", "recordCount": 3, "orderCount": 2, "afterSaleCount": 1, "draftCount": 0, "sales": 1380000, "netReceipts": 1380000, "totalCost": 1251800, "knownTotalCost": 1251800, "selfCost": 1251800, "knownSelfCost": 1251800, "otherCost": 0, "knownOtherCost": 0, "profit": 128200, "knownProfit": 128200, "incomplete": false, "missingCostCount": 0, "pendingCostCount": 0, "unknownProfitCount": 0, "costByPayer": { "owner": { "member": "owner", "name": "麦麦", "totalCost": 1251800, "knownTotalCost": 1251800, "missingCount": 0, "pendingCount": 0 }, "assistant": { "member": "assistant", "name": "娜娜", "totalCost": 0, "knownTotalCost": 0, "missingCount": 0, "pendingCount": 0 }, "assistant2": { "member": "assistant2", "name": "小昊", "totalCost": 0, "knownTotalCost": 0, "missingCount": 0, "pendingCount": 0 } }, "poolMaterial": { "mg": 0, "amount": 0, "knownAmount": 0, "missingCount": 0, "byPayer": { "owner": { "amount": 0, "knownAmount": 0 }, "assistant": { "amount": 0, "knownAmount": 0 }, "assistant2": { "amount": 0, "knownAmount": 0 } }, "hasPriceLocks": false, "days": [], "otherCosts": { "knownAmount": 1251800, "amount": 1251800 } }, "ownerAdvances": { "basis": "orderDate", "from": "2026-11-18", "date": "2026-11-19", "days": [ { "date": "2026-11-18", "items": [ { "date": "2026-11-18", "kind": "order", "id": "", "number": "MM20261118-", "paperNumber": "20261118005", "customer": "对照草稿客户", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金手镯", "component": "unallocated", "poolId": null, "poolMaterial": false, "allocationPending": false, "amount": 900000, "estimatedAmount": null, "status": "recorded" }, { "date": "2026-11-18", "kind": "order", "id": "", "number": "MM20261118-", "paperNumber": "20261118009", "customer": "对照分步客户", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金项链", "component": "unallocated", "poolId": null, "poolMaterial": false, "allocationPending": false, "amount": 350000, "estimatedAmount": null, "status": "recorded" }, { "date": "2026-11-18", "kind": "order", "id": "", "number": "MM20261118-", "paperNumber": "20261118009", "customer": "对照分步客户", "name": "信用卡手续费(6‰)", "source": "2026-11-18", "component": "fee", "poolId": null, "poolMaterial": false, "allocationPending": false, "amount": 1800, "estimatedAmount": null, "status": "recorded" } ], "knownAmount": 1251800, "amount": 1251800, "missingCount": 0, "pendingCount": 0, "poolAmount": 0, "knownPoolAmount": 0, "otherAmount": 1251800, "knownOtherAmount": 1251800 } ] }, "currentAccount": { "basis": "orderDate", "from": "2026-11-18", "date": "2026-11-19", "days": [ { "date": "2026-11-18", "recordCount": 3, "knownMaterialCost": 0, "knownOtherCost": 1251800, "knownProfit": 128200, "ownerNetReceipts": 1380000, "missingCostCount": 0, "pendingCostCount": 0, "unknownProfitCount": 0, "incomplete": false, "materialCost": 0, "otherCost": 1251800, "profit": 128200, "knownAmount": 0, "amount": 0 } ] }, "difference": { "amount": 0, "reconciled": true, "reasons": [] }, "equation": { "basis": "netReceipts", "revenue": 1380000, "totalCost": 1251800, "profit": 128200, "complete": true }, "settlement": { "available": true, "basis": "cumulative-through-date", "from": "2026-11-18", "date": "2026-11-19", "dueOut": 0, "dueIn": 637681, "partial": false, "pendingCount": 0, "legacyCount": 0, "notice": "截至所选日的累计往来,已抵扣实际转账与代收;逐人核对,不将他人付款成本直接当作应转。", "counterparts": [ { "member": "assistant", "name": "娜娜", "dueOut": 0, "dueIn": 637681, "openingDue": 0, "periodNew": -657681, "periodTransferred": -20000, "closingDue": -637681, "offset": 290650, "period": { "obligationNet": -657681, "transferred": -20000, "receivedForNet": 288500, "advancedNet": -946181 } }, { "member": "assistant2", "name": "小昊", "dueOut": 0, "dueIn": 0, "openingDue": 0, "periodNew": 0, "periodTransferred": 0, "closingDue": 0, "offset": 0, "period": { "obligationNet": 0, "transferred": 0, "receivedForNet": 0, "advancedNet": 0 } } ] }, "hasActivity": true }, "assistant": { "member": "assistant", "name": "娜娜", "basis": "orderDate", "from": "2026-11-18", "date": "2026-11-19", "recordCount": 9, "orderCount": 8, "afterSaleCount": 1, "draftCount": 0, "sales": 1626600, "netReceipts": 1746600, "totalCost": 1314924, "knownTotalCost": 1314924, "selfCost": 621593, "knownSelfCost": 621593, "otherCost": 693331, "knownOtherCost": 693331, "profit": 311676, "knownProfit": 311676, "incomplete": false, "missingCostCount": 0, "pendingCostCount": 0, "unknownProfitCount": 0, "costByPayer": { "owner": { "member": "owner", "name": "麦麦", "totalCost": 693331, "knownTotalCost": 693331, "missingCount": 0, "pendingCount": 0 }, "assistant": { "member": "assistant", "name": "娜娜", "totalCost": 621593, "knownTotalCost": 621593, "missingCount": 0, "pendingCount": 0 }, "assistant2": { "member": "assistant2", "name": "小昊", "totalCost": 0, "knownTotalCost": 0, "missingCount": 0, "pendingCount": 0 } }, "poolMaterial": { "mg": 5000, "amount": 453833, "knownAmount": 453833, "missingCount": 0, "byPayer": { "owner": { "amount": 0, "knownAmount": 0 }, "assistant": { "amount": 453833, "knownAmount": 453833 }, "assistant2": { "amount": 0, "knownAmount": 0 } }, "hasPriceLocks": false, "days": [ { "mg": 3000, "amount": 271935, "knownAmount": 271935, "missingCount": 0, "byPayer": { "owner": { "amount": 0, "knownAmount": 0 }, "assistant": { "amount": 271935, "knownAmount": 271935 }, "assistant2": { "amount": 0, "knownAmount": 0 } }, "poolId": "2026-11-18", "date": "2026-11-18", "averageRate": 90645, "sources": [ { "kind": "public", "member": null, "priceLocked": false, "mg": 3000, "averageRate": 90645, "amount": 271935, "knownAmount": 271935, "missingCount": 0 } ] }, { "mg": 2000, "amount": 181898, "knownAmount": 181898, "missingCount": 0, "byPayer": { "owner": { "amount": 0, "knownAmount": 0 }, "assistant": { "amount": 181898, "knownAmount": 181898 }, "assistant2": { "amount": 0, "knownAmount": 0 } }, "poolId": "2026-11-19", "date": "2026-11-19", "averageRate": 90949, "sources": [ { "kind": "public", "member": null, "priceLocked": false, "mg": 2000, "averageRate": 90949, "amount": 181898, "knownAmount": 181898, "missingCount": 0 } ] } ], "otherCosts": { "knownAmount": 861091, "amount": 861091 } }, "ownerAdvances": { "basis": "orderDate", "from": "2026-11-18", "date": "2026-11-19", "days": [ { "date": "2026-11-18", "items": [ { "date": "2026-11-18", "kind": "order", "id": "", "number": "MM20261118-", "paperNumber": "20261118001", "customer": "对照客户甲(改)", "name": "料费成本", "source": "商品 1 · 足金999", "component": "material", "poolId": null, "poolMaterial": false, "allocationPending": false, "amount": 286000, "estimatedAmount": null, "status": "recorded" }, { "date": "2026-11-18", "kind": "order", "id": "", "number": "MM20261118-", "paperNumber": "20261118003", "customer": "对照客户丙", "name": "货品成本(原单未分项)", "source": "商品 1 · 金镶玉吊坠", "component": "unallocated", "poolId": null, "poolMaterial": false, "allocationPending": false, "amount": 150000, "estimatedAmount": null, "status": "recorded" }, { "date": "2026-11-18", "kind": "order", "id": "", "number": "MM20261118-", "paperNumber": "20261118003", "customer": "对照客户丙", "name": "信用卡手续费(6‰)", "source": "2026-11-18", "component": "fee", "poolId": null, "poolMaterial": false, "allocationPending": false, "amount": 1731, "estimatedAmount": null, "status": "recorded" } ], "knownAmount": 437731, "amount": 437731, "missingCount": 0, "pendingCount": 0, "poolAmount": 0, "knownPoolAmount": 0, "otherAmount": 437731, "knownOtherAmount": 437731 }, { "date": "2026-11-19", "items": [ { "date": "2026-11-19", "kind": "order", "id": "", "number": "MM20261119-", "paperNumber": "20261119010", "customer": "对照锁价客户(改)", "name": "料费成本", "source": "商品 1 · 足金999 · 原锁价采购", "component": "material", "poolId": null, "poolMaterial": false, "allocationPending": false, "amount": 255000, "estimatedAmount": null, "status": "recorded" }, { "date": "2026-11-19", "kind": "order", "id": "", "number": "MM20261119-", "paperNumber": "20261119010", "customer": "对照锁价客户(改)", "name": "实际快递", "source": "2026-11-19", "component": "fee", "poolId": null, "poolMaterial": false, "allocationPending": false, "amount": 600, "estimatedAmount": null, "status": "recorded" } ], "knownAmount": 255600, "amount": 255600, "missingCount": 0, "pendingCount": 0, "poolAmount": 0, "knownPoolAmount": 0, "otherAmount": 255600, "knownOtherAmount": 255600 } ] }, "currentAccount": { "basis": "orderDate", "from": "2026-11-18", "date": "2026-11-19", "days": [ { "date": "2026-11-18", "recordCount": 4, "knownMaterialCost": 286000, "knownOtherCost": 151731, "knownProfit": 222584, "ownerNetReceipts": 288500, "missingCostCount": 0, "pendingCostCount": 0, "unknownProfitCount": 0, "incomplete": false, "materialCost": 286000, "otherCost": 151731, "profit": 222584, "knownAmount": 371815, "amount": 371815 }, { "date": "2026-11-19", "recordCount": 5, "knownMaterialCost": 255000, "knownOtherCost": 600, "knownProfit": 89092, "ownerNetReceipts": 0, "missingCostCount": 0, "pendingCostCount": 0, "unknownProfitCount": 0, "incomplete": false, "materialCost": 255000, "otherCost": 600, "profit": 89092, "knownAmount": 344692, "amount": 344692 } ] }, "difference": { "amount": 120000, "reconciled": false, "reasons": [ { "code": "price_lock_timing", "text": "锁价定金、尾款与退款按实际发生日核对,销售与利润按成交单日期核算。" }, { "code": "refund_or_cancellation", "text": "退货或作废已按原账冲回销售;尚未退清的客户款或不同日期的退款不作为销售利润。" } ] }, "equation": { "basis": "sales", "revenue": 1626600, "totalCost": 1314924, "profit": 311676, "complete": true }, "settlement": { "available": true, "basis": "cumulative-through-date", "from": "2026-11-18", "date": "2026-11-19", "dueOut": 678881, "dueIn": 0, "partial": false, "pendingCount": 0, "legacyCount": 0, "notice": "截至所选日的累计往来,已抵扣实际转账与代收;逐人核对,不将他人付款成本直接当作应转。", "counterparts": [ { "member": "owner", "name": "麦麦", "dueOut": 637681, "dueIn": 0, "openingDue": 0, "periodNew": 657681, "periodTransferred": 20000, "closingDue": 637681, "offset": 290650, "period": { "obligationNet": 657681, "transferred": 20000, "receivedForNet": -288500, "advancedNet": 946181 } }, { "member": "assistant2", "name": "小昊", "dueOut": 41200, "dueIn": 0, "openingDue": 0, "periodNew": 41200, "periodTransferred": 0, "closingDue": 41200, "offset": 250800, "period": { "obligationNet": 41200, "transferred": 0, "receivedForNet": 292000, "advancedNet": -250800 } } ] }, "hasActivity": true }, "assistant2": { "member": "assistant2", "name": "小昊", "basis": "orderDate", "from": "2026-11-18", "date": "2026-11-19", "recordCount": 7, "orderCount": 6, "afterSaleCount": 1, "draftCount": 0, "sales": 1351955, "netReceipts": 1401955, "totalCost": 1162520, "knownTotalCost": 1162520, "selfCost": 911720, "knownSelfCost": 911720, "otherCost": 250800, "knownOtherCost": 250800, "profit": 189435, "knownProfit": 189435, "incomplete": false, "missingCostCount": 0, "pendingCostCount": 0, "unknownProfitCount": 0, "costByPayer": { "owner": { "member": "owner", "name": "麦麦", "totalCost": 0, "knownTotalCost": 0, "missingCount": 0, "pendingCount": 0 }, "assistant": { "member": "assistant", "name": "娜娜", "totalCost": 250800, "knownTotalCost": 250800, "missingCount": 0, "pendingCount": 0 }, "assistant2": { "member": "assistant2", "name": "小昊", "totalCost": 911720, "knownTotalCost": 911720, "missingCount": 0, "pendingCount": 0 } }, "poolMaterial": { "mg": 0, "amount": 0, "knownAmount": 0, "missingCount": 0, "byPayer": { "owner": { "amount": 0, "knownAmount": 0 }, "assistant": { "amount": 0, "knownAmount": 0 }, "assistant2": { "amount": 0, "knownAmount": 0 } }, "hasPriceLocks": false, "days": [], "otherCosts": { "knownAmount": 1162520, "amount": 1162520 } }, "ownerAdvances": { "basis": "orderDate", "from": "2026-11-18", "date": "2026-11-19", "days": [] }, "currentAccount": { "basis": "orderDate", "from": "2026-11-18", "date": "2026-11-19", "days": [ { "date": "2026-11-18", "recordCount": 4, "knownMaterialCost": 0, "knownOtherCost": 0, "knownProfit": 96163, "ownerNetReceipts": 0, "missingCostCount": 0, "pendingCostCount": 0, "unknownProfitCount": 0, "incomplete": false, "materialCost": 0, "otherCost": 0, "profit": 96163, "knownAmount": 96163, "amount": 96163 }, { "date": "2026-11-19", "recordCount": 3, "knownMaterialCost": 0, "knownOtherCost": 0, "knownProfit": 93272, "ownerNetReceipts": 0, "missingCostCount": 0, "pendingCostCount": 0, "unknownProfitCount": 0, "incomplete": false, "materialCost": 0, "otherCost": 0, "profit": 93272, "knownAmount": 93272, "amount": 93272 } ] }, "difference": { "amount": 50000, "reconciled": false, "reasons": [ { "code": "price_lock_timing", "text": "锁价定金、尾款与退款按实际发生日核对,销售与利润按成交单日期核算。" }, { "code": "order_after_sale", "text": "订单售后按实际发生日确认退款和利润调整,原开单日结果保留;扣留客户款已计入最终结果。" }, { "code": "refund_or_cancellation", "text": "退货或作废已按原账冲回销售;尚未退清的客户款或不同日期的退款不作为销售利润。" } ] }, "equation": { "basis": "sales", "revenue": 1351955, "totalCost": 1162520, "profit": 189435, "complete": true }, "settlement": { "available": true, "basis": "cumulative-through-date", "from": "2026-11-18", "date": "2026-11-19", "dueOut": 0, "dueIn": 41200, "partial": false, "pendingCount": 0, "legacyCount": 0, "notice": "截至所选日的累计往来,已抵扣实际转账与代收;逐人核对,不将他人付款成本直接当作应转。", "counterparts": [ { "member": "owner", "name": "麦麦", "dueOut": 0, "dueIn": 0, "openingDue": 0, "periodNew": 0, "periodTransferred": 0, "closingDue": 0, "offset": 0, "period": { "obligationNet": 0, "transferred": 0, "receivedForNet": 0, "advancedNet": 0 } }, { "member": "assistant", "name": "娜娜", "dueOut": 0, "dueIn": 41200, "openingDue": 0, "periodNew": -41200, "periodTransferred": 0, "closingDue": -41200, "offset": 250800, "period": { "obligationNet": -41200, "transferred": 0, "receivedForNet": -292000, "advancedNet": 250800 } } ] }, "hasActivity": true } }, "dailyProfits": { "basis": "orderDate", "from": "2026-11-18", "date": "2026-11-19", "rows": [ { "recordCount": 3, "orderCount": 2, "afterSaleCount": 1, "draftCount": 0, "sales": 1380000, "knownTotalCost": 1251800, "knownProfit": 128200, "unknownCostCount": 0, "unknownProfitCount": 0, "incomplete": false, "date": "2026-11-18", "member": "owner", "name": "麦麦", "totalCost": 1251800, "profit": 128200 }, { "recordCount": 4, "orderCount": 3, "afterSaleCount": 1, "draftCount": 0, "sales": 939600, "knownTotalCost": 717016, "knownProfit": 222584, "unknownCostCount": 0, "unknownProfitCount": 0, "incomplete": false, "date": "2026-11-18", "member": "assistant", "name": "娜娜", "totalCost": 717016, "profit": 222584 }, { "recordCount": 4, "orderCount": 4, "afterSaleCount": 0, "draftCount": 0, "sales": 799163, "knownTotalCost": 703000, "knownProfit": 96163, "unknownCostCount": 0, "unknownProfitCount": 0, "incomplete": false, "date": "2026-11-18", "member": "assistant2", "name": "小昊", "totalCost": 703000, "profit": 96163 }, { "recordCount": 5, "orderCount": 5, "afterSaleCount": 0, "draftCount": 0, "sales": 687000, "knownTotalCost": 597908, "knownProfit": 89092, "unknownCostCount": 0, "unknownProfitCount": 0, "incomplete": false, "date": "2026-11-19", "member": "assistant", "name": "娜娜", "totalCost": 597908, "profit": 89092 }, { "recordCount": 3, "orderCount": 2, "afterSaleCount": 1, "draftCount": 0, "sales": 552792, "knownTotalCost": 459520, "knownProfit": 93272, "unknownCostCount": 0, "unknownProfitCount": 0, "incomplete": false, "date": "2026-11-19", "member": "assistant2", "name": "小昊", "totalCost": 459520, "profit": 93272 } ], "summary": { "recordCount": 19, "orderCount": 16, "afterSaleCount": 3, "draftCount": 0, "sales": 4358555, "knownTotalCost": 3729244, "knownProfit": 629311, "unknownCostCount": 0, "unknownProfitCount": 0, "incomplete": false, "totalCost": 3729244, "profit": 629311 } }, "dailyFunds": { "date": "2026-11-19", "from": "2026-11-18", "team": { "from": "2026-11-18", "to": "2026-11-19", "date": "2026-11-19", "members": [ { "id": "owner", "name": "麦麦" }, { "id": "assistant", "name": "娜娜" }, { "id": "assistant2", "name": "小昊" } ], "balances": [ { "member": "owner", "receipts": 1668500, "refunds": 0, "outlays": 4020131, "transferIn": 20000, "transferOut": 0, "openingChange": 0, "periodChange": -2331631, "cumulativeChange": -2331631, "cashBalance": -2331631, "balanceType": "recorded-change", "notice": "仅三人新账已登记的资金增减,不含真实期初余额" }, { "member": "assistant", "receipts": 1750100, "refunds": 0, "outlays": 1870710, "transferIn": 0, "transferOut": 20000, "openingChange": 0, "periodChange": -140610, "cumulativeChange": -140610, "cashBalance": -140610, "balanceType": "recorded-change", "notice": "仅三人新账已登记的资金增减,不含真实期初余额" }, { "member": "assistant2", "receipts": 1199955, "refunds": 90000, "outlays": 1627720, "transferIn": 0, "transferOut": 0, "openingChange": 0, "periodChange": -517765, "cumulativeChange": -517765, "cashBalance": -517765, "balanceType": "recorded-change", "notice": "仅三人新账已登记的资金增减,不含真实期初余额" } ], "pairs": [ { "id": "owner:assistant", "members": [ "owner", "assistant" ], "net": -637681, "obligationNet": -657681, "transferred": -20000, "receivedForNet": 288500, "advancedNet": -946181, "offset": 290650, "due": 637681, "fromMember": "assistant", "toMember": "owner", "direction": "transfer", "period": { "obligationNet": -657681, "transferred": -20000, "receivedForNet": 288500, "advancedNet": -946181 }, "entries": [ { "id": "", "date": "2026-11-18", "kind": "advance", "project": "商品实际垫付", "fromMember": "assistant", "toMember": "owner", "amount": 286000, "revision": 1, "sourceKind": "order", "sourceId": "" }, { "id": "", "date": "2026-11-18", "kind": "receipt", "project": "客户款代收", "fromMember": "owner", "toMember": "assistant", "amount": 288500, "revision": 1, "sourceKind": "order", "sourceId": "" }, { "id": "", "date": "2026-11-18", "kind": "advance", "project": "订单实际费用", "fromMember": "assistant", "toMember": "owner", "amount": 1731, "revision": 1, "sourceKind": "order", "sourceId": "" }, { "id": "", "date": "2026-11-18", "kind": "advance", "project": "商品实际垫付", "fromMember": "assistant", "toMember": "owner", "amount": 150000, "revision": 1, "sourceKind": "order", "sourceId": "" }, { "id": "", "date": "2026-11-18", "kind": "advance", "project": "锁价实际购料", "fromMember": "assistant", "toMember": "owner", "amount": 255000, "revision": 1, "sourceKind": "price_lock", "sourceId": "" }, { "id": "", "date": "2026-11-18", "kind": "advance", "project": "锁价实际购料", "fromMember": "assistant", "toMember": "owner", "amount": 255000, "revision": 1, "sourceKind": "price_lock", "sourceId": "" }, { "id": "", "date": "2026-11-18", "kind": "reimbursement", "project": "独立支出报销 · 对照邮寄", "fromMember": "owner", "toMember": "assistant", "amount": 1500, "revision": 1, "sourceKind": "reimbursement", "sourceId": "" }, { "id": "", "date": "2026-11-18", "kind": "reimbursement", "project": "独立支出报销 · 对照包装", "fromMember": "owner", "toMember": "assistant", "amount": 650, "revision": 1, "sourceKind": "reimbursement", "sourceId": "" }, { "id": "", "date": "2026-11-19", "kind": "advance", "project": "订单实际费用", "fromMember": "assistant", "toMember": "owner", "amount": 600, "revision": 1, "sourceKind": "order", "sourceId": "" } ] }, { "id": "owner:assistant2", "members": [ "owner", "assistant2" ], "net": 0, "obligationNet": 0, "transferred": 0, "receivedForNet": 0, "advancedNet": 0, "offset": 0, "due": 0, "fromMember": null, "toMember": null, "direction": "none", "period": { "obligationNet": 0, "transferred": 0, "receivedForNet": 0, "advancedNet": 0 }, "entries": [] }, { "id": "assistant:assistant2", "members": [ "assistant", "assistant2" ], "net": 41200, "obligationNet": 41200, "transferred": 0, "receivedForNet": 292000, "advancedNet": -250800, "offset": 250800, "due": 41200, "fromMember": "assistant", "toMember": "assistant2", "direction": "transfer", "period": { "obligationNet": 41200, "transferred": 0, "receivedForNet": 292000, "advancedNet": -250800 }, "entries": [ { "id": "", "date": "2026-11-18", "kind": "receipt", "project": "客户款代收", "fromMember": "assistant", "toMember": "assistant2", "amount": 82000, "revision": 2, "sourceKind": "order", "sourceId": "" }, { "id": "", "date": "2026-11-18", "kind": "advance", "project": "商品实际垫付", "fromMember": "assistant2", "toMember": "assistant", "amount": 70000, "revision": 2, "sourceKind": "order", "sourceId": "" }, { "id": "", "date": "2026-11-19", "kind": "receipt", "project": "客户款代收", "fromMember": "assistant", "toMember": "assistant2", "amount": 210000, "revision": 3, "sourceKind": "order", "sourceId": "" }, { "id": "", "date": "2026-11-19", "kind": "advance", "project": "订单实际费用", "fromMember": "assistant2", "toMember": "assistant", "amount": 800, "revision": 3, "sourceKind": "order", "sourceId": "" }, { "id": "", "date": "2026-11-19", "kind": "advance", "project": "商品实际垫付", "fromMember": "assistant2", "toMember": "assistant", "amount": 180000, "revision": 3, "sourceKind": "order", "sourceId": "" } ] } ], "entries": [ { "id": "", "date": "2026-11-18", "kind": "advance", "project": "商品实际垫付", "fromMember": "assistant", "toMember": "owner", "amount": 286000, "revision": 1, "sourceKind": "order", "sourceId": "" }, { "id": "", "date": "2026-11-18", "kind": "receipt", "project": "客户款代收", "fromMember": "owner", "toMember": "assistant", "amount": 288500, "revision": 1, "sourceKind": "order", "sourceId": "" }, { "id": "", "date": "2026-11-18", "kind": "advance", "project": "订单实际费用", "fromMember": "assistant", "toMember": "owner", "amount": 1731, "revision": 1, "sourceKind": "order", "sourceId": "" }, { "id": "", "date": "2026-11-18", "kind": "advance", "project": "商品实际垫付", "fromMember": "assistant", "toMember": "owner", "amount": 150000, "revision": 1, "sourceKind": "order", "sourceId": "" }, { "id": "", "date": "2026-11-18", "kind": "advance", "project": "锁价实际购料", "fromMember": "assistant", "toMember": "owner", "amount": 255000, "revision": 1, "sourceKind": "price_lock", "sourceId": "" }, { "id": "", "date": "2026-11-18", "kind": "advance", "project": "锁价实际购料", "fromMember": "assistant", "toMember": "owner", "amount": 255000, "revision": 1, "sourceKind": "price_lock", "sourceId": "" }, { "id": "", "date": "2026-11-18", "kind": "reimbursement", "project": "独立支出报销 · 对照邮寄", "fromMember": "owner", "toMember": "assistant", "amount": 1500, "revision": 1, "sourceKind": "reimbursement", "sourceId": "" }, { "id": "", "date": "2026-11-18", "kind": "reimbursement", "project": "独立支出报销 · 对照包装", "fromMember": "owner", "toMember": "assistant", "amount": 650, "revision": 1, "sourceKind": "reimbursement", "sourceId": "" }, { "id": "", "date": "2026-11-18", "kind": "receipt", "project": "客户款代收", "fromMember": "assistant", "toMember": "assistant2", "amount": 82000, "revision": 2, "sourceKind": "order", "sourceId": "" }, { "id": "", "date": "2026-11-18", "kind": "advance", "project": "商品实际垫付", "fromMember": "assistant2", "toMember": "assistant", "amount": 70000, "revision": 2, "sourceKind": "order", "sourceId": "" }, { "id": "", "date": "2026-11-19", "kind": "advance", "project": "订单实际费用", "fromMember": "assistant", "toMember": "owner", "amount": 600, "revision": 1, "sourceKind": "order", "sourceId": "" }, { "id": "", "date": "2026-11-19", "kind": "receipt", "project": "客户款代收", "fromMember": "assistant", "toMember": "assistant2", "amount": 210000, "revision": 3, "sourceKind": "order", "sourceId": "" }, { "id": "", "date": "2026-11-19", "kind": "advance", "project": "订单实际费用", "fromMember": "assistant2", "toMember": "assistant", "amount": 800, "revision": 3, "sourceKind": "order", "sourceId": "" }, { "id": "", "date": "2026-11-19", "kind": "advance", "project": "商品实际垫付", "fromMember": "assistant2", "toMember": "assistant", "amount": 180000, "revision": 3, "sourceKind": "order", "sourceId": "" } ], "transfers": [ { "id": "", "date": "2026-11-18", "fromMember": "assistant", "toMember": "owner", "amount": 10000, "note": "对照转账", "actor": "麦麦" }, { "id": "", "date": "2026-11-19", "fromMember": "assistant", "toMember": "owner", "amount": 10000, "note": "对照转账二", "actor": "麦麦" } ], "revision": "91d8e840360bd6750d7d9078c202052d4754bf75b4d2400dcc33adc06ef7598e", "pending": [], "legacyReadOnly": true, "cutover": "仅已启用的三人新账事件;旧结算不自动迁入", "transfersDeducted": true }, "readOnly": true, "hasRecords": true, "pendingCount": 0, "legacyReadOnly": true, "transfersNotDeducted": false, "reimbursements": [ { "id": "", "date": "2026-11-18", "items": [ { "id": "", "name": "对照邮寄", "amount": 1500, "member": "owner", "sourceType": "independent", "sourceKey": "", "usedAmount": 0, "remainingAmount": 1500 }, { "id": "", "name": "对照包装", "amount": 650, "member": "owner", "sourceType": "independent", "sourceKey": "", "usedAmount": 0, "remainingAmount": 650 } ], "total": 2150, "note": "补充备注", "status": "approved", "revision": 3, "requester_id": "", "requester_name": "助理", "reviewer_id": "", "reviewer_name": "麦麦", "reviewed": "2026-11-18T02:02:24.000Z", "review_note": "", "created": "2026-11-18T02:02:18.000Z", "updated": "2026-11-18T02:02:24.000Z", "payer": "assistant", "member": "assistant", "fundingMode": "independent", "canEdit": false, "canApprove": false }, { "id": "", "date": "2026-11-18", "items": [ { "id": "", "name": "对照快递", "amount": 900, "member": "owner", "sourceType": "independent", "sourceKey": "", "usedAmount": 0, "remainingAmount": 900 } ], "total": 900, "note": "", "status": "rejected", "revision": 2, "requester_id": "", "requester_name": "助理2", "reviewer_id": "", "reviewer_name": "麦麦", "reviewed": "2026-11-18T02:02:26.000Z", "review_note": "凭据不全", "created": "2026-11-18T02:02:25.000Z", "updated": "2026-11-18T02:02:26.000Z", "payer": "assistant2", "member": "assistant2", "fundingMode": "independent", "canEdit": true, "canApprove": false } ], "approvedReimbursements": 2150, "ready": true, "transferAmount": null, "direction": null, "sources": { "revision": "91d8e840360bd6750d7d9078c202052d4754bf75b4d2400dcc33adc06ef7598e", "total": 0, "items": [] }, "confirmation": null, "actualOutlay": null, "missingDates": [], "staleDates": [], "days": [] }, "reportRevision": "e259cf4fefb773e09806e8c91493ab7899228d30c74eeb144d3e4a08ecf59c09" } }, { "seq": 416, "label": "order-book-d2-owner", "date": "2026-11-19", "actor": "owner", "method": "GET", "path": "/api/order-book?date=2026-11-19", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "from": "2026-11-19", "date": "2026-11-19", "today": "2026-11-19", "q": "", "status": "all", "pocket": "", "rows": [ { "id": "", "order_id": "", "kind": "orderAfterSale", "orderAfterSale": { "orderId": "", "date": "2026-11-19", "reason": "客户退回一件", "deductionReason": "客户确认扣费", "refund": { "amount": 90000, "account": "助理2支付宝", "payer": "assistant2", "reference": "" }, "expenses": [], "original": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": { "id": "", "status": "approved", "action": "return", "action_label": "订单售后", "order_revision": 4, "reason": "客户退回一件", "requester_name": "助理2", "created": "2026-11-19T02:01:03.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:01:05.000Z", "note": "实物已收回" }, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 0, "netReceived": 500000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 50000, "knownProfit": 50000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "funds_mode": "team", "credit_card_rate_permille": 6 }, "originalJournal": { "sales": 500000, "goods": 450000, "expense": 0, "profit": 50000 }, "summary": { "refundAmount": 90000, "retainedAmount": 410000, "materialReturnedCost": 88000, "laborRestockedCost": 0, "materialLoss": 352000, "costLoss": 362000, "originalDirectCost": 0, "newExpenses": 0, "directCost": 0, "profit": 48000, "finalProfit": 48000, "profitAdjustment": -2000, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ] }, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ], "order_id": "", "created": "2026-11-19T02:01:05.000Z", "number": "MM20261118-", "paper_number": "20261118007", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "order_date": "2026-11-18", "member": "assistant2" }, "member": "assistant2", "number": "MM20261118-", "paper_number": "20261118007", "date": "2026-11-19", "order_date": "2026-11-18", "created": "2026-11-19T02:01:05.000Z", "customer": "对照售后订单客户", "salesperson": "小昊", "status": "after_sale", "note": "", "project": "订单售后", "types": [ "订单售后" ], "mg": 0, "summaryMg": 0, "pieces": 0, "originalSale": 500000, "sale": -90000, "material": -88000, "laborAndFees": 0, "unallocated": 0, "totalCost": -88000, "profit": -2000, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": -88000, "known": { "sale": -90000, "material": -88000, "laborAndFees": 0, "unallocated": 0, "totalCost": -88000, "profit": -2000, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": -88000 }, "costItems": [ { "kind": "goods", "component": "material", "name": "售后收回金料成本", "source": "商品 1 · 足金手链", "amount": -88000, "payer": "assistant2", "nonCash": true, "materialPoolId": "2026-11-19", "calculation": null } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "按售后发生日调整;回收成本不属于新付款", "balance": 0, "revision": 1, "reviewed_revision": 1 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119010", "date": "2026-11-19", "created": "2026-11-19T02:01:28.000Z", "price_lock_id": "", "customer": "对照锁价客户(改)", "salesperson": "娜娜", "status": "delivered", "note": "锁价备注;锁价单 SJ20261118-;按原锁定金价 900.00元/克结算", "types": [ "货盘现货" ], "mg": 3100, "summaryMg": 3100, "pieces": 0, "originalSale": 286200, "sale": 286200, "material": 264000, "laborAndFees": 3600, "unallocated": 0, "totalCost": 267600, "profit": 18600, "ownerCost": 255600, "assistantCost": 12000, "assistant2Cost": 0, "known": { "sale": 286200, "material": 264000, "laborAndFees": 3600, "unallocated": 0, "totalCost": 267600, "profit": 18600, "ownerCost": 255600, "assistantCost": 12000, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 原锁价采购", "amount": 255000, "payer": "owner", "excluded": false, "priceLockSource": "original", "calculation": { "rate": 85000, "quantity": 3000 } }, { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 补重采购", "amount": 9000, "payer": "assistant", "excluded": false, "priceLockSource": "extra", "calculation": { "rate": 90000, "quantity": 100 } }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "实际快递", "source": "2026-11-19", "amount": 600, "payer": "owner", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "实际快递", "source": "2026-11-19", "amount": 600, "payer": "owner", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 3, "reviewed_revision": 0 }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119011", "date": "2026-11-19", "created": "2026-11-19T02:01:32.000Z", "recovery_id": "", "recovery_mode": "exchange", "nonCashOffset": 0, "cashPaid": 0, "netSettlement": 432792, "recovery_immutable_reason": "本单关联黄金回收/置换、购料及库存,暂不支持普通订单修改、取消、退款、退货或费用变更,请保留原关联记录", "customer": "对照换货客户", "salesperson": "小昊", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 12000, "summaryMg": 12000, "pieces": 0, "originalSale": 432792, "sale": 432792, "material": 360720, "laborAndFees": 6000, "unallocated": 0, "totalCost": 366720, "profit": 66072, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 366720, "known": { "sale": 432792, "material": 360720, "laborAndFees": 6000, "unallocated": 0, "totalCost": 366720, "profit": 66072, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 366720 }, "costItems": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金对照新货", "amount": 360720, "payer": "assistant2", "excluded": false, "calculation": { "rate": 90000, "quantity": 4008 }, "component": "material" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 6000, "payer": "assistant2", "excluded": false, "calculation": { "rate": 500, "quantity": 12000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 6000, "payer": "assistant2", "excluded": false, "calculation": { "rate": 500, "quantity": 12000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 4, "reviewed_revision": 0 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119012", "date": "2026-11-19", "created": "2026-11-19T02:01:33.000Z", "recovery_id": "", "recovery_mode": "exchange", "nonCashOffset": 0, "cashPaid": 0, "netSettlement": 130800, "recovery_immutable_reason": "本单关联黄金回收/置换、购料及库存,暂不支持普通订单修改、取消、退款、退货或费用变更,请保留原关联记录", "customer": "对照换货客户二", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 6000, "summaryMg": 6000, "pieces": 0, "originalSale": 130800, "sale": 130800, "material": 103410, "laborAndFees": 3000, "unallocated": 0, "totalCost": 106410, "profit": 24390, "ownerCost": 0, "assistantCost": 106410, "assistant2Cost": 0, "known": { "sale": 130800, "material": 103410, "laborAndFees": 3000, "unallocated": 0, "totalCost": 106410, "profit": 24390, "ownerCost": 0, "assistantCost": 106410, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金对照新货", "amount": 103410, "payer": "assistant", "excluded": false, "calculation": { "rate": 90000, "quantity": 1149 }, "component": "material" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": { "rate": 500, "quantity": 6000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": { "rate": 500, "quantity": 6000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 4, "reviewed_revision": 0 }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119013", "date": "2026-11-19", "created": "2026-11-19T02:01:48.000Z", "customer": "当天客户(改)", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 2000, "summaryMg": 2000, "pieces": 0, "originalSale": 210000, "sale": 210000, "material": null, "laborAndFees": null, "unallocated": 180000, "totalCost": 180800, "profit": 29200, "ownerCost": 0, "assistantCost": 180800, "assistant2Cost": 0, "known": { "sale": 210000, "material": 0, "laborAndFees": 800, "unallocated": 180000, "totalCost": 180800, "profit": 29200, "ownerCost": 0, "assistantCost": 180800, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金吊坠", "amount": 180000, "payer": "assistant", "excluded": false, "calculation": null, "component": "unallocated" }, { "kind": "paid", "name": "当天快递", "source": "2026-11-19", "amount": 800, "payer": "assistant", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "paid", "name": "当天快递", "source": "2026-11-19", "amount": 800, "payer": "assistant", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 7, "reviewed_revision": 0 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119014", "date": "2026-11-19", "created": "2026-11-19T02:01:57.000Z", "cancellationApproved": { "id": "", "status": "approved", "order_revision": 4, "reason": "当天录错", "requester_name": "助理", "created": "2026-11-19T02:01:59.000Z", "reviewer_name": null, "reviewed": null, "note": "", "direct": true, "operator_name": "助理", "executedAt": "2026-11-19T02:01:59.000Z" }, "customer": "当天取消客户", "salesperson": "娜娜", "status": "cancelled", "note": "", "types": [ "货盘现货" ], "mg": 2000, "summaryMg": 2000, "pieces": 0, "originalSale": 210000, "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0, "known": { "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0 }, "costItems": [], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "录错作废已获麦麦批准,本单销售、成本与收款记账已撤销,原单和审批记录保留", "balance": 0, "revision": 5, "reviewed_revision": 0 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119015", "date": "2026-11-19", "created": "2026-11-19T02:02:40.000Z", "materialPoolIds": [ "2026-11-19" ], "materialCostPending": false, "customer": "滚动料池客户", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "配货" ], "mg": 2000, "summaryMg": 2000, "pieces": 0, "originalSale": 220000, "sale": 220000, "material": 181898, "laborAndFees": 0, "unallocated": 0, "totalCost": 181898, "profit": 38102, "ownerCost": 0, "assistantCost": 181898, "assistant2Cost": 0, "known": { "sale": 220000, "material": 181898, "laborAndFees": 0, "unallocated": 0, "totalCost": 181898, "profit": 38102, "ownerCost": 0, "assistantCost": 181898, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 2026-11-19日购料", "amount": 181898, "payer": "assistant", "excluded": false, "materialPoolId": "2026-11-19", "materialPoolRevision": "2e1d58e4d359165036a53976f4ed30c7052bb21df8bd2eb46c6544546a2e818b", "calculation": { "rate": 90949, "quantity": 2000, "weighted": true } }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 4, "reviewed_revision": 0 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119016", "date": "2026-11-19", "created": "2026-11-19T02:02:51.000Z", "customer": "安全测试", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 500, "summaryMg": 500, "pieces": 0, "originalSale": 50000, "sale": 50000, "material": null, "laborAndFees": null, "unallocated": 42000, "totalCost": 42000, "profit": 8000, "ownerCost": 0, "assistantCost": 42000, "assistant2Cost": 0, "known": { "sale": 50000, "material": 0, "laborAndFees": 0, "unallocated": 42000, "totalCost": 42000, "profit": 8000, "ownerCost": 0, "assistantCost": 42000, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金转运珠", "amount": 42000, "payer": "assistant", "excluded": false, "calculation": null, "component": "unallocated" } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 4, "reviewed_revision": 0 } ], "displayRows": [ { "id": "", "order_id": "", "kind": "orderAfterSale", "orderAfterSale": { "orderId": "", "date": "2026-11-19", "reason": "客户退回一件", "deductionReason": "客户确认扣费", "refund": { "amount": 90000, "account": "助理2支付宝", "payer": "assistant2", "reference": "" }, "expenses": [], "original": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": { "id": "", "status": "approved", "action": "return", "action_label": "订单售后", "order_revision": 4, "reason": "客户退回一件", "requester_name": "助理2", "created": "2026-11-19T02:01:03.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:01:05.000Z", "note": "实物已收回" }, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 0, "netReceived": 500000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 50000, "knownProfit": 50000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "funds_mode": "team", "credit_card_rate_permille": 6 }, "originalJournal": { "sales": 500000, "goods": 450000, "expense": 0, "profit": 50000 }, "summary": { "refundAmount": 90000, "retainedAmount": 410000, "materialReturnedCost": 88000, "laborRestockedCost": 0, "materialLoss": 352000, "costLoss": 362000, "originalDirectCost": 0, "newExpenses": 0, "directCost": 0, "profit": 48000, "finalProfit": 48000, "profitAdjustment": -2000, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ] }, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ], "order_id": "", "created": "2026-11-19T02:01:05.000Z", "number": "MM20261118-", "paper_number": "20261118007", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "order_date": "2026-11-18", "member": "assistant2" }, "member": "assistant2", "number": "MM20261118-", "paper_number": "20261118007", "date": "2026-11-19", "order_date": "2026-11-18", "created": "2026-11-19T02:01:05.000Z", "customer": "对照售后订单客户", "salesperson": "小昊", "status": "after_sale", "note": "", "project": "订单售后", "types": [ "订单售后" ], "mg": 0, "summaryMg": 0, "pieces": 0, "originalSale": 500000, "sale": -90000, "material": -88000, "laborAndFees": 0, "unallocated": 0, "totalCost": -88000, "profit": -2000, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": -88000, "known": { "sale": -90000, "material": -88000, "laborAndFees": 0, "unallocated": 0, "totalCost": -88000, "profit": -2000, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": -88000 }, "costItems": [ { "kind": "goods", "component": "material", "name": "售后收回金料成本", "source": "商品 1 · 足金手链", "amount": -88000, "payer": "assistant2", "nonCash": true, "materialPoolId": "2026-11-19", "calculation": null } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "按售后发生日调整;回收成本不属于新付款", "balance": 0, "revision": 1, "reviewed_revision": 1 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119010", "date": "2026-11-19", "created": "2026-11-19T02:01:28.000Z", "price_lock_id": "", "customer": "对照锁价客户(改)", "salesperson": "娜娜", "status": "delivered", "note": "锁价备注;锁价单 SJ20261118-;按原锁定金价 900.00元/克结算", "types": [ "货盘现货" ], "mg": 3100, "summaryMg": 3100, "pieces": 0, "originalSale": 286200, "sale": 286200, "material": 264000, "laborAndFees": 3600, "unallocated": 0, "totalCost": 267600, "profit": 18600, "ownerCost": 255600, "assistantCost": 12000, "assistant2Cost": 0, "known": { "sale": 286200, "material": 264000, "laborAndFees": 3600, "unallocated": 0, "totalCost": 267600, "profit": 18600, "ownerCost": 255600, "assistantCost": 12000, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 原锁价采购", "amount": 255000, "payer": "owner", "excluded": false, "priceLockSource": "original", "calculation": { "rate": 85000, "quantity": 3000 } }, { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 补重采购", "amount": 9000, "payer": "assistant", "excluded": false, "priceLockSource": "extra", "calculation": { "rate": 90000, "quantity": 100 } }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "实际快递", "source": "2026-11-19", "amount": 600, "payer": "owner", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "实际快递", "source": "2026-11-19", "amount": 600, "payer": "owner", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 3, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119011", "date": "2026-11-19", "created": "2026-11-19T02:01:32.000Z", "recovery_id": "", "recovery_mode": "exchange", "nonCashOffset": 0, "cashPaid": 0, "netSettlement": 432792, "recovery_immutable_reason": "本单关联黄金回收/置换、购料及库存,暂不支持普通订单修改、取消、退款、退货或费用变更,请保留原关联记录", "customer": "对照换货客户", "salesperson": "小昊", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 12000, "summaryMg": 12000, "pieces": 0, "originalSale": 432792, "sale": 432792, "material": 360720, "laborAndFees": 6000, "unallocated": 0, "totalCost": 366720, "profit": 66072, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 366720, "known": { "sale": 432792, "material": 360720, "laborAndFees": 6000, "unallocated": 0, "totalCost": 366720, "profit": 66072, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 366720 }, "costItems": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金对照新货", "amount": 360720, "payer": "assistant2", "excluded": false, "calculation": { "rate": 90000, "quantity": 4008 }, "component": "material" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 6000, "payer": "assistant2", "excluded": false, "calculation": { "rate": 500, "quantity": 12000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 6000, "payer": "assistant2", "excluded": false, "calculation": { "rate": 500, "quantity": 12000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 4, "reviewed_revision": 0, "printStatus": { "kind": "recovery", "id": "", "printed": true, "revision": 1, "updated": "2026-11-19T02:01:40.000Z", "actor": "助理2" } }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119012", "date": "2026-11-19", "created": "2026-11-19T02:01:33.000Z", "recovery_id": "", "recovery_mode": "exchange", "nonCashOffset": 0, "cashPaid": 0, "netSettlement": 130800, "recovery_immutable_reason": "本单关联黄金回收/置换、购料及库存,暂不支持普通订单修改、取消、退款、退货或费用变更,请保留原关联记录", "customer": "对照换货客户二", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 6000, "summaryMg": 6000, "pieces": 0, "originalSale": 130800, "sale": 130800, "material": 103410, "laborAndFees": 3000, "unallocated": 0, "totalCost": 106410, "profit": 24390, "ownerCost": 0, "assistantCost": 106410, "assistant2Cost": 0, "known": { "sale": 130800, "material": 103410, "laborAndFees": 3000, "unallocated": 0, "totalCost": 106410, "profit": 24390, "ownerCost": 0, "assistantCost": 106410, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金对照新货", "amount": 103410, "payer": "assistant", "excluded": false, "calculation": { "rate": 90000, "quantity": 1149 }, "component": "material" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": { "rate": 500, "quantity": 6000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": { "rate": 500, "quantity": 6000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 4, "reviewed_revision": 0, "printStatus": { "kind": "recovery", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119013", "date": "2026-11-19", "created": "2026-11-19T02:01:48.000Z", "customer": "当天客户(改)", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 2000, "summaryMg": 2000, "pieces": 0, "originalSale": 210000, "sale": 210000, "material": null, "laborAndFees": null, "unallocated": 180000, "totalCost": 180800, "profit": 29200, "ownerCost": 0, "assistantCost": 180800, "assistant2Cost": 0, "known": { "sale": 210000, "material": 0, "laborAndFees": 800, "unallocated": 180000, "totalCost": 180800, "profit": 29200, "ownerCost": 0, "assistantCost": 180800, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金吊坠", "amount": 180000, "payer": "assistant", "excluded": false, "calculation": null, "component": "unallocated" }, { "kind": "paid", "name": "当天快递", "source": "2026-11-19", "amount": 800, "payer": "assistant", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "paid", "name": "当天快递", "source": "2026-11-19", "amount": 800, "payer": "assistant", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 7, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119014", "date": "2026-11-19", "created": "2026-11-19T02:01:57.000Z", "cancellationApproved": { "id": "", "status": "approved", "order_revision": 4, "reason": "当天录错", "requester_name": "助理", "created": "2026-11-19T02:01:59.000Z", "reviewer_name": null, "reviewed": null, "note": "", "direct": true, "operator_name": "助理", "executedAt": "2026-11-19T02:01:59.000Z" }, "customer": "当天取消客户", "salesperson": "娜娜", "status": "cancelled", "note": "", "types": [ "货盘现货" ], "mg": 2000, "summaryMg": 2000, "pieces": 0, "originalSale": 210000, "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0, "known": { "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0 }, "costItems": [], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "录错作废已获麦麦批准,本单销售、成本与收款记账已撤销,原单和审批记录保留", "balance": 0, "revision": 5, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119015", "date": "2026-11-19", "created": "2026-11-19T02:02:40.000Z", "materialPoolIds": [ "2026-11-19" ], "materialCostPending": false, "customer": "滚动料池客户", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "配货" ], "mg": 2000, "summaryMg": 2000, "pieces": 0, "originalSale": 220000, "sale": 220000, "material": 181898, "laborAndFees": 0, "unallocated": 0, "totalCost": 181898, "profit": 38102, "ownerCost": 0, "assistantCost": 181898, "assistant2Cost": 0, "known": { "sale": 220000, "material": 181898, "laborAndFees": 0, "unallocated": 0, "totalCost": 181898, "profit": 38102, "ownerCost": 0, "assistantCost": 181898, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 2026-11-19日购料", "amount": 181898, "payer": "assistant", "excluded": false, "materialPoolId": "2026-11-19", "materialPoolRevision": "2e1d58e4d359165036a53976f4ed30c7052bb21df8bd2eb46c6544546a2e818b", "calculation": { "rate": 90949, "quantity": 2000, "weighted": true } }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 4, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119016", "date": "2026-11-19", "created": "2026-11-19T02:02:51.000Z", "customer": "安全测试", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 500, "summaryMg": 500, "pieces": 0, "originalSale": 50000, "sale": 50000, "material": null, "laborAndFees": null, "unallocated": 42000, "totalCost": 42000, "profit": 8000, "ownerCost": 0, "assistantCost": 42000, "assistant2Cost": 0, "known": { "sale": 50000, "material": 0, "laborAndFees": 0, "unallocated": 42000, "totalCost": 42000, "profit": 8000, "ownerCost": 0, "assistantCost": 42000, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金转运珠", "amount": 42000, "payer": "assistant", "excluded": false, "calculation": null, "component": "unallocated" } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 4, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } } ], "recoveryCount": 0, "summary": { "orderCount": 7, "completedCount": 6, "draftCount": 0, "confirmedCount": 0, "returnedCount": 1, "cancelledCount": 1, "incompleteCount": 0, "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "unknownCostCount": 0, "unknownProfitCount": 0, "legacyUnallocatedCount": 2, "sale": 1239792, "material": 822028, "laborAndFees": 13400, "unallocated": 222000, "totalCost": 1057428, "profit": 182364, "ownerCost": 255600, "assistantCost": 523108, "assistant2Cost": 278720, "mg": 27600, "pieces": 0, "knownCounts": { "sale": 7, "material": 5, "laborAndFees": 5, "unallocated": 7, "totalCost": 7, "profit": 7, "ownerCost": 7, "assistantCost": 7, "assistant2Cost": 7 }, "unknownCounts": { "sale": 0, "material": 2, "laborAndFees": 2, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0 }, "partial": true, "afterSaleCount": 1, "recordCount": 8 }, "peopleCount": { "from": "2026-11-19", "date": "2026-11-19", "baselineDate": "2026-11-18", "mode": "daily-total", "assistant1": { "total": 7, "endTotal": 7, "baselineTotal": 5, "baselineDate": "2026-11-18", "netChange": 2, "netChangeReason": null, "recordedDays": 1 }, "assistant2": { "total": 4, "endTotal": 4, "baselineTotal": 3, "baselineDate": "2026-11-18", "netChange": 1, "netChangeReason": null, "recordedDays": 1 } }, "priceLockActivity": { "basis": "eventDate", "from": "2026-11-19", "date": "2026-11-19", "customerCash": [ { "id": "", "price_lock_id": "", "date": "2026-11-19", "kind": "receipt", "amount": 16200, "account": "助理支付宝", "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-19T02:01:28.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null } ], "orderPayments": [], "materialOutlays": [ { "id": "", "price_lock_id": "", "date": "2026-11-19", "kind": "material", "amount": 9000, "payer": "assistant", "source": "extra", "quantity": 100, "rate": 90000, "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-19T02:01:28.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "component": "material" } ], "directOutlays": [ { "id": "", "order_id": "", "date": "2026-11-19", "amount": 600, "payer": "owner", "note": "实际快递", "actor": "助理", "created": "2026-11-19T02:01:28.000Z", "price_lock_id": "", "number": "SJ20261118-", "customer": "对照锁价客户(改)", "kind": "fee", "component": "fee", "product": "足金999" } ], "deliveryGoodsOutlays": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": null, "id": "price-lock-goods::0", "price_lock_id": "", "order_id": "", "number": "MM20261119-", "paper_number": "20261119010", "customer": "对照锁价客户(改)", "date": "2026-11-19", "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "id": "price-lock-goods::1", "price_lock_id": "", "order_id": "", "number": "MM20261119-", "paper_number": "20261119010", "customer": "对照锁价客户(改)", "date": "2026-11-19", "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "id": "price-lock-goods::2", "price_lock_id": "", "order_id": "", "number": "MM20261119-", "paper_number": "20261119010", "customer": "对照锁价客户(改)", "date": "2026-11-19", "component": "other" } ], "receipts": { "receipt": 16200, "refund": 0, "net": 16200, "channels": [ { "channel": "wechat", "name": "微信", "receipt": 0, "refund": 0, "net": 0 }, { "channel": "alipay", "name": "支付宝", "receipt": 16200, "refund": 0, "net": 16200 }, { "channel": "cash", "name": "现金", "receipt": 0, "refund": 0, "net": 0 } ], "accounts": [ { "account": "助理微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理支付宝", "receipt": 16200, "refund": 0, "net": 16200 }, { "account": "助理现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2现金", "receipt": 0, "refund": 0, "net": 0 } ], "paymentCount": 1, "orderCount": 1 }, "payerOutlays": { "owner": { "payer": "owner", "material": 0, "goods": 0, "paidFees": 600, "total": 600 }, "assistant": { "payer": "assistant", "material": 9000, "goods": 12000, "paidFees": 0, "total": 12000 }, "assistant2": { "payer": "assistant2", "material": 0, "goods": 0, "paidFees": 0, "total": 0 } }, "summary": { "receipt": 16200, "refund": 0, "net": 16200, "materialOutlay": 9000, "goodsOutlay": 12000, "feeOutlay": 600, "ownerOutlay": 600, "assistantOutlay": 12000, "assistant2Outlay": 0, "totalOutlay": 12600, "eventCount": 6, "lockCount": 1 } }, "materialPoolActivity": { "basis": "purchaseDate", "from": "2026-11-19", "date": "2026-11-19", "purchases": [ { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 5000, "amount": 460000, "payer": "assistant", "note": "第二天购料", "actor": "助理", "created": "2026-11-19T02:02:19.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:19.000Z" }, { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 4000, "amount": 370000, "payer": "assistant2", "note": "", "actor": "助理2", "created": "2026-11-19T02:02:20.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:20.000Z" } ], "payerOutlays": { "owner": { "payer": "owner", "material": 0, "goods": 0, "paidFees": 0, "total": 0, "purchaseCount": 0 }, "assistant": { "payer": "assistant", "material": 460000, "goods": 460000, "paidFees": 0, "total": 460000, "purchaseCount": 1 }, "assistant2": { "payer": "assistant2", "material": 370000, "goods": 370000, "paidFees": 0, "total": 370000, "purchaseCount": 1 } }, "summary": { "purchaseCount": 2, "poolCount": 1, "mg": 9000, "materialOutlay": 830000, "purchaseValue": 830000, "ownerOutlay": 0, "assistantOutlay": 460000, "assistant2Outlay": 370000, "totalOutlay": 830000, "eventCount": 2 } }, "summaryWithoutCancelled": { "orderCount": 6, "completedCount": 6, "draftCount": 0, "confirmedCount": 0, "returnedCount": 1, "cancelledCount": 0, "incompleteCount": 0, "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "unknownCostCount": 0, "unknownProfitCount": 0, "legacyUnallocatedCount": 2, "sale": 1239792, "material": 822028, "laborAndFees": 13400, "unallocated": 222000, "totalCost": 1057428, "profit": 182364, "ownerCost": 255600, "assistantCost": 523108, "assistant2Cost": 278720, "mg": 25600, "pieces": 0, "knownCounts": { "sale": 6, "material": 4, "laborAndFees": 4, "unallocated": 6, "totalCost": 6, "profit": 6, "ownerCost": 6, "assistantCost": 6, "assistant2Cost": 6 }, "unknownCounts": { "sale": 0, "material": 2, "laborAndFees": 2, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0 }, "partial": true, "afterSaleCount": 1, "recordCount": 7 }, "receiptsWithoutCancelled": { "basis": "orderDate", "filterScope": "matchingOrdersWithoutCancelled", "from": "2026-11-19", "date": "2026-11-19", "receipt": 1059792, "refund": 90000, "net": 969792, "channels": [ { "channel": "wechat", "name": "微信", "receipt": 1043592, "refund": 0, "net": 1043592 }, { "channel": "alipay", "name": "支付宝", "receipt": 16200, "refund": 90000, "net": -73800 }, { "channel": "cash", "name": "现金", "receipt": 0, "refund": 0, "net": 0 } ], "accounts": [ { "account": "助理微信", "receipt": 610800, "refund": 0, "net": 610800 }, { "account": "助理支付宝", "receipt": 16200, "refund": 0, "net": 16200 }, { "account": "助理现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2微信", "receipt": 432792, "refund": 0, "net": 432792 }, { "account": "助理2支付宝", "receipt": 0, "refund": 90000, "net": -90000 }, { "account": "助理2现金", "receipt": 0, "refund": 0, "net": 0 } ], "paymentCount": 7, "orderCount": 7 }, "receiptsByPaymentDate": { "basis": "paymentDate", "filterScope": "dateRange", "from": "2026-11-19", "date": "2026-11-19", "receipt": 1059792, "refund": 90000, "net": 969792, "channels": [ { "channel": "wechat", "name": "微信", "receipt": 1043592, "refund": 0, "net": 1043592 }, { "channel": "alipay", "name": "支付宝", "receipt": 16200, "refund": 90000, "net": -73800 }, { "channel": "cash", "name": "现金", "receipt": 0, "refund": 0, "net": 0 } ], "accounts": [ { "account": "助理微信", "receipt": 610800, "refund": 0, "net": 610800 }, { "account": "助理支付宝", "receipt": 16200, "refund": 0, "net": 16200 }, { "account": "助理现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2微信", "receipt": 432792, "refund": 0, "net": 432792 }, { "account": "助理2支付宝", "receipt": 0, "refund": 90000, "net": -90000 }, { "account": "助理2现金", "receipt": 0, "refund": 0, "net": 0 } ], "paymentCount": 9, "orderCount": 8 }, "receiptsByOrderDate": { "basis": "orderDate", "filterScope": "matchingOrders", "from": "2026-11-19", "date": "2026-11-19", "receipt": 1059792, "refund": 90000, "net": 969792, "channels": [ { "channel": "wechat", "name": "微信", "receipt": 1043592, "refund": 0, "net": 1043592 }, { "channel": "alipay", "name": "支付宝", "receipt": 16200, "refund": 90000, "net": -73800 }, { "channel": "cash", "name": "现金", "receipt": 0, "refund": 0, "net": 0 } ], "accounts": [ { "account": "助理微信", "receipt": 610800, "refund": 0, "net": 610800 }, { "account": "助理支付宝", "receipt": 16200, "refund": 0, "net": 16200 }, { "account": "助理现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2微信", "receipt": 432792, "refund": 0, "net": 432792 }, { "account": "助理2支付宝", "receipt": 0, "refund": 90000, "net": -90000 }, { "account": "助理2现金", "receipt": 0, "refund": 0, "net": 0 } ], "paymentCount": 9, "orderCount": 8 } } }, { "seq": 417, "label": "order-book-range-owner", "date": "2026-11-19", "actor": "owner", "method": "GET", "path": "/api/order-book?from=2026-11-18&date=2026-11-19", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "from": "2026-11-18", "date": "2026-11-19", "today": "2026-11-19", "q": "", "status": "all", "pocket": "", "rows": [ { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118001", "date": "2026-11-18", "created": "2026-11-18T02:01:17.000Z", "customer": "对照客户甲(改)", "salesperson": "娜娜", "status": "delivered", "note": "客户单备注", "types": [ "货盘现货" ], "mg": 3250, "summaryMg": 3250, "pieces": 0, "originalSale": 321100, "sale": 321100, "material": 286000, "laborAndFees": 5400, "unallocated": 0, "totalCost": 291400, "profit": 29700, "ownerCost": 286000, "assistantCost": 5400, "assistant2Cost": 0, "known": { "sale": 321100, "material": 286000, "laborAndFees": 5400, "unallocated": 0, "totalCost": 291400, "profit": 29700, "ownerCost": 286000, "assistantCost": 5400, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金999", "amount": 286000, "payer": "owner", "excluded": false, "calculation": { "rate": 88000, "quantity": 3250 }, "component": "material" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 4000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 200, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "快递", "source": "2026-11-18", "amount": 1200, "payer": "assistant", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 4000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 200, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "快递", "source": "2026-11-18", "amount": 1200, "payer": "assistant", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 5, "reviewed_revision": 0 }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118002", "date": "2026-11-18", "created": "2026-11-18T02:01:18.000Z", "customer": "对照客户乙", "salesperson": "小昊", "status": "delivered", "note": "", "types": [ "货盘现货", "配货 · 银饰" ], "mg": 2000, "summaryMg": 2000, "pieces": 3, "originalSale": 217163, "sale": 217163, "material": null, "laborAndFees": null, "unallocated": 183000, "totalCost": 183000, "profit": 34163, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 183000, "known": { "sale": 217163, "material": 0, "laborAndFees": 0, "unallocated": 183000, "totalCost": 183000, "profit": 34163, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 183000 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金999", "amount": 180000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "unallocated" }, { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 2 · 纯银925", "amount": 3000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "unallocated" } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 4, "reviewed_revision": 0 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118003", "date": "2026-11-18", "created": "2026-11-18T02:01:19.000Z", "customer": "对照客户丙", "salesperson": "麦麦", "status": "delivered", "note": "老板改备注", "types": [ "配货" ], "mg": 0, "summaryMg": 0, "pieces": 1, "originalSale": 288500, "sale": 288500, "material": null, "laborAndFees": null, "unallocated": 150000, "totalCost": 151731, "profit": 136769, "ownerCost": 151731, "assistantCost": 0, "assistant2Cost": 0, "known": { "sale": 288500, "material": 0, "laborAndFees": 1731, "unallocated": 150000, "totalCost": 151731, "profit": 136769, "ownerCost": 151731, "assistantCost": 0, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 金镶玉吊坠", "amount": 150000, "payer": "owner", "excluded": false, "calculation": null, "component": "unallocated" }, { "kind": "paid", "name": "信用卡手续费(6‰)", "source": "2026-11-18", "amount": 1731, "payer": "owner", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "paid", "name": "信用卡手续费(6‰)", "source": "2026-11-18", "amount": 1731, "payer": "owner", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 5, "reviewed_revision": 0 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118004", "date": "2026-11-18", "created": "2026-11-18T02:01:20.000Z", "materialPoolIds": [ "2026-11-18" ], "materialCostPending": false, "customer": "对照客户丁", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "配货" ], "mg": 3000, "summaryMg": 3000, "pieces": 0, "originalSale": 330000, "sale": 330000, "material": 271935, "laborAndFees": 1000, "unallocated": 0, "totalCost": 272935, "profit": 57065, "ownerCost": 0, "assistantCost": 272935, "assistant2Cost": 0, "known": { "sale": 330000, "material": 271935, "laborAndFees": 1000, "unallocated": 0, "totalCost": 272935, "profit": 57065, "ownerCost": 0, "assistantCost": 272935, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 2026-11-18日购料", "amount": 271935, "payer": "assistant", "excluded": false, "materialPoolId": "2026-11-18", "materialPoolRevision": "2823f40ff78424f5423f0dbdf991ea5fcc83b0144648e9d2399869970c27af75", "calculation": { "rate": 90645, "quantity": 3000, "weighted": true } }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "补寄快递", "source": "2026-11-19", "amount": 1000, "payer": "assistant", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "补寄快递", "source": "2026-11-19", "amount": 1000, "payer": "assistant", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 6, "reviewed_revision": 0 }, { "id": "", "member": "owner", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118005", "date": "2026-11-18", "created": "2026-11-18T02:01:21.000Z", "customer": "对照草稿客户", "salesperson": "麦麦", "status": "delivered", "note": "", "types": [ "货盘·展柜A(主)" ], "mg": 10000, "summaryMg": 10000, "pieces": 0, "originalSale": 980000, "sale": 980000, "material": null, "laborAndFees": null, "unallocated": 900000, "totalCost": 900000, "profit": 80000, "ownerCost": 900000, "assistantCost": 0, "assistant2Cost": 0, "known": { "sale": 980000, "material": 0, "laborAndFees": 0, "unallocated": 900000, "totalCost": 900000, "profit": 80000, "ownerCost": 900000, "assistantCost": 0, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金手镯", "amount": 900000, "payer": "owner", "excluded": false, "calculation": null, "component": "unallocated" } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 5, "reviewed_revision": 0 }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118006", "date": "2026-11-18", "created": "2026-11-18T02:01:24.000Z", "cancellationApproved": { "id": "", "status": "approved", "order_revision": 4, "reason": "重复录入", "requester_name": "助理2", "created": "2026-11-19T02:00:41.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:00:45.000Z", "note": "核对原单后确认" }, "customer": "对照取消客户", "salesperson": "小昊", "status": "cancelled", "note": "", "types": [ "货盘现货" ], "mg": 1500, "summaryMg": 1500, "pieces": 0, "originalSale": 150000, "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0, "known": { "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0 }, "costItems": [], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "录错作废已获麦麦批准,本单销售、成本与收款记账已撤销,原单和审批记录保留", "balance": 0, "revision": 5, "reviewed_revision": 0 }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118007", "date": "2026-11-18", "created": "2026-11-18T02:01:25.000Z", "customer": "对照售后订单客户", "salesperson": "小昊", "status": "delivered", "note": "", "orderAfterSale": { "orderId": "", "date": "2026-11-19", "reason": "客户退回一件", "deductionReason": "客户确认扣费", "refund": { "amount": 90000, "account": "助理2支付宝", "payer": "assistant2", "reference": "" }, "expenses": [], "original": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": { "id": "", "status": "approved", "action": "return", "action_label": "订单售后", "order_revision": 4, "reason": "客户退回一件", "requester_name": "助理2", "created": "2026-11-19T02:01:03.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:01:05.000Z", "note": "实物已收回" }, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 0, "netReceived": 500000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 50000, "knownProfit": 50000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "funds_mode": "team", "credit_card_rate_permille": 6 }, "originalJournal": { "sales": 500000, "goods": 450000, "expense": 0, "profit": 50000 }, "summary": { "refundAmount": 90000, "retainedAmount": 410000, "materialReturnedCost": 88000, "laborRestockedCost": 0, "materialLoss": 352000, "costLoss": 362000, "originalDirectCost": 0, "newExpenses": 0, "directCost": 0, "profit": 48000, "finalProfit": 48000, "profitAdjustment": -2000, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ] }, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ], "originalOrder": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": { "id": "", "status": "approved", "action": "return", "action_label": "订单售后", "order_revision": 4, "reason": "客户退回一件", "requester_name": "助理2", "created": "2026-11-19T02:01:03.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:01:05.000Z", "note": "实物已收回" }, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 0, "netReceived": 500000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 50000, "knownProfit": 50000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "funds_mode": "team", "credit_card_rate_permille": 6 } }, "current_status": "returned", "types": [ "货盘现货" ], "mg": 5000, "summaryMg": 5000, "pieces": 0, "originalSale": 500000, "sale": 500000, "material": 440000, "laborAndFees": 10000, "unallocated": 0, "totalCost": 450000, "profit": 50000, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 450000, "known": { "sale": 500000, "material": 440000, "laborAndFees": 10000, "unallocated": 0, "totalCost": 450000, "profit": 50000, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 450000 }, "costItems": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金手链", "amount": 440000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "material" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金手链", "amount": 10000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金手链", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金手链", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金手链", "amount": 10000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金手链", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金手链", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 4, "reviewed_revision": 0 }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118008", "date": "2026-11-18", "created": "2026-11-18T02:01:26.000Z", "customer": "对照驳回客户", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 800, "summaryMg": 800, "pieces": 0, "originalSale": 82000, "sale": 82000, "material": null, "laborAndFees": null, "unallocated": 70000, "totalCost": 70000, "profit": 12000, "ownerCost": 0, "assistantCost": 70000, "assistant2Cost": 0, "known": { "sale": 82000, "material": 0, "laborAndFees": 0, "unallocated": 70000, "totalCost": 70000, "profit": 12000, "ownerCost": 0, "assistantCost": 70000, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金耳钉", "amount": 70000, "payer": "assistant", "excluded": false, "calculation": null, "component": "unallocated" } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 5, "reviewed_revision": 0 }, { "id": "", "member": "owner", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118009", "date": "2026-11-18", "created": "2026-11-18T02:01:27.000Z", "customer": "对照分步客户", "salesperson": "麦麦", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 4000, "summaryMg": 4000, "pieces": 0, "originalSale": 400000, "sale": 400000, "material": null, "laborAndFees": null, "unallocated": 350000, "totalCost": 351800, "profit": 48200, "ownerCost": 351800, "assistantCost": 0, "assistant2Cost": 0, "known": { "sale": 400000, "material": 0, "laborAndFees": 1800, "unallocated": 350000, "totalCost": 351800, "profit": 48200, "ownerCost": 351800, "assistantCost": 0, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金项链", "amount": 350000, "payer": "owner", "excluded": false, "calculation": null, "component": "unallocated" }, { "kind": "paid", "name": "信用卡手续费(6‰)", "source": "2026-11-18", "amount": 1800, "payer": "owner", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "paid", "name": "信用卡手续费(6‰)", "source": "2026-11-18", "amount": 1800, "payer": "owner", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 5, "reviewed_revision": 0 }, { "id": "", "kind": "afterSale", "after_sale_id": "", "number": "售后", "paper_number": "", "date": "2026-11-18", "created": "2026-11-18T02:02:03.000Z", "customer": "对照售后客户", "salesperson": "助理", "status": "after_sale", "project": "对照改圈", "note": "对照改圈", "amount": 950, "payer": "assistant", "types": [ "售后" ], "mg": 0, "summaryMg": 0, "pieces": 0, "originalSale": 0, "sale": 0, "material": 0, "laborAndFees": 950, "unallocated": 0, "totalCost": 950, "profit": -950, "ownerCost": 0, "assistantCost": 950, "known": { "sale": 0, "material": 0, "laborAndFees": 950, "unallocated": 0, "totalCost": 950, "profit": -950, "ownerCost": 0, "assistantCost": 950 }, "costItems": [ { "kind": "afterSale", "after_sale_id": "", "name": "对照改圈", "source": "售后 · 2026-11-18", "amount": 950, "payer": "assistant", "component": "fee", "calculation": null } ], "laborAndFeeItems": [ { "kind": "afterSale", "after_sale_id": "", "name": "对照改圈", "source": "售后 · 2026-11-18", "amount": 950, "payer": "assistant", "component": "fee", "calculation": null } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "独立售后支出,计入所选日期利润", "balance": 0, "revision": 2, "reviewed_revision": 2 }, { "id": "", "kind": "afterSale", "after_sale_id": "", "number": "售后", "paper_number": "", "date": "2026-11-18", "created": "2026-11-18T02:02:06.000Z", "customer": "对照售后客户二", "salesperson": "麦麦", "status": "after_sale", "project": "对照清洗", "note": "对照清洗", "amount": 0, "payer": "owner", "types": [ "售后" ], "mg": 0, "summaryMg": 0, "pieces": 0, "originalSale": 0, "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "known": { "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0 }, "costItems": [ { "kind": "afterSale", "after_sale_id": "", "name": "对照清洗", "source": "售后 · 2026-11-18", "amount": 0, "payer": "owner", "component": "fee", "calculation": null } ], "laborAndFeeItems": [ { "kind": "afterSale", "after_sale_id": "", "name": "对照清洗", "source": "售后 · 2026-11-18", "amount": 0, "payer": "owner", "component": "fee", "calculation": null } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "独立售后支出,计入所选日期利润", "balance": 0, "revision": 1, "reviewed_revision": 1 }, { "id": "", "order_id": "", "kind": "orderAfterSale", "orderAfterSale": { "orderId": "", "date": "2026-11-19", "reason": "客户退回一件", "deductionReason": "客户确认扣费", "refund": { "amount": 90000, "account": "助理2支付宝", "payer": "assistant2", "reference": "" }, "expenses": [], "original": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": { "id": "", "status": "approved", "action": "return", "action_label": "订单售后", "order_revision": 4, "reason": "客户退回一件", "requester_name": "助理2", "created": "2026-11-19T02:01:03.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:01:05.000Z", "note": "实物已收回" }, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 0, "netReceived": 500000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 50000, "knownProfit": 50000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "funds_mode": "team", "credit_card_rate_permille": 6 }, "originalJournal": { "sales": 500000, "goods": 450000, "expense": 0, "profit": 50000 }, "summary": { "refundAmount": 90000, "retainedAmount": 410000, "materialReturnedCost": 88000, "laborRestockedCost": 0, "materialLoss": 352000, "costLoss": 362000, "originalDirectCost": 0, "newExpenses": 0, "directCost": 0, "profit": 48000, "finalProfit": 48000, "profitAdjustment": -2000, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ] }, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ], "order_id": "", "created": "2026-11-19T02:01:05.000Z", "number": "MM20261118-", "paper_number": "20261118007", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "order_date": "2026-11-18", "member": "assistant2" }, "member": "assistant2", "number": "MM20261118-", "paper_number": "20261118007", "date": "2026-11-19", "order_date": "2026-11-18", "created": "2026-11-19T02:01:05.000Z", "customer": "对照售后订单客户", "salesperson": "小昊", "status": "after_sale", "note": "", "project": "订单售后", "types": [ "订单售后" ], "mg": 0, "summaryMg": 0, "pieces": 0, "originalSale": 500000, "sale": -90000, "material": -88000, "laborAndFees": 0, "unallocated": 0, "totalCost": -88000, "profit": -2000, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": -88000, "known": { "sale": -90000, "material": -88000, "laborAndFees": 0, "unallocated": 0, "totalCost": -88000, "profit": -2000, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": -88000 }, "costItems": [ { "kind": "goods", "component": "material", "name": "售后收回金料成本", "source": "商品 1 · 足金手链", "amount": -88000, "payer": "assistant2", "nonCash": true, "materialPoolId": "2026-11-19", "calculation": null } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "按售后发生日调整;回收成本不属于新付款", "balance": 0, "revision": 1, "reviewed_revision": 1 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119010", "date": "2026-11-19", "created": "2026-11-19T02:01:28.000Z", "price_lock_id": "", "customer": "对照锁价客户(改)", "salesperson": "娜娜", "status": "delivered", "note": "锁价备注;锁价单 SJ20261118-;按原锁定金价 900.00元/克结算", "types": [ "货盘现货" ], "mg": 3100, "summaryMg": 3100, "pieces": 0, "originalSale": 286200, "sale": 286200, "material": 264000, "laborAndFees": 3600, "unallocated": 0, "totalCost": 267600, "profit": 18600, "ownerCost": 255600, "assistantCost": 12000, "assistant2Cost": 0, "known": { "sale": 286200, "material": 264000, "laborAndFees": 3600, "unallocated": 0, "totalCost": 267600, "profit": 18600, "ownerCost": 255600, "assistantCost": 12000, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 原锁价采购", "amount": 255000, "payer": "owner", "excluded": false, "priceLockSource": "original", "calculation": { "rate": 85000, "quantity": 3000 } }, { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 补重采购", "amount": 9000, "payer": "assistant", "excluded": false, "priceLockSource": "extra", "calculation": { "rate": 90000, "quantity": 100 } }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "实际快递", "source": "2026-11-19", "amount": 600, "payer": "owner", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "实际快递", "source": "2026-11-19", "amount": 600, "payer": "owner", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 3, "reviewed_revision": 0 }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119011", "date": "2026-11-19", "created": "2026-11-19T02:01:32.000Z", "recovery_id": "", "recovery_mode": "exchange", "nonCashOffset": 0, "cashPaid": 0, "netSettlement": 432792, "recovery_immutable_reason": "本单关联黄金回收/置换、购料及库存,暂不支持普通订单修改、取消、退款、退货或费用变更,请保留原关联记录", "customer": "对照换货客户", "salesperson": "小昊", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 12000, "summaryMg": 12000, "pieces": 0, "originalSale": 432792, "sale": 432792, "material": 360720, "laborAndFees": 6000, "unallocated": 0, "totalCost": 366720, "profit": 66072, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 366720, "known": { "sale": 432792, "material": 360720, "laborAndFees": 6000, "unallocated": 0, "totalCost": 366720, "profit": 66072, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 366720 }, "costItems": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金对照新货", "amount": 360720, "payer": "assistant2", "excluded": false, "calculation": { "rate": 90000, "quantity": 4008 }, "component": "material" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 6000, "payer": "assistant2", "excluded": false, "calculation": { "rate": 500, "quantity": 12000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 6000, "payer": "assistant2", "excluded": false, "calculation": { "rate": 500, "quantity": 12000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 4, "reviewed_revision": 0 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119012", "date": "2026-11-19", "created": "2026-11-19T02:01:33.000Z", "recovery_id": "", "recovery_mode": "exchange", "nonCashOffset": 0, "cashPaid": 0, "netSettlement": 130800, "recovery_immutable_reason": "本单关联黄金回收/置换、购料及库存,暂不支持普通订单修改、取消、退款、退货或费用变更,请保留原关联记录", "customer": "对照换货客户二", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 6000, "summaryMg": 6000, "pieces": 0, "originalSale": 130800, "sale": 130800, "material": 103410, "laborAndFees": 3000, "unallocated": 0, "totalCost": 106410, "profit": 24390, "ownerCost": 0, "assistantCost": 106410, "assistant2Cost": 0, "known": { "sale": 130800, "material": 103410, "laborAndFees": 3000, "unallocated": 0, "totalCost": 106410, "profit": 24390, "ownerCost": 0, "assistantCost": 106410, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金对照新货", "amount": 103410, "payer": "assistant", "excluded": false, "calculation": { "rate": 90000, "quantity": 1149 }, "component": "material" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": { "rate": 500, "quantity": 6000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": { "rate": 500, "quantity": 6000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 4, "reviewed_revision": 0 }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119013", "date": "2026-11-19", "created": "2026-11-19T02:01:48.000Z", "customer": "当天客户(改)", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 2000, "summaryMg": 2000, "pieces": 0, "originalSale": 210000, "sale": 210000, "material": null, "laborAndFees": null, "unallocated": 180000, "totalCost": 180800, "profit": 29200, "ownerCost": 0, "assistantCost": 180800, "assistant2Cost": 0, "known": { "sale": 210000, "material": 0, "laborAndFees": 800, "unallocated": 180000, "totalCost": 180800, "profit": 29200, "ownerCost": 0, "assistantCost": 180800, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金吊坠", "amount": 180000, "payer": "assistant", "excluded": false, "calculation": null, "component": "unallocated" }, { "kind": "paid", "name": "当天快递", "source": "2026-11-19", "amount": 800, "payer": "assistant", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "paid", "name": "当天快递", "source": "2026-11-19", "amount": 800, "payer": "assistant", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 7, "reviewed_revision": 0 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119014", "date": "2026-11-19", "created": "2026-11-19T02:01:57.000Z", "cancellationApproved": { "id": "", "status": "approved", "order_revision": 4, "reason": "当天录错", "requester_name": "助理", "created": "2026-11-19T02:01:59.000Z", "reviewer_name": null, "reviewed": null, "note": "", "direct": true, "operator_name": "助理", "executedAt": "2026-11-19T02:01:59.000Z" }, "customer": "当天取消客户", "salesperson": "娜娜", "status": "cancelled", "note": "", "types": [ "货盘现货" ], "mg": 2000, "summaryMg": 2000, "pieces": 0, "originalSale": 210000, "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0, "known": { "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0 }, "costItems": [], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "录错作废已获麦麦批准,本单销售、成本与收款记账已撤销,原单和审批记录保留", "balance": 0, "revision": 5, "reviewed_revision": 0 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119015", "date": "2026-11-19", "created": "2026-11-19T02:02:40.000Z", "materialPoolIds": [ "2026-11-19" ], "materialCostPending": false, "customer": "滚动料池客户", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "配货" ], "mg": 2000, "summaryMg": 2000, "pieces": 0, "originalSale": 220000, "sale": 220000, "material": 181898, "laborAndFees": 0, "unallocated": 0, "totalCost": 181898, "profit": 38102, "ownerCost": 0, "assistantCost": 181898, "assistant2Cost": 0, "known": { "sale": 220000, "material": 181898, "laborAndFees": 0, "unallocated": 0, "totalCost": 181898, "profit": 38102, "ownerCost": 0, "assistantCost": 181898, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 2026-11-19日购料", "amount": 181898, "payer": "assistant", "excluded": false, "materialPoolId": "2026-11-19", "materialPoolRevision": "2e1d58e4d359165036a53976f4ed30c7052bb21df8bd2eb46c6544546a2e818b", "calculation": { "rate": 90949, "quantity": 2000, "weighted": true } }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 4, "reviewed_revision": 0 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119016", "date": "2026-11-19", "created": "2026-11-19T02:02:51.000Z", "customer": "安全测试", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 500, "summaryMg": 500, "pieces": 0, "originalSale": 50000, "sale": 50000, "material": null, "laborAndFees": null, "unallocated": 42000, "totalCost": 42000, "profit": 8000, "ownerCost": 0, "assistantCost": 42000, "assistant2Cost": 0, "known": { "sale": 50000, "material": 0, "laborAndFees": 0, "unallocated": 42000, "totalCost": 42000, "profit": 8000, "ownerCost": 0, "assistantCost": 42000, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金转运珠", "amount": 42000, "payer": "assistant", "excluded": false, "calculation": null, "component": "unallocated" } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 4, "reviewed_revision": 0 } ], "displayRows": [ { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118001", "date": "2026-11-18", "created": "2026-11-18T02:01:17.000Z", "customer": "对照客户甲(改)", "salesperson": "娜娜", "status": "delivered", "note": "客户单备注", "types": [ "货盘现货" ], "mg": 3250, "summaryMg": 3250, "pieces": 0, "originalSale": 321100, "sale": 321100, "material": 286000, "laborAndFees": 5400, "unallocated": 0, "totalCost": 291400, "profit": 29700, "ownerCost": 286000, "assistantCost": 5400, "assistant2Cost": 0, "known": { "sale": 321100, "material": 286000, "laborAndFees": 5400, "unallocated": 0, "totalCost": 291400, "profit": 29700, "ownerCost": 286000, "assistantCost": 5400, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金999", "amount": 286000, "payer": "owner", "excluded": false, "calculation": { "rate": 88000, "quantity": 3250 }, "component": "material" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 4000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 200, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "快递", "source": "2026-11-18", "amount": 1200, "payer": "assistant", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 4000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 200, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "快递", "source": "2026-11-18", "amount": 1200, "payer": "assistant", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 5, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 2, "updated": "2026-11-18T02:01:50.000Z", "actor": "助理" } }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118002", "date": "2026-11-18", "created": "2026-11-18T02:01:18.000Z", "customer": "对照客户乙", "salesperson": "小昊", "status": "delivered", "note": "", "types": [ "货盘现货", "配货 · 银饰" ], "mg": 2000, "summaryMg": 2000, "pieces": 3, "originalSale": 217163, "sale": 217163, "material": null, "laborAndFees": null, "unallocated": 183000, "totalCost": 183000, "profit": 34163, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 183000, "known": { "sale": 217163, "material": 0, "laborAndFees": 0, "unallocated": 183000, "totalCost": 183000, "profit": 34163, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 183000 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金999", "amount": 180000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "unallocated" }, { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 2 · 纯银925", "amount": 3000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "unallocated" } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 4, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118003", "date": "2026-11-18", "created": "2026-11-18T02:01:19.000Z", "customer": "对照客户丙", "salesperson": "麦麦", "status": "delivered", "note": "老板改备注", "types": [ "配货" ], "mg": 0, "summaryMg": 0, "pieces": 1, "originalSale": 288500, "sale": 288500, "material": null, "laborAndFees": null, "unallocated": 150000, "totalCost": 151731, "profit": 136769, "ownerCost": 151731, "assistantCost": 0, "assistant2Cost": 0, "known": { "sale": 288500, "material": 0, "laborAndFees": 1731, "unallocated": 150000, "totalCost": 151731, "profit": 136769, "ownerCost": 151731, "assistantCost": 0, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 金镶玉吊坠", "amount": 150000, "payer": "owner", "excluded": false, "calculation": null, "component": "unallocated" }, { "kind": "paid", "name": "信用卡手续费(6‰)", "source": "2026-11-18", "amount": 1731, "payer": "owner", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "paid", "name": "信用卡手续费(6‰)", "source": "2026-11-18", "amount": 1731, "payer": "owner", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 5, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118004", "date": "2026-11-18", "created": "2026-11-18T02:01:20.000Z", "materialPoolIds": [ "2026-11-18" ], "materialCostPending": false, "customer": "对照客户丁", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "配货" ], "mg": 3000, "summaryMg": 3000, "pieces": 0, "originalSale": 330000, "sale": 330000, "material": 271935, "laborAndFees": 1000, "unallocated": 0, "totalCost": 272935, "profit": 57065, "ownerCost": 0, "assistantCost": 272935, "assistant2Cost": 0, "known": { "sale": 330000, "material": 271935, "laborAndFees": 1000, "unallocated": 0, "totalCost": 272935, "profit": 57065, "ownerCost": 0, "assistantCost": 272935, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 2026-11-18日购料", "amount": 271935, "payer": "assistant", "excluded": false, "materialPoolId": "2026-11-18", "materialPoolRevision": "2823f40ff78424f5423f0dbdf991ea5fcc83b0144648e9d2399869970c27af75", "calculation": { "rate": 90645, "quantity": 3000, "weighted": true } }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "补寄快递", "source": "2026-11-19", "amount": 1000, "payer": "assistant", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "补寄快递", "source": "2026-11-19", "amount": 1000, "payer": "assistant", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 6, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "owner", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118005", "date": "2026-11-18", "created": "2026-11-18T02:01:21.000Z", "customer": "对照草稿客户", "salesperson": "麦麦", "status": "delivered", "note": "", "types": [ "货盘·展柜A(主)" ], "mg": 10000, "summaryMg": 10000, "pieces": 0, "originalSale": 980000, "sale": 980000, "material": null, "laborAndFees": null, "unallocated": 900000, "totalCost": 900000, "profit": 80000, "ownerCost": 900000, "assistantCost": 0, "assistant2Cost": 0, "known": { "sale": 980000, "material": 0, "laborAndFees": 0, "unallocated": 900000, "totalCost": 900000, "profit": 80000, "ownerCost": 900000, "assistantCost": 0, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金手镯", "amount": 900000, "payer": "owner", "excluded": false, "calculation": null, "component": "unallocated" } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 5, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118006", "date": "2026-11-18", "created": "2026-11-18T02:01:24.000Z", "cancellationApproved": { "id": "", "status": "approved", "order_revision": 4, "reason": "重复录入", "requester_name": "助理2", "created": "2026-11-19T02:00:41.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:00:45.000Z", "note": "核对原单后确认" }, "customer": "对照取消客户", "salesperson": "小昊", "status": "cancelled", "note": "", "types": [ "货盘现货" ], "mg": 1500, "summaryMg": 1500, "pieces": 0, "originalSale": 150000, "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0, "known": { "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0 }, "costItems": [], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "录错作废已获麦麦批准,本单销售、成本与收款记账已撤销,原单和审批记录保留", "balance": 0, "revision": 5, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118007", "date": "2026-11-18", "created": "2026-11-18T02:01:25.000Z", "customer": "对照售后订单客户", "salesperson": "小昊", "status": "returned", "note": "", "orderAfterSale": { "orderId": "", "date": "2026-11-19", "reason": "客户退回一件", "deductionReason": "客户确认扣费", "refund": { "amount": 90000, "account": "助理2支付宝", "payer": "assistant2", "reference": "" }, "expenses": [], "original": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": { "id": "", "status": "approved", "action": "return", "action_label": "订单售后", "order_revision": 4, "reason": "客户退回一件", "requester_name": "助理2", "created": "2026-11-19T02:01:03.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:01:05.000Z", "note": "实物已收回" }, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 0, "netReceived": 500000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 50000, "knownProfit": 50000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "funds_mode": "team", "credit_card_rate_permille": 6 }, "originalJournal": { "sales": 500000, "goods": 450000, "expense": 0, "profit": 50000 }, "summary": { "refundAmount": 90000, "retainedAmount": 410000, "materialReturnedCost": 88000, "laborRestockedCost": 0, "materialLoss": 352000, "costLoss": 362000, "originalDirectCost": 0, "newExpenses": 0, "directCost": 0, "profit": 48000, "finalProfit": 48000, "profitAdjustment": -2000, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ] }, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ], "originalOrder": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": { "id": "", "status": "approved", "action": "return", "action_label": "订单售后", "order_revision": 4, "reason": "客户退回一件", "requester_name": "助理2", "created": "2026-11-19T02:01:03.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:01:05.000Z", "note": "实物已收回" }, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 0, "netReceived": 500000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 50000, "knownProfit": 50000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "funds_mode": "team", "credit_card_rate_permille": 6 } }, "current_status": "returned", "types": [ "货盘现货" ], "mg": 5000, "summaryMg": 5000, "pieces": 0, "originalSale": 500000, "sale": 500000, "material": 440000, "laborAndFees": 10000, "unallocated": 0, "totalCost": 450000, "profit": 50000, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 450000, "known": { "sale": 500000, "material": 440000, "laborAndFees": 10000, "unallocated": 0, "totalCost": 450000, "profit": 50000, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 450000 }, "costItems": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金手链", "amount": 440000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "material" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金手链", "amount": 10000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金手链", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金手链", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金手链", "amount": 10000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金手链", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金手链", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 4, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118008", "date": "2026-11-18", "created": "2026-11-18T02:01:26.000Z", "customer": "对照驳回客户", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 800, "summaryMg": 800, "pieces": 0, "originalSale": 82000, "sale": 82000, "material": null, "laborAndFees": null, "unallocated": 70000, "totalCost": 70000, "profit": 12000, "ownerCost": 0, "assistantCost": 70000, "assistant2Cost": 0, "known": { "sale": 82000, "material": 0, "laborAndFees": 0, "unallocated": 70000, "totalCost": 70000, "profit": 12000, "ownerCost": 0, "assistantCost": 70000, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金耳钉", "amount": 70000, "payer": "assistant", "excluded": false, "calculation": null, "component": "unallocated" } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 5, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "owner", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118009", "date": "2026-11-18", "created": "2026-11-18T02:01:27.000Z", "customer": "对照分步客户", "salesperson": "麦麦", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 4000, "summaryMg": 4000, "pieces": 0, "originalSale": 400000, "sale": 400000, "material": null, "laborAndFees": null, "unallocated": 350000, "totalCost": 351800, "profit": 48200, "ownerCost": 351800, "assistantCost": 0, "assistant2Cost": 0, "known": { "sale": 400000, "material": 0, "laborAndFees": 1800, "unallocated": 350000, "totalCost": 351800, "profit": 48200, "ownerCost": 351800, "assistantCost": 0, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金项链", "amount": 350000, "payer": "owner", "excluded": false, "calculation": null, "component": "unallocated" }, { "kind": "paid", "name": "信用卡手续费(6‰)", "source": "2026-11-18", "amount": 1800, "payer": "owner", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "paid", "name": "信用卡手续费(6‰)", "source": "2026-11-18", "amount": 1800, "payer": "owner", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 5, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "kind": "afterSale", "after_sale_id": "", "number": "售后", "paper_number": "", "date": "2026-11-18", "created": "2026-11-18T02:02:03.000Z", "customer": "对照售后客户", "salesperson": "助理", "status": "after_sale", "project": "对照改圈", "note": "对照改圈", "amount": 950, "payer": "assistant", "types": [ "售后" ], "mg": 0, "summaryMg": 0, "pieces": 0, "originalSale": 0, "sale": 0, "material": 0, "laborAndFees": 950, "unallocated": 0, "totalCost": 950, "profit": -950, "ownerCost": 0, "assistantCost": 950, "known": { "sale": 0, "material": 0, "laborAndFees": 950, "unallocated": 0, "totalCost": 950, "profit": -950, "ownerCost": 0, "assistantCost": 950 }, "costItems": [ { "kind": "afterSale", "after_sale_id": "", "name": "对照改圈", "source": "售后 · 2026-11-18", "amount": 950, "payer": "assistant", "component": "fee", "calculation": null } ], "laborAndFeeItems": [ { "kind": "afterSale", "after_sale_id": "", "name": "对照改圈", "source": "售后 · 2026-11-18", "amount": 950, "payer": "assistant", "component": "fee", "calculation": null } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "独立售后支出,计入所选日期利润", "balance": 0, "revision": 2, "reviewed_revision": 2 }, { "id": "", "kind": "afterSale", "after_sale_id": "", "number": "售后", "paper_number": "", "date": "2026-11-18", "created": "2026-11-18T02:02:06.000Z", "customer": "对照售后客户二", "salesperson": "麦麦", "status": "after_sale", "project": "对照清洗", "note": "对照清洗", "amount": 0, "payer": "owner", "types": [ "售后" ], "mg": 0, "summaryMg": 0, "pieces": 0, "originalSale": 0, "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "known": { "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0 }, "costItems": [ { "kind": "afterSale", "after_sale_id": "", "name": "对照清洗", "source": "售后 · 2026-11-18", "amount": 0, "payer": "owner", "component": "fee", "calculation": null } ], "laborAndFeeItems": [ { "kind": "afterSale", "after_sale_id": "", "name": "对照清洗", "source": "售后 · 2026-11-18", "amount": 0, "payer": "owner", "component": "fee", "calculation": null } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "独立售后支出,计入所选日期利润", "balance": 0, "revision": 1, "reviewed_revision": 1 }, { "id": "", "order_id": "", "kind": "orderAfterSale", "orderAfterSale": { "orderId": "", "date": "2026-11-19", "reason": "客户退回一件", "deductionReason": "客户确认扣费", "refund": { "amount": 90000, "account": "助理2支付宝", "payer": "assistant2", "reference": "" }, "expenses": [], "original": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": { "id": "", "status": "approved", "action": "return", "action_label": "订单售后", "order_revision": 4, "reason": "客户退回一件", "requester_name": "助理2", "created": "2026-11-19T02:01:03.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:01:05.000Z", "note": "实物已收回" }, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 0, "netReceived": 500000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 50000, "knownProfit": 50000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "funds_mode": "team", "credit_card_rate_permille": 6 }, "originalJournal": { "sales": 500000, "goods": 450000, "expense": 0, "profit": 50000 }, "summary": { "refundAmount": 90000, "retainedAmount": 410000, "materialReturnedCost": 88000, "laborRestockedCost": 0, "materialLoss": 352000, "costLoss": 362000, "originalDirectCost": 0, "newExpenses": 0, "directCost": 0, "profit": 48000, "finalProfit": 48000, "profitAdjustment": -2000, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ] }, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ], "order_id": "", "created": "2026-11-19T02:01:05.000Z", "number": "MM20261118-", "paper_number": "20261118007", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "order_date": "2026-11-18", "member": "assistant2" }, "member": "assistant2", "number": "MM20261118-", "paper_number": "20261118007", "date": "2026-11-19", "order_date": "2026-11-18", "created": "2026-11-19T02:01:05.000Z", "customer": "对照售后订单客户", "salesperson": "小昊", "status": "after_sale", "note": "", "project": "订单售后", "types": [ "订单售后" ], "mg": 0, "summaryMg": 0, "pieces": 0, "originalSale": 500000, "sale": -90000, "material": -88000, "laborAndFees": 0, "unallocated": 0, "totalCost": -88000, "profit": -2000, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": -88000, "known": { "sale": -90000, "material": -88000, "laborAndFees": 0, "unallocated": 0, "totalCost": -88000, "profit": -2000, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": -88000 }, "costItems": [ { "kind": "goods", "component": "material", "name": "售后收回金料成本", "source": "商品 1 · 足金手链", "amount": -88000, "payer": "assistant2", "nonCash": true, "materialPoolId": "2026-11-19", "calculation": null } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "按售后发生日调整;回收成本不属于新付款", "balance": 0, "revision": 1, "reviewed_revision": 1 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119010", "date": "2026-11-19", "created": "2026-11-19T02:01:28.000Z", "price_lock_id": "", "customer": "对照锁价客户(改)", "salesperson": "娜娜", "status": "delivered", "note": "锁价备注;锁价单 SJ20261118-;按原锁定金价 900.00元/克结算", "types": [ "货盘现货" ], "mg": 3100, "summaryMg": 3100, "pieces": 0, "originalSale": 286200, "sale": 286200, "material": 264000, "laborAndFees": 3600, "unallocated": 0, "totalCost": 267600, "profit": 18600, "ownerCost": 255600, "assistantCost": 12000, "assistant2Cost": 0, "known": { "sale": 286200, "material": 264000, "laborAndFees": 3600, "unallocated": 0, "totalCost": 267600, "profit": 18600, "ownerCost": 255600, "assistantCost": 12000, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 原锁价采购", "amount": 255000, "payer": "owner", "excluded": false, "priceLockSource": "original", "calculation": { "rate": 85000, "quantity": 3000 } }, { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 补重采购", "amount": 9000, "payer": "assistant", "excluded": false, "priceLockSource": "extra", "calculation": { "rate": 90000, "quantity": 100 } }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "实际快递", "source": "2026-11-19", "amount": 600, "payer": "owner", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "实际快递", "source": "2026-11-19", "amount": 600, "payer": "owner", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 3, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119011", "date": "2026-11-19", "created": "2026-11-19T02:01:32.000Z", "recovery_id": "", "recovery_mode": "exchange", "nonCashOffset": 0, "cashPaid": 0, "netSettlement": 432792, "recovery_immutable_reason": "本单关联黄金回收/置换、购料及库存,暂不支持普通订单修改、取消、退款、退货或费用变更,请保留原关联记录", "customer": "对照换货客户", "salesperson": "小昊", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 12000, "summaryMg": 12000, "pieces": 0, "originalSale": 432792, "sale": 432792, "material": 360720, "laborAndFees": 6000, "unallocated": 0, "totalCost": 366720, "profit": 66072, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 366720, "known": { "sale": 432792, "material": 360720, "laborAndFees": 6000, "unallocated": 0, "totalCost": 366720, "profit": 66072, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 366720 }, "costItems": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金对照新货", "amount": 360720, "payer": "assistant2", "excluded": false, "calculation": { "rate": 90000, "quantity": 4008 }, "component": "material" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 6000, "payer": "assistant2", "excluded": false, "calculation": { "rate": 500, "quantity": 12000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 6000, "payer": "assistant2", "excluded": false, "calculation": { "rate": 500, "quantity": 12000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 4, "reviewed_revision": 0, "printStatus": { "kind": "recovery", "id": "", "printed": true, "revision": 1, "updated": "2026-11-19T02:01:40.000Z", "actor": "助理2" } }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119012", "date": "2026-11-19", "created": "2026-11-19T02:01:33.000Z", "recovery_id": "", "recovery_mode": "exchange", "nonCashOffset": 0, "cashPaid": 0, "netSettlement": 130800, "recovery_immutable_reason": "本单关联黄金回收/置换、购料及库存,暂不支持普通订单修改、取消、退款、退货或费用变更,请保留原关联记录", "customer": "对照换货客户二", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 6000, "summaryMg": 6000, "pieces": 0, "originalSale": 130800, "sale": 130800, "material": 103410, "laborAndFees": 3000, "unallocated": 0, "totalCost": 106410, "profit": 24390, "ownerCost": 0, "assistantCost": 106410, "assistant2Cost": 0, "known": { "sale": 130800, "material": 103410, "laborAndFees": 3000, "unallocated": 0, "totalCost": 106410, "profit": 24390, "ownerCost": 0, "assistantCost": 106410, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金对照新货", "amount": 103410, "payer": "assistant", "excluded": false, "calculation": { "rate": 90000, "quantity": 1149 }, "component": "material" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": { "rate": 500, "quantity": 6000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": { "rate": 500, "quantity": 6000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 4, "reviewed_revision": 0, "printStatus": { "kind": "recovery", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119013", "date": "2026-11-19", "created": "2026-11-19T02:01:48.000Z", "customer": "当天客户(改)", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 2000, "summaryMg": 2000, "pieces": 0, "originalSale": 210000, "sale": 210000, "material": null, "laborAndFees": null, "unallocated": 180000, "totalCost": 180800, "profit": 29200, "ownerCost": 0, "assistantCost": 180800, "assistant2Cost": 0, "known": { "sale": 210000, "material": 0, "laborAndFees": 800, "unallocated": 180000, "totalCost": 180800, "profit": 29200, "ownerCost": 0, "assistantCost": 180800, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金吊坠", "amount": 180000, "payer": "assistant", "excluded": false, "calculation": null, "component": "unallocated" }, { "kind": "paid", "name": "当天快递", "source": "2026-11-19", "amount": 800, "payer": "assistant", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "paid", "name": "当天快递", "source": "2026-11-19", "amount": 800, "payer": "assistant", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 7, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119014", "date": "2026-11-19", "created": "2026-11-19T02:01:57.000Z", "cancellationApproved": { "id": "", "status": "approved", "order_revision": 4, "reason": "当天录错", "requester_name": "助理", "created": "2026-11-19T02:01:59.000Z", "reviewer_name": null, "reviewed": null, "note": "", "direct": true, "operator_name": "助理", "executedAt": "2026-11-19T02:01:59.000Z" }, "customer": "当天取消客户", "salesperson": "娜娜", "status": "cancelled", "note": "", "types": [ "货盘现货" ], "mg": 2000, "summaryMg": 2000, "pieces": 0, "originalSale": 210000, "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0, "known": { "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0 }, "costItems": [], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "录错作废已获麦麦批准,本单销售、成本与收款记账已撤销,原单和审批记录保留", "balance": 0, "revision": 5, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119015", "date": "2026-11-19", "created": "2026-11-19T02:02:40.000Z", "materialPoolIds": [ "2026-11-19" ], "materialCostPending": false, "customer": "滚动料池客户", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "配货" ], "mg": 2000, "summaryMg": 2000, "pieces": 0, "originalSale": 220000, "sale": 220000, "material": 181898, "laborAndFees": 0, "unallocated": 0, "totalCost": 181898, "profit": 38102, "ownerCost": 0, "assistantCost": 181898, "assistant2Cost": 0, "known": { "sale": 220000, "material": 181898, "laborAndFees": 0, "unallocated": 0, "totalCost": 181898, "profit": 38102, "ownerCost": 0, "assistantCost": 181898, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 2026-11-19日购料", "amount": 181898, "payer": "assistant", "excluded": false, "materialPoolId": "2026-11-19", "materialPoolRevision": "2e1d58e4d359165036a53976f4ed30c7052bb21df8bd2eb46c6544546a2e818b", "calculation": { "rate": 90949, "quantity": 2000, "weighted": true } }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 4, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119016", "date": "2026-11-19", "created": "2026-11-19T02:02:51.000Z", "customer": "安全测试", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 500, "summaryMg": 500, "pieces": 0, "originalSale": 50000, "sale": 50000, "material": null, "laborAndFees": null, "unallocated": 42000, "totalCost": 42000, "profit": 8000, "ownerCost": 0, "assistantCost": 42000, "assistant2Cost": 0, "known": { "sale": 50000, "material": 0, "laborAndFees": 0, "unallocated": 42000, "totalCost": 42000, "profit": 8000, "ownerCost": 0, "assistantCost": 42000, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金转运珠", "amount": 42000, "payer": "assistant", "excluded": false, "calculation": null, "component": "unallocated" } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 4, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } } ], "recoveryCount": 0, "summary": { "orderCount": 16, "completedCount": 14, "draftCount": 0, "confirmedCount": 0, "returnedCount": 1, "cancelledCount": 2, "incompleteCount": 0, "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "unknownCostCount": 0, "unknownProfitCount": 0, "legacyUnallocatedCount": 7, "sale": 4358555, "material": 1819963, "laborAndFees": 34281, "unallocated": 1875000, "totalCost": 3729244, "profit": 629311, "ownerCost": 1945131, "assistantCost": 872393, "assistant2Cost": 911720, "mg": 57150, "pieces": 4, "knownCounts": { "sale": 16, "material": 9, "laborAndFees": 9, "unallocated": 16, "totalCost": 16, "profit": 16, "ownerCost": 16, "assistantCost": 16, "assistant2Cost": 16 }, "unknownCounts": { "sale": 0, "material": 7, "laborAndFees": 7, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0 }, "partial": true, "afterSaleCount": 3, "recordCount": 19 }, "peopleCount": { "from": "2026-11-18", "date": "2026-11-19", "baselineDate": "2026-11-17", "mode": "daily-total", "assistant1": { "total": 7, "endTotal": 7, "baselineTotal": null, "baselineDate": null, "netChange": null, "netChangeReason": "missing-previous", "recordedDays": 2 }, "assistant2": { "total": 4, "endTotal": 4, "baselineTotal": null, "baselineDate": null, "netChange": null, "netChangeReason": "missing-previous", "recordedDays": 2 } }, "priceLockActivity": { "basis": "eventDate", "from": "2026-11-18", "date": "2026-11-19", "customerCash": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 270000, "account": "助理微信", "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:53.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null }, { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 50000, "account": "助理2微信", "number": "SJ20261118-", "customer": "对照锁价客户三", "product": "足金999", "actor": "助理2", "created": "2026-11-18T02:01:55.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null }, { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 120000, "account": "助理支付宝", "number": "SJ20261118-", "customer": "对照锁价客户二", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:02:02.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null }, { "id": "", "price_lock_id": "", "date": "2026-11-19", "kind": "receipt", "amount": 16200, "account": "助理支付宝", "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-19T02:01:28.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null } ], "orderPayments": [], "materialOutlays": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "material", "amount": 255000, "payer": "owner", "source": "original", "quantity": 3000, "rate": 85000, "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:53.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "component": "material" }, { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "material", "amount": 255000, "payer": "owner", "source": "original", "quantity": 3000, "rate": 85000, "number": "SJ20261118-", "customer": "对照锁价客户二", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:54.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "component": "material" }, { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "material", "amount": 258000, "payer": "assistant2", "source": "original", "quantity": 3000, "rate": 86000, "number": "SJ20261118-", "customer": "对照锁价客户三", "product": "足金999", "actor": "助理2", "created": "2026-11-18T02:01:55.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "component": "material" }, { "id": "", "price_lock_id": "", "date": "2026-11-19", "kind": "material", "amount": 9000, "payer": "assistant", "source": "extra", "quantity": 100, "rate": 90000, "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-19T02:01:28.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "component": "material" } ], "directOutlays": [ { "id": "", "order_id": "", "date": "2026-11-19", "amount": 600, "payer": "owner", "note": "实际快递", "actor": "助理", "created": "2026-11-19T02:01:28.000Z", "price_lock_id": "", "number": "SJ20261118-", "customer": "对照锁价客户(改)", "kind": "fee", "component": "fee", "product": "足金999" } ], "deliveryGoodsOutlays": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": null, "id": "price-lock-goods::0", "price_lock_id": "", "order_id": "", "number": "MM20261119-", "paper_number": "20261119010", "customer": "对照锁价客户(改)", "date": "2026-11-19", "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "id": "price-lock-goods::1", "price_lock_id": "", "order_id": "", "number": "MM20261119-", "paper_number": "20261119010", "customer": "对照锁价客户(改)", "date": "2026-11-19", "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "id": "price-lock-goods::2", "price_lock_id": "", "order_id": "", "number": "MM20261119-", "paper_number": "20261119010", "customer": "对照锁价客户(改)", "date": "2026-11-19", "component": "other" } ], "receipts": { "receipt": 456200, "refund": 0, "net": 456200, "channels": [ { "channel": "wechat", "name": "微信", "receipt": 320000, "refund": 0, "net": 320000 }, { "channel": "alipay", "name": "支付宝", "receipt": 136200, "refund": 0, "net": 136200 }, { "channel": "cash", "name": "现金", "receipt": 0, "refund": 0, "net": 0 } ], "accounts": [ { "account": "助理微信", "receipt": 270000, "refund": 0, "net": 270000 }, { "account": "助理支付宝", "receipt": 136200, "refund": 0, "net": 136200 }, { "account": "助理现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2微信", "receipt": 50000, "refund": 0, "net": 50000 }, { "account": "助理2支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2现金", "receipt": 0, "refund": 0, "net": 0 } ], "paymentCount": 4, "orderCount": 3 }, "payerOutlays": { "owner": { "payer": "owner", "material": 510000, "goods": 510000, "paidFees": 600, "total": 510600 }, "assistant": { "payer": "assistant", "material": 9000, "goods": 12000, "paidFees": 0, "total": 12000 }, "assistant2": { "payer": "assistant2", "material": 258000, "goods": 258000, "paidFees": 0, "total": 258000 } }, "summary": { "receipt": 456200, "refund": 0, "net": 456200, "materialOutlay": 777000, "goodsOutlay": 780000, "feeOutlay": 600, "ownerOutlay": 510600, "assistantOutlay": 12000, "assistant2Outlay": 258000, "totalOutlay": 780600, "eventCount": 12, "lockCount": 3 } }, "materialPoolActivity": { "basis": "purchaseDate", "from": "2026-11-18", "date": "2026-11-19", "purchases": [ { "id": "", "pool_id": "2026-11-18", "date": "2026-11-18", "mg": 11000, "amount": 990000, "payer": "assistant", "note": "核对凭据", "actor": "助理", "created": "2026-11-18T02:01:09.000Z", "revision": 2, "deleted_at": "", "updated": "2026-11-19T02:02:27.000Z" }, { "id": "", "pool_id": "2026-11-18", "date": "2026-11-18", "mg": 20000, "amount": 1820000, "payer": "owner", "note": "麦麦购料", "actor": "麦麦", "created": "2026-11-18T02:01:10.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-18T02:01:10.000Z" }, { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 5000, "amount": 460000, "payer": "assistant", "note": "第二天购料", "actor": "助理", "created": "2026-11-19T02:02:19.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:19.000Z" }, { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 4000, "amount": 370000, "payer": "assistant2", "note": "", "actor": "助理2", "created": "2026-11-19T02:02:20.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:20.000Z" } ], "payerOutlays": { "owner": { "payer": "owner", "material": 1820000, "goods": 1820000, "paidFees": 0, "total": 1820000, "purchaseCount": 1 }, "assistant": { "payer": "assistant", "material": 1450000, "goods": 1450000, "paidFees": 0, "total": 1450000, "purchaseCount": 2 }, "assistant2": { "payer": "assistant2", "material": 370000, "goods": 370000, "paidFees": 0, "total": 370000, "purchaseCount": 1 } }, "summary": { "purchaseCount": 4, "poolCount": 2, "mg": 40000, "materialOutlay": 3640000, "purchaseValue": 3640000, "ownerOutlay": 1820000, "assistantOutlay": 1450000, "assistant2Outlay": 370000, "totalOutlay": 3640000, "eventCount": 4 } }, "summaryWithoutCancelled": { "orderCount": 14, "completedCount": 14, "draftCount": 0, "confirmedCount": 0, "returnedCount": 1, "cancelledCount": 0, "incompleteCount": 0, "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "unknownCostCount": 0, "unknownProfitCount": 0, "legacyUnallocatedCount": 7, "sale": 4358555, "material": 1819963, "laborAndFees": 34281, "unallocated": 1875000, "totalCost": 3729244, "profit": 629311, "ownerCost": 1945131, "assistantCost": 872393, "assistant2Cost": 911720, "mg": 53650, "pieces": 4, "knownCounts": { "sale": 14, "material": 7, "laborAndFees": 7, "unallocated": 14, "totalCost": 14, "profit": 14, "ownerCost": 14, "assistantCost": 14, "assistant2Cost": 14 }, "unknownCounts": { "sale": 0, "material": 7, "laborAndFees": 7, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0 }, "partial": true, "afterSaleCount": 3, "recordCount": 17 }, "receiptsWithoutCancelled": { "basis": "orderDate", "filterScope": "matchingOrdersWithoutCancelled", "from": "2026-11-18", "date": "2026-11-19", "receipt": 4618555, "refund": 90000, "net": 4528555, "channels": [ { "channel": "wechat", "name": "微信", "receipt": 2184692, "refund": 0, "net": 2184692 }, { "channel": "alipay", "name": "支付宝", "receipt": 535363, "refund": 90000, "net": 445363 }, { "channel": "cash", "name": "现金", "receipt": 1310000, "refund": 0, "net": 1310000 }, { "channel": "credit_card", "name": "信用卡", "receipt": 588500, "refund": 0, "net": 588500 } ], "accounts": [ { "account": "助理微信", "receipt": 1201900, "refund": 0, "net": 1201900 }, { "account": "助理支付宝", "receipt": 218200, "refund": 0, "net": 218200 }, { "account": "助理现金", "receipt": 330000, "refund": 0, "net": 330000 }, { "account": "麦麦微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦支付宝", "receipt": 100000, "refund": 0, "net": 100000 }, { "account": "麦麦现金", "receipt": 980000, "refund": 0, "net": 980000 }, { "account": "麦麦信用卡", "receipt": 588500, "refund": 0, "net": 588500 }, { "account": "助理2微信", "receipt": 982792, "refund": 0, "net": 982792 }, { "account": "助理2支付宝", "receipt": 217163, "refund": 90000, "net": 127163 }, { "account": "助理2现金", "receipt": 0, "refund": 0, "net": 0 } ], "paymentCount": 19, "orderCount": 16 }, "receiptsByPaymentDate": { "basis": "paymentDate", "filterScope": "dateRange", "from": "2026-11-18", "date": "2026-11-19", "receipt": 4618555, "refund": 90000, "net": 4528555, "channels": [ { "channel": "wechat", "name": "微信", "receipt": 2184692, "refund": 0, "net": 2184692 }, { "channel": "alipay", "name": "支付宝", "receipt": 535363, "refund": 90000, "net": 445363 }, { "channel": "cash", "name": "现金", "receipt": 1310000, "refund": 0, "net": 1310000 }, { "channel": "credit_card", "name": "信用卡", "receipt": 588500, "refund": 0, "net": 588500 } ], "accounts": [ { "account": "助理微信", "receipt": 1201900, "refund": 0, "net": 1201900 }, { "account": "助理支付宝", "receipt": 218200, "refund": 0, "net": 218200 }, { "account": "助理现金", "receipt": 330000, "refund": 0, "net": 330000 }, { "account": "麦麦微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦支付宝", "receipt": 100000, "refund": 0, "net": 100000 }, { "account": "麦麦现金", "receipt": 980000, "refund": 0, "net": 980000 }, { "account": "麦麦信用卡", "receipt": 588500, "refund": 0, "net": 588500 }, { "account": "助理2微信", "receipt": 982792, "refund": 0, "net": 982792 }, { "account": "助理2支付宝", "receipt": 217163, "refund": 90000, "net": 127163 }, { "account": "助理2现金", "receipt": 0, "refund": 0, "net": 0 } ], "paymentCount": 23, "orderCount": 18 }, "receiptsByOrderDate": { "basis": "orderDate", "filterScope": "matchingOrders", "from": "2026-11-18", "date": "2026-11-19", "receipt": 4618555, "refund": 90000, "net": 4528555, "channels": [ { "channel": "wechat", "name": "微信", "receipt": 2184692, "refund": 0, "net": 2184692 }, { "channel": "alipay", "name": "支付宝", "receipt": 535363, "refund": 90000, "net": 445363 }, { "channel": "cash", "name": "现金", "receipt": 1310000, "refund": 0, "net": 1310000 }, { "channel": "credit_card", "name": "信用卡", "receipt": 588500, "refund": 0, "net": 588500 } ], "accounts": [ { "account": "助理微信", "receipt": 1201900, "refund": 0, "net": 1201900 }, { "account": "助理支付宝", "receipt": 218200, "refund": 0, "net": 218200 }, { "account": "助理现金", "receipt": 330000, "refund": 0, "net": 330000 }, { "account": "麦麦微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦支付宝", "receipt": 100000, "refund": 0, "net": 100000 }, { "account": "麦麦现金", "receipt": 980000, "refund": 0, "net": 980000 }, { "account": "麦麦信用卡", "receipt": 588500, "refund": 0, "net": 588500 }, { "account": "助理2微信", "receipt": 982792, "refund": 0, "net": 982792 }, { "account": "助理2支付宝", "receipt": 217163, "refund": 90000, "net": 127163 }, { "account": "助理2现金", "receipt": 0, "refund": 0, "net": 0 } ], "paymentCount": 23, "orderCount": 18 } } }, { "seq": 418, "label": "inventory-owner", "date": "2026-11-19", "actor": "owner", "method": "GET", "path": "/api/inventory", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "date": "2026-11-19", "yesterdayDate": "2026-11-18", "pockets": [ "现货", "金料", "找金", "回收旧料", "君宝汇", "pocket_" ], "current": [ { "pocket": "现货", "mg": 61950, "reserved": 0, "available": 61950 }, { "pocket": "金料", "mg": 56000, "reserved": 0, "available": 56000 }, { "pocket": "找金", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "回收旧料", "mg": 12843, "reserved": 0, "available": 12843 }, { "pocket": "君宝汇", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "pocket_", "mg": 10000, "reserved": 0, "available": 10000 } ], "yesterday": { "date": "2026-11-18", "inventory": [ { "pocket": "现货", "mg": 80450, "reserved": 0, "available": 80450 }, { "pocket": "金料", "mg": 55000, "reserved": 0, "available": 55000 }, { "pocket": "找金", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "回收旧料", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "君宝汇", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "臻金汇", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "金金", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "定制工厂", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "pocket_", "mg": 10000, "reserved": 0, "available": 10000 } ], "actor": "麦麦", "created": "2026-11-18T02:02:46.000Z", "updated": "2026-11-18T02:02:50.000Z", "stale": true, "revision": "3ced53bccf874039772cb33ea02c64ef6b6b7c23c841b7a40909076084b3a086", "source": "manual", "scheduled_for": null }, "todaySnapshot": null, "revision": "26e088956f984c72faf016a73484b8daf5648bcb6a79e96465dce260ed8aaace", "legacyInventory": [], "canReview": true, "automaticSnapshot": { "enabled": false, "time": "23:50", "timeZone": "Asia/Shanghai", "date": "2026-11-19", "status": "stopped", "lastSuccess": null, "lastError": null, "nextAttemptAt": null } } }, { "seq": 419, "label": "movements-owner", "date": "2026-11-19", "actor": "owner", "method": "GET", "path": "/api/inventory/movements", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "pocket": "", "pockets": [ { "pocket": "现货", "active": true }, { "pocket": "金料", "active": true }, { "pocket": "找金", "active": true }, { "pocket": "回收旧料", "active": true }, { "pocket": "君宝汇", "active": true }, { "pocket": "pocket_", "active": true } ], "kind": "all", "hideDeleted": false, "from": "", "to": "", "total": 33, "shown": 33, "limit": 100, "pageSize": 100, "page": 1, "totalPages": 1, "hasPrev": false, "hasNext": false, "movements": [ { "id": "", "group_id": "", "order_id": "", "date": "2026-11-19", "pocket": "现货", "mg": -500, "kind": "sale", "note": "MM20261119-", "purchase_cost": null, "actor": "助理", "created": "2026-11-19T02:02:51.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-19", "pocket": "现货", "mg": 2000, "kind": "order_cancel_reverse", "note": "MM20261119-;当天直接作废:当天录错", "purchase_cost": null, "actor": "助理", "created": "2026-11-19T02:01:59.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-19", "pocket": "现货", "mg": -2000, "kind": "sale", "note": "MM20261119-", "purchase_cost": null, "actor": "助理", "created": "2026-11-19T02:01:57.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-19", "pocket": "现货", "mg": -2000, "kind": "sale", "note": "MM20261119-", "purchase_cost": null, "actor": "助理", "created": "2026-11-19T02:01:48.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-19", "pocket": "现货", "mg": -6000, "kind": "sale", "note": "MM20261119-", "purchase_cost": null, "actor": "助理", "created": "2026-11-19T02:01:33.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-19", "pocket": "回收旧料", "mg": 4851, "kind": "recovery", "note": "HS202611190002", "purchase_cost": null, "actor": "助理", "created": "2026-11-19T02:01:33.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-19", "pocket": "现货", "mg": -12000, "kind": "sale", "note": "MM20261119-", "purchase_cost": null, "actor": "助理2", "created": "2026-11-19T02:01:32.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-19", "pocket": "回收旧料", "mg": 7992, "kind": "recovery", "note": "HS202611190001", "purchase_cost": null, "actor": "助理2", "created": "2026-11-19T02:01:32.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-19", "pocket": "现货", "mg": -3100, "kind": "sale", "note": "MM20261119-", "purchase_cost": null, "actor": "助理", "created": "2026-11-19T02:01:28.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-19", "pocket": "现货", "mg": 100, "kind": "lock_purchase", "note": "SJ20261118- 足金999 补重黄金入库", "purchase_cost": 9000, "actor": "助理", "created": "2026-11-19T02:01:28.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-19", "pocket": "现货", "mg": 3000, "kind": "lock_purchase", "note": "SJ20261118- 足金999 原锁定黄金入库", "purchase_cost": 255000, "actor": "助理", "created": "2026-11-19T02:01:28.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "after-sale:", "order_id": "", "date": "2026-11-19", "pocket": "金料", "mg": 1000, "kind": "return", "note": "MM20261118- · 售后回收旧料", "purchase_cost": null, "actor": "麦麦", "created": "2026-11-19T02:01:05.000Z", "groupId": "after-sale:", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-18", "pocket": "现货", "mg": 1500, "kind": "order_cancel_reverse", "note": "MM20261118-;审批作废:重复录入", "purchase_cost": null, "actor": "麦麦", "created": "2026-11-19T02:00:45.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": null, "date": "2026-11-19", "pocket": "金料", "mg": -1200, "kind": "manual_reversal", "note": "手动库存更正冲回:", "purchase_cost": null, "actor": "麦麦", "created": "2026-11-19T02:00:21.000Z", "groupId": "", "revision": 3, "manual": false, "current": false, "status": "deleted", "reversal": true, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": null, "date": "2026-11-19", "pocket": "金料", "mg": 1200, "kind": "increase", "note": "当天手动入库", "purchase_cost": null, "actor": "助理", "created": "2026-11-19T02:00:19.000Z", "groupId": "", "revision": 3, "manual": true, "current": false, "status": "deleted", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": null, "date": "2026-11-19", "pocket": "金料", "mg": -1000, "kind": "manual_reversal", "note": "手动库存更正冲回:", "purchase_cost": null, "actor": "助理", "created": "2026-11-19T02:00:19.000Z", "groupId": "", "revision": 3, "manual": false, "current": false, "status": "deleted", "reversal": true, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": null, "date": "2026-11-19", "pocket": "金料", "mg": 1000, "kind": "increase", "note": "当天手动入库", "purchase_cost": null, "actor": "助理", "created": "2026-11-19T02:00:16.000Z", "groupId": "", "revision": 3, "manual": true, "current": false, "status": "deleted", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": null, "date": "2026-11-18", "pocket": "现货", "mg": 3000, "kind": "increase", "note": "娜娜手动入库", "purchase_cost": null, "actor": "麦麦", "created": "2026-11-19T02:00:11.000Z", "groupId": "", "revision": 2, "manual": true, "current": true, "status": "modified", "reversal": false, "canEdit": true, "canDelete": true, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": null, "date": "2026-11-18", "pocket": "现货", "mg": -2500, "kind": "manual_reversal", "note": "手动库存更正冲回:", "purchase_cost": null, "actor": "麦麦", "created": "2026-11-19T02:00:11.000Z", "groupId": "", "revision": 2, "manual": false, "current": false, "status": "modified", "reversal": true, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-18", "pocket": "现货", "mg": -4000, "kind": "sale", "note": "MM20261118-", "purchase_cost": null, "actor": "麦麦", "created": "2026-11-18T02:01:34.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-18", "pocket": "现货", "mg": -800, "kind": "sale", "note": "MM20261118-", "purchase_cost": null, "actor": "助理", "created": "2026-11-18T02:01:26.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-18", "pocket": "现货", "mg": -5000, "kind": "sale", "note": "MM20261118-", "purchase_cost": null, "actor": "助理2", "created": "2026-11-18T02:01:25.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-18", "pocket": "现货", "mg": -1500, "kind": "sale", "note": "MM20261118-", "purchase_cost": null, "actor": "助理2", "created": "2026-11-18T02:01:24.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-18", "pocket": "pocket_", "mg": -10000, "kind": "sale", "note": "MM20261118-", "purchase_cost": null, "actor": "麦麦", "created": "2026-11-18T02:01:23.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-18", "pocket": "现货", "mg": -2000, "kind": "sale", "note": "MM20261118-", "purchase_cost": null, "actor": "助理2", "created": "2026-11-18T02:01:18.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-18", "pocket": "现货", "mg": -3250, "kind": "sale", "note": "MM20261118-", "purchase_cost": null, "actor": "助理", "created": "2026-11-18T02:01:17.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": null, "date": "2026-11-18", "pocket": "现货", "mg": -500, "kind": "decrease", "note": "娜娜手动出库", "purchase_cost": null, "actor": "助理", "created": "2026-11-18T02:01:05.000Z", "groupId": "", "revision": 1, "manual": true, "current": true, "status": "active", "reversal": false, "canEdit": true, "canDelete": true, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": null, "date": "2026-11-18", "pocket": "现货", "mg": 2500, "kind": "increase", "note": "娜娜手动入库", "purchase_cost": null, "actor": "助理", "created": "2026-11-18T02:01:04.000Z", "groupId": "", "revision": 2, "manual": true, "current": false, "status": "modified", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": null, "date": "2026-11-18", "pocket": "金料", "mg": 5000, "kind": "transfer", "note": "调拨", "purchase_cost": null, "actor": "麦麦", "created": "2026-11-18T02:01:03.000Z", "groupId": "", "revision": 1, "manual": true, "current": true, "status": "active", "reversal": false, "canEdit": true, "canDelete": true, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": null, "date": "2026-11-18", "pocket": "现货", "mg": -5000, "kind": "transfer", "note": "调拨", "purchase_cost": null, "actor": "麦麦", "created": "2026-11-18T02:01:03.000Z", "groupId": "", "revision": 1, "manual": true, "current": true, "status": "active", "reversal": false, "canEdit": true, "canDelete": true, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": null, "date": "2026-11-18", "pocket": "pocket_", "mg": 20000, "kind": "opening", "note": "展柜起始", "purchase_cost": null, "actor": "麦麦", "created": "2026-11-18T02:01:02.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": null, "date": "2026-11-18", "pocket": "金料", "mg": 50000, "kind": "opening", "note": "黄金对照起始金料", "purchase_cost": null, "actor": "麦麦", "created": "2026-11-18T02:01:01.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": null, "date": "2026-11-18", "pocket": "现货", "mg": 100000, "kind": "opening", "note": "黄金对照起始库存", "purchase_cost": null, "actor": "麦麦", "created": "2026-11-18T02:01:00.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false } ] } }, { "seq": 420, "label": "snapshots-owner", "date": "2026-11-19", "actor": "owner", "method": "GET", "path": "/api/inventory/snapshots", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "from": "2000-01-01", "date": "2026-11-19", "snapshots": [ { "date": "2026-11-18", "inventory": [ { "pocket": "现货", "mg": 80450, "reserved": 0, "available": 80450 }, { "pocket": "金料", "mg": 55000, "reserved": 0, "available": 55000 }, { "pocket": "找金", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "回收旧料", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "君宝汇", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "臻金汇", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "金金", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "定制工厂", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "pocket_", "mg": 10000, "reserved": 0, "available": 10000 } ], "actor": "麦麦", "created": "2026-11-18T02:02:46.000Z", "updated": "2026-11-18T02:02:50.000Z", "stale": true, "revision": "3ced53bccf874039772cb33ea02c64ef6b6b7c23c841b7a40909076084b3a086", "source": "manual", "scheduled_for": null } ] } }, { "seq": 421, "label": "material-pools-owner", "date": "2026-11-19", "actor": "owner", "method": "GET", "path": "/api/material-pools", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "from": "2000-01-01", "date": "2026-11-19", "rows": [ { "id": "2026-11-19", "date": "2026-11-19", "rolling": true, "frozen": false, "totalMg": 38000, "totalAmount": 3456065, "usedMg": 2000, "remainingMg": 36000, "shortageMg": 0, "consumedCost": 181898, "remainingCost": 3274167, "remainingAllocations": [ { "payer": "assistant", "amount": 536167, "source_id": "", "created": "2026-11-18T02:01:09.000Z", "source_sequence": 1 }, { "payer": "owner", "amount": 1820000, "source_id": "", "created": "2026-11-18T02:01:10.000Z", "source_sequence": 2 }, { "payer": "assistant2", "amount": 88000, "source_id": "return::material:0", "created": "2026-11-19T02:01:05.000Z" }, { "payer": "assistant", "amount": 460000, "source_id": "", "created": "2026-11-19T02:02:19.000Z" }, { "payer": "assistant2", "amount": 370000, "source_id": "", "created": "2026-11-19T02:02:20.000Z" } ], "byPayer": { "owner": { "purchased": 1820000, "consumed": 0, "remaining": 1820000 }, "assistant": { "purchased": 1178065, "consumed": 181898, "remaining": 996167 }, "assistant2": { "purchased": 458000, "consumed": 0, "remaining": 458000 } }, "averageRate": 90949, "status": "using", "revision": "c2b7cf97dc5037020f6b38451266013f370e11bed92c022656cc69db8dab9cf4", "opening": { "mg": 28000, "amount": 2538065, "allocations": [ { "payer": "assistant", "amount": 718065, "source_id": "", "created": "2026-11-18T02:01:09.000Z", "source_sequence": 1 }, { "payer": "owner", "amount": 1820000, "source_id": "", "created": "2026-11-18T02:01:10.000Z", "source_sequence": 2 } ], "pending": false, "pools": [ { "id": "2026-11-18", "date": "2026-11-18", "totalMg": 31000, "totalAmount": 2810000, "averageRate": 90645, "usedMg": 3000, "remainingMg": 28000, "shortageMg": 0, "consumedCost": 271935, "remainingCost": 2538065, "status": "using", "revision": "2823f40ff78424f5423f0dbdf991ea5fcc83b0144648e9d2399869970c27af75", "purchases": [ { "id": "", "pool_id": "2026-11-18", "date": "2026-11-18", "mg": 11000, "amount": 990000, "payer": "assistant", "note": "核对凭据", "actor": "助理", "created": "2026-11-18T02:01:09.000Z", "revision": 2, "deleted_at": "", "updated": "2026-11-19T02:02:27.000Z" }, { "id": "", "pool_id": "2026-11-18", "date": "2026-11-18", "mg": 20000, "amount": 1820000, "payer": "owner", "note": "麦麦购料", "actor": "麦麦", "created": "2026-11-18T02:01:10.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-18T02:01:10.000Z" } ], "usages": [ { "id": "", "order_id": "", "line_index": 0, "pool_id": "2026-11-18", "date": "2026-11-18", "mg": 3000, "active": 1, "amount": 271935, "owner_amount": 0, "assistant_amount": 271935, "revision": 3, "created": "2026-11-18T02:01:20.000Z", "updated": "2026-11-19T02:02:27.000Z", "fifo_sequence": 1, "number": "MM20261118-", "customer": "对照客户丁", "order_status": "delivered", "member": "assistant", "product": "足金999" } ], "settlements": [], "byPayer": { "owner": { "purchased": 1820000, "consumed": 0, "remaining": 1820000 }, "assistant": { "purchased": 990000, "consumed": 271935, "remaining": 718065 } }, "settlement": { "assistantInventoryCredit": 718065, "transferred": 0, "settlementDue": -718065, "pending": false } } ] }, "todayPurchases": { "mg": 9000, "amount": 830000, "count": 2, "items": [ { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 5000, "amount": 460000, "payer": "assistant", "note": "第二天购料", "actor": "助理", "created": "2026-11-19T02:02:19.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:19.000Z", "source_sequence": 4, "sourceKind": "purchase", "canEdit": true, "canRequestChange": false, "ownerReviewRequired": false, "member": "assistant" }, { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 4000, "amount": 370000, "payer": "assistant2", "note": "", "actor": "助理2", "created": "2026-11-19T02:02:20.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:20.000Z", "source_sequence": 5, "sourceKind": "purchase", "canEdit": true, "canRequestChange": false, "ownerReviewRequired": false, "member": "assistant2" } ] }, "todayReturns": { "mg": 1000, "amount": 88000, "count": 1, "grossMg": 1000, "grossAmount": 88000, "grossCount": 1 }, "returns": [ { "id": "", "order_id": "", "line_index": 0, "date": "2026-11-19", "mg": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "origin_pool_id": "", "same_day": 0, "actor": "麦麦", "created": "2026-11-19T02:01:05.000Z", "source_sequence": 1, "number": "20261118007", "paper_number": "20261118007", "order_date": "2026-11-18", "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "sameDay": false, "cashAmount": 0 } ], "purchases": [ { "id": "carry:2026-11-19", "date": "2026-11-19", "mg": 28000, "amount": 2538065, "payer": "assistant", "allocations": [ { "payer": "assistant", "amount": 718065, "source_id": "", "created": "2026-11-18T02:01:09.000Z", "source_sequence": 1 }, { "payer": "owner", "amount": 1820000, "source_id": "", "created": "2026-11-18T02:01:10.000Z", "source_sequence": 2 } ], "created": "2026-11-19T00:00:00.000Z", "note": "以前结转", "sourceKind": "carry", "cashAmount": 0, "canEdit": false, "canRequestChange": false, "ownerReviewRequired": false }, { "id": "return::material:0", "order_id": "", "line_index": 0, "date": "2026-11-19", "mg": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "origin_pool_id": "", "same_day": 0, "actor": "麦麦", "created": "2026-11-19T02:01:05.000Z", "source_sequence": 1, "number": "20261118007", "paper_number": "20261118007", "order_date": "2026-11-18", "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "sameDay": false, "cashAmount": 0, "batches": [], "materialKind": "public", "materialOwner": null, "payer": "assistant2", "sourceKind": "return", "note": "退货回料", "canEdit": false, "canRequestChange": false, "ownerReviewRequired": false }, { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 5000, "amount": 460000, "payer": "assistant", "note": "第二天购料", "actor": "助理", "created": "2026-11-19T02:02:19.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:19.000Z", "source_sequence": 4, "sourceKind": "purchase", "canEdit": true, "canRequestChange": false, "ownerReviewRequired": false, "member": "assistant" }, { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 4000, "amount": 370000, "payer": "assistant2", "note": "", "actor": "助理2", "created": "2026-11-19T02:02:20.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:20.000Z", "source_sequence": 5, "sourceKind": "purchase", "canEdit": true, "canRequestChange": false, "ownerReviewRequired": false, "member": "assistant2" } ], "usages": [ { "id": "", "order_id": "", "line_index": 0, "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 2000, "active": 1, "amount": 181898, "owner_amount": 0, "assistant_amount": 181898, "revision": 1, "created": "2026-11-19T02:02:40.000Z", "updated": "2026-11-19T02:02:40.000Z", "fifo_sequence": 2, "number": "MM20261119-", "customer": "滚动料池客户", "order_status": "delivered", "assistant2_amount": 0, "member": "assistant", "product": "足金999" } ], "settlements": [], "settlement": { "legacyReadOnly": true, "settlementDue": 0, "assistantInventoryCredit": 0, "transferred": 0, "pending": false }, "legacyReadOnly": true }, { "id": "2026-11-18", "date": "2026-11-18", "totalMg": 31000, "totalAmount": 2810000, "averageRate": 90645, "usedMg": 3000, "remainingMg": 28000, "shortageMg": 0, "consumedCost": 271935, "remainingCost": 2538065, "status": "using", "revision": "2823f40ff78424f5423f0dbdf991ea5fcc83b0144648e9d2399869970c27af75", "purchases": [ { "id": "", "pool_id": "2026-11-18", "date": "2026-11-18", "mg": 11000, "amount": 990000, "payer": "assistant", "note": "核对凭据", "actor": "助理", "created": "2026-11-18T02:01:09.000Z", "revision": 2, "deleted_at": "", "updated": "2026-11-19T02:02:27.000Z", "canEdit": false, "canRequestChange": true, "ownerReviewRequired": true, "member": "assistant" }, { "id": "", "pool_id": "2026-11-18", "date": "2026-11-18", "mg": 20000, "amount": 1820000, "payer": "owner", "note": "麦麦购料", "actor": "麦麦", "created": "2026-11-18T02:01:10.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-18T02:01:10.000Z", "canEdit": false, "canRequestChange": true, "ownerReviewRequired": true, "member": "owner" } ], "usages": [ { "id": "", "order_id": "", "line_index": 0, "pool_id": "2026-11-18", "date": "2026-11-18", "mg": 3000, "active": 1, "amount": 271935, "owner_amount": 0, "assistant_amount": 271935, "revision": 3, "created": "2026-11-18T02:01:20.000Z", "updated": "2026-11-19T02:02:27.000Z", "fifo_sequence": 1, "number": "MM20261118-", "customer": "对照客户丁", "order_status": "delivered", "member": "assistant", "product": "足金999" } ], "settlements": [], "byPayer": { "owner": { "purchased": 1820000, "consumed": 0, "remaining": 1820000 }, "assistant": { "purchased": 990000, "consumed": 271935, "remaining": 718065 } }, "settlement": { "assistantInventoryCredit": 718065, "transferred": 0, "settlementDue": -718065, "pending": false }, "legacyReadOnly": true } ], "current": { "id": "2026-11-19", "date": "2026-11-19", "rolling": true, "frozen": false, "totalMg": 38000, "totalAmount": 3456065, "usedMg": 2000, "remainingMg": 36000, "shortageMg": 0, "consumedCost": 181898, "remainingCost": 3274167, "remainingAllocations": [ { "payer": "assistant", "amount": 536167, "source_id": "", "created": "2026-11-18T02:01:09.000Z", "source_sequence": 1 }, { "payer": "owner", "amount": 1820000, "source_id": "", "created": "2026-11-18T02:01:10.000Z", "source_sequence": 2 }, { "payer": "assistant2", "amount": 88000, "source_id": "return::material:0", "created": "2026-11-19T02:01:05.000Z" }, { "payer": "assistant", "amount": 460000, "source_id": "", "created": "2026-11-19T02:02:19.000Z" }, { "payer": "assistant2", "amount": 370000, "source_id": "", "created": "2026-11-19T02:02:20.000Z" } ], "byPayer": { "owner": { "purchased": 1820000, "consumed": 0, "remaining": 1820000 }, "assistant": { "purchased": 1178065, "consumed": 181898, "remaining": 996167 }, "assistant2": { "purchased": 458000, "consumed": 0, "remaining": 458000 } }, "averageRate": 90949, "status": "using", "revision": "c2b7cf97dc5037020f6b38451266013f370e11bed92c022656cc69db8dab9cf4", "opening": { "mg": 28000, "amount": 2538065, "allocations": [ { "payer": "assistant", "amount": 718065, "source_id": "", "created": "2026-11-18T02:01:09.000Z", "source_sequence": 1 }, { "payer": "owner", "amount": 1820000, "source_id": "", "created": "2026-11-18T02:01:10.000Z", "source_sequence": 2 } ], "pending": false, "pools": [ { "id": "2026-11-18", "date": "2026-11-18", "totalMg": 31000, "totalAmount": 2810000, "averageRate": 90645, "usedMg": 3000, "remainingMg": 28000, "shortageMg": 0, "consumedCost": 271935, "remainingCost": 2538065, "status": "using", "revision": "2823f40ff78424f5423f0dbdf991ea5fcc83b0144648e9d2399869970c27af75", "purchases": [ { "id": "", "pool_id": "2026-11-18", "date": "2026-11-18", "mg": 11000, "amount": 990000, "payer": "assistant", "note": "核对凭据", "actor": "助理", "created": "2026-11-18T02:01:09.000Z", "revision": 2, "deleted_at": "", "updated": "2026-11-19T02:02:27.000Z" }, { "id": "", "pool_id": "2026-11-18", "date": "2026-11-18", "mg": 20000, "amount": 1820000, "payer": "owner", "note": "麦麦购料", "actor": "麦麦", "created": "2026-11-18T02:01:10.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-18T02:01:10.000Z" } ], "usages": [ { "id": "", "order_id": "", "line_index": 0, "pool_id": "2026-11-18", "date": "2026-11-18", "mg": 3000, "active": 1, "amount": 271935, "owner_amount": 0, "assistant_amount": 271935, "revision": 3, "created": "2026-11-18T02:01:20.000Z", "updated": "2026-11-19T02:02:27.000Z", "fifo_sequence": 1, "number": "MM20261118-", "customer": "对照客户丁", "order_status": "delivered", "member": "assistant", "product": "足金999" } ], "settlements": [], "byPayer": { "owner": { "purchased": 1820000, "consumed": 0, "remaining": 1820000 }, "assistant": { "purchased": 990000, "consumed": 271935, "remaining": 718065 } }, "settlement": { "assistantInventoryCredit": 718065, "transferred": 0, "settlementDue": -718065, "pending": false } } ] }, "todayPurchases": { "mg": 9000, "amount": 830000, "count": 2, "items": [ { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 5000, "amount": 460000, "payer": "assistant", "note": "第二天购料", "actor": "助理", "created": "2026-11-19T02:02:19.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:19.000Z", "source_sequence": 4, "sourceKind": "purchase", "canEdit": true, "canRequestChange": false, "ownerReviewRequired": false, "member": "assistant" }, { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 4000, "amount": 370000, "payer": "assistant2", "note": "", "actor": "助理2", "created": "2026-11-19T02:02:20.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:20.000Z", "source_sequence": 5, "sourceKind": "purchase", "canEdit": true, "canRequestChange": false, "ownerReviewRequired": false, "member": "assistant2" } ] }, "todayReturns": { "mg": 1000, "amount": 88000, "count": 1, "grossMg": 1000, "grossAmount": 88000, "grossCount": 1 }, "returns": [ { "id": "", "order_id": "", "line_index": 0, "date": "2026-11-19", "mg": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "origin_pool_id": "", "same_day": 0, "actor": "麦麦", "created": "2026-11-19T02:01:05.000Z", "source_sequence": 1, "number": "20261118007", "paper_number": "20261118007", "order_date": "2026-11-18", "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "sameDay": false, "cashAmount": 0 } ], "purchases": [ { "id": "carry:2026-11-19", "date": "2026-11-19", "mg": 28000, "amount": 2538065, "payer": "assistant", "allocations": [ { "payer": "assistant", "amount": 718065, "source_id": "", "created": "2026-11-18T02:01:09.000Z", "source_sequence": 1 }, { "payer": "owner", "amount": 1820000, "source_id": "", "created": "2026-11-18T02:01:10.000Z", "source_sequence": 2 } ], "created": "2026-11-19T00:00:00.000Z", "note": "以前结转", "sourceKind": "carry", "cashAmount": 0, "canEdit": false, "canRequestChange": false, "ownerReviewRequired": false }, { "id": "return::material:0", "order_id": "", "line_index": 0, "date": "2026-11-19", "mg": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "origin_pool_id": "", "same_day": 0, "actor": "麦麦", "created": "2026-11-19T02:01:05.000Z", "source_sequence": 1, "number": "20261118007", "paper_number": "20261118007", "order_date": "2026-11-18", "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "sameDay": false, "cashAmount": 0, "batches": [], "materialKind": "public", "materialOwner": null, "payer": "assistant2", "sourceKind": "return", "note": "退货回料", "canEdit": false, "canRequestChange": false, "ownerReviewRequired": false }, { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 5000, "amount": 460000, "payer": "assistant", "note": "第二天购料", "actor": "助理", "created": "2026-11-19T02:02:19.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:19.000Z", "source_sequence": 4, "sourceKind": "purchase", "canEdit": true, "canRequestChange": false, "ownerReviewRequired": false, "member": "assistant" }, { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 4000, "amount": 370000, "payer": "assistant2", "note": "", "actor": "助理2", "created": "2026-11-19T02:02:20.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:20.000Z", "source_sequence": 5, "sourceKind": "purchase", "canEdit": true, "canRequestChange": false, "ownerReviewRequired": false, "member": "assistant2" } ], "usages": [ { "id": "", "order_id": "", "line_index": 0, "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 2000, "active": 1, "amount": 181898, "owner_amount": 0, "assistant_amount": 181898, "revision": 1, "created": "2026-11-19T02:02:40.000Z", "updated": "2026-11-19T02:02:40.000Z", "fifo_sequence": 2, "number": "MM20261119-", "customer": "滚动料池客户", "order_status": "delivered", "assistant2_amount": 0, "member": "assistant", "product": "足金999" } ], "settlements": [], "settlement": { "legacyReadOnly": true, "settlementDue": 0, "assistantInventoryCredit": 0, "transferred": 0, "pending": false }, "legacyReadOnly": true }, "rolling": { "enabled": true, "cutover": "2026-11-19", "canEnable": false, "reason": "" }, "summary": { "totalMg": 38000, "totalAmount": 3456065, "usedMg": 2000, "remainingMg": 36000, "remainingCost": 3274167, "shortageMg": 0, "pendingCount": 0, "purchaseCount": 2 }, "settlement": { "legacyReadOnly": true, "settlementDue": 0, "knownSettlementDue": 0, "pendingCount": 0, "pools": [] } } }, { "seq": 422, "label": "price-locks-owner", "date": "2026-11-19", "actor": "owner", "method": "GET", "path": "/api/price-locks?status=all", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "from": "2000-01-01", "date": "2026-11-19", "rows": [ { "id": "", "number": "SJ20261118-", "date": "2026-11-18", "customer": "对照锁价客户(改)", "salesperson": "娜娜", "note": "锁价备注", "line": { "name": "足金999", "code": "", "unit": "g", "quantity": 3000, "pocket": "", "payer": "owner", "costPayers": { "material": "owner", "labor": "owner" }, "cost": 255000, "costParts": { "material": 255000, "labor": 0, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 276000, "baseSale": 276000, "charges": [], "pricingMode": "auto", "goldPrice": 90000, "laborRate": 2000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 900.00元/克 + 工费 20.00元/克" }, "locked_mg": 3000, "sell_rate": 90000, "buy_rate": 85000, "buy_payer": "owner", "material_amount": 255000, "estimated_total": 276000, "discount": 0, "status": "delivered", "revision": 3, "final_order_id": "", "delivery": { "date": "2026-11-19", "total": 286200, "difference": 16200, "lines": [ { "lineId": "", "date": "2026-11-19", "quantity": 3100, "original_used_mg": 3000, "extra_mg": 100, "leftover_mg": 0, "leftover_cost": 0, "inventory": { "pocket": "现货", "original": "receive", "extra": "receive" } } ], "quantity": 3100, "original_used_mg": 3000, "extra_mg": 100, "leftover_mg": 0, "leftover_cost": 0, "inventory": { "pocket": "现货", "original": "receive", "extra": "receive" } }, "actor": "助理", "created": "2026-11-18T02:01:53.000Z", "updated": "2026-11-19T02:01:28.000Z", "cancelled_at": null, "cancelled_reason": null, "lines": [ { "id": "", "line_index": 0, "line": { "name": "足金999", "code": "", "unit": "g", "quantity": 3000, "pocket": "", "payer": "owner", "costPayers": { "material": "owner", "labor": "owner" }, "cost": 255000, "costParts": { "material": 255000, "labor": 0, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 276000, "baseSale": 276000, "charges": [], "pricingMode": "auto", "goldPrice": 90000, "laborRate": 2000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 900.00元/克 + 工费 20.00元/克" }, "locked_mg": 3000, "sell_rate": 90000, "buy_rate": 85000, "buy_payer": "owner", "material_amount": 255000, "material_source": "manual", "delivery": { "lineId": "", "date": "2026-11-19", "quantity": 3100, "original_used_mg": 3000, "extra_mg": 100, "leftover_mg": 0, "leftover_cost": 0, "inventory": { "pocket": "现货", "original": "receive", "extra": "receive" } } } ], "member": "assistant", "kind": "priceLock", "credit_card_rate_permille": 6, "material_source": "manual", "cash_events": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 270000, "account": "助理微信", "payer": null, "source": null, "quantity": null, "rate": null, "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:53.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null, "card_fee_amount": null, "card_fee_payer": null, "card_fee_expense_id": null, "card_fee_rate": null, "card_fee_note": null }, { "id": "", "price_lock_id": "", "date": "2026-11-19", "kind": "receipt", "amount": 16200, "account": "助理支付宝", "payer": null, "source": null, "quantity": null, "rate": null, "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-19T02:01:28.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null, "card_fee_amount": null, "card_fee_payer": null, "card_fee_expense_id": null, "card_fee_rate": null, "card_fee_note": null } ], "material_events": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "material", "amount": 255000, "account": null, "payer": "owner", "source": "original", "quantity": 3000, "rate": 85000, "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:53.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "card_fee_amount": null, "card_fee_payer": null, "card_fee_expense_id": null, "card_fee_rate": null, "card_fee_note": null }, { "id": "", "price_lock_id": "", "date": "2026-11-19", "kind": "material", "amount": 9000, "account": null, "payer": "assistant", "source": "extra", "quantity": 100, "rate": 90000, "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-19T02:01:28.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "card_fee_amount": null, "card_fee_payer": null, "card_fee_expense_id": null, "card_fee_rate": null, "card_fee_note": null } ], "voided_events": [], "received": 286200, "refunded": 0, "netReceived": 286200, "credit_card_fees": [], "credit_card_fee_total": 0 }, { "id": "", "number": "SJ20261118-", "date": "2026-11-18", "customer": "对照锁价客户二", "salesperson": "娜娜", "note": "锁价备注", "line": { "name": "足金999", "code": "", "unit": "g", "quantity": 3000, "pocket": "", "payer": "owner", "costPayers": { "material": "owner", "labor": "owner" }, "cost": 255000, "costParts": { "material": 255000, "labor": 0, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 276000, "baseSale": 276000, "charges": [], "pricingMode": "auto", "goldPrice": 90000, "laborRate": 2000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 900.00元/克 + 工费 20.00元/克" }, "locked_mg": 3000, "sell_rate": 90000, "buy_rate": 85000, "buy_payer": "owner", "material_amount": 255000, "estimated_total": 276000, "discount": 0, "status": "pending", "revision": 2, "final_order_id": null, "delivery": null, "actor": "助理", "created": "2026-11-18T02:01:54.000Z", "updated": "2026-11-18T02:02:02.000Z", "cancelled_at": null, "cancelled_reason": null, "lines": [ { "id": "", "line_index": 0, "line": { "name": "足金999", "code": "", "unit": "g", "quantity": 3000, "pocket": "", "payer": "owner", "costPayers": { "material": "owner", "labor": "owner" }, "cost": 255000, "costParts": { "material": 255000, "labor": 0, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 276000, "baseSale": 276000, "charges": [], "pricingMode": "auto", "goldPrice": 90000, "laborRate": 2000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 900.00元/克 + 工费 20.00元/克" }, "locked_mg": 3000, "sell_rate": 90000, "buy_rate": 85000, "buy_payer": "owner", "material_amount": 255000, "material_source": "manual", "delivery": null } ], "member": "assistant", "kind": "priceLock", "credit_card_rate_permille": 6, "material_source": "manual", "cash_events": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 120000, "account": "助理支付宝", "payer": null, "source": null, "quantity": null, "rate": null, "number": "SJ20261118-", "customer": "对照锁价客户二", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:02:02.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null, "card_fee_amount": null, "card_fee_payer": null, "card_fee_expense_id": null, "card_fee_rate": null, "card_fee_note": null } ], "material_events": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "material", "amount": 255000, "account": null, "payer": "owner", "source": "original", "quantity": 3000, "rate": 85000, "number": "SJ20261118-", "customer": "对照锁价客户二", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:54.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "card_fee_amount": null, "card_fee_payer": null, "card_fee_expense_id": null, "card_fee_rate": null, "card_fee_note": null } ], "voided_events": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 100000, "account": "助理支付宝", "payer": null, "source": null, "quantity": null, "rate": null, "number": "SJ20261118-", "customer": "对照锁价客户二", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:54.000Z", "line_index": null, "voided": 1, "void_reason": "当天更正收款", "voided_at": "2026-11-18T02:02:02.000Z", "card_fee_amount": null, "card_fee_payer": null, "card_fee_expense_id": null, "card_fee_rate": null, "card_fee_note": null } ], "received": 120000, "refunded": 0, "netReceived": 120000, "credit_card_fees": [], "credit_card_fee_total": 0 }, { "id": "", "number": "SJ20261118-", "date": "2026-11-18", "customer": "对照锁价客户三", "salesperson": "小昊", "note": "锁价备注", "line": { "name": "足金999", "code": "", "unit": "g", "quantity": 3000, "pocket": "", "payer": "assistant2", "costPayers": { "material": "assistant2", "labor": "assistant2" }, "cost": 258000, "costParts": { "material": 258000, "labor": 0, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 276000, "baseSale": 276000, "charges": [], "pricingMode": "auto", "goldPrice": 90000, "laborRate": 2000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 900.00元/克 + 工费 20.00元/克" }, "locked_mg": 3000, "sell_rate": 90000, "buy_rate": 86000, "buy_payer": "assistant2", "material_amount": 258000, "estimated_total": 276000, "discount": 0, "status": "pending", "revision": 1, "final_order_id": null, "delivery": null, "actor": "助理2", "created": "2026-11-18T02:01:55.000Z", "updated": "2026-11-18T02:01:55.000Z", "cancelled_at": null, "cancelled_reason": null, "lines": [ { "id": "", "line_index": 0, "line": { "name": "足金999", "code": "", "unit": "g", "quantity": 3000, "pocket": "", "payer": "assistant2", "costPayers": { "material": "assistant2", "labor": "assistant2" }, "cost": 258000, "costParts": { "material": 258000, "labor": 0, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 276000, "baseSale": 276000, "charges": [], "pricingMode": "auto", "goldPrice": 90000, "laborRate": 2000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 900.00元/克 + 工费 20.00元/克" }, "locked_mg": 3000, "sell_rate": 90000, "buy_rate": 86000, "buy_payer": "assistant2", "material_amount": 258000, "material_source": "manual", "delivery": null } ], "member": "assistant2", "kind": "priceLock", "credit_card_rate_permille": 6, "material_source": "manual", "cash_events": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 50000, "account": "助理2微信", "payer": null, "source": null, "quantity": null, "rate": null, "number": "SJ20261118-", "customer": "对照锁价客户三", "product": "足金999", "actor": "助理2", "created": "2026-11-18T02:01:55.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null, "card_fee_amount": null, "card_fee_payer": null, "card_fee_expense_id": null, "card_fee_rate": null, "card_fee_note": null } ], "material_events": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "material", "amount": 258000, "account": null, "payer": "assistant2", "source": "original", "quantity": 3000, "rate": 86000, "number": "SJ20261118-", "customer": "对照锁价客户三", "product": "足金999", "actor": "助理2", "created": "2026-11-18T02:01:55.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "card_fee_amount": null, "card_fee_payer": null, "card_fee_expense_id": null, "card_fee_rate": null, "card_fee_note": null } ], "voided_events": [], "received": 50000, "refunded": 0, "netReceived": 50000, "credit_card_fees": [], "credit_card_fee_total": 0 }, { "id": "", "number": "SJ20261118-", "date": "2026-11-18", "customer": "对照锁价客户四", "salesperson": "麦麦", "note": "锁价备注", "line": { "name": "足金999", "code": "", "unit": "g", "quantity": 3000, "pocket": "", "payer": "owner", "costPayers": { "material": "owner", "labor": "owner" }, "cost": 255000, "costParts": { "material": 255000, "labor": 0, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 276000, "baseSale": 276000, "charges": [], "pricingMode": "auto", "goldPrice": 90000, "laborRate": 2000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 900.00元/克 + 工费 20.00元/克" }, "locked_mg": 3000, "sell_rate": 90000, "buy_rate": 85000, "buy_payer": "owner", "material_amount": 255000, "estimated_total": 276000, "discount": 0, "status": "cancelled", "revision": 2, "final_order_id": null, "delivery": null, "actor": "麦麦", "created": "2026-11-18T02:01:56.000Z", "updated": "2026-11-19T02:01:26.000Z", "cancelled_at": "2026-11-19T02:01:26.000Z", "cancelled_reason": "录错作废", "lines": [ { "id": "", "line_index": 0, "line": { "name": "足金999", "code": "", "unit": "g", "quantity": 3000, "pocket": "", "payer": "owner", "costPayers": { "material": "owner", "labor": "owner" }, "cost": 255000, "costParts": { "material": 255000, "labor": 0, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 276000, "baseSale": 276000, "charges": [], "pricingMode": "auto", "goldPrice": 90000, "laborRate": 2000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 900.00元/克 + 工费 20.00元/克" }, "locked_mg": 3000, "sell_rate": 90000, "buy_rate": 85000, "buy_payer": "owner", "material_amount": 255000, "material_source": "manual", "delivery": null } ], "member": "owner", "kind": "priceLock", "credit_card_rate_permille": 6, "material_source": "manual", "cash_events": [], "material_events": [], "voided_events": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 80000, "account": "麦麦微信", "payer": null, "source": null, "quantity": null, "rate": null, "number": "SJ20261118-", "customer": "对照锁价客户四", "product": "足金999", "actor": "麦麦", "created": "2026-11-18T02:01:56.000Z", "line_index": null, "voided": 1, "void_reason": "录错作废", "voided_at": "2026-11-19T02:01:26.000Z", "card_fee_amount": null, "card_fee_payer": null, "card_fee_expense_id": null, "card_fee_rate": null, "card_fee_note": null }, { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "material", "amount": 255000, "account": null, "payer": "owner", "source": "original", "quantity": 3000, "rate": 85000, "number": "SJ20261118-", "customer": "对照锁价客户四", "product": "足金999", "actor": "麦麦", "created": "2026-11-18T02:01:56.000Z", "line_index": 0, "voided": 1, "void_reason": "录错作废", "voided_at": "2026-11-19T02:01:26.000Z", "card_fee_amount": null, "card_fee_payer": null, "card_fee_expense_id": null, "card_fee_rate": null, "card_fee_note": null } ], "received": 0, "refunded": 0, "netReceived": 0, "credit_card_fees": [], "credit_card_fee_total": 0 } ], "counts": { "pending": 2, "delivered": 1, "cancelled": 1 } } }, { "seq": 423, "label": "recoveries-list-owner", "date": "2026-11-19", "actor": "owner", "method": "GET", "path": "/api/recoveries", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "from": "2026-11-19", "date": "2026-11-19", "rows": [ { "mode": "exchange", "date": "2026-11-19", "customer": "对照换货客户二", "customer_type": "unknown", "salesperson": "娜娜", "member": "assistant", "note": "", "old_lines": [ { "name": "Au旧料", "incomingMg": 5000, "meltedMg": 4900, "purity": 99, "foldedMg": 4851 } ], "oldMg": 4851, "oldPocket": "回收旧料", "credit_card_rate_permille": 6, "newMg": 6000, "matchedMg": 4851, "differenceMg": 1149, "surplusMg": 0, "goldRate": 100000, "laborRate": 2000, "laborMode": "gram", "depreciationRate": 1000, "depreciationMg": 4851, "goldAmount": 114900, "laborAmount": 12000, "depreciationAmount": 4851, "charges": [], "chargesAmount": 0, "discount": 1000, "rounding_mode": "yuan", "rounding_adjustment": 49, "receivable": 130800, "payer": "assistant", "payment_account": "助理微信", "materialCost": 103410, "laborCost": 3000, "goodsCost": 106410, "directCost": 0, "profit": 24390, "newProduct": { "name": "足金对照新货", "quantity": 6000, "pocket": "现货" }, "exchange": { "costMaterial": { "mode": "total", "rate": 90000, "consumptionMg": 1149 }, "costLabor": { "mode": "gram", "rate": 500 }, "costPayer": "assistant", "costPayers": { "material": "assistant", "labor": "assistant" }, "fee_items": [] }, "purchaseMg": 0, "buyRate": 0, "calculatedPurchaseAmount": 0, "purchaseAmount": 0, "actualBuyRate": null, "offsetAmount": 0, "netSettlement": 130800, "cashReceipt": 130800, "cashPayment": 0, "cardFee": 0, "paymentMethods": [ "微信" ], "id": "", "number": "HS202611190002", "order_id": "", "purchase_id": null, "created": "2026-11-19T02:01:33.000Z", "actor": "助理", "revision": 1, "paper_number": "20261119012", "materialCostPending": false, "status": "active", "cancelledAt": "", "canEdit": true, "canCancel": true, "pendingRequestId": null, "immutableReason": "本单关联黄金回收/置换、购料及库存,暂不支持普通订单修改、取消、退款、退货或费用变更,请保留原关联记录", "printStatus": { "kind": "recovery", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "mode": "exchange", "date": "2026-11-19", "customer": "对照换货客户", "customer_type": "unknown", "salesperson": "小昊", "member": "assistant2", "note": "", "old_lines": [ { "name": "Au旧料", "incomingMg": 8000, "meltedMg": 8000, "purity": 99.9, "foldedMg": 7992 } ], "oldMg": 7992, "oldPocket": "回收旧料", "credit_card_rate_permille": 6, "newMg": 12000, "matchedMg": 7992, "differenceMg": 4008, "surplusMg": 0, "goldRate": 100000, "laborRate": 2000, "laborMode": "gram", "depreciationRate": 1000, "depreciationMg": 7992, "goldAmount": 400800, "laborAmount": 24000, "depreciationAmount": 7992, "charges": [], "chargesAmount": 0, "discount": 0, "rounding_mode": "cent", "rounding_adjustment": 0, "receivable": 432792, "payer": "assistant2", "payment_account": "助理2微信", "materialCost": 360720, "laborCost": 6000, "goodsCost": 366720, "directCost": 0, "profit": 66072, "newProduct": { "name": "足金对照新货", "quantity": 12000, "pocket": "现货" }, "exchange": { "costMaterial": { "mode": "total", "rate": 90000, "consumptionMg": 4008 }, "costLabor": { "mode": "gram", "rate": 500 }, "costPayer": "assistant2", "costPayers": { "material": "assistant2", "labor": "assistant2" }, "fee_items": [] }, "purchaseMg": 0, "buyRate": 0, "calculatedPurchaseAmount": 0, "purchaseAmount": 0, "actualBuyRate": null, "offsetAmount": 0, "netSettlement": 432792, "cashReceipt": 432792, "cashPayment": 0, "cardFee": 0, "paymentMethods": [ "微信" ], "id": "", "number": "HS202611190001", "order_id": "", "purchase_id": null, "created": "2026-11-19T02:01:32.000Z", "actor": "助理2", "revision": 1, "paper_number": "20261119011", "materialCostPending": false, "status": "active", "cancelledAt": "", "canEdit": true, "canCancel": true, "pendingRequestId": null, "immutableReason": "本单关联黄金回收/置换、购料及库存,暂不支持普通订单修改、取消、退款、退货或费用变更,请保留原关联记录", "printStatus": { "kind": "recovery", "id": "", "printed": true, "revision": 1, "updated": "2026-11-19T02:01:40.000Z", "actor": "助理2" } } ], "summary": { "count": 2, "cancelledCount": 0, "directCount": 0, "exchangeCount": 2, "oldMg": 12843, "newMg": 18000, "purchaseMg": 0, "purchaseAmount": 0, "receivable": 563592, "offsetAmount": 0, "cashReceipt": 563592, "cashPayment": 0 } } }, { "seq": 424, "label": "order-changes-all-owner", "date": "2026-11-19", "actor": "owner", "method": "GET", "path": "/api/order-changes?status=all", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "requests": [ { "id": "", "order_id": "", "order_revision": 4, "action": "return", "reason": "客户退回一件", "status": "approved", "requester_id": "", "requester_name": "助理2", "requester_role": "assistant", "created": "2026-11-19T02:01:03.000Z", "reviewer_id": "", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:01:05.000Z", "note": "实物已收回", "action_label": "订单售后", "action_input": { "date": "2026-11-19", "afterSale": { "lines": [ { "lineIndex": 0, "quantity": "1.000", "pocket": "金料", "disposition": "scrap" } ], "refund": { "amount": "900", "account": "助理2支付宝", "payer": "assistant2" }, "deductionReason": "客户确认扣费", "expenses": [] } }, "order_number": "MM20261118-", "order_date": "2026-11-18", "order_status": "delivered", "stale": false, "canApprove": false, "before": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 0, "netReceived": 500000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 50000, "knownProfit": 50000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "sync": { "revision": 4, "done_revision": 0, "error": null, "updated": "2026-11-18T02:01:25.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 }, "after": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "returned", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 5, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": "2026-11-19", "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "refund", "amount": 90000, "account": "助理2支付宝", "reference": "整单售后退款", "actor": "助理2", "created": "2026-11-19T02:01:03.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 90000, "netReceived": 410000, "balance": 0, "orderAfterSale": { "orderId": "", "date": "2026-11-19", "reason": "客户退回一件", "deductionReason": "客户确认扣费", "refund": { "amount": 90000, "account": "助理2支付宝", "payer": "assistant2", "reference": "" }, "expenses": [], "original": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": null, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 0, "netReceived": 500000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 50000, "knownProfit": 50000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "funds_mode": "team", "credit_card_rate_permille": 6 }, "originalJournal": { "sales": 500000, "goods": 450000, "expense": 0, "profit": 50000 }, "summary": { "refundAmount": 90000, "retainedAmount": 410000, "materialReturnedCost": 88000, "laborRestockedCost": 0, "materialLoss": 352000, "costLoss": 362000, "originalDirectCost": 0, "newExpenses": 0, "directCost": 0, "profit": 48000, "finalProfit": 48000, "profitAdjustment": -2000, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ] }, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ], "originalOrder": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": null, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 0, "netReceived": 500000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 50000, "knownProfit": 50000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "funds_mode": "team", "credit_card_rate_permille": 6 } }, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 48000, "knownProfit": 48000, "ownerCost": 0, "assistantInventoryCredit": 0, "assistantInventoryCreditSources": [], "assistantInventoryCreditExplanation": "", "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "sync": { "revision": 5, "done_revision": 0, "error": null, "updated": "2026-11-19T02:01:03.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 }, "summary": { "before": { "total": 500000, "netReceived": 500000, "goodsCost": 450000, "directCost": 0, "profit": 50000, "settlementDue": 0, "materialCostPending": false }, "after": { "total": 500000, "netReceived": 410000, "goodsCost": 450000, "directCost": 0, "profit": 48000, "settlementDue": 0, "materialCostPending": false }, "inventory": { "before": [ { "date": "2026-11-18", "pocket": "现货", "kind": "sale", "mg": -5000 } ], "after": [ { "date": "2026-11-18", "pocket": "现货", "kind": "sale", "mg": -5000 }, { "date": "2026-11-19", "pocket": "金料", "kind": "return", "mg": 1000 } ], "changes": [ { "date": "2026-11-19", "pocket": "金料", "mg": 1000 } ] } }, "changes": [ { "field": "status", "label": "订单状态", "before": "delivered", "after": "returned" }, { "field": "returned_date", "label": "退货日期", "before": null, "after": "2026-11-19" }, { "field": "refunded", "label": "累计退款", "before": 0, "after": 90000 }, { "field": "payments", "label": "收退款流水", "before": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "after": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "refund", "amount": 90000, "account": "助理2支付宝", "reference": "整单售后退款", "actor": "助理2", "created": "2026-11-19T02:01:03.000Z" } ] }, { "field": "netReceived", "label": "已收净额", "before": 500000, "after": 410000 }, { "field": "profit", "label": "利润", "before": 50000, "after": 48000 } ], "relatedOrders": [], "afterSale": { "orderId": "", "date": "2026-11-19", "reason": "客户退回一件", "deductionReason": "客户确认扣费", "refund": { "amount": 90000, "account": "助理2支付宝", "payer": "assistant2", "reference": "" }, "expenses": [], "original": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": null, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 0, "netReceived": 500000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 50000, "knownProfit": 50000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "funds_mode": "team", "credit_card_rate_permille": 6 }, "originalJournal": { "sales": 500000, "goods": 450000, "expense": 0, "profit": 50000 }, "summary": { "refundAmount": 90000, "retainedAmount": 410000, "materialReturnedCost": 88000, "laborRestockedCost": 0, "materialLoss": 352000, "costLoss": 362000, "originalDirectCost": 0, "newExpenses": 0, "directCost": 0, "profit": 48000, "finalProfit": 48000, "profitAdjustment": -2000, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ] }, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ], "originalOrder": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": null, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 0, "netReceived": 500000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 50000, "knownProfit": 50000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "funds_mode": "team", "credit_card_rate_permille": 6 } } }, { "id": "", "order_id": "", "order_revision": 4, "action": "expense", "reason": "补记快递", "status": "approved", "requester_id": "", "requester_name": "助理", "requester_role": "assistant", "created": "2026-11-19T02:00:36.000Z", "reviewer_id": "", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:00:37.000Z", "note": "核实", "action_label": "费用补记", "action_input": { "date": "2026-11-19", "amount": "10", "payer": "assistant", "note": "补寄快递" }, "order_number": "MM20261118-", "order_date": "2026-11-18", "order_status": "delivered", "stale": false, "canApprove": false, "before": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照客户丁", "salesperson": "娜娜", "note": "", "paper_number": "20261118004", "status": "delivered", "lines": [ { "name": "足金999", "code": "", "unit": "g", "quantity": 3000, "pocket": "", "payer": "assistant", "cost": 272000, "costParts": { "material": 272000, "labor": 0, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "pool", "poolId": "2026-11-18" }, "costLabor": { "mode": "total" }, "sale": 330000, "baseSale": 330000, "charges": [], "pricingMode": "manual", "priceNote": "", "materialPool": { "poolId": "2026-11-18", "date": "2026-11-18", "status": "allocated", "amount": 272000, "quantity": 3000, "averageRate": 90667, "allocations": [ { "payer": "assistant", "amount": 272000 } ], "revision": "e3072e81dd7b585b863bbbe6f312844a32ece32c2856aea4df479b9ceab74c55" } } ], "discount": 0, "total": 330000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:20.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理现金", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "料池单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant", "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 330000, "account": "助理现金", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-18T02:01:20.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 330000, "refunded": 0, "netReceived": 330000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 272000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 272000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 58000, "profit": 58000, "knownProfit": 58000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "sync": { "revision": 4, "done_revision": 0, "error": null, "updated": "2026-11-18T02:01:20.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 }, "after": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照客户丁", "salesperson": "娜娜", "note": "", "paper_number": "20261118004", "status": "delivered", "lines": [ { "name": "足金999", "code": "", "unit": "g", "quantity": 3000, "pocket": "", "payer": "assistant", "cost": 272000, "costParts": { "material": 272000, "labor": 0, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "pool", "poolId": "2026-11-18" }, "costLabor": { "mode": "total" }, "sale": 330000, "baseSale": 330000, "charges": [], "pricingMode": "manual", "priceNote": "", "materialPool": { "poolId": "2026-11-18", "date": "2026-11-18", "status": "allocated", "amount": 272000, "quantity": 3000, "averageRate": 90667, "allocations": [ { "payer": "assistant", "amount": 272000 } ], "revision": "e3072e81dd7b585b863bbbe6f312844a32ece32c2856aea4df479b9ceab74c55" } } ], "discount": 0, "total": 330000, "revision": 5, "reviewed_revision": 0, "created": "2026-11-18T02:01:20.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理现金", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "料池单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant", "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 330000, "account": "助理现金", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-18T02:01:20.000Z" } ], "expenses": [ { "id": "", "order_id": "", "date": "2026-11-19", "amount": 1000, "payer": "assistant", "note": "补寄快递", "actor": "助理", "created": "2026-11-19T02:00:36.000Z" } ], "settlements": [], "corrections": [], "received": 330000, "refunded": 0, "netReceived": 330000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 272000, "directCost": 1000, "materialCostPending": false, "knownGoodsCost": 272000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 57000, "profit": 57000, "knownProfit": 57000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "sync": { "revision": 5, "done_revision": 0, "error": null, "updated": "2026-11-19T02:00:36.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 }, "summary": { "before": { "total": 330000, "netReceived": 330000, "goodsCost": 272000, "directCost": 0, "profit": 58000, "settlementDue": 0, "materialCostPending": false }, "after": { "total": 330000, "netReceived": 330000, "goodsCost": 272000, "directCost": 1000, "profit": 57000, "settlementDue": 0, "materialCostPending": false }, "inventory": { "before": [], "after": [], "changes": [] } }, "changes": [ { "field": "expenses", "label": "实际费用流水", "before": [], "after": [ { "id": "", "order_id": "", "date": "2026-11-19", "amount": 1000, "payer": "assistant", "note": "补寄快递", "actor": "助理", "created": "2026-11-19T02:00:36.000Z" } ] }, { "field": "directCost", "label": "直接费用", "before": 0, "after": 1000 }, { "field": "profit", "label": "利润", "before": 58000, "after": 57000 } ], "relatedOrders": [] }, { "id": "", "order_id": "", "order_revision": 4, "action": "edit", "reason": "想改售价", "status": "rejected", "requester_id": "", "requester_name": "助理", "requester_role": "assistant", "created": "2026-11-19T02:00:33.000Z", "reviewer_id": "", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:00:34.000Z", "note": "售价无误", "action_label": "修改订单", "order_number": "MM20261118-", "order_date": "2026-11-18", "order_status": "delivered", "stale": false, "canApprove": false, "before": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照驳回客户", "salesperson": "娜娜", "note": "", "paper_number": "20261118008", "status": "delivered", "lines": [ { "name": "足金耳钉", "code": "", "unit": "g", "quantity": 800, "pocket": "现货", "payer": "assistant", "cost": 70000, "sale": 82000, "baseSale": 82000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 82000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:26.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理支付宝", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "驳回单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant", "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 82000, "account": "助理支付宝", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-18T02:01:26.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 82000, "refunded": 0, "netReceived": 82000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 70000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 70000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 12000, "profit": 12000, "knownProfit": 12000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "sync": { "revision": 4, "done_revision": 0, "error": null, "updated": "2026-11-18T02:01:26.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 }, "after": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照驳回客户", "salesperson": "娜娜", "note": "", "paper_number": "20261118008", "status": "delivered", "lines": [ { "name": "足金耳钉", "code": "", "unit": "g", "quantity": 800, "pocket": "现货", "payer": "assistant", "cost": 70000, "sale": 82000, "baseSale": 82000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 82000, "revision": 5, "reviewed_revision": 0, "created": "2026-11-18T02:01:26.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理支付宝", "fee_items": [], "fees_date": "2026-11-18", "rounding_mode": "cent", "internal_note": "驳回单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant", "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 82000, "account": "助理支付宝", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-18T02:01:26.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 82000, "refunded": 0, "netReceived": 82000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 70000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 70000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 12000, "profit": 12000, "knownProfit": 12000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "sync": { "revision": 5, "done_revision": 0, "error": null, "updated": "2026-11-19T02:00:33.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 }, "summary": { "before": { "total": 82000, "netReceived": 82000, "goodsCost": 70000, "directCost": 0, "profit": 12000, "settlementDue": 0, "materialCostPending": false }, "after": { "total": 82000, "netReceived": 82000, "goodsCost": 70000, "directCost": 0, "profit": 12000, "settlementDue": 0, "materialCostPending": false }, "inventory": { "before": [ { "date": "2026-11-18", "pocket": "现货", "kind": "sale", "mg": -800 } ], "after": [ { "date": "2026-11-18", "pocket": "现货", "kind": "sale", "mg": -800 } ], "changes": [] } }, "changes": [ { "field": "fees_date", "label": "费用日期", "before": "", "after": "2026-11-18" } ], "relatedOrders": [] }, { "id": "", "order_id": "", "order_revision": 4, "action": "edit", "reason": "跨天修改客户名", "status": "approved", "requester_id": "", "requester_name": "助理", "requester_role": "assistant", "created": "2026-11-19T02:00:25.000Z", "reviewer_id": "", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:00:31.000Z", "note": "凭据已核对", "action_label": "修改订单", "order_number": "MM20261118-", "order_date": "2026-11-18", "order_status": "delivered", "stale": false, "canApprove": false, "before": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照客户甲", "salesperson": "娜娜", "note": "客户单备注", "paper_number": "20261118001", "status": "delivered", "lines": [ { "name": "足金999", "code": "", "unit": "g", "quantity": 3250, "pocket": "现货", "payer": "assistant", "costPayers": { "material": "owner", "labor": "assistant" }, "cost": 290200, "costParts": { "material": 286000, "labor": 4000, "accessories": 200, "other": 0 }, "costMaterial": { "mode": "gram", "rate": 88000 }, "costLabor": { "mode": "total" }, "sale": 321050, "baseSale": 318500, "charges": [ { "name": "刻字", "amount": 2000 }, { "name": "包装", "amount": 550 } ], "pricingMode": "auto", "goldPrice": 95000, "laborRate": 3000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 950.00元/克 + 工费 30.00元/克" } ], "discount": 0, "total": 321100, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:17.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理微信", "fee_items": [ { "key": "shipping", "amount": 1200, "payer": "assistant", "note": "快递", "status": "recorded", "edited": false } ], "fees_date": "2026-11-18", "rounding_mode": "yuan", "internal_note": "#复购 内部备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant", "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 321100, "account": "助理微信", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-18T02:01:17.000Z" } ], "expenses": [ { "id": "", "order_id": "", "date": "2026-11-18", "amount": 1200, "payer": "assistant", "note": "快递", "actor": "助理", "created": "2026-11-18T02:01:17.000Z" } ], "settlements": [], "corrections": [], "received": 321100, "refunded": 0, "netReceived": 321100, "balance": 0, "rounding_adjustment": 50, "goodsCost": 290200, "directCost": 1200, "materialCostPending": false, "knownGoodsCost": 290200, "pendingFees": [], "draftFees": 0, "estimatedProfit": 29700, "profit": 29700, "knownProfit": 29700, "ownerCost": 286000, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "sync": { "revision": 4, "done_revision": 0, "error": null, "updated": "2026-11-18T02:01:17.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 }, "after": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照客户甲(改)", "salesperson": "娜娜", "note": "客户单备注", "paper_number": "20261118001", "status": "delivered", "lines": [ { "name": "足金999", "code": "", "unit": "g", "quantity": 3250, "pocket": "现货", "payer": "assistant", "costPayers": { "material": "owner", "labor": "assistant" }, "cost": 290200, "costParts": { "material": 286000, "labor": 4000, "accessories": 200, "other": 0 }, "costMaterial": { "mode": "gram", "rate": 88000 }, "costLabor": { "mode": "total" }, "sale": 321050, "baseSale": 318500, "charges": [ { "name": "刻字", "amount": 2000 }, { "name": "包装", "amount": 550 } ], "pricingMode": "auto", "goldPrice": 95000, "laborRate": 3000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 950.00元/克 + 工费 30.00元/克" } ], "discount": 0, "total": 321100, "revision": 5, "reviewed_revision": 0, "created": "2026-11-18T02:01:17.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理微信", "fee_items": [ { "key": "shipping", "amount": 1200, "payer": "assistant", "note": "快递", "status": "recorded", "edited": true, "date": "2026-11-18", "expense_id": "" } ], "fees_date": "2026-11-18", "rounding_mode": "yuan", "internal_note": "#复购 内部备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant", "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 321100, "account": "助理微信", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-18T02:01:17.000Z" } ], "expenses": [ { "id": "", "order_id": "", "date": "2026-11-18", "amount": 1200, "payer": "assistant", "note": "快递", "actor": "助理", "created": "2026-11-18T02:01:17.000Z" } ], "settlements": [], "corrections": [], "received": 321100, "refunded": 0, "netReceived": 321100, "balance": 0, "rounding_adjustment": 50, "goodsCost": 290200, "directCost": 1200, "materialCostPending": false, "knownGoodsCost": 290200, "pendingFees": [], "draftFees": 0, "estimatedProfit": 29700, "profit": 29700, "knownProfit": 29700, "ownerCost": 286000, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "sync": { "revision": 5, "done_revision": 0, "error": null, "updated": "2026-11-19T02:00:25.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 }, "summary": { "before": { "total": 321100, "netReceived": 321100, "goodsCost": 290200, "directCost": 1200, "profit": 29700, "settlementDue": 0, "materialCostPending": false }, "after": { "total": 321100, "netReceived": 321100, "goodsCost": 290200, "directCost": 1200, "profit": 29700, "settlementDue": 0, "materialCostPending": false }, "inventory": { "before": [ { "date": "2026-11-18", "pocket": "现货", "kind": "sale", "mg": -3250 } ], "after": [ { "date": "2026-11-18", "pocket": "现货", "kind": "sale", "mg": -3250 } ], "changes": [] } }, "changes": [ { "field": "customer", "label": "客户称呼", "before": "对照客户甲", "after": "对照客户甲(改)" }, { "field": "fee_items", "label": "实际费用", "before": [ { "key": "shipping", "amount": 1200, "payer": "assistant", "note": "快递", "status": "recorded", "edited": false } ], "after": [ { "key": "shipping", "amount": 1200, "payer": "assistant", "note": "快递", "status": "recorded", "edited": true, "date": "2026-11-18", "expense_id": "" } ] } ], "relatedOrders": [] } ], "counts": { "pending": 0, "approved": 3, "rejected": 1 }, "canApprove": true } }, { "seq": 425, "label": "cancellations-all-owner", "date": "2026-11-19", "actor": "owner", "method": "GET", "path": "/api/order-cancellations?status=all", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "requests": [ { "id": "", "order_id": "", "order_revision": 4, "reason": "当天录错", "status": "approved", "requester_id": "", "requester_name": "助理", "requester_role": "assistant", "created": "2026-11-19T02:01:59.000Z", "reviewer_id": null, "reviewer_name": null, "reviewed": null, "note": "", "direct": true, "operator_name": "助理", "executedAt": "2026-11-19T02:01:59.000Z", "order_number": "MM20261119-", "order_date": "2026-11-19", "order_status": "delivered", "requiresLegacyCountVerified": false, "legacyCountNotice": "", "stale": false, "canApprove": false, "summary": { "total": 210000, "netReceived": 210000, "goodsCost": 180000, "directCost": 0, "profit": 30000, "settlementDue": 0, "inventory": [ { "date": "2026-11-19", "pocket": "现货", "mg": 2000 } ] } }, { "id": "", "order_id": "", "order_revision": 5, "reason": "客户想退", "status": "rejected", "requester_id": "", "requester_name": "助理", "requester_role": "assistant", "created": "2026-11-19T02:00:58.000Z", "reviewer_id": "", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:00:59.000Z", "note": "已交付不取消", "order_number": "MM20261118-", "order_date": "2026-11-18", "order_status": "delivered", "requiresLegacyCountVerified": false, "legacyCountNotice": "", "stale": false, "canApprove": false, "summary": { "total": 330000, "netReceived": 330000, "goodsCost": 272000, "directCost": 1000, "profit": 57000, "settlementDue": 0, "inventory": [] } }, { "id": "", "order_id": "", "order_revision": 4, "reason": "重复录入", "status": "approved", "requester_id": "", "requester_name": "助理2", "requester_role": "assistant", "created": "2026-11-19T02:00:41.000Z", "reviewer_id": "", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:00:45.000Z", "note": "核对原单后确认", "order_number": "MM20261118-", "order_date": "2026-11-18", "order_status": "delivered", "requiresLegacyCountVerified": false, "legacyCountNotice": "", "stale": false, "canApprove": false, "summary": { "total": 150000, "netReceived": 150000, "goodsCost": 130000, "directCost": 0, "profit": 20000, "settlementDue": 0, "inventory": [ { "date": "2026-11-18", "pocket": "现货", "mg": 1500 } ] } } ], "counts": { "pending": 0, "approved": 2, "rejected": 1 }, "canApprove": true } }, { "seq": 426, "label": "ownership-all-owner", "date": "2026-11-19", "actor": "owner", "method": "GET", "path": "/api/order-ownership-changes?status=all", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "requests": [ { "id": "", "order_id": "", "order_revision": 6, "from_member": "assistant", "to_member": "assistant2", "reason": "实际由小昊接待", "status": "approved", "direct": false, "requester_id": "", "requester_name": "助理", "requester_role": "assistant", "created": "2026-11-19T02:01:54.000Z", "reviewer_id": "", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:01:56.000Z", "note": "核实", "before": { "member": "assistant", "label": "娜娜" }, "after": { "member": "assistant2", "label": "小昊" }, "order_number": "MM20261119-", "order_customer": "当天客户(改)", "order_date": "2026-11-19", "order_status": "delivered", "stale": false, "canApprove": false }, { "id": "", "order_id": "", "order_revision": 5, "from_member": "assistant", "to_member": "assistant2", "reason": "申请转给小昊", "status": "rejected", "direct": false, "requester_id": "", "requester_name": "助理", "requester_role": "assistant", "created": "2026-11-19T02:00:53.000Z", "reviewer_id": "", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:00:56.000Z", "note": "不转", "before": { "member": "assistant", "label": "娜娜" }, "after": { "member": "assistant2", "label": "小昊" }, "order_number": "MM20261118-", "order_customer": "对照客户丙", "order_date": "2026-11-18", "order_status": "delivered", "stale": false, "canApprove": false }, { "id": "", "order_id": "", "order_revision": 4, "from_member": "assistant", "to_member": "assistant2", "reason": "核实业务归属", "status": "approved", "direct": true, "requester_id": "", "requester_name": "麦麦", "requester_role": "owner", "created": "2026-11-19T02:00:49.000Z", "reviewer_id": "", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:00:49.000Z", "note": "", "before": { "member": "assistant", "label": "娜娜" }, "after": { "member": "assistant2", "label": "小昊" }, "order_number": "MM20261118-", "order_customer": "对照驳回客户", "order_date": "2026-11-18", "order_status": "delivered", "stale": false, "canApprove": false } ], "counts": { "pending": 0, "approved": 2, "rejected": 1 }, "canApprove": true } }, { "seq": 427, "label": "lock-changes-all-owner", "date": "2026-11-19", "actor": "owner", "method": "GET", "path": "/api/price-lock-changes?status=all", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "rows": [ { "id": "", "price_lock_id": "", "price_lock_revision": 1, "action": "cancel", "reason": "客户不要了", "payload": { "action": "cancel", "revision": 1, "reason": "客户不要了", "verified": true }, "status": "rejected", "requester_id": "", "requester_name": "助理2", "requester_role": "assistant", "created": "2026-11-19T02:01:23.000Z", "reviewer_id": "", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:01:24.000Z", "note": "客户仍要", "requestId": "", "revision": 1, "before": { "id": "", "number": "SJ20261118-", "date": "2026-11-18", "customer": "对照锁价客户三", "salesperson": "小昊", "note": "锁价备注", "line": { "name": "足金999", "code": "", "unit": "g", "quantity": 3000, "pocket": "", "payer": "assistant2", "costPayers": { "material": "assistant2", "labor": "assistant2" }, "cost": 258000, "costParts": { "material": 258000, "labor": 0, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 276000, "baseSale": 276000, "charges": [], "pricingMode": "auto", "goldPrice": 90000, "laborRate": 2000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 900.00元/克 + 工费 20.00元/克" }, "locked_mg": 3000, "sell_rate": 90000, "buy_rate": 86000, "buy_payer": "assistant2", "material_amount": 258000, "estimated_total": 276000, "discount": 0, "status": "pending", "revision": 1, "final_order_id": null, "delivery": null, "actor": "助理2", "created": "2026-11-18T02:01:55.000Z", "updated": "2026-11-18T02:01:55.000Z", "cancelled_at": null, "cancelled_reason": null, "lines": [ { "id": "", "line_index": 0, "line": { "name": "足金999", "code": "", "unit": "g", "quantity": 3000, "pocket": "", "payer": "assistant2", "costPayers": { "material": "assistant2", "labor": "assistant2" }, "cost": 258000, "costParts": { "material": 258000, "labor": 0, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 276000, "baseSale": 276000, "charges": [], "pricingMode": "auto", "goldPrice": 90000, "laborRate": 2000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 900.00元/克 + 工费 20.00元/克" }, "locked_mg": 3000, "sell_rate": 90000, "buy_rate": 86000, "buy_payer": "assistant2", "material_amount": 258000, "material_source": "manual", "delivery": null } ], "member": "assistant2", "kind": "priceLock", "credit_card_rate_permille": 6, "material_source": "manual", "cash_events": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 50000, "account": "助理2微信", "payer": null, "source": null, "quantity": null, "rate": null, "number": "SJ20261118-", "customer": "对照锁价客户三", "product": "足金999", "actor": "助理2", "created": "2026-11-18T02:01:55.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null, "card_fee_amount": null, "card_fee_payer": null, "card_fee_expense_id": null, "card_fee_rate": null, "card_fee_note": null } ], "material_events": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "material", "amount": 258000, "account": null, "payer": "assistant2", "source": "original", "quantity": 3000, "rate": 86000, "number": "SJ20261118-", "customer": "对照锁价客户三", "product": "足金999", "actor": "助理2", "created": "2026-11-18T02:01:55.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "card_fee_amount": null, "card_fee_payer": null, "card_fee_expense_id": null, "card_fee_rate": null, "card_fee_note": null } ], "voided_events": [], "received": 50000, "refunded": 0, "netReceived": 50000, "credit_card_fees": [], "credit_card_fee_total": 0 }, "after": { "id": "", "number": "SJ20261118-", "date": "2026-11-18", "customer": "对照锁价客户三", "salesperson": "小昊", "note": "锁价备注", "line": { "name": "足金999", "code": "", "unit": "g", "quantity": 3000, "pocket": "", "payer": "assistant2", "costPayers": { "material": "assistant2", "labor": "assistant2" }, "cost": 258000, "costParts": { "material": 258000, "labor": 0, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 276000, "baseSale": 276000, "charges": [], "pricingMode": "auto", "goldPrice": 90000, "laborRate": 2000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 900.00元/克 + 工费 20.00元/克" }, "locked_mg": 3000, "sell_rate": 90000, "buy_rate": 86000, "buy_payer": "assistant2", "material_amount": 258000, "estimated_total": 276000, "discount": 0, "status": "cancelled", "revision": 2, "final_order_id": null, "delivery": null, "actor": "助理2", "created": "2026-11-18T02:01:55.000Z", "updated": "2026-11-19T02:01:23.000Z", "cancelled_at": "2026-11-19T02:01:23.000Z", "cancelled_reason": "客户不要了", "lines": [ { "id": "", "line_index": 0, "line": { "name": "足金999", "code": "", "unit": "g", "quantity": 3000, "pocket": "", "payer": "assistant2", "costPayers": { "material": "assistant2", "labor": "assistant2" }, "cost": 258000, "costParts": { "material": 258000, "labor": 0, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 276000, "baseSale": 276000, "charges": [], "pricingMode": "auto", "goldPrice": 90000, "laborRate": 2000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 900.00元/克 + 工费 20.00元/克" }, "locked_mg": 3000, "sell_rate": 90000, "buy_rate": 86000, "buy_payer": "assistant2", "material_amount": 258000, "material_source": "manual", "delivery": null } ], "member": "assistant2", "kind": "priceLock", "credit_card_rate_permille": 6, "material_source": "manual", "cash_events": [], "material_events": [], "voided_events": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 50000, "account": "助理2微信", "payer": null, "source": null, "quantity": null, "rate": null, "number": "SJ20261118-", "customer": "对照锁价客户三", "product": "足金999", "actor": "助理2", "created": "2026-11-18T02:01:55.000Z", "line_index": null, "voided": 1, "void_reason": "客户不要了", "voided_at": "2026-11-19T02:01:23.000Z", "card_fee_amount": null, "card_fee_payer": null, "card_fee_expense_id": null, "card_fee_rate": null, "card_fee_note": null }, { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "material", "amount": 258000, "account": null, "payer": "assistant2", "source": "original", "quantity": 3000, "rate": 86000, "number": "SJ20261118-", "customer": "对照锁价客户三", "product": "足金999", "actor": "助理2", "created": "2026-11-18T02:01:55.000Z", "line_index": 0, "voided": 1, "void_reason": "客户不要了", "voided_at": "2026-11-19T02:01:23.000Z", "card_fee_amount": null, "card_fee_payer": null, "card_fee_expense_id": null, "card_fee_rate": null, "card_fee_note": null } ], "received": 0, "refunded": 0, "netReceived": 0, "credit_card_fees": [], "credit_card_fee_total": 0 }, "materialReturnDate": "2026-11-19", "changes": [ { "field": "netReceived", "before": 50000, "after": 0 }, { "field": "status", "before": "pending", "after": "cancelled" } ], "relatedOrders": [], "relatedPriceLocks": [], "stale": false }, { "id": "", "price_lock_id": "", "price_lock_revision": 1, "action": "edit", "reason": "改客户名", "payload": { "date": "2026-11-18", "customer": "对照锁价客户(改)", "salesperson": "娜娜", "note": "锁价备注", "discount": "0.00", "member": "assistant", "payment": { "amount": "2700.00", "account": "助理微信", "verified": true }, "lines": [ { "name": "足金999", "code": "", "unit": "g", "quantity": "3.000", "goldPrice": "900.00", "laborRate": "20.00", "laborMode": "gram", "pieces": 1, "charges": [], "lineId": "", "material": { "source": "manual", "rate": "850.00", "payer": "owner", "verified": true } } ], "action": "edit", "revision": 1, "reason": "改客户名", "verified": true }, "status": "approved", "requester_id": "", "requester_name": "助理", "requester_role": "assistant", "created": "2026-11-19T02:01:18.000Z", "reviewer_id": "", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:01:21.000Z", "note": "核实", "requestId": "", "revision": 1, "before": { "id": "", "number": "SJ20261118-", "date": "2026-11-18", "customer": "对照锁价客户", "salesperson": "娜娜", "note": "锁价备注", "line": { "name": "足金999", "code": "", "unit": "g", "quantity": 3000, "pocket": "", "payer": "owner", "costPayers": { "material": "owner", "labor": "owner" }, "cost": 255000, "costParts": { "material": 255000, "labor": 0, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 276000, "baseSale": 276000, "charges": [], "pricingMode": "auto", "goldPrice": 90000, "laborRate": 2000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 900.00元/克 + 工费 20.00元/克" }, "locked_mg": 3000, "sell_rate": 90000, "buy_rate": 85000, "buy_payer": "owner", "material_amount": 255000, "estimated_total": 276000, "discount": 0, "status": "pending", "revision": 1, "final_order_id": null, "delivery": null, "actor": "助理", "created": "2026-11-18T02:01:53.000Z", "updated": "2026-11-18T02:01:53.000Z", "cancelled_at": null, "cancelled_reason": null, "lines": [ { "id": "", "line_index": 0, "line": { "name": "足金999", "code": "", "unit": "g", "quantity": 3000, "pocket": "", "payer": "owner", "costPayers": { "material": "owner", "labor": "owner" }, "cost": 255000, "costParts": { "material": 255000, "labor": 0, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 276000, "baseSale": 276000, "charges": [], "pricingMode": "auto", "goldPrice": 90000, "laborRate": 2000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 900.00元/克 + 工费 20.00元/克" }, "locked_mg": 3000, "sell_rate": 90000, "buy_rate": 85000, "buy_payer": "owner", "material_amount": 255000, "material_source": "manual", "delivery": null } ], "member": "assistant", "kind": "priceLock", "credit_card_rate_permille": 6, "material_source": "manual", "cash_events": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 270000, "account": "助理微信", "payer": null, "source": null, "quantity": null, "rate": null, "number": "SJ20261118-", "customer": "对照锁价客户", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:53.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null, "card_fee_amount": null, "card_fee_payer": null, "card_fee_expense_id": null, "card_fee_rate": null, "card_fee_note": null } ], "material_events": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "material", "amount": 255000, "account": null, "payer": "owner", "source": "original", "quantity": 3000, "rate": 85000, "number": "SJ20261118-", "customer": "对照锁价客户", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:53.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "card_fee_amount": null, "card_fee_payer": null, "card_fee_expense_id": null, "card_fee_rate": null, "card_fee_note": null } ], "voided_events": [], "received": 270000, "refunded": 0, "netReceived": 270000, "credit_card_fees": [], "credit_card_fee_total": 0 }, "after": { "id": "", "number": "SJ20261118-", "date": "2026-11-18", "customer": "对照锁价客户(改)", "salesperson": "娜娜", "note": "锁价备注", "line": { "name": "足金999", "code": "", "unit": "g", "quantity": 3000, "pocket": "", "payer": "owner", "costPayers": { "material": "owner", "labor": "owner" }, "cost": 255000, "costParts": { "material": 255000, "labor": 0, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 276000, "baseSale": 276000, "charges": [], "pricingMode": "auto", "goldPrice": 90000, "laborRate": 2000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 900.00元/克 + 工费 20.00元/克" }, "locked_mg": 3000, "sell_rate": 90000, "buy_rate": 85000, "buy_payer": "owner", "material_amount": 255000, "estimated_total": 276000, "discount": 0, "status": "pending", "revision": 2, "final_order_id": null, "delivery": null, "actor": "助理", "created": "2026-11-18T02:01:53.000Z", "updated": "2026-11-19T02:01:18.000Z", "cancelled_at": null, "cancelled_reason": null, "lines": [ { "id": "", "line_index": 0, "line": { "name": "足金999", "code": "", "unit": "g", "quantity": 3000, "pocket": "", "payer": "owner", "costPayers": { "material": "owner", "labor": "owner" }, "cost": 255000, "costParts": { "material": 255000, "labor": 0, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 276000, "baseSale": 276000, "charges": [], "pricingMode": "auto", "goldPrice": 90000, "laborRate": 2000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 900.00元/克 + 工费 20.00元/克" }, "locked_mg": 3000, "sell_rate": 90000, "buy_rate": 85000, "buy_payer": "owner", "material_amount": 255000, "material_source": "manual", "delivery": null } ], "member": "assistant", "kind": "priceLock", "credit_card_rate_permille": 6, "material_source": "manual", "cash_events": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 270000, "account": "助理微信", "payer": null, "source": null, "quantity": null, "rate": null, "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:53.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null, "card_fee_amount": null, "card_fee_payer": null, "card_fee_expense_id": null, "card_fee_rate": null, "card_fee_note": null } ], "material_events": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "material", "amount": 255000, "account": null, "payer": "owner", "source": "original", "quantity": 3000, "rate": 85000, "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:53.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "card_fee_amount": null, "card_fee_payer": null, "card_fee_expense_id": null, "card_fee_rate": null, "card_fee_note": null } ], "voided_events": [], "received": 270000, "refunded": 0, "netReceived": 270000, "credit_card_fees": [], "credit_card_fee_total": 0 }, "changes": [ { "field": "customer", "before": "对照锁价客户", "after": "对照锁价客户(改)" } ], "relatedOrders": [], "relatedPriceLocks": [], "stale": false } ] } }, { "seq": 428, "label": "recovery-changes-all-owner", "date": "2026-11-19", "actor": "owner", "method": "GET", "path": "/api/recovery-changes?status=all", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "requests": [], "counts": { "pending": 0, "approved": 0, "rejected": 0 } } }, { "seq": 429, "label": "purchase-changes-all-owner", "date": "2026-11-19", "actor": "owner", "method": "GET", "path": "/api/material-purchase-changes?status=all", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "rows": [ { "id": "", "purchase_id": "", "purchase_revision": 2, "action": "delete", "reason": "申请删除历史购料", "status": "rejected", "requester_id": "", "requester_name": "助理", "requester_role": "assistant", "created": "2026-11-19T02:02:29.000Z", "reviewer_id": "", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:02:30.000Z", "note": "购料真实存在", "stale": false, "canApprove": false, "preview": { "before": { "id": "", "date": "2026-11-18", "mg": 11000, "amount": 990000, "payer": "assistant", "note": "核对凭据", "revision": 2 }, "after": null, "relatedOrders": [ { "id": "", "number": "20261118004", "date": "2026-11-18", "member": "assistant", "before": { "goodsCost": 271935, "profit": 57065, "settlementDue": 0, "ownerCost": 0, "total": 330000, "netReceived": 330000 }, "after": { "goodsCost": 273000, "profit": 56000, "settlementDue": 0, "ownerCost": 273000, "total": 330000, "netReceived": 330000 } } ], "affectedDates": [ "2026-11-18" ], "summary": { "affectedOrderCount": 1, "goodsDelta": 1065, "profitDelta": -1065 } } }, { "id": "", "purchase_id": "", "purchase_revision": 1, "action": "edit", "reason": "核对原始购料凭据后申请", "status": "approved", "requester_id": "", "requester_name": "助理", "requester_role": "assistant", "created": "2026-11-19T02:02:23.000Z", "reviewer_id": "", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:02:27.000Z", "note": "已核对付款凭据", "stale": false, "canApprove": false, "preview": { "before": { "id": "", "date": "2026-11-18", "mg": 10000, "amount": 900000, "payer": "assistant", "note": "娜娜购料", "revision": 1 }, "after": { "id": "", "date": "2026-11-18", "mg": 11000, "amount": 990000, "payer": "assistant", "note": "核对凭据", "revision": 2 }, "relatedOrders": [ { "id": "", "number": "20261118004", "date": "2026-11-18", "member": "assistant", "before": { "goodsCost": 272000, "profit": 57000, "settlementDue": 0, "ownerCost": 0, "total": 330000, "netReceived": 330000 }, "after": { "goodsCost": 271935, "profit": 57065, "settlementDue": 0, "ownerCost": 0, "total": 330000, "netReceived": 330000 } } ], "affectedDates": [ "2026-11-18" ], "summary": { "affectedOrderCount": 1, "goodsDelta": -65, "profitDelta": 65 } } } ], "counts": { "pending": 0, "approved": 1, "rejected": 1 } } }, { "seq": 430, "label": "after-sale-changes-all-owner", "date": "2026-11-19", "actor": "owner", "method": "GET", "path": "/api/after-sales/changes?status=all", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "requests": [ { "id": "", "afterSaleId": "", "revision": 2, "recordRevision": 2, "status": "rejected", "reason": "再次调整", "before": { "date": "2026-11-18", "project": "对照改圈", "customer": "对照售后客户", "amount": 950, "payer": "assistant" }, "after": { "date": "2026-11-18", "project": "对照改圈", "customer": "对照售后客户", "amount": 1200, "payer": "assistant" }, "member": "assistant", "requesterName": "助理", "requesterMember": "assistant", "created": "2026-11-19T02:01:14.000Z", "reviewerName": "麦麦", "reviewed": "2026-11-19T02:01:15.000Z", "note": "金额无误", "stale": false, "staleReason": "", "canApprove": false }, { "id": "", "afterSaleId": "", "revision": 2, "recordRevision": 1, "status": "approved", "reason": "金额录错", "before": { "date": "2026-11-18", "project": "对照改圈", "customer": "对照售后客户", "amount": 850, "payer": "assistant" }, "after": { "date": "2026-11-18", "project": "对照改圈", "customer": "对照售后客户", "amount": 950, "payer": "assistant" }, "member": "assistant", "requesterName": "助理", "requesterMember": "assistant", "created": "2026-11-19T02:01:09.000Z", "reviewerName": "麦麦", "reviewed": "2026-11-19T02:01:12.000Z", "note": "核实", "stale": false, "staleReason": "", "canApprove": false } ], "counts": { "pending": 0, "approved": 1, "rejected": 1 } } }, { "seq": 431, "label": "report-d2-assistant", "date": "2026-11-19", "actor": "assistant", "method": "GET", "path": "/api/report?date=2026-11-19", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "date": "2026-11-19", "from": "2026-11-19", "sales": 687000, "goods": 597308, "knownGoods": 597308, "expense": 1600, "profit": 88092, "knownProfit": 88092, "materialCostPending": false, "pendingMaterialCount": 0, "materialPoolActivity": { "from": "2026-11-19", "to": "2026-11-19", "purchases": [ { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 5000, "amount": 460000, "payer": "assistant", "note": "第二天购料", "actor": "助理", "created": "2026-11-19T02:02:19.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:19.000Z" } ], "settlements": [], "events": [ { "id": "", "pool_id": "2026-11-19", "usage_id": "", "order_id": "", "date": "2026-11-19", "kind": "交付占用", "before_value": null, "after_value": { "poolId": "2026-11-19", "mg": 2000, "active": 1, "amount": null, "ownerAmount": null, "assistantAmount": null, "revision": 1 }, "actor": "助理", "created": "2026-11-19T02:02:40.000Z" } ] }, "materialPoolSettlement": { "legacyReadOnly": true, "settlementDue": 0, "knownSettlementDue": 0, "pendingCount": 0, "pools": [] }, "delivered": 4, "returns": 0, "accounts": [ { "account": "助理微信", "receipt": 400800, "refund": 0 }, { "account": "助理支付宝", "receipt": 16200, "refund": 0 }, { "account": "助理现金", "receipt": 0, "refund": 0 }, { "account": "麦麦微信", "receipt": 0, "refund": 0 }, { "account": "麦麦支付宝", "receipt": 0, "refund": 0 }, { "account": "麦麦现金", "receipt": 0, "refund": 0 }, { "account": "助理信用卡", "receipt": 0, "refund": 0 }, { "account": "麦麦信用卡", "receipt": 0, "refund": 0 }, { "account": "助理2微信", "receipt": 0, "refund": 0 }, { "account": "助理2支付宝", "receipt": 0, "refund": 0 }, { "account": "助理2现金", "receipt": 0, "refund": 0 }, { "account": "助理2信用卡", "receipt": 0, "refund": 0 } ], "payments": [ { "id": "", "order_id": "", "date": "2026-11-19", "kind": "receipt", "amount": 130800, "account": "助理微信", "reference": "置换差额实际收款 · HS202611190002", "actor": "助理", "created": "2026-11-19T02:01:33.000Z", "number": "MM20261119-" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "receipt", "amount": 210000, "account": "助理微信", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-19T02:01:57.000Z", "number": "MM20261119-" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "receipt", "amount": -210000, "account": "助理微信", "reference": "更正冲回:取消审批作废;当天录错", "actor": "助理", "created": "2026-11-19T02:01:59.000Z", "number": "MM20261119-" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "receipt", "amount": 220000, "account": "助理微信", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-19T02:02:40.000Z", "number": "MM20261119-" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "receipt", "amount": 50000, "account": "助理微信", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-19T02:02:51.000Z", "number": "MM20261119-" }, { "id": "", "price_lock_id": "", "date": "2026-11-19", "kind": "receipt", "amount": 16200, "account": "助理支付宝", "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-19T02:01:28.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null, "price_lock_event_id": "" } ], "settlements": [], "journal": [ { "id": "", "order_id": "", "date": "2026-11-19", "kind": "直接费用", "sales": 0, "goods": 0, "expense": 1000, "profit": -1000, "created": "2026-11-19T02:00:37.000Z", "number": "MM20261118-" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "交付", "sales": 286200, "goods": 267000, "expense": 600, "profit": 18600, "created": "2026-11-19T02:01:28.000Z", "number": "MM20261119-" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "交付", "sales": 130800, "goods": 106410, "expense": 0, "profit": 24390, "created": "2026-11-19T02:01:33.000Z", "number": "MM20261119-" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "交付", "sales": 210000, "goods": 180000, "expense": 0, "profit": 30000, "created": "2026-11-19T02:01:57.000Z", "number": "MM20261119-" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "订单录错作废冲回", "sales": -210000, "goods": -180000, "expense": 0, "profit": -30000, "created": "2026-11-19T02:01:59.000Z", "number": "MM20261119-" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "交付", "sales": 220000, "goods": 181898, "expense": 0, "profit": 38102, "created": "2026-11-19T02:02:40.000Z", "number": "MM20261119-" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "交付", "sales": 50000, "goods": 42000, "expense": 0, "profit": 8000, "created": "2026-11-19T02:02:51.000Z", "number": "MM20261119-" } ], "afterSales": [], "afterSaleCount": 0, "inventory": [ { "pocket": "现货", "mg": 61950, "reserved": 0, "available": 61950 }, { "pocket": "金料", "mg": 56000, "reserved": 0, "available": 56000 }, { "pocket": "找金", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "回收旧料", "mg": 12843, "reserved": 0, "available": 12843 }, { "pocket": "君宝汇", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "臻金汇", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "金金", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "定制工厂", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "pocket_", "mg": 10000, "reserved": 0, "available": 10000 } ], "warnings": [ { "id": "", "number": "MM20261119-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261119-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261119-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261119-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261119-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261118-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261118-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261118-", "message": "麦麦直接收客户款,已扣减总待结金额;货款/利润拆分需单独复核" }, { "id": "", "number": "MM20261118-", "message": "有记录待麦麦复核" } ], "unsettled": [], "settlementDue": 0, "knownSettlementDue": 0, "customerBalance": 0, "close": null, "peopleCount": null } }, { "seq": 432, "label": "report-d2-orderdate-assistant", "date": "2026-11-19", "actor": "assistant", "method": "GET", "path": "/api/report?date=2026-11-19&basis=orderDate", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "date": "2026-11-19", "from": "2026-11-19", "sales": 687000, "goods": 597308, "knownGoods": 597308, "expense": 600, "profit": 89092, "knownProfit": 89092, "materialCostPending": false, "pendingMaterialCount": 0, "materialPoolActivity": { "basis": "purchaseDate", "from": "2026-11-19", "date": "2026-11-19", "purchases": [ { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 5000, "amount": 460000, "payer": "assistant", "note": "第二天购料", "actor": "助理", "created": "2026-11-19T02:02:19.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:19.000Z" } ], "payerOutlays": { "owner": { "payer": "owner", "material": 0, "goods": 0, "paidFees": 0, "total": 0, "purchaseCount": 0 }, "assistant": { "payer": "assistant", "material": 460000, "goods": 460000, "paidFees": 0, "total": 460000, "purchaseCount": 1 }, "assistant2": { "payer": "assistant2", "material": 0, "goods": 0, "paidFees": 0, "total": 0, "purchaseCount": 0 } }, "summary": { "purchaseCount": 1, "poolCount": 1, "mg": 5000, "materialOutlay": 460000, "purchaseValue": 460000, "ownerOutlay": 0, "assistantOutlay": 460000, "assistant2Outlay": 0, "totalOutlay": 460000, "eventCount": 1 } }, "materialPoolSettlement": { "legacyReadOnly": true, "settlementDue": 0, "knownSettlementDue": 0, "pendingCount": 0, "pools": [] }, "delivered": 4, "returns": 0, "accounts": [ { "account": "助理微信", "receipt": 400800, "refund": 0, "net": 400800 }, { "account": "助理支付宝", "receipt": 16200, "refund": 0, "net": 16200 }, { "account": "助理现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2现金", "receipt": 0, "refund": 0, "net": 0 } ], "payments": [ { "id": "", "order_id": "", "date": "2026-11-19", "kind": "receipt", "amount": 130800, "account": "助理微信", "reference": "置换差额实际收款 · HS202611190002", "actor": "助理", "created": "2026-11-19T02:01:33.000Z", "number": "MM20261119-", "paper_number": "20261119012", "order_date": "2026-11-19" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "receipt", "amount": 210000, "account": "助理微信", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-19T02:01:57.000Z", "number": "MM20261119-", "paper_number": "20261119014", "order_date": "2026-11-19" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "receipt", "amount": -210000, "account": "助理微信", "reference": "更正冲回:取消审批作废;当天录错", "actor": "助理", "created": "2026-11-19T02:01:59.000Z", "number": "MM20261119-", "paper_number": "20261119014", "order_date": "2026-11-19" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "receipt", "amount": 220000, "account": "助理微信", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-19T02:02:40.000Z", "number": "MM20261119-", "paper_number": "20261119015", "order_date": "2026-11-19" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "receipt", "amount": 50000, "account": "助理微信", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-19T02:02:51.000Z", "number": "MM20261119-", "paper_number": "20261119016", "order_date": "2026-11-19" }, { "id": "", "price_lock_id": "", "date": "2026-11-19", "kind": "receipt", "amount": 16200, "account": "助理支付宝", "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-19T02:01:28.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null } ], "settlements": [], "journal": [ { "id": "", "order_id": "", "date": "2026-11-19", "kind": "交付", "sales": 286200, "goods": 267000, "expense": 600, "profit": 18600, "created": "2026-11-19T02:01:28.000Z", "number": "MM20261119-", "paper_number": "20261119010", "order_date": "2026-11-19" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "交付", "sales": 130800, "goods": 106410, "expense": 0, "profit": 24390, "created": "2026-11-19T02:01:33.000Z", "number": "MM20261119-", "paper_number": "20261119012", "order_date": "2026-11-19" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "交付", "sales": 210000, "goods": 180000, "expense": 0, "profit": 30000, "created": "2026-11-19T02:01:57.000Z", "number": "MM20261119-", "paper_number": "20261119014", "order_date": "2026-11-19" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "订单录错作废冲回", "sales": -210000, "goods": -180000, "expense": 0, "profit": -30000, "created": "2026-11-19T02:01:59.000Z", "number": "MM20261119-", "paper_number": "20261119014", "order_date": "2026-11-19" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "交付", "sales": 220000, "goods": 181898, "expense": 0, "profit": 38102, "created": "2026-11-19T02:02:40.000Z", "number": "MM20261119-", "paper_number": "20261119015", "order_date": "2026-11-19" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "交付", "sales": 50000, "goods": 42000, "expense": 0, "profit": 8000, "created": "2026-11-19T02:02:51.000Z", "number": "MM20261119-", "paper_number": "20261119016", "order_date": "2026-11-19" } ], "afterSales": [], "afterSaleCount": 0, "inventory": [ { "pocket": "现货", "mg": 61950, "reserved": 0, "available": 61950 }, { "pocket": "金料", "mg": 56000, "reserved": 0, "available": 56000 }, { "pocket": "找金", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "回收旧料", "mg": 12843, "reserved": 0, "available": 12843 }, { "pocket": "君宝汇", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "臻金汇", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "金金", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "定制工厂", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "pocket_", "mg": 10000, "reserved": 0, "available": 10000 } ], "warnings": [ { "id": "", "number": "MM20261119-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261119-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261119-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261119-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261119-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261118-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261118-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261118-", "message": "麦麦直接收客户款,已扣减总待结金额;货款/利润拆分需单独复核" }, { "id": "", "number": "MM20261118-", "message": "有记录待麦麦复核" } ], "unsettled": [], "settlementDue": 0, "knownSettlementDue": 0, "customerBalance": 0, "close": null, "basis": "orderDate", "summary": { "orderCount": 5, "completedCount": 4, "draftCount": 0, "confirmedCount": 0, "returnedCount": 0, "cancelledCount": 1, "incompleteCount": 0, "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "unknownCostCount": 0, "unknownProfitCount": 0, "legacyUnallocatedCount": 1, "sale": 687000, "material": 549308, "laborAndFees": 6600, "unallocated": 42000, "totalCost": 597908, "profit": 89092, "ownerCost": 255600, "assistantCost": 342308, "assistant2Cost": 0, "mg": 13600, "pieces": 0, "knownCounts": { "sale": 5, "material": 4, "laborAndFees": 4, "unallocated": 5, "totalCost": 5, "profit": 5, "ownerCost": 5, "assistantCost": 5, "assistant2Cost": 5 }, "unknownCounts": { "sale": 0, "material": 1, "laborAndFees": 1, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0 }, "partial": true, "afterSaleCount": 0, "recordCount": 5 }, "orderRows": [ { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119010", "date": "2026-11-19", "created": "2026-11-19T02:01:28.000Z", "price_lock_id": "", "customer": "对照锁价客户(改)", "salesperson": "娜娜", "status": "delivered", "note": "锁价备注;锁价单 SJ20261118-;按原锁定金价 900.00元/克结算", "types": [ "货盘现货" ], "mg": 3100, "summaryMg": 3100, "pieces": 0, "originalSale": 286200, "sale": 286200, "material": 264000, "laborAndFees": 3600, "unallocated": 0, "totalCost": 267600, "profit": 18600, "ownerCost": 255600, "assistantCost": 12000, "assistant2Cost": 0, "known": { "sale": 286200, "material": 264000, "laborAndFees": 3600, "unallocated": 0, "totalCost": 267600, "profit": 18600, "ownerCost": 255600, "assistantCost": 12000, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 原锁价采购", "amount": 255000, "payer": "owner", "excluded": false, "priceLockSource": "original", "calculation": { "rate": 85000, "quantity": 3000 } }, { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 补重采购", "amount": 9000, "payer": "assistant", "excluded": false, "priceLockSource": "extra", "calculation": { "rate": 90000, "quantity": 100 } }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "实际快递", "source": "2026-11-19", "amount": 600, "payer": "owner", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "实际快递", "source": "2026-11-19", "amount": 600, "payer": "owner", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 3, "reviewed_revision": 0 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119012", "date": "2026-11-19", "created": "2026-11-19T02:01:33.000Z", "recovery_id": "", "recovery_mode": "exchange", "nonCashOffset": 0, "cashPaid": 0, "netSettlement": 130800, "recovery_immutable_reason": "本单关联黄金回收/置换、购料及库存,暂不支持普通订单修改、取消、退款、退货或费用变更,请保留原关联记录", "customer": "对照换货客户二", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 6000, "summaryMg": 6000, "pieces": 0, "originalSale": 130800, "sale": 130800, "material": 103410, "laborAndFees": 3000, "unallocated": 0, "totalCost": 106410, "profit": 24390, "ownerCost": 0, "assistantCost": 106410, "assistant2Cost": 0, "known": { "sale": 130800, "material": 103410, "laborAndFees": 3000, "unallocated": 0, "totalCost": 106410, "profit": 24390, "ownerCost": 0, "assistantCost": 106410, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金对照新货", "amount": 103410, "payer": "assistant", "excluded": false, "calculation": { "rate": 90000, "quantity": 1149 }, "component": "material" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": { "rate": 500, "quantity": 6000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": { "rate": 500, "quantity": 6000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 4, "reviewed_revision": 0 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119014", "date": "2026-11-19", "created": "2026-11-19T02:01:57.000Z", "cancellationApproved": { "id": "", "status": "approved", "order_revision": 4, "reason": "当天录错", "requester_name": "助理", "created": "2026-11-19T02:01:59.000Z", "reviewer_name": null, "reviewed": null, "note": "", "direct": true, "operator_name": "助理", "executedAt": "2026-11-19T02:01:59.000Z" }, "customer": "当天取消客户", "salesperson": "娜娜", "status": "cancelled", "note": "", "types": [ "货盘现货" ], "mg": 2000, "summaryMg": 2000, "pieces": 0, "originalSale": 210000, "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0, "known": { "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0 }, "costItems": [], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "录错作废已获麦麦批准,本单销售、成本与收款记账已撤销,原单和审批记录保留", "balance": 0, "revision": 5, "reviewed_revision": 0 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119015", "date": "2026-11-19", "created": "2026-11-19T02:02:40.000Z", "materialPoolIds": [ "2026-11-19" ], "materialCostPending": false, "customer": "滚动料池客户", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "配货" ], "mg": 2000, "summaryMg": 2000, "pieces": 0, "originalSale": 220000, "sale": 220000, "material": 181898, "laborAndFees": 0, "unallocated": 0, "totalCost": 181898, "profit": 38102, "ownerCost": 0, "assistantCost": 181898, "assistant2Cost": 0, "known": { "sale": 220000, "material": 181898, "laborAndFees": 0, "unallocated": 0, "totalCost": 181898, "profit": 38102, "ownerCost": 0, "assistantCost": 181898, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 2026-11-19日购料", "amount": 181898, "payer": "assistant", "excluded": false, "materialPoolId": "2026-11-19", "materialPoolRevision": "2e1d58e4d359165036a53976f4ed30c7052bb21df8bd2eb46c6544546a2e818b", "calculation": { "rate": 90949, "quantity": 2000, "weighted": true } }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 4, "reviewed_revision": 0 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119016", "date": "2026-11-19", "created": "2026-11-19T02:02:51.000Z", "customer": "安全测试", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 500, "summaryMg": 500, "pieces": 0, "originalSale": 50000, "sale": 50000, "material": null, "laborAndFees": null, "unallocated": 42000, "totalCost": 42000, "profit": 8000, "ownerCost": 0, "assistantCost": 42000, "assistant2Cost": 0, "known": { "sale": 50000, "material": 0, "laborAndFees": 0, "unallocated": 42000, "totalCost": 42000, "profit": 8000, "ownerCost": 0, "assistantCost": 42000, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金转运珠", "amount": 42000, "payer": "assistant", "excluded": false, "calculation": null, "component": "unallocated" } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 4, "reviewed_revision": 0 } ], "payerCosts": { "assistant": { "payer": "assistant", "name": "娜娜", "goods": 620410, "paidFees": 0, "total": 620410, "missingCount": 0, "pendingCount": 0, "items": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金对照新货", "amount": 103410, "payer": "assistant", "excluded": false, "calculation": { "rate": 90000, "quantity": 1149 }, "component": "material", "order_id": "", "number": "MM20261119-", "paper_number": "20261119012", "date": "2026-11-19", "customer": "对照换货客户二", "status": "recorded" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": { "rate": 500, "quantity": 6000 }, "component": "labor", "order_id": "", "number": "MM20261119-", "paper_number": "20261119012", "date": "2026-11-19", "customer": "对照换货客户二", "status": "recorded" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories", "order_id": "", "number": "MM20261119-", "paper_number": "20261119012", "date": "2026-11-19", "customer": "对照换货客户二", "status": "recorded" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other", "order_id": "", "number": "MM20261119-", "paper_number": "20261119012", "date": "2026-11-19", "customer": "对照换货客户二", "status": "recorded" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor", "order_id": "", "number": "MM20261119-", "paper_number": "20261119015", "date": "2026-11-19", "customer": "滚动料池客户", "status": "recorded" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories", "order_id": "", "number": "MM20261119-", "paper_number": "20261119015", "date": "2026-11-19", "customer": "滚动料池客户", "status": "recorded" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other", "order_id": "", "number": "MM20261119-", "paper_number": "20261119015", "date": "2026-11-19", "customer": "滚动料池客户", "status": "recorded" }, { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金转运珠", "amount": 42000, "payer": "assistant", "excluded": false, "calculation": null, "component": "unallocated", "order_id": "", "number": "MM20261119-", "paper_number": "20261119016", "date": "2026-11-19", "customer": "安全测试", "status": "recorded" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": null, "id": "price-lock-goods::0", "price_lock_id": "", "order_id": "", "number": "MM20261119-", "paper_number": "20261119010", "customer": "对照锁价客户(改)", "date": "2026-11-19", "component": "labor", "status": "recorded", "actualOutlay": true }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "id": "price-lock-goods::1", "price_lock_id": "", "order_id": "", "number": "MM20261119-", "paper_number": "20261119010", "customer": "对照锁价客户(改)", "date": "2026-11-19", "component": "accessories", "status": "recorded", "actualOutlay": true }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "id": "price-lock-goods::2", "price_lock_id": "", "order_id": "", "number": "MM20261119-", "paper_number": "20261119010", "customer": "对照锁价客户(改)", "date": "2026-11-19", "component": "other", "status": "recorded", "actualOutlay": true }, { "id": "", "price_lock_id": "", "date": "2026-11-19", "kind": "goods", "amount": 9000, "payer": "assistant", "source": "锁价采购 · 实付 2026-11-19", "quantity": 100, "rate": 90000, "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-19T02:01:28.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "component": "material", "name": "补购料费", "materialSource": "extra", "paidDate": "2026-11-19", "calculation": { "rate": 90000, "quantity": 100 }, "status": "recorded", "actualOutlay": true }, { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 5000, "amount": 460000, "payer": "assistant", "note": "第二天购料", "actor": "助理", "created": "2026-11-19T02:02:19.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:19.000Z", "purchaseAmount": 460000, "kind": "goods", "component": "material", "materialPoolId": "2026-11-19", "name": "日料池采购", "source": "日料池 2026-11-19 · 实付 2026-11-19", "paidDate": "2026-11-19", "quantity": 5000, "calculation": null, "status": "recorded", "actualOutlay": true } ] }, "owner": { "payer": "owner", "name": "麦麦", "goods": 0, "paidFees": 600, "total": 600, "missingCount": 0, "pendingCount": 0, "items": [ { "id": "", "order_id": "", "date": "2026-11-19", "amount": 600, "payer": "owner", "note": "实际快递", "actor": "助理", "created": "2026-11-19T02:01:28.000Z", "price_lock_id": "", "number": "SJ20261118-", "customer": "对照锁价客户(改)", "kind": "paid", "component": "fee", "product": "足金999", "name": "实际快递", "source": "锁价费用 · 实付 2026-11-19", "paidDate": "2026-11-19", "status": "recorded", "calculation": null, "actualOutlay": true } ] }, "assistant2": { "payer": "assistant2", "name": "小昊", "goods": 0, "paidFees": 0, "total": 0, "missingCount": 0, "pendingCount": 0, "items": [] } }, "orderPayerCosts": { "assistant": { "payer": "assistant", "name": "娜娜", "goods": 342308, "paidFees": 0, "total": 342308, "missingCount": 0, "pendingCount": 0, "items": [ { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 补重采购", "amount": 9000, "payer": "assistant", "excluded": false, "priceLockSource": "extra", "calculation": { "rate": 90000, "quantity": 100 }, "order_id": "", "number": "MM20261119-", "paper_number": "20261119010", "date": "2026-11-19", "customer": "对照锁价客户(改)", "status": "recorded" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor", "order_id": "", "number": "MM20261119-", "paper_number": "20261119010", "date": "2026-11-19", "customer": "对照锁价客户(改)", "status": "recorded" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories", "order_id": "", "number": "MM20261119-", "paper_number": "20261119010", "date": "2026-11-19", "customer": "对照锁价客户(改)", "status": "recorded" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other", "order_id": "", "number": "MM20261119-", "paper_number": "20261119010", "date": "2026-11-19", "customer": "对照锁价客户(改)", "status": "recorded" }, { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金对照新货", "amount": 103410, "payer": "assistant", "excluded": false, "calculation": { "rate": 90000, "quantity": 1149 }, "component": "material", "order_id": "", "number": "MM20261119-", "paper_number": "20261119012", "date": "2026-11-19", "customer": "对照换货客户二", "status": "recorded" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": { "rate": 500, "quantity": 6000 }, "component": "labor", "order_id": "", "number": "MM20261119-", "paper_number": "20261119012", "date": "2026-11-19", "customer": "对照换货客户二", "status": "recorded" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories", "order_id": "", "number": "MM20261119-", "paper_number": "20261119012", "date": "2026-11-19", "customer": "对照换货客户二", "status": "recorded" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other", "order_id": "", "number": "MM20261119-", "paper_number": "20261119012", "date": "2026-11-19", "customer": "对照换货客户二", "status": "recorded" }, { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 2026-11-19日购料", "amount": 181898, "payer": "assistant", "excluded": false, "materialPoolId": "2026-11-19", "materialPoolRevision": "2e1d58e4d359165036a53976f4ed30c7052bb21df8bd2eb46c6544546a2e818b", "calculation": { "rate": 90949, "quantity": 2000, "weighted": true }, "order_id": "", "number": "MM20261119-", "paper_number": "20261119015", "date": "2026-11-19", "customer": "滚动料池客户", "status": "recorded" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor", "order_id": "", "number": "MM20261119-", "paper_number": "20261119015", "date": "2026-11-19", "customer": "滚动料池客户", "status": "recorded" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories", "order_id": "", "number": "MM20261119-", "paper_number": "20261119015", "date": "2026-11-19", "customer": "滚动料池客户", "status": "recorded" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other", "order_id": "", "number": "MM20261119-", "paper_number": "20261119015", "date": "2026-11-19", "customer": "滚动料池客户", "status": "recorded" }, { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金转运珠", "amount": 42000, "payer": "assistant", "excluded": false, "calculation": null, "component": "unallocated", "order_id": "", "number": "MM20261119-", "paper_number": "20261119016", "date": "2026-11-19", "customer": "安全测试", "status": "recorded" } ] }, "owner": { "payer": "owner", "name": "麦麦", "goods": 255000, "paidFees": 600, "total": 255600, "missingCount": 0, "pendingCount": 0, "items": [ { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 原锁价采购", "amount": 255000, "payer": "owner", "excluded": false, "priceLockSource": "original", "calculation": { "rate": 85000, "quantity": 3000 }, "order_id": "", "number": "MM20261119-", "paper_number": "20261119010", "date": "2026-11-19", "customer": "对照锁价客户(改)", "status": "recorded" }, { "kind": "paid", "name": "实际快递", "source": "整单费用 · 实付 2026-11-19", "amount": 600, "payer": "owner", "component": "fee", "order_id": "", "number": "MM20261119-", "paper_number": "20261119010", "date": "2026-11-19", "customer": "对照锁价客户(改)", "status": "recorded", "calculation": null, "paidDate": "2026-11-19" } ] }, "assistant2": { "payer": "assistant2", "name": "小昊", "goods": 0, "paidFees": 0, "total": 0, "missingCount": 0, "pendingCount": 0, "items": [] } }, "peopleCount": null, "priceLockActivity": { "basis": "eventDate", "from": "2026-11-19", "date": "2026-11-19", "customerCash": [ { "id": "", "price_lock_id": "", "date": "2026-11-19", "kind": "receipt", "amount": 16200, "account": "助理支付宝", "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-19T02:01:28.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null } ], "orderPayments": [], "materialOutlays": [ { "id": "", "price_lock_id": "", "date": "2026-11-19", "kind": "material", "amount": 9000, "payer": "assistant", "source": "extra", "quantity": 100, "rate": 90000, "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-19T02:01:28.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "component": "material" } ], "directOutlays": [ { "id": "", "order_id": "", "date": "2026-11-19", "amount": 600, "payer": "owner", "note": "实际快递", "actor": "助理", "created": "2026-11-19T02:01:28.000Z", "price_lock_id": "", "number": "SJ20261118-", "customer": "对照锁价客户(改)", "kind": "fee", "component": "fee", "product": "足金999" } ], "deliveryGoodsOutlays": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": null, "id": "price-lock-goods::0", "price_lock_id": "", "order_id": "", "number": "MM20261119-", "paper_number": "20261119010", "customer": "对照锁价客户(改)", "date": "2026-11-19", "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "id": "price-lock-goods::1", "price_lock_id": "", "order_id": "", "number": "MM20261119-", "paper_number": "20261119010", "customer": "对照锁价客户(改)", "date": "2026-11-19", "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "id": "price-lock-goods::2", "price_lock_id": "", "order_id": "", "number": "MM20261119-", "paper_number": "20261119010", "customer": "对照锁价客户(改)", "date": "2026-11-19", "component": "other" } ], "receipts": { "receipt": 16200, "refund": 0, "net": 16200, "channels": [ { "channel": "wechat", "name": "微信", "receipt": 0, "refund": 0, "net": 0 }, { "channel": "alipay", "name": "支付宝", "receipt": 16200, "refund": 0, "net": 16200 }, { "channel": "cash", "name": "现金", "receipt": 0, "refund": 0, "net": 0 } ], "accounts": [ { "account": "助理微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理支付宝", "receipt": 16200, "refund": 0, "net": 16200 }, { "account": "助理现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2现金", "receipt": 0, "refund": 0, "net": 0 } ], "paymentCount": 1, "orderCount": 1 }, "payerOutlays": { "owner": { "payer": "owner", "material": 0, "goods": 0, "paidFees": 600, "total": 600 }, "assistant": { "payer": "assistant", "material": 9000, "goods": 12000, "paidFees": 0, "total": 12000 }, "assistant2": { "payer": "assistant2", "material": 0, "goods": 0, "paidFees": 0, "total": 0 } }, "summary": { "receipt": 16200, "refund": 0, "net": 16200, "materialOutlay": 9000, "goodsOutlay": 12000, "feeOutlay": 600, "ownerOutlay": 600, "assistantOutlay": 12000, "assistant2Outlay": 0, "totalOutlay": 12600, "eventCount": 6, "lockCount": 1 } }, "outlayGoods": 620410, "outlayExpense": 600, "outlayTotal": 621010, "receiptsByOrderDate": { "basis": "orderDate", "filterScope": "matchingOrders", "from": "2026-11-19", "date": "2026-11-19", "receipt": 417000, "refund": 0, "net": 417000, "channels": [ { "channel": "wechat", "name": "微信", "receipt": 400800, "refund": 0, "net": 400800 }, { "channel": "alipay", "name": "支付宝", "receipt": 16200, "refund": 0, "net": 16200 }, { "channel": "cash", "name": "现金", "receipt": 0, "refund": 0, "net": 0 } ], "accounts": [ { "account": "助理微信", "receipt": 400800, "refund": 0, "net": 400800 }, { "account": "助理支付宝", "receipt": 16200, "refund": 0, "net": 16200 }, { "account": "助理现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2现金", "receipt": 0, "refund": 0, "net": 0 } ], "paymentCount": 6, "orderCount": 5 }, "totalCost": 597908, "recipientReceipts": { "assistant": { "recipient": "assistant", "name": "娜娜", "receipt": 417000, "refund": 0, "net": 417000, "items": [ { "id": "", "date": "2026-11-19", "kind": "receipt", "amount": 130800, "account": "助理微信", "order_id": "", "price_lock_id": null, "order_date": "2026-11-19", "number": "MM20261119-", "paper_number": "20261119012", "customer": "对照换货客户二", "reference": "置换差额实际收款 · HS202611190002", "note": "", "created": "2026-11-19T02:01:33.000Z" }, { "id": "", "date": "2026-11-19", "kind": "receipt", "amount": 210000, "account": "助理微信", "order_id": "", "price_lock_id": null, "order_date": "2026-11-19", "number": "MM20261119-", "paper_number": "20261119014", "customer": "当天取消客户", "reference": "开单时已全额收款", "note": "", "created": "2026-11-19T02:01:57.000Z" }, { "id": "", "date": "2026-11-19", "kind": "receipt", "amount": -210000, "account": "助理微信", "order_id": "", "price_lock_id": null, "order_date": "2026-11-19", "number": "MM20261119-", "paper_number": "20261119014", "customer": "当天取消客户", "reference": "更正冲回:取消审批作废;当天录错", "note": "", "created": "2026-11-19T02:01:59.000Z" }, { "id": "", "date": "2026-11-19", "kind": "receipt", "amount": 220000, "account": "助理微信", "order_id": "", "price_lock_id": null, "order_date": "2026-11-19", "number": "MM20261119-", "paper_number": "20261119015", "customer": "滚动料池客户", "reference": "开单时已全额收款", "note": "", "created": "2026-11-19T02:02:40.000Z" }, { "id": "", "date": "2026-11-19", "kind": "receipt", "amount": 50000, "account": "助理微信", "order_id": "", "price_lock_id": null, "order_date": "2026-11-19", "number": "MM20261119-", "paper_number": "20261119016", "customer": "安全测试", "reference": "开单时已全额收款", "note": "", "created": "2026-11-19T02:02:51.000Z" }, { "id": "", "date": "2026-11-19", "kind": "receipt", "amount": 16200, "account": "助理支付宝", "order_id": "", "price_lock_id": "", "order_date": "2026-11-19", "number": "SJ20261118-", "paper_number": "20261119010", "customer": "对照锁价客户(改)", "reference": "", "note": "锁价备注", "created": "2026-11-19T02:01:28.000Z" } ] }, "owner": { "recipient": "owner", "name": "麦麦", "receipt": 0, "refund": 0, "net": 0, "items": [] }, "assistant2": { "recipient": "assistant2", "name": "小昊", "receipt": 0, "refund": 0, "net": 0, "items": [] } }, "ownershipReceipts": { "assistant": { "member": "assistant", "name": "娜娜", "receipt": 417000, "refund": 0, "net": 417000, "accounts": [ { "account": "助理微信", "recipient": "assistant", "channel": "wechat", "receipt": 400800, "refund": 0, "net": 400800, "entryCount": 5 }, { "account": "助理支付宝", "recipient": "assistant", "channel": "alipay", "receipt": 16200, "refund": 0, "net": 16200, "entryCount": 1 } ], "items": [ { "id": "", "date": "2026-11-19", "kind": "receipt", "amount": 130800, "account": "助理微信", "order_id": "", "price_lock_id": null, "order_date": "2026-11-19", "number": "MM20261119-", "paper_number": "20261119012", "customer": "对照换货客户二", "reference": "置换差额实际收款 · HS202611190002", "note": "", "created": "2026-11-19T02:01:33.000Z" }, { "id": "", "date": "2026-11-19", "kind": "receipt", "amount": 210000, "account": "助理微信", "order_id": "", "price_lock_id": null, "order_date": "2026-11-19", "number": "MM20261119-", "paper_number": "20261119014", "customer": "当天取消客户", "reference": "开单时已全额收款", "note": "", "created": "2026-11-19T02:01:57.000Z" }, { "id": "", "date": "2026-11-19", "kind": "receipt", "amount": -210000, "account": "助理微信", "order_id": "", "price_lock_id": null, "order_date": "2026-11-19", "number": "MM20261119-", "paper_number": "20261119014", "customer": "当天取消客户", "reference": "更正冲回:取消审批作废;当天录错", "note": "", "created": "2026-11-19T02:01:59.000Z" }, { "id": "", "date": "2026-11-19", "kind": "receipt", "amount": 220000, "account": "助理微信", "order_id": "", "price_lock_id": null, "order_date": "2026-11-19", "number": "MM20261119-", "paper_number": "20261119015", "customer": "滚动料池客户", "reference": "开单时已全额收款", "note": "", "created": "2026-11-19T02:02:40.000Z" }, { "id": "", "date": "2026-11-19", "kind": "receipt", "amount": 50000, "account": "助理微信", "order_id": "", "price_lock_id": null, "order_date": "2026-11-19", "number": "MM20261119-", "paper_number": "20261119016", "customer": "安全测试", "reference": "开单时已全额收款", "note": "", "created": "2026-11-19T02:02:51.000Z" }, { "id": "", "date": "2026-11-19", "kind": "receipt", "amount": 16200, "account": "助理支付宝", "order_id": "", "price_lock_id": "", "order_date": "2026-11-19", "number": "SJ20261118-", "paper_number": "20261119010", "customer": "对照锁价客户(改)", "reference": "", "note": "锁价备注", "created": "2026-11-19T02:01:28.000Z" } ] } }, "ownershipBusiness": { "assistant": { "member": "assistant", "name": "娜娜", "basis": "orderDate", "from": "2026-11-19", "date": "2026-11-19", "recordCount": 5, "orderCount": 5, "afterSaleCount": 0, "draftCount": 0, "sales": 687000, "netReceipts": 417000, "totalCost": 597908, "knownTotalCost": 597908, "selfCost": 342308, "knownSelfCost": 342308, "otherCost": 255600, "knownOtherCost": 255600, "profit": 89092, "knownProfit": 89092, "incomplete": false, "missingCostCount": 0, "pendingCostCount": 0, "unknownProfitCount": 0, "costByPayer": { "owner": { "member": "owner", "name": "麦麦", "totalCost": 255600, "knownTotalCost": 255600, "missingCount": 0, "pendingCount": 0 }, "assistant": { "member": "assistant", "name": "娜娜", "totalCost": 342308, "knownTotalCost": 342308, "missingCount": 0, "pendingCount": 0 }, "assistant2": { "member": "assistant2", "name": "小昊", "totalCost": 0, "knownTotalCost": 0, "missingCount": 0, "pendingCount": 0 } }, "poolMaterial": { "mg": 2000, "amount": 181898, "knownAmount": 181898, "missingCount": 0, "byPayer": { "owner": { "amount": 0, "knownAmount": 0 }, "assistant": { "amount": 181898, "knownAmount": 181898 }, "assistant2": { "amount": 0, "knownAmount": 0 } }, "hasPriceLocks": false, "days": [ { "mg": 2000, "amount": 181898, "knownAmount": 181898, "missingCount": 0, "byPayer": { "owner": { "amount": 0, "knownAmount": 0 }, "assistant": { "amount": 181898, "knownAmount": 181898 }, "assistant2": { "amount": 0, "knownAmount": 0 } }, "poolId": "2026-11-19", "date": "2026-11-19", "averageRate": 90949, "sources": [ { "kind": "public", "member": null, "priceLocked": false, "mg": 2000, "averageRate": 90949, "amount": 181898, "knownAmount": 181898, "missingCount": 0 } ] } ], "otherCosts": { "knownAmount": 416010, "amount": 416010 } }, "ownerAdvances": { "basis": "orderDate", "from": "2026-11-19", "date": "2026-11-19", "days": [ { "date": "2026-11-19", "items": [ { "date": "2026-11-19", "kind": "order", "id": "", "number": "MM20261119-", "paperNumber": "20261119010", "customer": "对照锁价客户(改)", "name": "料费成本", "source": "商品 1 · 足金999 · 原锁价采购", "component": "material", "poolId": null, "poolMaterial": false, "allocationPending": false, "amount": 255000, "estimatedAmount": null, "status": "recorded" }, { "date": "2026-11-19", "kind": "order", "id": "", "number": "MM20261119-", "paperNumber": "20261119010", "customer": "对照锁价客户(改)", "name": "实际快递", "source": "2026-11-19", "component": "fee", "poolId": null, "poolMaterial": false, "allocationPending": false, "amount": 600, "estimatedAmount": null, "status": "recorded" } ], "knownAmount": 255600, "amount": 255600, "missingCount": 0, "pendingCount": 0, "poolAmount": 0, "knownPoolAmount": 0, "otherAmount": 255600, "knownOtherAmount": 255600 } ] }, "currentAccount": { "basis": "orderDate", "from": "2026-11-19", "date": "2026-11-19", "days": [ { "date": "2026-11-19", "recordCount": 5, "knownMaterialCost": 255000, "knownOtherCost": 600, "knownProfit": 89092, "ownerNetReceipts": 0, "missingCostCount": 0, "pendingCostCount": 0, "unknownProfitCount": 0, "incomplete": false, "materialCost": 255000, "otherCost": 600, "profit": 89092, "knownAmount": 344692, "amount": 344692 } ] }, "difference": { "amount": -270000, "reconciled": false, "reasons": [ { "code": "price_lock_timing", "text": "锁价定金、尾款与退款按实际发生日核对,销售与利润按成交单日期核算。" }, { "code": "refund_or_cancellation", "text": "退货或作废已按原账冲回销售;尚未退清的客户款或不同日期的退款不作为销售利润。" } ] }, "equation": { "basis": "sales", "revenue": 687000, "totalCost": 597908, "profit": 89092, "complete": true }, "settlement": { "available": true, "basis": "cumulative-through-date", "from": "2026-11-19", "date": "2026-11-19", "dueOut": 678881, "dueIn": 0, "partial": false, "pendingCount": 0, "legacyCount": 0, "notice": "截至所选日的累计往来,已抵扣实际转账与代收;逐人核对,不将他人付款成本直接当作应转。", "counterparts": [ { "member": "owner", "name": "麦麦", "dueOut": 637681, "dueIn": 0, "openingDue": 647081, "periodNew": 600, "periodTransferred": 10000, "closingDue": 637681, "offset": 290650, "period": { "obligationNet": 600, "transferred": 10000, "receivedForNet": 0, "advancedNet": 600 } }, { "member": "assistant2", "name": "小昊", "dueOut": 41200, "dueIn": 0, "openingDue": 12000, "periodNew": 29200, "periodTransferred": 0, "closingDue": 41200, "offset": 250800, "period": { "obligationNet": 29200, "transferred": 0, "receivedForNet": 210000, "advancedNet": -180800 } } ] }, "hasActivity": true } }, "dailyProfits": { "basis": "orderDate", "from": "2026-11-19", "date": "2026-11-19", "rows": [ { "recordCount": 5, "orderCount": 5, "afterSaleCount": 0, "draftCount": 0, "sales": 687000, "knownTotalCost": 597908, "knownProfit": 89092, "unknownCostCount": 0, "unknownProfitCount": 0, "incomplete": false, "date": "2026-11-19", "member": "assistant", "name": "娜娜", "totalCost": 597908, "profit": 89092 } ], "summary": { "recordCount": 5, "orderCount": 5, "afterSaleCount": 0, "draftCount": 0, "sales": 687000, "knownTotalCost": 597908, "knownProfit": 89092, "unknownCostCount": 0, "unknownProfitCount": 0, "incomplete": false, "totalCost": 597908, "profit": 89092 } }, "dailyFunds": { "date": "2026-11-19", "from": "2026-11-19", "team": { "from": "2026-11-19", "to": "2026-11-19", "date": "2026-11-19", "members": [ { "id": "owner", "name": "麦麦" }, { "id": "assistant", "name": "娜娜" }, { "id": "assistant2", "name": "小昊" } ], "balances": [ { "member": "assistant", "receipts": 627000, "refunds": 0, "outlays": 802210, "transferIn": 0, "transferOut": 10000, "openingChange": 44600, "periodChange": -185210, "cumulativeChange": -140610, "cashBalance": -185210, "balanceType": "recorded-change", "notice": "仅三人新账已登记的资金增减,不含真实期初余额" } ], "pairs": [ { "id": "owner:assistant", "members": [ "owner", "assistant" ], "net": -637681, "obligationNet": -657681, "transferred": -20000, "receivedForNet": 288500, "advancedNet": -946181, "offset": 290650, "due": 637681, "fromMember": "assistant", "toMember": "owner", "direction": "transfer", "period": { "obligationNet": -600, "transferred": -10000, "receivedForNet": 0, "advancedNet": -600 }, "entries": [ { "id": "", "date": "2026-11-19", "kind": "advance", "project": "订单实际费用", "fromMember": "assistant", "toMember": "owner", "amount": 600, "revision": 1 } ] }, { "id": "assistant:assistant2", "members": [ "assistant", "assistant2" ], "net": 41200, "obligationNet": 41200, "transferred": 0, "receivedForNet": 292000, "advancedNet": -250800, "offset": 250800, "due": 41200, "fromMember": "assistant", "toMember": "assistant2", "direction": "transfer", "period": { "obligationNet": 29200, "transferred": 0, "receivedForNet": 210000, "advancedNet": -180800 }, "entries": [ { "id": "", "date": "2026-11-19", "kind": "receipt", "project": "客户款代收", "fromMember": "assistant", "toMember": "assistant2", "amount": 210000, "revision": 3 }, { "id": "", "date": "2026-11-19", "kind": "advance", "project": "订单实际费用", "fromMember": "assistant2", "toMember": "assistant", "amount": 800, "revision": 3 }, { "id": "", "date": "2026-11-19", "kind": "advance", "project": "商品实际垫付", "fromMember": "assistant2", "toMember": "assistant", "amount": 180000, "revision": 3 } ] } ], "entries": [ { "id": "", "date": "2026-11-19", "kind": "advance", "project": "订单实际费用", "fromMember": "assistant", "toMember": "owner", "amount": 600, "revision": 1 }, { "id": "", "date": "2026-11-19", "kind": "receipt", "project": "客户款代收", "fromMember": "assistant", "toMember": "assistant2", "amount": 210000, "revision": 3 }, { "id": "", "date": "2026-11-19", "kind": "advance", "project": "订单实际费用", "fromMember": "assistant2", "toMember": "assistant", "amount": 800, "revision": 3 }, { "id": "", "date": "2026-11-19", "kind": "advance", "project": "商品实际垫付", "fromMember": "assistant2", "toMember": "assistant", "amount": 180000, "revision": 3 } ], "transfers": [ { "id": "", "date": "2026-11-19", "fromMember": "assistant", "toMember": "owner", "amount": 10000 } ], "revision": "91d8e840360bd6750d7d9078c202052d4754bf75b4d2400dcc33adc06ef7598e", "pending": [], "legacyReadOnly": true, "cutover": "仅已启用的三人新账事件;旧结算不自动迁入", "transfersDeducted": true }, "readOnly": false, "hasRecords": true, "pendingCount": 0, "legacyReadOnly": true, "transfersNotDeducted": false, "reimbursements": [], "approvedReimbursements": 0, "ready": true, "transferAmount": null, "direction": null, "sources": { "revision": "91d8e840360bd6750d7d9078c202052d4754bf75b4d2400dcc33adc06ef7598e", "total": 0, "items": [] }, "confirmation": null, "actualOutlay": null, "missingDates": [], "staleDates": [], "days": [] }, "reportRevision": "a54c80f68416a46787b2962c3112a803e48ce0837681ccecc68f29e080a55845" } }, { "seq": 433, "label": "report-range-assistant", "date": "2026-11-19", "actor": "assistant", "method": "GET", "path": "/api/report?from=2026-11-18&date=2026-11-19&basis=orderDate", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "date": "2026-11-19", "from": "2026-11-18", "sales": 1626600, "goods": 1309443, "knownGoods": 1309443, "expense": 5481, "profit": 311676, "knownProfit": 311676, "materialCostPending": false, "pendingMaterialCount": 0, "materialPoolActivity": { "basis": "purchaseDate", "from": "2026-11-18", "date": "2026-11-19", "purchases": [ { "id": "", "pool_id": "2026-11-18", "date": "2026-11-18", "mg": 11000, "amount": 990000, "payer": "assistant", "note": "核对凭据", "actor": "助理", "created": "2026-11-18T02:01:09.000Z", "revision": 2, "deleted_at": "", "updated": "2026-11-19T02:02:27.000Z" }, { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 5000, "amount": 460000, "payer": "assistant", "note": "第二天购料", "actor": "助理", "created": "2026-11-19T02:02:19.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:19.000Z" } ], "payerOutlays": { "owner": { "payer": "owner", "material": 0, "goods": 0, "paidFees": 0, "total": 0, "purchaseCount": 0 }, "assistant": { "payer": "assistant", "material": 1450000, "goods": 1450000, "paidFees": 0, "total": 1450000, "purchaseCount": 2 }, "assistant2": { "payer": "assistant2", "material": 0, "goods": 0, "paidFees": 0, "total": 0, "purchaseCount": 0 } }, "summary": { "purchaseCount": 2, "poolCount": 2, "mg": 16000, "materialOutlay": 1450000, "purchaseValue": 1450000, "ownerOutlay": 0, "assistantOutlay": 1450000, "assistant2Outlay": 0, "totalOutlay": 1450000, "eventCount": 2 } }, "materialPoolSettlement": { "legacyReadOnly": true, "settlementDue": 0, "knownSettlementDue": 0, "pendingCount": 0, "pools": [] }, "delivered": 7, "returns": 0, "accounts": [ { "account": "助理微信", "receipt": 991900, "refund": 0, "net": 991900 }, { "account": "助理支付宝", "receipt": 136200, "refund": 0, "net": 136200 }, { "account": "助理现金", "receipt": 330000, "refund": 0, "net": 330000 }, { "account": "麦麦微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦信用卡", "receipt": 288500, "refund": 0, "net": 288500 }, { "account": "助理2微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2现金", "receipt": 0, "refund": 0, "net": 0 } ], "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 321100, "account": "助理微信", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-18T02:01:17.000Z", "number": "MM20261118-", "paper_number": "20261118001", "order_date": "2026-11-18" }, { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 288500, "account": "麦麦信用卡", "reference": "开单时已全额收款", "actor": "麦麦", "created": "2026-11-18T02:01:19.000Z", "number": "MM20261118-", "paper_number": "20261118003", "order_date": "2026-11-18" }, { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 330000, "account": "助理现金", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-18T02:01:20.000Z", "number": "MM20261118-", "paper_number": "20261118004", "order_date": "2026-11-18" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "receipt", "amount": 130800, "account": "助理微信", "reference": "置换差额实际收款 · HS202611190002", "actor": "助理", "created": "2026-11-19T02:01:33.000Z", "number": "MM20261119-", "paper_number": "20261119012", "order_date": "2026-11-19" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "receipt", "amount": 210000, "account": "助理微信", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-19T02:01:57.000Z", "number": "MM20261119-", "paper_number": "20261119014", "order_date": "2026-11-19" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "receipt", "amount": -210000, "account": "助理微信", "reference": "更正冲回:取消审批作废;当天录错", "actor": "助理", "created": "2026-11-19T02:01:59.000Z", "number": "MM20261119-", "paper_number": "20261119014", "order_date": "2026-11-19" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "receipt", "amount": 220000, "account": "助理微信", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-19T02:02:40.000Z", "number": "MM20261119-", "paper_number": "20261119015", "order_date": "2026-11-19" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "receipt", "amount": 50000, "account": "助理微信", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-19T02:02:51.000Z", "number": "MM20261119-", "paper_number": "20261119016", "order_date": "2026-11-19" }, { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 270000, "account": "助理微信", "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:53.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null }, { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 120000, "account": "助理支付宝", "number": "SJ20261118-", "customer": "对照锁价客户二", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:02:02.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null }, { "id": "", "price_lock_id": "", "date": "2026-11-19", "kind": "receipt", "amount": 16200, "account": "助理支付宝", "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-19T02:01:28.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null } ], "settlements": [], "journal": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "交付", "sales": 321100, "goods": 290200, "expense": 1200, "profit": 29700, "created": "2026-11-18T02:01:17.000Z", "number": "MM20261118-", "paper_number": "20261118001", "order_date": "2026-11-18" }, { "id": "", "order_id": "", "date": "2026-11-18", "kind": "交付", "sales": 288500, "goods": 150000, "expense": 1731, "profit": 136769, "created": "2026-11-18T02:01:19.000Z", "number": "MM20261118-", "paper_number": "20261118003", "order_date": "2026-11-18" }, { "id": "", "order_id": "", "date": "2026-11-18", "kind": "交付", "sales": 330000, "goods": 272000, "expense": 0, "profit": 58000, "created": "2026-11-18T02:01:20.000Z", "number": "MM20261118-", "paper_number": "20261118004", "order_date": "2026-11-18" }, { "id": "", "order_id": "", "date": "2026-11-18", "kind": "日购料成本调整", "sales": 0, "goods": -65, "expense": 0, "profit": 65, "created": "2026-11-19T02:02:27.000Z", "number": "MM20261118-", "paper_number": "20261118004", "order_date": "2026-11-18" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "直接费用", "sales": 0, "goods": 0, "expense": 1000, "profit": -1000, "created": "2026-11-19T02:00:37.000Z", "number": "MM20261118-", "paper_number": "20261118004", "order_date": "2026-11-18" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "交付", "sales": 286200, "goods": 267000, "expense": 600, "profit": 18600, "created": "2026-11-19T02:01:28.000Z", "number": "MM20261119-", "paper_number": "20261119010", "order_date": "2026-11-19" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "交付", "sales": 130800, "goods": 106410, "expense": 0, "profit": 24390, "created": "2026-11-19T02:01:33.000Z", "number": "MM20261119-", "paper_number": "20261119012", "order_date": "2026-11-19" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "交付", "sales": 210000, "goods": 180000, "expense": 0, "profit": 30000, "created": "2026-11-19T02:01:57.000Z", "number": "MM20261119-", "paper_number": "20261119014", "order_date": "2026-11-19" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "订单录错作废冲回", "sales": -210000, "goods": -180000, "expense": 0, "profit": -30000, "created": "2026-11-19T02:01:59.000Z", "number": "MM20261119-", "paper_number": "20261119014", "order_date": "2026-11-19" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "交付", "sales": 220000, "goods": 181898, "expense": 0, "profit": 38102, "created": "2026-11-19T02:02:40.000Z", "number": "MM20261119-", "paper_number": "20261119015", "order_date": "2026-11-19" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "交付", "sales": 50000, "goods": 42000, "expense": 0, "profit": 8000, "created": "2026-11-19T02:02:51.000Z", "number": "MM20261119-", "paper_number": "20261119016", "order_date": "2026-11-19" } ], "afterSales": [ { "id": "", "date": "2026-11-18", "project": "对照改圈", "customer": "对照售后客户", "amount": 950, "payer": "assistant", "actor": "助理", "created": "2026-11-18T02:02:03.000Z" } ], "afterSaleCount": 1, "inventory": [ { "pocket": "现货", "mg": 61950, "reserved": 0, "available": 61950 }, { "pocket": "金料", "mg": 56000, "reserved": 0, "available": 56000 }, { "pocket": "找金", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "回收旧料", "mg": 12843, "reserved": 0, "available": 12843 }, { "pocket": "君宝汇", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "臻金汇", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "金金", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "定制工厂", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "pocket_", "mg": 10000, "reserved": 0, "available": 10000 } ], "warnings": [ { "id": "", "number": "MM20261119-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261119-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261119-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261119-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261119-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261118-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261118-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261118-", "message": "麦麦直接收客户款,已扣减总待结金额;货款/利润拆分需单独复核" }, { "id": "", "number": "MM20261118-", "message": "有记录待麦麦复核" } ], "unsettled": [], "settlementDue": 0, "knownSettlementDue": 0, "customerBalance": 0, "close": null, "basis": "orderDate", "summary": { "orderCount": 8, "completedCount": 7, "draftCount": 0, "confirmedCount": 0, "returnedCount": 0, "cancelledCount": 1, "incompleteCount": 0, "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "unknownCostCount": 0, "unknownProfitCount": 0, "legacyUnallocatedCount": 2, "sale": 1626600, "material": 1107243, "laborAndFees": 15681, "unallocated": 192000, "totalCost": 1314924, "profit": 311676, "ownerCost": 693331, "assistantCost": 621593, "assistant2Cost": 0, "mg": 19850, "pieces": 1, "knownCounts": { "sale": 8, "material": 6, "laborAndFees": 6, "unallocated": 8, "totalCost": 8, "profit": 8, "ownerCost": 8, "assistantCost": 8, "assistant2Cost": 8 }, "unknownCounts": { "sale": 0, "material": 2, "laborAndFees": 2, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0 }, "partial": true, "afterSaleCount": 1, "recordCount": 9 }, "orderRows": [ { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118001", "date": "2026-11-18", "created": "2026-11-18T02:01:17.000Z", "customer": "对照客户甲(改)", "salesperson": "娜娜", "status": "delivered", "note": "客户单备注", "types": [ "货盘现货" ], "mg": 3250, "summaryMg": 3250, "pieces": 0, "originalSale": 321100, "sale": 321100, "material": 286000, "laborAndFees": 5400, "unallocated": 0, "totalCost": 291400, "profit": 29700, "ownerCost": 286000, "assistantCost": 5400, "assistant2Cost": 0, "known": { "sale": 321100, "material": 286000, "laborAndFees": 5400, "unallocated": 0, "totalCost": 291400, "profit": 29700, "ownerCost": 286000, "assistantCost": 5400, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金999", "amount": 286000, "payer": "owner", "excluded": false, "calculation": { "rate": 88000, "quantity": 3250 }, "component": "material" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 4000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 200, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "快递", "source": "2026-11-18", "amount": 1200, "payer": "assistant", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 4000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 200, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "快递", "source": "2026-11-18", "amount": 1200, "payer": "assistant", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 5, "reviewed_revision": 0 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118003", "date": "2026-11-18", "created": "2026-11-18T02:01:19.000Z", "customer": "对照客户丙", "salesperson": "麦麦", "status": "delivered", "note": "老板改备注", "types": [ "配货" ], "mg": 0, "summaryMg": 0, "pieces": 1, "originalSale": 288500, "sale": 288500, "material": null, "laborAndFees": null, "unallocated": 150000, "totalCost": 151731, "profit": 136769, "ownerCost": 151731, "assistantCost": 0, "assistant2Cost": 0, "known": { "sale": 288500, "material": 0, "laborAndFees": 1731, "unallocated": 150000, "totalCost": 151731, "profit": 136769, "ownerCost": 151731, "assistantCost": 0, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 金镶玉吊坠", "amount": 150000, "payer": "owner", "excluded": false, "calculation": null, "component": "unallocated" }, { "kind": "paid", "name": "信用卡手续费(6‰)", "source": "2026-11-18", "amount": 1731, "payer": "owner", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "paid", "name": "信用卡手续费(6‰)", "source": "2026-11-18", "amount": 1731, "payer": "owner", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 5, "reviewed_revision": 0 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118004", "date": "2026-11-18", "created": "2026-11-18T02:01:20.000Z", "materialPoolIds": [ "2026-11-18" ], "materialCostPending": false, "customer": "对照客户丁", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "配货" ], "mg": 3000, "summaryMg": 3000, "pieces": 0, "originalSale": 330000, "sale": 330000, "material": 271935, "laborAndFees": 1000, "unallocated": 0, "totalCost": 272935, "profit": 57065, "ownerCost": 0, "assistantCost": 272935, "assistant2Cost": 0, "known": { "sale": 330000, "material": 271935, "laborAndFees": 1000, "unallocated": 0, "totalCost": 272935, "profit": 57065, "ownerCost": 0, "assistantCost": 272935, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 2026-11-18日购料", "amount": 271935, "payer": "assistant", "excluded": false, "materialPoolId": "2026-11-18", "materialPoolRevision": "2823f40ff78424f5423f0dbdf991ea5fcc83b0144648e9d2399869970c27af75", "calculation": { "rate": 90645, "quantity": 3000, "weighted": true } }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "补寄快递", "source": "2026-11-19", "amount": 1000, "payer": "assistant", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "补寄快递", "source": "2026-11-19", "amount": 1000, "payer": "assistant", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 6, "reviewed_revision": 0 }, { "id": "", "kind": "afterSale", "after_sale_id": "", "number": "售后", "paper_number": "", "date": "2026-11-18", "created": "2026-11-18T02:02:03.000Z", "customer": "对照售后客户", "salesperson": "助理", "status": "after_sale", "project": "对照改圈", "note": "对照改圈", "amount": 950, "payer": "assistant", "types": [ "售后" ], "mg": 0, "summaryMg": 0, "pieces": 0, "originalSale": 0, "sale": 0, "material": 0, "laborAndFees": 950, "unallocated": 0, "totalCost": 950, "profit": -950, "ownerCost": 0, "assistantCost": 950, "known": { "sale": 0, "material": 0, "laborAndFees": 950, "unallocated": 0, "totalCost": 950, "profit": -950, "ownerCost": 0, "assistantCost": 950 }, "costItems": [ { "kind": "afterSale", "after_sale_id": "", "name": "对照改圈", "source": "售后 · 2026-11-18", "amount": 950, "payer": "assistant", "component": "fee", "calculation": null } ], "laborAndFeeItems": [ { "kind": "afterSale", "after_sale_id": "", "name": "对照改圈", "source": "售后 · 2026-11-18", "amount": 950, "payer": "assistant", "component": "fee", "calculation": null } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "独立售后支出,计入所选日期利润", "balance": 0, "revision": 2, "reviewed_revision": 2 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119010", "date": "2026-11-19", "created": "2026-11-19T02:01:28.000Z", "price_lock_id": "", "customer": "对照锁价客户(改)", "salesperson": "娜娜", "status": "delivered", "note": "锁价备注;锁价单 SJ20261118-;按原锁定金价 900.00元/克结算", "types": [ "货盘现货" ], "mg": 3100, "summaryMg": 3100, "pieces": 0, "originalSale": 286200, "sale": 286200, "material": 264000, "laborAndFees": 3600, "unallocated": 0, "totalCost": 267600, "profit": 18600, "ownerCost": 255600, "assistantCost": 12000, "assistant2Cost": 0, "known": { "sale": 286200, "material": 264000, "laborAndFees": 3600, "unallocated": 0, "totalCost": 267600, "profit": 18600, "ownerCost": 255600, "assistantCost": 12000, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 原锁价采购", "amount": 255000, "payer": "owner", "excluded": false, "priceLockSource": "original", "calculation": { "rate": 85000, "quantity": 3000 } }, { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 补重采购", "amount": 9000, "payer": "assistant", "excluded": false, "priceLockSource": "extra", "calculation": { "rate": 90000, "quantity": 100 } }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "实际快递", "source": "2026-11-19", "amount": 600, "payer": "owner", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "实际快递", "source": "2026-11-19", "amount": 600, "payer": "owner", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 3, "reviewed_revision": 0 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119012", "date": "2026-11-19", "created": "2026-11-19T02:01:33.000Z", "recovery_id": "", "recovery_mode": "exchange", "nonCashOffset": 0, "cashPaid": 0, "netSettlement": 130800, "recovery_immutable_reason": "本单关联黄金回收/置换、购料及库存,暂不支持普通订单修改、取消、退款、退货或费用变更,请保留原关联记录", "customer": "对照换货客户二", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 6000, "summaryMg": 6000, "pieces": 0, "originalSale": 130800, "sale": 130800, "material": 103410, "laborAndFees": 3000, "unallocated": 0, "totalCost": 106410, "profit": 24390, "ownerCost": 0, "assistantCost": 106410, "assistant2Cost": 0, "known": { "sale": 130800, "material": 103410, "laborAndFees": 3000, "unallocated": 0, "totalCost": 106410, "profit": 24390, "ownerCost": 0, "assistantCost": 106410, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金对照新货", "amount": 103410, "payer": "assistant", "excluded": false, "calculation": { "rate": 90000, "quantity": 1149 }, "component": "material" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": { "rate": 500, "quantity": 6000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": { "rate": 500, "quantity": 6000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 4, "reviewed_revision": 0 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119014", "date": "2026-11-19", "created": "2026-11-19T02:01:57.000Z", "cancellationApproved": { "id": "", "status": "approved", "order_revision": 4, "reason": "当天录错", "requester_name": "助理", "created": "2026-11-19T02:01:59.000Z", "reviewer_name": null, "reviewed": null, "note": "", "direct": true, "operator_name": "助理", "executedAt": "2026-11-19T02:01:59.000Z" }, "customer": "当天取消客户", "salesperson": "娜娜", "status": "cancelled", "note": "", "types": [ "货盘现货" ], "mg": 2000, "summaryMg": 2000, "pieces": 0, "originalSale": 210000, "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0, "known": { "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0 }, "costItems": [], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "录错作废已获麦麦批准,本单销售、成本与收款记账已撤销,原单和审批记录保留", "balance": 0, "revision": 5, "reviewed_revision": 0 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119015", "date": "2026-11-19", "created": "2026-11-19T02:02:40.000Z", "materialPoolIds": [ "2026-11-19" ], "materialCostPending": false, "customer": "滚动料池客户", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "配货" ], "mg": 2000, "summaryMg": 2000, "pieces": 0, "originalSale": 220000, "sale": 220000, "material": 181898, "laborAndFees": 0, "unallocated": 0, "totalCost": 181898, "profit": 38102, "ownerCost": 0, "assistantCost": 181898, "assistant2Cost": 0, "known": { "sale": 220000, "material": 181898, "laborAndFees": 0, "unallocated": 0, "totalCost": 181898, "profit": 38102, "ownerCost": 0, "assistantCost": 181898, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 2026-11-19日购料", "amount": 181898, "payer": "assistant", "excluded": false, "materialPoolId": "2026-11-19", "materialPoolRevision": "2e1d58e4d359165036a53976f4ed30c7052bb21df8bd2eb46c6544546a2e818b", "calculation": { "rate": 90949, "quantity": 2000, "weighted": true } }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 4, "reviewed_revision": 0 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119016", "date": "2026-11-19", "created": "2026-11-19T02:02:51.000Z", "customer": "安全测试", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 500, "summaryMg": 500, "pieces": 0, "originalSale": 50000, "sale": 50000, "material": null, "laborAndFees": null, "unallocated": 42000, "totalCost": 42000, "profit": 8000, "ownerCost": 0, "assistantCost": 42000, "assistant2Cost": 0, "known": { "sale": 50000, "material": 0, "laborAndFees": 0, "unallocated": 42000, "totalCost": 42000, "profit": 8000, "ownerCost": 0, "assistantCost": 42000, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金转运珠", "amount": 42000, "payer": "assistant", "excluded": false, "calculation": null, "component": "unallocated" } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 4, "reviewed_revision": 0 } ], "payerCosts": { "assistant": { "payer": "assistant", "name": "娜娜", "goods": 1614610, "paidFees": 3150, "total": 1617760, "missingCount": 0, "pendingCount": 0, "items": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 4000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor", "order_id": "", "number": "MM20261118-", "paper_number": "20261118001", "date": "2026-11-18", "customer": "对照客户甲(改)", "status": "recorded" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 200, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories", "order_id": "", "number": "MM20261118-", "paper_number": "20261118001", "date": "2026-11-18", "customer": "对照客户甲(改)", "status": "recorded" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other", "order_id": "", "number": "MM20261118-", "paper_number": "20261118001", "date": "2026-11-18", "customer": "对照客户甲(改)", "status": "recorded" }, { "kind": "paid", "name": "快递", "source": "整单费用 · 实付 2026-11-18", "amount": 1200, "payer": "assistant", "component": "fee", "order_id": "", "number": "MM20261118-", "paper_number": "20261118001", "date": "2026-11-18", "customer": "对照客户甲(改)", "status": "recorded", "calculation": null, "paidDate": "2026-11-18" }, { "kind": "paid", "name": "补寄快递", "source": "整单费用 · 实付 2026-11-19", "amount": 1000, "payer": "assistant", "component": "fee", "order_id": "", "number": "MM20261118-", "paper_number": "20261118004", "date": "2026-11-18", "customer": "对照客户丁", "status": "recorded", "calculation": null, "paidDate": "2026-11-19" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor", "order_id": "", "number": "MM20261118-", "paper_number": "20261118004", "date": "2026-11-18", "customer": "对照客户丁", "status": "recorded" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories", "order_id": "", "number": "MM20261118-", "paper_number": "20261118004", "date": "2026-11-18", "customer": "对照客户丁", "status": "recorded" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other", "order_id": "", "number": "MM20261118-", "paper_number": "20261118004", "date": "2026-11-18", "customer": "对照客户丁", "status": "recorded" }, { "kind": "afterSale", "after_sale_id": "", "name": "对照改圈", "source": "售后 · 2026-11-18", "amount": 950, "payer": "assistant", "component": "fee", "calculation": null, "project": "对照改圈", "number": "售后", "paper_number": "", "date": "2026-11-18", "customer": "对照售后客户", "status": "recorded" }, { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金对照新货", "amount": 103410, "payer": "assistant", "excluded": false, "calculation": { "rate": 90000, "quantity": 1149 }, "component": "material", "order_id": "", "number": "MM20261119-", "paper_number": "20261119012", "date": "2026-11-19", "customer": "对照换货客户二", "status": "recorded" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": { "rate": 500, "quantity": 6000 }, "component": "labor", "order_id": "", "number": "MM20261119-", "paper_number": "20261119012", "date": "2026-11-19", "customer": "对照换货客户二", "status": "recorded" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories", "order_id": "", "number": "MM20261119-", "paper_number": "20261119012", "date": "2026-11-19", "customer": "对照换货客户二", "status": "recorded" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other", "order_id": "", "number": "MM20261119-", "paper_number": "20261119012", "date": "2026-11-19", "customer": "对照换货客户二", "status": "recorded" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor", "order_id": "", "number": "MM20261119-", "paper_number": "20261119015", "date": "2026-11-19", "customer": "滚动料池客户", "status": "recorded" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories", "order_id": "", "number": "MM20261119-", "paper_number": "20261119015", "date": "2026-11-19", "customer": "滚动料池客户", "status": "recorded" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other", "order_id": "", "number": "MM20261119-", "paper_number": "20261119015", "date": "2026-11-19", "customer": "滚动料池客户", "status": "recorded" }, { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金转运珠", "amount": 42000, "payer": "assistant", "excluded": false, "calculation": null, "component": "unallocated", "order_id": "", "number": "MM20261119-", "paper_number": "20261119016", "date": "2026-11-19", "customer": "安全测试", "status": "recorded" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": null, "id": "price-lock-goods::0", "price_lock_id": "", "order_id": "", "number": "MM20261119-", "paper_number": "20261119010", "customer": "对照锁价客户(改)", "date": "2026-11-19", "component": "labor", "status": "recorded", "actualOutlay": true }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "id": "price-lock-goods::1", "price_lock_id": "", "order_id": "", "number": "MM20261119-", "paper_number": "20261119010", "customer": "对照锁价客户(改)", "date": "2026-11-19", "component": "accessories", "status": "recorded", "actualOutlay": true }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "id": "price-lock-goods::2", "price_lock_id": "", "order_id": "", "number": "MM20261119-", "paper_number": "20261119010", "customer": "对照锁价客户(改)", "date": "2026-11-19", "component": "other", "status": "recorded", "actualOutlay": true }, { "id": "", "price_lock_id": "", "date": "2026-11-19", "kind": "goods", "amount": 9000, "payer": "assistant", "source": "锁价采购 · 实付 2026-11-19", "quantity": 100, "rate": 90000, "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-19T02:01:28.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "component": "material", "name": "补购料费", "materialSource": "extra", "paidDate": "2026-11-19", "calculation": { "rate": 90000, "quantity": 100 }, "status": "recorded", "actualOutlay": true }, { "id": "", "pool_id": "2026-11-18", "date": "2026-11-18", "mg": 11000, "amount": 990000, "payer": "assistant", "note": "核对凭据", "actor": "助理", "created": "2026-11-18T02:01:09.000Z", "revision": 2, "deleted_at": "", "updated": "2026-11-19T02:02:27.000Z", "purchaseAmount": 990000, "kind": "goods", "component": "material", "materialPoolId": "2026-11-18", "name": "日料池采购", "source": "日料池 2026-11-18 · 实付 2026-11-18", "paidDate": "2026-11-18", "quantity": 11000, "calculation": null, "status": "recorded", "actualOutlay": true }, { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 5000, "amount": 460000, "payer": "assistant", "note": "第二天购料", "actor": "助理", "created": "2026-11-19T02:02:19.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:19.000Z", "purchaseAmount": 460000, "kind": "goods", "component": "material", "materialPoolId": "2026-11-19", "name": "日料池采购", "source": "日料池 2026-11-19 · 实付 2026-11-19", "paidDate": "2026-11-19", "quantity": 5000, "calculation": null, "status": "recorded", "actualOutlay": true } ] }, "owner": { "payer": "owner", "name": "麦麦", "goods": 946000, "paidFees": 2331, "total": 948331, "missingCount": 0, "pendingCount": 0, "items": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金999", "amount": 286000, "payer": "owner", "excluded": false, "calculation": { "rate": 88000, "quantity": 3250 }, "component": "material", "order_id": "", "number": "MM20261118-", "paper_number": "20261118001", "date": "2026-11-18", "customer": "对照客户甲(改)", "status": "recorded" }, { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 金镶玉吊坠", "amount": 150000, "payer": "owner", "excluded": false, "calculation": null, "component": "unallocated", "order_id": "", "number": "MM20261118-", "paper_number": "20261118003", "date": "2026-11-18", "customer": "对照客户丙", "status": "recorded" }, { "kind": "paid", "name": "信用卡手续费(6‰)", "source": "整单费用 · 实付 2026-11-18", "amount": 1731, "payer": "owner", "component": "fee", "order_id": "", "number": "MM20261118-", "paper_number": "20261118003", "date": "2026-11-18", "customer": "对照客户丙", "status": "recorded", "calculation": null, "paidDate": "2026-11-18" }, { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "goods", "amount": 255000, "payer": "owner", "source": "锁价采购 · 实付 2026-11-18", "quantity": 3000, "rate": 85000, "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:53.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "component": "material", "name": "锁价料费", "materialSource": "original", "paidDate": "2026-11-18", "calculation": { "rate": 85000, "quantity": 3000 }, "status": "recorded", "actualOutlay": true }, { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "goods", "amount": 255000, "payer": "owner", "source": "锁价采购 · 实付 2026-11-18", "quantity": 3000, "rate": 85000, "number": "SJ20261118-", "customer": "对照锁价客户二", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:54.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "component": "material", "name": "锁价料费", "materialSource": "original", "paidDate": "2026-11-18", "calculation": { "rate": 85000, "quantity": 3000 }, "status": "recorded", "actualOutlay": true }, { "id": "", "order_id": "", "date": "2026-11-19", "amount": 600, "payer": "owner", "note": "实际快递", "actor": "助理", "created": "2026-11-19T02:01:28.000Z", "price_lock_id": "", "number": "SJ20261118-", "customer": "对照锁价客户(改)", "kind": "paid", "component": "fee", "product": "足金999", "name": "实际快递", "source": "锁价费用 · 实付 2026-11-19", "paidDate": "2026-11-19", "status": "recorded", "calculation": null, "actualOutlay": true } ] }, "assistant2": { "payer": "assistant2", "name": "小昊", "goods": 0, "paidFees": 0, "total": 0, "missingCount": 0, "pendingCount": 0, "items": [] } }, "orderPayerCosts": { "assistant": { "payer": "assistant", "name": "娜娜", "goods": 618443, "paidFees": 3150, "total": 621593, "missingCount": 0, "pendingCount": 0, "items": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 4000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor", "order_id": "", "number": "MM20261118-", "paper_number": "20261118001", "date": "2026-11-18", "customer": "对照客户甲(改)", "status": "recorded" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 200, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories", "order_id": "", "number": "MM20261118-", "paper_number": "20261118001", "date": "2026-11-18", "customer": "对照客户甲(改)", "status": "recorded" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other", "order_id": "", "number": "MM20261118-", "paper_number": "20261118001", "date": "2026-11-18", "customer": "对照客户甲(改)", "status": "recorded" }, { "kind": "paid", "name": "快递", "source": "整单费用 · 实付 2026-11-18", "amount": 1200, "payer": "assistant", "component": "fee", "order_id": "", "number": "MM20261118-", "paper_number": "20261118001", "date": "2026-11-18", "customer": "对照客户甲(改)", "status": "recorded", "calculation": null, "paidDate": "2026-11-18" }, { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 2026-11-18日购料", "amount": 271935, "payer": "assistant", "excluded": false, "materialPoolId": "2026-11-18", "materialPoolRevision": "2823f40ff78424f5423f0dbdf991ea5fcc83b0144648e9d2399869970c27af75", "calculation": { "rate": 90645, "quantity": 3000, "weighted": true }, "order_id": "", "number": "MM20261118-", "paper_number": "20261118004", "date": "2026-11-18", "customer": "对照客户丁", "status": "recorded" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor", "order_id": "", "number": "MM20261118-", "paper_number": "20261118004", "date": "2026-11-18", "customer": "对照客户丁", "status": "recorded" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories", "order_id": "", "number": "MM20261118-", "paper_number": "20261118004", "date": "2026-11-18", "customer": "对照客户丁", "status": "recorded" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other", "order_id": "", "number": "MM20261118-", "paper_number": "20261118004", "date": "2026-11-18", "customer": "对照客户丁", "status": "recorded" }, { "kind": "paid", "name": "补寄快递", "source": "整单费用 · 实付 2026-11-19", "amount": 1000, "payer": "assistant", "component": "fee", "order_id": "", "number": "MM20261118-", "paper_number": "20261118004", "date": "2026-11-18", "customer": "对照客户丁", "status": "recorded", "calculation": null, "paidDate": "2026-11-19" }, { "kind": "afterSale", "after_sale_id": "", "name": "对照改圈", "source": "售后 · 2026-11-18", "amount": 950, "payer": "assistant", "component": "fee", "calculation": null, "project": "对照改圈", "number": "售后", "paper_number": "", "date": "2026-11-18", "customer": "对照售后客户", "status": "recorded" }, { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 补重采购", "amount": 9000, "payer": "assistant", "excluded": false, "priceLockSource": "extra", "calculation": { "rate": 90000, "quantity": 100 }, "order_id": "", "number": "MM20261119-", "paper_number": "20261119010", "date": "2026-11-19", "customer": "对照锁价客户(改)", "status": "recorded" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor", "order_id": "", "number": "MM20261119-", "paper_number": "20261119010", "date": "2026-11-19", "customer": "对照锁价客户(改)", "status": "recorded" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories", "order_id": "", "number": "MM20261119-", "paper_number": "20261119010", "date": "2026-11-19", "customer": "对照锁价客户(改)", "status": "recorded" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other", "order_id": "", "number": "MM20261119-", "paper_number": "20261119010", "date": "2026-11-19", "customer": "对照锁价客户(改)", "status": "recorded" }, { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金对照新货", "amount": 103410, "payer": "assistant", "excluded": false, "calculation": { "rate": 90000, "quantity": 1149 }, "component": "material", "order_id": "", "number": "MM20261119-", "paper_number": "20261119012", "date": "2026-11-19", "customer": "对照换货客户二", "status": "recorded" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": { "rate": 500, "quantity": 6000 }, "component": "labor", "order_id": "", "number": "MM20261119-", "paper_number": "20261119012", "date": "2026-11-19", "customer": "对照换货客户二", "status": "recorded" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories", "order_id": "", "number": "MM20261119-", "paper_number": "20261119012", "date": "2026-11-19", "customer": "对照换货客户二", "status": "recorded" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other", "order_id": "", "number": "MM20261119-", "paper_number": "20261119012", "date": "2026-11-19", "customer": "对照换货客户二", "status": "recorded" }, { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 2026-11-19日购料", "amount": 181898, "payer": "assistant", "excluded": false, "materialPoolId": "2026-11-19", "materialPoolRevision": "2e1d58e4d359165036a53976f4ed30c7052bb21df8bd2eb46c6544546a2e818b", "calculation": { "rate": 90949, "quantity": 2000, "weighted": true }, "order_id": "", "number": "MM20261119-", "paper_number": "20261119015", "date": "2026-11-19", "customer": "滚动料池客户", "status": "recorded" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor", "order_id": "", "number": "MM20261119-", "paper_number": "20261119015", "date": "2026-11-19", "customer": "滚动料池客户", "status": "recorded" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories", "order_id": "", "number": "MM20261119-", "paper_number": "20261119015", "date": "2026-11-19", "customer": "滚动料池客户", "status": "recorded" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other", "order_id": "", "number": "MM20261119-", "paper_number": "20261119015", "date": "2026-11-19", "customer": "滚动料池客户", "status": "recorded" }, { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金转运珠", "amount": 42000, "payer": "assistant", "excluded": false, "calculation": null, "component": "unallocated", "order_id": "", "number": "MM20261119-", "paper_number": "20261119016", "date": "2026-11-19", "customer": "安全测试", "status": "recorded" } ] }, "owner": { "payer": "owner", "name": "麦麦", "goods": 691000, "paidFees": 2331, "total": 693331, "missingCount": 0, "pendingCount": 0, "items": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金999", "amount": 286000, "payer": "owner", "excluded": false, "calculation": { "rate": 88000, "quantity": 3250 }, "component": "material", "order_id": "", "number": "MM20261118-", "paper_number": "20261118001", "date": "2026-11-18", "customer": "对照客户甲(改)", "status": "recorded" }, { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 金镶玉吊坠", "amount": 150000, "payer": "owner", "excluded": false, "calculation": null, "component": "unallocated", "order_id": "", "number": "MM20261118-", "paper_number": "20261118003", "date": "2026-11-18", "customer": "对照客户丙", "status": "recorded" }, { "kind": "paid", "name": "信用卡手续费(6‰)", "source": "整单费用 · 实付 2026-11-18", "amount": 1731, "payer": "owner", "component": "fee", "order_id": "", "number": "MM20261118-", "paper_number": "20261118003", "date": "2026-11-18", "customer": "对照客户丙", "status": "recorded", "calculation": null, "paidDate": "2026-11-18" }, { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 原锁价采购", "amount": 255000, "payer": "owner", "excluded": false, "priceLockSource": "original", "calculation": { "rate": 85000, "quantity": 3000 }, "order_id": "", "number": "MM20261119-", "paper_number": "20261119010", "date": "2026-11-19", "customer": "对照锁价客户(改)", "status": "recorded" }, { "kind": "paid", "name": "实际快递", "source": "整单费用 · 实付 2026-11-19", "amount": 600, "payer": "owner", "component": "fee", "order_id": "", "number": "MM20261119-", "paper_number": "20261119010", "date": "2026-11-19", "customer": "对照锁价客户(改)", "status": "recorded", "calculation": null, "paidDate": "2026-11-19" } ] }, "assistant2": { "payer": "assistant2", "name": "小昊", "goods": 0, "paidFees": 0, "total": 0, "missingCount": 0, "pendingCount": 0, "items": [] } }, "peopleCount": null, "priceLockActivity": { "basis": "eventDate", "from": "2026-11-18", "date": "2026-11-19", "customerCash": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 270000, "account": "助理微信", "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:53.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null }, { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 120000, "account": "助理支付宝", "number": "SJ20261118-", "customer": "对照锁价客户二", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:02:02.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null }, { "id": "", "price_lock_id": "", "date": "2026-11-19", "kind": "receipt", "amount": 16200, "account": "助理支付宝", "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-19T02:01:28.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null } ], "orderPayments": [], "materialOutlays": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "material", "amount": 255000, "payer": "owner", "source": "original", "quantity": 3000, "rate": 85000, "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:53.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "component": "material" }, { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "material", "amount": 255000, "payer": "owner", "source": "original", "quantity": 3000, "rate": 85000, "number": "SJ20261118-", "customer": "对照锁价客户二", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:54.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "component": "material" }, { "id": "", "price_lock_id": "", "date": "2026-11-19", "kind": "material", "amount": 9000, "payer": "assistant", "source": "extra", "quantity": 100, "rate": 90000, "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-19T02:01:28.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "component": "material" } ], "directOutlays": [ { "id": "", "order_id": "", "date": "2026-11-19", "amount": 600, "payer": "owner", "note": "实际快递", "actor": "助理", "created": "2026-11-19T02:01:28.000Z", "price_lock_id": "", "number": "SJ20261118-", "customer": "对照锁价客户(改)", "kind": "fee", "component": "fee", "product": "足金999" } ], "deliveryGoodsOutlays": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": null, "id": "price-lock-goods::0", "price_lock_id": "", "order_id": "", "number": "MM20261119-", "paper_number": "20261119010", "customer": "对照锁价客户(改)", "date": "2026-11-19", "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "id": "price-lock-goods::1", "price_lock_id": "", "order_id": "", "number": "MM20261119-", "paper_number": "20261119010", "customer": "对照锁价客户(改)", "date": "2026-11-19", "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "id": "price-lock-goods::2", "price_lock_id": "", "order_id": "", "number": "MM20261119-", "paper_number": "20261119010", "customer": "对照锁价客户(改)", "date": "2026-11-19", "component": "other" } ], "receipts": { "receipt": 406200, "refund": 0, "net": 406200, "channels": [ { "channel": "wechat", "name": "微信", "receipt": 270000, "refund": 0, "net": 270000 }, { "channel": "alipay", "name": "支付宝", "receipt": 136200, "refund": 0, "net": 136200 }, { "channel": "cash", "name": "现金", "receipt": 0, "refund": 0, "net": 0 } ], "accounts": [ { "account": "助理微信", "receipt": 270000, "refund": 0, "net": 270000 }, { "account": "助理支付宝", "receipt": 136200, "refund": 0, "net": 136200 }, { "account": "助理现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2现金", "receipt": 0, "refund": 0, "net": 0 } ], "paymentCount": 3, "orderCount": 2 }, "payerOutlays": { "owner": { "payer": "owner", "material": 510000, "goods": 510000, "paidFees": 600, "total": 510600 }, "assistant": { "payer": "assistant", "material": 9000, "goods": 12000, "paidFees": 0, "total": 12000 }, "assistant2": { "payer": "assistant2", "material": 0, "goods": 0, "paidFees": 0, "total": 0 } }, "summary": { "receipt": 406200, "refund": 0, "net": 406200, "materialOutlay": 519000, "goodsOutlay": 522000, "feeOutlay": 600, "ownerOutlay": 510600, "assistantOutlay": 12000, "assistant2Outlay": 0, "totalOutlay": 522600, "eventCount": 10, "lockCount": 2 } }, "outlayGoods": 2560610, "outlayExpense": 5481, "outlayTotal": 2566091, "receiptsByOrderDate": { "basis": "orderDate", "filterScope": "matchingOrders", "from": "2026-11-18", "date": "2026-11-19", "receipt": 1746600, "refund": 0, "net": 1746600, "channels": [ { "channel": "wechat", "name": "微信", "receipt": 991900, "refund": 0, "net": 991900 }, { "channel": "alipay", "name": "支付宝", "receipt": 136200, "refund": 0, "net": 136200 }, { "channel": "cash", "name": "现金", "receipt": 330000, "refund": 0, "net": 330000 }, { "channel": "credit_card", "name": "信用卡", "receipt": 288500, "refund": 0, "net": 288500 } ], "accounts": [ { "account": "助理微信", "receipt": 991900, "refund": 0, "net": 991900 }, { "account": "助理支付宝", "receipt": 136200, "refund": 0, "net": 136200 }, { "account": "助理现金", "receipt": 330000, "refund": 0, "net": 330000 }, { "account": "麦麦微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦信用卡", "receipt": 288500, "refund": 0, "net": 288500 }, { "account": "助理2微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2现金", "receipt": 0, "refund": 0, "net": 0 } ], "paymentCount": 11, "orderCount": 9 }, "totalCost": 1314924, "recipientReceipts": { "assistant": { "recipient": "assistant", "name": "娜娜", "receipt": 1458100, "refund": 0, "net": 1458100, "items": [ { "id": "", "date": "2026-11-18", "kind": "receipt", "amount": 321100, "account": "助理微信", "order_id": "", "price_lock_id": null, "order_date": "2026-11-18", "number": "MM20261118-", "paper_number": "20261118001", "customer": "对照客户甲(改)", "reference": "开单时已全额收款", "note": "客户单备注", "created": "2026-11-18T02:01:17.000Z" }, { "id": "", "date": "2026-11-18", "kind": "receipt", "amount": 330000, "account": "助理现金", "order_id": "", "price_lock_id": null, "order_date": "2026-11-18", "number": "MM20261118-", "paper_number": "20261118004", "customer": "对照客户丁", "reference": "开单时已全额收款", "note": "", "created": "2026-11-18T02:01:20.000Z" }, { "id": "", "date": "2026-11-19", "kind": "receipt", "amount": 130800, "account": "助理微信", "order_id": "", "price_lock_id": null, "order_date": "2026-11-19", "number": "MM20261119-", "paper_number": "20261119012", "customer": "对照换货客户二", "reference": "置换差额实际收款 · HS202611190002", "note": "", "created": "2026-11-19T02:01:33.000Z" }, { "id": "", "date": "2026-11-19", "kind": "receipt", "amount": 210000, "account": "助理微信", "order_id": "", "price_lock_id": null, "order_date": "2026-11-19", "number": "MM20261119-", "paper_number": "20261119014", "customer": "当天取消客户", "reference": "开单时已全额收款", "note": "", "created": "2026-11-19T02:01:57.000Z" }, { "id": "", "date": "2026-11-19", "kind": "receipt", "amount": -210000, "account": "助理微信", "order_id": "", "price_lock_id": null, "order_date": "2026-11-19", "number": "MM20261119-", "paper_number": "20261119014", "customer": "当天取消客户", "reference": "更正冲回:取消审批作废;当天录错", "note": "", "created": "2026-11-19T02:01:59.000Z" }, { "id": "", "date": "2026-11-19", "kind": "receipt", "amount": 220000, "account": "助理微信", "order_id": "", "price_lock_id": null, "order_date": "2026-11-19", "number": "MM20261119-", "paper_number": "20261119015", "customer": "滚动料池客户", "reference": "开单时已全额收款", "note": "", "created": "2026-11-19T02:02:40.000Z" }, { "id": "", "date": "2026-11-19", "kind": "receipt", "amount": 50000, "account": "助理微信", "order_id": "", "price_lock_id": null, "order_date": "2026-11-19", "number": "MM20261119-", "paper_number": "20261119016", "customer": "安全测试", "reference": "开单时已全额收款", "note": "", "created": "2026-11-19T02:02:51.000Z" }, { "id": "", "date": "2026-11-18", "kind": "receipt", "amount": 270000, "account": "助理微信", "order_id": "", "price_lock_id": "", "order_date": "2026-11-19", "number": "SJ20261118-", "paper_number": "20261119010", "customer": "对照锁价客户(改)", "reference": "", "note": "锁价备注", "created": "2026-11-18T02:01:53.000Z" }, { "id": "", "date": "2026-11-18", "kind": "receipt", "amount": 120000, "account": "助理支付宝", "order_id": null, "price_lock_id": "", "order_date": null, "number": "SJ20261118-", "paper_number": null, "customer": "对照锁价客户二", "reference": "", "note": "锁价备注", "created": "2026-11-18T02:02:02.000Z" }, { "id": "", "date": "2026-11-19", "kind": "receipt", "amount": 16200, "account": "助理支付宝", "order_id": "", "price_lock_id": "", "order_date": "2026-11-19", "number": "SJ20261118-", "paper_number": "20261119010", "customer": "对照锁价客户(改)", "reference": "", "note": "锁价备注", "created": "2026-11-19T02:01:28.000Z" } ] }, "owner": { "recipient": "owner", "name": "麦麦", "receipt": 288500, "refund": 0, "net": 288500, "items": [ { "id": "", "date": "2026-11-18", "kind": "receipt", "amount": 288500, "account": "麦麦信用卡", "order_id": "", "price_lock_id": null, "order_date": "2026-11-18", "number": "MM20261118-", "paper_number": "20261118003", "customer": "对照客户丙", "reference": "开单时已全额收款", "note": "老板改备注", "created": "2026-11-18T02:01:19.000Z" } ] }, "assistant2": { "recipient": "assistant2", "name": "小昊", "receipt": 0, "refund": 0, "net": 0, "items": [] } }, "ownershipReceipts": { "assistant": { "member": "assistant", "name": "娜娜", "receipt": 1746600, "refund": 0, "net": 1746600, "accounts": [ { "account": "助理微信", "recipient": "assistant", "channel": "wechat", "receipt": 991900, "refund": 0, "net": 991900, "entryCount": 7 }, { "account": "助理现金", "recipient": "assistant", "channel": "cash", "receipt": 330000, "refund": 0, "net": 330000, "entryCount": 1 }, { "account": "助理支付宝", "recipient": "assistant", "channel": "alipay", "receipt": 136200, "refund": 0, "net": 136200, "entryCount": 2 }, { "account": "麦麦信用卡", "recipient": "owner", "channel": "credit_card", "receipt": 288500, "refund": 0, "net": 288500, "entryCount": 1 } ], "items": [ { "id": "", "date": "2026-11-18", "kind": "receipt", "amount": 321100, "account": "助理微信", "order_id": "", "price_lock_id": null, "order_date": "2026-11-18", "number": "MM20261118-", "paper_number": "20261118001", "customer": "对照客户甲(改)", "reference": "开单时已全额收款", "note": "客户单备注", "created": "2026-11-18T02:01:17.000Z" }, { "id": "", "date": "2026-11-18", "kind": "receipt", "amount": 330000, "account": "助理现金", "order_id": "", "price_lock_id": null, "order_date": "2026-11-18", "number": "MM20261118-", "paper_number": "20261118004", "customer": "对照客户丁", "reference": "开单时已全额收款", "note": "", "created": "2026-11-18T02:01:20.000Z" }, { "id": "", "date": "2026-11-19", "kind": "receipt", "amount": 130800, "account": "助理微信", "order_id": "", "price_lock_id": null, "order_date": "2026-11-19", "number": "MM20261119-", "paper_number": "20261119012", "customer": "对照换货客户二", "reference": "置换差额实际收款 · HS202611190002", "note": "", "created": "2026-11-19T02:01:33.000Z" }, { "id": "", "date": "2026-11-19", "kind": "receipt", "amount": 210000, "account": "助理微信", "order_id": "", "price_lock_id": null, "order_date": "2026-11-19", "number": "MM20261119-", "paper_number": "20261119014", "customer": "当天取消客户", "reference": "开单时已全额收款", "note": "", "created": "2026-11-19T02:01:57.000Z" }, { "id": "", "date": "2026-11-19", "kind": "receipt", "amount": -210000, "account": "助理微信", "order_id": "", "price_lock_id": null, "order_date": "2026-11-19", "number": "MM20261119-", "paper_number": "20261119014", "customer": "当天取消客户", "reference": "更正冲回:取消审批作废;当天录错", "note": "", "created": "2026-11-19T02:01:59.000Z" }, { "id": "", "date": "2026-11-19", "kind": "receipt", "amount": 220000, "account": "助理微信", "order_id": "", "price_lock_id": null, "order_date": "2026-11-19", "number": "MM20261119-", "paper_number": "20261119015", "customer": "滚动料池客户", "reference": "开单时已全额收款", "note": "", "created": "2026-11-19T02:02:40.000Z" }, { "id": "", "date": "2026-11-19", "kind": "receipt", "amount": 50000, "account": "助理微信", "order_id": "", "price_lock_id": null, "order_date": "2026-11-19", "number": "MM20261119-", "paper_number": "20261119016", "customer": "安全测试", "reference": "开单时已全额收款", "note": "", "created": "2026-11-19T02:02:51.000Z" }, { "id": "", "date": "2026-11-18", "kind": "receipt", "amount": 270000, "account": "助理微信", "order_id": "", "price_lock_id": "", "order_date": "2026-11-19", "number": "SJ20261118-", "paper_number": "20261119010", "customer": "对照锁价客户(改)", "reference": "", "note": "锁价备注", "created": "2026-11-18T02:01:53.000Z" }, { "id": "", "date": "2026-11-18", "kind": "receipt", "amount": 120000, "account": "助理支付宝", "order_id": null, "price_lock_id": "", "order_date": null, "number": "SJ20261118-", "paper_number": null, "customer": "对照锁价客户二", "reference": "", "note": "锁价备注", "created": "2026-11-18T02:02:02.000Z" }, { "id": "", "date": "2026-11-19", "kind": "receipt", "amount": 16200, "account": "助理支付宝", "order_id": "", "price_lock_id": "", "order_date": "2026-11-19", "number": "SJ20261118-", "paper_number": "20261119010", "customer": "对照锁价客户(改)", "reference": "", "note": "锁价备注", "created": "2026-11-19T02:01:28.000Z" }, { "id": "", "date": "2026-11-18", "kind": "receipt", "amount": 288500, "account": "麦麦信用卡", "order_id": "", "price_lock_id": null, "order_date": "2026-11-18", "number": "MM20261118-", "paper_number": "20261118003", "customer": "对照客户丙", "reference": "开单时已全额收款", "note": "老板改备注", "created": "2026-11-18T02:01:19.000Z" } ] } }, "ownershipBusiness": { "assistant": { "member": "assistant", "name": "娜娜", "basis": "orderDate", "from": "2026-11-18", "date": "2026-11-19", "recordCount": 9, "orderCount": 8, "afterSaleCount": 1, "draftCount": 0, "sales": 1626600, "netReceipts": 1746600, "totalCost": 1314924, "knownTotalCost": 1314924, "selfCost": 621593, "knownSelfCost": 621593, "otherCost": 693331, "knownOtherCost": 693331, "profit": 311676, "knownProfit": 311676, "incomplete": false, "missingCostCount": 0, "pendingCostCount": 0, "unknownProfitCount": 0, "costByPayer": { "owner": { "member": "owner", "name": "麦麦", "totalCost": 693331, "knownTotalCost": 693331, "missingCount": 0, "pendingCount": 0 }, "assistant": { "member": "assistant", "name": "娜娜", "totalCost": 621593, "knownTotalCost": 621593, "missingCount": 0, "pendingCount": 0 }, "assistant2": { "member": "assistant2", "name": "小昊", "totalCost": 0, "knownTotalCost": 0, "missingCount": 0, "pendingCount": 0 } }, "poolMaterial": { "mg": 5000, "amount": 453833, "knownAmount": 453833, "missingCount": 0, "byPayer": { "owner": { "amount": 0, "knownAmount": 0 }, "assistant": { "amount": 453833, "knownAmount": 453833 }, "assistant2": { "amount": 0, "knownAmount": 0 } }, "hasPriceLocks": false, "days": [ { "mg": 3000, "amount": 271935, "knownAmount": 271935, "missingCount": 0, "byPayer": { "owner": { "amount": 0, "knownAmount": 0 }, "assistant": { "amount": 271935, "knownAmount": 271935 }, "assistant2": { "amount": 0, "knownAmount": 0 } }, "poolId": "2026-11-18", "date": "2026-11-18", "averageRate": 90645, "sources": [ { "kind": "public", "member": null, "priceLocked": false, "mg": 3000, "averageRate": 90645, "amount": 271935, "knownAmount": 271935, "missingCount": 0 } ] }, { "mg": 2000, "amount": 181898, "knownAmount": 181898, "missingCount": 0, "byPayer": { "owner": { "amount": 0, "knownAmount": 0 }, "assistant": { "amount": 181898, "knownAmount": 181898 }, "assistant2": { "amount": 0, "knownAmount": 0 } }, "poolId": "2026-11-19", "date": "2026-11-19", "averageRate": 90949, "sources": [ { "kind": "public", "member": null, "priceLocked": false, "mg": 2000, "averageRate": 90949, "amount": 181898, "knownAmount": 181898, "missingCount": 0 } ] } ], "otherCosts": { "knownAmount": 861091, "amount": 861091 } }, "ownerAdvances": { "basis": "orderDate", "from": "2026-11-18", "date": "2026-11-19", "days": [ { "date": "2026-11-18", "items": [ { "date": "2026-11-18", "kind": "order", "id": "", "number": "MM20261118-", "paperNumber": "20261118001", "customer": "对照客户甲(改)", "name": "料费成本", "source": "商品 1 · 足金999", "component": "material", "poolId": null, "poolMaterial": false, "allocationPending": false, "amount": 286000, "estimatedAmount": null, "status": "recorded" }, { "date": "2026-11-18", "kind": "order", "id": "", "number": "MM20261118-", "paperNumber": "20261118003", "customer": "对照客户丙", "name": "货品成本(原单未分项)", "source": "商品 1 · 金镶玉吊坠", "component": "unallocated", "poolId": null, "poolMaterial": false, "allocationPending": false, "amount": 150000, "estimatedAmount": null, "status": "recorded" }, { "date": "2026-11-18", "kind": "order", "id": "", "number": "MM20261118-", "paperNumber": "20261118003", "customer": "对照客户丙", "name": "信用卡手续费(6‰)", "source": "2026-11-18", "component": "fee", "poolId": null, "poolMaterial": false, "allocationPending": false, "amount": 1731, "estimatedAmount": null, "status": "recorded" } ], "knownAmount": 437731, "amount": 437731, "missingCount": 0, "pendingCount": 0, "poolAmount": 0, "knownPoolAmount": 0, "otherAmount": 437731, "knownOtherAmount": 437731 }, { "date": "2026-11-19", "items": [ { "date": "2026-11-19", "kind": "order", "id": "", "number": "MM20261119-", "paperNumber": "20261119010", "customer": "对照锁价客户(改)", "name": "料费成本", "source": "商品 1 · 足金999 · 原锁价采购", "component": "material", "poolId": null, "poolMaterial": false, "allocationPending": false, "amount": 255000, "estimatedAmount": null, "status": "recorded" }, { "date": "2026-11-19", "kind": "order", "id": "", "number": "MM20261119-", "paperNumber": "20261119010", "customer": "对照锁价客户(改)", "name": "实际快递", "source": "2026-11-19", "component": "fee", "poolId": null, "poolMaterial": false, "allocationPending": false, "amount": 600, "estimatedAmount": null, "status": "recorded" } ], "knownAmount": 255600, "amount": 255600, "missingCount": 0, "pendingCount": 0, "poolAmount": 0, "knownPoolAmount": 0, "otherAmount": 255600, "knownOtherAmount": 255600 } ] }, "currentAccount": { "basis": "orderDate", "from": "2026-11-18", "date": "2026-11-19", "days": [ { "date": "2026-11-18", "recordCount": 4, "knownMaterialCost": 286000, "knownOtherCost": 151731, "knownProfit": 222584, "ownerNetReceipts": 288500, "missingCostCount": 0, "pendingCostCount": 0, "unknownProfitCount": 0, "incomplete": false, "materialCost": 286000, "otherCost": 151731, "profit": 222584, "knownAmount": 371815, "amount": 371815 }, { "date": "2026-11-19", "recordCount": 5, "knownMaterialCost": 255000, "knownOtherCost": 600, "knownProfit": 89092, "ownerNetReceipts": 0, "missingCostCount": 0, "pendingCostCount": 0, "unknownProfitCount": 0, "incomplete": false, "materialCost": 255000, "otherCost": 600, "profit": 89092, "knownAmount": 344692, "amount": 344692 } ] }, "difference": { "amount": 120000, "reconciled": false, "reasons": [ { "code": "price_lock_timing", "text": "锁价定金、尾款与退款按实际发生日核对,销售与利润按成交单日期核算。" }, { "code": "refund_or_cancellation", "text": "退货或作废已按原账冲回销售;尚未退清的客户款或不同日期的退款不作为销售利润。" } ] }, "equation": { "basis": "sales", "revenue": 1626600, "totalCost": 1314924, "profit": 311676, "complete": true }, "settlement": { "available": true, "basis": "cumulative-through-date", "from": "2026-11-18", "date": "2026-11-19", "dueOut": 678881, "dueIn": 0, "partial": false, "pendingCount": 0, "legacyCount": 0, "notice": "截至所选日的累计往来,已抵扣实际转账与代收;逐人核对,不将他人付款成本直接当作应转。", "counterparts": [ { "member": "owner", "name": "麦麦", "dueOut": 637681, "dueIn": 0, "openingDue": 0, "periodNew": 657681, "periodTransferred": 20000, "closingDue": 637681, "offset": 290650, "period": { "obligationNet": 657681, "transferred": 20000, "receivedForNet": -288500, "advancedNet": 946181 } }, { "member": "assistant2", "name": "小昊", "dueOut": 41200, "dueIn": 0, "openingDue": 0, "periodNew": 41200, "periodTransferred": 0, "closingDue": 41200, "offset": 250800, "period": { "obligationNet": 41200, "transferred": 0, "receivedForNet": 292000, "advancedNet": -250800 } } ] }, "hasActivity": true } }, "dailyProfits": { "basis": "orderDate", "from": "2026-11-18", "date": "2026-11-19", "rows": [ { "recordCount": 4, "orderCount": 3, "afterSaleCount": 1, "draftCount": 0, "sales": 939600, "knownTotalCost": 717016, "knownProfit": 222584, "unknownCostCount": 0, "unknownProfitCount": 0, "incomplete": false, "date": "2026-11-18", "member": "assistant", "name": "娜娜", "totalCost": 717016, "profit": 222584 }, { "recordCount": 5, "orderCount": 5, "afterSaleCount": 0, "draftCount": 0, "sales": 687000, "knownTotalCost": 597908, "knownProfit": 89092, "unknownCostCount": 0, "unknownProfitCount": 0, "incomplete": false, "date": "2026-11-19", "member": "assistant", "name": "娜娜", "totalCost": 597908, "profit": 89092 } ], "summary": { "recordCount": 9, "orderCount": 8, "afterSaleCount": 1, "draftCount": 0, "sales": 1626600, "knownTotalCost": 1314924, "knownProfit": 311676, "unknownCostCount": 0, "unknownProfitCount": 0, "incomplete": false, "totalCost": 1314924, "profit": 311676 } }, "dailyFunds": { "date": "2026-11-19", "from": "2026-11-18", "team": { "from": "2026-11-18", "to": "2026-11-19", "date": "2026-11-19", "members": [ { "id": "owner", "name": "麦麦" }, { "id": "assistant", "name": "娜娜" }, { "id": "assistant2", "name": "小昊" } ], "balances": [ { "member": "assistant", "receipts": 1750100, "refunds": 0, "outlays": 1870710, "transferIn": 0, "transferOut": 20000, "openingChange": 0, "periodChange": -140610, "cumulativeChange": -140610, "cashBalance": -140610, "balanceType": "recorded-change", "notice": "仅三人新账已登记的资金增减,不含真实期初余额" } ], "pairs": [ { "id": "owner:assistant", "members": [ "owner", "assistant" ], "net": -637681, "obligationNet": -657681, "transferred": -20000, "receivedForNet": 288500, "advancedNet": -946181, "offset": 290650, "due": 637681, "fromMember": "assistant", "toMember": "owner", "direction": "transfer", "period": { "obligationNet": -657681, "transferred": -20000, "receivedForNet": 288500, "advancedNet": -946181 }, "entries": [ { "id": "", "date": "2026-11-18", "kind": "advance", "project": "商品实际垫付", "fromMember": "assistant", "toMember": "owner", "amount": 286000, "revision": 1 }, { "id": "", "date": "2026-11-18", "kind": "receipt", "project": "客户款代收", "fromMember": "owner", "toMember": "assistant", "amount": 288500, "revision": 1 }, { "id": "", "date": "2026-11-18", "kind": "advance", "project": "订单实际费用", "fromMember": "assistant", "toMember": "owner", "amount": 1731, "revision": 1 }, { "id": "", "date": "2026-11-18", "kind": "advance", "project": "商品实际垫付", "fromMember": "assistant", "toMember": "owner", "amount": 150000, "revision": 1 }, { "id": "", "date": "2026-11-18", "kind": "advance", "project": "锁价实际购料", "fromMember": "assistant", "toMember": "owner", "amount": 255000, "revision": 1 }, { "id": "", "date": "2026-11-18", "kind": "advance", "project": "锁价实际购料", "fromMember": "assistant", "toMember": "owner", "amount": 255000, "revision": 1 }, { "id": "", "date": "2026-11-18", "kind": "reimbursement", "project": "独立支出报销 · 对照邮寄", "fromMember": "owner", "toMember": "assistant", "amount": 1500, "revision": 1 }, { "id": "", "date": "2026-11-18", "kind": "reimbursement", "project": "独立支出报销 · 对照包装", "fromMember": "owner", "toMember": "assistant", "amount": 650, "revision": 1 }, { "id": "", "date": "2026-11-19", "kind": "advance", "project": "订单实际费用", "fromMember": "assistant", "toMember": "owner", "amount": 600, "revision": 1 } ] }, { "id": "assistant:assistant2", "members": [ "assistant", "assistant2" ], "net": 41200, "obligationNet": 41200, "transferred": 0, "receivedForNet": 292000, "advancedNet": -250800, "offset": 250800, "due": 41200, "fromMember": "assistant", "toMember": "assistant2", "direction": "transfer", "period": { "obligationNet": 41200, "transferred": 0, "receivedForNet": 292000, "advancedNet": -250800 }, "entries": [ { "id": "", "date": "2026-11-18", "kind": "receipt", "project": "客户款代收", "fromMember": "assistant", "toMember": "assistant2", "amount": 82000, "revision": 2 }, { "id": "", "date": "2026-11-18", "kind": "advance", "project": "商品实际垫付", "fromMember": "assistant2", "toMember": "assistant", "amount": 70000, "revision": 2 }, { "id": "", "date": "2026-11-19", "kind": "receipt", "project": "客户款代收", "fromMember": "assistant", "toMember": "assistant2", "amount": 210000, "revision": 3 }, { "id": "", "date": "2026-11-19", "kind": "advance", "project": "订单实际费用", "fromMember": "assistant2", "toMember": "assistant", "amount": 800, "revision": 3 }, { "id": "", "date": "2026-11-19", "kind": "advance", "project": "商品实际垫付", "fromMember": "assistant2", "toMember": "assistant", "amount": 180000, "revision": 3 } ] } ], "entries": [ { "id": "", "date": "2026-11-18", "kind": "advance", "project": "商品实际垫付", "fromMember": "assistant", "toMember": "owner", "amount": 286000, "revision": 1 }, { "id": "", "date": "2026-11-18", "kind": "receipt", "project": "客户款代收", "fromMember": "owner", "toMember": "assistant", "amount": 288500, "revision": 1 }, { "id": "", "date": "2026-11-18", "kind": "advance", "project": "订单实际费用", "fromMember": "assistant", "toMember": "owner", "amount": 1731, "revision": 1 }, { "id": "", "date": "2026-11-18", "kind": "advance", "project": "商品实际垫付", "fromMember": "assistant", "toMember": "owner", "amount": 150000, "revision": 1 }, { "id": "", "date": "2026-11-18", "kind": "advance", "project": "锁价实际购料", "fromMember": "assistant", "toMember": "owner", "amount": 255000, "revision": 1 }, { "id": "", "date": "2026-11-18", "kind": "advance", "project": "锁价实际购料", "fromMember": "assistant", "toMember": "owner", "amount": 255000, "revision": 1 }, { "id": "", "date": "2026-11-18", "kind": "reimbursement", "project": "独立支出报销 · 对照邮寄", "fromMember": "owner", "toMember": "assistant", "amount": 1500, "revision": 1 }, { "id": "", "date": "2026-11-18", "kind": "reimbursement", "project": "独立支出报销 · 对照包装", "fromMember": "owner", "toMember": "assistant", "amount": 650, "revision": 1 }, { "id": "", "date": "2026-11-18", "kind": "receipt", "project": "客户款代收", "fromMember": "assistant", "toMember": "assistant2", "amount": 82000, "revision": 2 }, { "id": "", "date": "2026-11-18", "kind": "advance", "project": "商品实际垫付", "fromMember": "assistant2", "toMember": "assistant", "amount": 70000, "revision": 2 }, { "id": "", "date": "2026-11-19", "kind": "advance", "project": "订单实际费用", "fromMember": "assistant", "toMember": "owner", "amount": 600, "revision": 1 }, { "id": "", "date": "2026-11-19", "kind": "receipt", "project": "客户款代收", "fromMember": "assistant", "toMember": "assistant2", "amount": 210000, "revision": 3 }, { "id": "", "date": "2026-11-19", "kind": "advance", "project": "订单实际费用", "fromMember": "assistant2", "toMember": "assistant", "amount": 800, "revision": 3 }, { "id": "", "date": "2026-11-19", "kind": "advance", "project": "商品实际垫付", "fromMember": "assistant2", "toMember": "assistant", "amount": 180000, "revision": 3 } ], "transfers": [ { "id": "", "date": "2026-11-18", "fromMember": "assistant", "toMember": "owner", "amount": 10000 }, { "id": "", "date": "2026-11-19", "fromMember": "assistant", "toMember": "owner", "amount": 10000 } ], "revision": "91d8e840360bd6750d7d9078c202052d4754bf75b4d2400dcc33adc06ef7598e", "pending": [], "legacyReadOnly": true, "cutover": "仅已启用的三人新账事件;旧结算不自动迁入", "transfersDeducted": true }, "readOnly": true, "hasRecords": true, "pendingCount": 0, "legacyReadOnly": true, "transfersNotDeducted": false, "reimbursements": [ { "id": "", "date": "2026-11-18", "items": [ { "id": "", "name": "对照邮寄", "amount": 1500, "member": "owner", "sourceType": "independent", "sourceKey": "", "usedAmount": 0, "remainingAmount": 1500 }, { "id": "", "name": "对照包装", "amount": 650, "member": "owner", "sourceType": "independent", "sourceKey": "", "usedAmount": 0, "remainingAmount": 650 } ], "total": 2150, "note": "补充备注", "status": "approved", "revision": 3, "requester_id": "", "requester_name": "助理", "reviewer_id": "", "reviewer_name": "麦麦", "reviewed": "2026-11-18T02:02:24.000Z", "review_note": "", "created": "2026-11-18T02:02:18.000Z", "updated": "2026-11-18T02:02:24.000Z", "payer": "assistant", "member": "assistant", "fundingMode": "independent", "canEdit": false, "canApprove": false } ], "approvedReimbursements": 2150, "ready": true, "transferAmount": null, "direction": null, "sources": { "revision": "91d8e840360bd6750d7d9078c202052d4754bf75b4d2400dcc33adc06ef7598e", "total": 0, "items": [] }, "confirmation": null, "actualOutlay": null, "missingDates": [], "staleDates": [], "days": [] }, "reportRevision": "39ec8784fe0f690e6320901f31d56bd0999885b6d8c8334d47b38088e6bc1311" } }, { "seq": 434, "label": "order-book-d2-assistant", "date": "2026-11-19", "actor": "assistant", "method": "GET", "path": "/api/order-book?date=2026-11-19", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "from": "2026-11-19", "date": "2026-11-19", "today": "2026-11-19", "q": "", "status": "all", "pocket": "", "rows": [ { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119010", "date": "2026-11-19", "created": "2026-11-19T02:01:28.000Z", "price_lock_id": "", "customer": "对照锁价客户(改)", "salesperson": "娜娜", "status": "delivered", "note": "锁价备注;锁价单 SJ20261118-;按原锁定金价 900.00元/克结算", "types": [ "货盘现货" ], "mg": 3100, "summaryMg": 3100, "pieces": 0, "originalSale": 286200, "sale": 286200, "material": 264000, "laborAndFees": 3600, "unallocated": 0, "totalCost": 267600, "profit": 18600, "ownerCost": 255600, "assistantCost": 12000, "assistant2Cost": 0, "known": { "sale": 286200, "material": 264000, "laborAndFees": 3600, "unallocated": 0, "totalCost": 267600, "profit": 18600, "ownerCost": 255600, "assistantCost": 12000, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 原锁价采购", "amount": 255000, "payer": "owner", "excluded": false, "priceLockSource": "original", "calculation": { "rate": 85000, "quantity": 3000 } }, { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 补重采购", "amount": 9000, "payer": "assistant", "excluded": false, "priceLockSource": "extra", "calculation": { "rate": 90000, "quantity": 100 } }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "实际快递", "source": "2026-11-19", "amount": 600, "payer": "owner", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "实际快递", "source": "2026-11-19", "amount": 600, "payer": "owner", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 3, "reviewed_revision": 0 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119012", "date": "2026-11-19", "created": "2026-11-19T02:01:33.000Z", "recovery_id": "", "recovery_mode": "exchange", "nonCashOffset": 0, "cashPaid": 0, "netSettlement": 130800, "recovery_immutable_reason": "本单关联黄金回收/置换、购料及库存,暂不支持普通订单修改、取消、退款、退货或费用变更,请保留原关联记录", "customer": "对照换货客户二", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 6000, "summaryMg": 6000, "pieces": 0, "originalSale": 130800, "sale": 130800, "material": 103410, "laborAndFees": 3000, "unallocated": 0, "totalCost": 106410, "profit": 24390, "ownerCost": 0, "assistantCost": 106410, "assistant2Cost": 0, "known": { "sale": 130800, "material": 103410, "laborAndFees": 3000, "unallocated": 0, "totalCost": 106410, "profit": 24390, "ownerCost": 0, "assistantCost": 106410, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金对照新货", "amount": 103410, "payer": "assistant", "excluded": false, "calculation": { "rate": 90000, "quantity": 1149 }, "component": "material" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": { "rate": 500, "quantity": 6000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": { "rate": 500, "quantity": 6000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 4, "reviewed_revision": 0 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119014", "date": "2026-11-19", "created": "2026-11-19T02:01:57.000Z", "cancellationApproved": { "id": "", "status": "approved", "order_revision": 4, "reason": "当天录错", "requester_name": "助理", "created": "2026-11-19T02:01:59.000Z", "reviewer_name": null, "reviewed": null, "note": "", "direct": true, "operator_name": "助理", "executedAt": "2026-11-19T02:01:59.000Z" }, "customer": "当天取消客户", "salesperson": "娜娜", "status": "cancelled", "note": "", "types": [ "货盘现货" ], "mg": 2000, "summaryMg": 2000, "pieces": 0, "originalSale": 210000, "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0, "known": { "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0 }, "costItems": [], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "录错作废已获麦麦批准,本单销售、成本与收款记账已撤销,原单和审批记录保留", "balance": 0, "revision": 5, "reviewed_revision": 0 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119015", "date": "2026-11-19", "created": "2026-11-19T02:02:40.000Z", "materialPoolIds": [ "2026-11-19" ], "materialCostPending": false, "customer": "滚动料池客户", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "配货" ], "mg": 2000, "summaryMg": 2000, "pieces": 0, "originalSale": 220000, "sale": 220000, "material": 181898, "laborAndFees": 0, "unallocated": 0, "totalCost": 181898, "profit": 38102, "ownerCost": 0, "assistantCost": 181898, "assistant2Cost": 0, "known": { "sale": 220000, "material": 181898, "laborAndFees": 0, "unallocated": 0, "totalCost": 181898, "profit": 38102, "ownerCost": 0, "assistantCost": 181898, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 2026-11-19日购料", "amount": 181898, "payer": "assistant", "excluded": false, "materialPoolId": "2026-11-19", "materialPoolRevision": "2e1d58e4d359165036a53976f4ed30c7052bb21df8bd2eb46c6544546a2e818b", "calculation": { "rate": 90949, "quantity": 2000, "weighted": true } }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 4, "reviewed_revision": 0 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119016", "date": "2026-11-19", "created": "2026-11-19T02:02:51.000Z", "customer": "安全测试", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 500, "summaryMg": 500, "pieces": 0, "originalSale": 50000, "sale": 50000, "material": null, "laborAndFees": null, "unallocated": 42000, "totalCost": 42000, "profit": 8000, "ownerCost": 0, "assistantCost": 42000, "assistant2Cost": 0, "known": { "sale": 50000, "material": 0, "laborAndFees": 0, "unallocated": 42000, "totalCost": 42000, "profit": 8000, "ownerCost": 0, "assistantCost": 42000, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金转运珠", "amount": 42000, "payer": "assistant", "excluded": false, "calculation": null, "component": "unallocated" } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 4, "reviewed_revision": 0 } ], "displayRows": [ { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119010", "date": "2026-11-19", "created": "2026-11-19T02:01:28.000Z", "price_lock_id": "", "customer": "对照锁价客户(改)", "salesperson": "娜娜", "status": "delivered", "note": "锁价备注;锁价单 SJ20261118-;按原锁定金价 900.00元/克结算", "types": [ "货盘现货" ], "mg": 3100, "summaryMg": 3100, "pieces": 0, "originalSale": 286200, "sale": 286200, "material": 264000, "laborAndFees": 3600, "unallocated": 0, "totalCost": 267600, "profit": 18600, "ownerCost": 255600, "assistantCost": 12000, "assistant2Cost": 0, "known": { "sale": 286200, "material": 264000, "laborAndFees": 3600, "unallocated": 0, "totalCost": 267600, "profit": 18600, "ownerCost": 255600, "assistantCost": 12000, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 原锁价采购", "amount": 255000, "payer": "owner", "excluded": false, "priceLockSource": "original", "calculation": { "rate": 85000, "quantity": 3000 } }, { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 补重采购", "amount": 9000, "payer": "assistant", "excluded": false, "priceLockSource": "extra", "calculation": { "rate": 90000, "quantity": 100 } }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "实际快递", "source": "2026-11-19", "amount": 600, "payer": "owner", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "实际快递", "source": "2026-11-19", "amount": 600, "payer": "owner", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 3, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119012", "date": "2026-11-19", "created": "2026-11-19T02:01:33.000Z", "recovery_id": "", "recovery_mode": "exchange", "nonCashOffset": 0, "cashPaid": 0, "netSettlement": 130800, "recovery_immutable_reason": "本单关联黄金回收/置换、购料及库存,暂不支持普通订单修改、取消、退款、退货或费用变更,请保留原关联记录", "customer": "对照换货客户二", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 6000, "summaryMg": 6000, "pieces": 0, "originalSale": 130800, "sale": 130800, "material": 103410, "laborAndFees": 3000, "unallocated": 0, "totalCost": 106410, "profit": 24390, "ownerCost": 0, "assistantCost": 106410, "assistant2Cost": 0, "known": { "sale": 130800, "material": 103410, "laborAndFees": 3000, "unallocated": 0, "totalCost": 106410, "profit": 24390, "ownerCost": 0, "assistantCost": 106410, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金对照新货", "amount": 103410, "payer": "assistant", "excluded": false, "calculation": { "rate": 90000, "quantity": 1149 }, "component": "material" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": { "rate": 500, "quantity": 6000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": { "rate": 500, "quantity": 6000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 4, "reviewed_revision": 0, "printStatus": { "kind": "recovery", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119014", "date": "2026-11-19", "created": "2026-11-19T02:01:57.000Z", "cancellationApproved": { "id": "", "status": "approved", "order_revision": 4, "reason": "当天录错", "requester_name": "助理", "created": "2026-11-19T02:01:59.000Z", "reviewer_name": null, "reviewed": null, "note": "", "direct": true, "operator_name": "助理", "executedAt": "2026-11-19T02:01:59.000Z" }, "customer": "当天取消客户", "salesperson": "娜娜", "status": "cancelled", "note": "", "types": [ "货盘现货" ], "mg": 2000, "summaryMg": 2000, "pieces": 0, "originalSale": 210000, "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0, "known": { "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0 }, "costItems": [], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "录错作废已获麦麦批准,本单销售、成本与收款记账已撤销,原单和审批记录保留", "balance": 0, "revision": 5, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119015", "date": "2026-11-19", "created": "2026-11-19T02:02:40.000Z", "materialPoolIds": [ "2026-11-19" ], "materialCostPending": false, "customer": "滚动料池客户", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "配货" ], "mg": 2000, "summaryMg": 2000, "pieces": 0, "originalSale": 220000, "sale": 220000, "material": 181898, "laborAndFees": 0, "unallocated": 0, "totalCost": 181898, "profit": 38102, "ownerCost": 0, "assistantCost": 181898, "assistant2Cost": 0, "known": { "sale": 220000, "material": 181898, "laborAndFees": 0, "unallocated": 0, "totalCost": 181898, "profit": 38102, "ownerCost": 0, "assistantCost": 181898, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 2026-11-19日购料", "amount": 181898, "payer": "assistant", "excluded": false, "materialPoolId": "2026-11-19", "materialPoolRevision": "2e1d58e4d359165036a53976f4ed30c7052bb21df8bd2eb46c6544546a2e818b", "calculation": { "rate": 90949, "quantity": 2000, "weighted": true } }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 4, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119016", "date": "2026-11-19", "created": "2026-11-19T02:02:51.000Z", "customer": "安全测试", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 500, "summaryMg": 500, "pieces": 0, "originalSale": 50000, "sale": 50000, "material": null, "laborAndFees": null, "unallocated": 42000, "totalCost": 42000, "profit": 8000, "ownerCost": 0, "assistantCost": 42000, "assistant2Cost": 0, "known": { "sale": 50000, "material": 0, "laborAndFees": 0, "unallocated": 42000, "totalCost": 42000, "profit": 8000, "ownerCost": 0, "assistantCost": 42000, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金转运珠", "amount": 42000, "payer": "assistant", "excluded": false, "calculation": null, "component": "unallocated" } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 4, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } } ], "recoveryCount": 0, "summary": { "orderCount": 5, "completedCount": 4, "draftCount": 0, "confirmedCount": 0, "returnedCount": 0, "cancelledCount": 1, "incompleteCount": 0, "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "unknownCostCount": 0, "unknownProfitCount": 0, "legacyUnallocatedCount": 1, "sale": 687000, "material": 549308, "laborAndFees": 6600, "unallocated": 42000, "totalCost": 597908, "profit": 89092, "ownerCost": 255600, "assistantCost": 342308, "assistant2Cost": 0, "mg": 13600, "pieces": 0, "knownCounts": { "sale": 5, "material": 4, "laborAndFees": 4, "unallocated": 5, "totalCost": 5, "profit": 5, "ownerCost": 5, "assistantCost": 5, "assistant2Cost": 5 }, "unknownCounts": { "sale": 0, "material": 1, "laborAndFees": 1, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0 }, "partial": true, "afterSaleCount": 0, "recordCount": 5 }, "peopleCount": null, "priceLockActivity": { "basis": "eventDate", "from": "2026-11-19", "date": "2026-11-19", "customerCash": [ { "id": "", "price_lock_id": "", "date": "2026-11-19", "kind": "receipt", "amount": 16200, "account": "助理支付宝", "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-19T02:01:28.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null } ], "orderPayments": [], "materialOutlays": [ { "id": "", "price_lock_id": "", "date": "2026-11-19", "kind": "material", "amount": 9000, "payer": "assistant", "source": "extra", "quantity": 100, "rate": 90000, "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-19T02:01:28.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "component": "material" } ], "directOutlays": [ { "id": "", "order_id": "", "date": "2026-11-19", "amount": 600, "payer": "owner", "note": "实际快递", "actor": "助理", "created": "2026-11-19T02:01:28.000Z", "price_lock_id": "", "number": "SJ20261118-", "customer": "对照锁价客户(改)", "kind": "fee", "component": "fee", "product": "足金999" } ], "deliveryGoodsOutlays": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": null, "id": "price-lock-goods::0", "price_lock_id": "", "order_id": "", "number": "MM20261119-", "paper_number": "20261119010", "customer": "对照锁价客户(改)", "date": "2026-11-19", "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "id": "price-lock-goods::1", "price_lock_id": "", "order_id": "", "number": "MM20261119-", "paper_number": "20261119010", "customer": "对照锁价客户(改)", "date": "2026-11-19", "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "id": "price-lock-goods::2", "price_lock_id": "", "order_id": "", "number": "MM20261119-", "paper_number": "20261119010", "customer": "对照锁价客户(改)", "date": "2026-11-19", "component": "other" } ], "receipts": { "receipt": 16200, "refund": 0, "net": 16200, "channels": [ { "channel": "wechat", "name": "微信", "receipt": 0, "refund": 0, "net": 0 }, { "channel": "alipay", "name": "支付宝", "receipt": 16200, "refund": 0, "net": 16200 }, { "channel": "cash", "name": "现金", "receipt": 0, "refund": 0, "net": 0 } ], "accounts": [ { "account": "助理微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理支付宝", "receipt": 16200, "refund": 0, "net": 16200 }, { "account": "助理现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2现金", "receipt": 0, "refund": 0, "net": 0 } ], "paymentCount": 1, "orderCount": 1 }, "payerOutlays": { "owner": { "payer": "owner", "material": 0, "goods": 0, "paidFees": 600, "total": 600 }, "assistant": { "payer": "assistant", "material": 9000, "goods": 12000, "paidFees": 0, "total": 12000 }, "assistant2": { "payer": "assistant2", "material": 0, "goods": 0, "paidFees": 0, "total": 0 } }, "summary": { "receipt": 16200, "refund": 0, "net": 16200, "materialOutlay": 9000, "goodsOutlay": 12000, "feeOutlay": 600, "ownerOutlay": 600, "assistantOutlay": 12000, "assistant2Outlay": 0, "totalOutlay": 12600, "eventCount": 6, "lockCount": 1 } }, "materialPoolActivity": { "basis": "purchaseDate", "from": "2026-11-19", "date": "2026-11-19", "purchases": [ { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 5000, "amount": 460000, "payer": "assistant", "note": "第二天购料", "actor": "助理", "created": "2026-11-19T02:02:19.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:19.000Z" } ], "payerOutlays": { "owner": { "payer": "owner", "material": 0, "goods": 0, "paidFees": 0, "total": 0, "purchaseCount": 0 }, "assistant": { "payer": "assistant", "material": 460000, "goods": 460000, "paidFees": 0, "total": 460000, "purchaseCount": 1 }, "assistant2": { "payer": "assistant2", "material": 0, "goods": 0, "paidFees": 0, "total": 0, "purchaseCount": 0 } }, "summary": { "purchaseCount": 1, "poolCount": 1, "mg": 5000, "materialOutlay": 460000, "purchaseValue": 460000, "ownerOutlay": 0, "assistantOutlay": 460000, "assistant2Outlay": 0, "totalOutlay": 460000, "eventCount": 1 } }, "summaryWithoutCancelled": { "orderCount": 4, "completedCount": 4, "draftCount": 0, "confirmedCount": 0, "returnedCount": 0, "cancelledCount": 0, "incompleteCount": 0, "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "unknownCostCount": 0, "unknownProfitCount": 0, "legacyUnallocatedCount": 1, "sale": 687000, "material": 549308, "laborAndFees": 6600, "unallocated": 42000, "totalCost": 597908, "profit": 89092, "ownerCost": 255600, "assistantCost": 342308, "assistant2Cost": 0, "mg": 11600, "pieces": 0, "knownCounts": { "sale": 4, "material": 3, "laborAndFees": 3, "unallocated": 4, "totalCost": 4, "profit": 4, "ownerCost": 4, "assistantCost": 4, "assistant2Cost": 4 }, "unknownCounts": { "sale": 0, "material": 1, "laborAndFees": 1, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0 }, "partial": true, "afterSaleCount": 0, "recordCount": 4 }, "receiptsWithoutCancelled": { "basis": "orderDate", "filterScope": "matchingOrdersWithoutCancelled", "from": "2026-11-19", "date": "2026-11-19", "receipt": 417000, "refund": 0, "net": 417000, "channels": [ { "channel": "wechat", "name": "微信", "receipt": 400800, "refund": 0, "net": 400800 }, { "channel": "alipay", "name": "支付宝", "receipt": 16200, "refund": 0, "net": 16200 }, { "channel": "cash", "name": "现金", "receipt": 0, "refund": 0, "net": 0 } ], "accounts": [ { "account": "助理微信", "receipt": 400800, "refund": 0, "net": 400800 }, { "account": "助理支付宝", "receipt": 16200, "refund": 0, "net": 16200 }, { "account": "助理现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2现金", "receipt": 0, "refund": 0, "net": 0 } ], "paymentCount": 4, "orderCount": 4 }, "receiptsByPaymentDate": { "basis": "paymentDate", "filterScope": "dateRange", "from": "2026-11-19", "date": "2026-11-19", "receipt": 417000, "refund": 0, "net": 417000, "channels": [ { "channel": "wechat", "name": "微信", "receipt": 400800, "refund": 0, "net": 400800 }, { "channel": "alipay", "name": "支付宝", "receipt": 16200, "refund": 0, "net": 16200 }, { "channel": "cash", "name": "现金", "receipt": 0, "refund": 0, "net": 0 } ], "accounts": [ { "account": "助理微信", "receipt": 400800, "refund": 0, "net": 400800 }, { "account": "助理支付宝", "receipt": 16200, "refund": 0, "net": 16200 }, { "account": "助理现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2现金", "receipt": 0, "refund": 0, "net": 0 } ], "paymentCount": 6, "orderCount": 5 }, "receiptsByOrderDate": { "basis": "orderDate", "filterScope": "matchingOrders", "from": "2026-11-19", "date": "2026-11-19", "receipt": 417000, "refund": 0, "net": 417000, "channels": [ { "channel": "wechat", "name": "微信", "receipt": 400800, "refund": 0, "net": 400800 }, { "channel": "alipay", "name": "支付宝", "receipt": 16200, "refund": 0, "net": 16200 }, { "channel": "cash", "name": "现金", "receipt": 0, "refund": 0, "net": 0 } ], "accounts": [ { "account": "助理微信", "receipt": 400800, "refund": 0, "net": 400800 }, { "account": "助理支付宝", "receipt": 16200, "refund": 0, "net": 16200 }, { "account": "助理现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2现金", "receipt": 0, "refund": 0, "net": 0 } ], "paymentCount": 6, "orderCount": 5 } } }, { "seq": 435, "label": "order-book-range-assistant", "date": "2026-11-19", "actor": "assistant", "method": "GET", "path": "/api/order-book?from=2026-11-18&date=2026-11-19", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "from": "2026-11-18", "date": "2026-11-19", "today": "2026-11-19", "q": "", "status": "all", "pocket": "", "rows": [ { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118001", "date": "2026-11-18", "created": "2026-11-18T02:01:17.000Z", "customer": "对照客户甲(改)", "salesperson": "娜娜", "status": "delivered", "note": "客户单备注", "types": [ "货盘现货" ], "mg": 3250, "summaryMg": 3250, "pieces": 0, "originalSale": 321100, "sale": 321100, "material": 286000, "laborAndFees": 5400, "unallocated": 0, "totalCost": 291400, "profit": 29700, "ownerCost": 286000, "assistantCost": 5400, "assistant2Cost": 0, "known": { "sale": 321100, "material": 286000, "laborAndFees": 5400, "unallocated": 0, "totalCost": 291400, "profit": 29700, "ownerCost": 286000, "assistantCost": 5400, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金999", "amount": 286000, "payer": "owner", "excluded": false, "calculation": { "rate": 88000, "quantity": 3250 }, "component": "material" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 4000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 200, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "快递", "source": "2026-11-18", "amount": 1200, "payer": "assistant", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 4000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 200, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "快递", "source": "2026-11-18", "amount": 1200, "payer": "assistant", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 5, "reviewed_revision": 0 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118003", "date": "2026-11-18", "created": "2026-11-18T02:01:19.000Z", "customer": "对照客户丙", "salesperson": "麦麦", "status": "delivered", "note": "老板改备注", "types": [ "配货" ], "mg": 0, "summaryMg": 0, "pieces": 1, "originalSale": 288500, "sale": 288500, "material": null, "laborAndFees": null, "unallocated": 150000, "totalCost": 151731, "profit": 136769, "ownerCost": 151731, "assistantCost": 0, "assistant2Cost": 0, "known": { "sale": 288500, "material": 0, "laborAndFees": 1731, "unallocated": 150000, "totalCost": 151731, "profit": 136769, "ownerCost": 151731, "assistantCost": 0, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 金镶玉吊坠", "amount": 150000, "payer": "owner", "excluded": false, "calculation": null, "component": "unallocated" }, { "kind": "paid", "name": "信用卡手续费(6‰)", "source": "2026-11-18", "amount": 1731, "payer": "owner", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "paid", "name": "信用卡手续费(6‰)", "source": "2026-11-18", "amount": 1731, "payer": "owner", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 5, "reviewed_revision": 0 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118004", "date": "2026-11-18", "created": "2026-11-18T02:01:20.000Z", "materialPoolIds": [ "2026-11-18" ], "materialCostPending": false, "customer": "对照客户丁", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "配货" ], "mg": 3000, "summaryMg": 3000, "pieces": 0, "originalSale": 330000, "sale": 330000, "material": 271935, "laborAndFees": 1000, "unallocated": 0, "totalCost": 272935, "profit": 57065, "ownerCost": 0, "assistantCost": 272935, "assistant2Cost": 0, "known": { "sale": 330000, "material": 271935, "laborAndFees": 1000, "unallocated": 0, "totalCost": 272935, "profit": 57065, "ownerCost": 0, "assistantCost": 272935, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 2026-11-18日购料", "amount": 271935, "payer": "assistant", "excluded": false, "materialPoolId": "2026-11-18", "materialPoolRevision": "2823f40ff78424f5423f0dbdf991ea5fcc83b0144648e9d2399869970c27af75", "calculation": { "rate": 90645, "quantity": 3000, "weighted": true } }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "补寄快递", "source": "2026-11-19", "amount": 1000, "payer": "assistant", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "补寄快递", "source": "2026-11-19", "amount": 1000, "payer": "assistant", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 6, "reviewed_revision": 0 }, { "id": "", "kind": "afterSale", "after_sale_id": "", "number": "售后", "paper_number": "", "date": "2026-11-18", "created": "2026-11-18T02:02:03.000Z", "customer": "对照售后客户", "salesperson": "助理", "status": "after_sale", "project": "对照改圈", "note": "对照改圈", "amount": 950, "payer": "assistant", "types": [ "售后" ], "mg": 0, "summaryMg": 0, "pieces": 0, "originalSale": 0, "sale": 0, "material": 0, "laborAndFees": 950, "unallocated": 0, "totalCost": 950, "profit": -950, "ownerCost": 0, "assistantCost": 950, "known": { "sale": 0, "material": 0, "laborAndFees": 950, "unallocated": 0, "totalCost": 950, "profit": -950, "ownerCost": 0, "assistantCost": 950 }, "costItems": [ { "kind": "afterSale", "after_sale_id": "", "name": "对照改圈", "source": "售后 · 2026-11-18", "amount": 950, "payer": "assistant", "component": "fee", "calculation": null } ], "laborAndFeeItems": [ { "kind": "afterSale", "after_sale_id": "", "name": "对照改圈", "source": "售后 · 2026-11-18", "amount": 950, "payer": "assistant", "component": "fee", "calculation": null } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "独立售后支出,计入所选日期利润", "balance": 0, "revision": 2, "reviewed_revision": 2 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119010", "date": "2026-11-19", "created": "2026-11-19T02:01:28.000Z", "price_lock_id": "", "customer": "对照锁价客户(改)", "salesperson": "娜娜", "status": "delivered", "note": "锁价备注;锁价单 SJ20261118-;按原锁定金价 900.00元/克结算", "types": [ "货盘现货" ], "mg": 3100, "summaryMg": 3100, "pieces": 0, "originalSale": 286200, "sale": 286200, "material": 264000, "laborAndFees": 3600, "unallocated": 0, "totalCost": 267600, "profit": 18600, "ownerCost": 255600, "assistantCost": 12000, "assistant2Cost": 0, "known": { "sale": 286200, "material": 264000, "laborAndFees": 3600, "unallocated": 0, "totalCost": 267600, "profit": 18600, "ownerCost": 255600, "assistantCost": 12000, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 原锁价采购", "amount": 255000, "payer": "owner", "excluded": false, "priceLockSource": "original", "calculation": { "rate": 85000, "quantity": 3000 } }, { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 补重采购", "amount": 9000, "payer": "assistant", "excluded": false, "priceLockSource": "extra", "calculation": { "rate": 90000, "quantity": 100 } }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "实际快递", "source": "2026-11-19", "amount": 600, "payer": "owner", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "实际快递", "source": "2026-11-19", "amount": 600, "payer": "owner", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 3, "reviewed_revision": 0 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119012", "date": "2026-11-19", "created": "2026-11-19T02:01:33.000Z", "recovery_id": "", "recovery_mode": "exchange", "nonCashOffset": 0, "cashPaid": 0, "netSettlement": 130800, "recovery_immutable_reason": "本单关联黄金回收/置换、购料及库存,暂不支持普通订单修改、取消、退款、退货或费用变更,请保留原关联记录", "customer": "对照换货客户二", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 6000, "summaryMg": 6000, "pieces": 0, "originalSale": 130800, "sale": 130800, "material": 103410, "laborAndFees": 3000, "unallocated": 0, "totalCost": 106410, "profit": 24390, "ownerCost": 0, "assistantCost": 106410, "assistant2Cost": 0, "known": { "sale": 130800, "material": 103410, "laborAndFees": 3000, "unallocated": 0, "totalCost": 106410, "profit": 24390, "ownerCost": 0, "assistantCost": 106410, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金对照新货", "amount": 103410, "payer": "assistant", "excluded": false, "calculation": { "rate": 90000, "quantity": 1149 }, "component": "material" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": { "rate": 500, "quantity": 6000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": { "rate": 500, "quantity": 6000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 4, "reviewed_revision": 0 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119014", "date": "2026-11-19", "created": "2026-11-19T02:01:57.000Z", "cancellationApproved": { "id": "", "status": "approved", "order_revision": 4, "reason": "当天录错", "requester_name": "助理", "created": "2026-11-19T02:01:59.000Z", "reviewer_name": null, "reviewed": null, "note": "", "direct": true, "operator_name": "助理", "executedAt": "2026-11-19T02:01:59.000Z" }, "customer": "当天取消客户", "salesperson": "娜娜", "status": "cancelled", "note": "", "types": [ "货盘现货" ], "mg": 2000, "summaryMg": 2000, "pieces": 0, "originalSale": 210000, "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0, "known": { "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0 }, "costItems": [], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "录错作废已获麦麦批准,本单销售、成本与收款记账已撤销,原单和审批记录保留", "balance": 0, "revision": 5, "reviewed_revision": 0 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119015", "date": "2026-11-19", "created": "2026-11-19T02:02:40.000Z", "materialPoolIds": [ "2026-11-19" ], "materialCostPending": false, "customer": "滚动料池客户", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "配货" ], "mg": 2000, "summaryMg": 2000, "pieces": 0, "originalSale": 220000, "sale": 220000, "material": 181898, "laborAndFees": 0, "unallocated": 0, "totalCost": 181898, "profit": 38102, "ownerCost": 0, "assistantCost": 181898, "assistant2Cost": 0, "known": { "sale": 220000, "material": 181898, "laborAndFees": 0, "unallocated": 0, "totalCost": 181898, "profit": 38102, "ownerCost": 0, "assistantCost": 181898, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 2026-11-19日购料", "amount": 181898, "payer": "assistant", "excluded": false, "materialPoolId": "2026-11-19", "materialPoolRevision": "2e1d58e4d359165036a53976f4ed30c7052bb21df8bd2eb46c6544546a2e818b", "calculation": { "rate": 90949, "quantity": 2000, "weighted": true } }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 4, "reviewed_revision": 0 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119016", "date": "2026-11-19", "created": "2026-11-19T02:02:51.000Z", "customer": "安全测试", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 500, "summaryMg": 500, "pieces": 0, "originalSale": 50000, "sale": 50000, "material": null, "laborAndFees": null, "unallocated": 42000, "totalCost": 42000, "profit": 8000, "ownerCost": 0, "assistantCost": 42000, "assistant2Cost": 0, "known": { "sale": 50000, "material": 0, "laborAndFees": 0, "unallocated": 42000, "totalCost": 42000, "profit": 8000, "ownerCost": 0, "assistantCost": 42000, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金转运珠", "amount": 42000, "payer": "assistant", "excluded": false, "calculation": null, "component": "unallocated" } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 4, "reviewed_revision": 0 } ], "displayRows": [ { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118001", "date": "2026-11-18", "created": "2026-11-18T02:01:17.000Z", "customer": "对照客户甲(改)", "salesperson": "娜娜", "status": "delivered", "note": "客户单备注", "types": [ "货盘现货" ], "mg": 3250, "summaryMg": 3250, "pieces": 0, "originalSale": 321100, "sale": 321100, "material": 286000, "laborAndFees": 5400, "unallocated": 0, "totalCost": 291400, "profit": 29700, "ownerCost": 286000, "assistantCost": 5400, "assistant2Cost": 0, "known": { "sale": 321100, "material": 286000, "laborAndFees": 5400, "unallocated": 0, "totalCost": 291400, "profit": 29700, "ownerCost": 286000, "assistantCost": 5400, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金999", "amount": 286000, "payer": "owner", "excluded": false, "calculation": { "rate": 88000, "quantity": 3250 }, "component": "material" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 4000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 200, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "快递", "source": "2026-11-18", "amount": 1200, "payer": "assistant", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 4000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 200, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "快递", "source": "2026-11-18", "amount": 1200, "payer": "assistant", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 5, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 2, "updated": "2026-11-18T02:01:50.000Z", "actor": "助理" } }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118003", "date": "2026-11-18", "created": "2026-11-18T02:01:19.000Z", "customer": "对照客户丙", "salesperson": "麦麦", "status": "delivered", "note": "老板改备注", "types": [ "配货" ], "mg": 0, "summaryMg": 0, "pieces": 1, "originalSale": 288500, "sale": 288500, "material": null, "laborAndFees": null, "unallocated": 150000, "totalCost": 151731, "profit": 136769, "ownerCost": 151731, "assistantCost": 0, "assistant2Cost": 0, "known": { "sale": 288500, "material": 0, "laborAndFees": 1731, "unallocated": 150000, "totalCost": 151731, "profit": 136769, "ownerCost": 151731, "assistantCost": 0, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 金镶玉吊坠", "amount": 150000, "payer": "owner", "excluded": false, "calculation": null, "component": "unallocated" }, { "kind": "paid", "name": "信用卡手续费(6‰)", "source": "2026-11-18", "amount": 1731, "payer": "owner", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "paid", "name": "信用卡手续费(6‰)", "source": "2026-11-18", "amount": 1731, "payer": "owner", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 5, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118004", "date": "2026-11-18", "created": "2026-11-18T02:01:20.000Z", "materialPoolIds": [ "2026-11-18" ], "materialCostPending": false, "customer": "对照客户丁", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "配货" ], "mg": 3000, "summaryMg": 3000, "pieces": 0, "originalSale": 330000, "sale": 330000, "material": 271935, "laborAndFees": 1000, "unallocated": 0, "totalCost": 272935, "profit": 57065, "ownerCost": 0, "assistantCost": 272935, "assistant2Cost": 0, "known": { "sale": 330000, "material": 271935, "laborAndFees": 1000, "unallocated": 0, "totalCost": 272935, "profit": 57065, "ownerCost": 0, "assistantCost": 272935, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 2026-11-18日购料", "amount": 271935, "payer": "assistant", "excluded": false, "materialPoolId": "2026-11-18", "materialPoolRevision": "2823f40ff78424f5423f0dbdf991ea5fcc83b0144648e9d2399869970c27af75", "calculation": { "rate": 90645, "quantity": 3000, "weighted": true } }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "补寄快递", "source": "2026-11-19", "amount": 1000, "payer": "assistant", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "补寄快递", "source": "2026-11-19", "amount": 1000, "payer": "assistant", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 6, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "kind": "afterSale", "after_sale_id": "", "number": "售后", "paper_number": "", "date": "2026-11-18", "created": "2026-11-18T02:02:03.000Z", "customer": "对照售后客户", "salesperson": "助理", "status": "after_sale", "project": "对照改圈", "note": "对照改圈", "amount": 950, "payer": "assistant", "types": [ "售后" ], "mg": 0, "summaryMg": 0, "pieces": 0, "originalSale": 0, "sale": 0, "material": 0, "laborAndFees": 950, "unallocated": 0, "totalCost": 950, "profit": -950, "ownerCost": 0, "assistantCost": 950, "known": { "sale": 0, "material": 0, "laborAndFees": 950, "unallocated": 0, "totalCost": 950, "profit": -950, "ownerCost": 0, "assistantCost": 950 }, "costItems": [ { "kind": "afterSale", "after_sale_id": "", "name": "对照改圈", "source": "售后 · 2026-11-18", "amount": 950, "payer": "assistant", "component": "fee", "calculation": null } ], "laborAndFeeItems": [ { "kind": "afterSale", "after_sale_id": "", "name": "对照改圈", "source": "售后 · 2026-11-18", "amount": 950, "payer": "assistant", "component": "fee", "calculation": null } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "独立售后支出,计入所选日期利润", "balance": 0, "revision": 2, "reviewed_revision": 2 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119010", "date": "2026-11-19", "created": "2026-11-19T02:01:28.000Z", "price_lock_id": "", "customer": "对照锁价客户(改)", "salesperson": "娜娜", "status": "delivered", "note": "锁价备注;锁价单 SJ20261118-;按原锁定金价 900.00元/克结算", "types": [ "货盘现货" ], "mg": 3100, "summaryMg": 3100, "pieces": 0, "originalSale": 286200, "sale": 286200, "material": 264000, "laborAndFees": 3600, "unallocated": 0, "totalCost": 267600, "profit": 18600, "ownerCost": 255600, "assistantCost": 12000, "assistant2Cost": 0, "known": { "sale": 286200, "material": 264000, "laborAndFees": 3600, "unallocated": 0, "totalCost": 267600, "profit": 18600, "ownerCost": 255600, "assistantCost": 12000, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 原锁价采购", "amount": 255000, "payer": "owner", "excluded": false, "priceLockSource": "original", "calculation": { "rate": 85000, "quantity": 3000 } }, { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 补重采购", "amount": 9000, "payer": "assistant", "excluded": false, "priceLockSource": "extra", "calculation": { "rate": 90000, "quantity": 100 } }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "实际快递", "source": "2026-11-19", "amount": 600, "payer": "owner", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "实际快递", "source": "2026-11-19", "amount": 600, "payer": "owner", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 3, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119012", "date": "2026-11-19", "created": "2026-11-19T02:01:33.000Z", "recovery_id": "", "recovery_mode": "exchange", "nonCashOffset": 0, "cashPaid": 0, "netSettlement": 130800, "recovery_immutable_reason": "本单关联黄金回收/置换、购料及库存,暂不支持普通订单修改、取消、退款、退货或费用变更,请保留原关联记录", "customer": "对照换货客户二", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 6000, "summaryMg": 6000, "pieces": 0, "originalSale": 130800, "sale": 130800, "material": 103410, "laborAndFees": 3000, "unallocated": 0, "totalCost": 106410, "profit": 24390, "ownerCost": 0, "assistantCost": 106410, "assistant2Cost": 0, "known": { "sale": 130800, "material": 103410, "laborAndFees": 3000, "unallocated": 0, "totalCost": 106410, "profit": 24390, "ownerCost": 0, "assistantCost": 106410, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金对照新货", "amount": 103410, "payer": "assistant", "excluded": false, "calculation": { "rate": 90000, "quantity": 1149 }, "component": "material" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": { "rate": 500, "quantity": 6000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": { "rate": 500, "quantity": 6000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 4, "reviewed_revision": 0, "printStatus": { "kind": "recovery", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119014", "date": "2026-11-19", "created": "2026-11-19T02:01:57.000Z", "cancellationApproved": { "id": "", "status": "approved", "order_revision": 4, "reason": "当天录错", "requester_name": "助理", "created": "2026-11-19T02:01:59.000Z", "reviewer_name": null, "reviewed": null, "note": "", "direct": true, "operator_name": "助理", "executedAt": "2026-11-19T02:01:59.000Z" }, "customer": "当天取消客户", "salesperson": "娜娜", "status": "cancelled", "note": "", "types": [ "货盘现货" ], "mg": 2000, "summaryMg": 2000, "pieces": 0, "originalSale": 210000, "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0, "known": { "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0 }, "costItems": [], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "录错作废已获麦麦批准,本单销售、成本与收款记账已撤销,原单和审批记录保留", "balance": 0, "revision": 5, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119015", "date": "2026-11-19", "created": "2026-11-19T02:02:40.000Z", "materialPoolIds": [ "2026-11-19" ], "materialCostPending": false, "customer": "滚动料池客户", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "配货" ], "mg": 2000, "summaryMg": 2000, "pieces": 0, "originalSale": 220000, "sale": 220000, "material": 181898, "laborAndFees": 0, "unallocated": 0, "totalCost": 181898, "profit": 38102, "ownerCost": 0, "assistantCost": 181898, "assistant2Cost": 0, "known": { "sale": 220000, "material": 181898, "laborAndFees": 0, "unallocated": 0, "totalCost": 181898, "profit": 38102, "ownerCost": 0, "assistantCost": 181898, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 2026-11-19日购料", "amount": 181898, "payer": "assistant", "excluded": false, "materialPoolId": "2026-11-19", "materialPoolRevision": "2e1d58e4d359165036a53976f4ed30c7052bb21df8bd2eb46c6544546a2e818b", "calculation": { "rate": 90949, "quantity": 2000, "weighted": true } }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 4, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119016", "date": "2026-11-19", "created": "2026-11-19T02:02:51.000Z", "customer": "安全测试", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 500, "summaryMg": 500, "pieces": 0, "originalSale": 50000, "sale": 50000, "material": null, "laborAndFees": null, "unallocated": 42000, "totalCost": 42000, "profit": 8000, "ownerCost": 0, "assistantCost": 42000, "assistant2Cost": 0, "known": { "sale": 50000, "material": 0, "laborAndFees": 0, "unallocated": 42000, "totalCost": 42000, "profit": 8000, "ownerCost": 0, "assistantCost": 42000, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金转运珠", "amount": 42000, "payer": "assistant", "excluded": false, "calculation": null, "component": "unallocated" } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 4, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } } ], "recoveryCount": 0, "summary": { "orderCount": 8, "completedCount": 7, "draftCount": 0, "confirmedCount": 0, "returnedCount": 0, "cancelledCount": 1, "incompleteCount": 0, "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "unknownCostCount": 0, "unknownProfitCount": 0, "legacyUnallocatedCount": 2, "sale": 1626600, "material": 1107243, "laborAndFees": 15681, "unallocated": 192000, "totalCost": 1314924, "profit": 311676, "ownerCost": 693331, "assistantCost": 621593, "assistant2Cost": 0, "mg": 19850, "pieces": 1, "knownCounts": { "sale": 8, "material": 6, "laborAndFees": 6, "unallocated": 8, "totalCost": 8, "profit": 8, "ownerCost": 8, "assistantCost": 8, "assistant2Cost": 8 }, "unknownCounts": { "sale": 0, "material": 2, "laborAndFees": 2, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0 }, "partial": true, "afterSaleCount": 1, "recordCount": 9 }, "peopleCount": null, "priceLockActivity": { "basis": "eventDate", "from": "2026-11-18", "date": "2026-11-19", "customerCash": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 270000, "account": "助理微信", "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:53.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null }, { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 120000, "account": "助理支付宝", "number": "SJ20261118-", "customer": "对照锁价客户二", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:02:02.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null }, { "id": "", "price_lock_id": "", "date": "2026-11-19", "kind": "receipt", "amount": 16200, "account": "助理支付宝", "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-19T02:01:28.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null } ], "orderPayments": [], "materialOutlays": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "material", "amount": 255000, "payer": "owner", "source": "original", "quantity": 3000, "rate": 85000, "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:53.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "component": "material" }, { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "material", "amount": 255000, "payer": "owner", "source": "original", "quantity": 3000, "rate": 85000, "number": "SJ20261118-", "customer": "对照锁价客户二", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:54.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "component": "material" }, { "id": "", "price_lock_id": "", "date": "2026-11-19", "kind": "material", "amount": 9000, "payer": "assistant", "source": "extra", "quantity": 100, "rate": 90000, "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-19T02:01:28.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "component": "material" } ], "directOutlays": [ { "id": "", "order_id": "", "date": "2026-11-19", "amount": 600, "payer": "owner", "note": "实际快递", "actor": "助理", "created": "2026-11-19T02:01:28.000Z", "price_lock_id": "", "number": "SJ20261118-", "customer": "对照锁价客户(改)", "kind": "fee", "component": "fee", "product": "足金999" } ], "deliveryGoodsOutlays": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": null, "id": "price-lock-goods::0", "price_lock_id": "", "order_id": "", "number": "MM20261119-", "paper_number": "20261119010", "customer": "对照锁价客户(改)", "date": "2026-11-19", "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "id": "price-lock-goods::1", "price_lock_id": "", "order_id": "", "number": "MM20261119-", "paper_number": "20261119010", "customer": "对照锁价客户(改)", "date": "2026-11-19", "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "id": "price-lock-goods::2", "price_lock_id": "", "order_id": "", "number": "MM20261119-", "paper_number": "20261119010", "customer": "对照锁价客户(改)", "date": "2026-11-19", "component": "other" } ], "receipts": { "receipt": 406200, "refund": 0, "net": 406200, "channels": [ { "channel": "wechat", "name": "微信", "receipt": 270000, "refund": 0, "net": 270000 }, { "channel": "alipay", "name": "支付宝", "receipt": 136200, "refund": 0, "net": 136200 }, { "channel": "cash", "name": "现金", "receipt": 0, "refund": 0, "net": 0 } ], "accounts": [ { "account": "助理微信", "receipt": 270000, "refund": 0, "net": 270000 }, { "account": "助理支付宝", "receipt": 136200, "refund": 0, "net": 136200 }, { "account": "助理现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2现金", "receipt": 0, "refund": 0, "net": 0 } ], "paymentCount": 3, "orderCount": 2 }, "payerOutlays": { "owner": { "payer": "owner", "material": 510000, "goods": 510000, "paidFees": 600, "total": 510600 }, "assistant": { "payer": "assistant", "material": 9000, "goods": 12000, "paidFees": 0, "total": 12000 }, "assistant2": { "payer": "assistant2", "material": 0, "goods": 0, "paidFees": 0, "total": 0 } }, "summary": { "receipt": 406200, "refund": 0, "net": 406200, "materialOutlay": 519000, "goodsOutlay": 522000, "feeOutlay": 600, "ownerOutlay": 510600, "assistantOutlay": 12000, "assistant2Outlay": 0, "totalOutlay": 522600, "eventCount": 10, "lockCount": 2 } }, "materialPoolActivity": { "basis": "purchaseDate", "from": "2026-11-18", "date": "2026-11-19", "purchases": [ { "id": "", "pool_id": "2026-11-18", "date": "2026-11-18", "mg": 11000, "amount": 990000, "payer": "assistant", "note": "核对凭据", "actor": "助理", "created": "2026-11-18T02:01:09.000Z", "revision": 2, "deleted_at": "", "updated": "2026-11-19T02:02:27.000Z" }, { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 5000, "amount": 460000, "payer": "assistant", "note": "第二天购料", "actor": "助理", "created": "2026-11-19T02:02:19.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:19.000Z" } ], "payerOutlays": { "owner": { "payer": "owner", "material": 0, "goods": 0, "paidFees": 0, "total": 0, "purchaseCount": 0 }, "assistant": { "payer": "assistant", "material": 1450000, "goods": 1450000, "paidFees": 0, "total": 1450000, "purchaseCount": 2 }, "assistant2": { "payer": "assistant2", "material": 0, "goods": 0, "paidFees": 0, "total": 0, "purchaseCount": 0 } }, "summary": { "purchaseCount": 2, "poolCount": 2, "mg": 16000, "materialOutlay": 1450000, "purchaseValue": 1450000, "ownerOutlay": 0, "assistantOutlay": 1450000, "assistant2Outlay": 0, "totalOutlay": 1450000, "eventCount": 2 } }, "summaryWithoutCancelled": { "orderCount": 7, "completedCount": 7, "draftCount": 0, "confirmedCount": 0, "returnedCount": 0, "cancelledCount": 0, "incompleteCount": 0, "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "unknownCostCount": 0, "unknownProfitCount": 0, "legacyUnallocatedCount": 2, "sale": 1626600, "material": 1107243, "laborAndFees": 15681, "unallocated": 192000, "totalCost": 1314924, "profit": 311676, "ownerCost": 693331, "assistantCost": 621593, "assistant2Cost": 0, "mg": 17850, "pieces": 1, "knownCounts": { "sale": 7, "material": 5, "laborAndFees": 5, "unallocated": 7, "totalCost": 7, "profit": 7, "ownerCost": 7, "assistantCost": 7, "assistant2Cost": 7 }, "unknownCounts": { "sale": 0, "material": 2, "laborAndFees": 2, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0 }, "partial": true, "afterSaleCount": 1, "recordCount": 8 }, "receiptsWithoutCancelled": { "basis": "orderDate", "filterScope": "matchingOrdersWithoutCancelled", "from": "2026-11-18", "date": "2026-11-19", "receipt": 1746600, "refund": 0, "net": 1746600, "channels": [ { "channel": "wechat", "name": "微信", "receipt": 991900, "refund": 0, "net": 991900 }, { "channel": "alipay", "name": "支付宝", "receipt": 136200, "refund": 0, "net": 136200 }, { "channel": "cash", "name": "现金", "receipt": 330000, "refund": 0, "net": 330000 }, { "channel": "credit_card", "name": "信用卡", "receipt": 288500, "refund": 0, "net": 288500 } ], "accounts": [ { "account": "助理微信", "receipt": 991900, "refund": 0, "net": 991900 }, { "account": "助理支付宝", "receipt": 136200, "refund": 0, "net": 136200 }, { "account": "助理现金", "receipt": 330000, "refund": 0, "net": 330000 }, { "account": "麦麦微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦信用卡", "receipt": 288500, "refund": 0, "net": 288500 }, { "account": "助理2微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2现金", "receipt": 0, "refund": 0, "net": 0 } ], "paymentCount": 9, "orderCount": 8 }, "receiptsByPaymentDate": { "basis": "paymentDate", "filterScope": "dateRange", "from": "2026-11-18", "date": "2026-11-19", "receipt": 1746600, "refund": 0, "net": 1746600, "channels": [ { "channel": "wechat", "name": "微信", "receipt": 991900, "refund": 0, "net": 991900 }, { "channel": "alipay", "name": "支付宝", "receipt": 136200, "refund": 0, "net": 136200 }, { "channel": "cash", "name": "现金", "receipt": 330000, "refund": 0, "net": 330000 }, { "channel": "credit_card", "name": "信用卡", "receipt": 288500, "refund": 0, "net": 288500 } ], "accounts": [ { "account": "助理微信", "receipt": 991900, "refund": 0, "net": 991900 }, { "account": "助理支付宝", "receipt": 136200, "refund": 0, "net": 136200 }, { "account": "助理现金", "receipt": 330000, "refund": 0, "net": 330000 }, { "account": "麦麦微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦信用卡", "receipt": 288500, "refund": 0, "net": 288500 }, { "account": "助理2微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2现金", "receipt": 0, "refund": 0, "net": 0 } ], "paymentCount": 11, "orderCount": 9 }, "receiptsByOrderDate": { "basis": "orderDate", "filterScope": "matchingOrders", "from": "2026-11-18", "date": "2026-11-19", "receipt": 1746600, "refund": 0, "net": 1746600, "channels": [ { "channel": "wechat", "name": "微信", "receipt": 991900, "refund": 0, "net": 991900 }, { "channel": "alipay", "name": "支付宝", "receipt": 136200, "refund": 0, "net": 136200 }, { "channel": "cash", "name": "现金", "receipt": 330000, "refund": 0, "net": 330000 }, { "channel": "credit_card", "name": "信用卡", "receipt": 288500, "refund": 0, "net": 288500 } ], "accounts": [ { "account": "助理微信", "receipt": 991900, "refund": 0, "net": 991900 }, { "account": "助理支付宝", "receipt": 136200, "refund": 0, "net": 136200 }, { "account": "助理现金", "receipt": 330000, "refund": 0, "net": 330000 }, { "account": "麦麦微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦信用卡", "receipt": 288500, "refund": 0, "net": 288500 }, { "account": "助理2微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2现金", "receipt": 0, "refund": 0, "net": 0 } ], "paymentCount": 11, "orderCount": 9 } } }, { "seq": 436, "label": "inventory-assistant", "date": "2026-11-19", "actor": "assistant", "method": "GET", "path": "/api/inventory", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "date": "2026-11-19", "yesterdayDate": "2026-11-18", "pockets": [ "现货", "金料", "找金", "回收旧料", "君宝汇", "pocket_" ], "current": [ { "pocket": "现货", "mg": 61950, "reserved": 0, "available": 61950 }, { "pocket": "金料", "mg": 56000, "reserved": 0, "available": 56000 }, { "pocket": "找金", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "回收旧料", "mg": 12843, "reserved": 0, "available": 12843 }, { "pocket": "君宝汇", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "pocket_", "mg": 10000, "reserved": 0, "available": 10000 } ], "yesterday": { "date": "2026-11-18", "inventory": [ { "pocket": "现货", "mg": 80450, "reserved": 0, "available": 80450 }, { "pocket": "金料", "mg": 55000, "reserved": 0, "available": 55000 }, { "pocket": "找金", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "回收旧料", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "君宝汇", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "臻金汇", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "金金", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "定制工厂", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "pocket_", "mg": 10000, "reserved": 0, "available": 10000 } ], "actor": "麦麦", "created": "2026-11-18T02:02:46.000Z", "updated": "2026-11-18T02:02:50.000Z", "stale": true, "revision": "3ced53bccf874039772cb33ea02c64ef6b6b7c23c841b7a40909076084b3a086", "source": "manual", "scheduled_for": null }, "todaySnapshot": null, "revision": "26e088956f984c72faf016a73484b8daf5648bcb6a79e96465dce260ed8aaace", "legacyInventory": [], "canReview": false, "automaticSnapshot": { "enabled": false, "time": "23:50", "timeZone": "Asia/Shanghai", "date": "2026-11-19", "status": "stopped", "lastSuccess": null, "lastError": null, "nextAttemptAt": null } } }, { "seq": 437, "label": "movements-assistant", "date": "2026-11-19", "actor": "assistant", "method": "GET", "path": "/api/inventory/movements", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "pocket": "", "pockets": [ { "pocket": "现货", "active": true }, { "pocket": "金料", "active": true }, { "pocket": "找金", "active": true }, { "pocket": "回收旧料", "active": true }, { "pocket": "君宝汇", "active": true }, { "pocket": "pocket_", "active": true } ], "kind": "all", "hideDeleted": false, "from": "", "to": "", "total": 33, "shown": 33, "limit": 100, "pageSize": 100, "page": 1, "totalPages": 1, "hasPrev": false, "hasNext": false, "movements": [ { "id": "", "group_id": "", "order_id": "", "date": "2026-11-19", "pocket": "现货", "mg": -500, "kind": "sale", "note": "MM20261119-", "purchase_cost": null, "actor": "助理", "created": "2026-11-19T02:02:51.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-19", "pocket": "现货", "mg": 2000, "kind": "order_cancel_reverse", "note": "MM20261119-;当天直接作废:当天录错", "purchase_cost": null, "actor": "助理", "created": "2026-11-19T02:01:59.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-19", "pocket": "现货", "mg": -2000, "kind": "sale", "note": "MM20261119-", "purchase_cost": null, "actor": "助理", "created": "2026-11-19T02:01:57.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "date": "2026-11-19", "pocket": "现货", "mg": -2000, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "sale", "note": "MM20261119-", "actor": "助理", "created": "2026-11-19T02:01:48.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-19", "pocket": "现货", "mg": -6000, "kind": "sale", "note": "MM20261119-", "purchase_cost": null, "actor": "助理", "created": "2026-11-19T02:01:33.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-19", "pocket": "回收旧料", "mg": 4851, "kind": "recovery", "note": "HS202611190002", "purchase_cost": null, "actor": "助理", "created": "2026-11-19T02:01:33.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "date": "2026-11-19", "pocket": "现货", "mg": -12000, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "sale", "note": "MM20261119-", "actor": "助理2", "created": "2026-11-19T02:01:32.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "date": "2026-11-19", "pocket": "回收旧料", "mg": 7992, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "recovery", "note": "HS202611190001", "actor": "助理2", "created": "2026-11-19T02:01:32.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-19", "pocket": "现货", "mg": -3100, "kind": "sale", "note": "MM20261119-", "purchase_cost": null, "actor": "助理", "created": "2026-11-19T02:01:28.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-19", "pocket": "现货", "mg": 100, "kind": "lock_purchase", "note": "SJ20261118- 足金999 补重黄金入库", "purchase_cost": 9000, "actor": "助理", "created": "2026-11-19T02:01:28.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-19", "pocket": "现货", "mg": 3000, "kind": "lock_purchase", "note": "SJ20261118- 足金999 原锁定黄金入库", "purchase_cost": 255000, "actor": "助理", "created": "2026-11-19T02:01:28.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "after-sale:", "date": "2026-11-19", "pocket": "金料", "mg": 1000, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "return", "note": "MM20261118- · 售后回收旧料", "actor": "麦麦", "created": "2026-11-19T02:01:05.000Z", "groupId": "after-sale:", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "date": "2026-11-18", "pocket": "现货", "mg": 1500, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "order_cancel_reverse", "note": "MM20261118-;审批作废:重复录入", "actor": "麦麦", "created": "2026-11-19T02:00:45.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": null, "date": "2026-11-19", "pocket": "金料", "mg": -1200, "kind": "manual_reversal", "note": "手动库存更正冲回:", "purchase_cost": null, "actor": "麦麦", "created": "2026-11-19T02:00:21.000Z", "groupId": "", "revision": 3, "manual": false, "current": false, "status": "deleted", "reversal": true, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": null, "date": "2026-11-19", "pocket": "金料", "mg": 1200, "kind": "increase", "note": "当天手动入库", "purchase_cost": null, "actor": "助理", "created": "2026-11-19T02:00:19.000Z", "groupId": "", "revision": 3, "manual": true, "current": false, "status": "deleted", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": null, "date": "2026-11-19", "pocket": "金料", "mg": -1000, "kind": "manual_reversal", "note": "手动库存更正冲回:", "purchase_cost": null, "actor": "助理", "created": "2026-11-19T02:00:19.000Z", "groupId": "", "revision": 3, "manual": false, "current": false, "status": "deleted", "reversal": true, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": null, "date": "2026-11-19", "pocket": "金料", "mg": 1000, "kind": "increase", "note": "当天手动入库", "purchase_cost": null, "actor": "助理", "created": "2026-11-19T02:00:16.000Z", "groupId": "", "revision": 3, "manual": true, "current": false, "status": "deleted", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": null, "date": "2026-11-18", "pocket": "现货", "mg": 3000, "kind": "increase", "note": "娜娜手动入库", "purchase_cost": null, "actor": "麦麦", "created": "2026-11-19T02:00:11.000Z", "groupId": "", "revision": 2, "manual": true, "current": true, "status": "modified", "reversal": false, "canEdit": true, "canDelete": true, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": null, "date": "2026-11-18", "pocket": "现货", "mg": -2500, "kind": "manual_reversal", "note": "手动库存更正冲回:", "purchase_cost": null, "actor": "麦麦", "created": "2026-11-19T02:00:11.000Z", "groupId": "", "revision": 2, "manual": false, "current": false, "status": "modified", "reversal": true, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "date": "2026-11-18", "pocket": "现货", "mg": -4000, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "sale", "note": "MM20261118-", "actor": "麦麦", "created": "2026-11-18T02:01:34.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "date": "2026-11-18", "pocket": "现货", "mg": -800, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "sale", "note": "MM20261118-", "actor": "助理", "created": "2026-11-18T02:01:26.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "date": "2026-11-18", "pocket": "现货", "mg": -5000, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "sale", "note": "MM20261118-", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "date": "2026-11-18", "pocket": "现货", "mg": -1500, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "sale", "note": "MM20261118-", "actor": "助理2", "created": "2026-11-18T02:01:24.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "date": "2026-11-18", "pocket": "pocket_", "mg": -10000, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "sale", "note": "MM20261118-", "actor": "麦麦", "created": "2026-11-18T02:01:23.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "date": "2026-11-18", "pocket": "现货", "mg": -2000, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "sale", "note": "MM20261118-", "actor": "助理2", "created": "2026-11-18T02:01:18.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-18", "pocket": "现货", "mg": -3250, "kind": "sale", "note": "MM20261118-", "purchase_cost": null, "actor": "助理", "created": "2026-11-18T02:01:17.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": null, "date": "2026-11-18", "pocket": "现货", "mg": -500, "kind": "decrease", "note": "娜娜手动出库", "purchase_cost": null, "actor": "助理", "created": "2026-11-18T02:01:05.000Z", "groupId": "", "revision": 1, "manual": true, "current": true, "status": "active", "reversal": false, "canEdit": true, "canDelete": true, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": null, "date": "2026-11-18", "pocket": "现货", "mg": 2500, "kind": "increase", "note": "娜娜手动入库", "purchase_cost": null, "actor": "助理", "created": "2026-11-18T02:01:04.000Z", "groupId": "", "revision": 2, "manual": true, "current": false, "status": "modified", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "date": "2026-11-18", "pocket": "金料", "mg": 5000, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "transfer", "note": "调拨", "actor": "麦麦", "created": "2026-11-18T02:01:03.000Z", "groupId": "", "revision": 1, "manual": true, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "date": "2026-11-18", "pocket": "现货", "mg": -5000, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "transfer", "note": "调拨", "actor": "麦麦", "created": "2026-11-18T02:01:03.000Z", "groupId": "", "revision": 1, "manual": true, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "date": "2026-11-18", "pocket": "pocket_", "mg": 20000, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "opening", "note": "展柜起始", "actor": "麦麦", "created": "2026-11-18T02:01:02.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "date": "2026-11-18", "pocket": "金料", "mg": 50000, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "opening", "note": "黄金对照起始金料", "actor": "麦麦", "created": "2026-11-18T02:01:01.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "date": "2026-11-18", "pocket": "现货", "mg": 100000, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "opening", "note": "黄金对照起始库存", "actor": "麦麦", "created": "2026-11-18T02:01:00.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false } ] } }, { "seq": 438, "label": "snapshots-assistant", "date": "2026-11-19", "actor": "assistant", "method": "GET", "path": "/api/inventory/snapshots", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "from": "2000-01-01", "date": "2026-11-19", "snapshots": [ { "date": "2026-11-18", "inventory": [ { "pocket": "现货", "mg": 80450, "reserved": 0, "available": 80450 }, { "pocket": "金料", "mg": 55000, "reserved": 0, "available": 55000 }, { "pocket": "找金", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "回收旧料", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "君宝汇", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "臻金汇", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "金金", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "定制工厂", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "pocket_", "mg": 10000, "reserved": 0, "available": 10000 } ], "actor": "麦麦", "created": "2026-11-18T02:02:46.000Z", "updated": "2026-11-18T02:02:50.000Z", "stale": true, "revision": "3ced53bccf874039772cb33ea02c64ef6b6b7c23c841b7a40909076084b3a086", "source": "manual", "scheduled_for": null } ] } }, { "seq": 439, "label": "material-pools-assistant", "date": "2026-11-19", "actor": "assistant", "method": "GET", "path": "/api/material-pools", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "from": "2000-01-01", "date": "2026-11-19", "rows": [ { "id": "2026-11-19", "date": "2026-11-19", "rolling": true, "frozen": false, "totalMg": 38000, "totalAmount": 3456065, "usedMg": 2000, "remainingMg": 36000, "shortageMg": 0, "consumedCost": 181898, "remainingCost": 3274167, "remainingAllocations": [ { "payer": "assistant", "amount": 536167, "source_id": "", "created": "2026-11-18T02:01:09.000Z", "source_sequence": 1 }, { "payer": "owner", "amount": 1820000, "source_id": "", "created": "2026-11-18T02:01:10.000Z", "source_sequence": 2 }, { "payer": "assistant2", "amount": 88000, "source_id": "return::material:0", "created": "2026-11-19T02:01:05.000Z" }, { "payer": "assistant", "amount": 460000, "source_id": "", "created": "2026-11-19T02:02:19.000Z" }, { "payer": "assistant2", "amount": 370000, "source_id": "", "created": "2026-11-19T02:02:20.000Z" } ], "byPayer": { "owner": { "purchased": 1820000, "consumed": 0, "remaining": 1820000 }, "assistant": { "purchased": 1178065, "consumed": 181898, "remaining": 996167 }, "assistant2": { "purchased": 458000, "consumed": 0, "remaining": 458000 } }, "averageRate": 90949, "status": "using", "revision": "c2b7cf97dc5037020f6b38451266013f370e11bed92c022656cc69db8dab9cf4", "todayPurchases": { "mg": 9000, "amount": 830000, "count": 2, "items": [ { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 5000, "amount": 460000, "payer": "assistant", "note": "第二天购料", "actor": "助理", "created": "2026-11-19T02:02:19.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:19.000Z", "source_sequence": 4, "sourceKind": "purchase", "member": "assistant", "canEdit": true, "canRequestChange": false, "ownerReviewRequired": false }, { "id": "", "date": "2026-11-19", "mg": 4000, "amount": 370000, "payer": "assistant2", "shared": true, "canEdit": false, "canRequestChange": false, "sourceKind": "purchase" } ] }, "todayReturns": { "mg": 1000, "amount": 88000, "count": 1, "grossMg": 1000, "grossAmount": 88000, "grossCount": 1 }, "purchases": [ { "id": "carry:2026-11-19", "date": "2026-11-19", "mg": 28000, "amount": 2538065, "payer": "assistant", "allocations": [ { "payer": "assistant", "amount": 718065, "source_id": "", "created": "2026-11-18T02:01:09.000Z", "source_sequence": 1 }, { "payer": "owner", "amount": 1820000, "source_id": "", "created": "2026-11-18T02:01:10.000Z", "source_sequence": 2 } ], "shared": true, "canEdit": false, "canRequestChange": false, "sourceKind": "carry", "cashAmount": 0 }, { "id": "return::material:0", "date": "2026-11-19", "mg": 1000, "amount": 88000, "payer": "assistant2", "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "shared": true, "canEdit": false, "canRequestChange": false, "sourceKind": "return", "cashAmount": 0 }, { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 5000, "amount": 460000, "payer": "assistant", "note": "第二天购料", "actor": "助理", "created": "2026-11-19T02:02:19.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:19.000Z", "source_sequence": 4, "sourceKind": "purchase", "member": "assistant", "canEdit": true, "canRequestChange": false, "ownerReviewRequired": false }, { "id": "", "date": "2026-11-19", "mg": 4000, "amount": 370000, "payer": "assistant2", "shared": true, "canEdit": false, "canRequestChange": false, "sourceKind": "purchase" } ], "usages": [ { "id": "", "order_id": "", "line_index": 0, "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 2000, "active": 1, "amount": 181898, "owner_amount": 0, "assistant_amount": 181898, "revision": 1, "created": "2026-11-19T02:02:40.000Z", "updated": "2026-11-19T02:02:40.000Z", "fifo_sequence": 2, "number": "MM20261119-", "customer": "滚动料池客户", "order_status": "delivered", "assistant2_amount": 0, "member": "assistant", "product": "足金999" } ], "settlements": [], "settlement": { "legacyReadOnly": true, "pending": false, "settlementDue": null }, "opening": { "mg": 28000, "amount": 2538065, "allocations": [ { "payer": "assistant", "amount": 718065, "source_id": "", "created": "2026-11-18T02:01:09.000Z", "source_sequence": 1 }, { "payer": "owner", "amount": 1820000, "source_id": "", "created": "2026-11-18T02:01:10.000Z", "source_sequence": 2 } ] }, "returns": [ { "id": "", "date": "2026-11-19", "mg": 1000, "amount": 88000, "sameDay": false, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "anonymous": true } ], "legacyReadOnly": true }, { "id": "2026-11-18", "date": "2026-11-18", "totalMg": 31000, "totalAmount": 2810000, "averageRate": 90645, "usedMg": 3000, "remainingMg": 28000, "shortageMg": 0, "consumedCost": 271935, "remainingCost": 2538065, "status": "using", "revision": "2823f40ff78424f5423f0dbdf991ea5fcc83b0144648e9d2399869970c27af75", "purchases": [ { "id": "", "pool_id": "2026-11-18", "date": "2026-11-18", "mg": 11000, "amount": 990000, "payer": "assistant", "note": "核对凭据", "actor": "助理", "created": "2026-11-18T02:01:09.000Z", "revision": 2, "deleted_at": "", "updated": "2026-11-19T02:02:27.000Z", "member": "assistant", "canEdit": false, "canRequestChange": true, "ownerReviewRequired": true }, { "id": "", "date": "2026-11-18", "mg": 20000, "amount": 1820000, "payer": "owner", "shared": true, "canEdit": false, "canRequestChange": false } ], "usages": [ { "id": "", "order_id": "", "line_index": 0, "pool_id": "2026-11-18", "date": "2026-11-18", "mg": 3000, "active": 1, "amount": 271935, "owner_amount": 0, "assistant_amount": 271935, "revision": 3, "created": "2026-11-18T02:01:20.000Z", "updated": "2026-11-19T02:02:27.000Z", "fifo_sequence": 1, "number": "MM20261118-", "customer": "对照客户丁", "order_status": "delivered", "member": "assistant", "product": "足金999" } ], "settlements": [], "byPayer": { "owner": { "purchased": 1820000, "consumed": 0, "remaining": 1820000 }, "assistant": { "purchased": 990000, "consumed": 271935, "remaining": 718065 } }, "settlement": { "legacyReadOnly": true, "pending": false, "settlementDue": null }, "legacyReadOnly": true } ], "current": { "id": "2026-11-19", "date": "2026-11-19", "rolling": true, "frozen": false, "totalMg": 38000, "totalAmount": 3456065, "usedMg": 2000, "remainingMg": 36000, "shortageMg": 0, "consumedCost": 181898, "remainingCost": 3274167, "remainingAllocations": [ { "payer": "assistant", "amount": 536167, "source_id": "", "created": "2026-11-18T02:01:09.000Z", "source_sequence": 1 }, { "payer": "owner", "amount": 1820000, "source_id": "", "created": "2026-11-18T02:01:10.000Z", "source_sequence": 2 }, { "payer": "assistant2", "amount": 88000, "source_id": "return::material:0", "created": "2026-11-19T02:01:05.000Z" }, { "payer": "assistant", "amount": 460000, "source_id": "", "created": "2026-11-19T02:02:19.000Z" }, { "payer": "assistant2", "amount": 370000, "source_id": "", "created": "2026-11-19T02:02:20.000Z" } ], "byPayer": { "owner": { "purchased": 1820000, "consumed": 0, "remaining": 1820000 }, "assistant": { "purchased": 1178065, "consumed": 181898, "remaining": 996167 }, "assistant2": { "purchased": 458000, "consumed": 0, "remaining": 458000 } }, "averageRate": 90949, "status": "using", "revision": "c2b7cf97dc5037020f6b38451266013f370e11bed92c022656cc69db8dab9cf4", "todayPurchases": { "mg": 9000, "amount": 830000, "count": 2, "items": [ { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 5000, "amount": 460000, "payer": "assistant", "note": "第二天购料", "actor": "助理", "created": "2026-11-19T02:02:19.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:19.000Z", "source_sequence": 4, "sourceKind": "purchase", "member": "assistant", "canEdit": true, "canRequestChange": false, "ownerReviewRequired": false }, { "id": "", "date": "2026-11-19", "mg": 4000, "amount": 370000, "payer": "assistant2", "shared": true, "canEdit": false, "canRequestChange": false, "sourceKind": "purchase" } ] }, "todayReturns": { "mg": 1000, "amount": 88000, "count": 1, "grossMg": 1000, "grossAmount": 88000, "grossCount": 1 }, "purchases": [ { "id": "carry:2026-11-19", "date": "2026-11-19", "mg": 28000, "amount": 2538065, "payer": "assistant", "allocations": [ { "payer": "assistant", "amount": 718065, "source_id": "", "created": "2026-11-18T02:01:09.000Z", "source_sequence": 1 }, { "payer": "owner", "amount": 1820000, "source_id": "", "created": "2026-11-18T02:01:10.000Z", "source_sequence": 2 } ], "shared": true, "canEdit": false, "canRequestChange": false, "sourceKind": "carry", "cashAmount": 0 }, { "id": "return::material:0", "date": "2026-11-19", "mg": 1000, "amount": 88000, "payer": "assistant2", "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "shared": true, "canEdit": false, "canRequestChange": false, "sourceKind": "return", "cashAmount": 0 }, { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 5000, "amount": 460000, "payer": "assistant", "note": "第二天购料", "actor": "助理", "created": "2026-11-19T02:02:19.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:19.000Z", "source_sequence": 4, "sourceKind": "purchase", "member": "assistant", "canEdit": true, "canRequestChange": false, "ownerReviewRequired": false }, { "id": "", "date": "2026-11-19", "mg": 4000, "amount": 370000, "payer": "assistant2", "shared": true, "canEdit": false, "canRequestChange": false, "sourceKind": "purchase" } ], "usages": [ { "id": "", "order_id": "", "line_index": 0, "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 2000, "active": 1, "amount": 181898, "owner_amount": 0, "assistant_amount": 181898, "revision": 1, "created": "2026-11-19T02:02:40.000Z", "updated": "2026-11-19T02:02:40.000Z", "fifo_sequence": 2, "number": "MM20261119-", "customer": "滚动料池客户", "order_status": "delivered", "assistant2_amount": 0, "member": "assistant", "product": "足金999" } ], "settlements": [], "settlement": { "legacyReadOnly": true, "pending": false, "settlementDue": null }, "opening": { "mg": 28000, "amount": 2538065, "allocations": [ { "payer": "assistant", "amount": 718065, "source_id": "", "created": "2026-11-18T02:01:09.000Z", "source_sequence": 1 }, { "payer": "owner", "amount": 1820000, "source_id": "", "created": "2026-11-18T02:01:10.000Z", "source_sequence": 2 } ] }, "returns": [ { "id": "", "date": "2026-11-19", "mg": 1000, "amount": 88000, "sameDay": false, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "anonymous": true } ], "legacyReadOnly": true }, "rolling": { "enabled": true, "cutover": "2026-11-19", "canEnable": false, "reason": "" }, "summary": { "totalMg": 38000, "totalAmount": 3456065, "usedMg": 2000, "remainingMg": 36000, "remainingCost": 3274167, "shortageMg": 0, "pendingCount": 0, "purchaseCount": 2 }, "settlement": { "legacyReadOnly": true, "settlementDue": 0, "knownSettlementDue": 0, "pendingCount": 0, "pools": [] } } }, { "seq": 440, "label": "price-locks-assistant", "date": "2026-11-19", "actor": "assistant", "method": "GET", "path": "/api/price-locks?status=all", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "from": "2000-01-01", "date": "2026-11-19", "rows": [ { "id": "", "number": "SJ20261118-", "date": "2026-11-18", "customer": "对照锁价客户(改)", "salesperson": "娜娜", "note": "锁价备注", "line": { "name": "足金999", "code": "", "unit": "g", "quantity": 3000, "pocket": "", "payer": "owner", "costPayers": { "material": "owner", "labor": "owner" }, "cost": 255000, "costParts": { "material": 255000, "labor": 0, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 276000, "baseSale": 276000, "charges": [], "pricingMode": "auto", "goldPrice": 90000, "laborRate": 2000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 900.00元/克 + 工费 20.00元/克" }, "locked_mg": 3000, "sell_rate": 90000, "buy_rate": 85000, "buy_payer": "owner", "material_amount": 255000, "estimated_total": 276000, "discount": 0, "status": "delivered", "revision": 3, "final_order_id": "", "delivery": { "date": "2026-11-19", "total": 286200, "difference": 16200, "lines": [ { "lineId": "", "date": "2026-11-19", "quantity": 3100, "original_used_mg": 3000, "extra_mg": 100, "leftover_mg": 0, "leftover_cost": 0, "inventory": { "pocket": "现货", "original": "receive", "extra": "receive" } } ], "quantity": 3100, "original_used_mg": 3000, "extra_mg": 100, "leftover_mg": 0, "leftover_cost": 0, "inventory": { "pocket": "现货", "original": "receive", "extra": "receive" } }, "actor": "助理", "created": "2026-11-18T02:01:53.000Z", "updated": "2026-11-19T02:01:28.000Z", "cancelled_at": null, "cancelled_reason": null, "lines": [ { "id": "", "line_index": 0, "line": { "name": "足金999", "code": "", "unit": "g", "quantity": 3000, "pocket": "", "payer": "owner", "costPayers": { "material": "owner", "labor": "owner" }, "cost": 255000, "costParts": { "material": 255000, "labor": 0, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 276000, "baseSale": 276000, "charges": [], "pricingMode": "auto", "goldPrice": 90000, "laborRate": 2000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 900.00元/克 + 工费 20.00元/克" }, "locked_mg": 3000, "sell_rate": 90000, "buy_rate": 85000, "buy_payer": "owner", "material_amount": 255000, "material_source": "manual", "delivery": { "lineId": "", "date": "2026-11-19", "quantity": 3100, "original_used_mg": 3000, "extra_mg": 100, "leftover_mg": 0, "leftover_cost": 0, "inventory": { "pocket": "现货", "original": "receive", "extra": "receive" } } } ], "member": "assistant", "kind": "priceLock", "credit_card_rate_permille": 6, "material_source": "manual", "cash_events": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 270000, "account": "助理微信", "payer": null, "source": null, "quantity": null, "rate": null, "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:53.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null, "card_fee_amount": null, "card_fee_payer": null, "card_fee_expense_id": null, "card_fee_rate": null, "card_fee_note": null }, { "id": "", "price_lock_id": "", "date": "2026-11-19", "kind": "receipt", "amount": 16200, "account": "助理支付宝", "payer": null, "source": null, "quantity": null, "rate": null, "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-19T02:01:28.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null, "card_fee_amount": null, "card_fee_payer": null, "card_fee_expense_id": null, "card_fee_rate": null, "card_fee_note": null } ], "material_events": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "material", "amount": 255000, "account": null, "payer": "owner", "source": "original", "quantity": 3000, "rate": 85000, "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:53.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "card_fee_amount": null, "card_fee_payer": null, "card_fee_expense_id": null, "card_fee_rate": null, "card_fee_note": null }, { "id": "", "price_lock_id": "", "date": "2026-11-19", "kind": "material", "amount": 9000, "account": null, "payer": "assistant", "source": "extra", "quantity": 100, "rate": 90000, "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-19T02:01:28.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "card_fee_amount": null, "card_fee_payer": null, "card_fee_expense_id": null, "card_fee_rate": null, "card_fee_note": null } ], "voided_events": [], "received": 286200, "refunded": 0, "netReceived": 286200, "credit_card_fees": [], "credit_card_fee_total": 0 }, { "id": "", "number": "SJ20261118-", "date": "2026-11-18", "customer": "对照锁价客户二", "salesperson": "娜娜", "note": "锁价备注", "line": { "name": "足金999", "code": "", "unit": "g", "quantity": 3000, "pocket": "", "payer": "owner", "costPayers": { "material": "owner", "labor": "owner" }, "cost": 255000, "costParts": { "material": 255000, "labor": 0, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 276000, "baseSale": 276000, "charges": [], "pricingMode": "auto", "goldPrice": 90000, "laborRate": 2000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 900.00元/克 + 工费 20.00元/克" }, "locked_mg": 3000, "sell_rate": 90000, "buy_rate": 85000, "buy_payer": "owner", "material_amount": 255000, "estimated_total": 276000, "discount": 0, "status": "pending", "revision": 2, "final_order_id": null, "delivery": null, "actor": "助理", "created": "2026-11-18T02:01:54.000Z", "updated": "2026-11-18T02:02:02.000Z", "cancelled_at": null, "cancelled_reason": null, "lines": [ { "id": "", "line_index": 0, "line": { "name": "足金999", "code": "", "unit": "g", "quantity": 3000, "pocket": "", "payer": "owner", "costPayers": { "material": "owner", "labor": "owner" }, "cost": 255000, "costParts": { "material": 255000, "labor": 0, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 276000, "baseSale": 276000, "charges": [], "pricingMode": "auto", "goldPrice": 90000, "laborRate": 2000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 900.00元/克 + 工费 20.00元/克" }, "locked_mg": 3000, "sell_rate": 90000, "buy_rate": 85000, "buy_payer": "owner", "material_amount": 255000, "material_source": "manual", "delivery": null } ], "member": "assistant", "kind": "priceLock", "credit_card_rate_permille": 6, "material_source": "manual", "cash_events": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 120000, "account": "助理支付宝", "payer": null, "source": null, "quantity": null, "rate": null, "number": "SJ20261118-", "customer": "对照锁价客户二", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:02:02.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null, "card_fee_amount": null, "card_fee_payer": null, "card_fee_expense_id": null, "card_fee_rate": null, "card_fee_note": null } ], "material_events": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "material", "amount": 255000, "account": null, "payer": "owner", "source": "original", "quantity": 3000, "rate": 85000, "number": "SJ20261118-", "customer": "对照锁价客户二", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:54.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "card_fee_amount": null, "card_fee_payer": null, "card_fee_expense_id": null, "card_fee_rate": null, "card_fee_note": null } ], "voided_events": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 100000, "account": "助理支付宝", "payer": null, "source": null, "quantity": null, "rate": null, "number": "SJ20261118-", "customer": "对照锁价客户二", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:54.000Z", "line_index": null, "voided": 1, "void_reason": "当天更正收款", "voided_at": "2026-11-18T02:02:02.000Z", "card_fee_amount": null, "card_fee_payer": null, "card_fee_expense_id": null, "card_fee_rate": null, "card_fee_note": null } ], "received": 120000, "refunded": 0, "netReceived": 120000, "credit_card_fees": [], "credit_card_fee_total": 0 } ], "counts": { "pending": 1, "delivered": 1, "cancelled": 0 } } }, { "seq": 441, "label": "recoveries-list-assistant", "date": "2026-11-19", "actor": "assistant", "method": "GET", "path": "/api/recoveries", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "from": "2026-11-19", "date": "2026-11-19", "rows": [ { "mode": "exchange", "date": "2026-11-19", "customer": "对照换货客户二", "customer_type": "unknown", "salesperson": "娜娜", "member": "assistant", "note": "", "old_lines": [ { "name": "Au旧料", "incomingMg": 5000, "meltedMg": 4900, "purity": 99, "foldedMg": 4851 } ], "oldMg": 4851, "oldPocket": "回收旧料", "credit_card_rate_permille": 6, "newMg": 6000, "matchedMg": 4851, "differenceMg": 1149, "surplusMg": 0, "goldRate": 100000, "laborRate": 2000, "laborMode": "gram", "depreciationRate": 1000, "depreciationMg": 4851, "goldAmount": 114900, "laborAmount": 12000, "depreciationAmount": 4851, "charges": [], "chargesAmount": 0, "discount": 1000, "rounding_mode": "yuan", "rounding_adjustment": 49, "receivable": 130800, "payer": "assistant", "payment_account": "助理微信", "materialCost": 103410, "laborCost": 3000, "goodsCost": 106410, "directCost": 0, "profit": 24390, "newProduct": { "name": "足金对照新货", "quantity": 6000, "pocket": "现货" }, "exchange": { "costMaterial": { "mode": "total", "rate": 90000, "consumptionMg": 1149 }, "costLabor": { "mode": "gram", "rate": 500 }, "costPayer": "assistant", "costPayers": { "material": "assistant", "labor": "assistant" }, "fee_items": [] }, "purchaseMg": 0, "buyRate": 0, "calculatedPurchaseAmount": 0, "purchaseAmount": 0, "actualBuyRate": null, "offsetAmount": 0, "netSettlement": 130800, "cashReceipt": 130800, "cashPayment": 0, "cardFee": 0, "paymentMethods": [ "微信" ], "id": "", "number": "HS202611190002", "order_id": "", "purchase_id": null, "created": "2026-11-19T02:01:33.000Z", "actor": "助理", "revision": 1, "paper_number": "20261119012", "materialCostPending": false, "status": "active", "cancelledAt": "", "canEdit": true, "canCancel": true, "pendingRequestId": null, "immutableReason": "本单关联黄金回收/置换、购料及库存,暂不支持普通订单修改、取消、退款、退货或费用变更,请保留原关联记录", "printStatus": { "kind": "recovery", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } } ], "summary": { "count": 1, "cancelledCount": 0, "directCount": 0, "exchangeCount": 1, "oldMg": 4851, "newMg": 6000, "purchaseMg": 0, "purchaseAmount": 0, "receivable": 130800, "offsetAmount": 0, "cashReceipt": 130800, "cashPayment": 0 } } }, { "seq": 442, "label": "order-changes-all-assistant", "date": "2026-11-19", "actor": "assistant", "method": "GET", "path": "/api/order-changes?status=all", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "requests": [ { "id": "", "order_id": "", "order_revision": 4, "action": "expense", "reason": "补记快递", "status": "approved", "requester_id": "", "requester_name": "助理", "requester_role": "assistant", "created": "2026-11-19T02:00:36.000Z", "reviewer_id": "", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:00:37.000Z", "note": "核实", "action_label": "费用补记", "action_input": { "date": "2026-11-19", "amount": "10", "payer": "assistant", "note": "补寄快递" }, "order_number": "MM20261118-", "order_date": "2026-11-18", "order_status": "delivered", "stale": false, "canApprove": false, "before": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照客户丁", "salesperson": "娜娜", "note": "", "paper_number": "20261118004", "status": "delivered", "lines": [ { "name": "足金999", "code": "", "unit": "g", "quantity": 3000, "pocket": "", "payer": "assistant", "cost": 272000, "costParts": { "material": 272000, "labor": 0, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "pool", "poolId": "2026-11-18" }, "costLabor": { "mode": "total" }, "sale": 330000, "baseSale": 330000, "charges": [], "pricingMode": "manual", "priceNote": "", "materialPool": { "poolId": "2026-11-18", "date": "2026-11-18", "status": "allocated", "amount": 272000, "quantity": 3000, "averageRate": 90667, "allocations": [ { "payer": "assistant", "amount": 272000 } ], "revision": "e3072e81dd7b585b863bbbe6f312844a32ece32c2856aea4df479b9ceab74c55" } } ], "discount": 0, "total": 330000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:20.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理现金", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "料池单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant", "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 330000, "account": "助理现金", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-18T02:01:20.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 330000, "refunded": 0, "netReceived": 330000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 272000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 272000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 58000, "profit": 58000, "knownProfit": 58000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "sync": { "revision": 4, "done_revision": 0, "error": null, "updated": "2026-11-18T02:01:20.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 }, "after": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照客户丁", "salesperson": "娜娜", "note": "", "paper_number": "20261118004", "status": "delivered", "lines": [ { "name": "足金999", "code": "", "unit": "g", "quantity": 3000, "pocket": "", "payer": "assistant", "cost": 272000, "costParts": { "material": 272000, "labor": 0, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "pool", "poolId": "2026-11-18" }, "costLabor": { "mode": "total" }, "sale": 330000, "baseSale": 330000, "charges": [], "pricingMode": "manual", "priceNote": "", "materialPool": { "poolId": "2026-11-18", "date": "2026-11-18", "status": "allocated", "amount": 272000, "quantity": 3000, "averageRate": 90667, "allocations": [ { "payer": "assistant", "amount": 272000 } ], "revision": "e3072e81dd7b585b863bbbe6f312844a32ece32c2856aea4df479b9ceab74c55" } } ], "discount": 0, "total": 330000, "revision": 5, "reviewed_revision": 0, "created": "2026-11-18T02:01:20.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理现金", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "料池单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant", "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 330000, "account": "助理现金", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-18T02:01:20.000Z" } ], "expenses": [ { "id": "", "order_id": "", "date": "2026-11-19", "amount": 1000, "payer": "assistant", "note": "补寄快递", "actor": "助理", "created": "2026-11-19T02:00:36.000Z" } ], "settlements": [], "corrections": [], "received": 330000, "refunded": 0, "netReceived": 330000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 272000, "directCost": 1000, "materialCostPending": false, "knownGoodsCost": 272000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 57000, "profit": 57000, "knownProfit": 57000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "sync": { "revision": 5, "done_revision": 0, "error": null, "updated": "2026-11-19T02:00:36.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 }, "summary": { "before": { "total": 330000, "netReceived": 330000, "goodsCost": 272000, "directCost": 0, "profit": 58000, "settlementDue": 0, "materialCostPending": false }, "after": { "total": 330000, "netReceived": 330000, "goodsCost": 272000, "directCost": 1000, "profit": 57000, "settlementDue": 0, "materialCostPending": false }, "inventory": { "before": [], "after": [], "changes": [] } }, "changes": [ { "field": "expenses", "label": "实际费用流水", "before": [], "after": [ { "id": "", "order_id": "", "date": "2026-11-19", "amount": 1000, "payer": "assistant", "note": "补寄快递", "actor": "助理", "created": "2026-11-19T02:00:36.000Z" } ] }, { "field": "directCost", "label": "直接费用", "before": 0, "after": 1000 }, { "field": "profit", "label": "利润", "before": 58000, "after": 57000 } ], "relatedOrders": [] }, { "id": "", "order_id": "", "order_revision": 4, "action": "edit", "reason": "跨天修改客户名", "status": "approved", "requester_id": "", "requester_name": "助理", "requester_role": "assistant", "created": "2026-11-19T02:00:25.000Z", "reviewer_id": "", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:00:31.000Z", "note": "凭据已核对", "action_label": "修改订单", "order_number": "MM20261118-", "order_date": "2026-11-18", "order_status": "delivered", "stale": false, "canApprove": false, "before": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照客户甲", "salesperson": "娜娜", "note": "客户单备注", "paper_number": "20261118001", "status": "delivered", "lines": [ { "name": "足金999", "code": "", "unit": "g", "quantity": 3250, "pocket": "现货", "payer": "assistant", "costPayers": { "material": "owner", "labor": "assistant" }, "cost": 290200, "costParts": { "material": 286000, "labor": 4000, "accessories": 200, "other": 0 }, "costMaterial": { "mode": "gram", "rate": 88000 }, "costLabor": { "mode": "total" }, "sale": 321050, "baseSale": 318500, "charges": [ { "name": "刻字", "amount": 2000 }, { "name": "包装", "amount": 550 } ], "pricingMode": "auto", "goldPrice": 95000, "laborRate": 3000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 950.00元/克 + 工费 30.00元/克" } ], "discount": 0, "total": 321100, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:17.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理微信", "fee_items": [ { "key": "shipping", "amount": 1200, "payer": "assistant", "note": "快递", "status": "recorded", "edited": false } ], "fees_date": "2026-11-18", "rounding_mode": "yuan", "internal_note": "#复购 内部备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant", "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 321100, "account": "助理微信", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-18T02:01:17.000Z" } ], "expenses": [ { "id": "", "order_id": "", "date": "2026-11-18", "amount": 1200, "payer": "assistant", "note": "快递", "actor": "助理", "created": "2026-11-18T02:01:17.000Z" } ], "settlements": [], "corrections": [], "received": 321100, "refunded": 0, "netReceived": 321100, "balance": 0, "rounding_adjustment": 50, "goodsCost": 290200, "directCost": 1200, "materialCostPending": false, "knownGoodsCost": 290200, "pendingFees": [], "draftFees": 0, "estimatedProfit": 29700, "profit": 29700, "knownProfit": 29700, "ownerCost": 286000, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "sync": { "revision": 4, "done_revision": 0, "error": null, "updated": "2026-11-18T02:01:17.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 }, "after": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照客户甲(改)", "salesperson": "娜娜", "note": "客户单备注", "paper_number": "20261118001", "status": "delivered", "lines": [ { "name": "足金999", "code": "", "unit": "g", "quantity": 3250, "pocket": "现货", "payer": "assistant", "costPayers": { "material": "owner", "labor": "assistant" }, "cost": 290200, "costParts": { "material": 286000, "labor": 4000, "accessories": 200, "other": 0 }, "costMaterial": { "mode": "gram", "rate": 88000 }, "costLabor": { "mode": "total" }, "sale": 321050, "baseSale": 318500, "charges": [ { "name": "刻字", "amount": 2000 }, { "name": "包装", "amount": 550 } ], "pricingMode": "auto", "goldPrice": 95000, "laborRate": 3000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 950.00元/克 + 工费 30.00元/克" } ], "discount": 0, "total": 321100, "revision": 5, "reviewed_revision": 0, "created": "2026-11-18T02:01:17.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理微信", "fee_items": [ { "key": "shipping", "amount": 1200, "payer": "assistant", "note": "快递", "status": "recorded", "edited": true, "date": "2026-11-18", "expense_id": "" } ], "fees_date": "2026-11-18", "rounding_mode": "yuan", "internal_note": "#复购 内部备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant", "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 321100, "account": "助理微信", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-18T02:01:17.000Z" } ], "expenses": [ { "id": "", "order_id": "", "date": "2026-11-18", "amount": 1200, "payer": "assistant", "note": "快递", "actor": "助理", "created": "2026-11-18T02:01:17.000Z" } ], "settlements": [], "corrections": [], "received": 321100, "refunded": 0, "netReceived": 321100, "balance": 0, "rounding_adjustment": 50, "goodsCost": 290200, "directCost": 1200, "materialCostPending": false, "knownGoodsCost": 290200, "pendingFees": [], "draftFees": 0, "estimatedProfit": 29700, "profit": 29700, "knownProfit": 29700, "ownerCost": 286000, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "sync": { "revision": 5, "done_revision": 0, "error": null, "updated": "2026-11-19T02:00:25.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 }, "summary": { "before": { "total": 321100, "netReceived": 321100, "goodsCost": 290200, "directCost": 1200, "profit": 29700, "settlementDue": 0, "materialCostPending": false }, "after": { "total": 321100, "netReceived": 321100, "goodsCost": 290200, "directCost": 1200, "profit": 29700, "settlementDue": 0, "materialCostPending": false }, "inventory": { "before": [ { "date": "2026-11-18", "pocket": "现货", "kind": "sale", "mg": -3250 } ], "after": [ { "date": "2026-11-18", "pocket": "现货", "kind": "sale", "mg": -3250 } ], "changes": [] } }, "changes": [ { "field": "customer", "label": "客户称呼", "before": "对照客户甲", "after": "对照客户甲(改)" }, { "field": "fee_items", "label": "实际费用", "before": [ { "key": "shipping", "amount": 1200, "payer": "assistant", "note": "快递", "status": "recorded", "edited": false } ], "after": [ { "key": "shipping", "amount": 1200, "payer": "assistant", "note": "快递", "status": "recorded", "edited": true, "date": "2026-11-18", "expense_id": "" } ] } ], "relatedOrders": [] } ], "counts": { "pending": 0, "approved": 2, "rejected": 0 }, "canApprove": false } }, { "seq": 443, "label": "cancellations-all-assistant", "date": "2026-11-19", "actor": "assistant", "method": "GET", "path": "/api/order-cancellations?status=all", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "requests": [ { "id": "", "order_id": "", "order_revision": 4, "reason": "当天录错", "status": "approved", "requester_id": "", "requester_name": "助理", "requester_role": "assistant", "created": "2026-11-19T02:01:59.000Z", "reviewer_id": null, "reviewer_name": null, "reviewed": null, "note": "", "direct": true, "operator_name": "助理", "executedAt": "2026-11-19T02:01:59.000Z", "order_number": "MM20261119-", "order_date": "2026-11-19", "order_status": "delivered", "requiresLegacyCountVerified": false, "legacyCountNotice": "", "stale": false, "canApprove": false, "summary": { "total": 210000, "netReceived": 210000, "goodsCost": 180000, "directCost": 0, "profit": 30000, "settlementDue": 0, "inventory": [ { "date": "2026-11-19", "pocket": "现货", "mg": 2000 } ] } }, { "id": "", "order_id": "", "order_revision": 5, "reason": "客户想退", "status": "rejected", "requester_id": "", "requester_name": "助理", "requester_role": "assistant", "created": "2026-11-19T02:00:58.000Z", "reviewer_id": "", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:00:59.000Z", "note": "已交付不取消", "order_number": "MM20261118-", "order_date": "2026-11-18", "order_status": "delivered", "requiresLegacyCountVerified": false, "legacyCountNotice": "", "stale": false, "canApprove": false, "summary": { "total": 330000, "netReceived": 330000, "goodsCost": 272000, "directCost": 1000, "profit": 57000, "settlementDue": 0, "inventory": [] } } ], "counts": { "pending": 0, "approved": 1, "rejected": 1 }, "canApprove": false } }, { "seq": 444, "label": "ownership-all-assistant", "date": "2026-11-19", "actor": "assistant", "method": "GET", "path": "/api/order-ownership-changes?status=all", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "requests": [ { "id": "", "order_id": "", "order_revision": 5, "from_member": "assistant", "to_member": "assistant2", "reason": "申请转给小昊", "status": "rejected", "direct": false, "requester_id": "", "requester_name": "助理", "requester_role": "assistant", "created": "2026-11-19T02:00:53.000Z", "reviewer_id": "", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:00:56.000Z", "note": "不转", "before": { "member": "assistant", "label": "娜娜" }, "after": { "member": "assistant2", "label": "小昊" }, "order_number": "MM20261118-", "order_customer": "对照客户丙", "order_date": "2026-11-18", "order_status": "delivered", "stale": false, "canApprove": false } ], "counts": { "pending": 0, "approved": 0, "rejected": 1 }, "canApprove": false } }, { "seq": 445, "label": "lock-changes-all-assistant", "date": "2026-11-19", "actor": "assistant", "method": "GET", "path": "/api/price-lock-changes?status=all", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "rows": [ { "id": "", "price_lock_id": "", "price_lock_revision": 1, "action": "edit", "reason": "改客户名", "payload": { "date": "2026-11-18", "customer": "对照锁价客户(改)", "salesperson": "娜娜", "note": "锁价备注", "discount": "0.00", "member": "assistant", "payment": { "amount": "2700.00", "account": "助理微信", "verified": true }, "lines": [ { "name": "足金999", "code": "", "unit": "g", "quantity": "3.000", "goldPrice": "900.00", "laborRate": "20.00", "laborMode": "gram", "pieces": 1, "charges": [], "lineId": "", "material": { "source": "manual", "rate": "850.00", "payer": "owner", "verified": true } } ], "action": "edit", "revision": 1, "reason": "改客户名", "verified": true }, "status": "approved", "requester_id": "", "requester_name": "助理", "requester_role": "assistant", "created": "2026-11-19T02:01:18.000Z", "reviewer_id": "", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:01:21.000Z", "note": "核实", "requestId": "", "revision": 1, "before": { "id": "", "number": "SJ20261118-", "date": "2026-11-18", "customer": "对照锁价客户", "salesperson": "娜娜", "note": "锁价备注", "line": { "name": "足金999", "code": "", "unit": "g", "quantity": 3000, "pocket": "", "payer": "owner", "costPayers": { "material": "owner", "labor": "owner" }, "cost": 255000, "costParts": { "material": 255000, "labor": 0, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 276000, "baseSale": 276000, "charges": [], "pricingMode": "auto", "goldPrice": 90000, "laborRate": 2000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 900.00元/克 + 工费 20.00元/克" }, "locked_mg": 3000, "sell_rate": 90000, "buy_rate": 85000, "buy_payer": "owner", "material_amount": 255000, "estimated_total": 276000, "discount": 0, "status": "pending", "revision": 1, "final_order_id": null, "delivery": null, "actor": "助理", "created": "2026-11-18T02:01:53.000Z", "updated": "2026-11-18T02:01:53.000Z", "cancelled_at": null, "cancelled_reason": null, "lines": [ { "id": "", "line_index": 0, "line": { "name": "足金999", "code": "", "unit": "g", "quantity": 3000, "pocket": "", "payer": "owner", "costPayers": { "material": "owner", "labor": "owner" }, "cost": 255000, "costParts": { "material": 255000, "labor": 0, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 276000, "baseSale": 276000, "charges": [], "pricingMode": "auto", "goldPrice": 90000, "laborRate": 2000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 900.00元/克 + 工费 20.00元/克" }, "locked_mg": 3000, "sell_rate": 90000, "buy_rate": 85000, "buy_payer": "owner", "material_amount": 255000, "material_source": "manual", "delivery": null } ], "member": "assistant", "kind": "priceLock", "credit_card_rate_permille": 6, "material_source": "manual", "cash_events": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 270000, "account": "助理微信", "payer": null, "source": null, "quantity": null, "rate": null, "number": "SJ20261118-", "customer": "对照锁价客户", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:53.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null, "card_fee_amount": null, "card_fee_payer": null, "card_fee_expense_id": null, "card_fee_rate": null, "card_fee_note": null } ], "material_events": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "material", "amount": 255000, "account": null, "payer": "owner", "source": "original", "quantity": 3000, "rate": 85000, "number": "SJ20261118-", "customer": "对照锁价客户", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:53.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "card_fee_amount": null, "card_fee_payer": null, "card_fee_expense_id": null, "card_fee_rate": null, "card_fee_note": null } ], "voided_events": [], "received": 270000, "refunded": 0, "netReceived": 270000, "credit_card_fees": [], "credit_card_fee_total": 0 }, "after": { "id": "", "number": "SJ20261118-", "date": "2026-11-18", "customer": "对照锁价客户(改)", "salesperson": "娜娜", "note": "锁价备注", "line": { "name": "足金999", "code": "", "unit": "g", "quantity": 3000, "pocket": "", "payer": "owner", "costPayers": { "material": "owner", "labor": "owner" }, "cost": 255000, "costParts": { "material": 255000, "labor": 0, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 276000, "baseSale": 276000, "charges": [], "pricingMode": "auto", "goldPrice": 90000, "laborRate": 2000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 900.00元/克 + 工费 20.00元/克" }, "locked_mg": 3000, "sell_rate": 90000, "buy_rate": 85000, "buy_payer": "owner", "material_amount": 255000, "estimated_total": 276000, "discount": 0, "status": "pending", "revision": 2, "final_order_id": null, "delivery": null, "actor": "助理", "created": "2026-11-18T02:01:53.000Z", "updated": "2026-11-19T02:01:18.000Z", "cancelled_at": null, "cancelled_reason": null, "lines": [ { "id": "", "line_index": 0, "line": { "name": "足金999", "code": "", "unit": "g", "quantity": 3000, "pocket": "", "payer": "owner", "costPayers": { "material": "owner", "labor": "owner" }, "cost": 255000, "costParts": { "material": 255000, "labor": 0, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 276000, "baseSale": 276000, "charges": [], "pricingMode": "auto", "goldPrice": 90000, "laborRate": 2000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 900.00元/克 + 工费 20.00元/克" }, "locked_mg": 3000, "sell_rate": 90000, "buy_rate": 85000, "buy_payer": "owner", "material_amount": 255000, "material_source": "manual", "delivery": null } ], "member": "assistant", "kind": "priceLock", "credit_card_rate_permille": 6, "material_source": "manual", "cash_events": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 270000, "account": "助理微信", "payer": null, "source": null, "quantity": null, "rate": null, "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:53.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null, "card_fee_amount": null, "card_fee_payer": null, "card_fee_expense_id": null, "card_fee_rate": null, "card_fee_note": null } ], "material_events": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "material", "amount": 255000, "account": null, "payer": "owner", "source": "original", "quantity": 3000, "rate": 85000, "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:53.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "card_fee_amount": null, "card_fee_payer": null, "card_fee_expense_id": null, "card_fee_rate": null, "card_fee_note": null } ], "voided_events": [], "received": 270000, "refunded": 0, "netReceived": 270000, "credit_card_fees": [], "credit_card_fee_total": 0 }, "changes": [ { "field": "customer", "before": "对照锁价客户", "after": "对照锁价客户(改)" } ], "relatedOrders": [], "relatedPriceLocks": [], "stale": false } ] } }, { "seq": 446, "label": "recovery-changes-all-assistant", "date": "2026-11-19", "actor": "assistant", "method": "GET", "path": "/api/recovery-changes?status=all", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "requests": [], "counts": { "pending": 0, "approved": 0, "rejected": 0 } } }, { "seq": 447, "label": "purchase-changes-all-assistant", "date": "2026-11-19", "actor": "assistant", "method": "GET", "path": "/api/material-purchase-changes?status=all", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "rows": [ { "id": "", "purchase_id": "", "purchase_revision": 2, "action": "delete", "reason": "申请删除历史购料", "status": "rejected", "requester_id": "", "requester_name": "助理", "requester_role": "assistant", "created": "2026-11-19T02:02:29.000Z", "reviewer_id": "", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:02:30.000Z", "note": "购料真实存在", "stale": false, "canApprove": false, "preview": { "before": { "id": "", "date": "2026-11-18", "mg": 11000, "amount": 990000, "payer": "assistant", "note": "核对凭据", "revision": 2 }, "after": null, "relatedOrders": [ { "id": "", "number": "20261118004", "date": "2026-11-18", "member": "assistant", "before": { "goodsCost": 271935, "profit": 57065, "settlementDue": 0, "ownerCost": 0, "total": 330000, "netReceived": 330000 }, "after": { "goodsCost": 273000, "profit": 56000, "settlementDue": 0, "ownerCost": 273000, "total": 330000, "netReceived": 330000 } } ], "affectedDates": [ "2026-11-18" ], "summary": { "affectedOrderCount": 1 } } }, { "id": "", "purchase_id": "", "purchase_revision": 1, "action": "edit", "reason": "核对原始购料凭据后申请", "status": "approved", "requester_id": "", "requester_name": "助理", "requester_role": "assistant", "created": "2026-11-19T02:02:23.000Z", "reviewer_id": "", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:02:27.000Z", "note": "已核对付款凭据", "stale": false, "canApprove": false, "preview": { "before": { "id": "", "date": "2026-11-18", "mg": 10000, "amount": 900000, "payer": "assistant", "note": "娜娜购料", "revision": 1 }, "after": { "id": "", "date": "2026-11-18", "mg": 11000, "amount": 990000, "payer": "assistant", "note": "核对凭据", "revision": 2 }, "relatedOrders": [ { "id": "", "number": "20261118004", "date": "2026-11-18", "member": "assistant", "before": { "goodsCost": 272000, "profit": 57000, "settlementDue": 0, "ownerCost": 0, "total": 330000, "netReceived": 330000 }, "after": { "goodsCost": 271935, "profit": 57065, "settlementDue": 0, "ownerCost": 0, "total": 330000, "netReceived": 330000 } } ], "affectedDates": [ "2026-11-18" ], "summary": { "affectedOrderCount": 1 } } } ], "counts": { "pending": 0, "approved": 1, "rejected": 1 } } }, { "seq": 448, "label": "after-sale-changes-all-assistant", "date": "2026-11-19", "actor": "assistant", "method": "GET", "path": "/api/after-sales/changes?status=all", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "requests": [ { "id": "", "afterSaleId": "", "revision": 2, "recordRevision": 2, "status": "rejected", "reason": "再次调整", "before": { "date": "2026-11-18", "project": "对照改圈", "customer": "对照售后客户", "amount": 950, "payer": "assistant" }, "after": { "date": "2026-11-18", "project": "对照改圈", "customer": "对照售后客户", "amount": 1200, "payer": "assistant" }, "member": "assistant", "requesterName": "助理", "requesterMember": "assistant", "created": "2026-11-19T02:01:14.000Z", "reviewerName": "麦麦", "reviewed": "2026-11-19T02:01:15.000Z", "note": "金额无误", "stale": false, "staleReason": "", "canApprove": false }, { "id": "", "afterSaleId": "", "revision": 2, "recordRevision": 1, "status": "approved", "reason": "金额录错", "before": { "date": "2026-11-18", "project": "对照改圈", "customer": "对照售后客户", "amount": 850, "payer": "assistant" }, "after": { "date": "2026-11-18", "project": "对照改圈", "customer": "对照售后客户", "amount": 950, "payer": "assistant" }, "member": "assistant", "requesterName": "助理", "requesterMember": "assistant", "created": "2026-11-19T02:01:09.000Z", "reviewerName": "麦麦", "reviewed": "2026-11-19T02:01:12.000Z", "note": "核实", "stale": false, "staleReason": "", "canApprove": false } ], "counts": { "pending": 0, "approved": 1, "rejected": 1 } } }, { "seq": 449, "label": "report-d2-assistant2", "date": "2026-11-19", "actor": "assistant2", "method": "GET", "path": "/api/report?date=2026-11-19", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "date": "2026-11-19", "from": "2026-11-19", "sales": 552792, "goods": 458720, "knownGoods": 458720, "expense": 800, "profit": 93272, "knownProfit": 93272, "materialCostPending": false, "pendingMaterialCount": 0, "materialPoolActivity": { "from": "2026-11-19", "to": "2026-11-19", "purchases": [ { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 4000, "amount": 370000, "payer": "assistant2", "note": "", "actor": "助理2", "created": "2026-11-19T02:02:20.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:20.000Z" } ], "settlements": [], "events": [] }, "materialPoolSettlement": { "legacyReadOnly": true, "settlementDue": 0, "knownSettlementDue": 0, "pendingCount": 0, "pools": [] }, "delivered": 2, "returns": 0, "accounts": [ { "account": "助理微信", "receipt": 210000, "refund": 0 }, { "account": "助理支付宝", "receipt": 0, "refund": 0 }, { "account": "助理现金", "receipt": 0, "refund": 0 }, { "account": "麦麦微信", "receipt": 0, "refund": 0 }, { "account": "麦麦支付宝", "receipt": 0, "refund": 0 }, { "account": "麦麦现金", "receipt": 0, "refund": 0 }, { "account": "助理信用卡", "receipt": 0, "refund": 0 }, { "account": "麦麦信用卡", "receipt": 0, "refund": 0 }, { "account": "助理2微信", "receipt": 432792, "refund": 0 }, { "account": "助理2支付宝", "receipt": 0, "refund": 90000 }, { "account": "助理2现金", "receipt": 0, "refund": 0 }, { "account": "助理2信用卡", "receipt": 0, "refund": 0 } ], "payments": [ { "id": "", "order_id": "", "date": "2026-11-19", "kind": "refund", "amount": 90000, "account": "助理2支付宝", "reference": "整单售后退款", "actor": "麦麦", "created": "2026-11-19T02:01:05.000Z", "number": "MM20261118-" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "receipt", "amount": 432792, "account": "助理2微信", "reference": "置换差额实际收款 · HS202611190001", "actor": "助理2", "created": "2026-11-19T02:01:32.000Z", "number": "MM20261119-" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "receipt", "amount": 210000, "account": "助理微信", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-19T02:01:48.000Z", "number": "MM20261119-" } ], "settlements": [], "journal": [ { "id": "", "order_id": "", "date": "2026-11-19", "kind": "订单退货退款售后", "sales": -90000, "goods": -88000, "expense": 0, "profit": -2000, "created": "2026-11-19T02:01:05.000Z", "number": "MM20261118-" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "交付", "sales": 432792, "goods": 366720, "expense": 0, "profit": 66072, "created": "2026-11-19T02:01:32.000Z", "number": "MM20261119-" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "交付", "sales": 210000, "goods": 180000, "expense": 0, "profit": 30000, "created": "2026-11-19T02:01:48.000Z", "number": "MM20261119-" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "直接费用", "sales": 0, "goods": 0, "expense": 800, "profit": -800, "created": "2026-11-19T02:01:52.000Z", "number": "MM20261119-" } ], "afterSales": [], "afterSaleCount": 0, "inventory": [ { "pocket": "现货", "mg": 61950, "reserved": 0, "available": 61950 }, { "pocket": "金料", "mg": 56000, "reserved": 0, "available": 56000 }, { "pocket": "找金", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "回收旧料", "mg": 12843, "reserved": 0, "available": 12843 }, { "pocket": "君宝汇", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "臻金汇", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "金金", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "定制工厂", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "pocket_", "mg": 10000, "reserved": 0, "available": 10000 } ], "warnings": [ { "id": "", "number": "MM20261119-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261119-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261118-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261118-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261118-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261118-", "message": "有记录待麦麦复核" } ], "unsettled": [], "settlementDue": 0, "knownSettlementDue": 0, "customerBalance": 0, "close": null, "peopleCount": null } }, { "seq": 450, "label": "report-d2-orderdate-assistant2", "date": "2026-11-19", "actor": "assistant2", "method": "GET", "path": "/api/report?date=2026-11-19&basis=orderDate", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "date": "2026-11-19", "from": "2026-11-19", "sales": 552792, "goods": 458720, "knownGoods": 458720, "expense": 800, "profit": 93272, "knownProfit": 93272, "materialCostPending": false, "pendingMaterialCount": 0, "materialPoolActivity": { "basis": "purchaseDate", "from": "2026-11-19", "date": "2026-11-19", "purchases": [ { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 4000, "amount": 370000, "payer": "assistant2", "note": "", "actor": "助理2", "created": "2026-11-19T02:02:20.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:20.000Z" } ], "payerOutlays": { "owner": { "payer": "owner", "material": 0, "goods": 0, "paidFees": 0, "total": 0, "purchaseCount": 0 }, "assistant": { "payer": "assistant", "material": 0, "goods": 0, "paidFees": 0, "total": 0, "purchaseCount": 0 }, "assistant2": { "payer": "assistant2", "material": 370000, "goods": 370000, "paidFees": 0, "total": 370000, "purchaseCount": 1 } }, "summary": { "purchaseCount": 1, "poolCount": 1, "mg": 4000, "materialOutlay": 370000, "purchaseValue": 370000, "ownerOutlay": 0, "assistantOutlay": 0, "assistant2Outlay": 370000, "totalOutlay": 370000, "eventCount": 1 } }, "materialPoolSettlement": { "legacyReadOnly": true, "settlementDue": 0, "knownSettlementDue": 0, "pendingCount": 0, "pools": [] }, "delivered": 2, "returns": 1, "accounts": [ { "account": "助理微信", "receipt": 210000, "refund": 0, "net": 210000 }, { "account": "助理支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2微信", "receipt": 432792, "refund": 0, "net": 432792 }, { "account": "助理2支付宝", "receipt": 0, "refund": 90000, "net": -90000 }, { "account": "助理2现金", "receipt": 0, "refund": 0, "net": 0 } ], "payments": [ { "id": "", "order_id": "", "date": "2026-11-19", "kind": "receipt", "amount": 432792, "account": "助理2微信", "reference": "置换差额实际收款 · HS202611190001", "actor": "助理2", "created": "2026-11-19T02:01:32.000Z", "number": "MM20261119-", "paper_number": "20261119011", "order_date": "2026-11-19" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "receipt", "amount": 210000, "account": "助理微信", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-19T02:01:48.000Z", "number": "MM20261119-", "paper_number": "20261119013", "order_date": "2026-11-19" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "refund", "amount": 90000, "account": "助理2支付宝", "reference": "整单售后退款", "actor": "麦麦", "created": "2026-11-19T02:01:05.000Z", "number": "MM20261118-", "paper_number": "20261118007", "customer": "对照售后订单客户", "order_date": "2026-11-18", "order_after_sale": true } ], "settlements": [], "journal": [ { "id": "", "order_id": "", "date": "2026-11-19", "kind": "交付", "sales": 432792, "goods": 366720, "expense": 0, "profit": 66072, "created": "2026-11-19T02:01:32.000Z", "number": "MM20261119-", "paper_number": "20261119011", "order_date": "2026-11-19" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "交付", "sales": 210000, "goods": 180000, "expense": 0, "profit": 30000, "created": "2026-11-19T02:01:48.000Z", "number": "MM20261119-", "paper_number": "20261119013", "order_date": "2026-11-19" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "直接费用", "sales": 0, "goods": 0, "expense": 800, "profit": -800, "created": "2026-11-19T02:01:52.000Z", "number": "MM20261119-", "paper_number": "20261119013", "order_date": "2026-11-19" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "订单退货退款售后", "sales": -90000, "goods": -88000, "expense": 0, "profit": -2000, "created": "2026-11-19T02:01:05.000Z", "number": "MM20261118-", "paper_number": "20261118007", "order_date": "2026-11-18" } ], "afterSales": [], "afterSaleCount": 0, "inventory": [ { "pocket": "现货", "mg": 61950, "reserved": 0, "available": 61950 }, { "pocket": "金料", "mg": 56000, "reserved": 0, "available": 56000 }, { "pocket": "找金", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "回收旧料", "mg": 12843, "reserved": 0, "available": 12843 }, { "pocket": "君宝汇", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "臻金汇", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "金金", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "定制工厂", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "pocket_", "mg": 10000, "reserved": 0, "available": 10000 } ], "warnings": [ { "id": "", "number": "MM20261119-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261119-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261118-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261118-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261118-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261118-", "message": "有记录待麦麦复核" } ], "unsettled": [], "settlementDue": 0, "knownSettlementDue": 0, "customerBalance": 0, "close": null, "basis": "orderDate", "summary": { "orderCount": 2, "completedCount": 2, "draftCount": 0, "confirmedCount": 0, "returnedCount": 1, "cancelledCount": 0, "incompleteCount": 0, "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "unknownCostCount": 0, "unknownProfitCount": 0, "legacyUnallocatedCount": 1, "sale": 552792, "material": 272720, "laborAndFees": 6800, "unallocated": 180000, "totalCost": 459520, "profit": 93272, "ownerCost": 0, "assistantCost": 180800, "assistant2Cost": 278720, "mg": 14000, "pieces": 0, "knownCounts": { "sale": 2, "material": 1, "laborAndFees": 1, "unallocated": 2, "totalCost": 2, "profit": 2, "ownerCost": 2, "assistantCost": 2, "assistant2Cost": 2 }, "unknownCounts": { "sale": 0, "material": 1, "laborAndFees": 1, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0 }, "partial": true, "afterSaleCount": 1, "recordCount": 3 }, "orderRows": [ { "id": "", "order_id": "", "kind": "orderAfterSale", "orderAfterSale": { "orderId": "", "date": "2026-11-19", "reason": "客户退回一件", "deductionReason": "客户确认扣费", "refund": { "amount": 90000, "account": "助理2支付宝", "payer": "assistant2", "reference": "" }, "expenses": [], "original": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": { "id": "", "status": "approved", "action": "return", "action_label": "订单售后", "order_revision": 4, "reason": "客户退回一件", "requester_name": "助理2", "created": "2026-11-19T02:01:03.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:01:05.000Z", "note": "实物已收回" }, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 0, "netReceived": 500000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 50000, "knownProfit": 50000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "funds_mode": "team", "credit_card_rate_permille": 6 }, "originalJournal": { "sales": 500000, "goods": 450000, "expense": 0, "profit": 50000 }, "summary": { "refundAmount": 90000, "retainedAmount": 410000, "materialReturnedCost": 88000, "laborRestockedCost": 0, "materialLoss": 352000, "costLoss": 362000, "originalDirectCost": 0, "newExpenses": 0, "directCost": 0, "profit": 48000, "finalProfit": 48000, "profitAdjustment": -2000, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ] }, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ], "order_id": "", "created": "2026-11-19T02:01:05.000Z", "number": "MM20261118-", "paper_number": "20261118007", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "order_date": "2026-11-18", "member": "assistant2" }, "member": "assistant2", "number": "MM20261118-", "paper_number": "20261118007", "date": "2026-11-19", "order_date": "2026-11-18", "created": "2026-11-19T02:01:05.000Z", "customer": "对照售后订单客户", "salesperson": "小昊", "status": "after_sale", "note": "", "project": "订单售后", "types": [ "订单售后" ], "mg": 0, "summaryMg": 0, "pieces": 0, "originalSale": 500000, "sale": -90000, "material": -88000, "laborAndFees": 0, "unallocated": 0, "totalCost": -88000, "profit": -2000, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": -88000, "known": { "sale": -90000, "material": -88000, "laborAndFees": 0, "unallocated": 0, "totalCost": -88000, "profit": -2000, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": -88000 }, "costItems": [ { "kind": "goods", "component": "material", "name": "售后收回金料成本", "source": "商品 1 · 足金手链", "amount": -88000, "payer": "assistant2", "nonCash": true, "materialPoolId": "2026-11-19", "calculation": null } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "按售后发生日调整;回收成本不属于新付款", "balance": 0, "revision": 1, "reviewed_revision": 1 }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119011", "date": "2026-11-19", "created": "2026-11-19T02:01:32.000Z", "recovery_id": "", "recovery_mode": "exchange", "nonCashOffset": 0, "cashPaid": 0, "netSettlement": 432792, "recovery_immutable_reason": "本单关联黄金回收/置换、购料及库存,暂不支持普通订单修改、取消、退款、退货或费用变更,请保留原关联记录", "customer": "对照换货客户", "salesperson": "小昊", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 12000, "summaryMg": 12000, "pieces": 0, "originalSale": 432792, "sale": 432792, "material": 360720, "laborAndFees": 6000, "unallocated": 0, "totalCost": 366720, "profit": 66072, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 366720, "known": { "sale": 432792, "material": 360720, "laborAndFees": 6000, "unallocated": 0, "totalCost": 366720, "profit": 66072, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 366720 }, "costItems": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金对照新货", "amount": 360720, "payer": "assistant2", "excluded": false, "calculation": { "rate": 90000, "quantity": 4008 }, "component": "material" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 6000, "payer": "assistant2", "excluded": false, "calculation": { "rate": 500, "quantity": 12000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 6000, "payer": "assistant2", "excluded": false, "calculation": { "rate": 500, "quantity": 12000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 4, "reviewed_revision": 0 }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119013", "date": "2026-11-19", "created": "2026-11-19T02:01:48.000Z", "customer": "当天客户(改)", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 2000, "summaryMg": 2000, "pieces": 0, "originalSale": 210000, "sale": 210000, "material": null, "laborAndFees": null, "unallocated": 180000, "totalCost": 180800, "profit": 29200, "ownerCost": 0, "assistantCost": 180800, "assistant2Cost": 0, "known": { "sale": 210000, "material": 0, "laborAndFees": 800, "unallocated": 180000, "totalCost": 180800, "profit": 29200, "ownerCost": 0, "assistantCost": 180800, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金吊坠", "amount": 180000, "payer": "assistant", "excluded": false, "calculation": null, "component": "unallocated" }, { "kind": "paid", "name": "当天快递", "source": "2026-11-19", "amount": 800, "payer": "assistant", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "paid", "name": "当天快递", "source": "2026-11-19", "amount": 800, "payer": "assistant", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 7, "reviewed_revision": 0 } ], "payerCosts": { "assistant": { "payer": "assistant", "name": "娜娜", "goods": 180000, "paidFees": 800, "total": 180800, "missingCount": 0, "pendingCount": 0, "items": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金吊坠", "amount": 180000, "payer": "assistant", "excluded": false, "calculation": null, "component": "unallocated", "order_id": "", "number": "MM20261119-", "paper_number": "20261119013", "date": "2026-11-19", "customer": "当天客户(改)", "status": "recorded" }, { "kind": "paid", "name": "当天快递", "source": "整单费用 · 实付 2026-11-19", "amount": 800, "payer": "assistant", "component": "fee", "order_id": "", "number": "MM20261119-", "paper_number": "20261119013", "date": "2026-11-19", "customer": "当天客户(改)", "status": "recorded", "calculation": null, "paidDate": "2026-11-19" } ] }, "owner": { "payer": "owner", "name": "麦麦", "goods": 0, "paidFees": 0, "total": 0, "missingCount": 0, "pendingCount": 0, "items": [] }, "assistant2": { "payer": "assistant2", "name": "小昊", "goods": 736720, "paidFees": 0, "total": 736720, "missingCount": 0, "pendingCount": 0, "items": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金对照新货", "amount": 360720, "payer": "assistant2", "excluded": false, "calculation": { "rate": 90000, "quantity": 4008 }, "component": "material", "order_id": "", "number": "MM20261119-", "paper_number": "20261119011", "date": "2026-11-19", "customer": "对照换货客户", "status": "recorded" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 6000, "payer": "assistant2", "excluded": false, "calculation": { "rate": 500, "quantity": 12000 }, "component": "labor", "order_id": "", "number": "MM20261119-", "paper_number": "20261119011", "date": "2026-11-19", "customer": "对照换货客户", "status": "recorded" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories", "order_id": "", "number": "MM20261119-", "paper_number": "20261119011", "date": "2026-11-19", "customer": "对照换货客户", "status": "recorded" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other", "order_id": "", "number": "MM20261119-", "paper_number": "20261119011", "date": "2026-11-19", "customer": "对照换货客户", "status": "recorded" }, { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 4000, "amount": 370000, "payer": "assistant2", "note": "", "actor": "助理2", "created": "2026-11-19T02:02:20.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:20.000Z", "purchaseAmount": 370000, "kind": "goods", "component": "material", "materialPoolId": "2026-11-19", "name": "日料池采购", "source": "日料池 2026-11-19 · 实付 2026-11-19", "paidDate": "2026-11-19", "quantity": 4000, "calculation": null, "status": "recorded", "actualOutlay": true } ] } }, "orderPayerCosts": { "assistant": { "payer": "assistant", "name": "娜娜", "goods": 180000, "paidFees": 800, "total": 180800, "missingCount": 0, "pendingCount": 0, "items": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金吊坠", "amount": 180000, "payer": "assistant", "excluded": false, "calculation": null, "component": "unallocated", "order_id": "", "number": "MM20261119-", "paper_number": "20261119013", "date": "2026-11-19", "customer": "当天客户(改)", "status": "recorded" }, { "kind": "paid", "name": "当天快递", "source": "整单费用 · 实付 2026-11-19", "amount": 800, "payer": "assistant", "component": "fee", "order_id": "", "number": "MM20261119-", "paper_number": "20261119013", "date": "2026-11-19", "customer": "当天客户(改)", "status": "recorded", "calculation": null, "paidDate": "2026-11-19" } ] }, "owner": { "payer": "owner", "name": "麦麦", "goods": 0, "paidFees": 0, "total": 0, "missingCount": 0, "pendingCount": 0, "items": [] }, "assistant2": { "payer": "assistant2", "name": "小昊", "goods": 278720, "paidFees": 0, "total": 278720, "missingCount": 0, "pendingCount": 0, "items": [ { "kind": "goods", "component": "material", "name": "售后收回金料成本", "source": "商品 1 · 足金手链", "amount": -88000, "payer": "assistant2", "nonCash": true, "materialPoolId": "2026-11-19", "calculation": null, "order_id": "", "orderAfterSale": true, "number": "MM20261118-", "paper_number": "20261118007", "date": "2026-11-19", "customer": "对照售后订单客户", "status": "recorded" }, { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金对照新货", "amount": 360720, "payer": "assistant2", "excluded": false, "calculation": { "rate": 90000, "quantity": 4008 }, "component": "material", "order_id": "", "number": "MM20261119-", "paper_number": "20261119011", "date": "2026-11-19", "customer": "对照换货客户", "status": "recorded" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 6000, "payer": "assistant2", "excluded": false, "calculation": { "rate": 500, "quantity": 12000 }, "component": "labor", "order_id": "", "number": "MM20261119-", "paper_number": "20261119011", "date": "2026-11-19", "customer": "对照换货客户", "status": "recorded" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories", "order_id": "", "number": "MM20261119-", "paper_number": "20261119011", "date": "2026-11-19", "customer": "对照换货客户", "status": "recorded" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other", "order_id": "", "number": "MM20261119-", "paper_number": "20261119011", "date": "2026-11-19", "customer": "对照换货客户", "status": "recorded" } ] } }, "peopleCount": null, "priceLockActivity": { "basis": "eventDate", "from": "2026-11-19", "date": "2026-11-19", "customerCash": [], "orderPayments": [], "materialOutlays": [], "directOutlays": [], "deliveryGoodsOutlays": [], "receipts": { "receipt": 0, "refund": 0, "net": 0, "channels": [ { "channel": "wechat", "name": "微信", "receipt": 0, "refund": 0, "net": 0 }, { "channel": "alipay", "name": "支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "channel": "cash", "name": "现金", "receipt": 0, "refund": 0, "net": 0 } ], "accounts": [ { "account": "助理微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2现金", "receipt": 0, "refund": 0, "net": 0 } ], "paymentCount": 0, "orderCount": 0 }, "payerOutlays": { "owner": { "payer": "owner", "material": 0, "goods": 0, "paidFees": 0, "total": 0 }, "assistant": { "payer": "assistant", "material": 0, "goods": 0, "paidFees": 0, "total": 0 }, "assistant2": { "payer": "assistant2", "material": 0, "goods": 0, "paidFees": 0, "total": 0 } }, "summary": { "receipt": 0, "refund": 0, "net": 0, "materialOutlay": 0, "goodsOutlay": 0, "feeOutlay": 0, "ownerOutlay": 0, "assistantOutlay": 0, "assistant2Outlay": 0, "totalOutlay": 0, "eventCount": 0, "lockCount": 0 } }, "outlayGoods": 916720, "outlayExpense": 800, "outlayTotal": 917520, "receiptsByOrderDate": { "basis": "orderDate", "filterScope": "matchingOrders", "from": "2026-11-19", "date": "2026-11-19", "receipt": 642792, "refund": 90000, "net": 552792, "channels": [ { "channel": "wechat", "name": "微信", "receipt": 642792, "refund": 0, "net": 642792 }, { "channel": "alipay", "name": "支付宝", "receipt": 0, "refund": 90000, "net": -90000 }, { "channel": "cash", "name": "现金", "receipt": 0, "refund": 0, "net": 0 } ], "accounts": [ { "account": "助理微信", "receipt": 210000, "refund": 0, "net": 210000 }, { "account": "助理支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2微信", "receipt": 432792, "refund": 0, "net": 432792 }, { "account": "助理2支付宝", "receipt": 0, "refund": 90000, "net": -90000 }, { "account": "助理2现金", "receipt": 0, "refund": 0, "net": 0 } ], "paymentCount": 3, "orderCount": 3 }, "totalCost": 459520, "recipientReceipts": { "assistant": { "recipient": "assistant", "name": "娜娜", "receipt": 210000, "refund": 0, "net": 210000, "items": [ { "id": "", "date": "2026-11-19", "kind": "receipt", "amount": 210000, "account": "助理微信", "order_id": "", "price_lock_id": null, "order_date": "2026-11-19", "number": "MM20261119-", "paper_number": "20261119013", "customer": "当天客户(改)", "reference": "开单时已全额收款", "note": "", "created": "2026-11-19T02:01:48.000Z" } ] }, "owner": { "recipient": "owner", "name": "麦麦", "receipt": 0, "refund": 0, "net": 0, "items": [] }, "assistant2": { "recipient": "assistant2", "name": "小昊", "receipt": 432792, "refund": 90000, "net": 342792, "items": [ { "id": "", "date": "2026-11-19", "kind": "receipt", "amount": 432792, "account": "助理2微信", "order_id": "", "price_lock_id": null, "order_date": "2026-11-19", "number": "MM20261119-", "paper_number": "20261119011", "customer": "对照换货客户", "reference": "置换差额实际收款 · HS202611190001", "note": "", "created": "2026-11-19T02:01:32.000Z" }, { "id": "", "date": "2026-11-19", "kind": "refund", "amount": 90000, "account": "助理2支付宝", "order_id": "", "price_lock_id": null, "order_date": "2026-11-18", "number": "MM20261118-", "paper_number": "20261118007", "customer": "对照售后订单客户", "reference": "整单售后退款", "note": "", "created": "2026-11-19T02:01:05.000Z", "order_after_sale": true } ] } }, "ownershipReceipts": { "assistant2": { "member": "assistant2", "name": "小昊", "receipt": 642792, "refund": 90000, "net": 552792, "accounts": [ { "account": "助理微信", "recipient": "assistant", "channel": "wechat", "receipt": 210000, "refund": 0, "net": 210000, "entryCount": 1 }, { "account": "助理2微信", "recipient": "assistant2", "channel": "wechat", "receipt": 432792, "refund": 0, "net": 432792, "entryCount": 1 }, { "account": "助理2支付宝", "recipient": "assistant2", "channel": "alipay", "receipt": 0, "refund": 90000, "net": -90000, "entryCount": 1 } ], "items": [ { "id": "", "date": "2026-11-19", "kind": "receipt", "amount": 210000, "account": "助理微信", "order_id": "", "price_lock_id": null, "order_date": "2026-11-19", "number": "MM20261119-", "paper_number": "20261119013", "customer": "当天客户(改)", "reference": "开单时已全额收款", "note": "", "created": "2026-11-19T02:01:48.000Z" }, { "id": "", "date": "2026-11-19", "kind": "receipt", "amount": 432792, "account": "助理2微信", "order_id": "", "price_lock_id": null, "order_date": "2026-11-19", "number": "MM20261119-", "paper_number": "20261119011", "customer": "对照换货客户", "reference": "置换差额实际收款 · HS202611190001", "note": "", "created": "2026-11-19T02:01:32.000Z" }, { "id": "", "date": "2026-11-19", "kind": "refund", "amount": 90000, "account": "助理2支付宝", "order_id": "", "price_lock_id": null, "order_date": "2026-11-18", "number": "MM20261118-", "paper_number": "20261118007", "customer": "对照售后订单客户", "reference": "整单售后退款", "note": "", "created": "2026-11-19T02:01:05.000Z", "order_after_sale": true } ] } }, "ownershipBusiness": { "assistant2": { "member": "assistant2", "name": "小昊", "basis": "orderDate", "from": "2026-11-19", "date": "2026-11-19", "recordCount": 3, "orderCount": 2, "afterSaleCount": 1, "draftCount": 0, "sales": 552792, "netReceipts": 552792, "totalCost": 459520, "knownTotalCost": 459520, "selfCost": 278720, "knownSelfCost": 278720, "otherCost": 180800, "knownOtherCost": 180800, "profit": 93272, "knownProfit": 93272, "incomplete": false, "missingCostCount": 0, "pendingCostCount": 0, "unknownProfitCount": 0, "costByPayer": { "owner": { "member": "owner", "name": "麦麦", "totalCost": 0, "knownTotalCost": 0, "missingCount": 0, "pendingCount": 0 }, "assistant": { "member": "assistant", "name": "娜娜", "totalCost": 180800, "knownTotalCost": 180800, "missingCount": 0, "pendingCount": 0 }, "assistant2": { "member": "assistant2", "name": "小昊", "totalCost": 278720, "knownTotalCost": 278720, "missingCount": 0, "pendingCount": 0 } }, "poolMaterial": { "mg": 0, "amount": 0, "knownAmount": 0, "missingCount": 0, "byPayer": { "owner": { "amount": 0, "knownAmount": 0 }, "assistant": { "amount": 0, "knownAmount": 0 }, "assistant2": { "amount": 0, "knownAmount": 0 } }, "hasPriceLocks": false, "days": [], "otherCosts": { "knownAmount": 459520, "amount": 459520 } }, "ownerAdvances": { "basis": "orderDate", "from": "2026-11-19", "date": "2026-11-19", "days": [] }, "currentAccount": { "basis": "orderDate", "from": "2026-11-19", "date": "2026-11-19", "days": [ { "date": "2026-11-19", "recordCount": 3, "knownMaterialCost": 0, "knownOtherCost": 0, "knownProfit": 93272, "ownerNetReceipts": 0, "missingCostCount": 0, "pendingCostCount": 0, "unknownProfitCount": 0, "incomplete": false, "materialCost": 0, "otherCost": 0, "profit": 93272, "knownAmount": 93272, "amount": 93272 } ] }, "difference": { "amount": 0, "reconciled": true, "reasons": [] }, "equation": { "basis": "netReceipts", "revenue": 552792, "totalCost": 459520, "profit": 93272, "complete": true }, "settlement": { "available": true, "basis": "cumulative-through-date", "from": "2026-11-19", "date": "2026-11-19", "dueOut": 0, "dueIn": 41200, "partial": false, "pendingCount": 0, "legacyCount": 0, "notice": "截至所选日的累计往来,已抵扣实际转账与代收;逐人核对,不将他人付款成本直接当作应转。", "counterparts": [ { "member": "owner", "name": "麦麦", "dueOut": 0, "dueIn": 0, "openingDue": 0, "periodNew": 0, "periodTransferred": 0, "closingDue": 0, "offset": 0, "period": { "obligationNet": 0, "transferred": 0, "receivedForNet": 0, "advancedNet": 0 } }, { "member": "assistant", "name": "娜娜", "dueOut": 0, "dueIn": 41200, "openingDue": -12000, "periodNew": -29200, "periodTransferred": 0, "closingDue": -41200, "offset": 250800, "period": { "obligationNet": -29200, "transferred": 0, "receivedForNet": -210000, "advancedNet": 180800 } } ] }, "hasActivity": true } }, "dailyProfits": { "basis": "orderDate", "from": "2026-11-19", "date": "2026-11-19", "rows": [ { "recordCount": 3, "orderCount": 2, "afterSaleCount": 1, "draftCount": 0, "sales": 552792, "knownTotalCost": 459520, "knownProfit": 93272, "unknownCostCount": 0, "unknownProfitCount": 0, "incomplete": false, "date": "2026-11-19", "member": "assistant2", "name": "小昊", "totalCost": 459520, "profit": 93272 } ], "summary": { "recordCount": 3, "orderCount": 2, "afterSaleCount": 1, "draftCount": 0, "sales": 552792, "knownTotalCost": 459520, "knownProfit": 93272, "unknownCostCount": 0, "unknownProfitCount": 0, "incomplete": false, "totalCost": 459520, "profit": 93272 } }, "dailyFunds": { "date": "2026-11-19", "from": "2026-11-19", "team": { "from": "2026-11-19", "to": "2026-11-19", "date": "2026-11-19", "members": [ { "id": "owner", "name": "麦麦" }, { "id": "assistant", "name": "娜娜" }, { "id": "assistant2", "name": "小昊" } ], "balances": [ { "member": "assistant2", "receipts": 432792, "refunds": 90000, "outlays": 736720, "transferIn": 0, "transferOut": 0, "openingChange": -123837, "periodChange": -393928, "cumulativeChange": -517765, "cashBalance": -393928, "balanceType": "recorded-change", "notice": "仅三人新账已登记的资金增减,不含真实期初余额" } ], "pairs": [ { "id": "owner:assistant2", "members": [ "owner", "assistant2" ], "net": 0, "obligationNet": 0, "transferred": 0, "receivedForNet": 0, "advancedNet": 0, "offset": 0, "due": 0, "fromMember": null, "toMember": null, "direction": "none", "period": { "obligationNet": 0, "transferred": 0, "receivedForNet": 0, "advancedNet": 0 }, "entries": [] }, { "id": "assistant:assistant2", "members": [ "assistant", "assistant2" ], "net": 41200, "obligationNet": 41200, "transferred": 0, "receivedForNet": 292000, "advancedNet": -250800, "offset": 250800, "due": 41200, "fromMember": "assistant", "toMember": "assistant2", "direction": "transfer", "period": { "obligationNet": 29200, "transferred": 0, "receivedForNet": 210000, "advancedNet": -180800 }, "entries": [ { "id": "", "date": "2026-11-19", "kind": "receipt", "project": "客户款代收", "fromMember": "assistant", "toMember": "assistant2", "amount": 210000, "revision": 3 }, { "id": "", "date": "2026-11-19", "kind": "advance", "project": "订单实际费用", "fromMember": "assistant2", "toMember": "assistant", "amount": 800, "revision": 3 }, { "id": "", "date": "2026-11-19", "kind": "advance", "project": "商品实际垫付", "fromMember": "assistant2", "toMember": "assistant", "amount": 180000, "revision": 3 } ] } ], "entries": [ { "id": "", "date": "2026-11-19", "kind": "receipt", "project": "客户款代收", "fromMember": "assistant", "toMember": "assistant2", "amount": 210000, "revision": 3 }, { "id": "", "date": "2026-11-19", "kind": "advance", "project": "订单实际费用", "fromMember": "assistant2", "toMember": "assistant", "amount": 800, "revision": 3 }, { "id": "", "date": "2026-11-19", "kind": "advance", "project": "商品实际垫付", "fromMember": "assistant2", "toMember": "assistant", "amount": 180000, "revision": 3 } ], "transfers": [], "revision": "dc9272ede872920e05008ef8c8e2a290e766de64cae986a7eb1b705d4e306dda", "pending": [], "legacyReadOnly": true, "cutover": "仅已启用的三人新账事件;旧结算不自动迁入", "transfersDeducted": true }, "readOnly": false, "hasRecords": true, "pendingCount": 0, "legacyReadOnly": true, "transfersNotDeducted": false, "reimbursements": [], "approvedReimbursements": 0, "ready": true, "transferAmount": null, "direction": null, "sources": { "revision": "dc9272ede872920e05008ef8c8e2a290e766de64cae986a7eb1b705d4e306dda", "total": 0, "items": [] }, "confirmation": null, "actualOutlay": null, "missingDates": [], "staleDates": [], "days": [] }, "reportRevision": "bf5d23834d753e6e7c3de37912b05beadd8d8f5f80fbeeb0b130ff90742fc025" } }, { "seq": 451, "label": "report-range-assistant2", "date": "2026-11-19", "actor": "assistant2", "method": "GET", "path": "/api/report?from=2026-11-18&date=2026-11-19&basis=orderDate", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "date": "2026-11-19", "from": "2026-11-18", "sales": 1351955, "goods": 1161720, "knownGoods": 1161720, "expense": 800, "profit": 189435, "knownProfit": 189435, "materialCostPending": false, "pendingMaterialCount": 0, "materialPoolActivity": { "basis": "purchaseDate", "from": "2026-11-18", "date": "2026-11-19", "purchases": [ { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 4000, "amount": 370000, "payer": "assistant2", "note": "", "actor": "助理2", "created": "2026-11-19T02:02:20.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:20.000Z" } ], "payerOutlays": { "owner": { "payer": "owner", "material": 0, "goods": 0, "paidFees": 0, "total": 0, "purchaseCount": 0 }, "assistant": { "payer": "assistant", "material": 0, "goods": 0, "paidFees": 0, "total": 0, "purchaseCount": 0 }, "assistant2": { "payer": "assistant2", "material": 370000, "goods": 370000, "paidFees": 0, "total": 370000, "purchaseCount": 1 } }, "summary": { "purchaseCount": 1, "poolCount": 1, "mg": 4000, "materialOutlay": 370000, "purchaseValue": 370000, "ownerOutlay": 0, "assistantOutlay": 0, "assistant2Outlay": 370000, "totalOutlay": 370000, "eventCount": 1 } }, "materialPoolSettlement": { "legacyReadOnly": true, "settlementDue": 0, "knownSettlementDue": 0, "pendingCount": 0, "pools": [] }, "delivered": 5, "returns": 1, "accounts": [ { "account": "助理微信", "receipt": 210000, "refund": 0, "net": 210000 }, { "account": "助理支付宝", "receipt": 82000, "refund": 0, "net": 82000 }, { "account": "助理现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2微信", "receipt": 982792, "refund": 0, "net": 982792 }, { "account": "助理2支付宝", "receipt": 217163, "refund": 90000, "net": 127163 }, { "account": "助理2现金", "receipt": 0, "refund": 0, "net": 0 } ], "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 217163, "account": "助理2支付宝", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:18.000Z", "number": "MM20261118-", "paper_number": "20261118002", "order_date": "2026-11-18" }, { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 150000, "account": "助理2现金", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:24.000Z", "number": "MM20261118-", "paper_number": "20261118006", "order_date": "2026-11-18" }, { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z", "number": "MM20261118-", "paper_number": "20261118007", "order_date": "2026-11-18" }, { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 82000, "account": "助理支付宝", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-18T02:01:26.000Z", "number": "MM20261118-", "paper_number": "20261118008", "order_date": "2026-11-18" }, { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": -150000, "account": "助理2现金", "reference": "更正冲回:取消审批作废;重复录入", "actor": "麦麦", "created": "2026-11-19T02:00:45.000Z", "number": "MM20261118-", "paper_number": "20261118006", "order_date": "2026-11-18" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "receipt", "amount": 432792, "account": "助理2微信", "reference": "置换差额实际收款 · HS202611190001", "actor": "助理2", "created": "2026-11-19T02:01:32.000Z", "number": "MM20261119-", "paper_number": "20261119011", "order_date": "2026-11-19" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "receipt", "amount": 210000, "account": "助理微信", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-19T02:01:48.000Z", "number": "MM20261119-", "paper_number": "20261119013", "order_date": "2026-11-19" }, { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 50000, "account": "助理2微信", "number": "SJ20261118-", "customer": "对照锁价客户三", "product": "足金999", "actor": "助理2", "created": "2026-11-18T02:01:55.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "refund", "amount": 90000, "account": "助理2支付宝", "reference": "整单售后退款", "actor": "麦麦", "created": "2026-11-19T02:01:05.000Z", "number": "MM20261118-", "paper_number": "20261118007", "customer": "对照售后订单客户", "order_date": "2026-11-18", "order_after_sale": true } ], "settlements": [], "journal": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "交付", "sales": 217163, "goods": 183000, "expense": 0, "profit": 34163, "created": "2026-11-18T02:01:18.000Z", "number": "MM20261118-", "paper_number": "20261118002", "order_date": "2026-11-18" }, { "id": "", "order_id": "", "date": "2026-11-18", "kind": "交付", "sales": 150000, "goods": 130000, "expense": 0, "profit": 20000, "created": "2026-11-18T02:01:24.000Z", "number": "MM20261118-", "paper_number": "20261118006", "order_date": "2026-11-18" }, { "id": "", "order_id": "", "date": "2026-11-18", "kind": "交付", "sales": 500000, "goods": 450000, "expense": 0, "profit": 50000, "created": "2026-11-18T02:01:25.000Z", "number": "MM20261118-", "paper_number": "20261118007", "order_date": "2026-11-18" }, { "id": "", "order_id": "", "date": "2026-11-18", "kind": "交付", "sales": 82000, "goods": 70000, "expense": 0, "profit": 12000, "created": "2026-11-18T02:01:26.000Z", "number": "MM20261118-", "paper_number": "20261118008", "order_date": "2026-11-18" }, { "id": "", "order_id": "", "date": "2026-11-18", "kind": "订单录错作废冲回", "sales": -150000, "goods": -130000, "expense": 0, "profit": -20000, "created": "2026-11-19T02:00:45.000Z", "number": "MM20261118-", "paper_number": "20261118006", "order_date": "2026-11-18" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "交付", "sales": 432792, "goods": 366720, "expense": 0, "profit": 66072, "created": "2026-11-19T02:01:32.000Z", "number": "MM20261119-", "paper_number": "20261119011", "order_date": "2026-11-19" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "交付", "sales": 210000, "goods": 180000, "expense": 0, "profit": 30000, "created": "2026-11-19T02:01:48.000Z", "number": "MM20261119-", "paper_number": "20261119013", "order_date": "2026-11-19" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "直接费用", "sales": 0, "goods": 0, "expense": 800, "profit": -800, "created": "2026-11-19T02:01:52.000Z", "number": "MM20261119-", "paper_number": "20261119013", "order_date": "2026-11-19" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "订单退货退款售后", "sales": -90000, "goods": -88000, "expense": 0, "profit": -2000, "created": "2026-11-19T02:01:05.000Z", "number": "MM20261118-", "paper_number": "20261118007", "order_date": "2026-11-18" } ], "afterSales": [], "afterSaleCount": 0, "inventory": [ { "pocket": "现货", "mg": 61950, "reserved": 0, "available": 61950 }, { "pocket": "金料", "mg": 56000, "reserved": 0, "available": 56000 }, { "pocket": "找金", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "回收旧料", "mg": 12843, "reserved": 0, "available": 12843 }, { "pocket": "君宝汇", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "臻金汇", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "金金", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "定制工厂", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "pocket_", "mg": 10000, "reserved": 0, "available": 10000 } ], "warnings": [ { "id": "", "number": "MM20261119-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261119-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261118-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261118-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261118-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261118-", "message": "有记录待麦麦复核" } ], "unsettled": [], "settlementDue": 0, "knownSettlementDue": 0, "customerBalance": 0, "close": null, "basis": "orderDate", "summary": { "orderCount": 6, "completedCount": 5, "draftCount": 0, "confirmedCount": 0, "returnedCount": 1, "cancelledCount": 1, "incompleteCount": 0, "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "unknownCostCount": 0, "unknownProfitCount": 0, "legacyUnallocatedCount": 3, "sale": 1351955, "material": 712720, "laborAndFees": 16800, "unallocated": 433000, "totalCost": 1162520, "profit": 189435, "ownerCost": 0, "assistantCost": 250800, "assistant2Cost": 911720, "mg": 23300, "pieces": 3, "knownCounts": { "sale": 6, "material": 3, "laborAndFees": 3, "unallocated": 6, "totalCost": 6, "profit": 6, "ownerCost": 6, "assistantCost": 6, "assistant2Cost": 6 }, "unknownCounts": { "sale": 0, "material": 3, "laborAndFees": 3, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0 }, "partial": true, "afterSaleCount": 1, "recordCount": 7 }, "orderRows": [ { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118002", "date": "2026-11-18", "created": "2026-11-18T02:01:18.000Z", "customer": "对照客户乙", "salesperson": "小昊", "status": "delivered", "note": "", "types": [ "货盘现货", "配货 · 银饰" ], "mg": 2000, "summaryMg": 2000, "pieces": 3, "originalSale": 217163, "sale": 217163, "material": null, "laborAndFees": null, "unallocated": 183000, "totalCost": 183000, "profit": 34163, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 183000, "known": { "sale": 217163, "material": 0, "laborAndFees": 0, "unallocated": 183000, "totalCost": 183000, "profit": 34163, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 183000 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金999", "amount": 180000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "unallocated" }, { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 2 · 纯银925", "amount": 3000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "unallocated" } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 4, "reviewed_revision": 0 }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118006", "date": "2026-11-18", "created": "2026-11-18T02:01:24.000Z", "cancellationApproved": { "id": "", "status": "approved", "order_revision": 4, "reason": "重复录入", "requester_name": "助理2", "created": "2026-11-19T02:00:41.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:00:45.000Z", "note": "核对原单后确认" }, "customer": "对照取消客户", "salesperson": "小昊", "status": "cancelled", "note": "", "types": [ "货盘现货" ], "mg": 1500, "summaryMg": 1500, "pieces": 0, "originalSale": 150000, "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0, "known": { "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0 }, "costItems": [], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "录错作废已获麦麦批准,本单销售、成本与收款记账已撤销,原单和审批记录保留", "balance": 0, "revision": 5, "reviewed_revision": 0 }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118007", "date": "2026-11-18", "created": "2026-11-18T02:01:25.000Z", "customer": "对照售后订单客户", "salesperson": "小昊", "status": "delivered", "note": "", "orderAfterSale": { "orderId": "", "date": "2026-11-19", "reason": "客户退回一件", "deductionReason": "客户确认扣费", "refund": { "amount": 90000, "account": "助理2支付宝", "payer": "assistant2", "reference": "" }, "expenses": [], "original": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": { "id": "", "status": "approved", "action": "return", "action_label": "订单售后", "order_revision": 4, "reason": "客户退回一件", "requester_name": "助理2", "created": "2026-11-19T02:01:03.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:01:05.000Z", "note": "实物已收回" }, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 0, "netReceived": 500000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 50000, "knownProfit": 50000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "funds_mode": "team", "credit_card_rate_permille": 6 }, "originalJournal": { "sales": 500000, "goods": 450000, "expense": 0, "profit": 50000 }, "summary": { "refundAmount": 90000, "retainedAmount": 410000, "materialReturnedCost": 88000, "laborRestockedCost": 0, "materialLoss": 352000, "costLoss": 362000, "originalDirectCost": 0, "newExpenses": 0, "directCost": 0, "profit": 48000, "finalProfit": 48000, "profitAdjustment": -2000, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ] }, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ], "originalOrder": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": { "id": "", "status": "approved", "action": "return", "action_label": "订单售后", "order_revision": 4, "reason": "客户退回一件", "requester_name": "助理2", "created": "2026-11-19T02:01:03.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:01:05.000Z", "note": "实物已收回" }, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 0, "netReceived": 500000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 50000, "knownProfit": 50000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "funds_mode": "team", "credit_card_rate_permille": 6 } }, "current_status": "returned", "types": [ "货盘现货" ], "mg": 5000, "summaryMg": 5000, "pieces": 0, "originalSale": 500000, "sale": 500000, "material": 440000, "laborAndFees": 10000, "unallocated": 0, "totalCost": 450000, "profit": 50000, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 450000, "known": { "sale": 500000, "material": 440000, "laborAndFees": 10000, "unallocated": 0, "totalCost": 450000, "profit": 50000, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 450000 }, "costItems": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金手链", "amount": 440000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "material" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金手链", "amount": 10000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金手链", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金手链", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金手链", "amount": 10000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金手链", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金手链", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 4, "reviewed_revision": 0 }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118008", "date": "2026-11-18", "created": "2026-11-18T02:01:26.000Z", "customer": "对照驳回客户", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 800, "summaryMg": 800, "pieces": 0, "originalSale": 82000, "sale": 82000, "material": null, "laborAndFees": null, "unallocated": 70000, "totalCost": 70000, "profit": 12000, "ownerCost": 0, "assistantCost": 70000, "assistant2Cost": 0, "known": { "sale": 82000, "material": 0, "laborAndFees": 0, "unallocated": 70000, "totalCost": 70000, "profit": 12000, "ownerCost": 0, "assistantCost": 70000, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金耳钉", "amount": 70000, "payer": "assistant", "excluded": false, "calculation": null, "component": "unallocated" } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 5, "reviewed_revision": 0 }, { "id": "", "order_id": "", "kind": "orderAfterSale", "orderAfterSale": { "orderId": "", "date": "2026-11-19", "reason": "客户退回一件", "deductionReason": "客户确认扣费", "refund": { "amount": 90000, "account": "助理2支付宝", "payer": "assistant2", "reference": "" }, "expenses": [], "original": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": { "id": "", "status": "approved", "action": "return", "action_label": "订单售后", "order_revision": 4, "reason": "客户退回一件", "requester_name": "助理2", "created": "2026-11-19T02:01:03.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:01:05.000Z", "note": "实物已收回" }, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 0, "netReceived": 500000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 50000, "knownProfit": 50000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "funds_mode": "team", "credit_card_rate_permille": 6 }, "originalJournal": { "sales": 500000, "goods": 450000, "expense": 0, "profit": 50000 }, "summary": { "refundAmount": 90000, "retainedAmount": 410000, "materialReturnedCost": 88000, "laborRestockedCost": 0, "materialLoss": 352000, "costLoss": 362000, "originalDirectCost": 0, "newExpenses": 0, "directCost": 0, "profit": 48000, "finalProfit": 48000, "profitAdjustment": -2000, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ] }, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ], "order_id": "", "created": "2026-11-19T02:01:05.000Z", "number": "MM20261118-", "paper_number": "20261118007", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "order_date": "2026-11-18", "member": "assistant2" }, "member": "assistant2", "number": "MM20261118-", "paper_number": "20261118007", "date": "2026-11-19", "order_date": "2026-11-18", "created": "2026-11-19T02:01:05.000Z", "customer": "对照售后订单客户", "salesperson": "小昊", "status": "after_sale", "note": "", "project": "订单售后", "types": [ "订单售后" ], "mg": 0, "summaryMg": 0, "pieces": 0, "originalSale": 500000, "sale": -90000, "material": -88000, "laborAndFees": 0, "unallocated": 0, "totalCost": -88000, "profit": -2000, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": -88000, "known": { "sale": -90000, "material": -88000, "laborAndFees": 0, "unallocated": 0, "totalCost": -88000, "profit": -2000, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": -88000 }, "costItems": [ { "kind": "goods", "component": "material", "name": "售后收回金料成本", "source": "商品 1 · 足金手链", "amount": -88000, "payer": "assistant2", "nonCash": true, "materialPoolId": "2026-11-19", "calculation": null } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "按售后发生日调整;回收成本不属于新付款", "balance": 0, "revision": 1, "reviewed_revision": 1 }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119011", "date": "2026-11-19", "created": "2026-11-19T02:01:32.000Z", "recovery_id": "", "recovery_mode": "exchange", "nonCashOffset": 0, "cashPaid": 0, "netSettlement": 432792, "recovery_immutable_reason": "本单关联黄金回收/置换、购料及库存,暂不支持普通订单修改、取消、退款、退货或费用变更,请保留原关联记录", "customer": "对照换货客户", "salesperson": "小昊", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 12000, "summaryMg": 12000, "pieces": 0, "originalSale": 432792, "sale": 432792, "material": 360720, "laborAndFees": 6000, "unallocated": 0, "totalCost": 366720, "profit": 66072, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 366720, "known": { "sale": 432792, "material": 360720, "laborAndFees": 6000, "unallocated": 0, "totalCost": 366720, "profit": 66072, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 366720 }, "costItems": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金对照新货", "amount": 360720, "payer": "assistant2", "excluded": false, "calculation": { "rate": 90000, "quantity": 4008 }, "component": "material" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 6000, "payer": "assistant2", "excluded": false, "calculation": { "rate": 500, "quantity": 12000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 6000, "payer": "assistant2", "excluded": false, "calculation": { "rate": 500, "quantity": 12000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 4, "reviewed_revision": 0 }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119013", "date": "2026-11-19", "created": "2026-11-19T02:01:48.000Z", "customer": "当天客户(改)", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 2000, "summaryMg": 2000, "pieces": 0, "originalSale": 210000, "sale": 210000, "material": null, "laborAndFees": null, "unallocated": 180000, "totalCost": 180800, "profit": 29200, "ownerCost": 0, "assistantCost": 180800, "assistant2Cost": 0, "known": { "sale": 210000, "material": 0, "laborAndFees": 800, "unallocated": 180000, "totalCost": 180800, "profit": 29200, "ownerCost": 0, "assistantCost": 180800, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金吊坠", "amount": 180000, "payer": "assistant", "excluded": false, "calculation": null, "component": "unallocated" }, { "kind": "paid", "name": "当天快递", "source": "2026-11-19", "amount": 800, "payer": "assistant", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "paid", "name": "当天快递", "source": "2026-11-19", "amount": 800, "payer": "assistant", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 7, "reviewed_revision": 0 } ], "payerCosts": { "assistant": { "payer": "assistant", "name": "娜娜", "goods": 250000, "paidFees": 800, "total": 250800, "missingCount": 0, "pendingCount": 0, "items": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金耳钉", "amount": 70000, "payer": "assistant", "excluded": false, "calculation": null, "component": "unallocated", "order_id": "", "number": "MM20261118-", "paper_number": "20261118008", "date": "2026-11-18", "customer": "对照驳回客户", "status": "recorded" }, { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金吊坠", "amount": 180000, "payer": "assistant", "excluded": false, "calculation": null, "component": "unallocated", "order_id": "", "number": "MM20261119-", "paper_number": "20261119013", "date": "2026-11-19", "customer": "当天客户(改)", "status": "recorded" }, { "kind": "paid", "name": "当天快递", "source": "整单费用 · 实付 2026-11-19", "amount": 800, "payer": "assistant", "component": "fee", "order_id": "", "number": "MM20261119-", "paper_number": "20261119013", "date": "2026-11-19", "customer": "当天客户(改)", "status": "recorded", "calculation": null, "paidDate": "2026-11-19" } ] }, "owner": { "payer": "owner", "name": "麦麦", "goods": 0, "paidFees": 0, "total": 0, "missingCount": 0, "pendingCount": 0, "items": [] }, "assistant2": { "payer": "assistant2", "name": "小昊", "goods": 1627720, "paidFees": 0, "total": 1627720, "missingCount": 0, "pendingCount": 0, "items": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金999", "amount": 180000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "unallocated", "order_id": "", "number": "MM20261118-", "paper_number": "20261118002", "date": "2026-11-18", "customer": "对照客户乙", "status": "recorded" }, { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 2 · 纯银925", "amount": 3000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "unallocated", "order_id": "", "number": "MM20261118-", "paper_number": "20261118002", "date": "2026-11-18", "customer": "对照客户乙", "status": "recorded" }, { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金手链", "amount": 440000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "material", "order_id": "", "number": "MM20261118-", "paper_number": "20261118007", "date": "2026-11-18", "customer": "对照售后订单客户", "status": "recorded" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金手链", "amount": 10000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "labor", "order_id": "", "number": "MM20261118-", "paper_number": "20261118007", "date": "2026-11-18", "customer": "对照售后订单客户", "status": "recorded" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金手链", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories", "order_id": "", "number": "MM20261118-", "paper_number": "20261118007", "date": "2026-11-18", "customer": "对照售后订单客户", "status": "recorded" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金手链", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other", "order_id": "", "number": "MM20261118-", "paper_number": "20261118007", "date": "2026-11-18", "customer": "对照售后订单客户", "status": "recorded" }, { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金对照新货", "amount": 360720, "payer": "assistant2", "excluded": false, "calculation": { "rate": 90000, "quantity": 4008 }, "component": "material", "order_id": "", "number": "MM20261119-", "paper_number": "20261119011", "date": "2026-11-19", "customer": "对照换货客户", "status": "recorded" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 6000, "payer": "assistant2", "excluded": false, "calculation": { "rate": 500, "quantity": 12000 }, "component": "labor", "order_id": "", "number": "MM20261119-", "paper_number": "20261119011", "date": "2026-11-19", "customer": "对照换货客户", "status": "recorded" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories", "order_id": "", "number": "MM20261119-", "paper_number": "20261119011", "date": "2026-11-19", "customer": "对照换货客户", "status": "recorded" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other", "order_id": "", "number": "MM20261119-", "paper_number": "20261119011", "date": "2026-11-19", "customer": "对照换货客户", "status": "recorded" }, { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "goods", "amount": 258000, "payer": "assistant2", "source": "锁价采购 · 实付 2026-11-18", "quantity": 3000, "rate": 86000, "number": "SJ20261118-", "customer": "对照锁价客户三", "product": "足金999", "actor": "助理2", "created": "2026-11-18T02:01:55.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "component": "material", "name": "锁价料费", "materialSource": "original", "paidDate": "2026-11-18", "calculation": { "rate": 86000, "quantity": 3000 }, "status": "recorded", "actualOutlay": true }, { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 4000, "amount": 370000, "payer": "assistant2", "note": "", "actor": "助理2", "created": "2026-11-19T02:02:20.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:20.000Z", "purchaseAmount": 370000, "kind": "goods", "component": "material", "materialPoolId": "2026-11-19", "name": "日料池采购", "source": "日料池 2026-11-19 · 实付 2026-11-19", "paidDate": "2026-11-19", "quantity": 4000, "calculation": null, "status": "recorded", "actualOutlay": true } ] } }, "orderPayerCosts": { "assistant": { "payer": "assistant", "name": "娜娜", "goods": 250000, "paidFees": 800, "total": 250800, "missingCount": 0, "pendingCount": 0, "items": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金耳钉", "amount": 70000, "payer": "assistant", "excluded": false, "calculation": null, "component": "unallocated", "order_id": "", "number": "MM20261118-", "paper_number": "20261118008", "date": "2026-11-18", "customer": "对照驳回客户", "status": "recorded" }, { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金吊坠", "amount": 180000, "payer": "assistant", "excluded": false, "calculation": null, "component": "unallocated", "order_id": "", "number": "MM20261119-", "paper_number": "20261119013", "date": "2026-11-19", "customer": "当天客户(改)", "status": "recorded" }, { "kind": "paid", "name": "当天快递", "source": "整单费用 · 实付 2026-11-19", "amount": 800, "payer": "assistant", "component": "fee", "order_id": "", "number": "MM20261119-", "paper_number": "20261119013", "date": "2026-11-19", "customer": "当天客户(改)", "status": "recorded", "calculation": null, "paidDate": "2026-11-19" } ] }, "owner": { "payer": "owner", "name": "麦麦", "goods": 0, "paidFees": 0, "total": 0, "missingCount": 0, "pendingCount": 0, "items": [] }, "assistant2": { "payer": "assistant2", "name": "小昊", "goods": 911720, "paidFees": 0, "total": 911720, "missingCount": 0, "pendingCount": 0, "items": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金999", "amount": 180000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "unallocated", "order_id": "", "number": "MM20261118-", "paper_number": "20261118002", "date": "2026-11-18", "customer": "对照客户乙", "status": "recorded" }, { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 2 · 纯银925", "amount": 3000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "unallocated", "order_id": "", "number": "MM20261118-", "paper_number": "20261118002", "date": "2026-11-18", "customer": "对照客户乙", "status": "recorded" }, { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金手链", "amount": 440000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "material", "order_id": "", "number": "MM20261118-", "paper_number": "20261118007", "date": "2026-11-18", "customer": "对照售后订单客户", "status": "recorded" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金手链", "amount": 10000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "labor", "order_id": "", "number": "MM20261118-", "paper_number": "20261118007", "date": "2026-11-18", "customer": "对照售后订单客户", "status": "recorded" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金手链", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories", "order_id": "", "number": "MM20261118-", "paper_number": "20261118007", "date": "2026-11-18", "customer": "对照售后订单客户", "status": "recorded" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金手链", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other", "order_id": "", "number": "MM20261118-", "paper_number": "20261118007", "date": "2026-11-18", "customer": "对照售后订单客户", "status": "recorded" }, { "kind": "goods", "component": "material", "name": "售后收回金料成本", "source": "商品 1 · 足金手链", "amount": -88000, "payer": "assistant2", "nonCash": true, "materialPoolId": "2026-11-19", "calculation": null, "order_id": "", "orderAfterSale": true, "number": "MM20261118-", "paper_number": "20261118007", "date": "2026-11-19", "customer": "对照售后订单客户", "status": "recorded" }, { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金对照新货", "amount": 360720, "payer": "assistant2", "excluded": false, "calculation": { "rate": 90000, "quantity": 4008 }, "component": "material", "order_id": "", "number": "MM20261119-", "paper_number": "20261119011", "date": "2026-11-19", "customer": "对照换货客户", "status": "recorded" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 6000, "payer": "assistant2", "excluded": false, "calculation": { "rate": 500, "quantity": 12000 }, "component": "labor", "order_id": "", "number": "MM20261119-", "paper_number": "20261119011", "date": "2026-11-19", "customer": "对照换货客户", "status": "recorded" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories", "order_id": "", "number": "MM20261119-", "paper_number": "20261119011", "date": "2026-11-19", "customer": "对照换货客户", "status": "recorded" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other", "order_id": "", "number": "MM20261119-", "paper_number": "20261119011", "date": "2026-11-19", "customer": "对照换货客户", "status": "recorded" } ] } }, "peopleCount": null, "priceLockActivity": { "basis": "eventDate", "from": "2026-11-18", "date": "2026-11-19", "customerCash": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 50000, "account": "助理2微信", "number": "SJ20261118-", "customer": "对照锁价客户三", "product": "足金999", "actor": "助理2", "created": "2026-11-18T02:01:55.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null } ], "orderPayments": [], "materialOutlays": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "material", "amount": 258000, "payer": "assistant2", "source": "original", "quantity": 3000, "rate": 86000, "number": "SJ20261118-", "customer": "对照锁价客户三", "product": "足金999", "actor": "助理2", "created": "2026-11-18T02:01:55.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "component": "material" } ], "directOutlays": [], "deliveryGoodsOutlays": [], "receipts": { "receipt": 50000, "refund": 0, "net": 50000, "channels": [ { "channel": "wechat", "name": "微信", "receipt": 50000, "refund": 0, "net": 50000 }, { "channel": "alipay", "name": "支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "channel": "cash", "name": "现金", "receipt": 0, "refund": 0, "net": 0 } ], "accounts": [ { "account": "助理微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2微信", "receipt": 50000, "refund": 0, "net": 50000 }, { "account": "助理2支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2现金", "receipt": 0, "refund": 0, "net": 0 } ], "paymentCount": 1, "orderCount": 1 }, "payerOutlays": { "owner": { "payer": "owner", "material": 0, "goods": 0, "paidFees": 0, "total": 0 }, "assistant": { "payer": "assistant", "material": 0, "goods": 0, "paidFees": 0, "total": 0 }, "assistant2": { "payer": "assistant2", "material": 258000, "goods": 258000, "paidFees": 0, "total": 258000 } }, "summary": { "receipt": 50000, "refund": 0, "net": 50000, "materialOutlay": 258000, "goodsOutlay": 258000, "feeOutlay": 0, "ownerOutlay": 0, "assistantOutlay": 0, "assistant2Outlay": 258000, "totalOutlay": 258000, "eventCount": 2, "lockCount": 1 } }, "outlayGoods": 1877720, "outlayExpense": 800, "outlayTotal": 1878520, "receiptsByOrderDate": { "basis": "orderDate", "filterScope": "matchingOrders", "from": "2026-11-18", "date": "2026-11-19", "receipt": 1491955, "refund": 90000, "net": 1401955, "channels": [ { "channel": "wechat", "name": "微信", "receipt": 1192792, "refund": 0, "net": 1192792 }, { "channel": "alipay", "name": "支付宝", "receipt": 299163, "refund": 90000, "net": 209163 }, { "channel": "cash", "name": "现金", "receipt": 0, "refund": 0, "net": 0 } ], "accounts": [ { "account": "助理微信", "receipt": 210000, "refund": 0, "net": 210000 }, { "account": "助理支付宝", "receipt": 82000, "refund": 0, "net": 82000 }, { "account": "助理现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2微信", "receipt": 982792, "refund": 0, "net": 982792 }, { "account": "助理2支付宝", "receipt": 217163, "refund": 90000, "net": 127163 }, { "account": "助理2现金", "receipt": 0, "refund": 0, "net": 0 } ], "paymentCount": 9, "orderCount": 7 }, "totalCost": 1162520, "recipientReceipts": { "assistant": { "recipient": "assistant", "name": "娜娜", "receipt": 292000, "refund": 0, "net": 292000, "items": [ { "id": "", "date": "2026-11-18", "kind": "receipt", "amount": 82000, "account": "助理支付宝", "order_id": "", "price_lock_id": null, "order_date": "2026-11-18", "number": "MM20261118-", "paper_number": "20261118008", "customer": "对照驳回客户", "reference": "开单时已全额收款", "note": "", "created": "2026-11-18T02:01:26.000Z" }, { "id": "", "date": "2026-11-19", "kind": "receipt", "amount": 210000, "account": "助理微信", "order_id": "", "price_lock_id": null, "order_date": "2026-11-19", "number": "MM20261119-", "paper_number": "20261119013", "customer": "当天客户(改)", "reference": "开单时已全额收款", "note": "", "created": "2026-11-19T02:01:48.000Z" } ] }, "owner": { "recipient": "owner", "name": "麦麦", "receipt": 0, "refund": 0, "net": 0, "items": [] }, "assistant2": { "recipient": "assistant2", "name": "小昊", "receipt": 1199955, "refund": 90000, "net": 1109955, "items": [ { "id": "", "date": "2026-11-18", "kind": "receipt", "amount": 217163, "account": "助理2支付宝", "order_id": "", "price_lock_id": null, "order_date": "2026-11-18", "number": "MM20261118-", "paper_number": "20261118002", "customer": "对照客户乙", "reference": "开单时已全额收款", "note": "", "created": "2026-11-18T02:01:18.000Z" }, { "id": "", "date": "2026-11-18", "kind": "receipt", "amount": 150000, "account": "助理2现金", "order_id": "", "price_lock_id": null, "order_date": "2026-11-18", "number": "MM20261118-", "paper_number": "20261118006", "customer": "对照取消客户", "reference": "开单时已全额收款", "note": "", "created": "2026-11-18T02:01:24.000Z" }, { "id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "order_id": "", "price_lock_id": null, "order_date": "2026-11-18", "number": "MM20261118-", "paper_number": "20261118007", "customer": "对照售后订单客户", "reference": "开单时已全额收款", "note": "", "created": "2026-11-18T02:01:25.000Z" }, { "id": "", "date": "2026-11-18", "kind": "receipt", "amount": -150000, "account": "助理2现金", "order_id": "", "price_lock_id": null, "order_date": "2026-11-18", "number": "MM20261118-", "paper_number": "20261118006", "customer": "对照取消客户", "reference": "更正冲回:取消审批作废;重复录入", "note": "", "created": "2026-11-19T02:00:45.000Z" }, { "id": "", "date": "2026-11-19", "kind": "receipt", "amount": 432792, "account": "助理2微信", "order_id": "", "price_lock_id": null, "order_date": "2026-11-19", "number": "MM20261119-", "paper_number": "20261119011", "customer": "对照换货客户", "reference": "置换差额实际收款 · HS202611190001", "note": "", "created": "2026-11-19T02:01:32.000Z" }, { "id": "", "date": "2026-11-18", "kind": "receipt", "amount": 50000, "account": "助理2微信", "order_id": null, "price_lock_id": "", "order_date": null, "number": "SJ20261118-", "paper_number": null, "customer": "对照锁价客户三", "reference": "", "note": "锁价备注", "created": "2026-11-18T02:01:55.000Z" }, { "id": "", "date": "2026-11-19", "kind": "refund", "amount": 90000, "account": "助理2支付宝", "order_id": "", "price_lock_id": null, "order_date": "2026-11-18", "number": "MM20261118-", "paper_number": "20261118007", "customer": "对照售后订单客户", "reference": "整单售后退款", "note": "", "created": "2026-11-19T02:01:05.000Z", "order_after_sale": true } ] } }, "ownershipReceipts": { "assistant2": { "member": "assistant2", "name": "小昊", "receipt": 1491955, "refund": 90000, "net": 1401955, "accounts": [ { "account": "助理支付宝", "recipient": "assistant", "channel": "alipay", "receipt": 82000, "refund": 0, "net": 82000, "entryCount": 1 }, { "account": "助理微信", "recipient": "assistant", "channel": "wechat", "receipt": 210000, "refund": 0, "net": 210000, "entryCount": 1 }, { "account": "助理2支付宝", "recipient": "assistant2", "channel": "alipay", "receipt": 217163, "refund": 90000, "net": 127163, "entryCount": 2 }, { "account": "助理2现金", "recipient": "assistant2", "channel": "cash", "receipt": 0, "refund": 0, "net": 0, "entryCount": 2 }, { "account": "助理2微信", "recipient": "assistant2", "channel": "wechat", "receipt": 982792, "refund": 0, "net": 982792, "entryCount": 3 } ], "items": [ { "id": "", "date": "2026-11-18", "kind": "receipt", "amount": 82000, "account": "助理支付宝", "order_id": "", "price_lock_id": null, "order_date": "2026-11-18", "number": "MM20261118-", "paper_number": "20261118008", "customer": "对照驳回客户", "reference": "开单时已全额收款", "note": "", "created": "2026-11-18T02:01:26.000Z" }, { "id": "", "date": "2026-11-19", "kind": "receipt", "amount": 210000, "account": "助理微信", "order_id": "", "price_lock_id": null, "order_date": "2026-11-19", "number": "MM20261119-", "paper_number": "20261119013", "customer": "当天客户(改)", "reference": "开单时已全额收款", "note": "", "created": "2026-11-19T02:01:48.000Z" }, { "id": "", "date": "2026-11-18", "kind": "receipt", "amount": 217163, "account": "助理2支付宝", "order_id": "", "price_lock_id": null, "order_date": "2026-11-18", "number": "MM20261118-", "paper_number": "20261118002", "customer": "对照客户乙", "reference": "开单时已全额收款", "note": "", "created": "2026-11-18T02:01:18.000Z" }, { "id": "", "date": "2026-11-18", "kind": "receipt", "amount": 150000, "account": "助理2现金", "order_id": "", "price_lock_id": null, "order_date": "2026-11-18", "number": "MM20261118-", "paper_number": "20261118006", "customer": "对照取消客户", "reference": "开单时已全额收款", "note": "", "created": "2026-11-18T02:01:24.000Z" }, { "id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "order_id": "", "price_lock_id": null, "order_date": "2026-11-18", "number": "MM20261118-", "paper_number": "20261118007", "customer": "对照售后订单客户", "reference": "开单时已全额收款", "note": "", "created": "2026-11-18T02:01:25.000Z" }, { "id": "", "date": "2026-11-18", "kind": "receipt", "amount": -150000, "account": "助理2现金", "order_id": "", "price_lock_id": null, "order_date": "2026-11-18", "number": "MM20261118-", "paper_number": "20261118006", "customer": "对照取消客户", "reference": "更正冲回:取消审批作废;重复录入", "note": "", "created": "2026-11-19T02:00:45.000Z" }, { "id": "", "date": "2026-11-19", "kind": "receipt", "amount": 432792, "account": "助理2微信", "order_id": "", "price_lock_id": null, "order_date": "2026-11-19", "number": "MM20261119-", "paper_number": "20261119011", "customer": "对照换货客户", "reference": "置换差额实际收款 · HS202611190001", "note": "", "created": "2026-11-19T02:01:32.000Z" }, { "id": "", "date": "2026-11-18", "kind": "receipt", "amount": 50000, "account": "助理2微信", "order_id": null, "price_lock_id": "", "order_date": null, "number": "SJ20261118-", "paper_number": null, "customer": "对照锁价客户三", "reference": "", "note": "锁价备注", "created": "2026-11-18T02:01:55.000Z" }, { "id": "", "date": "2026-11-19", "kind": "refund", "amount": 90000, "account": "助理2支付宝", "order_id": "", "price_lock_id": null, "order_date": "2026-11-18", "number": "MM20261118-", "paper_number": "20261118007", "customer": "对照售后订单客户", "reference": "整单售后退款", "note": "", "created": "2026-11-19T02:01:05.000Z", "order_after_sale": true } ] } }, "ownershipBusiness": { "assistant2": { "member": "assistant2", "name": "小昊", "basis": "orderDate", "from": "2026-11-18", "date": "2026-11-19", "recordCount": 7, "orderCount": 6, "afterSaleCount": 1, "draftCount": 0, "sales": 1351955, "netReceipts": 1401955, "totalCost": 1162520, "knownTotalCost": 1162520, "selfCost": 911720, "knownSelfCost": 911720, "otherCost": 250800, "knownOtherCost": 250800, "profit": 189435, "knownProfit": 189435, "incomplete": false, "missingCostCount": 0, "pendingCostCount": 0, "unknownProfitCount": 0, "costByPayer": { "owner": { "member": "owner", "name": "麦麦", "totalCost": 0, "knownTotalCost": 0, "missingCount": 0, "pendingCount": 0 }, "assistant": { "member": "assistant", "name": "娜娜", "totalCost": 250800, "knownTotalCost": 250800, "missingCount": 0, "pendingCount": 0 }, "assistant2": { "member": "assistant2", "name": "小昊", "totalCost": 911720, "knownTotalCost": 911720, "missingCount": 0, "pendingCount": 0 } }, "poolMaterial": { "mg": 0, "amount": 0, "knownAmount": 0, "missingCount": 0, "byPayer": { "owner": { "amount": 0, "knownAmount": 0 }, "assistant": { "amount": 0, "knownAmount": 0 }, "assistant2": { "amount": 0, "knownAmount": 0 } }, "hasPriceLocks": false, "days": [], "otherCosts": { "knownAmount": 1162520, "amount": 1162520 } }, "ownerAdvances": { "basis": "orderDate", "from": "2026-11-18", "date": "2026-11-19", "days": [] }, "currentAccount": { "basis": "orderDate", "from": "2026-11-18", "date": "2026-11-19", "days": [ { "date": "2026-11-18", "recordCount": 4, "knownMaterialCost": 0, "knownOtherCost": 0, "knownProfit": 96163, "ownerNetReceipts": 0, "missingCostCount": 0, "pendingCostCount": 0, "unknownProfitCount": 0, "incomplete": false, "materialCost": 0, "otherCost": 0, "profit": 96163, "knownAmount": 96163, "amount": 96163 }, { "date": "2026-11-19", "recordCount": 3, "knownMaterialCost": 0, "knownOtherCost": 0, "knownProfit": 93272, "ownerNetReceipts": 0, "missingCostCount": 0, "pendingCostCount": 0, "unknownProfitCount": 0, "incomplete": false, "materialCost": 0, "otherCost": 0, "profit": 93272, "knownAmount": 93272, "amount": 93272 } ] }, "difference": { "amount": 50000, "reconciled": false, "reasons": [ { "code": "price_lock_timing", "text": "锁价定金、尾款与退款按实际发生日核对,销售与利润按成交单日期核算。" }, { "code": "order_after_sale", "text": "订单售后按实际发生日确认退款和利润调整,原开单日结果保留;扣留客户款已计入最终结果。" }, { "code": "refund_or_cancellation", "text": "退货或作废已按原账冲回销售;尚未退清的客户款或不同日期的退款不作为销售利润。" } ] }, "equation": { "basis": "sales", "revenue": 1351955, "totalCost": 1162520, "profit": 189435, "complete": true }, "settlement": { "available": true, "basis": "cumulative-through-date", "from": "2026-11-18", "date": "2026-11-19", "dueOut": 0, "dueIn": 41200, "partial": false, "pendingCount": 0, "legacyCount": 0, "notice": "截至所选日的累计往来,已抵扣实际转账与代收;逐人核对,不将他人付款成本直接当作应转。", "counterparts": [ { "member": "owner", "name": "麦麦", "dueOut": 0, "dueIn": 0, "openingDue": 0, "periodNew": 0, "periodTransferred": 0, "closingDue": 0, "offset": 0, "period": { "obligationNet": 0, "transferred": 0, "receivedForNet": 0, "advancedNet": 0 } }, { "member": "assistant", "name": "娜娜", "dueOut": 0, "dueIn": 41200, "openingDue": 0, "periodNew": -41200, "periodTransferred": 0, "closingDue": -41200, "offset": 250800, "period": { "obligationNet": -41200, "transferred": 0, "receivedForNet": -292000, "advancedNet": 250800 } } ] }, "hasActivity": true } }, "dailyProfits": { "basis": "orderDate", "from": "2026-11-18", "date": "2026-11-19", "rows": [ { "recordCount": 4, "orderCount": 4, "afterSaleCount": 0, "draftCount": 0, "sales": 799163, "knownTotalCost": 703000, "knownProfit": 96163, "unknownCostCount": 0, "unknownProfitCount": 0, "incomplete": false, "date": "2026-11-18", "member": "assistant2", "name": "小昊", "totalCost": 703000, "profit": 96163 }, { "recordCount": 3, "orderCount": 2, "afterSaleCount": 1, "draftCount": 0, "sales": 552792, "knownTotalCost": 459520, "knownProfit": 93272, "unknownCostCount": 0, "unknownProfitCount": 0, "incomplete": false, "date": "2026-11-19", "member": "assistant2", "name": "小昊", "totalCost": 459520, "profit": 93272 } ], "summary": { "recordCount": 7, "orderCount": 6, "afterSaleCount": 1, "draftCount": 0, "sales": 1351955, "knownTotalCost": 1162520, "knownProfit": 189435, "unknownCostCount": 0, "unknownProfitCount": 0, "incomplete": false, "totalCost": 1162520, "profit": 189435 } }, "dailyFunds": { "date": "2026-11-19", "from": "2026-11-18", "team": { "from": "2026-11-18", "to": "2026-11-19", "date": "2026-11-19", "members": [ { "id": "owner", "name": "麦麦" }, { "id": "assistant", "name": "娜娜" }, { "id": "assistant2", "name": "小昊" } ], "balances": [ { "member": "assistant2", "receipts": 1199955, "refunds": 90000, "outlays": 1627720, "transferIn": 0, "transferOut": 0, "openingChange": 0, "periodChange": -517765, "cumulativeChange": -517765, "cashBalance": -517765, "balanceType": "recorded-change", "notice": "仅三人新账已登记的资金增减,不含真实期初余额" } ], "pairs": [ { "id": "owner:assistant2", "members": [ "owner", "assistant2" ], "net": 0, "obligationNet": 0, "transferred": 0, "receivedForNet": 0, "advancedNet": 0, "offset": 0, "due": 0, "fromMember": null, "toMember": null, "direction": "none", "period": { "obligationNet": 0, "transferred": 0, "receivedForNet": 0, "advancedNet": 0 }, "entries": [] }, { "id": "assistant:assistant2", "members": [ "assistant", "assistant2" ], "net": 41200, "obligationNet": 41200, "transferred": 0, "receivedForNet": 292000, "advancedNet": -250800, "offset": 250800, "due": 41200, "fromMember": "assistant", "toMember": "assistant2", "direction": "transfer", "period": { "obligationNet": 41200, "transferred": 0, "receivedForNet": 292000, "advancedNet": -250800 }, "entries": [ { "id": "", "date": "2026-11-18", "kind": "receipt", "project": "客户款代收", "fromMember": "assistant", "toMember": "assistant2", "amount": 82000, "revision": 2 }, { "id": "", "date": "2026-11-18", "kind": "advance", "project": "商品实际垫付", "fromMember": "assistant2", "toMember": "assistant", "amount": 70000, "revision": 2 }, { "id": "", "date": "2026-11-19", "kind": "receipt", "project": "客户款代收", "fromMember": "assistant", "toMember": "assistant2", "amount": 210000, "revision": 3 }, { "id": "", "date": "2026-11-19", "kind": "advance", "project": "订单实际费用", "fromMember": "assistant2", "toMember": "assistant", "amount": 800, "revision": 3 }, { "id": "", "date": "2026-11-19", "kind": "advance", "project": "商品实际垫付", "fromMember": "assistant2", "toMember": "assistant", "amount": 180000, "revision": 3 } ] } ], "entries": [ { "id": "", "date": "2026-11-18", "kind": "receipt", "project": "客户款代收", "fromMember": "assistant", "toMember": "assistant2", "amount": 82000, "revision": 2 }, { "id": "", "date": "2026-11-18", "kind": "advance", "project": "商品实际垫付", "fromMember": "assistant2", "toMember": "assistant", "amount": 70000, "revision": 2 }, { "id": "", "date": "2026-11-19", "kind": "receipt", "project": "客户款代收", "fromMember": "assistant", "toMember": "assistant2", "amount": 210000, "revision": 3 }, { "id": "", "date": "2026-11-19", "kind": "advance", "project": "订单实际费用", "fromMember": "assistant2", "toMember": "assistant", "amount": 800, "revision": 3 }, { "id": "", "date": "2026-11-19", "kind": "advance", "project": "商品实际垫付", "fromMember": "assistant2", "toMember": "assistant", "amount": 180000, "revision": 3 } ], "transfers": [], "revision": "dc9272ede872920e05008ef8c8e2a290e766de64cae986a7eb1b705d4e306dda", "pending": [], "legacyReadOnly": true, "cutover": "仅已启用的三人新账事件;旧结算不自动迁入", "transfersDeducted": true }, "readOnly": true, "hasRecords": true, "pendingCount": 0, "legacyReadOnly": true, "transfersNotDeducted": false, "reimbursements": [ { "id": "", "date": "2026-11-18", "items": [ { "id": "", "name": "对照快递", "amount": 900, "member": "owner", "sourceType": "independent", "sourceKey": "", "usedAmount": 0, "remainingAmount": 900 } ], "total": 900, "note": "", "status": "rejected", "revision": 2, "requester_id": "", "requester_name": "助理2", "reviewer_id": "", "reviewer_name": "麦麦", "reviewed": "2026-11-18T02:02:26.000Z", "review_note": "凭据不全", "created": "2026-11-18T02:02:25.000Z", "updated": "2026-11-18T02:02:26.000Z", "payer": "assistant2", "member": "assistant2", "fundingMode": "independent", "canEdit": true, "canApprove": false } ], "approvedReimbursements": 0, "ready": true, "transferAmount": null, "direction": null, "sources": { "revision": "dc9272ede872920e05008ef8c8e2a290e766de64cae986a7eb1b705d4e306dda", "total": 0, "items": [] }, "confirmation": null, "actualOutlay": null, "missingDates": [], "staleDates": [], "days": [] }, "reportRevision": "5a3e9dc1b3231a5b75145e19ecdf916b09c3eebe2e7158151dd9f9b66b82f613" } }, { "seq": 452, "label": "order-book-d2-assistant2", "date": "2026-11-19", "actor": "assistant2", "method": "GET", "path": "/api/order-book?date=2026-11-19", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "from": "2026-11-19", "date": "2026-11-19", "today": "2026-11-19", "q": "", "status": "all", "pocket": "", "rows": [ { "id": "", "order_id": "", "kind": "orderAfterSale", "orderAfterSale": { "orderId": "", "date": "2026-11-19", "reason": "客户退回一件", "deductionReason": "客户确认扣费", "refund": { "amount": 90000, "account": "助理2支付宝", "payer": "assistant2", "reference": "" }, "expenses": [], "original": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": { "id": "", "status": "approved", "action": "return", "action_label": "订单售后", "order_revision": 4, "reason": "客户退回一件", "requester_name": "助理2", "created": "2026-11-19T02:01:03.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:01:05.000Z", "note": "实物已收回" }, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 0, "netReceived": 500000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 50000, "knownProfit": 50000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "funds_mode": "team", "credit_card_rate_permille": 6 }, "originalJournal": { "sales": 500000, "goods": 450000, "expense": 0, "profit": 50000 }, "summary": { "refundAmount": 90000, "retainedAmount": 410000, "materialReturnedCost": 88000, "laborRestockedCost": 0, "materialLoss": 352000, "costLoss": 362000, "originalDirectCost": 0, "newExpenses": 0, "directCost": 0, "profit": 48000, "finalProfit": 48000, "profitAdjustment": -2000, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ] }, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ], "order_id": "", "created": "2026-11-19T02:01:05.000Z", "number": "MM20261118-", "paper_number": "20261118007", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "order_date": "2026-11-18", "member": "assistant2" }, "member": "assistant2", "number": "MM20261118-", "paper_number": "20261118007", "date": "2026-11-19", "order_date": "2026-11-18", "created": "2026-11-19T02:01:05.000Z", "customer": "对照售后订单客户", "salesperson": "小昊", "status": "after_sale", "note": "", "project": "订单售后", "types": [ "订单售后" ], "mg": 0, "summaryMg": 0, "pieces": 0, "originalSale": 500000, "sale": -90000, "material": -88000, "laborAndFees": 0, "unallocated": 0, "totalCost": -88000, "profit": -2000, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": -88000, "known": { "sale": -90000, "material": -88000, "laborAndFees": 0, "unallocated": 0, "totalCost": -88000, "profit": -2000, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": -88000 }, "costItems": [ { "kind": "goods", "component": "material", "name": "售后收回金料成本", "source": "商品 1 · 足金手链", "amount": -88000, "payer": "assistant2", "nonCash": true, "materialPoolId": "2026-11-19", "calculation": null } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "按售后发生日调整;回收成本不属于新付款", "balance": 0, "revision": 1, "reviewed_revision": 1 }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119011", "date": "2026-11-19", "created": "2026-11-19T02:01:32.000Z", "recovery_id": "", "recovery_mode": "exchange", "nonCashOffset": 0, "cashPaid": 0, "netSettlement": 432792, "recovery_immutable_reason": "本单关联黄金回收/置换、购料及库存,暂不支持普通订单修改、取消、退款、退货或费用变更,请保留原关联记录", "customer": "对照换货客户", "salesperson": "小昊", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 12000, "summaryMg": 12000, "pieces": 0, "originalSale": 432792, "sale": 432792, "material": 360720, "laborAndFees": 6000, "unallocated": 0, "totalCost": 366720, "profit": 66072, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 366720, "known": { "sale": 432792, "material": 360720, "laborAndFees": 6000, "unallocated": 0, "totalCost": 366720, "profit": 66072, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 366720 }, "costItems": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金对照新货", "amount": 360720, "payer": "assistant2", "excluded": false, "calculation": { "rate": 90000, "quantity": 4008 }, "component": "material" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 6000, "payer": "assistant2", "excluded": false, "calculation": { "rate": 500, "quantity": 12000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 6000, "payer": "assistant2", "excluded": false, "calculation": { "rate": 500, "quantity": 12000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 4, "reviewed_revision": 0 }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119013", "date": "2026-11-19", "created": "2026-11-19T02:01:48.000Z", "customer": "当天客户(改)", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 2000, "summaryMg": 2000, "pieces": 0, "originalSale": 210000, "sale": 210000, "material": null, "laborAndFees": null, "unallocated": 180000, "totalCost": 180800, "profit": 29200, "ownerCost": 0, "assistantCost": 180800, "assistant2Cost": 0, "known": { "sale": 210000, "material": 0, "laborAndFees": 800, "unallocated": 180000, "totalCost": 180800, "profit": 29200, "ownerCost": 0, "assistantCost": 180800, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金吊坠", "amount": 180000, "payer": "assistant", "excluded": false, "calculation": null, "component": "unallocated" }, { "kind": "paid", "name": "当天快递", "source": "2026-11-19", "amount": 800, "payer": "assistant", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "paid", "name": "当天快递", "source": "2026-11-19", "amount": 800, "payer": "assistant", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 7, "reviewed_revision": 0 } ], "displayRows": [ { "id": "", "order_id": "", "kind": "orderAfterSale", "orderAfterSale": { "orderId": "", "date": "2026-11-19", "reason": "客户退回一件", "deductionReason": "客户确认扣费", "refund": { "amount": 90000, "account": "助理2支付宝", "payer": "assistant2", "reference": "" }, "expenses": [], "original": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": { "id": "", "status": "approved", "action": "return", "action_label": "订单售后", "order_revision": 4, "reason": "客户退回一件", "requester_name": "助理2", "created": "2026-11-19T02:01:03.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:01:05.000Z", "note": "实物已收回" }, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 0, "netReceived": 500000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 50000, "knownProfit": 50000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "funds_mode": "team", "credit_card_rate_permille": 6 }, "originalJournal": { "sales": 500000, "goods": 450000, "expense": 0, "profit": 50000 }, "summary": { "refundAmount": 90000, "retainedAmount": 410000, "materialReturnedCost": 88000, "laborRestockedCost": 0, "materialLoss": 352000, "costLoss": 362000, "originalDirectCost": 0, "newExpenses": 0, "directCost": 0, "profit": 48000, "finalProfit": 48000, "profitAdjustment": -2000, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ] }, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ], "order_id": "", "created": "2026-11-19T02:01:05.000Z", "number": "MM20261118-", "paper_number": "20261118007", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "order_date": "2026-11-18", "member": "assistant2" }, "member": "assistant2", "number": "MM20261118-", "paper_number": "20261118007", "date": "2026-11-19", "order_date": "2026-11-18", "created": "2026-11-19T02:01:05.000Z", "customer": "对照售后订单客户", "salesperson": "小昊", "status": "after_sale", "note": "", "project": "订单售后", "types": [ "订单售后" ], "mg": 0, "summaryMg": 0, "pieces": 0, "originalSale": 500000, "sale": -90000, "material": -88000, "laborAndFees": 0, "unallocated": 0, "totalCost": -88000, "profit": -2000, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": -88000, "known": { "sale": -90000, "material": -88000, "laborAndFees": 0, "unallocated": 0, "totalCost": -88000, "profit": -2000, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": -88000 }, "costItems": [ { "kind": "goods", "component": "material", "name": "售后收回金料成本", "source": "商品 1 · 足金手链", "amount": -88000, "payer": "assistant2", "nonCash": true, "materialPoolId": "2026-11-19", "calculation": null } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "按售后发生日调整;回收成本不属于新付款", "balance": 0, "revision": 1, "reviewed_revision": 1 }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119011", "date": "2026-11-19", "created": "2026-11-19T02:01:32.000Z", "recovery_id": "", "recovery_mode": "exchange", "nonCashOffset": 0, "cashPaid": 0, "netSettlement": 432792, "recovery_immutable_reason": "本单关联黄金回收/置换、购料及库存,暂不支持普通订单修改、取消、退款、退货或费用变更,请保留原关联记录", "customer": "对照换货客户", "salesperson": "小昊", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 12000, "summaryMg": 12000, "pieces": 0, "originalSale": 432792, "sale": 432792, "material": 360720, "laborAndFees": 6000, "unallocated": 0, "totalCost": 366720, "profit": 66072, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 366720, "known": { "sale": 432792, "material": 360720, "laborAndFees": 6000, "unallocated": 0, "totalCost": 366720, "profit": 66072, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 366720 }, "costItems": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金对照新货", "amount": 360720, "payer": "assistant2", "excluded": false, "calculation": { "rate": 90000, "quantity": 4008 }, "component": "material" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 6000, "payer": "assistant2", "excluded": false, "calculation": { "rate": 500, "quantity": 12000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 6000, "payer": "assistant2", "excluded": false, "calculation": { "rate": 500, "quantity": 12000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 4, "reviewed_revision": 0, "printStatus": { "kind": "recovery", "id": "", "printed": true, "revision": 1, "updated": "2026-11-19T02:01:40.000Z", "actor": "助理2" } }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119013", "date": "2026-11-19", "created": "2026-11-19T02:01:48.000Z", "customer": "当天客户(改)", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 2000, "summaryMg": 2000, "pieces": 0, "originalSale": 210000, "sale": 210000, "material": null, "laborAndFees": null, "unallocated": 180000, "totalCost": 180800, "profit": 29200, "ownerCost": 0, "assistantCost": 180800, "assistant2Cost": 0, "known": { "sale": 210000, "material": 0, "laborAndFees": 800, "unallocated": 180000, "totalCost": 180800, "profit": 29200, "ownerCost": 0, "assistantCost": 180800, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金吊坠", "amount": 180000, "payer": "assistant", "excluded": false, "calculation": null, "component": "unallocated" }, { "kind": "paid", "name": "当天快递", "source": "2026-11-19", "amount": 800, "payer": "assistant", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "paid", "name": "当天快递", "source": "2026-11-19", "amount": 800, "payer": "assistant", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 7, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } } ], "recoveryCount": 0, "summary": { "orderCount": 2, "completedCount": 2, "draftCount": 0, "confirmedCount": 0, "returnedCount": 1, "cancelledCount": 0, "incompleteCount": 0, "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "unknownCostCount": 0, "unknownProfitCount": 0, "legacyUnallocatedCount": 1, "sale": 552792, "material": 272720, "laborAndFees": 6800, "unallocated": 180000, "totalCost": 459520, "profit": 93272, "ownerCost": 0, "assistantCost": 180800, "assistant2Cost": 278720, "mg": 14000, "pieces": 0, "knownCounts": { "sale": 2, "material": 1, "laborAndFees": 1, "unallocated": 2, "totalCost": 2, "profit": 2, "ownerCost": 2, "assistantCost": 2, "assistant2Cost": 2 }, "unknownCounts": { "sale": 0, "material": 1, "laborAndFees": 1, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0 }, "partial": true, "afterSaleCount": 1, "recordCount": 3 }, "peopleCount": null, "priceLockActivity": { "basis": "eventDate", "from": "2026-11-19", "date": "2026-11-19", "customerCash": [], "orderPayments": [], "materialOutlays": [], "directOutlays": [], "deliveryGoodsOutlays": [], "receipts": { "receipt": 0, "refund": 0, "net": 0, "channels": [ { "channel": "wechat", "name": "微信", "receipt": 0, "refund": 0, "net": 0 }, { "channel": "alipay", "name": "支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "channel": "cash", "name": "现金", "receipt": 0, "refund": 0, "net": 0 } ], "accounts": [ { "account": "助理微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2现金", "receipt": 0, "refund": 0, "net": 0 } ], "paymentCount": 0, "orderCount": 0 }, "payerOutlays": { "owner": { "payer": "owner", "material": 0, "goods": 0, "paidFees": 0, "total": 0 }, "assistant": { "payer": "assistant", "material": 0, "goods": 0, "paidFees": 0, "total": 0 }, "assistant2": { "payer": "assistant2", "material": 0, "goods": 0, "paidFees": 0, "total": 0 } }, "summary": { "receipt": 0, "refund": 0, "net": 0, "materialOutlay": 0, "goodsOutlay": 0, "feeOutlay": 0, "ownerOutlay": 0, "assistantOutlay": 0, "assistant2Outlay": 0, "totalOutlay": 0, "eventCount": 0, "lockCount": 0 } }, "materialPoolActivity": { "basis": "purchaseDate", "from": "2026-11-19", "date": "2026-11-19", "purchases": [ { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 4000, "amount": 370000, "payer": "assistant2", "note": "", "actor": "助理2", "created": "2026-11-19T02:02:20.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:20.000Z" } ], "payerOutlays": { "owner": { "payer": "owner", "material": 0, "goods": 0, "paidFees": 0, "total": 0, "purchaseCount": 0 }, "assistant": { "payer": "assistant", "material": 0, "goods": 0, "paidFees": 0, "total": 0, "purchaseCount": 0 }, "assistant2": { "payer": "assistant2", "material": 370000, "goods": 370000, "paidFees": 0, "total": 370000, "purchaseCount": 1 } }, "summary": { "purchaseCount": 1, "poolCount": 1, "mg": 4000, "materialOutlay": 370000, "purchaseValue": 370000, "ownerOutlay": 0, "assistantOutlay": 0, "assistant2Outlay": 370000, "totalOutlay": 370000, "eventCount": 1 } }, "summaryWithoutCancelled": { "orderCount": 2, "completedCount": 2, "draftCount": 0, "confirmedCount": 0, "returnedCount": 1, "cancelledCount": 0, "incompleteCount": 0, "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "unknownCostCount": 0, "unknownProfitCount": 0, "legacyUnallocatedCount": 1, "sale": 552792, "material": 272720, "laborAndFees": 6800, "unallocated": 180000, "totalCost": 459520, "profit": 93272, "ownerCost": 0, "assistantCost": 180800, "assistant2Cost": 278720, "mg": 14000, "pieces": 0, "knownCounts": { "sale": 2, "material": 1, "laborAndFees": 1, "unallocated": 2, "totalCost": 2, "profit": 2, "ownerCost": 2, "assistantCost": 2, "assistant2Cost": 2 }, "unknownCounts": { "sale": 0, "material": 1, "laborAndFees": 1, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0 }, "partial": true, "afterSaleCount": 1, "recordCount": 3 }, "receiptsWithoutCancelled": { "basis": "orderDate", "filterScope": "matchingOrdersWithoutCancelled", "from": "2026-11-19", "date": "2026-11-19", "receipt": 642792, "refund": 90000, "net": 552792, "channels": [ { "channel": "wechat", "name": "微信", "receipt": 642792, "refund": 0, "net": 642792 }, { "channel": "alipay", "name": "支付宝", "receipt": 0, "refund": 90000, "net": -90000 }, { "channel": "cash", "name": "现金", "receipt": 0, "refund": 0, "net": 0 } ], "accounts": [ { "account": "助理微信", "receipt": 210000, "refund": 0, "net": 210000 }, { "account": "助理支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2微信", "receipt": 432792, "refund": 0, "net": 432792 }, { "account": "助理2支付宝", "receipt": 0, "refund": 90000, "net": -90000 }, { "account": "助理2现金", "receipt": 0, "refund": 0, "net": 0 } ], "paymentCount": 3, "orderCount": 3 }, "receiptsByPaymentDate": { "basis": "paymentDate", "filterScope": "dateRange", "from": "2026-11-19", "date": "2026-11-19", "receipt": 642792, "refund": 90000, "net": 552792, "channels": [ { "channel": "wechat", "name": "微信", "receipt": 642792, "refund": 0, "net": 642792 }, { "channel": "alipay", "name": "支付宝", "receipt": 0, "refund": 90000, "net": -90000 }, { "channel": "cash", "name": "现金", "receipt": 0, "refund": 0, "net": 0 } ], "accounts": [ { "account": "助理微信", "receipt": 210000, "refund": 0, "net": 210000 }, { "account": "助理支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2微信", "receipt": 432792, "refund": 0, "net": 432792 }, { "account": "助理2支付宝", "receipt": 0, "refund": 90000, "net": -90000 }, { "account": "助理2现金", "receipt": 0, "refund": 0, "net": 0 } ], "paymentCount": 3, "orderCount": 3 }, "receiptsByOrderDate": { "basis": "orderDate", "filterScope": "matchingOrders", "from": "2026-11-19", "date": "2026-11-19", "receipt": 642792, "refund": 90000, "net": 552792, "channels": [ { "channel": "wechat", "name": "微信", "receipt": 642792, "refund": 0, "net": 642792 }, { "channel": "alipay", "name": "支付宝", "receipt": 0, "refund": 90000, "net": -90000 }, { "channel": "cash", "name": "现金", "receipt": 0, "refund": 0, "net": 0 } ], "accounts": [ { "account": "助理微信", "receipt": 210000, "refund": 0, "net": 210000 }, { "account": "助理支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2微信", "receipt": 432792, "refund": 0, "net": 432792 }, { "account": "助理2支付宝", "receipt": 0, "refund": 90000, "net": -90000 }, { "account": "助理2现金", "receipt": 0, "refund": 0, "net": 0 } ], "paymentCount": 3, "orderCount": 3 } } }, { "seq": 453, "label": "order-book-range-assistant2", "date": "2026-11-19", "actor": "assistant2", "method": "GET", "path": "/api/order-book?from=2026-11-18&date=2026-11-19", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "from": "2026-11-18", "date": "2026-11-19", "today": "2026-11-19", "q": "", "status": "all", "pocket": "", "rows": [ { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118002", "date": "2026-11-18", "created": "2026-11-18T02:01:18.000Z", "customer": "对照客户乙", "salesperson": "小昊", "status": "delivered", "note": "", "types": [ "货盘现货", "配货 · 银饰" ], "mg": 2000, "summaryMg": 2000, "pieces": 3, "originalSale": 217163, "sale": 217163, "material": null, "laborAndFees": null, "unallocated": 183000, "totalCost": 183000, "profit": 34163, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 183000, "known": { "sale": 217163, "material": 0, "laborAndFees": 0, "unallocated": 183000, "totalCost": 183000, "profit": 34163, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 183000 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金999", "amount": 180000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "unallocated" }, { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 2 · 纯银925", "amount": 3000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "unallocated" } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 4, "reviewed_revision": 0 }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118006", "date": "2026-11-18", "created": "2026-11-18T02:01:24.000Z", "cancellationApproved": { "id": "", "status": "approved", "order_revision": 4, "reason": "重复录入", "requester_name": "助理2", "created": "2026-11-19T02:00:41.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:00:45.000Z", "note": "核对原单后确认" }, "customer": "对照取消客户", "salesperson": "小昊", "status": "cancelled", "note": "", "types": [ "货盘现货" ], "mg": 1500, "summaryMg": 1500, "pieces": 0, "originalSale": 150000, "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0, "known": { "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0 }, "costItems": [], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "录错作废已获麦麦批准,本单销售、成本与收款记账已撤销,原单和审批记录保留", "balance": 0, "revision": 5, "reviewed_revision": 0 }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118007", "date": "2026-11-18", "created": "2026-11-18T02:01:25.000Z", "customer": "对照售后订单客户", "salesperson": "小昊", "status": "delivered", "note": "", "orderAfterSale": { "orderId": "", "date": "2026-11-19", "reason": "客户退回一件", "deductionReason": "客户确认扣费", "refund": { "amount": 90000, "account": "助理2支付宝", "payer": "assistant2", "reference": "" }, "expenses": [], "original": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": { "id": "", "status": "approved", "action": "return", "action_label": "订单售后", "order_revision": 4, "reason": "客户退回一件", "requester_name": "助理2", "created": "2026-11-19T02:01:03.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:01:05.000Z", "note": "实物已收回" }, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 0, "netReceived": 500000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 50000, "knownProfit": 50000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "funds_mode": "team", "credit_card_rate_permille": 6 }, "originalJournal": { "sales": 500000, "goods": 450000, "expense": 0, "profit": 50000 }, "summary": { "refundAmount": 90000, "retainedAmount": 410000, "materialReturnedCost": 88000, "laborRestockedCost": 0, "materialLoss": 352000, "costLoss": 362000, "originalDirectCost": 0, "newExpenses": 0, "directCost": 0, "profit": 48000, "finalProfit": 48000, "profitAdjustment": -2000, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ] }, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ], "originalOrder": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": { "id": "", "status": "approved", "action": "return", "action_label": "订单售后", "order_revision": 4, "reason": "客户退回一件", "requester_name": "助理2", "created": "2026-11-19T02:01:03.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:01:05.000Z", "note": "实物已收回" }, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 0, "netReceived": 500000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 50000, "knownProfit": 50000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "funds_mode": "team", "credit_card_rate_permille": 6 } }, "current_status": "returned", "types": [ "货盘现货" ], "mg": 5000, "summaryMg": 5000, "pieces": 0, "originalSale": 500000, "sale": 500000, "material": 440000, "laborAndFees": 10000, "unallocated": 0, "totalCost": 450000, "profit": 50000, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 450000, "known": { "sale": 500000, "material": 440000, "laborAndFees": 10000, "unallocated": 0, "totalCost": 450000, "profit": 50000, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 450000 }, "costItems": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金手链", "amount": 440000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "material" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金手链", "amount": 10000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金手链", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金手链", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金手链", "amount": 10000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金手链", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金手链", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 4, "reviewed_revision": 0 }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118008", "date": "2026-11-18", "created": "2026-11-18T02:01:26.000Z", "customer": "对照驳回客户", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 800, "summaryMg": 800, "pieces": 0, "originalSale": 82000, "sale": 82000, "material": null, "laborAndFees": null, "unallocated": 70000, "totalCost": 70000, "profit": 12000, "ownerCost": 0, "assistantCost": 70000, "assistant2Cost": 0, "known": { "sale": 82000, "material": 0, "laborAndFees": 0, "unallocated": 70000, "totalCost": 70000, "profit": 12000, "ownerCost": 0, "assistantCost": 70000, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金耳钉", "amount": 70000, "payer": "assistant", "excluded": false, "calculation": null, "component": "unallocated" } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 5, "reviewed_revision": 0 }, { "id": "", "order_id": "", "kind": "orderAfterSale", "orderAfterSale": { "orderId": "", "date": "2026-11-19", "reason": "客户退回一件", "deductionReason": "客户确认扣费", "refund": { "amount": 90000, "account": "助理2支付宝", "payer": "assistant2", "reference": "" }, "expenses": [], "original": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": { "id": "", "status": "approved", "action": "return", "action_label": "订单售后", "order_revision": 4, "reason": "客户退回一件", "requester_name": "助理2", "created": "2026-11-19T02:01:03.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:01:05.000Z", "note": "实物已收回" }, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 0, "netReceived": 500000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 50000, "knownProfit": 50000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "funds_mode": "team", "credit_card_rate_permille": 6 }, "originalJournal": { "sales": 500000, "goods": 450000, "expense": 0, "profit": 50000 }, "summary": { "refundAmount": 90000, "retainedAmount": 410000, "materialReturnedCost": 88000, "laborRestockedCost": 0, "materialLoss": 352000, "costLoss": 362000, "originalDirectCost": 0, "newExpenses": 0, "directCost": 0, "profit": 48000, "finalProfit": 48000, "profitAdjustment": -2000, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ] }, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ], "order_id": "", "created": "2026-11-19T02:01:05.000Z", "number": "MM20261118-", "paper_number": "20261118007", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "order_date": "2026-11-18", "member": "assistant2" }, "member": "assistant2", "number": "MM20261118-", "paper_number": "20261118007", "date": "2026-11-19", "order_date": "2026-11-18", "created": "2026-11-19T02:01:05.000Z", "customer": "对照售后订单客户", "salesperson": "小昊", "status": "after_sale", "note": "", "project": "订单售后", "types": [ "订单售后" ], "mg": 0, "summaryMg": 0, "pieces": 0, "originalSale": 500000, "sale": -90000, "material": -88000, "laborAndFees": 0, "unallocated": 0, "totalCost": -88000, "profit": -2000, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": -88000, "known": { "sale": -90000, "material": -88000, "laborAndFees": 0, "unallocated": 0, "totalCost": -88000, "profit": -2000, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": -88000 }, "costItems": [ { "kind": "goods", "component": "material", "name": "售后收回金料成本", "source": "商品 1 · 足金手链", "amount": -88000, "payer": "assistant2", "nonCash": true, "materialPoolId": "2026-11-19", "calculation": null } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "按售后发生日调整;回收成本不属于新付款", "balance": 0, "revision": 1, "reviewed_revision": 1 }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119011", "date": "2026-11-19", "created": "2026-11-19T02:01:32.000Z", "recovery_id": "", "recovery_mode": "exchange", "nonCashOffset": 0, "cashPaid": 0, "netSettlement": 432792, "recovery_immutable_reason": "本单关联黄金回收/置换、购料及库存,暂不支持普通订单修改、取消、退款、退货或费用变更,请保留原关联记录", "customer": "对照换货客户", "salesperson": "小昊", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 12000, "summaryMg": 12000, "pieces": 0, "originalSale": 432792, "sale": 432792, "material": 360720, "laborAndFees": 6000, "unallocated": 0, "totalCost": 366720, "profit": 66072, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 366720, "known": { "sale": 432792, "material": 360720, "laborAndFees": 6000, "unallocated": 0, "totalCost": 366720, "profit": 66072, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 366720 }, "costItems": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金对照新货", "amount": 360720, "payer": "assistant2", "excluded": false, "calculation": { "rate": 90000, "quantity": 4008 }, "component": "material" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 6000, "payer": "assistant2", "excluded": false, "calculation": { "rate": 500, "quantity": 12000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 6000, "payer": "assistant2", "excluded": false, "calculation": { "rate": 500, "quantity": 12000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 4, "reviewed_revision": 0 }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119013", "date": "2026-11-19", "created": "2026-11-19T02:01:48.000Z", "customer": "当天客户(改)", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 2000, "summaryMg": 2000, "pieces": 0, "originalSale": 210000, "sale": 210000, "material": null, "laborAndFees": null, "unallocated": 180000, "totalCost": 180800, "profit": 29200, "ownerCost": 0, "assistantCost": 180800, "assistant2Cost": 0, "known": { "sale": 210000, "material": 0, "laborAndFees": 800, "unallocated": 180000, "totalCost": 180800, "profit": 29200, "ownerCost": 0, "assistantCost": 180800, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金吊坠", "amount": 180000, "payer": "assistant", "excluded": false, "calculation": null, "component": "unallocated" }, { "kind": "paid", "name": "当天快递", "source": "2026-11-19", "amount": 800, "payer": "assistant", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "paid", "name": "当天快递", "source": "2026-11-19", "amount": 800, "payer": "assistant", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 7, "reviewed_revision": 0 } ], "displayRows": [ { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118002", "date": "2026-11-18", "created": "2026-11-18T02:01:18.000Z", "customer": "对照客户乙", "salesperson": "小昊", "status": "delivered", "note": "", "types": [ "货盘现货", "配货 · 银饰" ], "mg": 2000, "summaryMg": 2000, "pieces": 3, "originalSale": 217163, "sale": 217163, "material": null, "laborAndFees": null, "unallocated": 183000, "totalCost": 183000, "profit": 34163, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 183000, "known": { "sale": 217163, "material": 0, "laborAndFees": 0, "unallocated": 183000, "totalCost": 183000, "profit": 34163, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 183000 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金999", "amount": 180000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "unallocated" }, { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 2 · 纯银925", "amount": 3000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "unallocated" } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 4, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118006", "date": "2026-11-18", "created": "2026-11-18T02:01:24.000Z", "cancellationApproved": { "id": "", "status": "approved", "order_revision": 4, "reason": "重复录入", "requester_name": "助理2", "created": "2026-11-19T02:00:41.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:00:45.000Z", "note": "核对原单后确认" }, "customer": "对照取消客户", "salesperson": "小昊", "status": "cancelled", "note": "", "types": [ "货盘现货" ], "mg": 1500, "summaryMg": 1500, "pieces": 0, "originalSale": 150000, "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0, "known": { "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0 }, "costItems": [], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "录错作废已获麦麦批准,本单销售、成本与收款记账已撤销,原单和审批记录保留", "balance": 0, "revision": 5, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118007", "date": "2026-11-18", "created": "2026-11-18T02:01:25.000Z", "customer": "对照售后订单客户", "salesperson": "小昊", "status": "returned", "note": "", "orderAfterSale": { "orderId": "", "date": "2026-11-19", "reason": "客户退回一件", "deductionReason": "客户确认扣费", "refund": { "amount": 90000, "account": "助理2支付宝", "payer": "assistant2", "reference": "" }, "expenses": [], "original": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": { "id": "", "status": "approved", "action": "return", "action_label": "订单售后", "order_revision": 4, "reason": "客户退回一件", "requester_name": "助理2", "created": "2026-11-19T02:01:03.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:01:05.000Z", "note": "实物已收回" }, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 0, "netReceived": 500000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 50000, "knownProfit": 50000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "funds_mode": "team", "credit_card_rate_permille": 6 }, "originalJournal": { "sales": 500000, "goods": 450000, "expense": 0, "profit": 50000 }, "summary": { "refundAmount": 90000, "retainedAmount": 410000, "materialReturnedCost": 88000, "laborRestockedCost": 0, "materialLoss": 352000, "costLoss": 362000, "originalDirectCost": 0, "newExpenses": 0, "directCost": 0, "profit": 48000, "finalProfit": 48000, "profitAdjustment": -2000, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ] }, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ], "originalOrder": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": { "id": "", "status": "approved", "action": "return", "action_label": "订单售后", "order_revision": 4, "reason": "客户退回一件", "requester_name": "助理2", "created": "2026-11-19T02:01:03.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:01:05.000Z", "note": "实物已收回" }, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 0, "netReceived": 500000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 50000, "knownProfit": 50000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "funds_mode": "team", "credit_card_rate_permille": 6 } }, "current_status": "returned", "types": [ "货盘现货" ], "mg": 5000, "summaryMg": 5000, "pieces": 0, "originalSale": 500000, "sale": 500000, "material": 440000, "laborAndFees": 10000, "unallocated": 0, "totalCost": 450000, "profit": 50000, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 450000, "known": { "sale": 500000, "material": 440000, "laborAndFees": 10000, "unallocated": 0, "totalCost": 450000, "profit": 50000, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 450000 }, "costItems": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金手链", "amount": 440000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "material" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金手链", "amount": 10000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金手链", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金手链", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金手链", "amount": 10000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金手链", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金手链", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 4, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118008", "date": "2026-11-18", "created": "2026-11-18T02:01:26.000Z", "customer": "对照驳回客户", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 800, "summaryMg": 800, "pieces": 0, "originalSale": 82000, "sale": 82000, "material": null, "laborAndFees": null, "unallocated": 70000, "totalCost": 70000, "profit": 12000, "ownerCost": 0, "assistantCost": 70000, "assistant2Cost": 0, "known": { "sale": 82000, "material": 0, "laborAndFees": 0, "unallocated": 70000, "totalCost": 70000, "profit": 12000, "ownerCost": 0, "assistantCost": 70000, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金耳钉", "amount": 70000, "payer": "assistant", "excluded": false, "calculation": null, "component": "unallocated" } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 5, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "order_id": "", "kind": "orderAfterSale", "orderAfterSale": { "orderId": "", "date": "2026-11-19", "reason": "客户退回一件", "deductionReason": "客户确认扣费", "refund": { "amount": 90000, "account": "助理2支付宝", "payer": "assistant2", "reference": "" }, "expenses": [], "original": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": { "id": "", "status": "approved", "action": "return", "action_label": "订单售后", "order_revision": 4, "reason": "客户退回一件", "requester_name": "助理2", "created": "2026-11-19T02:01:03.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:01:05.000Z", "note": "实物已收回" }, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 0, "netReceived": 500000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 50000, "knownProfit": 50000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "funds_mode": "team", "credit_card_rate_permille": 6 }, "originalJournal": { "sales": 500000, "goods": 450000, "expense": 0, "profit": 50000 }, "summary": { "refundAmount": 90000, "retainedAmount": 410000, "materialReturnedCost": 88000, "laborRestockedCost": 0, "materialLoss": 352000, "costLoss": 362000, "originalDirectCost": 0, "newExpenses": 0, "directCost": 0, "profit": 48000, "finalProfit": 48000, "profitAdjustment": -2000, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ] }, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ], "order_id": "", "created": "2026-11-19T02:01:05.000Z", "number": "MM20261118-", "paper_number": "20261118007", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "order_date": "2026-11-18", "member": "assistant2" }, "member": "assistant2", "number": "MM20261118-", "paper_number": "20261118007", "date": "2026-11-19", "order_date": "2026-11-18", "created": "2026-11-19T02:01:05.000Z", "customer": "对照售后订单客户", "salesperson": "小昊", "status": "after_sale", "note": "", "project": "订单售后", "types": [ "订单售后" ], "mg": 0, "summaryMg": 0, "pieces": 0, "originalSale": 500000, "sale": -90000, "material": -88000, "laborAndFees": 0, "unallocated": 0, "totalCost": -88000, "profit": -2000, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": -88000, "known": { "sale": -90000, "material": -88000, "laborAndFees": 0, "unallocated": 0, "totalCost": -88000, "profit": -2000, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": -88000 }, "costItems": [ { "kind": "goods", "component": "material", "name": "售后收回金料成本", "source": "商品 1 · 足金手链", "amount": -88000, "payer": "assistant2", "nonCash": true, "materialPoolId": "2026-11-19", "calculation": null } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "按售后发生日调整;回收成本不属于新付款", "balance": 0, "revision": 1, "reviewed_revision": 1 }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119011", "date": "2026-11-19", "created": "2026-11-19T02:01:32.000Z", "recovery_id": "", "recovery_mode": "exchange", "nonCashOffset": 0, "cashPaid": 0, "netSettlement": 432792, "recovery_immutable_reason": "本单关联黄金回收/置换、购料及库存,暂不支持普通订单修改、取消、退款、退货或费用变更,请保留原关联记录", "customer": "对照换货客户", "salesperson": "小昊", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 12000, "summaryMg": 12000, "pieces": 0, "originalSale": 432792, "sale": 432792, "material": 360720, "laborAndFees": 6000, "unallocated": 0, "totalCost": 366720, "profit": 66072, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 366720, "known": { "sale": 432792, "material": 360720, "laborAndFees": 6000, "unallocated": 0, "totalCost": 366720, "profit": 66072, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 366720 }, "costItems": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金对照新货", "amount": 360720, "payer": "assistant2", "excluded": false, "calculation": { "rate": 90000, "quantity": 4008 }, "component": "material" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 6000, "payer": "assistant2", "excluded": false, "calculation": { "rate": 500, "quantity": 12000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 6000, "payer": "assistant2", "excluded": false, "calculation": { "rate": 500, "quantity": 12000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 4, "reviewed_revision": 0, "printStatus": { "kind": "recovery", "id": "", "printed": true, "revision": 1, "updated": "2026-11-19T02:01:40.000Z", "actor": "助理2" } }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119013", "date": "2026-11-19", "created": "2026-11-19T02:01:48.000Z", "customer": "当天客户(改)", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 2000, "summaryMg": 2000, "pieces": 0, "originalSale": 210000, "sale": 210000, "material": null, "laborAndFees": null, "unallocated": 180000, "totalCost": 180800, "profit": 29200, "ownerCost": 0, "assistantCost": 180800, "assistant2Cost": 0, "known": { "sale": 210000, "material": 0, "laborAndFees": 800, "unallocated": 180000, "totalCost": 180800, "profit": 29200, "ownerCost": 0, "assistantCost": 180800, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金吊坠", "amount": 180000, "payer": "assistant", "excluded": false, "calculation": null, "component": "unallocated" }, { "kind": "paid", "name": "当天快递", "source": "2026-11-19", "amount": 800, "payer": "assistant", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "paid", "name": "当天快递", "source": "2026-11-19", "amount": 800, "payer": "assistant", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 7, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } } ], "recoveryCount": 0, "summary": { "orderCount": 6, "completedCount": 5, "draftCount": 0, "confirmedCount": 0, "returnedCount": 1, "cancelledCount": 1, "incompleteCount": 0, "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "unknownCostCount": 0, "unknownProfitCount": 0, "legacyUnallocatedCount": 3, "sale": 1351955, "material": 712720, "laborAndFees": 16800, "unallocated": 433000, "totalCost": 1162520, "profit": 189435, "ownerCost": 0, "assistantCost": 250800, "assistant2Cost": 911720, "mg": 23300, "pieces": 3, "knownCounts": { "sale": 6, "material": 3, "laborAndFees": 3, "unallocated": 6, "totalCost": 6, "profit": 6, "ownerCost": 6, "assistantCost": 6, "assistant2Cost": 6 }, "unknownCounts": { "sale": 0, "material": 3, "laborAndFees": 3, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0 }, "partial": true, "afterSaleCount": 1, "recordCount": 7 }, "peopleCount": null, "priceLockActivity": { "basis": "eventDate", "from": "2026-11-18", "date": "2026-11-19", "customerCash": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 50000, "account": "助理2微信", "number": "SJ20261118-", "customer": "对照锁价客户三", "product": "足金999", "actor": "助理2", "created": "2026-11-18T02:01:55.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null } ], "orderPayments": [], "materialOutlays": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "material", "amount": 258000, "payer": "assistant2", "source": "original", "quantity": 3000, "rate": 86000, "number": "SJ20261118-", "customer": "对照锁价客户三", "product": "足金999", "actor": "助理2", "created": "2026-11-18T02:01:55.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "component": "material" } ], "directOutlays": [], "deliveryGoodsOutlays": [], "receipts": { "receipt": 50000, "refund": 0, "net": 50000, "channels": [ { "channel": "wechat", "name": "微信", "receipt": 50000, "refund": 0, "net": 50000 }, { "channel": "alipay", "name": "支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "channel": "cash", "name": "现金", "receipt": 0, "refund": 0, "net": 0 } ], "accounts": [ { "account": "助理微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2微信", "receipt": 50000, "refund": 0, "net": 50000 }, { "account": "助理2支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2现金", "receipt": 0, "refund": 0, "net": 0 } ], "paymentCount": 1, "orderCount": 1 }, "payerOutlays": { "owner": { "payer": "owner", "material": 0, "goods": 0, "paidFees": 0, "total": 0 }, "assistant": { "payer": "assistant", "material": 0, "goods": 0, "paidFees": 0, "total": 0 }, "assistant2": { "payer": "assistant2", "material": 258000, "goods": 258000, "paidFees": 0, "total": 258000 } }, "summary": { "receipt": 50000, "refund": 0, "net": 50000, "materialOutlay": 258000, "goodsOutlay": 258000, "feeOutlay": 0, "ownerOutlay": 0, "assistantOutlay": 0, "assistant2Outlay": 258000, "totalOutlay": 258000, "eventCount": 2, "lockCount": 1 } }, "materialPoolActivity": { "basis": "purchaseDate", "from": "2026-11-18", "date": "2026-11-19", "purchases": [ { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 4000, "amount": 370000, "payer": "assistant2", "note": "", "actor": "助理2", "created": "2026-11-19T02:02:20.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:20.000Z" } ], "payerOutlays": { "owner": { "payer": "owner", "material": 0, "goods": 0, "paidFees": 0, "total": 0, "purchaseCount": 0 }, "assistant": { "payer": "assistant", "material": 0, "goods": 0, "paidFees": 0, "total": 0, "purchaseCount": 0 }, "assistant2": { "payer": "assistant2", "material": 370000, "goods": 370000, "paidFees": 0, "total": 370000, "purchaseCount": 1 } }, "summary": { "purchaseCount": 1, "poolCount": 1, "mg": 4000, "materialOutlay": 370000, "purchaseValue": 370000, "ownerOutlay": 0, "assistantOutlay": 0, "assistant2Outlay": 370000, "totalOutlay": 370000, "eventCount": 1 } }, "summaryWithoutCancelled": { "orderCount": 5, "completedCount": 5, "draftCount": 0, "confirmedCount": 0, "returnedCount": 1, "cancelledCount": 0, "incompleteCount": 0, "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "unknownCostCount": 0, "unknownProfitCount": 0, "legacyUnallocatedCount": 3, "sale": 1351955, "material": 712720, "laborAndFees": 16800, "unallocated": 433000, "totalCost": 1162520, "profit": 189435, "ownerCost": 0, "assistantCost": 250800, "assistant2Cost": 911720, "mg": 21800, "pieces": 3, "knownCounts": { "sale": 5, "material": 2, "laborAndFees": 2, "unallocated": 5, "totalCost": 5, "profit": 5, "ownerCost": 5, "assistantCost": 5, "assistant2Cost": 5 }, "unknownCounts": { "sale": 0, "material": 3, "laborAndFees": 3, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0 }, "partial": true, "afterSaleCount": 1, "recordCount": 6 }, "receiptsWithoutCancelled": { "basis": "orderDate", "filterScope": "matchingOrdersWithoutCancelled", "from": "2026-11-18", "date": "2026-11-19", "receipt": 1491955, "refund": 90000, "net": 1401955, "channels": [ { "channel": "wechat", "name": "微信", "receipt": 1192792, "refund": 0, "net": 1192792 }, { "channel": "alipay", "name": "支付宝", "receipt": 299163, "refund": 90000, "net": 209163 }, { "channel": "cash", "name": "现金", "receipt": 0, "refund": 0, "net": 0 } ], "accounts": [ { "account": "助理微信", "receipt": 210000, "refund": 0, "net": 210000 }, { "account": "助理支付宝", "receipt": 82000, "refund": 0, "net": 82000 }, { "account": "助理现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2微信", "receipt": 982792, "refund": 0, "net": 982792 }, { "account": "助理2支付宝", "receipt": 217163, "refund": 90000, "net": 127163 }, { "account": "助理2现金", "receipt": 0, "refund": 0, "net": 0 } ], "paymentCount": 7, "orderCount": 6 }, "receiptsByPaymentDate": { "basis": "paymentDate", "filterScope": "dateRange", "from": "2026-11-18", "date": "2026-11-19", "receipt": 1491955, "refund": 90000, "net": 1401955, "channels": [ { "channel": "wechat", "name": "微信", "receipt": 1192792, "refund": 0, "net": 1192792 }, { "channel": "alipay", "name": "支付宝", "receipt": 299163, "refund": 90000, "net": 209163 }, { "channel": "cash", "name": "现金", "receipt": 0, "refund": 0, "net": 0 } ], "accounts": [ { "account": "助理微信", "receipt": 210000, "refund": 0, "net": 210000 }, { "account": "助理支付宝", "receipt": 82000, "refund": 0, "net": 82000 }, { "account": "助理现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2微信", "receipt": 982792, "refund": 0, "net": 982792 }, { "account": "助理2支付宝", "receipt": 217163, "refund": 90000, "net": 127163 }, { "account": "助理2现金", "receipt": 0, "refund": 0, "net": 0 } ], "paymentCount": 9, "orderCount": 7 }, "receiptsByOrderDate": { "basis": "orderDate", "filterScope": "matchingOrders", "from": "2026-11-18", "date": "2026-11-19", "receipt": 1491955, "refund": 90000, "net": 1401955, "channels": [ { "channel": "wechat", "name": "微信", "receipt": 1192792, "refund": 0, "net": 1192792 }, { "channel": "alipay", "name": "支付宝", "receipt": 299163, "refund": 90000, "net": 209163 }, { "channel": "cash", "name": "现金", "receipt": 0, "refund": 0, "net": 0 } ], "accounts": [ { "account": "助理微信", "receipt": 210000, "refund": 0, "net": 210000 }, { "account": "助理支付宝", "receipt": 82000, "refund": 0, "net": 82000 }, { "account": "助理现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2微信", "receipt": 982792, "refund": 0, "net": 982792 }, { "account": "助理2支付宝", "receipt": 217163, "refund": 90000, "net": 127163 }, { "account": "助理2现金", "receipt": 0, "refund": 0, "net": 0 } ], "paymentCount": 9, "orderCount": 7 } } }, { "seq": 454, "label": "inventory-assistant2", "date": "2026-11-19", "actor": "assistant2", "method": "GET", "path": "/api/inventory", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "date": "2026-11-19", "yesterdayDate": "2026-11-18", "pockets": [ "现货", "金料", "找金", "回收旧料", "君宝汇", "pocket_" ], "current": [ { "pocket": "现货", "mg": 61950, "reserved": 0, "available": 61950 }, { "pocket": "金料", "mg": 56000, "reserved": 0, "available": 56000 }, { "pocket": "找金", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "回收旧料", "mg": 12843, "reserved": 0, "available": 12843 }, { "pocket": "君宝汇", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "pocket_", "mg": 10000, "reserved": 0, "available": 10000 } ], "yesterday": { "date": "2026-11-18", "inventory": [ { "pocket": "现货", "mg": 80450, "reserved": 0, "available": 80450 }, { "pocket": "金料", "mg": 55000, "reserved": 0, "available": 55000 }, { "pocket": "找金", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "回收旧料", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "君宝汇", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "臻金汇", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "金金", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "定制工厂", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "pocket_", "mg": 10000, "reserved": 0, "available": 10000 } ], "actor": "麦麦", "created": "2026-11-18T02:02:46.000Z", "updated": "2026-11-18T02:02:50.000Z", "stale": true, "revision": "3ced53bccf874039772cb33ea02c64ef6b6b7c23c841b7a40909076084b3a086", "source": "manual", "scheduled_for": null }, "todaySnapshot": null, "revision": "26e088956f984c72faf016a73484b8daf5648bcb6a79e96465dce260ed8aaace", "legacyInventory": [], "canReview": false, "automaticSnapshot": { "enabled": false, "time": "23:50", "timeZone": "Asia/Shanghai", "date": "2026-11-19", "status": "stopped", "lastSuccess": null, "lastError": null, "nextAttemptAt": null } } }, { "seq": 455, "label": "movements-assistant2", "date": "2026-11-19", "actor": "assistant2", "method": "GET", "path": "/api/inventory/movements", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "pocket": "", "pockets": [ { "pocket": "现货", "active": true }, { "pocket": "金料", "active": true }, { "pocket": "找金", "active": true }, { "pocket": "回收旧料", "active": true }, { "pocket": "君宝汇", "active": true }, { "pocket": "pocket_", "active": true } ], "kind": "all", "hideDeleted": false, "from": "", "to": "", "total": 33, "shown": 33, "limit": 100, "pageSize": 100, "page": 1, "totalPages": 1, "hasPrev": false, "hasNext": false, "movements": [ { "id": "", "group_id": "", "date": "2026-11-19", "pocket": "现货", "mg": -500, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "sale", "note": "MM20261119-", "actor": "助理", "created": "2026-11-19T02:02:51.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "date": "2026-11-19", "pocket": "现货", "mg": 2000, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "order_cancel_reverse", "note": "MM20261119-;当天直接作废:当天录错", "actor": "助理", "created": "2026-11-19T02:01:59.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "date": "2026-11-19", "pocket": "现货", "mg": -2000, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "sale", "note": "MM20261119-", "actor": "助理", "created": "2026-11-19T02:01:57.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-19", "pocket": "现货", "mg": -2000, "kind": "sale", "note": "MM20261119-", "purchase_cost": null, "actor": "助理", "created": "2026-11-19T02:01:48.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "date": "2026-11-19", "pocket": "现货", "mg": -6000, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "sale", "note": "MM20261119-", "actor": "助理", "created": "2026-11-19T02:01:33.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "date": "2026-11-19", "pocket": "回收旧料", "mg": 4851, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "recovery", "note": "HS202611190002", "actor": "助理", "created": "2026-11-19T02:01:33.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-19", "pocket": "现货", "mg": -12000, "kind": "sale", "note": "MM20261119-", "purchase_cost": null, "actor": "助理2", "created": "2026-11-19T02:01:32.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-19", "pocket": "回收旧料", "mg": 7992, "kind": "recovery", "note": "HS202611190001", "purchase_cost": null, "actor": "助理2", "created": "2026-11-19T02:01:32.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "date": "2026-11-19", "pocket": "现货", "mg": -3100, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "sale", "note": "MM20261119-", "actor": "助理", "created": "2026-11-19T02:01:28.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "date": "2026-11-19", "pocket": "现货", "mg": 100, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "lock_purchase", "note": "SJ20261118- 足金999 补重黄金入库", "actor": "助理", "created": "2026-11-19T02:01:28.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "date": "2026-11-19", "pocket": "现货", "mg": 3000, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "lock_purchase", "note": "SJ20261118- 足金999 原锁定黄金入库", "actor": "助理", "created": "2026-11-19T02:01:28.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "after-sale:", "order_id": "", "date": "2026-11-19", "pocket": "金料", "mg": 1000, "kind": "return", "note": "MM20261118- · 售后回收旧料", "purchase_cost": null, "actor": "麦麦", "created": "2026-11-19T02:01:05.000Z", "groupId": "after-sale:", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-18", "pocket": "现货", "mg": 1500, "kind": "order_cancel_reverse", "note": "MM20261118-;审批作废:重复录入", "purchase_cost": null, "actor": "麦麦", "created": "2026-11-19T02:00:45.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "date": "2026-11-19", "pocket": "金料", "mg": -1200, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "manual_reversal", "note": "手动库存更正冲回:", "actor": "麦麦", "created": "2026-11-19T02:00:21.000Z", "groupId": "", "revision": 3, "manual": false, "current": false, "status": "deleted", "reversal": true, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "date": "2026-11-19", "pocket": "金料", "mg": 1200, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "increase", "note": "当天手动入库", "actor": "助理", "created": "2026-11-19T02:00:19.000Z", "groupId": "", "revision": 3, "manual": true, "current": false, "status": "deleted", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "date": "2026-11-19", "pocket": "金料", "mg": -1000, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "manual_reversal", "note": "手动库存更正冲回:", "actor": "助理", "created": "2026-11-19T02:00:19.000Z", "groupId": "", "revision": 3, "manual": false, "current": false, "status": "deleted", "reversal": true, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "date": "2026-11-19", "pocket": "金料", "mg": 1000, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "increase", "note": "当天手动入库", "actor": "助理", "created": "2026-11-19T02:00:16.000Z", "groupId": "", "revision": 3, "manual": true, "current": false, "status": "deleted", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "date": "2026-11-18", "pocket": "现货", "mg": 3000, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "increase", "note": "娜娜手动入库", "actor": "麦麦", "created": "2026-11-19T02:00:11.000Z", "groupId": "", "revision": 2, "manual": true, "current": true, "status": "modified", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "date": "2026-11-18", "pocket": "现货", "mg": -2500, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "manual_reversal", "note": "手动库存更正冲回:", "actor": "麦麦", "created": "2026-11-19T02:00:11.000Z", "groupId": "", "revision": 2, "manual": false, "current": false, "status": "modified", "reversal": true, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "date": "2026-11-18", "pocket": "现货", "mg": -4000, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "sale", "note": "MM20261118-", "actor": "麦麦", "created": "2026-11-18T02:01:34.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-18", "pocket": "现货", "mg": -800, "kind": "sale", "note": "MM20261118-", "purchase_cost": null, "actor": "助理", "created": "2026-11-18T02:01:26.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-18", "pocket": "现货", "mg": -5000, "kind": "sale", "note": "MM20261118-", "purchase_cost": null, "actor": "助理2", "created": "2026-11-18T02:01:25.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-18", "pocket": "现货", "mg": -1500, "kind": "sale", "note": "MM20261118-", "purchase_cost": null, "actor": "助理2", "created": "2026-11-18T02:01:24.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "date": "2026-11-18", "pocket": "pocket_", "mg": -10000, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "sale", "note": "MM20261118-", "actor": "麦麦", "created": "2026-11-18T02:01:23.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-18", "pocket": "现货", "mg": -2000, "kind": "sale", "note": "MM20261118-", "purchase_cost": null, "actor": "助理2", "created": "2026-11-18T02:01:18.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "date": "2026-11-18", "pocket": "现货", "mg": -3250, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "sale", "note": "MM20261118-", "actor": "助理", "created": "2026-11-18T02:01:17.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "date": "2026-11-18", "pocket": "现货", "mg": -500, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "decrease", "note": "娜娜手动出库", "actor": "助理", "created": "2026-11-18T02:01:05.000Z", "groupId": "", "revision": 1, "manual": true, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "date": "2026-11-18", "pocket": "现货", "mg": 2500, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "increase", "note": "娜娜手动入库", "actor": "助理", "created": "2026-11-18T02:01:04.000Z", "groupId": "", "revision": 2, "manual": true, "current": false, "status": "modified", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "date": "2026-11-18", "pocket": "金料", "mg": 5000, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "transfer", "note": "调拨", "actor": "麦麦", "created": "2026-11-18T02:01:03.000Z", "groupId": "", "revision": 1, "manual": true, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "date": "2026-11-18", "pocket": "现货", "mg": -5000, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "transfer", "note": "调拨", "actor": "麦麦", "created": "2026-11-18T02:01:03.000Z", "groupId": "", "revision": 1, "manual": true, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "date": "2026-11-18", "pocket": "pocket_", "mg": 20000, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "opening", "note": "展柜起始", "actor": "麦麦", "created": "2026-11-18T02:01:02.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "date": "2026-11-18", "pocket": "金料", "mg": 50000, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "opening", "note": "黄金对照起始金料", "actor": "麦麦", "created": "2026-11-18T02:01:01.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "date": "2026-11-18", "pocket": "现货", "mg": 100000, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "opening", "note": "黄金对照起始库存", "actor": "麦麦", "created": "2026-11-18T02:01:00.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false } ] } }, { "seq": 456, "label": "snapshots-assistant2", "date": "2026-11-19", "actor": "assistant2", "method": "GET", "path": "/api/inventory/snapshots", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "from": "2000-01-01", "date": "2026-11-19", "snapshots": [ { "date": "2026-11-18", "inventory": [ { "pocket": "现货", "mg": 80450, "reserved": 0, "available": 80450 }, { "pocket": "金料", "mg": 55000, "reserved": 0, "available": 55000 }, { "pocket": "找金", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "回收旧料", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "君宝汇", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "臻金汇", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "金金", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "定制工厂", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "pocket_", "mg": 10000, "reserved": 0, "available": 10000 } ], "actor": "麦麦", "created": "2026-11-18T02:02:46.000Z", "updated": "2026-11-18T02:02:50.000Z", "stale": true, "revision": "3ced53bccf874039772cb33ea02c64ef6b6b7c23c841b7a40909076084b3a086", "source": "manual", "scheduled_for": null } ] } }, { "seq": 457, "label": "material-pools-assistant2", "date": "2026-11-19", "actor": "assistant2", "method": "GET", "path": "/api/material-pools", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "from": "2000-01-01", "date": "2026-11-19", "rows": [ { "id": "2026-11-19", "date": "2026-11-19", "rolling": true, "frozen": false, "totalMg": 38000, "totalAmount": 3456065, "usedMg": 2000, "remainingMg": 36000, "shortageMg": 0, "consumedCost": 181898, "remainingCost": 3274167, "remainingAllocations": [ { "payer": "assistant", "amount": 536167, "source_id": "", "created": "2026-11-18T02:01:09.000Z", "source_sequence": 1 }, { "payer": "owner", "amount": 1820000, "source_id": "", "created": "2026-11-18T02:01:10.000Z", "source_sequence": 2 }, { "payer": "assistant2", "amount": 88000, "source_id": "return::material:0", "created": "2026-11-19T02:01:05.000Z" }, { "payer": "assistant", "amount": 460000, "source_id": "", "created": "2026-11-19T02:02:19.000Z" }, { "payer": "assistant2", "amount": 370000, "source_id": "", "created": "2026-11-19T02:02:20.000Z" } ], "byPayer": { "owner": { "purchased": 1820000, "consumed": 0, "remaining": 1820000 }, "assistant": { "purchased": 1178065, "consumed": 181898, "remaining": 996167 }, "assistant2": { "purchased": 458000, "consumed": 0, "remaining": 458000 } }, "averageRate": 90949, "status": "using", "revision": "c2b7cf97dc5037020f6b38451266013f370e11bed92c022656cc69db8dab9cf4", "todayPurchases": { "mg": 9000, "amount": 830000, "count": 2, "items": [ { "id": "", "date": "2026-11-19", "mg": 5000, "amount": 460000, "payer": "assistant", "shared": true, "canEdit": false, "canRequestChange": false, "sourceKind": "purchase" }, { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 4000, "amount": 370000, "payer": "assistant2", "note": "", "actor": "助理2", "created": "2026-11-19T02:02:20.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:20.000Z", "source_sequence": 5, "sourceKind": "purchase", "member": "assistant2", "canEdit": true, "canRequestChange": false, "ownerReviewRequired": false } ] }, "todayReturns": { "mg": 1000, "amount": 88000, "count": 1, "grossMg": 1000, "grossAmount": 88000, "grossCount": 1 }, "purchases": [ { "id": "carry:2026-11-19", "date": "2026-11-19", "mg": 28000, "amount": 2538065, "payer": "assistant", "allocations": [ { "payer": "assistant", "amount": 718065, "source_id": "", "created": "2026-11-18T02:01:09.000Z", "source_sequence": 1 }, { "payer": "owner", "amount": 1820000, "source_id": "", "created": "2026-11-18T02:01:10.000Z", "source_sequence": 2 } ], "shared": true, "canEdit": false, "canRequestChange": false, "sourceKind": "carry", "cashAmount": 0 }, { "id": "return::material:0", "date": "2026-11-19", "mg": 1000, "amount": 88000, "payer": "assistant2", "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "shared": true, "canEdit": false, "canRequestChange": false, "sourceKind": "return", "cashAmount": 0 }, { "id": "", "date": "2026-11-19", "mg": 5000, "amount": 460000, "payer": "assistant", "shared": true, "canEdit": false, "canRequestChange": false, "sourceKind": "purchase" }, { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 4000, "amount": 370000, "payer": "assistant2", "note": "", "actor": "助理2", "created": "2026-11-19T02:02:20.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:20.000Z", "source_sequence": 5, "sourceKind": "purchase", "member": "assistant2", "canEdit": true, "canRequestChange": false, "ownerReviewRequired": false } ], "usages": [ { "active": 1, "mg": 2000, "amount": 181898, "created": "2026-11-19T02:02:40.000Z", "fifo_sequence": 2, "anonymous": true } ], "settlements": [], "settlement": { "legacyReadOnly": true, "pending": false, "settlementDue": null }, "opening": { "mg": 28000, "amount": 2538065, "allocations": [ { "payer": "assistant", "amount": 718065, "source_id": "", "created": "2026-11-18T02:01:09.000Z", "source_sequence": 1 }, { "payer": "owner", "amount": 1820000, "source_id": "", "created": "2026-11-18T02:01:10.000Z", "source_sequence": 2 } ] }, "returns": [ { "id": "", "order_id": "", "line_index": 0, "date": "2026-11-19", "mg": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "origin_pool_id": "", "same_day": 0, "actor": "麦麦", "created": "2026-11-19T02:01:05.000Z", "source_sequence": 1, "number": "20261118007", "paper_number": "20261118007", "order_date": "2026-11-18", "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "sameDay": false, "cashAmount": 0 } ], "legacyReadOnly": true }, { "id": "2026-11-18", "date": "2026-11-18", "totalMg": 31000, "totalAmount": 2810000, "averageRate": 90645, "usedMg": 3000, "remainingMg": 28000, "shortageMg": 0, "consumedCost": 271935, "remainingCost": 2538065, "status": "using", "revision": "2823f40ff78424f5423f0dbdf991ea5fcc83b0144648e9d2399869970c27af75", "purchases": [ { "id": "", "date": "2026-11-18", "mg": 11000, "amount": 990000, "payer": "assistant", "shared": true, "canEdit": false, "canRequestChange": false }, { "id": "", "date": "2026-11-18", "mg": 20000, "amount": 1820000, "payer": "owner", "shared": true, "canEdit": false, "canRequestChange": false } ], "usages": [ { "active": 1, "mg": 3000, "amount": 271935, "created": "2026-11-18T02:01:20.000Z", "fifo_sequence": 1, "anonymous": true } ], "settlements": [], "byPayer": { "owner": { "purchased": 1820000, "consumed": 0, "remaining": 1820000 }, "assistant": { "purchased": 990000, "consumed": 271935, "remaining": 718065 } }, "settlement": { "legacyReadOnly": true, "pending": false, "settlementDue": null }, "legacyReadOnly": true } ], "current": { "id": "2026-11-19", "date": "2026-11-19", "rolling": true, "frozen": false, "totalMg": 38000, "totalAmount": 3456065, "usedMg": 2000, "remainingMg": 36000, "shortageMg": 0, "consumedCost": 181898, "remainingCost": 3274167, "remainingAllocations": [ { "payer": "assistant", "amount": 536167, "source_id": "", "created": "2026-11-18T02:01:09.000Z", "source_sequence": 1 }, { "payer": "owner", "amount": 1820000, "source_id": "", "created": "2026-11-18T02:01:10.000Z", "source_sequence": 2 }, { "payer": "assistant2", "amount": 88000, "source_id": "return::material:0", "created": "2026-11-19T02:01:05.000Z" }, { "payer": "assistant", "amount": 460000, "source_id": "", "created": "2026-11-19T02:02:19.000Z" }, { "payer": "assistant2", "amount": 370000, "source_id": "", "created": "2026-11-19T02:02:20.000Z" } ], "byPayer": { "owner": { "purchased": 1820000, "consumed": 0, "remaining": 1820000 }, "assistant": { "purchased": 1178065, "consumed": 181898, "remaining": 996167 }, "assistant2": { "purchased": 458000, "consumed": 0, "remaining": 458000 } }, "averageRate": 90949, "status": "using", "revision": "c2b7cf97dc5037020f6b38451266013f370e11bed92c022656cc69db8dab9cf4", "todayPurchases": { "mg": 9000, "amount": 830000, "count": 2, "items": [ { "id": "", "date": "2026-11-19", "mg": 5000, "amount": 460000, "payer": "assistant", "shared": true, "canEdit": false, "canRequestChange": false, "sourceKind": "purchase" }, { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 4000, "amount": 370000, "payer": "assistant2", "note": "", "actor": "助理2", "created": "2026-11-19T02:02:20.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:20.000Z", "source_sequence": 5, "sourceKind": "purchase", "member": "assistant2", "canEdit": true, "canRequestChange": false, "ownerReviewRequired": false } ] }, "todayReturns": { "mg": 1000, "amount": 88000, "count": 1, "grossMg": 1000, "grossAmount": 88000, "grossCount": 1 }, "purchases": [ { "id": "carry:2026-11-19", "date": "2026-11-19", "mg": 28000, "amount": 2538065, "payer": "assistant", "allocations": [ { "payer": "assistant", "amount": 718065, "source_id": "", "created": "2026-11-18T02:01:09.000Z", "source_sequence": 1 }, { "payer": "owner", "amount": 1820000, "source_id": "", "created": "2026-11-18T02:01:10.000Z", "source_sequence": 2 } ], "shared": true, "canEdit": false, "canRequestChange": false, "sourceKind": "carry", "cashAmount": 0 }, { "id": "return::material:0", "date": "2026-11-19", "mg": 1000, "amount": 88000, "payer": "assistant2", "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "shared": true, "canEdit": false, "canRequestChange": false, "sourceKind": "return", "cashAmount": 0 }, { "id": "", "date": "2026-11-19", "mg": 5000, "amount": 460000, "payer": "assistant", "shared": true, "canEdit": false, "canRequestChange": false, "sourceKind": "purchase" }, { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 4000, "amount": 370000, "payer": "assistant2", "note": "", "actor": "助理2", "created": "2026-11-19T02:02:20.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:20.000Z", "source_sequence": 5, "sourceKind": "purchase", "member": "assistant2", "canEdit": true, "canRequestChange": false, "ownerReviewRequired": false } ], "usages": [ { "active": 1, "mg": 2000, "amount": 181898, "created": "2026-11-19T02:02:40.000Z", "fifo_sequence": 2, "anonymous": true } ], "settlements": [], "settlement": { "legacyReadOnly": true, "pending": false, "settlementDue": null }, "opening": { "mg": 28000, "amount": 2538065, "allocations": [ { "payer": "assistant", "amount": 718065, "source_id": "", "created": "2026-11-18T02:01:09.000Z", "source_sequence": 1 }, { "payer": "owner", "amount": 1820000, "source_id": "", "created": "2026-11-18T02:01:10.000Z", "source_sequence": 2 } ] }, "returns": [ { "id": "", "order_id": "", "line_index": 0, "date": "2026-11-19", "mg": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "origin_pool_id": "", "same_day": 0, "actor": "麦麦", "created": "2026-11-19T02:01:05.000Z", "source_sequence": 1, "number": "20261118007", "paper_number": "20261118007", "order_date": "2026-11-18", "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "sameDay": false, "cashAmount": 0 } ], "legacyReadOnly": true }, "rolling": { "enabled": true, "cutover": "2026-11-19", "canEnable": false, "reason": "" }, "summary": { "totalMg": 38000, "totalAmount": 3456065, "usedMg": 2000, "remainingMg": 36000, "remainingCost": 3274167, "shortageMg": 0, "pendingCount": 0, "purchaseCount": 2 }, "settlement": { "legacyReadOnly": true, "settlementDue": 0, "knownSettlementDue": 0, "pendingCount": 0, "pools": [] } } }, { "seq": 458, "label": "price-locks-assistant2", "date": "2026-11-19", "actor": "assistant2", "method": "GET", "path": "/api/price-locks?status=all", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "from": "2000-01-01", "date": "2026-11-19", "rows": [ { "id": "", "number": "SJ20261118-", "date": "2026-11-18", "customer": "对照锁价客户三", "salesperson": "小昊", "note": "锁价备注", "line": { "name": "足金999", "code": "", "unit": "g", "quantity": 3000, "pocket": "", "payer": "assistant2", "costPayers": { "material": "assistant2", "labor": "assistant2" }, "cost": 258000, "costParts": { "material": 258000, "labor": 0, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 276000, "baseSale": 276000, "charges": [], "pricingMode": "auto", "goldPrice": 90000, "laborRate": 2000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 900.00元/克 + 工费 20.00元/克" }, "locked_mg": 3000, "sell_rate": 90000, "buy_rate": 86000, "buy_payer": "assistant2", "material_amount": 258000, "estimated_total": 276000, "discount": 0, "status": "pending", "revision": 1, "final_order_id": null, "delivery": null, "actor": "助理2", "created": "2026-11-18T02:01:55.000Z", "updated": "2026-11-18T02:01:55.000Z", "cancelled_at": null, "cancelled_reason": null, "lines": [ { "id": "", "line_index": 0, "line": { "name": "足金999", "code": "", "unit": "g", "quantity": 3000, "pocket": "", "payer": "assistant2", "costPayers": { "material": "assistant2", "labor": "assistant2" }, "cost": 258000, "costParts": { "material": 258000, "labor": 0, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 276000, "baseSale": 276000, "charges": [], "pricingMode": "auto", "goldPrice": 90000, "laborRate": 2000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 900.00元/克 + 工费 20.00元/克" }, "locked_mg": 3000, "sell_rate": 90000, "buy_rate": 86000, "buy_payer": "assistant2", "material_amount": 258000, "material_source": "manual", "delivery": null } ], "member": "assistant2", "kind": "priceLock", "credit_card_rate_permille": 6, "material_source": "manual", "cash_events": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 50000, "account": "助理2微信", "payer": null, "source": null, "quantity": null, "rate": null, "number": "SJ20261118-", "customer": "对照锁价客户三", "product": "足金999", "actor": "助理2", "created": "2026-11-18T02:01:55.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null, "card_fee_amount": null, "card_fee_payer": null, "card_fee_expense_id": null, "card_fee_rate": null, "card_fee_note": null } ], "material_events": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "material", "amount": 258000, "account": null, "payer": "assistant2", "source": "original", "quantity": 3000, "rate": 86000, "number": "SJ20261118-", "customer": "对照锁价客户三", "product": "足金999", "actor": "助理2", "created": "2026-11-18T02:01:55.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "card_fee_amount": null, "card_fee_payer": null, "card_fee_expense_id": null, "card_fee_rate": null, "card_fee_note": null } ], "voided_events": [], "received": 50000, "refunded": 0, "netReceived": 50000, "credit_card_fees": [], "credit_card_fee_total": 0 } ], "counts": { "pending": 1, "delivered": 0, "cancelled": 0 } } }, { "seq": 459, "label": "recoveries-list-assistant2", "date": "2026-11-19", "actor": "assistant2", "method": "GET", "path": "/api/recoveries", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "from": "2026-11-19", "date": "2026-11-19", "rows": [ { "mode": "exchange", "date": "2026-11-19", "customer": "对照换货客户", "customer_type": "unknown", "salesperson": "小昊", "member": "assistant2", "note": "", "old_lines": [ { "name": "Au旧料", "incomingMg": 8000, "meltedMg": 8000, "purity": 99.9, "foldedMg": 7992 } ], "oldMg": 7992, "oldPocket": "回收旧料", "credit_card_rate_permille": 6, "newMg": 12000, "matchedMg": 7992, "differenceMg": 4008, "surplusMg": 0, "goldRate": 100000, "laborRate": 2000, "laborMode": "gram", "depreciationRate": 1000, "depreciationMg": 7992, "goldAmount": 400800, "laborAmount": 24000, "depreciationAmount": 7992, "charges": [], "chargesAmount": 0, "discount": 0, "rounding_mode": "cent", "rounding_adjustment": 0, "receivable": 432792, "payer": "assistant2", "payment_account": "助理2微信", "materialCost": 360720, "laborCost": 6000, "goodsCost": 366720, "directCost": 0, "profit": 66072, "newProduct": { "name": "足金对照新货", "quantity": 12000, "pocket": "现货" }, "exchange": { "costMaterial": { "mode": "total", "rate": 90000, "consumptionMg": 4008 }, "costLabor": { "mode": "gram", "rate": 500 }, "costPayer": "assistant2", "costPayers": { "material": "assistant2", "labor": "assistant2" }, "fee_items": [] }, "purchaseMg": 0, "buyRate": 0, "calculatedPurchaseAmount": 0, "purchaseAmount": 0, "actualBuyRate": null, "offsetAmount": 0, "netSettlement": 432792, "cashReceipt": 432792, "cashPayment": 0, "cardFee": 0, "paymentMethods": [ "微信" ], "id": "", "number": "HS202611190001", "order_id": "", "purchase_id": null, "created": "2026-11-19T02:01:32.000Z", "actor": "助理2", "revision": 1, "paper_number": "20261119011", "materialCostPending": false, "status": "active", "cancelledAt": "", "canEdit": true, "canCancel": true, "pendingRequestId": null, "immutableReason": "本单关联黄金回收/置换、购料及库存,暂不支持普通订单修改、取消、退款、退货或费用变更,请保留原关联记录", "printStatus": { "kind": "recovery", "id": "", "printed": true, "revision": 1, "updated": "2026-11-19T02:01:40.000Z", "actor": "助理2" } } ], "summary": { "count": 1, "cancelledCount": 0, "directCount": 0, "exchangeCount": 1, "oldMg": 7992, "newMg": 12000, "purchaseMg": 0, "purchaseAmount": 0, "receivable": 432792, "offsetAmount": 0, "cashReceipt": 432792, "cashPayment": 0 } } }, { "seq": 460, "label": "order-changes-all-assistant2", "date": "2026-11-19", "actor": "assistant2", "method": "GET", "path": "/api/order-changes?status=all", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "requests": [ { "id": "", "order_id": "", "order_revision": 4, "action": "return", "reason": "客户退回一件", "status": "approved", "requester_id": "", "requester_name": "助理2", "requester_role": "assistant", "created": "2026-11-19T02:01:03.000Z", "reviewer_id": "", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:01:05.000Z", "note": "实物已收回", "action_label": "订单售后", "action_input": { "date": "2026-11-19", "afterSale": { "lines": [ { "lineIndex": 0, "quantity": "1.000", "pocket": "金料", "disposition": "scrap" } ], "refund": { "amount": "900", "account": "助理2支付宝", "payer": "assistant2" }, "deductionReason": "客户确认扣费", "expenses": [] } }, "order_number": "MM20261118-", "order_date": "2026-11-18", "order_status": "delivered", "stale": false, "canApprove": false, "before": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 0, "netReceived": 500000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 50000, "knownProfit": 50000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "sync": { "revision": 4, "done_revision": 0, "error": null, "updated": "2026-11-18T02:01:25.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 }, "after": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "returned", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 5, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": "2026-11-19", "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "refund", "amount": 90000, "account": "助理2支付宝", "reference": "整单售后退款", "actor": "助理2", "created": "2026-11-19T02:01:03.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 90000, "netReceived": 410000, "balance": 0, "orderAfterSale": { "orderId": "", "date": "2026-11-19", "reason": "客户退回一件", "deductionReason": "客户确认扣费", "refund": { "amount": 90000, "account": "助理2支付宝", "payer": "assistant2", "reference": "" }, "expenses": [], "original": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": null, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 0, "netReceived": 500000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 50000, "knownProfit": 50000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "funds_mode": "team", "credit_card_rate_permille": 6 }, "originalJournal": { "sales": 500000, "goods": 450000, "expense": 0, "profit": 50000 }, "summary": { "refundAmount": 90000, "retainedAmount": 410000, "materialReturnedCost": 88000, "laborRestockedCost": 0, "materialLoss": 352000, "costLoss": 362000, "originalDirectCost": 0, "newExpenses": 0, "directCost": 0, "profit": 48000, "finalProfit": 48000, "profitAdjustment": -2000, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ] }, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ], "originalOrder": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": null, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 0, "netReceived": 500000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 50000, "knownProfit": 50000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "funds_mode": "team", "credit_card_rate_permille": 6 } }, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 48000, "knownProfit": 48000, "ownerCost": 0, "assistantInventoryCredit": 0, "assistantInventoryCreditSources": [], "assistantInventoryCreditExplanation": "", "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "sync": { "revision": 5, "done_revision": 0, "error": null, "updated": "2026-11-19T02:01:03.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 }, "summary": { "before": { "total": 500000, "netReceived": 500000, "goodsCost": 450000, "directCost": 0, "profit": 50000, "settlementDue": 0, "materialCostPending": false }, "after": { "total": 500000, "netReceived": 410000, "goodsCost": 450000, "directCost": 0, "profit": 48000, "settlementDue": 0, "materialCostPending": false }, "inventory": { "before": [ { "date": "2026-11-18", "pocket": "现货", "kind": "sale", "mg": -5000 } ], "after": [ { "date": "2026-11-18", "pocket": "现货", "kind": "sale", "mg": -5000 }, { "date": "2026-11-19", "pocket": "金料", "kind": "return", "mg": 1000 } ], "changes": [ { "date": "2026-11-19", "pocket": "金料", "mg": 1000 } ] } }, "changes": [ { "field": "status", "label": "订单状态", "before": "delivered", "after": "returned" }, { "field": "returned_date", "label": "退货日期", "before": null, "after": "2026-11-19" }, { "field": "refunded", "label": "累计退款", "before": 0, "after": 90000 }, { "field": "payments", "label": "收退款流水", "before": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "after": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "refund", "amount": 90000, "account": "助理2支付宝", "reference": "整单售后退款", "actor": "助理2", "created": "2026-11-19T02:01:03.000Z" } ] }, { "field": "netReceived", "label": "已收净额", "before": 500000, "after": 410000 }, { "field": "profit", "label": "利润", "before": 50000, "after": 48000 } ], "relatedOrders": [], "afterSale": { "orderId": "", "date": "2026-11-19", "reason": "客户退回一件", "deductionReason": "客户确认扣费", "refund": { "amount": 90000, "account": "助理2支付宝", "payer": "assistant2", "reference": "" }, "expenses": [], "original": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": null, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 0, "netReceived": 500000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 50000, "knownProfit": 50000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "funds_mode": "team", "credit_card_rate_permille": 6 }, "originalJournal": { "sales": 500000, "goods": 450000, "expense": 0, "profit": 50000 }, "summary": { "refundAmount": 90000, "retainedAmount": 410000, "materialReturnedCost": 88000, "laborRestockedCost": 0, "materialLoss": 352000, "costLoss": 362000, "originalDirectCost": 0, "newExpenses": 0, "directCost": 0, "profit": 48000, "finalProfit": 48000, "profitAdjustment": -2000, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ] }, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ], "originalOrder": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": null, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 0, "netReceived": 500000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 50000, "knownProfit": 50000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "funds_mode": "team", "credit_card_rate_permille": 6 } } }, { "id": "", "order_id": "", "order_revision": 4, "action": "edit", "reason": "想改售价", "status": "rejected", "requester_id": "", "requester_name": "助理", "requester_role": "assistant", "created": "2026-11-19T02:00:33.000Z", "reviewer_id": "", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:00:34.000Z", "note": "售价无误", "action_label": "修改订单", "order_number": "MM20261118-", "order_date": "2026-11-18", "order_status": "delivered", "stale": false, "canApprove": false, "before": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照驳回客户", "salesperson": "娜娜", "note": "", "paper_number": "20261118008", "status": "delivered", "lines": [ { "name": "足金耳钉", "code": "", "unit": "g", "quantity": 800, "pocket": "现货", "payer": "assistant", "cost": 70000, "sale": 82000, "baseSale": 82000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 82000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:26.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理支付宝", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "驳回单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant", "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 82000, "account": "助理支付宝", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-18T02:01:26.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 82000, "refunded": 0, "netReceived": 82000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 70000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 70000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 12000, "profit": 12000, "knownProfit": 12000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "sync": { "revision": 4, "done_revision": 0, "error": null, "updated": "2026-11-18T02:01:26.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 }, "after": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照驳回客户", "salesperson": "娜娜", "note": "", "paper_number": "20261118008", "status": "delivered", "lines": [ { "name": "足金耳钉", "code": "", "unit": "g", "quantity": 800, "pocket": "现货", "payer": "assistant", "cost": 70000, "sale": 82000, "baseSale": 82000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 82000, "revision": 5, "reviewed_revision": 0, "created": "2026-11-18T02:01:26.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理支付宝", "fee_items": [], "fees_date": "2026-11-18", "rounding_mode": "cent", "internal_note": "驳回单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant", "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 82000, "account": "助理支付宝", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-18T02:01:26.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 82000, "refunded": 0, "netReceived": 82000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 70000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 70000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 12000, "profit": 12000, "knownProfit": 12000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "sync": { "revision": 5, "done_revision": 0, "error": null, "updated": "2026-11-19T02:00:33.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 }, "summary": { "before": { "total": 82000, "netReceived": 82000, "goodsCost": 70000, "directCost": 0, "profit": 12000, "settlementDue": 0, "materialCostPending": false }, "after": { "total": 82000, "netReceived": 82000, "goodsCost": 70000, "directCost": 0, "profit": 12000, "settlementDue": 0, "materialCostPending": false }, "inventory": { "before": [ { "date": "2026-11-18", "pocket": "现货", "kind": "sale", "mg": -800 } ], "after": [ { "date": "2026-11-18", "pocket": "现货", "kind": "sale", "mg": -800 } ], "changes": [] } }, "changes": [ { "field": "fees_date", "label": "费用日期", "before": "", "after": "2026-11-18" } ], "relatedOrders": [] } ], "counts": { "pending": 0, "approved": 1, "rejected": 1 }, "canApprove": false } }, { "seq": 461, "label": "cancellations-all-assistant2", "date": "2026-11-19", "actor": "assistant2", "method": "GET", "path": "/api/order-cancellations?status=all", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "requests": [ { "id": "", "order_id": "", "order_revision": 4, "reason": "重复录入", "status": "approved", "requester_id": "", "requester_name": "助理2", "requester_role": "assistant", "created": "2026-11-19T02:00:41.000Z", "reviewer_id": "", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:00:45.000Z", "note": "核对原单后确认", "order_number": "MM20261118-", "order_date": "2026-11-18", "order_status": "delivered", "requiresLegacyCountVerified": false, "legacyCountNotice": "", "stale": false, "canApprove": false, "summary": { "total": 150000, "netReceived": 150000, "goodsCost": 130000, "directCost": 0, "profit": 20000, "settlementDue": 0, "inventory": [ { "date": "2026-11-18", "pocket": "现货", "mg": 1500 } ] } } ], "counts": { "pending": 0, "approved": 1, "rejected": 0 }, "canApprove": false } }, { "seq": 462, "label": "ownership-all-assistant2", "date": "2026-11-19", "actor": "assistant2", "method": "GET", "path": "/api/order-ownership-changes?status=all", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "requests": [ { "id": "", "order_id": "", "order_revision": 6, "from_member": "assistant", "to_member": "assistant2", "reason": "实际由小昊接待", "status": "approved", "direct": false, "requester_id": "", "requester_name": "助理", "requester_role": "assistant", "created": "2026-11-19T02:01:54.000Z", "reviewer_id": "", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:01:56.000Z", "note": "核实", "before": { "member": "assistant", "label": "娜娜" }, "after": { "member": "assistant2", "label": "小昊" }, "order_number": "MM20261119-", "order_customer": "当天客户(改)", "order_date": "2026-11-19", "order_status": "delivered", "stale": false, "canApprove": false }, { "id": "", "order_id": "", "order_revision": 4, "from_member": "assistant", "to_member": "assistant2", "reason": "核实业务归属", "status": "approved", "direct": true, "requester_id": "", "requester_name": "麦麦", "requester_role": "owner", "created": "2026-11-19T02:00:49.000Z", "reviewer_id": "", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:00:49.000Z", "note": "", "before": { "member": "assistant", "label": "娜娜" }, "after": { "member": "assistant2", "label": "小昊" }, "order_number": "MM20261118-", "order_customer": "对照驳回客户", "order_date": "2026-11-18", "order_status": "delivered", "stale": false, "canApprove": false } ], "counts": { "pending": 0, "approved": 2, "rejected": 0 }, "canApprove": false } }, { "seq": 463, "label": "lock-changes-all-assistant2", "date": "2026-11-19", "actor": "assistant2", "method": "GET", "path": "/api/price-lock-changes?status=all", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "rows": [ { "id": "", "price_lock_id": "", "price_lock_revision": 1, "action": "cancel", "reason": "客户不要了", "payload": { "action": "cancel", "revision": 1, "reason": "客户不要了", "verified": true }, "status": "rejected", "requester_id": "", "requester_name": "助理2", "requester_role": "assistant", "created": "2026-11-19T02:01:23.000Z", "reviewer_id": "", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:01:24.000Z", "note": "客户仍要", "requestId": "", "revision": 1, "before": { "id": "", "number": "SJ20261118-", "date": "2026-11-18", "customer": "对照锁价客户三", "salesperson": "小昊", "note": "锁价备注", "line": { "name": "足金999", "code": "", "unit": "g", "quantity": 3000, "pocket": "", "payer": "assistant2", "costPayers": { "material": "assistant2", "labor": "assistant2" }, "cost": 258000, "costParts": { "material": 258000, "labor": 0, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 276000, "baseSale": 276000, "charges": [], "pricingMode": "auto", "goldPrice": 90000, "laborRate": 2000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 900.00元/克 + 工费 20.00元/克" }, "locked_mg": 3000, "sell_rate": 90000, "buy_rate": 86000, "buy_payer": "assistant2", "material_amount": 258000, "estimated_total": 276000, "discount": 0, "status": "pending", "revision": 1, "final_order_id": null, "delivery": null, "actor": "助理2", "created": "2026-11-18T02:01:55.000Z", "updated": "2026-11-18T02:01:55.000Z", "cancelled_at": null, "cancelled_reason": null, "lines": [ { "id": "", "line_index": 0, "line": { "name": "足金999", "code": "", "unit": "g", "quantity": 3000, "pocket": "", "payer": "assistant2", "costPayers": { "material": "assistant2", "labor": "assistant2" }, "cost": 258000, "costParts": { "material": 258000, "labor": 0, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 276000, "baseSale": 276000, "charges": [], "pricingMode": "auto", "goldPrice": 90000, "laborRate": 2000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 900.00元/克 + 工费 20.00元/克" }, "locked_mg": 3000, "sell_rate": 90000, "buy_rate": 86000, "buy_payer": "assistant2", "material_amount": 258000, "material_source": "manual", "delivery": null } ], "member": "assistant2", "kind": "priceLock", "credit_card_rate_permille": 6, "material_source": "manual", "cash_events": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 50000, "account": "助理2微信", "payer": null, "source": null, "quantity": null, "rate": null, "number": "SJ20261118-", "customer": "对照锁价客户三", "product": "足金999", "actor": "助理2", "created": "2026-11-18T02:01:55.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null, "card_fee_amount": null, "card_fee_payer": null, "card_fee_expense_id": null, "card_fee_rate": null, "card_fee_note": null } ], "material_events": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "material", "amount": 258000, "account": null, "payer": "assistant2", "source": "original", "quantity": 3000, "rate": 86000, "number": "SJ20261118-", "customer": "对照锁价客户三", "product": "足金999", "actor": "助理2", "created": "2026-11-18T02:01:55.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "card_fee_amount": null, "card_fee_payer": null, "card_fee_expense_id": null, "card_fee_rate": null, "card_fee_note": null } ], "voided_events": [], "received": 50000, "refunded": 0, "netReceived": 50000, "credit_card_fees": [], "credit_card_fee_total": 0 }, "after": { "id": "", "number": "SJ20261118-", "date": "2026-11-18", "customer": "对照锁价客户三", "salesperson": "小昊", "note": "锁价备注", "line": { "name": "足金999", "code": "", "unit": "g", "quantity": 3000, "pocket": "", "payer": "assistant2", "costPayers": { "material": "assistant2", "labor": "assistant2" }, "cost": 258000, "costParts": { "material": 258000, "labor": 0, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 276000, "baseSale": 276000, "charges": [], "pricingMode": "auto", "goldPrice": 90000, "laborRate": 2000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 900.00元/克 + 工费 20.00元/克" }, "locked_mg": 3000, "sell_rate": 90000, "buy_rate": 86000, "buy_payer": "assistant2", "material_amount": 258000, "estimated_total": 276000, "discount": 0, "status": "cancelled", "revision": 2, "final_order_id": null, "delivery": null, "actor": "助理2", "created": "2026-11-18T02:01:55.000Z", "updated": "2026-11-19T02:01:23.000Z", "cancelled_at": "2026-11-19T02:01:23.000Z", "cancelled_reason": "客户不要了", "lines": [ { "id": "", "line_index": 0, "line": { "name": "足金999", "code": "", "unit": "g", "quantity": 3000, "pocket": "", "payer": "assistant2", "costPayers": { "material": "assistant2", "labor": "assistant2" }, "cost": 258000, "costParts": { "material": 258000, "labor": 0, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 276000, "baseSale": 276000, "charges": [], "pricingMode": "auto", "goldPrice": 90000, "laborRate": 2000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 900.00元/克 + 工费 20.00元/克" }, "locked_mg": 3000, "sell_rate": 90000, "buy_rate": 86000, "buy_payer": "assistant2", "material_amount": 258000, "material_source": "manual", "delivery": null } ], "member": "assistant2", "kind": "priceLock", "credit_card_rate_permille": 6, "material_source": "manual", "cash_events": [], "material_events": [], "voided_events": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 50000, "account": "助理2微信", "payer": null, "source": null, "quantity": null, "rate": null, "number": "SJ20261118-", "customer": "对照锁价客户三", "product": "足金999", "actor": "助理2", "created": "2026-11-18T02:01:55.000Z", "line_index": null, "voided": 1, "void_reason": "客户不要了", "voided_at": "2026-11-19T02:01:23.000Z", "card_fee_amount": null, "card_fee_payer": null, "card_fee_expense_id": null, "card_fee_rate": null, "card_fee_note": null }, { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "material", "amount": 258000, "account": null, "payer": "assistant2", "source": "original", "quantity": 3000, "rate": 86000, "number": "SJ20261118-", "customer": "对照锁价客户三", "product": "足金999", "actor": "助理2", "created": "2026-11-18T02:01:55.000Z", "line_index": 0, "voided": 1, "void_reason": "客户不要了", "voided_at": "2026-11-19T02:01:23.000Z", "card_fee_amount": null, "card_fee_payer": null, "card_fee_expense_id": null, "card_fee_rate": null, "card_fee_note": null } ], "received": 0, "refunded": 0, "netReceived": 0, "credit_card_fees": [], "credit_card_fee_total": 0 }, "materialReturnDate": "2026-11-19", "changes": [ { "field": "netReceived", "before": 50000, "after": 0 }, { "field": "status", "before": "pending", "after": "cancelled" } ], "relatedOrders": [], "relatedPriceLocks": [], "stale": false } ] } }, { "seq": 464, "label": "recovery-changes-all-assistant2", "date": "2026-11-19", "actor": "assistant2", "method": "GET", "path": "/api/recovery-changes?status=all", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "requests": [], "counts": { "pending": 0, "approved": 0, "rejected": 0 } } }, { "seq": 465, "label": "purchase-changes-all-assistant2", "date": "2026-11-19", "actor": "assistant2", "method": "GET", "path": "/api/material-purchase-changes?status=all", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "rows": [], "counts": { "pending": 0, "approved": 0, "rejected": 0 } } }, { "seq": 466, "label": "after-sale-changes-all-assistant2", "date": "2026-11-19", "actor": "assistant2", "method": "GET", "path": "/api/after-sales/changes?status=all", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "requests": [], "counts": { "pending": 0, "approved": 0, "rejected": 0 } } }, { "seq": 467, "label": "order-book-filter status=after_sale", "date": "2026-11-19", "actor": "owner", "method": "GET", "path": "/api/order-book?from=2026-11-18&date=2026-11-19&status=after_sale", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "from": "2026-11-18", "date": "2026-11-19", "today": "2026-11-19", "q": "", "status": "after_sale", "pocket": "", "rows": [ { "id": "", "kind": "afterSale", "after_sale_id": "", "number": "售后", "paper_number": "", "date": "2026-11-18", "created": "2026-11-18T02:02:03.000Z", "customer": "对照售后客户", "salesperson": "助理", "status": "after_sale", "project": "对照改圈", "note": "对照改圈", "amount": 950, "payer": "assistant", "types": [ "售后" ], "mg": 0, "summaryMg": 0, "pieces": 0, "originalSale": 0, "sale": 0, "material": 0, "laborAndFees": 950, "unallocated": 0, "totalCost": 950, "profit": -950, "ownerCost": 0, "assistantCost": 950, "known": { "sale": 0, "material": 0, "laborAndFees": 950, "unallocated": 0, "totalCost": 950, "profit": -950, "ownerCost": 0, "assistantCost": 950 }, "costItems": [ { "kind": "afterSale", "after_sale_id": "", "name": "对照改圈", "source": "售后 · 2026-11-18", "amount": 950, "payer": "assistant", "component": "fee", "calculation": null } ], "laborAndFeeItems": [ { "kind": "afterSale", "after_sale_id": "", "name": "对照改圈", "source": "售后 · 2026-11-18", "amount": 950, "payer": "assistant", "component": "fee", "calculation": null } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "独立售后支出,计入所选日期利润", "balance": 0, "revision": 2, "reviewed_revision": 2 }, { "id": "", "kind": "afterSale", "after_sale_id": "", "number": "售后", "paper_number": "", "date": "2026-11-18", "created": "2026-11-18T02:02:06.000Z", "customer": "对照售后客户二", "salesperson": "麦麦", "status": "after_sale", "project": "对照清洗", "note": "对照清洗", "amount": 0, "payer": "owner", "types": [ "售后" ], "mg": 0, "summaryMg": 0, "pieces": 0, "originalSale": 0, "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "known": { "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0 }, "costItems": [ { "kind": "afterSale", "after_sale_id": "", "name": "对照清洗", "source": "售后 · 2026-11-18", "amount": 0, "payer": "owner", "component": "fee", "calculation": null } ], "laborAndFeeItems": [ { "kind": "afterSale", "after_sale_id": "", "name": "对照清洗", "source": "售后 · 2026-11-18", "amount": 0, "payer": "owner", "component": "fee", "calculation": null } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "独立售后支出,计入所选日期利润", "balance": 0, "revision": 1, "reviewed_revision": 1 }, { "id": "", "order_id": "", "kind": "orderAfterSale", "orderAfterSale": { "orderId": "", "date": "2026-11-19", "reason": "客户退回一件", "deductionReason": "客户确认扣费", "refund": { "amount": 90000, "account": "助理2支付宝", "payer": "assistant2", "reference": "" }, "expenses": [], "original": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": { "id": "", "status": "approved", "action": "return", "action_label": "订单售后", "order_revision": 4, "reason": "客户退回一件", "requester_name": "助理2", "created": "2026-11-19T02:01:03.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:01:05.000Z", "note": "实物已收回" }, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 0, "netReceived": 500000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 50000, "knownProfit": 50000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "funds_mode": "team", "credit_card_rate_permille": 6 }, "originalJournal": { "sales": 500000, "goods": 450000, "expense": 0, "profit": 50000 }, "summary": { "refundAmount": 90000, "retainedAmount": 410000, "materialReturnedCost": 88000, "laborRestockedCost": 0, "materialLoss": 352000, "costLoss": 362000, "originalDirectCost": 0, "newExpenses": 0, "directCost": 0, "profit": 48000, "finalProfit": 48000, "profitAdjustment": -2000, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ] }, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ], "order_id": "", "created": "2026-11-19T02:01:05.000Z", "number": "MM20261118-", "paper_number": "20261118007", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "order_date": "2026-11-18", "member": "assistant2" }, "member": "assistant2", "number": "MM20261118-", "paper_number": "20261118007", "date": "2026-11-19", "order_date": "2026-11-18", "created": "2026-11-19T02:01:05.000Z", "customer": "对照售后订单客户", "salesperson": "小昊", "status": "after_sale", "note": "", "project": "订单售后", "types": [ "订单售后" ], "mg": 0, "summaryMg": 0, "pieces": 0, "originalSale": 500000, "sale": -90000, "material": -88000, "laborAndFees": 0, "unallocated": 0, "totalCost": -88000, "profit": -2000, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": -88000, "known": { "sale": -90000, "material": -88000, "laborAndFees": 0, "unallocated": 0, "totalCost": -88000, "profit": -2000, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": -88000 }, "costItems": [ { "kind": "goods", "component": "material", "name": "售后收回金料成本", "source": "商品 1 · 足金手链", "amount": -88000, "payer": "assistant2", "nonCash": true, "materialPoolId": "2026-11-19", "calculation": null } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "按售后发生日调整;回收成本不属于新付款", "balance": 0, "revision": 1, "reviewed_revision": 1 } ], "displayRows": [ { "id": "", "kind": "afterSale", "after_sale_id": "", "number": "售后", "paper_number": "", "date": "2026-11-18", "created": "2026-11-18T02:02:03.000Z", "customer": "对照售后客户", "salesperson": "助理", "status": "after_sale", "project": "对照改圈", "note": "对照改圈", "amount": 950, "payer": "assistant", "types": [ "售后" ], "mg": 0, "summaryMg": 0, "pieces": 0, "originalSale": 0, "sale": 0, "material": 0, "laborAndFees": 950, "unallocated": 0, "totalCost": 950, "profit": -950, "ownerCost": 0, "assistantCost": 950, "known": { "sale": 0, "material": 0, "laborAndFees": 950, "unallocated": 0, "totalCost": 950, "profit": -950, "ownerCost": 0, "assistantCost": 950 }, "costItems": [ { "kind": "afterSale", "after_sale_id": "", "name": "对照改圈", "source": "售后 · 2026-11-18", "amount": 950, "payer": "assistant", "component": "fee", "calculation": null } ], "laborAndFeeItems": [ { "kind": "afterSale", "after_sale_id": "", "name": "对照改圈", "source": "售后 · 2026-11-18", "amount": 950, "payer": "assistant", "component": "fee", "calculation": null } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "独立售后支出,计入所选日期利润", "balance": 0, "revision": 2, "reviewed_revision": 2 }, { "id": "", "kind": "afterSale", "after_sale_id": "", "number": "售后", "paper_number": "", "date": "2026-11-18", "created": "2026-11-18T02:02:06.000Z", "customer": "对照售后客户二", "salesperson": "麦麦", "status": "after_sale", "project": "对照清洗", "note": "对照清洗", "amount": 0, "payer": "owner", "types": [ "售后" ], "mg": 0, "summaryMg": 0, "pieces": 0, "originalSale": 0, "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "known": { "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0 }, "costItems": [ { "kind": "afterSale", "after_sale_id": "", "name": "对照清洗", "source": "售后 · 2026-11-18", "amount": 0, "payer": "owner", "component": "fee", "calculation": null } ], "laborAndFeeItems": [ { "kind": "afterSale", "after_sale_id": "", "name": "对照清洗", "source": "售后 · 2026-11-18", "amount": 0, "payer": "owner", "component": "fee", "calculation": null } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "独立售后支出,计入所选日期利润", "balance": 0, "revision": 1, "reviewed_revision": 1 }, { "id": "", "order_id": "", "kind": "orderAfterSale", "orderAfterSale": { "orderId": "", "date": "2026-11-19", "reason": "客户退回一件", "deductionReason": "客户确认扣费", "refund": { "amount": 90000, "account": "助理2支付宝", "payer": "assistant2", "reference": "" }, "expenses": [], "original": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": { "id": "", "status": "approved", "action": "return", "action_label": "订单售后", "order_revision": 4, "reason": "客户退回一件", "requester_name": "助理2", "created": "2026-11-19T02:01:03.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:01:05.000Z", "note": "实物已收回" }, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 0, "netReceived": 500000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 50000, "knownProfit": 50000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "funds_mode": "team", "credit_card_rate_permille": 6 }, "originalJournal": { "sales": 500000, "goods": 450000, "expense": 0, "profit": 50000 }, "summary": { "refundAmount": 90000, "retainedAmount": 410000, "materialReturnedCost": 88000, "laborRestockedCost": 0, "materialLoss": 352000, "costLoss": 362000, "originalDirectCost": 0, "newExpenses": 0, "directCost": 0, "profit": 48000, "finalProfit": 48000, "profitAdjustment": -2000, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ] }, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ], "order_id": "", "created": "2026-11-19T02:01:05.000Z", "number": "MM20261118-", "paper_number": "20261118007", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "order_date": "2026-11-18", "member": "assistant2" }, "member": "assistant2", "number": "MM20261118-", "paper_number": "20261118007", "date": "2026-11-19", "order_date": "2026-11-18", "created": "2026-11-19T02:01:05.000Z", "customer": "对照售后订单客户", "salesperson": "小昊", "status": "after_sale", "note": "", "project": "订单售后", "types": [ "订单售后" ], "mg": 0, "summaryMg": 0, "pieces": 0, "originalSale": 500000, "sale": -90000, "material": -88000, "laborAndFees": 0, "unallocated": 0, "totalCost": -88000, "profit": -2000, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": -88000, "known": { "sale": -90000, "material": -88000, "laborAndFees": 0, "unallocated": 0, "totalCost": -88000, "profit": -2000, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": -88000 }, "costItems": [ { "kind": "goods", "component": "material", "name": "售后收回金料成本", "source": "商品 1 · 足金手链", "amount": -88000, "payer": "assistant2", "nonCash": true, "materialPoolId": "2026-11-19", "calculation": null } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "按售后发生日调整;回收成本不属于新付款", "balance": 0, "revision": 1, "reviewed_revision": 1 } ], "recoveryCount": 0, "summary": { "orderCount": 0, "completedCount": 0, "draftCount": 0, "confirmedCount": 0, "returnedCount": 1, "cancelledCount": 0, "incompleteCount": 0, "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "unknownCostCount": 0, "unknownProfitCount": 0, "legacyUnallocatedCount": 0, "sale": -90000, "material": -88000, "laborAndFees": 950, "unallocated": 0, "totalCost": -87050, "profit": -2950, "ownerCost": 0, "assistantCost": 950, "assistant2Cost": -88000, "mg": 0, "pieces": 0, "knownCounts": { "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0 }, "unknownCounts": { "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0 }, "partial": false, "afterSaleCount": 3, "recordCount": 3 }, "peopleCount": { "from": "2026-11-18", "date": "2026-11-19", "baselineDate": "2026-11-17", "mode": "daily-total", "assistant1": { "total": 7, "endTotal": 7, "baselineTotal": null, "baselineDate": null, "netChange": null, "netChangeReason": "missing-previous", "recordedDays": 2 }, "assistant2": { "total": 4, "endTotal": 4, "baselineTotal": null, "baselineDate": null, "netChange": null, "netChangeReason": "missing-previous", "recordedDays": 2 } }, "priceLockActivity": { "basis": "eventDate", "from": "2026-11-18", "date": "2026-11-19", "customerCash": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 270000, "account": "助理微信", "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:53.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null }, { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 50000, "account": "助理2微信", "number": "SJ20261118-", "customer": "对照锁价客户三", "product": "足金999", "actor": "助理2", "created": "2026-11-18T02:01:55.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null }, { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 120000, "account": "助理支付宝", "number": "SJ20261118-", "customer": "对照锁价客户二", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:02:02.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null }, { "id": "", "price_lock_id": "", "date": "2026-11-19", "kind": "receipt", "amount": 16200, "account": "助理支付宝", "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-19T02:01:28.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null } ], "orderPayments": [], "materialOutlays": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "material", "amount": 255000, "payer": "owner", "source": "original", "quantity": 3000, "rate": 85000, "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:53.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "component": "material" }, { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "material", "amount": 255000, "payer": "owner", "source": "original", "quantity": 3000, "rate": 85000, "number": "SJ20261118-", "customer": "对照锁价客户二", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:54.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "component": "material" }, { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "material", "amount": 258000, "payer": "assistant2", "source": "original", "quantity": 3000, "rate": 86000, "number": "SJ20261118-", "customer": "对照锁价客户三", "product": "足金999", "actor": "助理2", "created": "2026-11-18T02:01:55.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "component": "material" }, { "id": "", "price_lock_id": "", "date": "2026-11-19", "kind": "material", "amount": 9000, "payer": "assistant", "source": "extra", "quantity": 100, "rate": 90000, "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-19T02:01:28.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "component": "material" } ], "directOutlays": [ { "id": "", "order_id": "", "date": "2026-11-19", "amount": 600, "payer": "owner", "note": "实际快递", "actor": "助理", "created": "2026-11-19T02:01:28.000Z", "price_lock_id": "", "number": "SJ20261118-", "customer": "对照锁价客户(改)", "kind": "fee", "component": "fee", "product": "足金999" } ], "deliveryGoodsOutlays": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": null, "id": "price-lock-goods::0", "price_lock_id": "", "order_id": "", "number": "MM20261119-", "paper_number": "20261119010", "customer": "对照锁价客户(改)", "date": "2026-11-19", "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "id": "price-lock-goods::1", "price_lock_id": "", "order_id": "", "number": "MM20261119-", "paper_number": "20261119010", "customer": "对照锁价客户(改)", "date": "2026-11-19", "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "id": "price-lock-goods::2", "price_lock_id": "", "order_id": "", "number": "MM20261119-", "paper_number": "20261119010", "customer": "对照锁价客户(改)", "date": "2026-11-19", "component": "other" } ], "receipts": { "receipt": 456200, "refund": 0, "net": 456200, "channels": [ { "channel": "wechat", "name": "微信", "receipt": 320000, "refund": 0, "net": 320000 }, { "channel": "alipay", "name": "支付宝", "receipt": 136200, "refund": 0, "net": 136200 }, { "channel": "cash", "name": "现金", "receipt": 0, "refund": 0, "net": 0 } ], "accounts": [ { "account": "助理微信", "receipt": 270000, "refund": 0, "net": 270000 }, { "account": "助理支付宝", "receipt": 136200, "refund": 0, "net": 136200 }, { "account": "助理现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2微信", "receipt": 50000, "refund": 0, "net": 50000 }, { "account": "助理2支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2现金", "receipt": 0, "refund": 0, "net": 0 } ], "paymentCount": 4, "orderCount": 3 }, "payerOutlays": { "owner": { "payer": "owner", "material": 510000, "goods": 510000, "paidFees": 600, "total": 510600 }, "assistant": { "payer": "assistant", "material": 9000, "goods": 12000, "paidFees": 0, "total": 12000 }, "assistant2": { "payer": "assistant2", "material": 258000, "goods": 258000, "paidFees": 0, "total": 258000 } }, "summary": { "receipt": 456200, "refund": 0, "net": 456200, "materialOutlay": 777000, "goodsOutlay": 780000, "feeOutlay": 600, "ownerOutlay": 510600, "assistantOutlay": 12000, "assistant2Outlay": 258000, "totalOutlay": 780600, "eventCount": 12, "lockCount": 3 } }, "materialPoolActivity": { "basis": "purchaseDate", "from": "2026-11-18", "date": "2026-11-19", "purchases": [ { "id": "", "pool_id": "2026-11-18", "date": "2026-11-18", "mg": 11000, "amount": 990000, "payer": "assistant", "note": "核对凭据", "actor": "助理", "created": "2026-11-18T02:01:09.000Z", "revision": 2, "deleted_at": "", "updated": "2026-11-19T02:02:27.000Z" }, { "id": "", "pool_id": "2026-11-18", "date": "2026-11-18", "mg": 20000, "amount": 1820000, "payer": "owner", "note": "麦麦购料", "actor": "麦麦", "created": "2026-11-18T02:01:10.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-18T02:01:10.000Z" }, { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 5000, "amount": 460000, "payer": "assistant", "note": "第二天购料", "actor": "助理", "created": "2026-11-19T02:02:19.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:19.000Z" }, { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 4000, "amount": 370000, "payer": "assistant2", "note": "", "actor": "助理2", "created": "2026-11-19T02:02:20.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:20.000Z" } ], "payerOutlays": { "owner": { "payer": "owner", "material": 1820000, "goods": 1820000, "paidFees": 0, "total": 1820000, "purchaseCount": 1 }, "assistant": { "payer": "assistant", "material": 1450000, "goods": 1450000, "paidFees": 0, "total": 1450000, "purchaseCount": 2 }, "assistant2": { "payer": "assistant2", "material": 370000, "goods": 370000, "paidFees": 0, "total": 370000, "purchaseCount": 1 } }, "summary": { "purchaseCount": 4, "poolCount": 2, "mg": 40000, "materialOutlay": 3640000, "purchaseValue": 3640000, "ownerOutlay": 1820000, "assistantOutlay": 1450000, "assistant2Outlay": 370000, "totalOutlay": 3640000, "eventCount": 4 } }, "summaryWithoutCancelled": { "orderCount": 0, "completedCount": 0, "draftCount": 0, "confirmedCount": 0, "returnedCount": 1, "cancelledCount": 0, "incompleteCount": 0, "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "unknownCostCount": 0, "unknownProfitCount": 0, "legacyUnallocatedCount": 0, "sale": -90000, "material": -88000, "laborAndFees": 950, "unallocated": 0, "totalCost": -87050, "profit": -2950, "ownerCost": 0, "assistantCost": 950, "assistant2Cost": -88000, "mg": 0, "pieces": 0, "knownCounts": { "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0 }, "unknownCounts": { "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0 }, "partial": false, "afterSaleCount": 3, "recordCount": 3 }, "receiptsWithoutCancelled": { "basis": "orderDate", "filterScope": "matchingOrdersWithoutCancelled", "from": "2026-11-18", "date": "2026-11-19", "receipt": 0, "refund": 90000, "net": -90000, "channels": [ { "channel": "wechat", "name": "微信", "receipt": 0, "refund": 0, "net": 0 }, { "channel": "alipay", "name": "支付宝", "receipt": 0, "refund": 90000, "net": -90000 }, { "channel": "cash", "name": "现金", "receipt": 0, "refund": 0, "net": 0 } ], "accounts": [ { "account": "助理微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2支付宝", "receipt": 0, "refund": 90000, "net": -90000 }, { "account": "助理2现金", "receipt": 0, "refund": 0, "net": 0 } ], "paymentCount": 1, "orderCount": 1 }, "receiptsByPaymentDate": { "basis": "paymentDate", "filterScope": "dateRange", "from": "2026-11-18", "date": "2026-11-19", "receipt": 4618555, "refund": 90000, "net": 4528555, "channels": [ { "channel": "wechat", "name": "微信", "receipt": 2184692, "refund": 0, "net": 2184692 }, { "channel": "alipay", "name": "支付宝", "receipt": 535363, "refund": 90000, "net": 445363 }, { "channel": "cash", "name": "现金", "receipt": 1310000, "refund": 0, "net": 1310000 }, { "channel": "credit_card", "name": "信用卡", "receipt": 588500, "refund": 0, "net": 588500 } ], "accounts": [ { "account": "助理微信", "receipt": 1201900, "refund": 0, "net": 1201900 }, { "account": "助理支付宝", "receipt": 218200, "refund": 0, "net": 218200 }, { "account": "助理现金", "receipt": 330000, "refund": 0, "net": 330000 }, { "account": "麦麦微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦支付宝", "receipt": 100000, "refund": 0, "net": 100000 }, { "account": "麦麦现金", "receipt": 980000, "refund": 0, "net": 980000 }, { "account": "麦麦信用卡", "receipt": 588500, "refund": 0, "net": 588500 }, { "account": "助理2微信", "receipt": 982792, "refund": 0, "net": 982792 }, { "account": "助理2支付宝", "receipt": 217163, "refund": 90000, "net": 127163 }, { "account": "助理2现金", "receipt": 0, "refund": 0, "net": 0 } ], "paymentCount": 23, "orderCount": 18 }, "receiptsByOrderDate": { "basis": "orderDate", "filterScope": "matchingOrders", "from": "2026-11-18", "date": "2026-11-19", "receipt": 0, "refund": 90000, "net": -90000, "channels": [ { "channel": "wechat", "name": "微信", "receipt": 0, "refund": 0, "net": 0 }, { "channel": "alipay", "name": "支付宝", "receipt": 0, "refund": 90000, "net": -90000 }, { "channel": "cash", "name": "现金", "receipt": 0, "refund": 0, "net": 0 } ], "accounts": [ { "account": "助理微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2支付宝", "receipt": 0, "refund": 90000, "net": -90000 }, { "account": "助理2现金", "receipt": 0, "refund": 0, "net": 0 } ], "paymentCount": 1, "orderCount": 1 } } }, { "seq": 468, "label": "order-book-filter status=delivered", "date": "2026-11-19", "actor": "owner", "method": "GET", "path": "/api/order-book?from=2026-11-18&date=2026-11-19&status=delivered", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "from": "2026-11-18", "date": "2026-11-19", "today": "2026-11-19", "q": "", "status": "delivered", "pocket": "", "rows": [ { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118001", "date": "2026-11-18", "created": "2026-11-18T02:01:17.000Z", "customer": "对照客户甲(改)", "salesperson": "娜娜", "status": "delivered", "note": "客户单备注", "types": [ "货盘现货" ], "mg": 3250, "summaryMg": 3250, "pieces": 0, "originalSale": 321100, "sale": 321100, "material": 286000, "laborAndFees": 5400, "unallocated": 0, "totalCost": 291400, "profit": 29700, "ownerCost": 286000, "assistantCost": 5400, "assistant2Cost": 0, "known": { "sale": 321100, "material": 286000, "laborAndFees": 5400, "unallocated": 0, "totalCost": 291400, "profit": 29700, "ownerCost": 286000, "assistantCost": 5400, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金999", "amount": 286000, "payer": "owner", "excluded": false, "calculation": { "rate": 88000, "quantity": 3250 }, "component": "material" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 4000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 200, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "快递", "source": "2026-11-18", "amount": 1200, "payer": "assistant", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 4000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 200, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "快递", "source": "2026-11-18", "amount": 1200, "payer": "assistant", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 5, "reviewed_revision": 0 }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118002", "date": "2026-11-18", "created": "2026-11-18T02:01:18.000Z", "customer": "对照客户乙", "salesperson": "小昊", "status": "delivered", "note": "", "types": [ "货盘现货", "配货 · 银饰" ], "mg": 2000, "summaryMg": 2000, "pieces": 3, "originalSale": 217163, "sale": 217163, "material": null, "laborAndFees": null, "unallocated": 183000, "totalCost": 183000, "profit": 34163, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 183000, "known": { "sale": 217163, "material": 0, "laborAndFees": 0, "unallocated": 183000, "totalCost": 183000, "profit": 34163, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 183000 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金999", "amount": 180000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "unallocated" }, { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 2 · 纯银925", "amount": 3000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "unallocated" } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 4, "reviewed_revision": 0 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118003", "date": "2026-11-18", "created": "2026-11-18T02:01:19.000Z", "customer": "对照客户丙", "salesperson": "麦麦", "status": "delivered", "note": "老板改备注", "types": [ "配货" ], "mg": 0, "summaryMg": 0, "pieces": 1, "originalSale": 288500, "sale": 288500, "material": null, "laborAndFees": null, "unallocated": 150000, "totalCost": 151731, "profit": 136769, "ownerCost": 151731, "assistantCost": 0, "assistant2Cost": 0, "known": { "sale": 288500, "material": 0, "laborAndFees": 1731, "unallocated": 150000, "totalCost": 151731, "profit": 136769, "ownerCost": 151731, "assistantCost": 0, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 金镶玉吊坠", "amount": 150000, "payer": "owner", "excluded": false, "calculation": null, "component": "unallocated" }, { "kind": "paid", "name": "信用卡手续费(6‰)", "source": "2026-11-18", "amount": 1731, "payer": "owner", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "paid", "name": "信用卡手续费(6‰)", "source": "2026-11-18", "amount": 1731, "payer": "owner", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 5, "reviewed_revision": 0 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118004", "date": "2026-11-18", "created": "2026-11-18T02:01:20.000Z", "materialPoolIds": [ "2026-11-18" ], "materialCostPending": false, "customer": "对照客户丁", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "配货" ], "mg": 3000, "summaryMg": 3000, "pieces": 0, "originalSale": 330000, "sale": 330000, "material": 271935, "laborAndFees": 1000, "unallocated": 0, "totalCost": 272935, "profit": 57065, "ownerCost": 0, "assistantCost": 272935, "assistant2Cost": 0, "known": { "sale": 330000, "material": 271935, "laborAndFees": 1000, "unallocated": 0, "totalCost": 272935, "profit": 57065, "ownerCost": 0, "assistantCost": 272935, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 2026-11-18日购料", "amount": 271935, "payer": "assistant", "excluded": false, "materialPoolId": "2026-11-18", "materialPoolRevision": "2823f40ff78424f5423f0dbdf991ea5fcc83b0144648e9d2399869970c27af75", "calculation": { "rate": 90645, "quantity": 3000, "weighted": true } }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "补寄快递", "source": "2026-11-19", "amount": 1000, "payer": "assistant", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "补寄快递", "source": "2026-11-19", "amount": 1000, "payer": "assistant", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 6, "reviewed_revision": 0 }, { "id": "", "member": "owner", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118005", "date": "2026-11-18", "created": "2026-11-18T02:01:21.000Z", "customer": "对照草稿客户", "salesperson": "麦麦", "status": "delivered", "note": "", "types": [ "货盘·展柜A(主)" ], "mg": 10000, "summaryMg": 10000, "pieces": 0, "originalSale": 980000, "sale": 980000, "material": null, "laborAndFees": null, "unallocated": 900000, "totalCost": 900000, "profit": 80000, "ownerCost": 900000, "assistantCost": 0, "assistant2Cost": 0, "known": { "sale": 980000, "material": 0, "laborAndFees": 0, "unallocated": 900000, "totalCost": 900000, "profit": 80000, "ownerCost": 900000, "assistantCost": 0, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金手镯", "amount": 900000, "payer": "owner", "excluded": false, "calculation": null, "component": "unallocated" } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 5, "reviewed_revision": 0 }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118008", "date": "2026-11-18", "created": "2026-11-18T02:01:26.000Z", "customer": "对照驳回客户", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 800, "summaryMg": 800, "pieces": 0, "originalSale": 82000, "sale": 82000, "material": null, "laborAndFees": null, "unallocated": 70000, "totalCost": 70000, "profit": 12000, "ownerCost": 0, "assistantCost": 70000, "assistant2Cost": 0, "known": { "sale": 82000, "material": 0, "laborAndFees": 0, "unallocated": 70000, "totalCost": 70000, "profit": 12000, "ownerCost": 0, "assistantCost": 70000, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金耳钉", "amount": 70000, "payer": "assistant", "excluded": false, "calculation": null, "component": "unallocated" } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 5, "reviewed_revision": 0 }, { "id": "", "member": "owner", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118009", "date": "2026-11-18", "created": "2026-11-18T02:01:27.000Z", "customer": "对照分步客户", "salesperson": "麦麦", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 4000, "summaryMg": 4000, "pieces": 0, "originalSale": 400000, "sale": 400000, "material": null, "laborAndFees": null, "unallocated": 350000, "totalCost": 351800, "profit": 48200, "ownerCost": 351800, "assistantCost": 0, "assistant2Cost": 0, "known": { "sale": 400000, "material": 0, "laborAndFees": 1800, "unallocated": 350000, "totalCost": 351800, "profit": 48200, "ownerCost": 351800, "assistantCost": 0, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金项链", "amount": 350000, "payer": "owner", "excluded": false, "calculation": null, "component": "unallocated" }, { "kind": "paid", "name": "信用卡手续费(6‰)", "source": "2026-11-18", "amount": 1800, "payer": "owner", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "paid", "name": "信用卡手续费(6‰)", "source": "2026-11-18", "amount": 1800, "payer": "owner", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 5, "reviewed_revision": 0 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119010", "date": "2026-11-19", "created": "2026-11-19T02:01:28.000Z", "price_lock_id": "", "customer": "对照锁价客户(改)", "salesperson": "娜娜", "status": "delivered", "note": "锁价备注;锁价单 SJ20261118-;按原锁定金价 900.00元/克结算", "types": [ "货盘现货" ], "mg": 3100, "summaryMg": 3100, "pieces": 0, "originalSale": 286200, "sale": 286200, "material": 264000, "laborAndFees": 3600, "unallocated": 0, "totalCost": 267600, "profit": 18600, "ownerCost": 255600, "assistantCost": 12000, "assistant2Cost": 0, "known": { "sale": 286200, "material": 264000, "laborAndFees": 3600, "unallocated": 0, "totalCost": 267600, "profit": 18600, "ownerCost": 255600, "assistantCost": 12000, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 原锁价采购", "amount": 255000, "payer": "owner", "excluded": false, "priceLockSource": "original", "calculation": { "rate": 85000, "quantity": 3000 } }, { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 补重采购", "amount": 9000, "payer": "assistant", "excluded": false, "priceLockSource": "extra", "calculation": { "rate": 90000, "quantity": 100 } }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "实际快递", "source": "2026-11-19", "amount": 600, "payer": "owner", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "实际快递", "source": "2026-11-19", "amount": 600, "payer": "owner", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 3, "reviewed_revision": 0 }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119011", "date": "2026-11-19", "created": "2026-11-19T02:01:32.000Z", "recovery_id": "", "recovery_mode": "exchange", "nonCashOffset": 0, "cashPaid": 0, "netSettlement": 432792, "recovery_immutable_reason": "本单关联黄金回收/置换、购料及库存,暂不支持普通订单修改、取消、退款、退货或费用变更,请保留原关联记录", "customer": "对照换货客户", "salesperson": "小昊", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 12000, "summaryMg": 12000, "pieces": 0, "originalSale": 432792, "sale": 432792, "material": 360720, "laborAndFees": 6000, "unallocated": 0, "totalCost": 366720, "profit": 66072, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 366720, "known": { "sale": 432792, "material": 360720, "laborAndFees": 6000, "unallocated": 0, "totalCost": 366720, "profit": 66072, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 366720 }, "costItems": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金对照新货", "amount": 360720, "payer": "assistant2", "excluded": false, "calculation": { "rate": 90000, "quantity": 4008 }, "component": "material" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 6000, "payer": "assistant2", "excluded": false, "calculation": { "rate": 500, "quantity": 12000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 6000, "payer": "assistant2", "excluded": false, "calculation": { "rate": 500, "quantity": 12000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 4, "reviewed_revision": 0 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119012", "date": "2026-11-19", "created": "2026-11-19T02:01:33.000Z", "recovery_id": "", "recovery_mode": "exchange", "nonCashOffset": 0, "cashPaid": 0, "netSettlement": 130800, "recovery_immutable_reason": "本单关联黄金回收/置换、购料及库存,暂不支持普通订单修改、取消、退款、退货或费用变更,请保留原关联记录", "customer": "对照换货客户二", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 6000, "summaryMg": 6000, "pieces": 0, "originalSale": 130800, "sale": 130800, "material": 103410, "laborAndFees": 3000, "unallocated": 0, "totalCost": 106410, "profit": 24390, "ownerCost": 0, "assistantCost": 106410, "assistant2Cost": 0, "known": { "sale": 130800, "material": 103410, "laborAndFees": 3000, "unallocated": 0, "totalCost": 106410, "profit": 24390, "ownerCost": 0, "assistantCost": 106410, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金对照新货", "amount": 103410, "payer": "assistant", "excluded": false, "calculation": { "rate": 90000, "quantity": 1149 }, "component": "material" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": { "rate": 500, "quantity": 6000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": { "rate": 500, "quantity": 6000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 4, "reviewed_revision": 0 }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119013", "date": "2026-11-19", "created": "2026-11-19T02:01:48.000Z", "customer": "当天客户(改)", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 2000, "summaryMg": 2000, "pieces": 0, "originalSale": 210000, "sale": 210000, "material": null, "laborAndFees": null, "unallocated": 180000, "totalCost": 180800, "profit": 29200, "ownerCost": 0, "assistantCost": 180800, "assistant2Cost": 0, "known": { "sale": 210000, "material": 0, "laborAndFees": 800, "unallocated": 180000, "totalCost": 180800, "profit": 29200, "ownerCost": 0, "assistantCost": 180800, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金吊坠", "amount": 180000, "payer": "assistant", "excluded": false, "calculation": null, "component": "unallocated" }, { "kind": "paid", "name": "当天快递", "source": "2026-11-19", "amount": 800, "payer": "assistant", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "paid", "name": "当天快递", "source": "2026-11-19", "amount": 800, "payer": "assistant", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 7, "reviewed_revision": 0 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119015", "date": "2026-11-19", "created": "2026-11-19T02:02:40.000Z", "materialPoolIds": [ "2026-11-19" ], "materialCostPending": false, "customer": "滚动料池客户", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "配货" ], "mg": 2000, "summaryMg": 2000, "pieces": 0, "originalSale": 220000, "sale": 220000, "material": 181898, "laborAndFees": 0, "unallocated": 0, "totalCost": 181898, "profit": 38102, "ownerCost": 0, "assistantCost": 181898, "assistant2Cost": 0, "known": { "sale": 220000, "material": 181898, "laborAndFees": 0, "unallocated": 0, "totalCost": 181898, "profit": 38102, "ownerCost": 0, "assistantCost": 181898, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 2026-11-19日购料", "amount": 181898, "payer": "assistant", "excluded": false, "materialPoolId": "2026-11-19", "materialPoolRevision": "2e1d58e4d359165036a53976f4ed30c7052bb21df8bd2eb46c6544546a2e818b", "calculation": { "rate": 90949, "quantity": 2000, "weighted": true } }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 4, "reviewed_revision": 0 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119016", "date": "2026-11-19", "created": "2026-11-19T02:02:51.000Z", "customer": "安全测试", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 500, "summaryMg": 500, "pieces": 0, "originalSale": 50000, "sale": 50000, "material": null, "laborAndFees": null, "unallocated": 42000, "totalCost": 42000, "profit": 8000, "ownerCost": 0, "assistantCost": 42000, "assistant2Cost": 0, "known": { "sale": 50000, "material": 0, "laborAndFees": 0, "unallocated": 42000, "totalCost": 42000, "profit": 8000, "ownerCost": 0, "assistantCost": 42000, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金转运珠", "amount": 42000, "payer": "assistant", "excluded": false, "calculation": null, "component": "unallocated" } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 4, "reviewed_revision": 0 } ], "displayRows": [ { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118001", "date": "2026-11-18", "created": "2026-11-18T02:01:17.000Z", "customer": "对照客户甲(改)", "salesperson": "娜娜", "status": "delivered", "note": "客户单备注", "types": [ "货盘现货" ], "mg": 3250, "summaryMg": 3250, "pieces": 0, "originalSale": 321100, "sale": 321100, "material": 286000, "laborAndFees": 5400, "unallocated": 0, "totalCost": 291400, "profit": 29700, "ownerCost": 286000, "assistantCost": 5400, "assistant2Cost": 0, "known": { "sale": 321100, "material": 286000, "laborAndFees": 5400, "unallocated": 0, "totalCost": 291400, "profit": 29700, "ownerCost": 286000, "assistantCost": 5400, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金999", "amount": 286000, "payer": "owner", "excluded": false, "calculation": { "rate": 88000, "quantity": 3250 }, "component": "material" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 4000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 200, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "快递", "source": "2026-11-18", "amount": 1200, "payer": "assistant", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 4000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 200, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "快递", "source": "2026-11-18", "amount": 1200, "payer": "assistant", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 5, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 2, "updated": "2026-11-18T02:01:50.000Z", "actor": "助理" } }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118002", "date": "2026-11-18", "created": "2026-11-18T02:01:18.000Z", "customer": "对照客户乙", "salesperson": "小昊", "status": "delivered", "note": "", "types": [ "货盘现货", "配货 · 银饰" ], "mg": 2000, "summaryMg": 2000, "pieces": 3, "originalSale": 217163, "sale": 217163, "material": null, "laborAndFees": null, "unallocated": 183000, "totalCost": 183000, "profit": 34163, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 183000, "known": { "sale": 217163, "material": 0, "laborAndFees": 0, "unallocated": 183000, "totalCost": 183000, "profit": 34163, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 183000 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金999", "amount": 180000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "unallocated" }, { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 2 · 纯银925", "amount": 3000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "unallocated" } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 4, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118003", "date": "2026-11-18", "created": "2026-11-18T02:01:19.000Z", "customer": "对照客户丙", "salesperson": "麦麦", "status": "delivered", "note": "老板改备注", "types": [ "配货" ], "mg": 0, "summaryMg": 0, "pieces": 1, "originalSale": 288500, "sale": 288500, "material": null, "laborAndFees": null, "unallocated": 150000, "totalCost": 151731, "profit": 136769, "ownerCost": 151731, "assistantCost": 0, "assistant2Cost": 0, "known": { "sale": 288500, "material": 0, "laborAndFees": 1731, "unallocated": 150000, "totalCost": 151731, "profit": 136769, "ownerCost": 151731, "assistantCost": 0, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 金镶玉吊坠", "amount": 150000, "payer": "owner", "excluded": false, "calculation": null, "component": "unallocated" }, { "kind": "paid", "name": "信用卡手续费(6‰)", "source": "2026-11-18", "amount": 1731, "payer": "owner", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "paid", "name": "信用卡手续费(6‰)", "source": "2026-11-18", "amount": 1731, "payer": "owner", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 5, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118004", "date": "2026-11-18", "created": "2026-11-18T02:01:20.000Z", "materialPoolIds": [ "2026-11-18" ], "materialCostPending": false, "customer": "对照客户丁", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "配货" ], "mg": 3000, "summaryMg": 3000, "pieces": 0, "originalSale": 330000, "sale": 330000, "material": 271935, "laborAndFees": 1000, "unallocated": 0, "totalCost": 272935, "profit": 57065, "ownerCost": 0, "assistantCost": 272935, "assistant2Cost": 0, "known": { "sale": 330000, "material": 271935, "laborAndFees": 1000, "unallocated": 0, "totalCost": 272935, "profit": 57065, "ownerCost": 0, "assistantCost": 272935, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 2026-11-18日购料", "amount": 271935, "payer": "assistant", "excluded": false, "materialPoolId": "2026-11-18", "materialPoolRevision": "2823f40ff78424f5423f0dbdf991ea5fcc83b0144648e9d2399869970c27af75", "calculation": { "rate": 90645, "quantity": 3000, "weighted": true } }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "补寄快递", "source": "2026-11-19", "amount": 1000, "payer": "assistant", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "补寄快递", "source": "2026-11-19", "amount": 1000, "payer": "assistant", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 6, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "owner", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118005", "date": "2026-11-18", "created": "2026-11-18T02:01:21.000Z", "customer": "对照草稿客户", "salesperson": "麦麦", "status": "delivered", "note": "", "types": [ "货盘·展柜A(主)" ], "mg": 10000, "summaryMg": 10000, "pieces": 0, "originalSale": 980000, "sale": 980000, "material": null, "laborAndFees": null, "unallocated": 900000, "totalCost": 900000, "profit": 80000, "ownerCost": 900000, "assistantCost": 0, "assistant2Cost": 0, "known": { "sale": 980000, "material": 0, "laborAndFees": 0, "unallocated": 900000, "totalCost": 900000, "profit": 80000, "ownerCost": 900000, "assistantCost": 0, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金手镯", "amount": 900000, "payer": "owner", "excluded": false, "calculation": null, "component": "unallocated" } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 5, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118008", "date": "2026-11-18", "created": "2026-11-18T02:01:26.000Z", "customer": "对照驳回客户", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 800, "summaryMg": 800, "pieces": 0, "originalSale": 82000, "sale": 82000, "material": null, "laborAndFees": null, "unallocated": 70000, "totalCost": 70000, "profit": 12000, "ownerCost": 0, "assistantCost": 70000, "assistant2Cost": 0, "known": { "sale": 82000, "material": 0, "laborAndFees": 0, "unallocated": 70000, "totalCost": 70000, "profit": 12000, "ownerCost": 0, "assistantCost": 70000, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金耳钉", "amount": 70000, "payer": "assistant", "excluded": false, "calculation": null, "component": "unallocated" } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 5, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "owner", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118009", "date": "2026-11-18", "created": "2026-11-18T02:01:27.000Z", "customer": "对照分步客户", "salesperson": "麦麦", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 4000, "summaryMg": 4000, "pieces": 0, "originalSale": 400000, "sale": 400000, "material": null, "laborAndFees": null, "unallocated": 350000, "totalCost": 351800, "profit": 48200, "ownerCost": 351800, "assistantCost": 0, "assistant2Cost": 0, "known": { "sale": 400000, "material": 0, "laborAndFees": 1800, "unallocated": 350000, "totalCost": 351800, "profit": 48200, "ownerCost": 351800, "assistantCost": 0, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金项链", "amount": 350000, "payer": "owner", "excluded": false, "calculation": null, "component": "unallocated" }, { "kind": "paid", "name": "信用卡手续费(6‰)", "source": "2026-11-18", "amount": 1800, "payer": "owner", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "paid", "name": "信用卡手续费(6‰)", "source": "2026-11-18", "amount": 1800, "payer": "owner", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 5, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119010", "date": "2026-11-19", "created": "2026-11-19T02:01:28.000Z", "price_lock_id": "", "customer": "对照锁价客户(改)", "salesperson": "娜娜", "status": "delivered", "note": "锁价备注;锁价单 SJ20261118-;按原锁定金价 900.00元/克结算", "types": [ "货盘现货" ], "mg": 3100, "summaryMg": 3100, "pieces": 0, "originalSale": 286200, "sale": 286200, "material": 264000, "laborAndFees": 3600, "unallocated": 0, "totalCost": 267600, "profit": 18600, "ownerCost": 255600, "assistantCost": 12000, "assistant2Cost": 0, "known": { "sale": 286200, "material": 264000, "laborAndFees": 3600, "unallocated": 0, "totalCost": 267600, "profit": 18600, "ownerCost": 255600, "assistantCost": 12000, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 原锁价采购", "amount": 255000, "payer": "owner", "excluded": false, "priceLockSource": "original", "calculation": { "rate": 85000, "quantity": 3000 } }, { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 补重采购", "amount": 9000, "payer": "assistant", "excluded": false, "priceLockSource": "extra", "calculation": { "rate": 90000, "quantity": 100 } }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "实际快递", "source": "2026-11-19", "amount": 600, "payer": "owner", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "实际快递", "source": "2026-11-19", "amount": 600, "payer": "owner", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 3, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119011", "date": "2026-11-19", "created": "2026-11-19T02:01:32.000Z", "recovery_id": "", "recovery_mode": "exchange", "nonCashOffset": 0, "cashPaid": 0, "netSettlement": 432792, "recovery_immutable_reason": "本单关联黄金回收/置换、购料及库存,暂不支持普通订单修改、取消、退款、退货或费用变更,请保留原关联记录", "customer": "对照换货客户", "salesperson": "小昊", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 12000, "summaryMg": 12000, "pieces": 0, "originalSale": 432792, "sale": 432792, "material": 360720, "laborAndFees": 6000, "unallocated": 0, "totalCost": 366720, "profit": 66072, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 366720, "known": { "sale": 432792, "material": 360720, "laborAndFees": 6000, "unallocated": 0, "totalCost": 366720, "profit": 66072, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 366720 }, "costItems": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金对照新货", "amount": 360720, "payer": "assistant2", "excluded": false, "calculation": { "rate": 90000, "quantity": 4008 }, "component": "material" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 6000, "payer": "assistant2", "excluded": false, "calculation": { "rate": 500, "quantity": 12000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 6000, "payer": "assistant2", "excluded": false, "calculation": { "rate": 500, "quantity": 12000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 4, "reviewed_revision": 0, "printStatus": { "kind": "recovery", "id": "", "printed": true, "revision": 1, "updated": "2026-11-19T02:01:40.000Z", "actor": "助理2" } }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119012", "date": "2026-11-19", "created": "2026-11-19T02:01:33.000Z", "recovery_id": "", "recovery_mode": "exchange", "nonCashOffset": 0, "cashPaid": 0, "netSettlement": 130800, "recovery_immutable_reason": "本单关联黄金回收/置换、购料及库存,暂不支持普通订单修改、取消、退款、退货或费用变更,请保留原关联记录", "customer": "对照换货客户二", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 6000, "summaryMg": 6000, "pieces": 0, "originalSale": 130800, "sale": 130800, "material": 103410, "laborAndFees": 3000, "unallocated": 0, "totalCost": 106410, "profit": 24390, "ownerCost": 0, "assistantCost": 106410, "assistant2Cost": 0, "known": { "sale": 130800, "material": 103410, "laborAndFees": 3000, "unallocated": 0, "totalCost": 106410, "profit": 24390, "ownerCost": 0, "assistantCost": 106410, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金对照新货", "amount": 103410, "payer": "assistant", "excluded": false, "calculation": { "rate": 90000, "quantity": 1149 }, "component": "material" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": { "rate": 500, "quantity": 6000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": { "rate": 500, "quantity": 6000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 4, "reviewed_revision": 0, "printStatus": { "kind": "recovery", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119013", "date": "2026-11-19", "created": "2026-11-19T02:01:48.000Z", "customer": "当天客户(改)", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 2000, "summaryMg": 2000, "pieces": 0, "originalSale": 210000, "sale": 210000, "material": null, "laborAndFees": null, "unallocated": 180000, "totalCost": 180800, "profit": 29200, "ownerCost": 0, "assistantCost": 180800, "assistant2Cost": 0, "known": { "sale": 210000, "material": 0, "laborAndFees": 800, "unallocated": 180000, "totalCost": 180800, "profit": 29200, "ownerCost": 0, "assistantCost": 180800, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金吊坠", "amount": 180000, "payer": "assistant", "excluded": false, "calculation": null, "component": "unallocated" }, { "kind": "paid", "name": "当天快递", "source": "2026-11-19", "amount": 800, "payer": "assistant", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "paid", "name": "当天快递", "source": "2026-11-19", "amount": 800, "payer": "assistant", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 7, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119015", "date": "2026-11-19", "created": "2026-11-19T02:02:40.000Z", "materialPoolIds": [ "2026-11-19" ], "materialCostPending": false, "customer": "滚动料池客户", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "配货" ], "mg": 2000, "summaryMg": 2000, "pieces": 0, "originalSale": 220000, "sale": 220000, "material": 181898, "laborAndFees": 0, "unallocated": 0, "totalCost": 181898, "profit": 38102, "ownerCost": 0, "assistantCost": 181898, "assistant2Cost": 0, "known": { "sale": 220000, "material": 181898, "laborAndFees": 0, "unallocated": 0, "totalCost": 181898, "profit": 38102, "ownerCost": 0, "assistantCost": 181898, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 2026-11-19日购料", "amount": 181898, "payer": "assistant", "excluded": false, "materialPoolId": "2026-11-19", "materialPoolRevision": "2e1d58e4d359165036a53976f4ed30c7052bb21df8bd2eb46c6544546a2e818b", "calculation": { "rate": 90949, "quantity": 2000, "weighted": true } }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 4, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119016", "date": "2026-11-19", "created": "2026-11-19T02:02:51.000Z", "customer": "安全测试", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 500, "summaryMg": 500, "pieces": 0, "originalSale": 50000, "sale": 50000, "material": null, "laborAndFees": null, "unallocated": 42000, "totalCost": 42000, "profit": 8000, "ownerCost": 0, "assistantCost": 42000, "assistant2Cost": 0, "known": { "sale": 50000, "material": 0, "laborAndFees": 0, "unallocated": 42000, "totalCost": 42000, "profit": 8000, "ownerCost": 0, "assistantCost": 42000, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金转运珠", "amount": 42000, "payer": "assistant", "excluded": false, "calculation": null, "component": "unallocated" } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 4, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } } ], "recoveryCount": 0, "summary": { "orderCount": 13, "completedCount": 13, "draftCount": 0, "confirmedCount": 0, "returnedCount": 0, "cancelledCount": 0, "incompleteCount": 0, "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "unknownCostCount": 0, "unknownProfitCount": 0, "legacyUnallocatedCount": 7, "sale": 3948555, "material": 1467963, "laborAndFees": 23331, "unallocated": 1875000, "totalCost": 3366294, "profit": 582261, "ownerCost": 1945131, "assistantCost": 871443, "assistant2Cost": 549720, "mg": 48650, "pieces": 4, "knownCounts": { "sale": 13, "material": 6, "laborAndFees": 6, "unallocated": 13, "totalCost": 13, "profit": 13, "ownerCost": 13, "assistantCost": 13, "assistant2Cost": 13 }, "unknownCounts": { "sale": 0, "material": 7, "laborAndFees": 7, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0 }, "partial": true, "afterSaleCount": 0, "recordCount": 13 }, "peopleCount": { "from": "2026-11-18", "date": "2026-11-19", "baselineDate": "2026-11-17", "mode": "daily-total", "assistant1": { "total": 7, "endTotal": 7, "baselineTotal": null, "baselineDate": null, "netChange": null, "netChangeReason": "missing-previous", "recordedDays": 2 }, "assistant2": { "total": 4, "endTotal": 4, "baselineTotal": null, "baselineDate": null, "netChange": null, "netChangeReason": "missing-previous", "recordedDays": 2 } }, "priceLockActivity": { "basis": "eventDate", "from": "2026-11-18", "date": "2026-11-19", "customerCash": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 270000, "account": "助理微信", "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:53.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null }, { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 50000, "account": "助理2微信", "number": "SJ20261118-", "customer": "对照锁价客户三", "product": "足金999", "actor": "助理2", "created": "2026-11-18T02:01:55.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null }, { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 120000, "account": "助理支付宝", "number": "SJ20261118-", "customer": "对照锁价客户二", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:02:02.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null }, { "id": "", "price_lock_id": "", "date": "2026-11-19", "kind": "receipt", "amount": 16200, "account": "助理支付宝", "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-19T02:01:28.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null } ], "orderPayments": [], "materialOutlays": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "material", "amount": 255000, "payer": "owner", "source": "original", "quantity": 3000, "rate": 85000, "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:53.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "component": "material" }, { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "material", "amount": 255000, "payer": "owner", "source": "original", "quantity": 3000, "rate": 85000, "number": "SJ20261118-", "customer": "对照锁价客户二", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:54.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "component": "material" }, { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "material", "amount": 258000, "payer": "assistant2", "source": "original", "quantity": 3000, "rate": 86000, "number": "SJ20261118-", "customer": "对照锁价客户三", "product": "足金999", "actor": "助理2", "created": "2026-11-18T02:01:55.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "component": "material" }, { "id": "", "price_lock_id": "", "date": "2026-11-19", "kind": "material", "amount": 9000, "payer": "assistant", "source": "extra", "quantity": 100, "rate": 90000, "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-19T02:01:28.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "component": "material" } ], "directOutlays": [ { "id": "", "order_id": "", "date": "2026-11-19", "amount": 600, "payer": "owner", "note": "实际快递", "actor": "助理", "created": "2026-11-19T02:01:28.000Z", "price_lock_id": "", "number": "SJ20261118-", "customer": "对照锁价客户(改)", "kind": "fee", "component": "fee", "product": "足金999" } ], "deliveryGoodsOutlays": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": null, "id": "price-lock-goods::0", "price_lock_id": "", "order_id": "", "number": "MM20261119-", "paper_number": "20261119010", "customer": "对照锁价客户(改)", "date": "2026-11-19", "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "id": "price-lock-goods::1", "price_lock_id": "", "order_id": "", "number": "MM20261119-", "paper_number": "20261119010", "customer": "对照锁价客户(改)", "date": "2026-11-19", "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "id": "price-lock-goods::2", "price_lock_id": "", "order_id": "", "number": "MM20261119-", "paper_number": "20261119010", "customer": "对照锁价客户(改)", "date": "2026-11-19", "component": "other" } ], "receipts": { "receipt": 456200, "refund": 0, "net": 456200, "channels": [ { "channel": "wechat", "name": "微信", "receipt": 320000, "refund": 0, "net": 320000 }, { "channel": "alipay", "name": "支付宝", "receipt": 136200, "refund": 0, "net": 136200 }, { "channel": "cash", "name": "现金", "receipt": 0, "refund": 0, "net": 0 } ], "accounts": [ { "account": "助理微信", "receipt": 270000, "refund": 0, "net": 270000 }, { "account": "助理支付宝", "receipt": 136200, "refund": 0, "net": 136200 }, { "account": "助理现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2微信", "receipt": 50000, "refund": 0, "net": 50000 }, { "account": "助理2支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2现金", "receipt": 0, "refund": 0, "net": 0 } ], "paymentCount": 4, "orderCount": 3 }, "payerOutlays": { "owner": { "payer": "owner", "material": 510000, "goods": 510000, "paidFees": 600, "total": 510600 }, "assistant": { "payer": "assistant", "material": 9000, "goods": 12000, "paidFees": 0, "total": 12000 }, "assistant2": { "payer": "assistant2", "material": 258000, "goods": 258000, "paidFees": 0, "total": 258000 } }, "summary": { "receipt": 456200, "refund": 0, "net": 456200, "materialOutlay": 777000, "goodsOutlay": 780000, "feeOutlay": 600, "ownerOutlay": 510600, "assistantOutlay": 12000, "assistant2Outlay": 258000, "totalOutlay": 780600, "eventCount": 12, "lockCount": 3 } }, "materialPoolActivity": { "basis": "purchaseDate", "from": "2026-11-18", "date": "2026-11-19", "purchases": [ { "id": "", "pool_id": "2026-11-18", "date": "2026-11-18", "mg": 11000, "amount": 990000, "payer": "assistant", "note": "核对凭据", "actor": "助理", "created": "2026-11-18T02:01:09.000Z", "revision": 2, "deleted_at": "", "updated": "2026-11-19T02:02:27.000Z" }, { "id": "", "pool_id": "2026-11-18", "date": "2026-11-18", "mg": 20000, "amount": 1820000, "payer": "owner", "note": "麦麦购料", "actor": "麦麦", "created": "2026-11-18T02:01:10.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-18T02:01:10.000Z" }, { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 5000, "amount": 460000, "payer": "assistant", "note": "第二天购料", "actor": "助理", "created": "2026-11-19T02:02:19.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:19.000Z" }, { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 4000, "amount": 370000, "payer": "assistant2", "note": "", "actor": "助理2", "created": "2026-11-19T02:02:20.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:20.000Z" } ], "payerOutlays": { "owner": { "payer": "owner", "material": 1820000, "goods": 1820000, "paidFees": 0, "total": 1820000, "purchaseCount": 1 }, "assistant": { "payer": "assistant", "material": 1450000, "goods": 1450000, "paidFees": 0, "total": 1450000, "purchaseCount": 2 }, "assistant2": { "payer": "assistant2", "material": 370000, "goods": 370000, "paidFees": 0, "total": 370000, "purchaseCount": 1 } }, "summary": { "purchaseCount": 4, "poolCount": 2, "mg": 40000, "materialOutlay": 3640000, "purchaseValue": 3640000, "ownerOutlay": 1820000, "assistantOutlay": 1450000, "assistant2Outlay": 370000, "totalOutlay": 3640000, "eventCount": 4 } }, "summaryWithoutCancelled": { "orderCount": 13, "completedCount": 13, "draftCount": 0, "confirmedCount": 0, "returnedCount": 0, "cancelledCount": 0, "incompleteCount": 0, "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "unknownCostCount": 0, "unknownProfitCount": 0, "legacyUnallocatedCount": 7, "sale": 3948555, "material": 1467963, "laborAndFees": 23331, "unallocated": 1875000, "totalCost": 3366294, "profit": 582261, "ownerCost": 1945131, "assistantCost": 871443, "assistant2Cost": 549720, "mg": 48650, "pieces": 4, "knownCounts": { "sale": 13, "material": 6, "laborAndFees": 6, "unallocated": 13, "totalCost": 13, "profit": 13, "ownerCost": 13, "assistantCost": 13, "assistant2Cost": 13 }, "unknownCounts": { "sale": 0, "material": 7, "laborAndFees": 7, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0 }, "partial": true, "afterSaleCount": 0, "recordCount": 13 }, "receiptsWithoutCancelled": { "basis": "orderDate", "filterScope": "matchingOrdersWithoutCancelled", "from": "2026-11-18", "date": "2026-11-19", "receipt": 3948555, "refund": 0, "net": 3948555, "channels": [ { "channel": "wechat", "name": "微信", "receipt": 1634692, "refund": 0, "net": 1634692 }, { "channel": "alipay", "name": "支付宝", "receipt": 415363, "refund": 0, "net": 415363 }, { "channel": "cash", "name": "现金", "receipt": 1310000, "refund": 0, "net": 1310000 }, { "channel": "credit_card", "name": "信用卡", "receipt": 588500, "refund": 0, "net": 588500 } ], "accounts": [ { "account": "助理微信", "receipt": 1201900, "refund": 0, "net": 1201900 }, { "account": "助理支付宝", "receipt": 98200, "refund": 0, "net": 98200 }, { "account": "助理现金", "receipt": 330000, "refund": 0, "net": 330000 }, { "account": "麦麦微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦支付宝", "receipt": 100000, "refund": 0, "net": 100000 }, { "account": "麦麦现金", "receipt": 980000, "refund": 0, "net": 980000 }, { "account": "麦麦信用卡", "receipt": 588500, "refund": 0, "net": 588500 }, { "account": "助理2微信", "receipt": 432792, "refund": 0, "net": 432792 }, { "account": "助理2支付宝", "receipt": 217163, "refund": 0, "net": 217163 }, { "account": "助理2现金", "receipt": 0, "refund": 0, "net": 0 } ], "paymentCount": 15, "orderCount": 13 }, "receiptsByPaymentDate": { "basis": "paymentDate", "filterScope": "dateRange", "from": "2026-11-18", "date": "2026-11-19", "receipt": 4618555, "refund": 90000, "net": 4528555, "channels": [ { "channel": "wechat", "name": "微信", "receipt": 2184692, "refund": 0, "net": 2184692 }, { "channel": "alipay", "name": "支付宝", "receipt": 535363, "refund": 90000, "net": 445363 }, { "channel": "cash", "name": "现金", "receipt": 1310000, "refund": 0, "net": 1310000 }, { "channel": "credit_card", "name": "信用卡", "receipt": 588500, "refund": 0, "net": 588500 } ], "accounts": [ { "account": "助理微信", "receipt": 1201900, "refund": 0, "net": 1201900 }, { "account": "助理支付宝", "receipt": 218200, "refund": 0, "net": 218200 }, { "account": "助理现金", "receipt": 330000, "refund": 0, "net": 330000 }, { "account": "麦麦微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦支付宝", "receipt": 100000, "refund": 0, "net": 100000 }, { "account": "麦麦现金", "receipt": 980000, "refund": 0, "net": 980000 }, { "account": "麦麦信用卡", "receipt": 588500, "refund": 0, "net": 588500 }, { "account": "助理2微信", "receipt": 982792, "refund": 0, "net": 982792 }, { "account": "助理2支付宝", "receipt": 217163, "refund": 90000, "net": 127163 }, { "account": "助理2现金", "receipt": 0, "refund": 0, "net": 0 } ], "paymentCount": 23, "orderCount": 18 }, "receiptsByOrderDate": { "basis": "orderDate", "filterScope": "matchingOrders", "from": "2026-11-18", "date": "2026-11-19", "receipt": 3948555, "refund": 0, "net": 3948555, "channels": [ { "channel": "wechat", "name": "微信", "receipt": 1634692, "refund": 0, "net": 1634692 }, { "channel": "alipay", "name": "支付宝", "receipt": 415363, "refund": 0, "net": 415363 }, { "channel": "cash", "name": "现金", "receipt": 1310000, "refund": 0, "net": 1310000 }, { "channel": "credit_card", "name": "信用卡", "receipt": 588500, "refund": 0, "net": 588500 } ], "accounts": [ { "account": "助理微信", "receipt": 1201900, "refund": 0, "net": 1201900 }, { "account": "助理支付宝", "receipt": 98200, "refund": 0, "net": 98200 }, { "account": "助理现金", "receipt": 330000, "refund": 0, "net": 330000 }, { "account": "麦麦微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦支付宝", "receipt": 100000, "refund": 0, "net": 100000 }, { "account": "麦麦现金", "receipt": 980000, "refund": 0, "net": 980000 }, { "account": "麦麦信用卡", "receipt": 588500, "refund": 0, "net": 588500 }, { "account": "助理2微信", "receipt": 432792, "refund": 0, "net": 432792 }, { "account": "助理2支付宝", "receipt": 217163, "refund": 0, "net": 217163 }, { "account": "助理2现金", "receipt": 0, "refund": 0, "net": 0 } ], "paymentCount": 15, "orderCount": 13 } } }, { "seq": 469, "label": "order-book-filter status=cancelled", "date": "2026-11-19", "actor": "owner", "method": "GET", "path": "/api/order-book?from=2026-11-18&date=2026-11-19&status=cancelled", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "from": "2026-11-18", "date": "2026-11-19", "today": "2026-11-19", "q": "", "status": "cancelled", "pocket": "", "rows": [ { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118006", "date": "2026-11-18", "created": "2026-11-18T02:01:24.000Z", "cancellationApproved": { "id": "", "status": "approved", "order_revision": 4, "reason": "重复录入", "requester_name": "助理2", "created": "2026-11-19T02:00:41.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:00:45.000Z", "note": "核对原单后确认" }, "customer": "对照取消客户", "salesperson": "小昊", "status": "cancelled", "note": "", "types": [ "货盘现货" ], "mg": 1500, "summaryMg": 1500, "pieces": 0, "originalSale": 150000, "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0, "known": { "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0 }, "costItems": [], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "录错作废已获麦麦批准,本单销售、成本与收款记账已撤销,原单和审批记录保留", "balance": 0, "revision": 5, "reviewed_revision": 0 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119014", "date": "2026-11-19", "created": "2026-11-19T02:01:57.000Z", "cancellationApproved": { "id": "", "status": "approved", "order_revision": 4, "reason": "当天录错", "requester_name": "助理", "created": "2026-11-19T02:01:59.000Z", "reviewer_name": null, "reviewed": null, "note": "", "direct": true, "operator_name": "助理", "executedAt": "2026-11-19T02:01:59.000Z" }, "customer": "当天取消客户", "salesperson": "娜娜", "status": "cancelled", "note": "", "types": [ "货盘现货" ], "mg": 2000, "summaryMg": 2000, "pieces": 0, "originalSale": 210000, "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0, "known": { "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0 }, "costItems": [], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "录错作废已获麦麦批准,本单销售、成本与收款记账已撤销,原单和审批记录保留", "balance": 0, "revision": 5, "reviewed_revision": 0 } ], "displayRows": [ { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118006", "date": "2026-11-18", "created": "2026-11-18T02:01:24.000Z", "cancellationApproved": { "id": "", "status": "approved", "order_revision": 4, "reason": "重复录入", "requester_name": "助理2", "created": "2026-11-19T02:00:41.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:00:45.000Z", "note": "核对原单后确认" }, "customer": "对照取消客户", "salesperson": "小昊", "status": "cancelled", "note": "", "types": [ "货盘现货" ], "mg": 1500, "summaryMg": 1500, "pieces": 0, "originalSale": 150000, "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0, "known": { "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0 }, "costItems": [], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "录错作废已获麦麦批准,本单销售、成本与收款记账已撤销,原单和审批记录保留", "balance": 0, "revision": 5, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119014", "date": "2026-11-19", "created": "2026-11-19T02:01:57.000Z", "cancellationApproved": { "id": "", "status": "approved", "order_revision": 4, "reason": "当天录错", "requester_name": "助理", "created": "2026-11-19T02:01:59.000Z", "reviewer_name": null, "reviewed": null, "note": "", "direct": true, "operator_name": "助理", "executedAt": "2026-11-19T02:01:59.000Z" }, "customer": "当天取消客户", "salesperson": "娜娜", "status": "cancelled", "note": "", "types": [ "货盘现货" ], "mg": 2000, "summaryMg": 2000, "pieces": 0, "originalSale": 210000, "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0, "known": { "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0 }, "costItems": [], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "录错作废已获麦麦批准,本单销售、成本与收款记账已撤销,原单和审批记录保留", "balance": 0, "revision": 5, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } } ], "recoveryCount": 0, "summary": { "orderCount": 2, "completedCount": 0, "draftCount": 0, "confirmedCount": 0, "returnedCount": 0, "cancelledCount": 2, "incompleteCount": 0, "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "unknownCostCount": 0, "unknownProfitCount": 0, "legacyUnallocatedCount": 0, "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0, "mg": 3500, "pieces": 0, "knownCounts": { "sale": 2, "material": 2, "laborAndFees": 2, "unallocated": 2, "totalCost": 2, "profit": 2, "ownerCost": 2, "assistantCost": 2, "assistant2Cost": 2 }, "unknownCounts": { "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0 }, "partial": false, "afterSaleCount": 0, "recordCount": 2 }, "peopleCount": { "from": "2026-11-18", "date": "2026-11-19", "baselineDate": "2026-11-17", "mode": "daily-total", "assistant1": { "total": 7, "endTotal": 7, "baselineTotal": null, "baselineDate": null, "netChange": null, "netChangeReason": "missing-previous", "recordedDays": 2 }, "assistant2": { "total": 4, "endTotal": 4, "baselineTotal": null, "baselineDate": null, "netChange": null, "netChangeReason": "missing-previous", "recordedDays": 2 } }, "priceLockActivity": { "basis": "eventDate", "from": "2026-11-18", "date": "2026-11-19", "customerCash": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 270000, "account": "助理微信", "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:53.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null }, { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 50000, "account": "助理2微信", "number": "SJ20261118-", "customer": "对照锁价客户三", "product": "足金999", "actor": "助理2", "created": "2026-11-18T02:01:55.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null }, { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 120000, "account": "助理支付宝", "number": "SJ20261118-", "customer": "对照锁价客户二", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:02:02.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null }, { "id": "", "price_lock_id": "", "date": "2026-11-19", "kind": "receipt", "amount": 16200, "account": "助理支付宝", "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-19T02:01:28.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null } ], "orderPayments": [], "materialOutlays": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "material", "amount": 255000, "payer": "owner", "source": "original", "quantity": 3000, "rate": 85000, "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:53.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "component": "material" }, { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "material", "amount": 255000, "payer": "owner", "source": "original", "quantity": 3000, "rate": 85000, "number": "SJ20261118-", "customer": "对照锁价客户二", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:54.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "component": "material" }, { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "material", "amount": 258000, "payer": "assistant2", "source": "original", "quantity": 3000, "rate": 86000, "number": "SJ20261118-", "customer": "对照锁价客户三", "product": "足金999", "actor": "助理2", "created": "2026-11-18T02:01:55.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "component": "material" }, { "id": "", "price_lock_id": "", "date": "2026-11-19", "kind": "material", "amount": 9000, "payer": "assistant", "source": "extra", "quantity": 100, "rate": 90000, "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-19T02:01:28.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "component": "material" } ], "directOutlays": [ { "id": "", "order_id": "", "date": "2026-11-19", "amount": 600, "payer": "owner", "note": "实际快递", "actor": "助理", "created": "2026-11-19T02:01:28.000Z", "price_lock_id": "", "number": "SJ20261118-", "customer": "对照锁价客户(改)", "kind": "fee", "component": "fee", "product": "足金999" } ], "deliveryGoodsOutlays": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": null, "id": "price-lock-goods::0", "price_lock_id": "", "order_id": "", "number": "MM20261119-", "paper_number": "20261119010", "customer": "对照锁价客户(改)", "date": "2026-11-19", "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "id": "price-lock-goods::1", "price_lock_id": "", "order_id": "", "number": "MM20261119-", "paper_number": "20261119010", "customer": "对照锁价客户(改)", "date": "2026-11-19", "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "id": "price-lock-goods::2", "price_lock_id": "", "order_id": "", "number": "MM20261119-", "paper_number": "20261119010", "customer": "对照锁价客户(改)", "date": "2026-11-19", "component": "other" } ], "receipts": { "receipt": 456200, "refund": 0, "net": 456200, "channels": [ { "channel": "wechat", "name": "微信", "receipt": 320000, "refund": 0, "net": 320000 }, { "channel": "alipay", "name": "支付宝", "receipt": 136200, "refund": 0, "net": 136200 }, { "channel": "cash", "name": "现金", "receipt": 0, "refund": 0, "net": 0 } ], "accounts": [ { "account": "助理微信", "receipt": 270000, "refund": 0, "net": 270000 }, { "account": "助理支付宝", "receipt": 136200, "refund": 0, "net": 136200 }, { "account": "助理现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2微信", "receipt": 50000, "refund": 0, "net": 50000 }, { "account": "助理2支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2现金", "receipt": 0, "refund": 0, "net": 0 } ], "paymentCount": 4, "orderCount": 3 }, "payerOutlays": { "owner": { "payer": "owner", "material": 510000, "goods": 510000, "paidFees": 600, "total": 510600 }, "assistant": { "payer": "assistant", "material": 9000, "goods": 12000, "paidFees": 0, "total": 12000 }, "assistant2": { "payer": "assistant2", "material": 258000, "goods": 258000, "paidFees": 0, "total": 258000 } }, "summary": { "receipt": 456200, "refund": 0, "net": 456200, "materialOutlay": 777000, "goodsOutlay": 780000, "feeOutlay": 600, "ownerOutlay": 510600, "assistantOutlay": 12000, "assistant2Outlay": 258000, "totalOutlay": 780600, "eventCount": 12, "lockCount": 3 } }, "materialPoolActivity": { "basis": "purchaseDate", "from": "2026-11-18", "date": "2026-11-19", "purchases": [ { "id": "", "pool_id": "2026-11-18", "date": "2026-11-18", "mg": 11000, "amount": 990000, "payer": "assistant", "note": "核对凭据", "actor": "助理", "created": "2026-11-18T02:01:09.000Z", "revision": 2, "deleted_at": "", "updated": "2026-11-19T02:02:27.000Z" }, { "id": "", "pool_id": "2026-11-18", "date": "2026-11-18", "mg": 20000, "amount": 1820000, "payer": "owner", "note": "麦麦购料", "actor": "麦麦", "created": "2026-11-18T02:01:10.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-18T02:01:10.000Z" }, { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 5000, "amount": 460000, "payer": "assistant", "note": "第二天购料", "actor": "助理", "created": "2026-11-19T02:02:19.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:19.000Z" }, { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 4000, "amount": 370000, "payer": "assistant2", "note": "", "actor": "助理2", "created": "2026-11-19T02:02:20.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:20.000Z" } ], "payerOutlays": { "owner": { "payer": "owner", "material": 1820000, "goods": 1820000, "paidFees": 0, "total": 1820000, "purchaseCount": 1 }, "assistant": { "payer": "assistant", "material": 1450000, "goods": 1450000, "paidFees": 0, "total": 1450000, "purchaseCount": 2 }, "assistant2": { "payer": "assistant2", "material": 370000, "goods": 370000, "paidFees": 0, "total": 370000, "purchaseCount": 1 } }, "summary": { "purchaseCount": 4, "poolCount": 2, "mg": 40000, "materialOutlay": 3640000, "purchaseValue": 3640000, "ownerOutlay": 1820000, "assistantOutlay": 1450000, "assistant2Outlay": 370000, "totalOutlay": 3640000, "eventCount": 4 } }, "summaryWithoutCancelled": { "orderCount": 0, "completedCount": 0, "draftCount": 0, "confirmedCount": 0, "returnedCount": 0, "cancelledCount": 0, "incompleteCount": 0, "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "unknownCostCount": 0, "unknownProfitCount": 0, "legacyUnallocatedCount": 0, "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "mg": 0, "pieces": 0, "knownCounts": { "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0 }, "unknownCounts": { "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0 }, "partial": false, "afterSaleCount": 0, "recordCount": 0 }, "receiptsWithoutCancelled": { "basis": "orderDate", "filterScope": "matchingOrdersWithoutCancelled", "from": "2026-11-18", "date": "2026-11-19", "receipt": 0, "refund": 0, "net": 0, "channels": [ { "channel": "wechat", "name": "微信", "receipt": 0, "refund": 0, "net": 0 }, { "channel": "alipay", "name": "支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "channel": "cash", "name": "现金", "receipt": 0, "refund": 0, "net": 0 } ], "accounts": [ { "account": "助理微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2现金", "receipt": 0, "refund": 0, "net": 0 } ], "paymentCount": 0, "orderCount": 0 }, "receiptsByPaymentDate": { "basis": "paymentDate", "filterScope": "dateRange", "from": "2026-11-18", "date": "2026-11-19", "receipt": 4618555, "refund": 90000, "net": 4528555, "channels": [ { "channel": "wechat", "name": "微信", "receipt": 2184692, "refund": 0, "net": 2184692 }, { "channel": "alipay", "name": "支付宝", "receipt": 535363, "refund": 90000, "net": 445363 }, { "channel": "cash", "name": "现金", "receipt": 1310000, "refund": 0, "net": 1310000 }, { "channel": "credit_card", "name": "信用卡", "receipt": 588500, "refund": 0, "net": 588500 } ], "accounts": [ { "account": "助理微信", "receipt": 1201900, "refund": 0, "net": 1201900 }, { "account": "助理支付宝", "receipt": 218200, "refund": 0, "net": 218200 }, { "account": "助理现金", "receipt": 330000, "refund": 0, "net": 330000 }, { "account": "麦麦微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦支付宝", "receipt": 100000, "refund": 0, "net": 100000 }, { "account": "麦麦现金", "receipt": 980000, "refund": 0, "net": 980000 }, { "account": "麦麦信用卡", "receipt": 588500, "refund": 0, "net": 588500 }, { "account": "助理2微信", "receipt": 982792, "refund": 0, "net": 982792 }, { "account": "助理2支付宝", "receipt": 217163, "refund": 90000, "net": 127163 }, { "account": "助理2现金", "receipt": 0, "refund": 0, "net": 0 } ], "paymentCount": 23, "orderCount": 18 }, "receiptsByOrderDate": { "basis": "orderDate", "filterScope": "matchingOrders", "from": "2026-11-18", "date": "2026-11-19", "receipt": 0, "refund": 0, "net": 0, "channels": [ { "channel": "wechat", "name": "微信", "receipt": 0, "refund": 0, "net": 0 }, { "channel": "alipay", "name": "支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "channel": "cash", "name": "现金", "receipt": 0, "refund": 0, "net": 0 } ], "accounts": [ { "account": "助理微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2现金", "receipt": 0, "refund": 0, "net": 0 } ], "paymentCount": 4, "orderCount": 2 } } }, { "seq": 470, "label": "order-book-filter q=对照", "date": "2026-11-19", "actor": "owner", "method": "GET", "path": "/api/order-book?from=2026-11-18&date=2026-11-19&q=对照", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "from": "2026-11-18", "date": "2026-11-19", "today": "2026-11-19", "q": "对照", "status": "all", "pocket": "", "rows": [ { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118001", "date": "2026-11-18", "created": "2026-11-18T02:01:17.000Z", "customer": "对照客户甲(改)", "salesperson": "娜娜", "status": "delivered", "note": "客户单备注", "types": [ "货盘现货" ], "mg": 3250, "summaryMg": 3250, "pieces": 0, "originalSale": 321100, "sale": 321100, "material": 286000, "laborAndFees": 5400, "unallocated": 0, "totalCost": 291400, "profit": 29700, "ownerCost": 286000, "assistantCost": 5400, "assistant2Cost": 0, "known": { "sale": 321100, "material": 286000, "laborAndFees": 5400, "unallocated": 0, "totalCost": 291400, "profit": 29700, "ownerCost": 286000, "assistantCost": 5400, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金999", "amount": 286000, "payer": "owner", "excluded": false, "calculation": { "rate": 88000, "quantity": 3250 }, "component": "material" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 4000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 200, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "快递", "source": "2026-11-18", "amount": 1200, "payer": "assistant", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 4000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 200, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "快递", "source": "2026-11-18", "amount": 1200, "payer": "assistant", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 5, "reviewed_revision": 0 }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118002", "date": "2026-11-18", "created": "2026-11-18T02:01:18.000Z", "customer": "对照客户乙", "salesperson": "小昊", "status": "delivered", "note": "", "types": [ "货盘现货", "配货 · 银饰" ], "mg": 2000, "summaryMg": 2000, "pieces": 3, "originalSale": 217163, "sale": 217163, "material": null, "laborAndFees": null, "unallocated": 183000, "totalCost": 183000, "profit": 34163, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 183000, "known": { "sale": 217163, "material": 0, "laborAndFees": 0, "unallocated": 183000, "totalCost": 183000, "profit": 34163, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 183000 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金999", "amount": 180000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "unallocated" }, { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 2 · 纯银925", "amount": 3000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "unallocated" } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 4, "reviewed_revision": 0 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118003", "date": "2026-11-18", "created": "2026-11-18T02:01:19.000Z", "customer": "对照客户丙", "salesperson": "麦麦", "status": "delivered", "note": "老板改备注", "types": [ "配货" ], "mg": 0, "summaryMg": 0, "pieces": 1, "originalSale": 288500, "sale": 288500, "material": null, "laborAndFees": null, "unallocated": 150000, "totalCost": 151731, "profit": 136769, "ownerCost": 151731, "assistantCost": 0, "assistant2Cost": 0, "known": { "sale": 288500, "material": 0, "laborAndFees": 1731, "unallocated": 150000, "totalCost": 151731, "profit": 136769, "ownerCost": 151731, "assistantCost": 0, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 金镶玉吊坠", "amount": 150000, "payer": "owner", "excluded": false, "calculation": null, "component": "unallocated" }, { "kind": "paid", "name": "信用卡手续费(6‰)", "source": "2026-11-18", "amount": 1731, "payer": "owner", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "paid", "name": "信用卡手续费(6‰)", "source": "2026-11-18", "amount": 1731, "payer": "owner", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 5, "reviewed_revision": 0 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118004", "date": "2026-11-18", "created": "2026-11-18T02:01:20.000Z", "materialPoolIds": [ "2026-11-18" ], "materialCostPending": false, "customer": "对照客户丁", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "配货" ], "mg": 3000, "summaryMg": 3000, "pieces": 0, "originalSale": 330000, "sale": 330000, "material": 271935, "laborAndFees": 1000, "unallocated": 0, "totalCost": 272935, "profit": 57065, "ownerCost": 0, "assistantCost": 272935, "assistant2Cost": 0, "known": { "sale": 330000, "material": 271935, "laborAndFees": 1000, "unallocated": 0, "totalCost": 272935, "profit": 57065, "ownerCost": 0, "assistantCost": 272935, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 2026-11-18日购料", "amount": 271935, "payer": "assistant", "excluded": false, "materialPoolId": "2026-11-18", "materialPoolRevision": "2823f40ff78424f5423f0dbdf991ea5fcc83b0144648e9d2399869970c27af75", "calculation": { "rate": 90645, "quantity": 3000, "weighted": true } }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "补寄快递", "source": "2026-11-19", "amount": 1000, "payer": "assistant", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "补寄快递", "source": "2026-11-19", "amount": 1000, "payer": "assistant", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 6, "reviewed_revision": 0 }, { "id": "", "member": "owner", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118005", "date": "2026-11-18", "created": "2026-11-18T02:01:21.000Z", "customer": "对照草稿客户", "salesperson": "麦麦", "status": "delivered", "note": "", "types": [ "货盘·展柜A(主)" ], "mg": 10000, "summaryMg": 10000, "pieces": 0, "originalSale": 980000, "sale": 980000, "material": null, "laborAndFees": null, "unallocated": 900000, "totalCost": 900000, "profit": 80000, "ownerCost": 900000, "assistantCost": 0, "assistant2Cost": 0, "known": { "sale": 980000, "material": 0, "laborAndFees": 0, "unallocated": 900000, "totalCost": 900000, "profit": 80000, "ownerCost": 900000, "assistantCost": 0, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金手镯", "amount": 900000, "payer": "owner", "excluded": false, "calculation": null, "component": "unallocated" } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 5, "reviewed_revision": 0 }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118006", "date": "2026-11-18", "created": "2026-11-18T02:01:24.000Z", "cancellationApproved": { "id": "", "status": "approved", "order_revision": 4, "reason": "重复录入", "requester_name": "助理2", "created": "2026-11-19T02:00:41.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:00:45.000Z", "note": "核对原单后确认" }, "customer": "对照取消客户", "salesperson": "小昊", "status": "cancelled", "note": "", "types": [ "货盘现货" ], "mg": 1500, "summaryMg": 1500, "pieces": 0, "originalSale": 150000, "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0, "known": { "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0 }, "costItems": [], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "录错作废已获麦麦批准,本单销售、成本与收款记账已撤销,原单和审批记录保留", "balance": 0, "revision": 5, "reviewed_revision": 0 }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118007", "date": "2026-11-18", "created": "2026-11-18T02:01:25.000Z", "customer": "对照售后订单客户", "salesperson": "小昊", "status": "delivered", "note": "", "orderAfterSale": { "orderId": "", "date": "2026-11-19", "reason": "客户退回一件", "deductionReason": "客户确认扣费", "refund": { "amount": 90000, "account": "助理2支付宝", "payer": "assistant2", "reference": "" }, "expenses": [], "original": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": { "id": "", "status": "approved", "action": "return", "action_label": "订单售后", "order_revision": 4, "reason": "客户退回一件", "requester_name": "助理2", "created": "2026-11-19T02:01:03.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:01:05.000Z", "note": "实物已收回" }, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 0, "netReceived": 500000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 50000, "knownProfit": 50000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "funds_mode": "team", "credit_card_rate_permille": 6 }, "originalJournal": { "sales": 500000, "goods": 450000, "expense": 0, "profit": 50000 }, "summary": { "refundAmount": 90000, "retainedAmount": 410000, "materialReturnedCost": 88000, "laborRestockedCost": 0, "materialLoss": 352000, "costLoss": 362000, "originalDirectCost": 0, "newExpenses": 0, "directCost": 0, "profit": 48000, "finalProfit": 48000, "profitAdjustment": -2000, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ] }, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ], "originalOrder": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": { "id": "", "status": "approved", "action": "return", "action_label": "订单售后", "order_revision": 4, "reason": "客户退回一件", "requester_name": "助理2", "created": "2026-11-19T02:01:03.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:01:05.000Z", "note": "实物已收回" }, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 0, "netReceived": 500000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 50000, "knownProfit": 50000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "funds_mode": "team", "credit_card_rate_permille": 6 } }, "current_status": "returned", "types": [ "货盘现货" ], "mg": 5000, "summaryMg": 5000, "pieces": 0, "originalSale": 500000, "sale": 500000, "material": 440000, "laborAndFees": 10000, "unallocated": 0, "totalCost": 450000, "profit": 50000, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 450000, "known": { "sale": 500000, "material": 440000, "laborAndFees": 10000, "unallocated": 0, "totalCost": 450000, "profit": 50000, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 450000 }, "costItems": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金手链", "amount": 440000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "material" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金手链", "amount": 10000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金手链", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金手链", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金手链", "amount": 10000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金手链", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金手链", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 4, "reviewed_revision": 0 }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118008", "date": "2026-11-18", "created": "2026-11-18T02:01:26.000Z", "customer": "对照驳回客户", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 800, "summaryMg": 800, "pieces": 0, "originalSale": 82000, "sale": 82000, "material": null, "laborAndFees": null, "unallocated": 70000, "totalCost": 70000, "profit": 12000, "ownerCost": 0, "assistantCost": 70000, "assistant2Cost": 0, "known": { "sale": 82000, "material": 0, "laborAndFees": 0, "unallocated": 70000, "totalCost": 70000, "profit": 12000, "ownerCost": 0, "assistantCost": 70000, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金耳钉", "amount": 70000, "payer": "assistant", "excluded": false, "calculation": null, "component": "unallocated" } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 5, "reviewed_revision": 0 }, { "id": "", "member": "owner", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118009", "date": "2026-11-18", "created": "2026-11-18T02:01:27.000Z", "customer": "对照分步客户", "salesperson": "麦麦", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 4000, "summaryMg": 4000, "pieces": 0, "originalSale": 400000, "sale": 400000, "material": null, "laborAndFees": null, "unallocated": 350000, "totalCost": 351800, "profit": 48200, "ownerCost": 351800, "assistantCost": 0, "assistant2Cost": 0, "known": { "sale": 400000, "material": 0, "laborAndFees": 1800, "unallocated": 350000, "totalCost": 351800, "profit": 48200, "ownerCost": 351800, "assistantCost": 0, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金项链", "amount": 350000, "payer": "owner", "excluded": false, "calculation": null, "component": "unallocated" }, { "kind": "paid", "name": "信用卡手续费(6‰)", "source": "2026-11-18", "amount": 1800, "payer": "owner", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "paid", "name": "信用卡手续费(6‰)", "source": "2026-11-18", "amount": 1800, "payer": "owner", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 5, "reviewed_revision": 0 }, { "id": "", "kind": "afterSale", "after_sale_id": "", "number": "售后", "paper_number": "", "date": "2026-11-18", "created": "2026-11-18T02:02:03.000Z", "customer": "对照售后客户", "salesperson": "助理", "status": "after_sale", "project": "对照改圈", "note": "对照改圈", "amount": 950, "payer": "assistant", "types": [ "售后" ], "mg": 0, "summaryMg": 0, "pieces": 0, "originalSale": 0, "sale": 0, "material": 0, "laborAndFees": 950, "unallocated": 0, "totalCost": 950, "profit": -950, "ownerCost": 0, "assistantCost": 950, "known": { "sale": 0, "material": 0, "laborAndFees": 950, "unallocated": 0, "totalCost": 950, "profit": -950, "ownerCost": 0, "assistantCost": 950 }, "costItems": [ { "kind": "afterSale", "after_sale_id": "", "name": "对照改圈", "source": "售后 · 2026-11-18", "amount": 950, "payer": "assistant", "component": "fee", "calculation": null } ], "laborAndFeeItems": [ { "kind": "afterSale", "after_sale_id": "", "name": "对照改圈", "source": "售后 · 2026-11-18", "amount": 950, "payer": "assistant", "component": "fee", "calculation": null } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "独立售后支出,计入所选日期利润", "balance": 0, "revision": 2, "reviewed_revision": 2 }, { "id": "", "kind": "afterSale", "after_sale_id": "", "number": "售后", "paper_number": "", "date": "2026-11-18", "created": "2026-11-18T02:02:06.000Z", "customer": "对照售后客户二", "salesperson": "麦麦", "status": "after_sale", "project": "对照清洗", "note": "对照清洗", "amount": 0, "payer": "owner", "types": [ "售后" ], "mg": 0, "summaryMg": 0, "pieces": 0, "originalSale": 0, "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "known": { "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0 }, "costItems": [ { "kind": "afterSale", "after_sale_id": "", "name": "对照清洗", "source": "售后 · 2026-11-18", "amount": 0, "payer": "owner", "component": "fee", "calculation": null } ], "laborAndFeeItems": [ { "kind": "afterSale", "after_sale_id": "", "name": "对照清洗", "source": "售后 · 2026-11-18", "amount": 0, "payer": "owner", "component": "fee", "calculation": null } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "独立售后支出,计入所选日期利润", "balance": 0, "revision": 1, "reviewed_revision": 1 }, { "id": "", "order_id": "", "kind": "orderAfterSale", "orderAfterSale": { "orderId": "", "date": "2026-11-19", "reason": "客户退回一件", "deductionReason": "客户确认扣费", "refund": { "amount": 90000, "account": "助理2支付宝", "payer": "assistant2", "reference": "" }, "expenses": [], "original": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": { "id": "", "status": "approved", "action": "return", "action_label": "订单售后", "order_revision": 4, "reason": "客户退回一件", "requester_name": "助理2", "created": "2026-11-19T02:01:03.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:01:05.000Z", "note": "实物已收回" }, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 0, "netReceived": 500000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 50000, "knownProfit": 50000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "funds_mode": "team", "credit_card_rate_permille": 6 }, "originalJournal": { "sales": 500000, "goods": 450000, "expense": 0, "profit": 50000 }, "summary": { "refundAmount": 90000, "retainedAmount": 410000, "materialReturnedCost": 88000, "laborRestockedCost": 0, "materialLoss": 352000, "costLoss": 362000, "originalDirectCost": 0, "newExpenses": 0, "directCost": 0, "profit": 48000, "finalProfit": 48000, "profitAdjustment": -2000, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ] }, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ], "order_id": "", "created": "2026-11-19T02:01:05.000Z", "number": "MM20261118-", "paper_number": "20261118007", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "order_date": "2026-11-18", "member": "assistant2" }, "member": "assistant2", "number": "MM20261118-", "paper_number": "20261118007", "date": "2026-11-19", "order_date": "2026-11-18", "created": "2026-11-19T02:01:05.000Z", "customer": "对照售后订单客户", "salesperson": "小昊", "status": "after_sale", "note": "", "project": "订单售后", "types": [ "订单售后" ], "mg": 0, "summaryMg": 0, "pieces": 0, "originalSale": 500000, "sale": -90000, "material": -88000, "laborAndFees": 0, "unallocated": 0, "totalCost": -88000, "profit": -2000, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": -88000, "known": { "sale": -90000, "material": -88000, "laborAndFees": 0, "unallocated": 0, "totalCost": -88000, "profit": -2000, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": -88000 }, "costItems": [ { "kind": "goods", "component": "material", "name": "售后收回金料成本", "source": "商品 1 · 足金手链", "amount": -88000, "payer": "assistant2", "nonCash": true, "materialPoolId": "2026-11-19", "calculation": null } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "按售后发生日调整;回收成本不属于新付款", "balance": 0, "revision": 1, "reviewed_revision": 1 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119010", "date": "2026-11-19", "created": "2026-11-19T02:01:28.000Z", "price_lock_id": "", "customer": "对照锁价客户(改)", "salesperson": "娜娜", "status": "delivered", "note": "锁价备注;锁价单 SJ20261118-;按原锁定金价 900.00元/克结算", "types": [ "货盘现货" ], "mg": 3100, "summaryMg": 3100, "pieces": 0, "originalSale": 286200, "sale": 286200, "material": 264000, "laborAndFees": 3600, "unallocated": 0, "totalCost": 267600, "profit": 18600, "ownerCost": 255600, "assistantCost": 12000, "assistant2Cost": 0, "known": { "sale": 286200, "material": 264000, "laborAndFees": 3600, "unallocated": 0, "totalCost": 267600, "profit": 18600, "ownerCost": 255600, "assistantCost": 12000, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 原锁价采购", "amount": 255000, "payer": "owner", "excluded": false, "priceLockSource": "original", "calculation": { "rate": 85000, "quantity": 3000 } }, { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 补重采购", "amount": 9000, "payer": "assistant", "excluded": false, "priceLockSource": "extra", "calculation": { "rate": 90000, "quantity": 100 } }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "实际快递", "source": "2026-11-19", "amount": 600, "payer": "owner", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "实际快递", "source": "2026-11-19", "amount": 600, "payer": "owner", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 3, "reviewed_revision": 0 }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119011", "date": "2026-11-19", "created": "2026-11-19T02:01:32.000Z", "recovery_id": "", "recovery_mode": "exchange", "nonCashOffset": 0, "cashPaid": 0, "netSettlement": 432792, "recovery_immutable_reason": "本单关联黄金回收/置换、购料及库存,暂不支持普通订单修改、取消、退款、退货或费用变更,请保留原关联记录", "customer": "对照换货客户", "salesperson": "小昊", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 12000, "summaryMg": 12000, "pieces": 0, "originalSale": 432792, "sale": 432792, "material": 360720, "laborAndFees": 6000, "unallocated": 0, "totalCost": 366720, "profit": 66072, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 366720, "known": { "sale": 432792, "material": 360720, "laborAndFees": 6000, "unallocated": 0, "totalCost": 366720, "profit": 66072, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 366720 }, "costItems": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金对照新货", "amount": 360720, "payer": "assistant2", "excluded": false, "calculation": { "rate": 90000, "quantity": 4008 }, "component": "material" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 6000, "payer": "assistant2", "excluded": false, "calculation": { "rate": 500, "quantity": 12000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 6000, "payer": "assistant2", "excluded": false, "calculation": { "rate": 500, "quantity": 12000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 4, "reviewed_revision": 0 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119012", "date": "2026-11-19", "created": "2026-11-19T02:01:33.000Z", "recovery_id": "", "recovery_mode": "exchange", "nonCashOffset": 0, "cashPaid": 0, "netSettlement": 130800, "recovery_immutable_reason": "本单关联黄金回收/置换、购料及库存,暂不支持普通订单修改、取消、退款、退货或费用变更,请保留原关联记录", "customer": "对照换货客户二", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 6000, "summaryMg": 6000, "pieces": 0, "originalSale": 130800, "sale": 130800, "material": 103410, "laborAndFees": 3000, "unallocated": 0, "totalCost": 106410, "profit": 24390, "ownerCost": 0, "assistantCost": 106410, "assistant2Cost": 0, "known": { "sale": 130800, "material": 103410, "laborAndFees": 3000, "unallocated": 0, "totalCost": 106410, "profit": 24390, "ownerCost": 0, "assistantCost": 106410, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金对照新货", "amount": 103410, "payer": "assistant", "excluded": false, "calculation": { "rate": 90000, "quantity": 1149 }, "component": "material" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": { "rate": 500, "quantity": 6000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": { "rate": 500, "quantity": 6000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 4, "reviewed_revision": 0 } ], "displayRows": [ { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118001", "date": "2026-11-18", "created": "2026-11-18T02:01:17.000Z", "customer": "对照客户甲(改)", "salesperson": "娜娜", "status": "delivered", "note": "客户单备注", "types": [ "货盘现货" ], "mg": 3250, "summaryMg": 3250, "pieces": 0, "originalSale": 321100, "sale": 321100, "material": 286000, "laborAndFees": 5400, "unallocated": 0, "totalCost": 291400, "profit": 29700, "ownerCost": 286000, "assistantCost": 5400, "assistant2Cost": 0, "known": { "sale": 321100, "material": 286000, "laborAndFees": 5400, "unallocated": 0, "totalCost": 291400, "profit": 29700, "ownerCost": 286000, "assistantCost": 5400, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金999", "amount": 286000, "payer": "owner", "excluded": false, "calculation": { "rate": 88000, "quantity": 3250 }, "component": "material" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 4000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 200, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "快递", "source": "2026-11-18", "amount": 1200, "payer": "assistant", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 4000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 200, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "快递", "source": "2026-11-18", "amount": 1200, "payer": "assistant", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 5, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 2, "updated": "2026-11-18T02:01:50.000Z", "actor": "助理" } }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118002", "date": "2026-11-18", "created": "2026-11-18T02:01:18.000Z", "customer": "对照客户乙", "salesperson": "小昊", "status": "delivered", "note": "", "types": [ "货盘现货", "配货 · 银饰" ], "mg": 2000, "summaryMg": 2000, "pieces": 3, "originalSale": 217163, "sale": 217163, "material": null, "laborAndFees": null, "unallocated": 183000, "totalCost": 183000, "profit": 34163, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 183000, "known": { "sale": 217163, "material": 0, "laborAndFees": 0, "unallocated": 183000, "totalCost": 183000, "profit": 34163, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 183000 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金999", "amount": 180000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "unallocated" }, { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 2 · 纯银925", "amount": 3000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "unallocated" } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 4, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118003", "date": "2026-11-18", "created": "2026-11-18T02:01:19.000Z", "customer": "对照客户丙", "salesperson": "麦麦", "status": "delivered", "note": "老板改备注", "types": [ "配货" ], "mg": 0, "summaryMg": 0, "pieces": 1, "originalSale": 288500, "sale": 288500, "material": null, "laborAndFees": null, "unallocated": 150000, "totalCost": 151731, "profit": 136769, "ownerCost": 151731, "assistantCost": 0, "assistant2Cost": 0, "known": { "sale": 288500, "material": 0, "laborAndFees": 1731, "unallocated": 150000, "totalCost": 151731, "profit": 136769, "ownerCost": 151731, "assistantCost": 0, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 金镶玉吊坠", "amount": 150000, "payer": "owner", "excluded": false, "calculation": null, "component": "unallocated" }, { "kind": "paid", "name": "信用卡手续费(6‰)", "source": "2026-11-18", "amount": 1731, "payer": "owner", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "paid", "name": "信用卡手续费(6‰)", "source": "2026-11-18", "amount": 1731, "payer": "owner", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 5, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118004", "date": "2026-11-18", "created": "2026-11-18T02:01:20.000Z", "materialPoolIds": [ "2026-11-18" ], "materialCostPending": false, "customer": "对照客户丁", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "配货" ], "mg": 3000, "summaryMg": 3000, "pieces": 0, "originalSale": 330000, "sale": 330000, "material": 271935, "laborAndFees": 1000, "unallocated": 0, "totalCost": 272935, "profit": 57065, "ownerCost": 0, "assistantCost": 272935, "assistant2Cost": 0, "known": { "sale": 330000, "material": 271935, "laborAndFees": 1000, "unallocated": 0, "totalCost": 272935, "profit": 57065, "ownerCost": 0, "assistantCost": 272935, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 2026-11-18日购料", "amount": 271935, "payer": "assistant", "excluded": false, "materialPoolId": "2026-11-18", "materialPoolRevision": "2823f40ff78424f5423f0dbdf991ea5fcc83b0144648e9d2399869970c27af75", "calculation": { "rate": 90645, "quantity": 3000, "weighted": true } }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "补寄快递", "source": "2026-11-19", "amount": 1000, "payer": "assistant", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "补寄快递", "source": "2026-11-19", "amount": 1000, "payer": "assistant", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 6, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "owner", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118005", "date": "2026-11-18", "created": "2026-11-18T02:01:21.000Z", "customer": "对照草稿客户", "salesperson": "麦麦", "status": "delivered", "note": "", "types": [ "货盘·展柜A(主)" ], "mg": 10000, "summaryMg": 10000, "pieces": 0, "originalSale": 980000, "sale": 980000, "material": null, "laborAndFees": null, "unallocated": 900000, "totalCost": 900000, "profit": 80000, "ownerCost": 900000, "assistantCost": 0, "assistant2Cost": 0, "known": { "sale": 980000, "material": 0, "laborAndFees": 0, "unallocated": 900000, "totalCost": 900000, "profit": 80000, "ownerCost": 900000, "assistantCost": 0, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金手镯", "amount": 900000, "payer": "owner", "excluded": false, "calculation": null, "component": "unallocated" } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 5, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118006", "date": "2026-11-18", "created": "2026-11-18T02:01:24.000Z", "cancellationApproved": { "id": "", "status": "approved", "order_revision": 4, "reason": "重复录入", "requester_name": "助理2", "created": "2026-11-19T02:00:41.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:00:45.000Z", "note": "核对原单后确认" }, "customer": "对照取消客户", "salesperson": "小昊", "status": "cancelled", "note": "", "types": [ "货盘现货" ], "mg": 1500, "summaryMg": 1500, "pieces": 0, "originalSale": 150000, "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0, "known": { "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0 }, "costItems": [], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "录错作废已获麦麦批准,本单销售、成本与收款记账已撤销,原单和审批记录保留", "balance": 0, "revision": 5, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118007", "date": "2026-11-18", "created": "2026-11-18T02:01:25.000Z", "customer": "对照售后订单客户", "salesperson": "小昊", "status": "returned", "note": "", "orderAfterSale": { "orderId": "", "date": "2026-11-19", "reason": "客户退回一件", "deductionReason": "客户确认扣费", "refund": { "amount": 90000, "account": "助理2支付宝", "payer": "assistant2", "reference": "" }, "expenses": [], "original": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": { "id": "", "status": "approved", "action": "return", "action_label": "订单售后", "order_revision": 4, "reason": "客户退回一件", "requester_name": "助理2", "created": "2026-11-19T02:01:03.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:01:05.000Z", "note": "实物已收回" }, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 0, "netReceived": 500000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 50000, "knownProfit": 50000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "funds_mode": "team", "credit_card_rate_permille": 6 }, "originalJournal": { "sales": 500000, "goods": 450000, "expense": 0, "profit": 50000 }, "summary": { "refundAmount": 90000, "retainedAmount": 410000, "materialReturnedCost": 88000, "laborRestockedCost": 0, "materialLoss": 352000, "costLoss": 362000, "originalDirectCost": 0, "newExpenses": 0, "directCost": 0, "profit": 48000, "finalProfit": 48000, "profitAdjustment": -2000, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ] }, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ], "originalOrder": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": { "id": "", "status": "approved", "action": "return", "action_label": "订单售后", "order_revision": 4, "reason": "客户退回一件", "requester_name": "助理2", "created": "2026-11-19T02:01:03.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:01:05.000Z", "note": "实物已收回" }, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 0, "netReceived": 500000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 50000, "knownProfit": 50000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "funds_mode": "team", "credit_card_rate_permille": 6 } }, "current_status": "returned", "types": [ "货盘现货" ], "mg": 5000, "summaryMg": 5000, "pieces": 0, "originalSale": 500000, "sale": 500000, "material": 440000, "laborAndFees": 10000, "unallocated": 0, "totalCost": 450000, "profit": 50000, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 450000, "known": { "sale": 500000, "material": 440000, "laborAndFees": 10000, "unallocated": 0, "totalCost": 450000, "profit": 50000, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 450000 }, "costItems": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金手链", "amount": 440000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "material" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金手链", "amount": 10000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金手链", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金手链", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金手链", "amount": 10000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金手链", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金手链", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 4, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118008", "date": "2026-11-18", "created": "2026-11-18T02:01:26.000Z", "customer": "对照驳回客户", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 800, "summaryMg": 800, "pieces": 0, "originalSale": 82000, "sale": 82000, "material": null, "laborAndFees": null, "unallocated": 70000, "totalCost": 70000, "profit": 12000, "ownerCost": 0, "assistantCost": 70000, "assistant2Cost": 0, "known": { "sale": 82000, "material": 0, "laborAndFees": 0, "unallocated": 70000, "totalCost": 70000, "profit": 12000, "ownerCost": 0, "assistantCost": 70000, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金耳钉", "amount": 70000, "payer": "assistant", "excluded": false, "calculation": null, "component": "unallocated" } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 5, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "owner", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118009", "date": "2026-11-18", "created": "2026-11-18T02:01:27.000Z", "customer": "对照分步客户", "salesperson": "麦麦", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 4000, "summaryMg": 4000, "pieces": 0, "originalSale": 400000, "sale": 400000, "material": null, "laborAndFees": null, "unallocated": 350000, "totalCost": 351800, "profit": 48200, "ownerCost": 351800, "assistantCost": 0, "assistant2Cost": 0, "known": { "sale": 400000, "material": 0, "laborAndFees": 1800, "unallocated": 350000, "totalCost": 351800, "profit": 48200, "ownerCost": 351800, "assistantCost": 0, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金项链", "amount": 350000, "payer": "owner", "excluded": false, "calculation": null, "component": "unallocated" }, { "kind": "paid", "name": "信用卡手续费(6‰)", "source": "2026-11-18", "amount": 1800, "payer": "owner", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "paid", "name": "信用卡手续费(6‰)", "source": "2026-11-18", "amount": 1800, "payer": "owner", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 5, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "kind": "afterSale", "after_sale_id": "", "number": "售后", "paper_number": "", "date": "2026-11-18", "created": "2026-11-18T02:02:03.000Z", "customer": "对照售后客户", "salesperson": "助理", "status": "after_sale", "project": "对照改圈", "note": "对照改圈", "amount": 950, "payer": "assistant", "types": [ "售后" ], "mg": 0, "summaryMg": 0, "pieces": 0, "originalSale": 0, "sale": 0, "material": 0, "laborAndFees": 950, "unallocated": 0, "totalCost": 950, "profit": -950, "ownerCost": 0, "assistantCost": 950, "known": { "sale": 0, "material": 0, "laborAndFees": 950, "unallocated": 0, "totalCost": 950, "profit": -950, "ownerCost": 0, "assistantCost": 950 }, "costItems": [ { "kind": "afterSale", "after_sale_id": "", "name": "对照改圈", "source": "售后 · 2026-11-18", "amount": 950, "payer": "assistant", "component": "fee", "calculation": null } ], "laborAndFeeItems": [ { "kind": "afterSale", "after_sale_id": "", "name": "对照改圈", "source": "售后 · 2026-11-18", "amount": 950, "payer": "assistant", "component": "fee", "calculation": null } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "独立售后支出,计入所选日期利润", "balance": 0, "revision": 2, "reviewed_revision": 2 }, { "id": "", "kind": "afterSale", "after_sale_id": "", "number": "售后", "paper_number": "", "date": "2026-11-18", "created": "2026-11-18T02:02:06.000Z", "customer": "对照售后客户二", "salesperson": "麦麦", "status": "after_sale", "project": "对照清洗", "note": "对照清洗", "amount": 0, "payer": "owner", "types": [ "售后" ], "mg": 0, "summaryMg": 0, "pieces": 0, "originalSale": 0, "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "known": { "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0 }, "costItems": [ { "kind": "afterSale", "after_sale_id": "", "name": "对照清洗", "source": "售后 · 2026-11-18", "amount": 0, "payer": "owner", "component": "fee", "calculation": null } ], "laborAndFeeItems": [ { "kind": "afterSale", "after_sale_id": "", "name": "对照清洗", "source": "售后 · 2026-11-18", "amount": 0, "payer": "owner", "component": "fee", "calculation": null } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "独立售后支出,计入所选日期利润", "balance": 0, "revision": 1, "reviewed_revision": 1 }, { "id": "", "order_id": "", "kind": "orderAfterSale", "orderAfterSale": { "orderId": "", "date": "2026-11-19", "reason": "客户退回一件", "deductionReason": "客户确认扣费", "refund": { "amount": 90000, "account": "助理2支付宝", "payer": "assistant2", "reference": "" }, "expenses": [], "original": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": { "id": "", "status": "approved", "action": "return", "action_label": "订单售后", "order_revision": 4, "reason": "客户退回一件", "requester_name": "助理2", "created": "2026-11-19T02:01:03.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:01:05.000Z", "note": "实物已收回" }, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 0, "netReceived": 500000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 50000, "knownProfit": 50000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "funds_mode": "team", "credit_card_rate_permille": 6 }, "originalJournal": { "sales": 500000, "goods": 450000, "expense": 0, "profit": 50000 }, "summary": { "refundAmount": 90000, "retainedAmount": 410000, "materialReturnedCost": 88000, "laborRestockedCost": 0, "materialLoss": 352000, "costLoss": 362000, "originalDirectCost": 0, "newExpenses": 0, "directCost": 0, "profit": 48000, "finalProfit": 48000, "profitAdjustment": -2000, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ] }, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ], "order_id": "", "created": "2026-11-19T02:01:05.000Z", "number": "MM20261118-", "paper_number": "20261118007", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "order_date": "2026-11-18", "member": "assistant2" }, "member": "assistant2", "number": "MM20261118-", "paper_number": "20261118007", "date": "2026-11-19", "order_date": "2026-11-18", "created": "2026-11-19T02:01:05.000Z", "customer": "对照售后订单客户", "salesperson": "小昊", "status": "after_sale", "note": "", "project": "订单售后", "types": [ "订单售后" ], "mg": 0, "summaryMg": 0, "pieces": 0, "originalSale": 500000, "sale": -90000, "material": -88000, "laborAndFees": 0, "unallocated": 0, "totalCost": -88000, "profit": -2000, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": -88000, "known": { "sale": -90000, "material": -88000, "laborAndFees": 0, "unallocated": 0, "totalCost": -88000, "profit": -2000, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": -88000 }, "costItems": [ { "kind": "goods", "component": "material", "name": "售后收回金料成本", "source": "商品 1 · 足金手链", "amount": -88000, "payer": "assistant2", "nonCash": true, "materialPoolId": "2026-11-19", "calculation": null } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "按售后发生日调整;回收成本不属于新付款", "balance": 0, "revision": 1, "reviewed_revision": 1 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119010", "date": "2026-11-19", "created": "2026-11-19T02:01:28.000Z", "price_lock_id": "", "customer": "对照锁价客户(改)", "salesperson": "娜娜", "status": "delivered", "note": "锁价备注;锁价单 SJ20261118-;按原锁定金价 900.00元/克结算", "types": [ "货盘现货" ], "mg": 3100, "summaryMg": 3100, "pieces": 0, "originalSale": 286200, "sale": 286200, "material": 264000, "laborAndFees": 3600, "unallocated": 0, "totalCost": 267600, "profit": 18600, "ownerCost": 255600, "assistantCost": 12000, "assistant2Cost": 0, "known": { "sale": 286200, "material": 264000, "laborAndFees": 3600, "unallocated": 0, "totalCost": 267600, "profit": 18600, "ownerCost": 255600, "assistantCost": 12000, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 原锁价采购", "amount": 255000, "payer": "owner", "excluded": false, "priceLockSource": "original", "calculation": { "rate": 85000, "quantity": 3000 } }, { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 补重采购", "amount": 9000, "payer": "assistant", "excluded": false, "priceLockSource": "extra", "calculation": { "rate": 90000, "quantity": 100 } }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "实际快递", "source": "2026-11-19", "amount": 600, "payer": "owner", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "实际快递", "source": "2026-11-19", "amount": 600, "payer": "owner", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 3, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119011", "date": "2026-11-19", "created": "2026-11-19T02:01:32.000Z", "recovery_id": "", "recovery_mode": "exchange", "nonCashOffset": 0, "cashPaid": 0, "netSettlement": 432792, "recovery_immutable_reason": "本单关联黄金回收/置换、购料及库存,暂不支持普通订单修改、取消、退款、退货或费用变更,请保留原关联记录", "customer": "对照换货客户", "salesperson": "小昊", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 12000, "summaryMg": 12000, "pieces": 0, "originalSale": 432792, "sale": 432792, "material": 360720, "laborAndFees": 6000, "unallocated": 0, "totalCost": 366720, "profit": 66072, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 366720, "known": { "sale": 432792, "material": 360720, "laborAndFees": 6000, "unallocated": 0, "totalCost": 366720, "profit": 66072, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 366720 }, "costItems": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金对照新货", "amount": 360720, "payer": "assistant2", "excluded": false, "calculation": { "rate": 90000, "quantity": 4008 }, "component": "material" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 6000, "payer": "assistant2", "excluded": false, "calculation": { "rate": 500, "quantity": 12000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 6000, "payer": "assistant2", "excluded": false, "calculation": { "rate": 500, "quantity": 12000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 4, "reviewed_revision": 0, "printStatus": { "kind": "recovery", "id": "", "printed": true, "revision": 1, "updated": "2026-11-19T02:01:40.000Z", "actor": "助理2" } }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119012", "date": "2026-11-19", "created": "2026-11-19T02:01:33.000Z", "recovery_id": "", "recovery_mode": "exchange", "nonCashOffset": 0, "cashPaid": 0, "netSettlement": 130800, "recovery_immutable_reason": "本单关联黄金回收/置换、购料及库存,暂不支持普通订单修改、取消、退款、退货或费用变更,请保留原关联记录", "customer": "对照换货客户二", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 6000, "summaryMg": 6000, "pieces": 0, "originalSale": 130800, "sale": 130800, "material": 103410, "laborAndFees": 3000, "unallocated": 0, "totalCost": 106410, "profit": 24390, "ownerCost": 0, "assistantCost": 106410, "assistant2Cost": 0, "known": { "sale": 130800, "material": 103410, "laborAndFees": 3000, "unallocated": 0, "totalCost": 106410, "profit": 24390, "ownerCost": 0, "assistantCost": 106410, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金对照新货", "amount": 103410, "payer": "assistant", "excluded": false, "calculation": { "rate": 90000, "quantity": 1149 }, "component": "material" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": { "rate": 500, "quantity": 6000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": { "rate": 500, "quantity": 6000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 4, "reviewed_revision": 0, "printStatus": { "kind": "recovery", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } } ], "recoveryCount": 0, "summary": { "orderCount": 12, "completedCount": 11, "draftCount": 0, "confirmedCount": 0, "returnedCount": 1, "cancelledCount": 1, "incompleteCount": 0, "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "unknownCostCount": 0, "unknownProfitCount": 0, "legacyUnallocatedCount": 5, "sale": 3878555, "material": 1638065, "laborAndFees": 33481, "unallocated": 1653000, "totalCost": 3324546, "profit": 554009, "ownerCost": 1945131, "assistantCost": 467695, "assistant2Cost": 911720, "mg": 50650, "pieces": 4, "knownCounts": { "sale": 12, "material": 7, "laborAndFees": 7, "unallocated": 12, "totalCost": 12, "profit": 12, "ownerCost": 12, "assistantCost": 12, "assistant2Cost": 12 }, "unknownCounts": { "sale": 0, "material": 5, "laborAndFees": 5, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0 }, "partial": true, "afterSaleCount": 3, "recordCount": 15 }, "peopleCount": { "from": "2026-11-18", "date": "2026-11-19", "baselineDate": "2026-11-17", "mode": "daily-total", "assistant1": { "total": 7, "endTotal": 7, "baselineTotal": null, "baselineDate": null, "netChange": null, "netChangeReason": "missing-previous", "recordedDays": 2 }, "assistant2": { "total": 4, "endTotal": 4, "baselineTotal": null, "baselineDate": null, "netChange": null, "netChangeReason": "missing-previous", "recordedDays": 2 } }, "priceLockActivity": { "basis": "eventDate", "from": "2026-11-18", "date": "2026-11-19", "customerCash": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 270000, "account": "助理微信", "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:53.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null }, { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 50000, "account": "助理2微信", "number": "SJ20261118-", "customer": "对照锁价客户三", "product": "足金999", "actor": "助理2", "created": "2026-11-18T02:01:55.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null }, { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 120000, "account": "助理支付宝", "number": "SJ20261118-", "customer": "对照锁价客户二", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:02:02.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null }, { "id": "", "price_lock_id": "", "date": "2026-11-19", "kind": "receipt", "amount": 16200, "account": "助理支付宝", "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-19T02:01:28.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null } ], "orderPayments": [], "materialOutlays": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "material", "amount": 255000, "payer": "owner", "source": "original", "quantity": 3000, "rate": 85000, "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:53.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "component": "material" }, { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "material", "amount": 255000, "payer": "owner", "source": "original", "quantity": 3000, "rate": 85000, "number": "SJ20261118-", "customer": "对照锁价客户二", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:54.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "component": "material" }, { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "material", "amount": 258000, "payer": "assistant2", "source": "original", "quantity": 3000, "rate": 86000, "number": "SJ20261118-", "customer": "对照锁价客户三", "product": "足金999", "actor": "助理2", "created": "2026-11-18T02:01:55.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "component": "material" }, { "id": "", "price_lock_id": "", "date": "2026-11-19", "kind": "material", "amount": 9000, "payer": "assistant", "source": "extra", "quantity": 100, "rate": 90000, "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-19T02:01:28.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "component": "material" } ], "directOutlays": [ { "id": "", "order_id": "", "date": "2026-11-19", "amount": 600, "payer": "owner", "note": "实际快递", "actor": "助理", "created": "2026-11-19T02:01:28.000Z", "price_lock_id": "", "number": "SJ20261118-", "customer": "对照锁价客户(改)", "kind": "fee", "component": "fee", "product": "足金999" } ], "deliveryGoodsOutlays": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": null, "id": "price-lock-goods::0", "price_lock_id": "", "order_id": "", "number": "MM20261119-", "paper_number": "20261119010", "customer": "对照锁价客户(改)", "date": "2026-11-19", "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "id": "price-lock-goods::1", "price_lock_id": "", "order_id": "", "number": "MM20261119-", "paper_number": "20261119010", "customer": "对照锁价客户(改)", "date": "2026-11-19", "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "id": "price-lock-goods::2", "price_lock_id": "", "order_id": "", "number": "MM20261119-", "paper_number": "20261119010", "customer": "对照锁价客户(改)", "date": "2026-11-19", "component": "other" } ], "receipts": { "receipt": 456200, "refund": 0, "net": 456200, "channels": [ { "channel": "wechat", "name": "微信", "receipt": 320000, "refund": 0, "net": 320000 }, { "channel": "alipay", "name": "支付宝", "receipt": 136200, "refund": 0, "net": 136200 }, { "channel": "cash", "name": "现金", "receipt": 0, "refund": 0, "net": 0 } ], "accounts": [ { "account": "助理微信", "receipt": 270000, "refund": 0, "net": 270000 }, { "account": "助理支付宝", "receipt": 136200, "refund": 0, "net": 136200 }, { "account": "助理现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2微信", "receipt": 50000, "refund": 0, "net": 50000 }, { "account": "助理2支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2现金", "receipt": 0, "refund": 0, "net": 0 } ], "paymentCount": 4, "orderCount": 3 }, "payerOutlays": { "owner": { "payer": "owner", "material": 510000, "goods": 510000, "paidFees": 600, "total": 510600 }, "assistant": { "payer": "assistant", "material": 9000, "goods": 12000, "paidFees": 0, "total": 12000 }, "assistant2": { "payer": "assistant2", "material": 258000, "goods": 258000, "paidFees": 0, "total": 258000 } }, "summary": { "receipt": 456200, "refund": 0, "net": 456200, "materialOutlay": 777000, "goodsOutlay": 780000, "feeOutlay": 600, "ownerOutlay": 510600, "assistantOutlay": 12000, "assistant2Outlay": 258000, "totalOutlay": 780600, "eventCount": 12, "lockCount": 3 } }, "materialPoolActivity": { "basis": "purchaseDate", "from": "2026-11-18", "date": "2026-11-19", "purchases": [ { "id": "", "pool_id": "2026-11-18", "date": "2026-11-18", "mg": 11000, "amount": 990000, "payer": "assistant", "note": "核对凭据", "actor": "助理", "created": "2026-11-18T02:01:09.000Z", "revision": 2, "deleted_at": "", "updated": "2026-11-19T02:02:27.000Z" }, { "id": "", "pool_id": "2026-11-18", "date": "2026-11-18", "mg": 20000, "amount": 1820000, "payer": "owner", "note": "麦麦购料", "actor": "麦麦", "created": "2026-11-18T02:01:10.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-18T02:01:10.000Z" }, { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 5000, "amount": 460000, "payer": "assistant", "note": "第二天购料", "actor": "助理", "created": "2026-11-19T02:02:19.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:19.000Z" }, { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 4000, "amount": 370000, "payer": "assistant2", "note": "", "actor": "助理2", "created": "2026-11-19T02:02:20.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:20.000Z" } ], "payerOutlays": { "owner": { "payer": "owner", "material": 1820000, "goods": 1820000, "paidFees": 0, "total": 1820000, "purchaseCount": 1 }, "assistant": { "payer": "assistant", "material": 1450000, "goods": 1450000, "paidFees": 0, "total": 1450000, "purchaseCount": 2 }, "assistant2": { "payer": "assistant2", "material": 370000, "goods": 370000, "paidFees": 0, "total": 370000, "purchaseCount": 1 } }, "summary": { "purchaseCount": 4, "poolCount": 2, "mg": 40000, "materialOutlay": 3640000, "purchaseValue": 3640000, "ownerOutlay": 1820000, "assistantOutlay": 1450000, "assistant2Outlay": 370000, "totalOutlay": 3640000, "eventCount": 4 } }, "summaryWithoutCancelled": { "orderCount": 11, "completedCount": 11, "draftCount": 0, "confirmedCount": 0, "returnedCount": 1, "cancelledCount": 0, "incompleteCount": 0, "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "unknownCostCount": 0, "unknownProfitCount": 0, "legacyUnallocatedCount": 5, "sale": 3878555, "material": 1638065, "laborAndFees": 33481, "unallocated": 1653000, "totalCost": 3324546, "profit": 554009, "ownerCost": 1945131, "assistantCost": 467695, "assistant2Cost": 911720, "mg": 49150, "pieces": 4, "knownCounts": { "sale": 11, "material": 6, "laborAndFees": 6, "unallocated": 11, "totalCost": 11, "profit": 11, "ownerCost": 11, "assistantCost": 11, "assistant2Cost": 11 }, "unknownCounts": { "sale": 0, "material": 5, "laborAndFees": 5, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0 }, "partial": true, "afterSaleCount": 3, "recordCount": 14 }, "receiptsWithoutCancelled": { "basis": "orderDate", "filterScope": "matchingOrdersWithoutCancelled", "from": "2026-11-18", "date": "2026-11-19", "receipt": 4138555, "refund": 90000, "net": 4048555, "channels": [ { "channel": "wechat", "name": "微信", "receipt": 1704692, "refund": 0, "net": 1704692 }, { "channel": "alipay", "name": "支付宝", "receipt": 535363, "refund": 90000, "net": 445363 }, { "channel": "cash", "name": "现金", "receipt": 1310000, "refund": 0, "net": 1310000 }, { "channel": "credit_card", "name": "信用卡", "receipt": 588500, "refund": 0, "net": 588500 } ], "accounts": [ { "account": "助理微信", "receipt": 721900, "refund": 0, "net": 721900 }, { "account": "助理支付宝", "receipt": 218200, "refund": 0, "net": 218200 }, { "account": "助理现金", "receipt": 330000, "refund": 0, "net": 330000 }, { "account": "麦麦微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦支付宝", "receipt": 100000, "refund": 0, "net": 100000 }, { "account": "麦麦现金", "receipt": 980000, "refund": 0, "net": 980000 }, { "account": "麦麦信用卡", "receipt": 588500, "refund": 0, "net": 588500 }, { "account": "助理2微信", "receipt": 982792, "refund": 0, "net": 982792 }, { "account": "助理2支付宝", "receipt": 217163, "refund": 90000, "net": 127163 }, { "account": "助理2现金", "receipt": 0, "refund": 0, "net": 0 } ], "paymentCount": 16, "orderCount": 13 }, "receiptsByPaymentDate": { "basis": "paymentDate", "filterScope": "dateRange", "from": "2026-11-18", "date": "2026-11-19", "receipt": 4618555, "refund": 90000, "net": 4528555, "channels": [ { "channel": "wechat", "name": "微信", "receipt": 2184692, "refund": 0, "net": 2184692 }, { "channel": "alipay", "name": "支付宝", "receipt": 535363, "refund": 90000, "net": 445363 }, { "channel": "cash", "name": "现金", "receipt": 1310000, "refund": 0, "net": 1310000 }, { "channel": "credit_card", "name": "信用卡", "receipt": 588500, "refund": 0, "net": 588500 } ], "accounts": [ { "account": "助理微信", "receipt": 1201900, "refund": 0, "net": 1201900 }, { "account": "助理支付宝", "receipt": 218200, "refund": 0, "net": 218200 }, { "account": "助理现金", "receipt": 330000, "refund": 0, "net": 330000 }, { "account": "麦麦微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦支付宝", "receipt": 100000, "refund": 0, "net": 100000 }, { "account": "麦麦现金", "receipt": 980000, "refund": 0, "net": 980000 }, { "account": "麦麦信用卡", "receipt": 588500, "refund": 0, "net": 588500 }, { "account": "助理2微信", "receipt": 982792, "refund": 0, "net": 982792 }, { "account": "助理2支付宝", "receipt": 217163, "refund": 90000, "net": 127163 }, { "account": "助理2现金", "receipt": 0, "refund": 0, "net": 0 } ], "paymentCount": 23, "orderCount": 18 }, "receiptsByOrderDate": { "basis": "orderDate", "filterScope": "matchingOrders", "from": "2026-11-18", "date": "2026-11-19", "receipt": 4138555, "refund": 90000, "net": 4048555, "channels": [ { "channel": "wechat", "name": "微信", "receipt": 1704692, "refund": 0, "net": 1704692 }, { "channel": "alipay", "name": "支付宝", "receipt": 535363, "refund": 90000, "net": 445363 }, { "channel": "cash", "name": "现金", "receipt": 1310000, "refund": 0, "net": 1310000 }, { "channel": "credit_card", "name": "信用卡", "receipt": 588500, "refund": 0, "net": 588500 } ], "accounts": [ { "account": "助理微信", "receipt": 721900, "refund": 0, "net": 721900 }, { "account": "助理支付宝", "receipt": 218200, "refund": 0, "net": 218200 }, { "account": "助理现金", "receipt": 330000, "refund": 0, "net": 330000 }, { "account": "麦麦微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦支付宝", "receipt": 100000, "refund": 0, "net": 100000 }, { "account": "麦麦现金", "receipt": 980000, "refund": 0, "net": 980000 }, { "account": "麦麦信用卡", "receipt": 588500, "refund": 0, "net": 588500 }, { "account": "助理2微信", "receipt": 982792, "refund": 0, "net": 982792 }, { "account": "助理2支付宝", "receipt": 217163, "refund": 90000, "net": 127163 }, { "account": "助理2现金", "receipt": 0, "refund": 0, "net": 0 } ], "paymentCount": 18, "orderCount": 14 } } }, { "seq": 471, "label": "order-book-filter pocket=现货", "date": "2026-11-19", "actor": "owner", "method": "GET", "path": "/api/order-book?from=2026-11-18&date=2026-11-19&pocket=现货", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "from": "2026-11-18", "date": "2026-11-19", "today": "2026-11-19", "q": "", "status": "all", "pocket": "现货", "rows": [ { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118001", "date": "2026-11-18", "created": "2026-11-18T02:01:17.000Z", "customer": "对照客户甲(改)", "salesperson": "娜娜", "status": "delivered", "note": "客户单备注", "types": [ "货盘现货" ], "mg": 3250, "summaryMg": 3250, "pieces": 0, "originalSale": 321100, "sale": 321100, "material": 286000, "laborAndFees": 5400, "unallocated": 0, "totalCost": 291400, "profit": 29700, "ownerCost": 286000, "assistantCost": 5400, "assistant2Cost": 0, "known": { "sale": 321100, "material": 286000, "laborAndFees": 5400, "unallocated": 0, "totalCost": 291400, "profit": 29700, "ownerCost": 286000, "assistantCost": 5400, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金999", "amount": 286000, "payer": "owner", "excluded": false, "calculation": { "rate": 88000, "quantity": 3250 }, "component": "material" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 4000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 200, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "快递", "source": "2026-11-18", "amount": 1200, "payer": "assistant", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 4000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 200, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "快递", "source": "2026-11-18", "amount": 1200, "payer": "assistant", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 5, "reviewed_revision": 0 }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118002", "date": "2026-11-18", "created": "2026-11-18T02:01:18.000Z", "customer": "对照客户乙", "salesperson": "小昊", "status": "delivered", "note": "", "types": [ "货盘现货", "配货 · 银饰" ], "mg": 2000, "summaryMg": 2000, "pieces": 3, "originalSale": 217163, "sale": 217163, "material": null, "laborAndFees": null, "unallocated": 183000, "totalCost": 183000, "profit": 34163, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 183000, "known": { "sale": 217163, "material": 0, "laborAndFees": 0, "unallocated": 183000, "totalCost": 183000, "profit": 34163, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 183000 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金999", "amount": 180000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "unallocated" }, { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 2 · 纯银925", "amount": 3000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "unallocated" } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 4, "reviewed_revision": 0 }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118006", "date": "2026-11-18", "created": "2026-11-18T02:01:24.000Z", "cancellationApproved": { "id": "", "status": "approved", "order_revision": 4, "reason": "重复录入", "requester_name": "助理2", "created": "2026-11-19T02:00:41.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:00:45.000Z", "note": "核对原单后确认" }, "customer": "对照取消客户", "salesperson": "小昊", "status": "cancelled", "note": "", "types": [ "货盘现货" ], "mg": 1500, "summaryMg": 1500, "pieces": 0, "originalSale": 150000, "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0, "known": { "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0 }, "costItems": [], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "录错作废已获麦麦批准,本单销售、成本与收款记账已撤销,原单和审批记录保留", "balance": 0, "revision": 5, "reviewed_revision": 0 }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118007", "date": "2026-11-18", "created": "2026-11-18T02:01:25.000Z", "customer": "对照售后订单客户", "salesperson": "小昊", "status": "delivered", "note": "", "orderAfterSale": { "orderId": "", "date": "2026-11-19", "reason": "客户退回一件", "deductionReason": "客户确认扣费", "refund": { "amount": 90000, "account": "助理2支付宝", "payer": "assistant2", "reference": "" }, "expenses": [], "original": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": { "id": "", "status": "approved", "action": "return", "action_label": "订单售后", "order_revision": 4, "reason": "客户退回一件", "requester_name": "助理2", "created": "2026-11-19T02:01:03.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:01:05.000Z", "note": "实物已收回" }, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 0, "netReceived": 500000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 50000, "knownProfit": 50000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "funds_mode": "team", "credit_card_rate_permille": 6 }, "originalJournal": { "sales": 500000, "goods": 450000, "expense": 0, "profit": 50000 }, "summary": { "refundAmount": 90000, "retainedAmount": 410000, "materialReturnedCost": 88000, "laborRestockedCost": 0, "materialLoss": 352000, "costLoss": 362000, "originalDirectCost": 0, "newExpenses": 0, "directCost": 0, "profit": 48000, "finalProfit": 48000, "profitAdjustment": -2000, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ] }, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ], "originalOrder": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": { "id": "", "status": "approved", "action": "return", "action_label": "订单售后", "order_revision": 4, "reason": "客户退回一件", "requester_name": "助理2", "created": "2026-11-19T02:01:03.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:01:05.000Z", "note": "实物已收回" }, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 0, "netReceived": 500000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 50000, "knownProfit": 50000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "funds_mode": "team", "credit_card_rate_permille": 6 } }, "current_status": "returned", "types": [ "货盘现货" ], "mg": 5000, "summaryMg": 5000, "pieces": 0, "originalSale": 500000, "sale": 500000, "material": 440000, "laborAndFees": 10000, "unallocated": 0, "totalCost": 450000, "profit": 50000, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 450000, "known": { "sale": 500000, "material": 440000, "laborAndFees": 10000, "unallocated": 0, "totalCost": 450000, "profit": 50000, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 450000 }, "costItems": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金手链", "amount": 440000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "material" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金手链", "amount": 10000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金手链", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金手链", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金手链", "amount": 10000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金手链", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金手链", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 4, "reviewed_revision": 0 }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118008", "date": "2026-11-18", "created": "2026-11-18T02:01:26.000Z", "customer": "对照驳回客户", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 800, "summaryMg": 800, "pieces": 0, "originalSale": 82000, "sale": 82000, "material": null, "laborAndFees": null, "unallocated": 70000, "totalCost": 70000, "profit": 12000, "ownerCost": 0, "assistantCost": 70000, "assistant2Cost": 0, "known": { "sale": 82000, "material": 0, "laborAndFees": 0, "unallocated": 70000, "totalCost": 70000, "profit": 12000, "ownerCost": 0, "assistantCost": 70000, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金耳钉", "amount": 70000, "payer": "assistant", "excluded": false, "calculation": null, "component": "unallocated" } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 5, "reviewed_revision": 0 }, { "id": "", "member": "owner", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118009", "date": "2026-11-18", "created": "2026-11-18T02:01:27.000Z", "customer": "对照分步客户", "salesperson": "麦麦", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 4000, "summaryMg": 4000, "pieces": 0, "originalSale": 400000, "sale": 400000, "material": null, "laborAndFees": null, "unallocated": 350000, "totalCost": 351800, "profit": 48200, "ownerCost": 351800, "assistantCost": 0, "assistant2Cost": 0, "known": { "sale": 400000, "material": 0, "laborAndFees": 1800, "unallocated": 350000, "totalCost": 351800, "profit": 48200, "ownerCost": 351800, "assistantCost": 0, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金项链", "amount": 350000, "payer": "owner", "excluded": false, "calculation": null, "component": "unallocated" }, { "kind": "paid", "name": "信用卡手续费(6‰)", "source": "2026-11-18", "amount": 1800, "payer": "owner", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "paid", "name": "信用卡手续费(6‰)", "source": "2026-11-18", "amount": 1800, "payer": "owner", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 5, "reviewed_revision": 0 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119010", "date": "2026-11-19", "created": "2026-11-19T02:01:28.000Z", "price_lock_id": "", "customer": "对照锁价客户(改)", "salesperson": "娜娜", "status": "delivered", "note": "锁价备注;锁价单 SJ20261118-;按原锁定金价 900.00元/克结算", "types": [ "货盘现货" ], "mg": 3100, "summaryMg": 3100, "pieces": 0, "originalSale": 286200, "sale": 286200, "material": 264000, "laborAndFees": 3600, "unallocated": 0, "totalCost": 267600, "profit": 18600, "ownerCost": 255600, "assistantCost": 12000, "assistant2Cost": 0, "known": { "sale": 286200, "material": 264000, "laborAndFees": 3600, "unallocated": 0, "totalCost": 267600, "profit": 18600, "ownerCost": 255600, "assistantCost": 12000, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 原锁价采购", "amount": 255000, "payer": "owner", "excluded": false, "priceLockSource": "original", "calculation": { "rate": 85000, "quantity": 3000 } }, { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 补重采购", "amount": 9000, "payer": "assistant", "excluded": false, "priceLockSource": "extra", "calculation": { "rate": 90000, "quantity": 100 } }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "实际快递", "source": "2026-11-19", "amount": 600, "payer": "owner", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "实际快递", "source": "2026-11-19", "amount": 600, "payer": "owner", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 3, "reviewed_revision": 0 }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119011", "date": "2026-11-19", "created": "2026-11-19T02:01:32.000Z", "recovery_id": "", "recovery_mode": "exchange", "nonCashOffset": 0, "cashPaid": 0, "netSettlement": 432792, "recovery_immutable_reason": "本单关联黄金回收/置换、购料及库存,暂不支持普通订单修改、取消、退款、退货或费用变更,请保留原关联记录", "customer": "对照换货客户", "salesperson": "小昊", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 12000, "summaryMg": 12000, "pieces": 0, "originalSale": 432792, "sale": 432792, "material": 360720, "laborAndFees": 6000, "unallocated": 0, "totalCost": 366720, "profit": 66072, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 366720, "known": { "sale": 432792, "material": 360720, "laborAndFees": 6000, "unallocated": 0, "totalCost": 366720, "profit": 66072, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 366720 }, "costItems": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金对照新货", "amount": 360720, "payer": "assistant2", "excluded": false, "calculation": { "rate": 90000, "quantity": 4008 }, "component": "material" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 6000, "payer": "assistant2", "excluded": false, "calculation": { "rate": 500, "quantity": 12000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 6000, "payer": "assistant2", "excluded": false, "calculation": { "rate": 500, "quantity": 12000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 4, "reviewed_revision": 0 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119012", "date": "2026-11-19", "created": "2026-11-19T02:01:33.000Z", "recovery_id": "", "recovery_mode": "exchange", "nonCashOffset": 0, "cashPaid": 0, "netSettlement": 130800, "recovery_immutable_reason": "本单关联黄金回收/置换、购料及库存,暂不支持普通订单修改、取消、退款、退货或费用变更,请保留原关联记录", "customer": "对照换货客户二", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 6000, "summaryMg": 6000, "pieces": 0, "originalSale": 130800, "sale": 130800, "material": 103410, "laborAndFees": 3000, "unallocated": 0, "totalCost": 106410, "profit": 24390, "ownerCost": 0, "assistantCost": 106410, "assistant2Cost": 0, "known": { "sale": 130800, "material": 103410, "laborAndFees": 3000, "unallocated": 0, "totalCost": 106410, "profit": 24390, "ownerCost": 0, "assistantCost": 106410, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金对照新货", "amount": 103410, "payer": "assistant", "excluded": false, "calculation": { "rate": 90000, "quantity": 1149 }, "component": "material" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": { "rate": 500, "quantity": 6000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": { "rate": 500, "quantity": 6000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 4, "reviewed_revision": 0 }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119013", "date": "2026-11-19", "created": "2026-11-19T02:01:48.000Z", "customer": "当天客户(改)", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 2000, "summaryMg": 2000, "pieces": 0, "originalSale": 210000, "sale": 210000, "material": null, "laborAndFees": null, "unallocated": 180000, "totalCost": 180800, "profit": 29200, "ownerCost": 0, "assistantCost": 180800, "assistant2Cost": 0, "known": { "sale": 210000, "material": 0, "laborAndFees": 800, "unallocated": 180000, "totalCost": 180800, "profit": 29200, "ownerCost": 0, "assistantCost": 180800, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金吊坠", "amount": 180000, "payer": "assistant", "excluded": false, "calculation": null, "component": "unallocated" }, { "kind": "paid", "name": "当天快递", "source": "2026-11-19", "amount": 800, "payer": "assistant", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "paid", "name": "当天快递", "source": "2026-11-19", "amount": 800, "payer": "assistant", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 7, "reviewed_revision": 0 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119014", "date": "2026-11-19", "created": "2026-11-19T02:01:57.000Z", "cancellationApproved": { "id": "", "status": "approved", "order_revision": 4, "reason": "当天录错", "requester_name": "助理", "created": "2026-11-19T02:01:59.000Z", "reviewer_name": null, "reviewed": null, "note": "", "direct": true, "operator_name": "助理", "executedAt": "2026-11-19T02:01:59.000Z" }, "customer": "当天取消客户", "salesperson": "娜娜", "status": "cancelled", "note": "", "types": [ "货盘现货" ], "mg": 2000, "summaryMg": 2000, "pieces": 0, "originalSale": 210000, "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0, "known": { "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0 }, "costItems": [], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "录错作废已获麦麦批准,本单销售、成本与收款记账已撤销,原单和审批记录保留", "balance": 0, "revision": 5, "reviewed_revision": 0 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119016", "date": "2026-11-19", "created": "2026-11-19T02:02:51.000Z", "customer": "安全测试", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 500, "summaryMg": 500, "pieces": 0, "originalSale": 50000, "sale": 50000, "material": null, "laborAndFees": null, "unallocated": 42000, "totalCost": 42000, "profit": 8000, "ownerCost": 0, "assistantCost": 42000, "assistant2Cost": 0, "known": { "sale": 50000, "material": 0, "laborAndFees": 0, "unallocated": 42000, "totalCost": 42000, "profit": 8000, "ownerCost": 0, "assistantCost": 42000, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金转运珠", "amount": 42000, "payer": "assistant", "excluded": false, "calculation": null, "component": "unallocated" } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 4, "reviewed_revision": 0 } ], "displayRows": [ { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118001", "date": "2026-11-18", "created": "2026-11-18T02:01:17.000Z", "customer": "对照客户甲(改)", "salesperson": "娜娜", "status": "delivered", "note": "客户单备注", "types": [ "货盘现货" ], "mg": 3250, "summaryMg": 3250, "pieces": 0, "originalSale": 321100, "sale": 321100, "material": 286000, "laborAndFees": 5400, "unallocated": 0, "totalCost": 291400, "profit": 29700, "ownerCost": 286000, "assistantCost": 5400, "assistant2Cost": 0, "known": { "sale": 321100, "material": 286000, "laborAndFees": 5400, "unallocated": 0, "totalCost": 291400, "profit": 29700, "ownerCost": 286000, "assistantCost": 5400, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金999", "amount": 286000, "payer": "owner", "excluded": false, "calculation": { "rate": 88000, "quantity": 3250 }, "component": "material" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 4000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 200, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "快递", "source": "2026-11-18", "amount": 1200, "payer": "assistant", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 4000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 200, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "快递", "source": "2026-11-18", "amount": 1200, "payer": "assistant", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 5, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 2, "updated": "2026-11-18T02:01:50.000Z", "actor": "助理" } }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118002", "date": "2026-11-18", "created": "2026-11-18T02:01:18.000Z", "customer": "对照客户乙", "salesperson": "小昊", "status": "delivered", "note": "", "types": [ "货盘现货", "配货 · 银饰" ], "mg": 2000, "summaryMg": 2000, "pieces": 3, "originalSale": 217163, "sale": 217163, "material": null, "laborAndFees": null, "unallocated": 183000, "totalCost": 183000, "profit": 34163, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 183000, "known": { "sale": 217163, "material": 0, "laborAndFees": 0, "unallocated": 183000, "totalCost": 183000, "profit": 34163, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 183000 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金999", "amount": 180000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "unallocated" }, { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 2 · 纯银925", "amount": 3000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "unallocated" } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 4, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118006", "date": "2026-11-18", "created": "2026-11-18T02:01:24.000Z", "cancellationApproved": { "id": "", "status": "approved", "order_revision": 4, "reason": "重复录入", "requester_name": "助理2", "created": "2026-11-19T02:00:41.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:00:45.000Z", "note": "核对原单后确认" }, "customer": "对照取消客户", "salesperson": "小昊", "status": "cancelled", "note": "", "types": [ "货盘现货" ], "mg": 1500, "summaryMg": 1500, "pieces": 0, "originalSale": 150000, "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0, "known": { "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0 }, "costItems": [], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "录错作废已获麦麦批准,本单销售、成本与收款记账已撤销,原单和审批记录保留", "balance": 0, "revision": 5, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118007", "date": "2026-11-18", "created": "2026-11-18T02:01:25.000Z", "customer": "对照售后订单客户", "salesperson": "小昊", "status": "returned", "note": "", "orderAfterSale": { "orderId": "", "date": "2026-11-19", "reason": "客户退回一件", "deductionReason": "客户确认扣费", "refund": { "amount": 90000, "account": "助理2支付宝", "payer": "assistant2", "reference": "" }, "expenses": [], "original": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": { "id": "", "status": "approved", "action": "return", "action_label": "订单售后", "order_revision": 4, "reason": "客户退回一件", "requester_name": "助理2", "created": "2026-11-19T02:01:03.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:01:05.000Z", "note": "实物已收回" }, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 0, "netReceived": 500000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 50000, "knownProfit": 50000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "funds_mode": "team", "credit_card_rate_permille": 6 }, "originalJournal": { "sales": 500000, "goods": 450000, "expense": 0, "profit": 50000 }, "summary": { "refundAmount": 90000, "retainedAmount": 410000, "materialReturnedCost": 88000, "laborRestockedCost": 0, "materialLoss": 352000, "costLoss": 362000, "originalDirectCost": 0, "newExpenses": 0, "directCost": 0, "profit": 48000, "finalProfit": 48000, "profitAdjustment": -2000, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ] }, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ], "originalOrder": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": { "id": "", "status": "approved", "action": "return", "action_label": "订单售后", "order_revision": 4, "reason": "客户退回一件", "requester_name": "助理2", "created": "2026-11-19T02:01:03.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:01:05.000Z", "note": "实物已收回" }, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 0, "netReceived": 500000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 50000, "knownProfit": 50000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "funds_mode": "team", "credit_card_rate_permille": 6 } }, "current_status": "returned", "types": [ "货盘现货" ], "mg": 5000, "summaryMg": 5000, "pieces": 0, "originalSale": 500000, "sale": 500000, "material": 440000, "laborAndFees": 10000, "unallocated": 0, "totalCost": 450000, "profit": 50000, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 450000, "known": { "sale": 500000, "material": 440000, "laborAndFees": 10000, "unallocated": 0, "totalCost": 450000, "profit": 50000, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 450000 }, "costItems": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金手链", "amount": 440000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "material" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金手链", "amount": 10000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金手链", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金手链", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金手链", "amount": 10000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金手链", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金手链", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 4, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118008", "date": "2026-11-18", "created": "2026-11-18T02:01:26.000Z", "customer": "对照驳回客户", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 800, "summaryMg": 800, "pieces": 0, "originalSale": 82000, "sale": 82000, "material": null, "laborAndFees": null, "unallocated": 70000, "totalCost": 70000, "profit": 12000, "ownerCost": 0, "assistantCost": 70000, "assistant2Cost": 0, "known": { "sale": 82000, "material": 0, "laborAndFees": 0, "unallocated": 70000, "totalCost": 70000, "profit": 12000, "ownerCost": 0, "assistantCost": 70000, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金耳钉", "amount": 70000, "payer": "assistant", "excluded": false, "calculation": null, "component": "unallocated" } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 5, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "owner", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118009", "date": "2026-11-18", "created": "2026-11-18T02:01:27.000Z", "customer": "对照分步客户", "salesperson": "麦麦", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 4000, "summaryMg": 4000, "pieces": 0, "originalSale": 400000, "sale": 400000, "material": null, "laborAndFees": null, "unallocated": 350000, "totalCost": 351800, "profit": 48200, "ownerCost": 351800, "assistantCost": 0, "assistant2Cost": 0, "known": { "sale": 400000, "material": 0, "laborAndFees": 1800, "unallocated": 350000, "totalCost": 351800, "profit": 48200, "ownerCost": 351800, "assistantCost": 0, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金项链", "amount": 350000, "payer": "owner", "excluded": false, "calculation": null, "component": "unallocated" }, { "kind": "paid", "name": "信用卡手续费(6‰)", "source": "2026-11-18", "amount": 1800, "payer": "owner", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "paid", "name": "信用卡手续费(6‰)", "source": "2026-11-18", "amount": 1800, "payer": "owner", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 5, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119010", "date": "2026-11-19", "created": "2026-11-19T02:01:28.000Z", "price_lock_id": "", "customer": "对照锁价客户(改)", "salesperson": "娜娜", "status": "delivered", "note": "锁价备注;锁价单 SJ20261118-;按原锁定金价 900.00元/克结算", "types": [ "货盘现货" ], "mg": 3100, "summaryMg": 3100, "pieces": 0, "originalSale": 286200, "sale": 286200, "material": 264000, "laborAndFees": 3600, "unallocated": 0, "totalCost": 267600, "profit": 18600, "ownerCost": 255600, "assistantCost": 12000, "assistant2Cost": 0, "known": { "sale": 286200, "material": 264000, "laborAndFees": 3600, "unallocated": 0, "totalCost": 267600, "profit": 18600, "ownerCost": 255600, "assistantCost": 12000, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 原锁价采购", "amount": 255000, "payer": "owner", "excluded": false, "priceLockSource": "original", "calculation": { "rate": 85000, "quantity": 3000 } }, { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 补重采购", "amount": 9000, "payer": "assistant", "excluded": false, "priceLockSource": "extra", "calculation": { "rate": 90000, "quantity": 100 } }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "实际快递", "source": "2026-11-19", "amount": 600, "payer": "owner", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "实际快递", "source": "2026-11-19", "amount": 600, "payer": "owner", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 3, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119011", "date": "2026-11-19", "created": "2026-11-19T02:01:32.000Z", "recovery_id": "", "recovery_mode": "exchange", "nonCashOffset": 0, "cashPaid": 0, "netSettlement": 432792, "recovery_immutable_reason": "本单关联黄金回收/置换、购料及库存,暂不支持普通订单修改、取消、退款、退货或费用变更,请保留原关联记录", "customer": "对照换货客户", "salesperson": "小昊", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 12000, "summaryMg": 12000, "pieces": 0, "originalSale": 432792, "sale": 432792, "material": 360720, "laborAndFees": 6000, "unallocated": 0, "totalCost": 366720, "profit": 66072, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 366720, "known": { "sale": 432792, "material": 360720, "laborAndFees": 6000, "unallocated": 0, "totalCost": 366720, "profit": 66072, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 366720 }, "costItems": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金对照新货", "amount": 360720, "payer": "assistant2", "excluded": false, "calculation": { "rate": 90000, "quantity": 4008 }, "component": "material" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 6000, "payer": "assistant2", "excluded": false, "calculation": { "rate": 500, "quantity": 12000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 6000, "payer": "assistant2", "excluded": false, "calculation": { "rate": 500, "quantity": 12000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 4, "reviewed_revision": 0, "printStatus": { "kind": "recovery", "id": "", "printed": true, "revision": 1, "updated": "2026-11-19T02:01:40.000Z", "actor": "助理2" } }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119012", "date": "2026-11-19", "created": "2026-11-19T02:01:33.000Z", "recovery_id": "", "recovery_mode": "exchange", "nonCashOffset": 0, "cashPaid": 0, "netSettlement": 130800, "recovery_immutable_reason": "本单关联黄金回收/置换、购料及库存,暂不支持普通订单修改、取消、退款、退货或费用变更,请保留原关联记录", "customer": "对照换货客户二", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 6000, "summaryMg": 6000, "pieces": 0, "originalSale": 130800, "sale": 130800, "material": 103410, "laborAndFees": 3000, "unallocated": 0, "totalCost": 106410, "profit": 24390, "ownerCost": 0, "assistantCost": 106410, "assistant2Cost": 0, "known": { "sale": 130800, "material": 103410, "laborAndFees": 3000, "unallocated": 0, "totalCost": 106410, "profit": 24390, "ownerCost": 0, "assistantCost": 106410, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金对照新货", "amount": 103410, "payer": "assistant", "excluded": false, "calculation": { "rate": 90000, "quantity": 1149 }, "component": "material" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": { "rate": 500, "quantity": 6000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": { "rate": 500, "quantity": 6000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 4, "reviewed_revision": 0, "printStatus": { "kind": "recovery", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119013", "date": "2026-11-19", "created": "2026-11-19T02:01:48.000Z", "customer": "当天客户(改)", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 2000, "summaryMg": 2000, "pieces": 0, "originalSale": 210000, "sale": 210000, "material": null, "laborAndFees": null, "unallocated": 180000, "totalCost": 180800, "profit": 29200, "ownerCost": 0, "assistantCost": 180800, "assistant2Cost": 0, "known": { "sale": 210000, "material": 0, "laborAndFees": 800, "unallocated": 180000, "totalCost": 180800, "profit": 29200, "ownerCost": 0, "assistantCost": 180800, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金吊坠", "amount": 180000, "payer": "assistant", "excluded": false, "calculation": null, "component": "unallocated" }, { "kind": "paid", "name": "当天快递", "source": "2026-11-19", "amount": 800, "payer": "assistant", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "paid", "name": "当天快递", "source": "2026-11-19", "amount": 800, "payer": "assistant", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 7, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119014", "date": "2026-11-19", "created": "2026-11-19T02:01:57.000Z", "cancellationApproved": { "id": "", "status": "approved", "order_revision": 4, "reason": "当天录错", "requester_name": "助理", "created": "2026-11-19T02:01:59.000Z", "reviewer_name": null, "reviewed": null, "note": "", "direct": true, "operator_name": "助理", "executedAt": "2026-11-19T02:01:59.000Z" }, "customer": "当天取消客户", "salesperson": "娜娜", "status": "cancelled", "note": "", "types": [ "货盘现货" ], "mg": 2000, "summaryMg": 2000, "pieces": 0, "originalSale": 210000, "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0, "known": { "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0 }, "costItems": [], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "录错作废已获麦麦批准,本单销售、成本与收款记账已撤销,原单和审批记录保留", "balance": 0, "revision": 5, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119016", "date": "2026-11-19", "created": "2026-11-19T02:02:51.000Z", "customer": "安全测试", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 500, "summaryMg": 500, "pieces": 0, "originalSale": 50000, "sale": 50000, "material": null, "laborAndFees": null, "unallocated": 42000, "totalCost": 42000, "profit": 8000, "ownerCost": 0, "assistantCost": 42000, "assistant2Cost": 0, "known": { "sale": 50000, "material": 0, "laborAndFees": 0, "unallocated": 42000, "totalCost": 42000, "profit": 8000, "ownerCost": 0, "assistantCost": 42000, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金转运珠", "amount": 42000, "payer": "assistant", "excluded": false, "calculation": null, "component": "unallocated" } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 4, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } } ], "recoveryCount": 0, "summary": { "orderCount": 12, "completedCount": 10, "draftCount": 0, "confirmedCount": 0, "returnedCount": 0, "cancelledCount": 2, "incompleteCount": 0, "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "unknownCostCount": 0, "unknownProfitCount": 0, "legacyUnallocatedCount": 5, "sale": 2630055, "material": 1454130, "laborAndFees": 30600, "unallocated": 825000, "totalCost": 2309730, "profit": 320325, "ownerCost": 893400, "assistantCost": 416610, "assistant2Cost": 999720, "mg": 42150, "pieces": 3, "knownCounts": { "sale": 12, "material": 7, "laborAndFees": 7, "unallocated": 12, "totalCost": 12, "profit": 12, "ownerCost": 12, "assistantCost": 12, "assistant2Cost": 12 }, "unknownCounts": { "sale": 0, "material": 5, "laborAndFees": 5, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0 }, "partial": true, "afterSaleCount": 0, "recordCount": 12 }, "peopleCount": { "from": "2026-11-18", "date": "2026-11-19", "baselineDate": "2026-11-17", "mode": "daily-total", "assistant1": { "total": 7, "endTotal": 7, "baselineTotal": null, "baselineDate": null, "netChange": null, "netChangeReason": "missing-previous", "recordedDays": 2 }, "assistant2": { "total": 4, "endTotal": 4, "baselineTotal": null, "baselineDate": null, "netChange": null, "netChangeReason": "missing-previous", "recordedDays": 2 } }, "priceLockActivity": { "basis": "eventDate", "from": "2026-11-18", "date": "2026-11-19", "customerCash": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 270000, "account": "助理微信", "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:53.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null }, { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 50000, "account": "助理2微信", "number": "SJ20261118-", "customer": "对照锁价客户三", "product": "足金999", "actor": "助理2", "created": "2026-11-18T02:01:55.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null }, { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 120000, "account": "助理支付宝", "number": "SJ20261118-", "customer": "对照锁价客户二", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:02:02.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null }, { "id": "", "price_lock_id": "", "date": "2026-11-19", "kind": "receipt", "amount": 16200, "account": "助理支付宝", "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-19T02:01:28.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null } ], "orderPayments": [], "materialOutlays": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "material", "amount": 255000, "payer": "owner", "source": "original", "quantity": 3000, "rate": 85000, "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:53.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "component": "material" }, { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "material", "amount": 255000, "payer": "owner", "source": "original", "quantity": 3000, "rate": 85000, "number": "SJ20261118-", "customer": "对照锁价客户二", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:54.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "component": "material" }, { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "material", "amount": 258000, "payer": "assistant2", "source": "original", "quantity": 3000, "rate": 86000, "number": "SJ20261118-", "customer": "对照锁价客户三", "product": "足金999", "actor": "助理2", "created": "2026-11-18T02:01:55.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "component": "material" }, { "id": "", "price_lock_id": "", "date": "2026-11-19", "kind": "material", "amount": 9000, "payer": "assistant", "source": "extra", "quantity": 100, "rate": 90000, "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-19T02:01:28.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "component": "material" } ], "directOutlays": [ { "id": "", "order_id": "", "date": "2026-11-19", "amount": 600, "payer": "owner", "note": "实际快递", "actor": "助理", "created": "2026-11-19T02:01:28.000Z", "price_lock_id": "", "number": "SJ20261118-", "customer": "对照锁价客户(改)", "kind": "fee", "component": "fee", "product": "足金999" } ], "deliveryGoodsOutlays": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": null, "id": "price-lock-goods::0", "price_lock_id": "", "order_id": "", "number": "MM20261119-", "paper_number": "20261119010", "customer": "对照锁价客户(改)", "date": "2026-11-19", "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "id": "price-lock-goods::1", "price_lock_id": "", "order_id": "", "number": "MM20261119-", "paper_number": "20261119010", "customer": "对照锁价客户(改)", "date": "2026-11-19", "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "id": "price-lock-goods::2", "price_lock_id": "", "order_id": "", "number": "MM20261119-", "paper_number": "20261119010", "customer": "对照锁价客户(改)", "date": "2026-11-19", "component": "other" } ], "receipts": { "receipt": 456200, "refund": 0, "net": 456200, "channels": [ { "channel": "wechat", "name": "微信", "receipt": 320000, "refund": 0, "net": 320000 }, { "channel": "alipay", "name": "支付宝", "receipt": 136200, "refund": 0, "net": 136200 }, { "channel": "cash", "name": "现金", "receipt": 0, "refund": 0, "net": 0 } ], "accounts": [ { "account": "助理微信", "receipt": 270000, "refund": 0, "net": 270000 }, { "account": "助理支付宝", "receipt": 136200, "refund": 0, "net": 136200 }, { "account": "助理现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2微信", "receipt": 50000, "refund": 0, "net": 50000 }, { "account": "助理2支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2现金", "receipt": 0, "refund": 0, "net": 0 } ], "paymentCount": 4, "orderCount": 3 }, "payerOutlays": { "owner": { "payer": "owner", "material": 510000, "goods": 510000, "paidFees": 600, "total": 510600 }, "assistant": { "payer": "assistant", "material": 9000, "goods": 12000, "paidFees": 0, "total": 12000 }, "assistant2": { "payer": "assistant2", "material": 258000, "goods": 258000, "paidFees": 0, "total": 258000 } }, "summary": { "receipt": 456200, "refund": 0, "net": 456200, "materialOutlay": 777000, "goodsOutlay": 780000, "feeOutlay": 600, "ownerOutlay": 510600, "assistantOutlay": 12000, "assistant2Outlay": 258000, "totalOutlay": 780600, "eventCount": 12, "lockCount": 3 } }, "materialPoolActivity": { "basis": "purchaseDate", "from": "2026-11-18", "date": "2026-11-19", "purchases": [ { "id": "", "pool_id": "2026-11-18", "date": "2026-11-18", "mg": 11000, "amount": 990000, "payer": "assistant", "note": "核对凭据", "actor": "助理", "created": "2026-11-18T02:01:09.000Z", "revision": 2, "deleted_at": "", "updated": "2026-11-19T02:02:27.000Z" }, { "id": "", "pool_id": "2026-11-18", "date": "2026-11-18", "mg": 20000, "amount": 1820000, "payer": "owner", "note": "麦麦购料", "actor": "麦麦", "created": "2026-11-18T02:01:10.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-18T02:01:10.000Z" }, { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 5000, "amount": 460000, "payer": "assistant", "note": "第二天购料", "actor": "助理", "created": "2026-11-19T02:02:19.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:19.000Z" }, { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 4000, "amount": 370000, "payer": "assistant2", "note": "", "actor": "助理2", "created": "2026-11-19T02:02:20.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:20.000Z" } ], "payerOutlays": { "owner": { "payer": "owner", "material": 1820000, "goods": 1820000, "paidFees": 0, "total": 1820000, "purchaseCount": 1 }, "assistant": { "payer": "assistant", "material": 1450000, "goods": 1450000, "paidFees": 0, "total": 1450000, "purchaseCount": 2 }, "assistant2": { "payer": "assistant2", "material": 370000, "goods": 370000, "paidFees": 0, "total": 370000, "purchaseCount": 1 } }, "summary": { "purchaseCount": 4, "poolCount": 2, "mg": 40000, "materialOutlay": 3640000, "purchaseValue": 3640000, "ownerOutlay": 1820000, "assistantOutlay": 1450000, "assistant2Outlay": 370000, "totalOutlay": 3640000, "eventCount": 4 } }, "summaryWithoutCancelled": { "orderCount": 10, "completedCount": 10, "draftCount": 0, "confirmedCount": 0, "returnedCount": 0, "cancelledCount": 0, "incompleteCount": 0, "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "unknownCostCount": 0, "unknownProfitCount": 0, "legacyUnallocatedCount": 5, "sale": 2630055, "material": 1454130, "laborAndFees": 30600, "unallocated": 825000, "totalCost": 2309730, "profit": 320325, "ownerCost": 893400, "assistantCost": 416610, "assistant2Cost": 999720, "mg": 38650, "pieces": 3, "knownCounts": { "sale": 10, "material": 5, "laborAndFees": 5, "unallocated": 10, "totalCost": 10, "profit": 10, "ownerCost": 10, "assistantCost": 10, "assistant2Cost": 10 }, "unknownCounts": { "sale": 0, "material": 5, "laborAndFees": 5, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0 }, "partial": true, "afterSaleCount": 0, "recordCount": 10 }, "receiptsWithoutCancelled": { "basis": "orderDate", "filterScope": "matchingOrdersWithoutCancelled", "from": "2026-11-18", "date": "2026-11-19", "receipt": 2630055, "refund": 0, "net": 2630055, "channels": [ { "channel": "wechat", "name": "微信", "receipt": 1914692, "refund": 0, "net": 1914692 }, { "channel": "alipay", "name": "支付宝", "receipt": 415363, "refund": 0, "net": 415363 }, { "channel": "cash", "name": "现金", "receipt": 0, "refund": 0, "net": 0 }, { "channel": "credit_card", "name": "信用卡", "receipt": 300000, "refund": 0, "net": 300000 } ], "accounts": [ { "account": "助理微信", "receipt": 981900, "refund": 0, "net": 981900 }, { "account": "助理支付宝", "receipt": 98200, "refund": 0, "net": 98200 }, { "account": "助理现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦支付宝", "receipt": 100000, "refund": 0, "net": 100000 }, { "account": "麦麦现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦信用卡", "receipt": 300000, "refund": 0, "net": 300000 }, { "account": "助理2微信", "receipt": 932792, "refund": 0, "net": 932792 }, { "account": "助理2支付宝", "receipt": 217163, "refund": 0, "net": 217163 }, { "account": "助理2现金", "receipt": 0, "refund": 0, "net": 0 } ], "paymentCount": 12, "orderCount": 10 }, "receiptsByPaymentDate": { "basis": "paymentDate", "filterScope": "dateRange", "from": "2026-11-18", "date": "2026-11-19", "receipt": 4618555, "refund": 90000, "net": 4528555, "channels": [ { "channel": "wechat", "name": "微信", "receipt": 2184692, "refund": 0, "net": 2184692 }, { "channel": "alipay", "name": "支付宝", "receipt": 535363, "refund": 90000, "net": 445363 }, { "channel": "cash", "name": "现金", "receipt": 1310000, "refund": 0, "net": 1310000 }, { "channel": "credit_card", "name": "信用卡", "receipt": 588500, "refund": 0, "net": 588500 } ], "accounts": [ { "account": "助理微信", "receipt": 1201900, "refund": 0, "net": 1201900 }, { "account": "助理支付宝", "receipt": 218200, "refund": 0, "net": 218200 }, { "account": "助理现金", "receipt": 330000, "refund": 0, "net": 330000 }, { "account": "麦麦微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦支付宝", "receipt": 100000, "refund": 0, "net": 100000 }, { "account": "麦麦现金", "receipt": 980000, "refund": 0, "net": 980000 }, { "account": "麦麦信用卡", "receipt": 588500, "refund": 0, "net": 588500 }, { "account": "助理2微信", "receipt": 982792, "refund": 0, "net": 982792 }, { "account": "助理2支付宝", "receipt": 217163, "refund": 90000, "net": 127163 }, { "account": "助理2现金", "receipt": 0, "refund": 0, "net": 0 } ], "paymentCount": 23, "orderCount": 18 }, "receiptsByOrderDate": { "basis": "orderDate", "filterScope": "matchingOrders", "from": "2026-11-18", "date": "2026-11-19", "receipt": 2630055, "refund": 0, "net": 2630055, "channels": [ { "channel": "wechat", "name": "微信", "receipt": 1914692, "refund": 0, "net": 1914692 }, { "channel": "alipay", "name": "支付宝", "receipt": 415363, "refund": 0, "net": 415363 }, { "channel": "cash", "name": "现金", "receipt": 0, "refund": 0, "net": 0 }, { "channel": "credit_card", "name": "信用卡", "receipt": 300000, "refund": 0, "net": 300000 } ], "accounts": [ { "account": "助理微信", "receipt": 981900, "refund": 0, "net": 981900 }, { "account": "助理支付宝", "receipt": 98200, "refund": 0, "net": 98200 }, { "account": "助理现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦支付宝", "receipt": 100000, "refund": 0, "net": 100000 }, { "account": "麦麦现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦信用卡", "receipt": 300000, "refund": 0, "net": 300000 }, { "account": "助理2微信", "receipt": 932792, "refund": 0, "net": 932792 }, { "account": "助理2支付宝", "receipt": 217163, "refund": 0, "net": 217163 }, { "account": "助理2现金", "receipt": 0, "refund": 0, "net": 0 } ], "paymentCount": 16, "orderCount": 12 } } }, { "seq": 472, "label": "order-book-filter member=assistant", "date": "2026-11-19", "actor": "owner", "method": "GET", "path": "/api/order-book?from=2026-11-18&date=2026-11-19&member=assistant", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "from": "2026-11-18", "date": "2026-11-19", "today": "2026-11-19", "q": "", "status": "all", "pocket": "", "rows": [ { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118001", "date": "2026-11-18", "created": "2026-11-18T02:01:17.000Z", "customer": "对照客户甲(改)", "salesperson": "娜娜", "status": "delivered", "note": "客户单备注", "types": [ "货盘现货" ], "mg": 3250, "summaryMg": 3250, "pieces": 0, "originalSale": 321100, "sale": 321100, "material": 286000, "laborAndFees": 5400, "unallocated": 0, "totalCost": 291400, "profit": 29700, "ownerCost": 286000, "assistantCost": 5400, "assistant2Cost": 0, "known": { "sale": 321100, "material": 286000, "laborAndFees": 5400, "unallocated": 0, "totalCost": 291400, "profit": 29700, "ownerCost": 286000, "assistantCost": 5400, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金999", "amount": 286000, "payer": "owner", "excluded": false, "calculation": { "rate": 88000, "quantity": 3250 }, "component": "material" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 4000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 200, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "快递", "source": "2026-11-18", "amount": 1200, "payer": "assistant", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 4000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 200, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "快递", "source": "2026-11-18", "amount": 1200, "payer": "assistant", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 5, "reviewed_revision": 0 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118003", "date": "2026-11-18", "created": "2026-11-18T02:01:19.000Z", "customer": "对照客户丙", "salesperson": "麦麦", "status": "delivered", "note": "老板改备注", "types": [ "配货" ], "mg": 0, "summaryMg": 0, "pieces": 1, "originalSale": 288500, "sale": 288500, "material": null, "laborAndFees": null, "unallocated": 150000, "totalCost": 151731, "profit": 136769, "ownerCost": 151731, "assistantCost": 0, "assistant2Cost": 0, "known": { "sale": 288500, "material": 0, "laborAndFees": 1731, "unallocated": 150000, "totalCost": 151731, "profit": 136769, "ownerCost": 151731, "assistantCost": 0, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 金镶玉吊坠", "amount": 150000, "payer": "owner", "excluded": false, "calculation": null, "component": "unallocated" }, { "kind": "paid", "name": "信用卡手续费(6‰)", "source": "2026-11-18", "amount": 1731, "payer": "owner", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "paid", "name": "信用卡手续费(6‰)", "source": "2026-11-18", "amount": 1731, "payer": "owner", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 5, "reviewed_revision": 0 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118004", "date": "2026-11-18", "created": "2026-11-18T02:01:20.000Z", "materialPoolIds": [ "2026-11-18" ], "materialCostPending": false, "customer": "对照客户丁", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "配货" ], "mg": 3000, "summaryMg": 3000, "pieces": 0, "originalSale": 330000, "sale": 330000, "material": 271935, "laborAndFees": 1000, "unallocated": 0, "totalCost": 272935, "profit": 57065, "ownerCost": 0, "assistantCost": 272935, "assistant2Cost": 0, "known": { "sale": 330000, "material": 271935, "laborAndFees": 1000, "unallocated": 0, "totalCost": 272935, "profit": 57065, "ownerCost": 0, "assistantCost": 272935, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 2026-11-18日购料", "amount": 271935, "payer": "assistant", "excluded": false, "materialPoolId": "2026-11-18", "materialPoolRevision": "2823f40ff78424f5423f0dbdf991ea5fcc83b0144648e9d2399869970c27af75", "calculation": { "rate": 90645, "quantity": 3000, "weighted": true } }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "补寄快递", "source": "2026-11-19", "amount": 1000, "payer": "assistant", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "补寄快递", "source": "2026-11-19", "amount": 1000, "payer": "assistant", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 6, "reviewed_revision": 0 }, { "id": "", "kind": "afterSale", "after_sale_id": "", "number": "售后", "paper_number": "", "date": "2026-11-18", "created": "2026-11-18T02:02:03.000Z", "customer": "对照售后客户", "salesperson": "助理", "status": "after_sale", "project": "对照改圈", "note": "对照改圈", "amount": 950, "payer": "assistant", "types": [ "售后" ], "mg": 0, "summaryMg": 0, "pieces": 0, "originalSale": 0, "sale": 0, "material": 0, "laborAndFees": 950, "unallocated": 0, "totalCost": 950, "profit": -950, "ownerCost": 0, "assistantCost": 950, "known": { "sale": 0, "material": 0, "laborAndFees": 950, "unallocated": 0, "totalCost": 950, "profit": -950, "ownerCost": 0, "assistantCost": 950 }, "costItems": [ { "kind": "afterSale", "after_sale_id": "", "name": "对照改圈", "source": "售后 · 2026-11-18", "amount": 950, "payer": "assistant", "component": "fee", "calculation": null } ], "laborAndFeeItems": [ { "kind": "afterSale", "after_sale_id": "", "name": "对照改圈", "source": "售后 · 2026-11-18", "amount": 950, "payer": "assistant", "component": "fee", "calculation": null } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "独立售后支出,计入所选日期利润", "balance": 0, "revision": 2, "reviewed_revision": 2 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119010", "date": "2026-11-19", "created": "2026-11-19T02:01:28.000Z", "price_lock_id": "", "customer": "对照锁价客户(改)", "salesperson": "娜娜", "status": "delivered", "note": "锁价备注;锁价单 SJ20261118-;按原锁定金价 900.00元/克结算", "types": [ "货盘现货" ], "mg": 3100, "summaryMg": 3100, "pieces": 0, "originalSale": 286200, "sale": 286200, "material": 264000, "laborAndFees": 3600, "unallocated": 0, "totalCost": 267600, "profit": 18600, "ownerCost": 255600, "assistantCost": 12000, "assistant2Cost": 0, "known": { "sale": 286200, "material": 264000, "laborAndFees": 3600, "unallocated": 0, "totalCost": 267600, "profit": 18600, "ownerCost": 255600, "assistantCost": 12000, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 原锁价采购", "amount": 255000, "payer": "owner", "excluded": false, "priceLockSource": "original", "calculation": { "rate": 85000, "quantity": 3000 } }, { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 补重采购", "amount": 9000, "payer": "assistant", "excluded": false, "priceLockSource": "extra", "calculation": { "rate": 90000, "quantity": 100 } }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "实际快递", "source": "2026-11-19", "amount": 600, "payer": "owner", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "实际快递", "source": "2026-11-19", "amount": 600, "payer": "owner", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 3, "reviewed_revision": 0 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119012", "date": "2026-11-19", "created": "2026-11-19T02:01:33.000Z", "recovery_id": "", "recovery_mode": "exchange", "nonCashOffset": 0, "cashPaid": 0, "netSettlement": 130800, "recovery_immutable_reason": "本单关联黄金回收/置换、购料及库存,暂不支持普通订单修改、取消、退款、退货或费用变更,请保留原关联记录", "customer": "对照换货客户二", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 6000, "summaryMg": 6000, "pieces": 0, "originalSale": 130800, "sale": 130800, "material": 103410, "laborAndFees": 3000, "unallocated": 0, "totalCost": 106410, "profit": 24390, "ownerCost": 0, "assistantCost": 106410, "assistant2Cost": 0, "known": { "sale": 130800, "material": 103410, "laborAndFees": 3000, "unallocated": 0, "totalCost": 106410, "profit": 24390, "ownerCost": 0, "assistantCost": 106410, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金对照新货", "amount": 103410, "payer": "assistant", "excluded": false, "calculation": { "rate": 90000, "quantity": 1149 }, "component": "material" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": { "rate": 500, "quantity": 6000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": { "rate": 500, "quantity": 6000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 4, "reviewed_revision": 0 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119014", "date": "2026-11-19", "created": "2026-11-19T02:01:57.000Z", "cancellationApproved": { "id": "", "status": "approved", "order_revision": 4, "reason": "当天录错", "requester_name": "助理", "created": "2026-11-19T02:01:59.000Z", "reviewer_name": null, "reviewed": null, "note": "", "direct": true, "operator_name": "助理", "executedAt": "2026-11-19T02:01:59.000Z" }, "customer": "当天取消客户", "salesperson": "娜娜", "status": "cancelled", "note": "", "types": [ "货盘现货" ], "mg": 2000, "summaryMg": 2000, "pieces": 0, "originalSale": 210000, "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0, "known": { "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0 }, "costItems": [], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "录错作废已获麦麦批准,本单销售、成本与收款记账已撤销,原单和审批记录保留", "balance": 0, "revision": 5, "reviewed_revision": 0 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119015", "date": "2026-11-19", "created": "2026-11-19T02:02:40.000Z", "materialPoolIds": [ "2026-11-19" ], "materialCostPending": false, "customer": "滚动料池客户", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "配货" ], "mg": 2000, "summaryMg": 2000, "pieces": 0, "originalSale": 220000, "sale": 220000, "material": 181898, "laborAndFees": 0, "unallocated": 0, "totalCost": 181898, "profit": 38102, "ownerCost": 0, "assistantCost": 181898, "assistant2Cost": 0, "known": { "sale": 220000, "material": 181898, "laborAndFees": 0, "unallocated": 0, "totalCost": 181898, "profit": 38102, "ownerCost": 0, "assistantCost": 181898, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 2026-11-19日购料", "amount": 181898, "payer": "assistant", "excluded": false, "materialPoolId": "2026-11-19", "materialPoolRevision": "2e1d58e4d359165036a53976f4ed30c7052bb21df8bd2eb46c6544546a2e818b", "calculation": { "rate": 90949, "quantity": 2000, "weighted": true } }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 4, "reviewed_revision": 0 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119016", "date": "2026-11-19", "created": "2026-11-19T02:02:51.000Z", "customer": "安全测试", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 500, "summaryMg": 500, "pieces": 0, "originalSale": 50000, "sale": 50000, "material": null, "laborAndFees": null, "unallocated": 42000, "totalCost": 42000, "profit": 8000, "ownerCost": 0, "assistantCost": 42000, "assistant2Cost": 0, "known": { "sale": 50000, "material": 0, "laborAndFees": 0, "unallocated": 42000, "totalCost": 42000, "profit": 8000, "ownerCost": 0, "assistantCost": 42000, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金转运珠", "amount": 42000, "payer": "assistant", "excluded": false, "calculation": null, "component": "unallocated" } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 4, "reviewed_revision": 0 } ], "displayRows": [ { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118001", "date": "2026-11-18", "created": "2026-11-18T02:01:17.000Z", "customer": "对照客户甲(改)", "salesperson": "娜娜", "status": "delivered", "note": "客户单备注", "types": [ "货盘现货" ], "mg": 3250, "summaryMg": 3250, "pieces": 0, "originalSale": 321100, "sale": 321100, "material": 286000, "laborAndFees": 5400, "unallocated": 0, "totalCost": 291400, "profit": 29700, "ownerCost": 286000, "assistantCost": 5400, "assistant2Cost": 0, "known": { "sale": 321100, "material": 286000, "laborAndFees": 5400, "unallocated": 0, "totalCost": 291400, "profit": 29700, "ownerCost": 286000, "assistantCost": 5400, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金999", "amount": 286000, "payer": "owner", "excluded": false, "calculation": { "rate": 88000, "quantity": 3250 }, "component": "material" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 4000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 200, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "快递", "source": "2026-11-18", "amount": 1200, "payer": "assistant", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 4000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 200, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "快递", "source": "2026-11-18", "amount": 1200, "payer": "assistant", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 5, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 2, "updated": "2026-11-18T02:01:50.000Z", "actor": "助理" } }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118003", "date": "2026-11-18", "created": "2026-11-18T02:01:19.000Z", "customer": "对照客户丙", "salesperson": "麦麦", "status": "delivered", "note": "老板改备注", "types": [ "配货" ], "mg": 0, "summaryMg": 0, "pieces": 1, "originalSale": 288500, "sale": 288500, "material": null, "laborAndFees": null, "unallocated": 150000, "totalCost": 151731, "profit": 136769, "ownerCost": 151731, "assistantCost": 0, "assistant2Cost": 0, "known": { "sale": 288500, "material": 0, "laborAndFees": 1731, "unallocated": 150000, "totalCost": 151731, "profit": 136769, "ownerCost": 151731, "assistantCost": 0, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 金镶玉吊坠", "amount": 150000, "payer": "owner", "excluded": false, "calculation": null, "component": "unallocated" }, { "kind": "paid", "name": "信用卡手续费(6‰)", "source": "2026-11-18", "amount": 1731, "payer": "owner", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "paid", "name": "信用卡手续费(6‰)", "source": "2026-11-18", "amount": 1731, "payer": "owner", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 5, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118004", "date": "2026-11-18", "created": "2026-11-18T02:01:20.000Z", "materialPoolIds": [ "2026-11-18" ], "materialCostPending": false, "customer": "对照客户丁", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "配货" ], "mg": 3000, "summaryMg": 3000, "pieces": 0, "originalSale": 330000, "sale": 330000, "material": 271935, "laborAndFees": 1000, "unallocated": 0, "totalCost": 272935, "profit": 57065, "ownerCost": 0, "assistantCost": 272935, "assistant2Cost": 0, "known": { "sale": 330000, "material": 271935, "laborAndFees": 1000, "unallocated": 0, "totalCost": 272935, "profit": 57065, "ownerCost": 0, "assistantCost": 272935, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 2026-11-18日购料", "amount": 271935, "payer": "assistant", "excluded": false, "materialPoolId": "2026-11-18", "materialPoolRevision": "2823f40ff78424f5423f0dbdf991ea5fcc83b0144648e9d2399869970c27af75", "calculation": { "rate": 90645, "quantity": 3000, "weighted": true } }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "补寄快递", "source": "2026-11-19", "amount": 1000, "payer": "assistant", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "补寄快递", "source": "2026-11-19", "amount": 1000, "payer": "assistant", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 6, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "kind": "afterSale", "after_sale_id": "", "number": "售后", "paper_number": "", "date": "2026-11-18", "created": "2026-11-18T02:02:03.000Z", "customer": "对照售后客户", "salesperson": "助理", "status": "after_sale", "project": "对照改圈", "note": "对照改圈", "amount": 950, "payer": "assistant", "types": [ "售后" ], "mg": 0, "summaryMg": 0, "pieces": 0, "originalSale": 0, "sale": 0, "material": 0, "laborAndFees": 950, "unallocated": 0, "totalCost": 950, "profit": -950, "ownerCost": 0, "assistantCost": 950, "known": { "sale": 0, "material": 0, "laborAndFees": 950, "unallocated": 0, "totalCost": 950, "profit": -950, "ownerCost": 0, "assistantCost": 950 }, "costItems": [ { "kind": "afterSale", "after_sale_id": "", "name": "对照改圈", "source": "售后 · 2026-11-18", "amount": 950, "payer": "assistant", "component": "fee", "calculation": null } ], "laborAndFeeItems": [ { "kind": "afterSale", "after_sale_id": "", "name": "对照改圈", "source": "售后 · 2026-11-18", "amount": 950, "payer": "assistant", "component": "fee", "calculation": null } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "独立售后支出,计入所选日期利润", "balance": 0, "revision": 2, "reviewed_revision": 2 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119010", "date": "2026-11-19", "created": "2026-11-19T02:01:28.000Z", "price_lock_id": "", "customer": "对照锁价客户(改)", "salesperson": "娜娜", "status": "delivered", "note": "锁价备注;锁价单 SJ20261118-;按原锁定金价 900.00元/克结算", "types": [ "货盘现货" ], "mg": 3100, "summaryMg": 3100, "pieces": 0, "originalSale": 286200, "sale": 286200, "material": 264000, "laborAndFees": 3600, "unallocated": 0, "totalCost": 267600, "profit": 18600, "ownerCost": 255600, "assistantCost": 12000, "assistant2Cost": 0, "known": { "sale": 286200, "material": 264000, "laborAndFees": 3600, "unallocated": 0, "totalCost": 267600, "profit": 18600, "ownerCost": 255600, "assistantCost": 12000, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 原锁价采购", "amount": 255000, "payer": "owner", "excluded": false, "priceLockSource": "original", "calculation": { "rate": 85000, "quantity": 3000 } }, { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 补重采购", "amount": 9000, "payer": "assistant", "excluded": false, "priceLockSource": "extra", "calculation": { "rate": 90000, "quantity": 100 } }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "实际快递", "source": "2026-11-19", "amount": 600, "payer": "owner", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "实际快递", "source": "2026-11-19", "amount": 600, "payer": "owner", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 3, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119012", "date": "2026-11-19", "created": "2026-11-19T02:01:33.000Z", "recovery_id": "", "recovery_mode": "exchange", "nonCashOffset": 0, "cashPaid": 0, "netSettlement": 130800, "recovery_immutable_reason": "本单关联黄金回收/置换、购料及库存,暂不支持普通订单修改、取消、退款、退货或费用变更,请保留原关联记录", "customer": "对照换货客户二", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 6000, "summaryMg": 6000, "pieces": 0, "originalSale": 130800, "sale": 130800, "material": 103410, "laborAndFees": 3000, "unallocated": 0, "totalCost": 106410, "profit": 24390, "ownerCost": 0, "assistantCost": 106410, "assistant2Cost": 0, "known": { "sale": 130800, "material": 103410, "laborAndFees": 3000, "unallocated": 0, "totalCost": 106410, "profit": 24390, "ownerCost": 0, "assistantCost": 106410, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金对照新货", "amount": 103410, "payer": "assistant", "excluded": false, "calculation": { "rate": 90000, "quantity": 1149 }, "component": "material" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": { "rate": 500, "quantity": 6000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": { "rate": 500, "quantity": 6000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 4, "reviewed_revision": 0, "printStatus": { "kind": "recovery", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119014", "date": "2026-11-19", "created": "2026-11-19T02:01:57.000Z", "cancellationApproved": { "id": "", "status": "approved", "order_revision": 4, "reason": "当天录错", "requester_name": "助理", "created": "2026-11-19T02:01:59.000Z", "reviewer_name": null, "reviewed": null, "note": "", "direct": true, "operator_name": "助理", "executedAt": "2026-11-19T02:01:59.000Z" }, "customer": "当天取消客户", "salesperson": "娜娜", "status": "cancelled", "note": "", "types": [ "货盘现货" ], "mg": 2000, "summaryMg": 2000, "pieces": 0, "originalSale": 210000, "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0, "known": { "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0 }, "costItems": [], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "录错作废已获麦麦批准,本单销售、成本与收款记账已撤销,原单和审批记录保留", "balance": 0, "revision": 5, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119015", "date": "2026-11-19", "created": "2026-11-19T02:02:40.000Z", "materialPoolIds": [ "2026-11-19" ], "materialCostPending": false, "customer": "滚动料池客户", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "配货" ], "mg": 2000, "summaryMg": 2000, "pieces": 0, "originalSale": 220000, "sale": 220000, "material": 181898, "laborAndFees": 0, "unallocated": 0, "totalCost": 181898, "profit": 38102, "ownerCost": 0, "assistantCost": 181898, "assistant2Cost": 0, "known": { "sale": 220000, "material": 181898, "laborAndFees": 0, "unallocated": 0, "totalCost": 181898, "profit": 38102, "ownerCost": 0, "assistantCost": 181898, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 2026-11-19日购料", "amount": 181898, "payer": "assistant", "excluded": false, "materialPoolId": "2026-11-19", "materialPoolRevision": "2e1d58e4d359165036a53976f4ed30c7052bb21df8bd2eb46c6544546a2e818b", "calculation": { "rate": 90949, "quantity": 2000, "weighted": true } }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 4, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119016", "date": "2026-11-19", "created": "2026-11-19T02:02:51.000Z", "customer": "安全测试", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 500, "summaryMg": 500, "pieces": 0, "originalSale": 50000, "sale": 50000, "material": null, "laborAndFees": null, "unallocated": 42000, "totalCost": 42000, "profit": 8000, "ownerCost": 0, "assistantCost": 42000, "assistant2Cost": 0, "known": { "sale": 50000, "material": 0, "laborAndFees": 0, "unallocated": 42000, "totalCost": 42000, "profit": 8000, "ownerCost": 0, "assistantCost": 42000, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金转运珠", "amount": 42000, "payer": "assistant", "excluded": false, "calculation": null, "component": "unallocated" } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 4, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } } ], "recoveryCount": 0, "summary": { "orderCount": 8, "completedCount": 7, "draftCount": 0, "confirmedCount": 0, "returnedCount": 0, "cancelledCount": 1, "incompleteCount": 0, "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "unknownCostCount": 0, "unknownProfitCount": 0, "legacyUnallocatedCount": 2, "sale": 1626600, "material": 1107243, "laborAndFees": 15681, "unallocated": 192000, "totalCost": 1314924, "profit": 311676, "ownerCost": 693331, "assistantCost": 621593, "assistant2Cost": 0, "mg": 19850, "pieces": 1, "knownCounts": { "sale": 8, "material": 6, "laborAndFees": 6, "unallocated": 8, "totalCost": 8, "profit": 8, "ownerCost": 8, "assistantCost": 8, "assistant2Cost": 8 }, "unknownCounts": { "sale": 0, "material": 2, "laborAndFees": 2, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0 }, "partial": true, "afterSaleCount": 1, "recordCount": 9 }, "peopleCount": { "from": "2026-11-18", "date": "2026-11-19", "baselineDate": "2026-11-17", "mode": "daily-total", "assistant1": { "total": 7, "endTotal": 7, "baselineTotal": null, "baselineDate": null, "netChange": null, "netChangeReason": "missing-previous", "recordedDays": 2 }, "assistant2": { "total": 4, "endTotal": 4, "baselineTotal": null, "baselineDate": null, "netChange": null, "netChangeReason": "missing-previous", "recordedDays": 2 } }, "priceLockActivity": { "basis": "eventDate", "from": "2026-11-18", "date": "2026-11-19", "customerCash": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 270000, "account": "助理微信", "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:53.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null }, { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 120000, "account": "助理支付宝", "number": "SJ20261118-", "customer": "对照锁价客户二", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:02:02.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null }, { "id": "", "price_lock_id": "", "date": "2026-11-19", "kind": "receipt", "amount": 16200, "account": "助理支付宝", "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-19T02:01:28.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null } ], "orderPayments": [], "materialOutlays": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "material", "amount": 255000, "payer": "owner", "source": "original", "quantity": 3000, "rate": 85000, "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:53.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "component": "material" }, { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "material", "amount": 255000, "payer": "owner", "source": "original", "quantity": 3000, "rate": 85000, "number": "SJ20261118-", "customer": "对照锁价客户二", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:54.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "component": "material" }, { "id": "", "price_lock_id": "", "date": "2026-11-19", "kind": "material", "amount": 9000, "payer": "assistant", "source": "extra", "quantity": 100, "rate": 90000, "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-19T02:01:28.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "component": "material" } ], "directOutlays": [ { "id": "", "order_id": "", "date": "2026-11-19", "amount": 600, "payer": "owner", "note": "实际快递", "actor": "助理", "created": "2026-11-19T02:01:28.000Z", "price_lock_id": "", "number": "SJ20261118-", "customer": "对照锁价客户(改)", "kind": "fee", "component": "fee", "product": "足金999" } ], "deliveryGoodsOutlays": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": null, "id": "price-lock-goods::0", "price_lock_id": "", "order_id": "", "number": "MM20261119-", "paper_number": "20261119010", "customer": "对照锁价客户(改)", "date": "2026-11-19", "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "id": "price-lock-goods::1", "price_lock_id": "", "order_id": "", "number": "MM20261119-", "paper_number": "20261119010", "customer": "对照锁价客户(改)", "date": "2026-11-19", "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "id": "price-lock-goods::2", "price_lock_id": "", "order_id": "", "number": "MM20261119-", "paper_number": "20261119010", "customer": "对照锁价客户(改)", "date": "2026-11-19", "component": "other" } ], "receipts": { "receipt": 406200, "refund": 0, "net": 406200, "channels": [ { "channel": "wechat", "name": "微信", "receipt": 270000, "refund": 0, "net": 270000 }, { "channel": "alipay", "name": "支付宝", "receipt": 136200, "refund": 0, "net": 136200 }, { "channel": "cash", "name": "现金", "receipt": 0, "refund": 0, "net": 0 } ], "accounts": [ { "account": "助理微信", "receipt": 270000, "refund": 0, "net": 270000 }, { "account": "助理支付宝", "receipt": 136200, "refund": 0, "net": 136200 }, { "account": "助理现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2现金", "receipt": 0, "refund": 0, "net": 0 } ], "paymentCount": 3, "orderCount": 2 }, "payerOutlays": { "owner": { "payer": "owner", "material": 510000, "goods": 510000, "paidFees": 600, "total": 510600 }, "assistant": { "payer": "assistant", "material": 9000, "goods": 12000, "paidFees": 0, "total": 12000 }, "assistant2": { "payer": "assistant2", "material": 0, "goods": 0, "paidFees": 0, "total": 0 } }, "summary": { "receipt": 406200, "refund": 0, "net": 406200, "materialOutlay": 519000, "goodsOutlay": 522000, "feeOutlay": 600, "ownerOutlay": 510600, "assistantOutlay": 12000, "assistant2Outlay": 0, "totalOutlay": 522600, "eventCount": 10, "lockCount": 2 } }, "materialPoolActivity": { "basis": "purchaseDate", "from": "2026-11-18", "date": "2026-11-19", "purchases": [ { "id": "", "pool_id": "2026-11-18", "date": "2026-11-18", "mg": 11000, "amount": 990000, "payer": "assistant", "note": "核对凭据", "actor": "助理", "created": "2026-11-18T02:01:09.000Z", "revision": 2, "deleted_at": "", "updated": "2026-11-19T02:02:27.000Z" }, { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 5000, "amount": 460000, "payer": "assistant", "note": "第二天购料", "actor": "助理", "created": "2026-11-19T02:02:19.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:19.000Z" } ], "payerOutlays": { "owner": { "payer": "owner", "material": 0, "goods": 0, "paidFees": 0, "total": 0, "purchaseCount": 0 }, "assistant": { "payer": "assistant", "material": 1450000, "goods": 1450000, "paidFees": 0, "total": 1450000, "purchaseCount": 2 }, "assistant2": { "payer": "assistant2", "material": 0, "goods": 0, "paidFees": 0, "total": 0, "purchaseCount": 0 } }, "summary": { "purchaseCount": 2, "poolCount": 2, "mg": 16000, "materialOutlay": 1450000, "purchaseValue": 1450000, "ownerOutlay": 0, "assistantOutlay": 1450000, "assistant2Outlay": 0, "totalOutlay": 1450000, "eventCount": 2 } }, "summaryWithoutCancelled": { "orderCount": 7, "completedCount": 7, "draftCount": 0, "confirmedCount": 0, "returnedCount": 0, "cancelledCount": 0, "incompleteCount": 0, "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "unknownCostCount": 0, "unknownProfitCount": 0, "legacyUnallocatedCount": 2, "sale": 1626600, "material": 1107243, "laborAndFees": 15681, "unallocated": 192000, "totalCost": 1314924, "profit": 311676, "ownerCost": 693331, "assistantCost": 621593, "assistant2Cost": 0, "mg": 17850, "pieces": 1, "knownCounts": { "sale": 7, "material": 5, "laborAndFees": 5, "unallocated": 7, "totalCost": 7, "profit": 7, "ownerCost": 7, "assistantCost": 7, "assistant2Cost": 7 }, "unknownCounts": { "sale": 0, "material": 2, "laborAndFees": 2, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0 }, "partial": true, "afterSaleCount": 1, "recordCount": 8 }, "receiptsWithoutCancelled": { "basis": "orderDate", "filterScope": "matchingOrdersWithoutCancelled", "from": "2026-11-18", "date": "2026-11-19", "receipt": 1746600, "refund": 0, "net": 1746600, "channels": [ { "channel": "wechat", "name": "微信", "receipt": 991900, "refund": 0, "net": 991900 }, { "channel": "alipay", "name": "支付宝", "receipt": 136200, "refund": 0, "net": 136200 }, { "channel": "cash", "name": "现金", "receipt": 330000, "refund": 0, "net": 330000 }, { "channel": "credit_card", "name": "信用卡", "receipt": 288500, "refund": 0, "net": 288500 } ], "accounts": [ { "account": "助理微信", "receipt": 991900, "refund": 0, "net": 991900 }, { "account": "助理支付宝", "receipt": 136200, "refund": 0, "net": 136200 }, { "account": "助理现金", "receipt": 330000, "refund": 0, "net": 330000 }, { "account": "麦麦微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦信用卡", "receipt": 288500, "refund": 0, "net": 288500 }, { "account": "助理2微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2现金", "receipt": 0, "refund": 0, "net": 0 } ], "paymentCount": 9, "orderCount": 8 }, "receiptsByPaymentDate": { "basis": "paymentDate", "filterScope": "dateRange", "from": "2026-11-18", "date": "2026-11-19", "receipt": 1746600, "refund": 0, "net": 1746600, "channels": [ { "channel": "wechat", "name": "微信", "receipt": 991900, "refund": 0, "net": 991900 }, { "channel": "alipay", "name": "支付宝", "receipt": 136200, "refund": 0, "net": 136200 }, { "channel": "cash", "name": "现金", "receipt": 330000, "refund": 0, "net": 330000 }, { "channel": "credit_card", "name": "信用卡", "receipt": 288500, "refund": 0, "net": 288500 } ], "accounts": [ { "account": "助理微信", "receipt": 991900, "refund": 0, "net": 991900 }, { "account": "助理支付宝", "receipt": 136200, "refund": 0, "net": 136200 }, { "account": "助理现金", "receipt": 330000, "refund": 0, "net": 330000 }, { "account": "麦麦微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦信用卡", "receipt": 288500, "refund": 0, "net": 288500 }, { "account": "助理2微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2现金", "receipt": 0, "refund": 0, "net": 0 } ], "paymentCount": 11, "orderCount": 9 }, "receiptsByOrderDate": { "basis": "orderDate", "filterScope": "matchingOrders", "from": "2026-11-18", "date": "2026-11-19", "receipt": 1746600, "refund": 0, "net": 1746600, "channels": [ { "channel": "wechat", "name": "微信", "receipt": 991900, "refund": 0, "net": 991900 }, { "channel": "alipay", "name": "支付宝", "receipt": 136200, "refund": 0, "net": 136200 }, { "channel": "cash", "name": "现金", "receipt": 330000, "refund": 0, "net": 330000 }, { "channel": "credit_card", "name": "信用卡", "receipt": 288500, "refund": 0, "net": 288500 } ], "accounts": [ { "account": "助理微信", "receipt": 991900, "refund": 0, "net": 991900 }, { "account": "助理支付宝", "receipt": 136200, "refund": 0, "net": 136200 }, { "account": "助理现金", "receipt": 330000, "refund": 0, "net": 330000 }, { "account": "麦麦微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦信用卡", "receipt": 288500, "refund": 0, "net": 288500 }, { "account": "助理2微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2现金", "receipt": 0, "refund": 0, "net": 0 } ], "paymentCount": 11, "orderCount": 9 } } }, { "seq": 473, "label": "order-book-filter account=助理微信", "date": "2026-11-19", "actor": "owner", "method": "GET", "path": "/api/order-book?from=2026-11-18&date=2026-11-19&account=助理微信", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "from": "2026-11-18", "date": "2026-11-19", "today": "2026-11-19", "q": "", "status": "all", "pocket": "", "rows": [ { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118001", "date": "2026-11-18", "created": "2026-11-18T02:01:17.000Z", "customer": "对照客户甲(改)", "salesperson": "娜娜", "status": "delivered", "note": "客户单备注", "types": [ "货盘现货" ], "mg": 3250, "summaryMg": 3250, "pieces": 0, "originalSale": 321100, "sale": 321100, "material": 286000, "laborAndFees": 5400, "unallocated": 0, "totalCost": 291400, "profit": 29700, "ownerCost": 286000, "assistantCost": 5400, "assistant2Cost": 0, "known": { "sale": 321100, "material": 286000, "laborAndFees": 5400, "unallocated": 0, "totalCost": 291400, "profit": 29700, "ownerCost": 286000, "assistantCost": 5400, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金999", "amount": 286000, "payer": "owner", "excluded": false, "calculation": { "rate": 88000, "quantity": 3250 }, "component": "material" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 4000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 200, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "快递", "source": "2026-11-18", "amount": 1200, "payer": "assistant", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 4000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 200, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "快递", "source": "2026-11-18", "amount": 1200, "payer": "assistant", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 5, "reviewed_revision": 0 }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118002", "date": "2026-11-18", "created": "2026-11-18T02:01:18.000Z", "customer": "对照客户乙", "salesperson": "小昊", "status": "delivered", "note": "", "types": [ "货盘现货", "配货 · 银饰" ], "mg": 2000, "summaryMg": 2000, "pieces": 3, "originalSale": 217163, "sale": 217163, "material": null, "laborAndFees": null, "unallocated": 183000, "totalCost": 183000, "profit": 34163, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 183000, "known": { "sale": 217163, "material": 0, "laborAndFees": 0, "unallocated": 183000, "totalCost": 183000, "profit": 34163, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 183000 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金999", "amount": 180000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "unallocated" }, { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 2 · 纯银925", "amount": 3000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "unallocated" } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 4, "reviewed_revision": 0 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118003", "date": "2026-11-18", "created": "2026-11-18T02:01:19.000Z", "customer": "对照客户丙", "salesperson": "麦麦", "status": "delivered", "note": "老板改备注", "types": [ "配货" ], "mg": 0, "summaryMg": 0, "pieces": 1, "originalSale": 288500, "sale": 288500, "material": null, "laborAndFees": null, "unallocated": 150000, "totalCost": 151731, "profit": 136769, "ownerCost": 151731, "assistantCost": 0, "assistant2Cost": 0, "known": { "sale": 288500, "material": 0, "laborAndFees": 1731, "unallocated": 150000, "totalCost": 151731, "profit": 136769, "ownerCost": 151731, "assistantCost": 0, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 金镶玉吊坠", "amount": 150000, "payer": "owner", "excluded": false, "calculation": null, "component": "unallocated" }, { "kind": "paid", "name": "信用卡手续费(6‰)", "source": "2026-11-18", "amount": 1731, "payer": "owner", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "paid", "name": "信用卡手续费(6‰)", "source": "2026-11-18", "amount": 1731, "payer": "owner", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 5, "reviewed_revision": 0 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118004", "date": "2026-11-18", "created": "2026-11-18T02:01:20.000Z", "materialPoolIds": [ "2026-11-18" ], "materialCostPending": false, "customer": "对照客户丁", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "配货" ], "mg": 3000, "summaryMg": 3000, "pieces": 0, "originalSale": 330000, "sale": 330000, "material": 271935, "laborAndFees": 1000, "unallocated": 0, "totalCost": 272935, "profit": 57065, "ownerCost": 0, "assistantCost": 272935, "assistant2Cost": 0, "known": { "sale": 330000, "material": 271935, "laborAndFees": 1000, "unallocated": 0, "totalCost": 272935, "profit": 57065, "ownerCost": 0, "assistantCost": 272935, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 2026-11-18日购料", "amount": 271935, "payer": "assistant", "excluded": false, "materialPoolId": "2026-11-18", "materialPoolRevision": "2823f40ff78424f5423f0dbdf991ea5fcc83b0144648e9d2399869970c27af75", "calculation": { "rate": 90645, "quantity": 3000, "weighted": true } }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "补寄快递", "source": "2026-11-19", "amount": 1000, "payer": "assistant", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "补寄快递", "source": "2026-11-19", "amount": 1000, "payer": "assistant", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 6, "reviewed_revision": 0 }, { "id": "", "member": "owner", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118005", "date": "2026-11-18", "created": "2026-11-18T02:01:21.000Z", "customer": "对照草稿客户", "salesperson": "麦麦", "status": "delivered", "note": "", "types": [ "货盘·展柜A(主)" ], "mg": 10000, "summaryMg": 10000, "pieces": 0, "originalSale": 980000, "sale": 980000, "material": null, "laborAndFees": null, "unallocated": 900000, "totalCost": 900000, "profit": 80000, "ownerCost": 900000, "assistantCost": 0, "assistant2Cost": 0, "known": { "sale": 980000, "material": 0, "laborAndFees": 0, "unallocated": 900000, "totalCost": 900000, "profit": 80000, "ownerCost": 900000, "assistantCost": 0, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金手镯", "amount": 900000, "payer": "owner", "excluded": false, "calculation": null, "component": "unallocated" } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 5, "reviewed_revision": 0 }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118006", "date": "2026-11-18", "created": "2026-11-18T02:01:24.000Z", "cancellationApproved": { "id": "", "status": "approved", "order_revision": 4, "reason": "重复录入", "requester_name": "助理2", "created": "2026-11-19T02:00:41.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:00:45.000Z", "note": "核对原单后确认" }, "customer": "对照取消客户", "salesperson": "小昊", "status": "cancelled", "note": "", "types": [ "货盘现货" ], "mg": 1500, "summaryMg": 1500, "pieces": 0, "originalSale": 150000, "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0, "known": { "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0 }, "costItems": [], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "录错作废已获麦麦批准,本单销售、成本与收款记账已撤销,原单和审批记录保留", "balance": 0, "revision": 5, "reviewed_revision": 0 }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118007", "date": "2026-11-18", "created": "2026-11-18T02:01:25.000Z", "customer": "对照售后订单客户", "salesperson": "小昊", "status": "delivered", "note": "", "orderAfterSale": { "orderId": "", "date": "2026-11-19", "reason": "客户退回一件", "deductionReason": "客户确认扣费", "refund": { "amount": 90000, "account": "助理2支付宝", "payer": "assistant2", "reference": "" }, "expenses": [], "original": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": { "id": "", "status": "approved", "action": "return", "action_label": "订单售后", "order_revision": 4, "reason": "客户退回一件", "requester_name": "助理2", "created": "2026-11-19T02:01:03.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:01:05.000Z", "note": "实物已收回" }, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 0, "netReceived": 500000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 50000, "knownProfit": 50000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "funds_mode": "team", "credit_card_rate_permille": 6 }, "originalJournal": { "sales": 500000, "goods": 450000, "expense": 0, "profit": 50000 }, "summary": { "refundAmount": 90000, "retainedAmount": 410000, "materialReturnedCost": 88000, "laborRestockedCost": 0, "materialLoss": 352000, "costLoss": 362000, "originalDirectCost": 0, "newExpenses": 0, "directCost": 0, "profit": 48000, "finalProfit": 48000, "profitAdjustment": -2000, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ] }, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ], "originalOrder": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": { "id": "", "status": "approved", "action": "return", "action_label": "订单售后", "order_revision": 4, "reason": "客户退回一件", "requester_name": "助理2", "created": "2026-11-19T02:01:03.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:01:05.000Z", "note": "实物已收回" }, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 0, "netReceived": 500000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 50000, "knownProfit": 50000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "funds_mode": "team", "credit_card_rate_permille": 6 } }, "current_status": "returned", "types": [ "货盘现货" ], "mg": 5000, "summaryMg": 5000, "pieces": 0, "originalSale": 500000, "sale": 500000, "material": 440000, "laborAndFees": 10000, "unallocated": 0, "totalCost": 450000, "profit": 50000, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 450000, "known": { "sale": 500000, "material": 440000, "laborAndFees": 10000, "unallocated": 0, "totalCost": 450000, "profit": 50000, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 450000 }, "costItems": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金手链", "amount": 440000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "material" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金手链", "amount": 10000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金手链", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金手链", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金手链", "amount": 10000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金手链", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金手链", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 4, "reviewed_revision": 0 }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118008", "date": "2026-11-18", "created": "2026-11-18T02:01:26.000Z", "customer": "对照驳回客户", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 800, "summaryMg": 800, "pieces": 0, "originalSale": 82000, "sale": 82000, "material": null, "laborAndFees": null, "unallocated": 70000, "totalCost": 70000, "profit": 12000, "ownerCost": 0, "assistantCost": 70000, "assistant2Cost": 0, "known": { "sale": 82000, "material": 0, "laborAndFees": 0, "unallocated": 70000, "totalCost": 70000, "profit": 12000, "ownerCost": 0, "assistantCost": 70000, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金耳钉", "amount": 70000, "payer": "assistant", "excluded": false, "calculation": null, "component": "unallocated" } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 5, "reviewed_revision": 0 }, { "id": "", "member": "owner", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118009", "date": "2026-11-18", "created": "2026-11-18T02:01:27.000Z", "customer": "对照分步客户", "salesperson": "麦麦", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 4000, "summaryMg": 4000, "pieces": 0, "originalSale": 400000, "sale": 400000, "material": null, "laborAndFees": null, "unallocated": 350000, "totalCost": 351800, "profit": 48200, "ownerCost": 351800, "assistantCost": 0, "assistant2Cost": 0, "known": { "sale": 400000, "material": 0, "laborAndFees": 1800, "unallocated": 350000, "totalCost": 351800, "profit": 48200, "ownerCost": 351800, "assistantCost": 0, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金项链", "amount": 350000, "payer": "owner", "excluded": false, "calculation": null, "component": "unallocated" }, { "kind": "paid", "name": "信用卡手续费(6‰)", "source": "2026-11-18", "amount": 1800, "payer": "owner", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "paid", "name": "信用卡手续费(6‰)", "source": "2026-11-18", "amount": 1800, "payer": "owner", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 5, "reviewed_revision": 0 }, { "id": "", "kind": "afterSale", "after_sale_id": "", "number": "售后", "paper_number": "", "date": "2026-11-18", "created": "2026-11-18T02:02:03.000Z", "customer": "对照售后客户", "salesperson": "助理", "status": "after_sale", "project": "对照改圈", "note": "对照改圈", "amount": 950, "payer": "assistant", "types": [ "售后" ], "mg": 0, "summaryMg": 0, "pieces": 0, "originalSale": 0, "sale": 0, "material": 0, "laborAndFees": 950, "unallocated": 0, "totalCost": 950, "profit": -950, "ownerCost": 0, "assistantCost": 950, "known": { "sale": 0, "material": 0, "laborAndFees": 950, "unallocated": 0, "totalCost": 950, "profit": -950, "ownerCost": 0, "assistantCost": 950 }, "costItems": [ { "kind": "afterSale", "after_sale_id": "", "name": "对照改圈", "source": "售后 · 2026-11-18", "amount": 950, "payer": "assistant", "component": "fee", "calculation": null } ], "laborAndFeeItems": [ { "kind": "afterSale", "after_sale_id": "", "name": "对照改圈", "source": "售后 · 2026-11-18", "amount": 950, "payer": "assistant", "component": "fee", "calculation": null } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "独立售后支出,计入所选日期利润", "balance": 0, "revision": 2, "reviewed_revision": 2 }, { "id": "", "kind": "afterSale", "after_sale_id": "", "number": "售后", "paper_number": "", "date": "2026-11-18", "created": "2026-11-18T02:02:06.000Z", "customer": "对照售后客户二", "salesperson": "麦麦", "status": "after_sale", "project": "对照清洗", "note": "对照清洗", "amount": 0, "payer": "owner", "types": [ "售后" ], "mg": 0, "summaryMg": 0, "pieces": 0, "originalSale": 0, "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "known": { "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0 }, "costItems": [ { "kind": "afterSale", "after_sale_id": "", "name": "对照清洗", "source": "售后 · 2026-11-18", "amount": 0, "payer": "owner", "component": "fee", "calculation": null } ], "laborAndFeeItems": [ { "kind": "afterSale", "after_sale_id": "", "name": "对照清洗", "source": "售后 · 2026-11-18", "amount": 0, "payer": "owner", "component": "fee", "calculation": null } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "独立售后支出,计入所选日期利润", "balance": 0, "revision": 1, "reviewed_revision": 1 }, { "id": "", "order_id": "", "kind": "orderAfterSale", "orderAfterSale": { "orderId": "", "date": "2026-11-19", "reason": "客户退回一件", "deductionReason": "客户确认扣费", "refund": { "amount": 90000, "account": "助理2支付宝", "payer": "assistant2", "reference": "" }, "expenses": [], "original": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": { "id": "", "status": "approved", "action": "return", "action_label": "订单售后", "order_revision": 4, "reason": "客户退回一件", "requester_name": "助理2", "created": "2026-11-19T02:01:03.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:01:05.000Z", "note": "实物已收回" }, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 0, "netReceived": 500000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 50000, "knownProfit": 50000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "funds_mode": "team", "credit_card_rate_permille": 6 }, "originalJournal": { "sales": 500000, "goods": 450000, "expense": 0, "profit": 50000 }, "summary": { "refundAmount": 90000, "retainedAmount": 410000, "materialReturnedCost": 88000, "laborRestockedCost": 0, "materialLoss": 352000, "costLoss": 362000, "originalDirectCost": 0, "newExpenses": 0, "directCost": 0, "profit": 48000, "finalProfit": 48000, "profitAdjustment": -2000, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ] }, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ], "order_id": "", "created": "2026-11-19T02:01:05.000Z", "number": "MM20261118-", "paper_number": "20261118007", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "order_date": "2026-11-18", "member": "assistant2" }, "member": "assistant2", "number": "MM20261118-", "paper_number": "20261118007", "date": "2026-11-19", "order_date": "2026-11-18", "created": "2026-11-19T02:01:05.000Z", "customer": "对照售后订单客户", "salesperson": "小昊", "status": "after_sale", "note": "", "project": "订单售后", "types": [ "订单售后" ], "mg": 0, "summaryMg": 0, "pieces": 0, "originalSale": 500000, "sale": -90000, "material": -88000, "laborAndFees": 0, "unallocated": 0, "totalCost": -88000, "profit": -2000, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": -88000, "known": { "sale": -90000, "material": -88000, "laborAndFees": 0, "unallocated": 0, "totalCost": -88000, "profit": -2000, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": -88000 }, "costItems": [ { "kind": "goods", "component": "material", "name": "售后收回金料成本", "source": "商品 1 · 足金手链", "amount": -88000, "payer": "assistant2", "nonCash": true, "materialPoolId": "2026-11-19", "calculation": null } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "按售后发生日调整;回收成本不属于新付款", "balance": 0, "revision": 1, "reviewed_revision": 1 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119010", "date": "2026-11-19", "created": "2026-11-19T02:01:28.000Z", "price_lock_id": "", "customer": "对照锁价客户(改)", "salesperson": "娜娜", "status": "delivered", "note": "锁价备注;锁价单 SJ20261118-;按原锁定金价 900.00元/克结算", "types": [ "货盘现货" ], "mg": 3100, "summaryMg": 3100, "pieces": 0, "originalSale": 286200, "sale": 286200, "material": 264000, "laborAndFees": 3600, "unallocated": 0, "totalCost": 267600, "profit": 18600, "ownerCost": 255600, "assistantCost": 12000, "assistant2Cost": 0, "known": { "sale": 286200, "material": 264000, "laborAndFees": 3600, "unallocated": 0, "totalCost": 267600, "profit": 18600, "ownerCost": 255600, "assistantCost": 12000, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 原锁价采购", "amount": 255000, "payer": "owner", "excluded": false, "priceLockSource": "original", "calculation": { "rate": 85000, "quantity": 3000 } }, { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 补重采购", "amount": 9000, "payer": "assistant", "excluded": false, "priceLockSource": "extra", "calculation": { "rate": 90000, "quantity": 100 } }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "实际快递", "source": "2026-11-19", "amount": 600, "payer": "owner", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "实际快递", "source": "2026-11-19", "amount": 600, "payer": "owner", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 3, "reviewed_revision": 0 }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119011", "date": "2026-11-19", "created": "2026-11-19T02:01:32.000Z", "recovery_id": "", "recovery_mode": "exchange", "nonCashOffset": 0, "cashPaid": 0, "netSettlement": 432792, "recovery_immutable_reason": "本单关联黄金回收/置换、购料及库存,暂不支持普通订单修改、取消、退款、退货或费用变更,请保留原关联记录", "customer": "对照换货客户", "salesperson": "小昊", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 12000, "summaryMg": 12000, "pieces": 0, "originalSale": 432792, "sale": 432792, "material": 360720, "laborAndFees": 6000, "unallocated": 0, "totalCost": 366720, "profit": 66072, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 366720, "known": { "sale": 432792, "material": 360720, "laborAndFees": 6000, "unallocated": 0, "totalCost": 366720, "profit": 66072, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 366720 }, "costItems": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金对照新货", "amount": 360720, "payer": "assistant2", "excluded": false, "calculation": { "rate": 90000, "quantity": 4008 }, "component": "material" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 6000, "payer": "assistant2", "excluded": false, "calculation": { "rate": 500, "quantity": 12000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 6000, "payer": "assistant2", "excluded": false, "calculation": { "rate": 500, "quantity": 12000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 4, "reviewed_revision": 0 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119012", "date": "2026-11-19", "created": "2026-11-19T02:01:33.000Z", "recovery_id": "", "recovery_mode": "exchange", "nonCashOffset": 0, "cashPaid": 0, "netSettlement": 130800, "recovery_immutable_reason": "本单关联黄金回收/置换、购料及库存,暂不支持普通订单修改、取消、退款、退货或费用变更,请保留原关联记录", "customer": "对照换货客户二", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 6000, "summaryMg": 6000, "pieces": 0, "originalSale": 130800, "sale": 130800, "material": 103410, "laborAndFees": 3000, "unallocated": 0, "totalCost": 106410, "profit": 24390, "ownerCost": 0, "assistantCost": 106410, "assistant2Cost": 0, "known": { "sale": 130800, "material": 103410, "laborAndFees": 3000, "unallocated": 0, "totalCost": 106410, "profit": 24390, "ownerCost": 0, "assistantCost": 106410, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金对照新货", "amount": 103410, "payer": "assistant", "excluded": false, "calculation": { "rate": 90000, "quantity": 1149 }, "component": "material" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": { "rate": 500, "quantity": 6000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": { "rate": 500, "quantity": 6000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 4, "reviewed_revision": 0 }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119013", "date": "2026-11-19", "created": "2026-11-19T02:01:48.000Z", "customer": "当天客户(改)", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 2000, "summaryMg": 2000, "pieces": 0, "originalSale": 210000, "sale": 210000, "material": null, "laborAndFees": null, "unallocated": 180000, "totalCost": 180800, "profit": 29200, "ownerCost": 0, "assistantCost": 180800, "assistant2Cost": 0, "known": { "sale": 210000, "material": 0, "laborAndFees": 800, "unallocated": 180000, "totalCost": 180800, "profit": 29200, "ownerCost": 0, "assistantCost": 180800, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金吊坠", "amount": 180000, "payer": "assistant", "excluded": false, "calculation": null, "component": "unallocated" }, { "kind": "paid", "name": "当天快递", "source": "2026-11-19", "amount": 800, "payer": "assistant", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "paid", "name": "当天快递", "source": "2026-11-19", "amount": 800, "payer": "assistant", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 7, "reviewed_revision": 0 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119014", "date": "2026-11-19", "created": "2026-11-19T02:01:57.000Z", "cancellationApproved": { "id": "", "status": "approved", "order_revision": 4, "reason": "当天录错", "requester_name": "助理", "created": "2026-11-19T02:01:59.000Z", "reviewer_name": null, "reviewed": null, "note": "", "direct": true, "operator_name": "助理", "executedAt": "2026-11-19T02:01:59.000Z" }, "customer": "当天取消客户", "salesperson": "娜娜", "status": "cancelled", "note": "", "types": [ "货盘现货" ], "mg": 2000, "summaryMg": 2000, "pieces": 0, "originalSale": 210000, "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0, "known": { "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0 }, "costItems": [], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "录错作废已获麦麦批准,本单销售、成本与收款记账已撤销,原单和审批记录保留", "balance": 0, "revision": 5, "reviewed_revision": 0 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119015", "date": "2026-11-19", "created": "2026-11-19T02:02:40.000Z", "materialPoolIds": [ "2026-11-19" ], "materialCostPending": false, "customer": "滚动料池客户", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "配货" ], "mg": 2000, "summaryMg": 2000, "pieces": 0, "originalSale": 220000, "sale": 220000, "material": 181898, "laborAndFees": 0, "unallocated": 0, "totalCost": 181898, "profit": 38102, "ownerCost": 0, "assistantCost": 181898, "assistant2Cost": 0, "known": { "sale": 220000, "material": 181898, "laborAndFees": 0, "unallocated": 0, "totalCost": 181898, "profit": 38102, "ownerCost": 0, "assistantCost": 181898, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 2026-11-19日购料", "amount": 181898, "payer": "assistant", "excluded": false, "materialPoolId": "2026-11-19", "materialPoolRevision": "2e1d58e4d359165036a53976f4ed30c7052bb21df8bd2eb46c6544546a2e818b", "calculation": { "rate": 90949, "quantity": 2000, "weighted": true } }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 4, "reviewed_revision": 0 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119016", "date": "2026-11-19", "created": "2026-11-19T02:02:51.000Z", "customer": "安全测试", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 500, "summaryMg": 500, "pieces": 0, "originalSale": 50000, "sale": 50000, "material": null, "laborAndFees": null, "unallocated": 42000, "totalCost": 42000, "profit": 8000, "ownerCost": 0, "assistantCost": 42000, "assistant2Cost": 0, "known": { "sale": 50000, "material": 0, "laborAndFees": 0, "unallocated": 42000, "totalCost": 42000, "profit": 8000, "ownerCost": 0, "assistantCost": 42000, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金转运珠", "amount": 42000, "payer": "assistant", "excluded": false, "calculation": null, "component": "unallocated" } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 4, "reviewed_revision": 0 } ], "displayRows": [ { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118001", "date": "2026-11-18", "created": "2026-11-18T02:01:17.000Z", "customer": "对照客户甲(改)", "salesperson": "娜娜", "status": "delivered", "note": "客户单备注", "types": [ "货盘现货" ], "mg": 3250, "summaryMg": 3250, "pieces": 0, "originalSale": 321100, "sale": 321100, "material": 286000, "laborAndFees": 5400, "unallocated": 0, "totalCost": 291400, "profit": 29700, "ownerCost": 286000, "assistantCost": 5400, "assistant2Cost": 0, "known": { "sale": 321100, "material": 286000, "laborAndFees": 5400, "unallocated": 0, "totalCost": 291400, "profit": 29700, "ownerCost": 286000, "assistantCost": 5400, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金999", "amount": 286000, "payer": "owner", "excluded": false, "calculation": { "rate": 88000, "quantity": 3250 }, "component": "material" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 4000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 200, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "快递", "source": "2026-11-18", "amount": 1200, "payer": "assistant", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 4000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 200, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "快递", "source": "2026-11-18", "amount": 1200, "payer": "assistant", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 5, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 2, "updated": "2026-11-18T02:01:50.000Z", "actor": "助理" } }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118002", "date": "2026-11-18", "created": "2026-11-18T02:01:18.000Z", "customer": "对照客户乙", "salesperson": "小昊", "status": "delivered", "note": "", "types": [ "货盘现货", "配货 · 银饰" ], "mg": 2000, "summaryMg": 2000, "pieces": 3, "originalSale": 217163, "sale": 217163, "material": null, "laborAndFees": null, "unallocated": 183000, "totalCost": 183000, "profit": 34163, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 183000, "known": { "sale": 217163, "material": 0, "laborAndFees": 0, "unallocated": 183000, "totalCost": 183000, "profit": 34163, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 183000 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金999", "amount": 180000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "unallocated" }, { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 2 · 纯银925", "amount": 3000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "unallocated" } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 4, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118003", "date": "2026-11-18", "created": "2026-11-18T02:01:19.000Z", "customer": "对照客户丙", "salesperson": "麦麦", "status": "delivered", "note": "老板改备注", "types": [ "配货" ], "mg": 0, "summaryMg": 0, "pieces": 1, "originalSale": 288500, "sale": 288500, "material": null, "laborAndFees": null, "unallocated": 150000, "totalCost": 151731, "profit": 136769, "ownerCost": 151731, "assistantCost": 0, "assistant2Cost": 0, "known": { "sale": 288500, "material": 0, "laborAndFees": 1731, "unallocated": 150000, "totalCost": 151731, "profit": 136769, "ownerCost": 151731, "assistantCost": 0, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 金镶玉吊坠", "amount": 150000, "payer": "owner", "excluded": false, "calculation": null, "component": "unallocated" }, { "kind": "paid", "name": "信用卡手续费(6‰)", "source": "2026-11-18", "amount": 1731, "payer": "owner", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "paid", "name": "信用卡手续费(6‰)", "source": "2026-11-18", "amount": 1731, "payer": "owner", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 5, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118004", "date": "2026-11-18", "created": "2026-11-18T02:01:20.000Z", "materialPoolIds": [ "2026-11-18" ], "materialCostPending": false, "customer": "对照客户丁", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "配货" ], "mg": 3000, "summaryMg": 3000, "pieces": 0, "originalSale": 330000, "sale": 330000, "material": 271935, "laborAndFees": 1000, "unallocated": 0, "totalCost": 272935, "profit": 57065, "ownerCost": 0, "assistantCost": 272935, "assistant2Cost": 0, "known": { "sale": 330000, "material": 271935, "laborAndFees": 1000, "unallocated": 0, "totalCost": 272935, "profit": 57065, "ownerCost": 0, "assistantCost": 272935, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 2026-11-18日购料", "amount": 271935, "payer": "assistant", "excluded": false, "materialPoolId": "2026-11-18", "materialPoolRevision": "2823f40ff78424f5423f0dbdf991ea5fcc83b0144648e9d2399869970c27af75", "calculation": { "rate": 90645, "quantity": 3000, "weighted": true } }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "补寄快递", "source": "2026-11-19", "amount": 1000, "payer": "assistant", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "补寄快递", "source": "2026-11-19", "amount": 1000, "payer": "assistant", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 6, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "owner", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118005", "date": "2026-11-18", "created": "2026-11-18T02:01:21.000Z", "customer": "对照草稿客户", "salesperson": "麦麦", "status": "delivered", "note": "", "types": [ "货盘·展柜A(主)" ], "mg": 10000, "summaryMg": 10000, "pieces": 0, "originalSale": 980000, "sale": 980000, "material": null, "laborAndFees": null, "unallocated": 900000, "totalCost": 900000, "profit": 80000, "ownerCost": 900000, "assistantCost": 0, "assistant2Cost": 0, "known": { "sale": 980000, "material": 0, "laborAndFees": 0, "unallocated": 900000, "totalCost": 900000, "profit": 80000, "ownerCost": 900000, "assistantCost": 0, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金手镯", "amount": 900000, "payer": "owner", "excluded": false, "calculation": null, "component": "unallocated" } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 5, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118006", "date": "2026-11-18", "created": "2026-11-18T02:01:24.000Z", "cancellationApproved": { "id": "", "status": "approved", "order_revision": 4, "reason": "重复录入", "requester_name": "助理2", "created": "2026-11-19T02:00:41.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:00:45.000Z", "note": "核对原单后确认" }, "customer": "对照取消客户", "salesperson": "小昊", "status": "cancelled", "note": "", "types": [ "货盘现货" ], "mg": 1500, "summaryMg": 1500, "pieces": 0, "originalSale": 150000, "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0, "known": { "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0 }, "costItems": [], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "录错作废已获麦麦批准,本单销售、成本与收款记账已撤销,原单和审批记录保留", "balance": 0, "revision": 5, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118007", "date": "2026-11-18", "created": "2026-11-18T02:01:25.000Z", "customer": "对照售后订单客户", "salesperson": "小昊", "status": "returned", "note": "", "orderAfterSale": { "orderId": "", "date": "2026-11-19", "reason": "客户退回一件", "deductionReason": "客户确认扣费", "refund": { "amount": 90000, "account": "助理2支付宝", "payer": "assistant2", "reference": "" }, "expenses": [], "original": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": { "id": "", "status": "approved", "action": "return", "action_label": "订单售后", "order_revision": 4, "reason": "客户退回一件", "requester_name": "助理2", "created": "2026-11-19T02:01:03.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:01:05.000Z", "note": "实物已收回" }, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 0, "netReceived": 500000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 50000, "knownProfit": 50000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "funds_mode": "team", "credit_card_rate_permille": 6 }, "originalJournal": { "sales": 500000, "goods": 450000, "expense": 0, "profit": 50000 }, "summary": { "refundAmount": 90000, "retainedAmount": 410000, "materialReturnedCost": 88000, "laborRestockedCost": 0, "materialLoss": 352000, "costLoss": 362000, "originalDirectCost": 0, "newExpenses": 0, "directCost": 0, "profit": 48000, "finalProfit": 48000, "profitAdjustment": -2000, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ] }, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ], "originalOrder": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": { "id": "", "status": "approved", "action": "return", "action_label": "订单售后", "order_revision": 4, "reason": "客户退回一件", "requester_name": "助理2", "created": "2026-11-19T02:01:03.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:01:05.000Z", "note": "实物已收回" }, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 0, "netReceived": 500000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 50000, "knownProfit": 50000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "funds_mode": "team", "credit_card_rate_permille": 6 } }, "current_status": "returned", "types": [ "货盘现货" ], "mg": 5000, "summaryMg": 5000, "pieces": 0, "originalSale": 500000, "sale": 500000, "material": 440000, "laborAndFees": 10000, "unallocated": 0, "totalCost": 450000, "profit": 50000, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 450000, "known": { "sale": 500000, "material": 440000, "laborAndFees": 10000, "unallocated": 0, "totalCost": 450000, "profit": 50000, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 450000 }, "costItems": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金手链", "amount": 440000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "material" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金手链", "amount": 10000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金手链", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金手链", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金手链", "amount": 10000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金手链", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金手链", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 4, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118008", "date": "2026-11-18", "created": "2026-11-18T02:01:26.000Z", "customer": "对照驳回客户", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 800, "summaryMg": 800, "pieces": 0, "originalSale": 82000, "sale": 82000, "material": null, "laborAndFees": null, "unallocated": 70000, "totalCost": 70000, "profit": 12000, "ownerCost": 0, "assistantCost": 70000, "assistant2Cost": 0, "known": { "sale": 82000, "material": 0, "laborAndFees": 0, "unallocated": 70000, "totalCost": 70000, "profit": 12000, "ownerCost": 0, "assistantCost": 70000, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金耳钉", "amount": 70000, "payer": "assistant", "excluded": false, "calculation": null, "component": "unallocated" } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 5, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "owner", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118009", "date": "2026-11-18", "created": "2026-11-18T02:01:27.000Z", "customer": "对照分步客户", "salesperson": "麦麦", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 4000, "summaryMg": 4000, "pieces": 0, "originalSale": 400000, "sale": 400000, "material": null, "laborAndFees": null, "unallocated": 350000, "totalCost": 351800, "profit": 48200, "ownerCost": 351800, "assistantCost": 0, "assistant2Cost": 0, "known": { "sale": 400000, "material": 0, "laborAndFees": 1800, "unallocated": 350000, "totalCost": 351800, "profit": 48200, "ownerCost": 351800, "assistantCost": 0, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金项链", "amount": 350000, "payer": "owner", "excluded": false, "calculation": null, "component": "unallocated" }, { "kind": "paid", "name": "信用卡手续费(6‰)", "source": "2026-11-18", "amount": 1800, "payer": "owner", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "paid", "name": "信用卡手续费(6‰)", "source": "2026-11-18", "amount": 1800, "payer": "owner", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 5, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "kind": "afterSale", "after_sale_id": "", "number": "售后", "paper_number": "", "date": "2026-11-18", "created": "2026-11-18T02:02:03.000Z", "customer": "对照售后客户", "salesperson": "助理", "status": "after_sale", "project": "对照改圈", "note": "对照改圈", "amount": 950, "payer": "assistant", "types": [ "售后" ], "mg": 0, "summaryMg": 0, "pieces": 0, "originalSale": 0, "sale": 0, "material": 0, "laborAndFees": 950, "unallocated": 0, "totalCost": 950, "profit": -950, "ownerCost": 0, "assistantCost": 950, "known": { "sale": 0, "material": 0, "laborAndFees": 950, "unallocated": 0, "totalCost": 950, "profit": -950, "ownerCost": 0, "assistantCost": 950 }, "costItems": [ { "kind": "afterSale", "after_sale_id": "", "name": "对照改圈", "source": "售后 · 2026-11-18", "amount": 950, "payer": "assistant", "component": "fee", "calculation": null } ], "laborAndFeeItems": [ { "kind": "afterSale", "after_sale_id": "", "name": "对照改圈", "source": "售后 · 2026-11-18", "amount": 950, "payer": "assistant", "component": "fee", "calculation": null } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "独立售后支出,计入所选日期利润", "balance": 0, "revision": 2, "reviewed_revision": 2 }, { "id": "", "kind": "afterSale", "after_sale_id": "", "number": "售后", "paper_number": "", "date": "2026-11-18", "created": "2026-11-18T02:02:06.000Z", "customer": "对照售后客户二", "salesperson": "麦麦", "status": "after_sale", "project": "对照清洗", "note": "对照清洗", "amount": 0, "payer": "owner", "types": [ "售后" ], "mg": 0, "summaryMg": 0, "pieces": 0, "originalSale": 0, "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "known": { "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0 }, "costItems": [ { "kind": "afterSale", "after_sale_id": "", "name": "对照清洗", "source": "售后 · 2026-11-18", "amount": 0, "payer": "owner", "component": "fee", "calculation": null } ], "laborAndFeeItems": [ { "kind": "afterSale", "after_sale_id": "", "name": "对照清洗", "source": "售后 · 2026-11-18", "amount": 0, "payer": "owner", "component": "fee", "calculation": null } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "独立售后支出,计入所选日期利润", "balance": 0, "revision": 1, "reviewed_revision": 1 }, { "id": "", "order_id": "", "kind": "orderAfterSale", "orderAfterSale": { "orderId": "", "date": "2026-11-19", "reason": "客户退回一件", "deductionReason": "客户确认扣费", "refund": { "amount": 90000, "account": "助理2支付宝", "payer": "assistant2", "reference": "" }, "expenses": [], "original": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": { "id": "", "status": "approved", "action": "return", "action_label": "订单售后", "order_revision": 4, "reason": "客户退回一件", "requester_name": "助理2", "created": "2026-11-19T02:01:03.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:01:05.000Z", "note": "实物已收回" }, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 0, "netReceived": 500000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 50000, "knownProfit": 50000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "funds_mode": "team", "credit_card_rate_permille": 6 }, "originalJournal": { "sales": 500000, "goods": 450000, "expense": 0, "profit": 50000 }, "summary": { "refundAmount": 90000, "retainedAmount": 410000, "materialReturnedCost": 88000, "laborRestockedCost": 0, "materialLoss": 352000, "costLoss": 362000, "originalDirectCost": 0, "newExpenses": 0, "directCost": 0, "profit": 48000, "finalProfit": 48000, "profitAdjustment": -2000, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ] }, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ], "order_id": "", "created": "2026-11-19T02:01:05.000Z", "number": "MM20261118-", "paper_number": "20261118007", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "order_date": "2026-11-18", "member": "assistant2" }, "member": "assistant2", "number": "MM20261118-", "paper_number": "20261118007", "date": "2026-11-19", "order_date": "2026-11-18", "created": "2026-11-19T02:01:05.000Z", "customer": "对照售后订单客户", "salesperson": "小昊", "status": "after_sale", "note": "", "project": "订单售后", "types": [ "订单售后" ], "mg": 0, "summaryMg": 0, "pieces": 0, "originalSale": 500000, "sale": -90000, "material": -88000, "laborAndFees": 0, "unallocated": 0, "totalCost": -88000, "profit": -2000, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": -88000, "known": { "sale": -90000, "material": -88000, "laborAndFees": 0, "unallocated": 0, "totalCost": -88000, "profit": -2000, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": -88000 }, "costItems": [ { "kind": "goods", "component": "material", "name": "售后收回金料成本", "source": "商品 1 · 足金手链", "amount": -88000, "payer": "assistant2", "nonCash": true, "materialPoolId": "2026-11-19", "calculation": null } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "按售后发生日调整;回收成本不属于新付款", "balance": 0, "revision": 1, "reviewed_revision": 1 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119010", "date": "2026-11-19", "created": "2026-11-19T02:01:28.000Z", "price_lock_id": "", "customer": "对照锁价客户(改)", "salesperson": "娜娜", "status": "delivered", "note": "锁价备注;锁价单 SJ20261118-;按原锁定金价 900.00元/克结算", "types": [ "货盘现货" ], "mg": 3100, "summaryMg": 3100, "pieces": 0, "originalSale": 286200, "sale": 286200, "material": 264000, "laborAndFees": 3600, "unallocated": 0, "totalCost": 267600, "profit": 18600, "ownerCost": 255600, "assistantCost": 12000, "assistant2Cost": 0, "known": { "sale": 286200, "material": 264000, "laborAndFees": 3600, "unallocated": 0, "totalCost": 267600, "profit": 18600, "ownerCost": 255600, "assistantCost": 12000, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 原锁价采购", "amount": 255000, "payer": "owner", "excluded": false, "priceLockSource": "original", "calculation": { "rate": 85000, "quantity": 3000 } }, { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 补重采购", "amount": 9000, "payer": "assistant", "excluded": false, "priceLockSource": "extra", "calculation": { "rate": 90000, "quantity": 100 } }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "实际快递", "source": "2026-11-19", "amount": 600, "payer": "owner", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "实际快递", "source": "2026-11-19", "amount": 600, "payer": "owner", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 3, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119011", "date": "2026-11-19", "created": "2026-11-19T02:01:32.000Z", "recovery_id": "", "recovery_mode": "exchange", "nonCashOffset": 0, "cashPaid": 0, "netSettlement": 432792, "recovery_immutable_reason": "本单关联黄金回收/置换、购料及库存,暂不支持普通订单修改、取消、退款、退货或费用变更,请保留原关联记录", "customer": "对照换货客户", "salesperson": "小昊", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 12000, "summaryMg": 12000, "pieces": 0, "originalSale": 432792, "sale": 432792, "material": 360720, "laborAndFees": 6000, "unallocated": 0, "totalCost": 366720, "profit": 66072, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 366720, "known": { "sale": 432792, "material": 360720, "laborAndFees": 6000, "unallocated": 0, "totalCost": 366720, "profit": 66072, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 366720 }, "costItems": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金对照新货", "amount": 360720, "payer": "assistant2", "excluded": false, "calculation": { "rate": 90000, "quantity": 4008 }, "component": "material" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 6000, "payer": "assistant2", "excluded": false, "calculation": { "rate": 500, "quantity": 12000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 6000, "payer": "assistant2", "excluded": false, "calculation": { "rate": 500, "quantity": 12000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 4, "reviewed_revision": 0, "printStatus": { "kind": "recovery", "id": "", "printed": true, "revision": 1, "updated": "2026-11-19T02:01:40.000Z", "actor": "助理2" } }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119012", "date": "2026-11-19", "created": "2026-11-19T02:01:33.000Z", "recovery_id": "", "recovery_mode": "exchange", "nonCashOffset": 0, "cashPaid": 0, "netSettlement": 130800, "recovery_immutable_reason": "本单关联黄金回收/置换、购料及库存,暂不支持普通订单修改、取消、退款、退货或费用变更,请保留原关联记录", "customer": "对照换货客户二", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 6000, "summaryMg": 6000, "pieces": 0, "originalSale": 130800, "sale": 130800, "material": 103410, "laborAndFees": 3000, "unallocated": 0, "totalCost": 106410, "profit": 24390, "ownerCost": 0, "assistantCost": 106410, "assistant2Cost": 0, "known": { "sale": 130800, "material": 103410, "laborAndFees": 3000, "unallocated": 0, "totalCost": 106410, "profit": 24390, "ownerCost": 0, "assistantCost": 106410, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金对照新货", "amount": 103410, "payer": "assistant", "excluded": false, "calculation": { "rate": 90000, "quantity": 1149 }, "component": "material" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": { "rate": 500, "quantity": 6000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": { "rate": 500, "quantity": 6000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 4, "reviewed_revision": 0, "printStatus": { "kind": "recovery", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119013", "date": "2026-11-19", "created": "2026-11-19T02:01:48.000Z", "customer": "当天客户(改)", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 2000, "summaryMg": 2000, "pieces": 0, "originalSale": 210000, "sale": 210000, "material": null, "laborAndFees": null, "unallocated": 180000, "totalCost": 180800, "profit": 29200, "ownerCost": 0, "assistantCost": 180800, "assistant2Cost": 0, "known": { "sale": 210000, "material": 0, "laborAndFees": 800, "unallocated": 180000, "totalCost": 180800, "profit": 29200, "ownerCost": 0, "assistantCost": 180800, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金吊坠", "amount": 180000, "payer": "assistant", "excluded": false, "calculation": null, "component": "unallocated" }, { "kind": "paid", "name": "当天快递", "source": "2026-11-19", "amount": 800, "payer": "assistant", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "paid", "name": "当天快递", "source": "2026-11-19", "amount": 800, "payer": "assistant", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 7, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119014", "date": "2026-11-19", "created": "2026-11-19T02:01:57.000Z", "cancellationApproved": { "id": "", "status": "approved", "order_revision": 4, "reason": "当天录错", "requester_name": "助理", "created": "2026-11-19T02:01:59.000Z", "reviewer_name": null, "reviewed": null, "note": "", "direct": true, "operator_name": "助理", "executedAt": "2026-11-19T02:01:59.000Z" }, "customer": "当天取消客户", "salesperson": "娜娜", "status": "cancelled", "note": "", "types": [ "货盘现货" ], "mg": 2000, "summaryMg": 2000, "pieces": 0, "originalSale": 210000, "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0, "known": { "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0 }, "costItems": [], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "录错作废已获麦麦批准,本单销售、成本与收款记账已撤销,原单和审批记录保留", "balance": 0, "revision": 5, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119015", "date": "2026-11-19", "created": "2026-11-19T02:02:40.000Z", "materialPoolIds": [ "2026-11-19" ], "materialCostPending": false, "customer": "滚动料池客户", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "配货" ], "mg": 2000, "summaryMg": 2000, "pieces": 0, "originalSale": 220000, "sale": 220000, "material": 181898, "laborAndFees": 0, "unallocated": 0, "totalCost": 181898, "profit": 38102, "ownerCost": 0, "assistantCost": 181898, "assistant2Cost": 0, "known": { "sale": 220000, "material": 181898, "laborAndFees": 0, "unallocated": 0, "totalCost": 181898, "profit": 38102, "ownerCost": 0, "assistantCost": 181898, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 2026-11-19日购料", "amount": 181898, "payer": "assistant", "excluded": false, "materialPoolId": "2026-11-19", "materialPoolRevision": "2e1d58e4d359165036a53976f4ed30c7052bb21df8bd2eb46c6544546a2e818b", "calculation": { "rate": 90949, "quantity": 2000, "weighted": true } }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 4, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119016", "date": "2026-11-19", "created": "2026-11-19T02:02:51.000Z", "customer": "安全测试", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 500, "summaryMg": 500, "pieces": 0, "originalSale": 50000, "sale": 50000, "material": null, "laborAndFees": null, "unallocated": 42000, "totalCost": 42000, "profit": 8000, "ownerCost": 0, "assistantCost": 42000, "assistant2Cost": 0, "known": { "sale": 50000, "material": 0, "laborAndFees": 0, "unallocated": 42000, "totalCost": 42000, "profit": 8000, "ownerCost": 0, "assistantCost": 42000, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金转运珠", "amount": 42000, "payer": "assistant", "excluded": false, "calculation": null, "component": "unallocated" } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 4, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } } ], "recoveryCount": 0, "summary": { "orderCount": 16, "completedCount": 14, "draftCount": 0, "confirmedCount": 0, "returnedCount": 1, "cancelledCount": 2, "incompleteCount": 0, "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "unknownCostCount": 0, "unknownProfitCount": 0, "legacyUnallocatedCount": 7, "sale": 4358555, "material": 1819963, "laborAndFees": 34281, "unallocated": 1875000, "totalCost": 3729244, "profit": 629311, "ownerCost": 1945131, "assistantCost": 872393, "assistant2Cost": 911720, "mg": 57150, "pieces": 4, "knownCounts": { "sale": 16, "material": 9, "laborAndFees": 9, "unallocated": 16, "totalCost": 16, "profit": 16, "ownerCost": 16, "assistantCost": 16, "assistant2Cost": 16 }, "unknownCounts": { "sale": 0, "material": 7, "laborAndFees": 7, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0 }, "partial": true, "afterSaleCount": 3, "recordCount": 19 }, "peopleCount": { "from": "2026-11-18", "date": "2026-11-19", "baselineDate": "2026-11-17", "mode": "daily-total", "assistant1": { "total": 7, "endTotal": 7, "baselineTotal": null, "baselineDate": null, "netChange": null, "netChangeReason": "missing-previous", "recordedDays": 2 }, "assistant2": { "total": 4, "endTotal": 4, "baselineTotal": null, "baselineDate": null, "netChange": null, "netChangeReason": "missing-previous", "recordedDays": 2 } }, "priceLockActivity": { "basis": "eventDate", "from": "2026-11-18", "date": "2026-11-19", "customerCash": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 270000, "account": "助理微信", "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:53.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null }, { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 50000, "account": "助理2微信", "number": "SJ20261118-", "customer": "对照锁价客户三", "product": "足金999", "actor": "助理2", "created": "2026-11-18T02:01:55.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null }, { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 120000, "account": "助理支付宝", "number": "SJ20261118-", "customer": "对照锁价客户二", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:02:02.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null }, { "id": "", "price_lock_id": "", "date": "2026-11-19", "kind": "receipt", "amount": 16200, "account": "助理支付宝", "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-19T02:01:28.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null } ], "orderPayments": [], "materialOutlays": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "material", "amount": 255000, "payer": "owner", "source": "original", "quantity": 3000, "rate": 85000, "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:53.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "component": "material" }, { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "material", "amount": 255000, "payer": "owner", "source": "original", "quantity": 3000, "rate": 85000, "number": "SJ20261118-", "customer": "对照锁价客户二", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:54.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "component": "material" }, { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "material", "amount": 258000, "payer": "assistant2", "source": "original", "quantity": 3000, "rate": 86000, "number": "SJ20261118-", "customer": "对照锁价客户三", "product": "足金999", "actor": "助理2", "created": "2026-11-18T02:01:55.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "component": "material" }, { "id": "", "price_lock_id": "", "date": "2026-11-19", "kind": "material", "amount": 9000, "payer": "assistant", "source": "extra", "quantity": 100, "rate": 90000, "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-19T02:01:28.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "component": "material" } ], "directOutlays": [ { "id": "", "order_id": "", "date": "2026-11-19", "amount": 600, "payer": "owner", "note": "实际快递", "actor": "助理", "created": "2026-11-19T02:01:28.000Z", "price_lock_id": "", "number": "SJ20261118-", "customer": "对照锁价客户(改)", "kind": "fee", "component": "fee", "product": "足金999" } ], "deliveryGoodsOutlays": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": null, "id": "price-lock-goods::0", "price_lock_id": "", "order_id": "", "number": "MM20261119-", "paper_number": "20261119010", "customer": "对照锁价客户(改)", "date": "2026-11-19", "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "id": "price-lock-goods::1", "price_lock_id": "", "order_id": "", "number": "MM20261119-", "paper_number": "20261119010", "customer": "对照锁价客户(改)", "date": "2026-11-19", "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "id": "price-lock-goods::2", "price_lock_id": "", "order_id": "", "number": "MM20261119-", "paper_number": "20261119010", "customer": "对照锁价客户(改)", "date": "2026-11-19", "component": "other" } ], "receipts": { "receipt": 456200, "refund": 0, "net": 456200, "channels": [ { "channel": "wechat", "name": "微信", "receipt": 320000, "refund": 0, "net": 320000 }, { "channel": "alipay", "name": "支付宝", "receipt": 136200, "refund": 0, "net": 136200 }, { "channel": "cash", "name": "现金", "receipt": 0, "refund": 0, "net": 0 } ], "accounts": [ { "account": "助理微信", "receipt": 270000, "refund": 0, "net": 270000 }, { "account": "助理支付宝", "receipt": 136200, "refund": 0, "net": 136200 }, { "account": "助理现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2微信", "receipt": 50000, "refund": 0, "net": 50000 }, { "account": "助理2支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2现金", "receipt": 0, "refund": 0, "net": 0 } ], "paymentCount": 4, "orderCount": 3 }, "payerOutlays": { "owner": { "payer": "owner", "material": 510000, "goods": 510000, "paidFees": 600, "total": 510600 }, "assistant": { "payer": "assistant", "material": 9000, "goods": 12000, "paidFees": 0, "total": 12000 }, "assistant2": { "payer": "assistant2", "material": 258000, "goods": 258000, "paidFees": 0, "total": 258000 } }, "summary": { "receipt": 456200, "refund": 0, "net": 456200, "materialOutlay": 777000, "goodsOutlay": 780000, "feeOutlay": 600, "ownerOutlay": 510600, "assistantOutlay": 12000, "assistant2Outlay": 258000, "totalOutlay": 780600, "eventCount": 12, "lockCount": 3 } }, "materialPoolActivity": { "basis": "purchaseDate", "from": "2026-11-18", "date": "2026-11-19", "purchases": [ { "id": "", "pool_id": "2026-11-18", "date": "2026-11-18", "mg": 11000, "amount": 990000, "payer": "assistant", "note": "核对凭据", "actor": "助理", "created": "2026-11-18T02:01:09.000Z", "revision": 2, "deleted_at": "", "updated": "2026-11-19T02:02:27.000Z" }, { "id": "", "pool_id": "2026-11-18", "date": "2026-11-18", "mg": 20000, "amount": 1820000, "payer": "owner", "note": "麦麦购料", "actor": "麦麦", "created": "2026-11-18T02:01:10.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-18T02:01:10.000Z" }, { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 5000, "amount": 460000, "payer": "assistant", "note": "第二天购料", "actor": "助理", "created": "2026-11-19T02:02:19.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:19.000Z" }, { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 4000, "amount": 370000, "payer": "assistant2", "note": "", "actor": "助理2", "created": "2026-11-19T02:02:20.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:20.000Z" } ], "payerOutlays": { "owner": { "payer": "owner", "material": 1820000, "goods": 1820000, "paidFees": 0, "total": 1820000, "purchaseCount": 1 }, "assistant": { "payer": "assistant", "material": 1450000, "goods": 1450000, "paidFees": 0, "total": 1450000, "purchaseCount": 2 }, "assistant2": { "payer": "assistant2", "material": 370000, "goods": 370000, "paidFees": 0, "total": 370000, "purchaseCount": 1 } }, "summary": { "purchaseCount": 4, "poolCount": 2, "mg": 40000, "materialOutlay": 3640000, "purchaseValue": 3640000, "ownerOutlay": 1820000, "assistantOutlay": 1450000, "assistant2Outlay": 370000, "totalOutlay": 3640000, "eventCount": 4 } }, "summaryWithoutCancelled": { "orderCount": 14, "completedCount": 14, "draftCount": 0, "confirmedCount": 0, "returnedCount": 1, "cancelledCount": 0, "incompleteCount": 0, "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "unknownCostCount": 0, "unknownProfitCount": 0, "legacyUnallocatedCount": 7, "sale": 4358555, "material": 1819963, "laborAndFees": 34281, "unallocated": 1875000, "totalCost": 3729244, "profit": 629311, "ownerCost": 1945131, "assistantCost": 872393, "assistant2Cost": 911720, "mg": 53650, "pieces": 4, "knownCounts": { "sale": 14, "material": 7, "laborAndFees": 7, "unallocated": 14, "totalCost": 14, "profit": 14, "ownerCost": 14, "assistantCost": 14, "assistant2Cost": 14 }, "unknownCounts": { "sale": 0, "material": 7, "laborAndFees": 7, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0 }, "partial": true, "afterSaleCount": 3, "recordCount": 17 }, "receiptsWithoutCancelled": { "basis": "orderDate", "filterScope": "matchingOrdersWithoutCancelled", "from": "2026-11-18", "date": "2026-11-19", "receipt": 4618555, "refund": 90000, "net": 4528555, "channels": [ { "channel": "wechat", "name": "微信", "receipt": 2184692, "refund": 0, "net": 2184692 }, { "channel": "alipay", "name": "支付宝", "receipt": 535363, "refund": 90000, "net": 445363 }, { "channel": "cash", "name": "现金", "receipt": 1310000, "refund": 0, "net": 1310000 }, { "channel": "credit_card", "name": "信用卡", "receipt": 588500, "refund": 0, "net": 588500 } ], "accounts": [ { "account": "助理微信", "receipt": 1201900, "refund": 0, "net": 1201900 }, { "account": "助理支付宝", "receipt": 218200, "refund": 0, "net": 218200 }, { "account": "助理现金", "receipt": 330000, "refund": 0, "net": 330000 }, { "account": "麦麦微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦支付宝", "receipt": 100000, "refund": 0, "net": 100000 }, { "account": "麦麦现金", "receipt": 980000, "refund": 0, "net": 980000 }, { "account": "麦麦信用卡", "receipt": 588500, "refund": 0, "net": 588500 }, { "account": "助理2微信", "receipt": 982792, "refund": 0, "net": 982792 }, { "account": "助理2支付宝", "receipt": 217163, "refund": 90000, "net": 127163 }, { "account": "助理2现金", "receipt": 0, "refund": 0, "net": 0 } ], "paymentCount": 19, "orderCount": 16 }, "receiptsByPaymentDate": { "basis": "paymentDate", "filterScope": "dateRange", "from": "2026-11-18", "date": "2026-11-19", "receipt": 4618555, "refund": 90000, "net": 4528555, "channels": [ { "channel": "wechat", "name": "微信", "receipt": 2184692, "refund": 0, "net": 2184692 }, { "channel": "alipay", "name": "支付宝", "receipt": 535363, "refund": 90000, "net": 445363 }, { "channel": "cash", "name": "现金", "receipt": 1310000, "refund": 0, "net": 1310000 }, { "channel": "credit_card", "name": "信用卡", "receipt": 588500, "refund": 0, "net": 588500 } ], "accounts": [ { "account": "助理微信", "receipt": 1201900, "refund": 0, "net": 1201900 }, { "account": "助理支付宝", "receipt": 218200, "refund": 0, "net": 218200 }, { "account": "助理现金", "receipt": 330000, "refund": 0, "net": 330000 }, { "account": "麦麦微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦支付宝", "receipt": 100000, "refund": 0, "net": 100000 }, { "account": "麦麦现金", "receipt": 980000, "refund": 0, "net": 980000 }, { "account": "麦麦信用卡", "receipt": 588500, "refund": 0, "net": 588500 }, { "account": "助理2微信", "receipt": 982792, "refund": 0, "net": 982792 }, { "account": "助理2支付宝", "receipt": 217163, "refund": 90000, "net": 127163 }, { "account": "助理2现金", "receipt": 0, "refund": 0, "net": 0 } ], "paymentCount": 23, "orderCount": 18 }, "receiptsByOrderDate": { "basis": "orderDate", "filterScope": "matchingOrders", "from": "2026-11-18", "date": "2026-11-19", "receipt": 4618555, "refund": 90000, "net": 4528555, "channels": [ { "channel": "wechat", "name": "微信", "receipt": 2184692, "refund": 0, "net": 2184692 }, { "channel": "alipay", "name": "支付宝", "receipt": 535363, "refund": 90000, "net": 445363 }, { "channel": "cash", "name": "现金", "receipt": 1310000, "refund": 0, "net": 1310000 }, { "channel": "credit_card", "name": "信用卡", "receipt": 588500, "refund": 0, "net": 588500 } ], "accounts": [ { "account": "助理微信", "receipt": 1201900, "refund": 0, "net": 1201900 }, { "account": "助理支付宝", "receipt": 218200, "refund": 0, "net": 218200 }, { "account": "助理现金", "receipt": 330000, "refund": 0, "net": 330000 }, { "account": "麦麦微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦支付宝", "receipt": 100000, "refund": 0, "net": 100000 }, { "account": "麦麦现金", "receipt": 980000, "refund": 0, "net": 980000 }, { "account": "麦麦信用卡", "receipt": 588500, "refund": 0, "net": 588500 }, { "account": "助理2微信", "receipt": 982792, "refund": 0, "net": 982792 }, { "account": "助理2支付宝", "receipt": 217163, "refund": 90000, "net": 127163 }, { "account": "助理2现金", "receipt": 0, "refund": 0, "net": 0 } ], "paymentCount": 23, "orderCount": 18 } } }, { "seq": 474, "label": "order-book-filter paymentAccount=助理微信", "date": "2026-11-19", "actor": "owner", "method": "GET", "path": "/api/order-book?from=2026-11-18&date=2026-11-19&paymentAccount=助理微信", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "from": "2026-11-18", "date": "2026-11-19", "today": "2026-11-19", "q": "", "status": "all", "pocket": "", "rows": [ { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118001", "date": "2026-11-18", "created": "2026-11-18T02:01:17.000Z", "customer": "对照客户甲(改)", "salesperson": "娜娜", "status": "delivered", "note": "客户单备注", "types": [ "货盘现货" ], "mg": 3250, "summaryMg": 3250, "pieces": 0, "originalSale": 321100, "sale": 321100, "material": 286000, "laborAndFees": 5400, "unallocated": 0, "totalCost": 291400, "profit": 29700, "ownerCost": 286000, "assistantCost": 5400, "assistant2Cost": 0, "known": { "sale": 321100, "material": 286000, "laborAndFees": 5400, "unallocated": 0, "totalCost": 291400, "profit": 29700, "ownerCost": 286000, "assistantCost": 5400, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金999", "amount": 286000, "payer": "owner", "excluded": false, "calculation": { "rate": 88000, "quantity": 3250 }, "component": "material" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 4000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 200, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "快递", "source": "2026-11-18", "amount": 1200, "payer": "assistant", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 4000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 200, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "快递", "source": "2026-11-18", "amount": 1200, "payer": "assistant", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 5, "reviewed_revision": 0 }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118002", "date": "2026-11-18", "created": "2026-11-18T02:01:18.000Z", "customer": "对照客户乙", "salesperson": "小昊", "status": "delivered", "note": "", "types": [ "货盘现货", "配货 · 银饰" ], "mg": 2000, "summaryMg": 2000, "pieces": 3, "originalSale": 217163, "sale": 217163, "material": null, "laborAndFees": null, "unallocated": 183000, "totalCost": 183000, "profit": 34163, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 183000, "known": { "sale": 217163, "material": 0, "laborAndFees": 0, "unallocated": 183000, "totalCost": 183000, "profit": 34163, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 183000 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金999", "amount": 180000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "unallocated" }, { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 2 · 纯银925", "amount": 3000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "unallocated" } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 4, "reviewed_revision": 0 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118003", "date": "2026-11-18", "created": "2026-11-18T02:01:19.000Z", "customer": "对照客户丙", "salesperson": "麦麦", "status": "delivered", "note": "老板改备注", "types": [ "配货" ], "mg": 0, "summaryMg": 0, "pieces": 1, "originalSale": 288500, "sale": 288500, "material": null, "laborAndFees": null, "unallocated": 150000, "totalCost": 151731, "profit": 136769, "ownerCost": 151731, "assistantCost": 0, "assistant2Cost": 0, "known": { "sale": 288500, "material": 0, "laborAndFees": 1731, "unallocated": 150000, "totalCost": 151731, "profit": 136769, "ownerCost": 151731, "assistantCost": 0, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 金镶玉吊坠", "amount": 150000, "payer": "owner", "excluded": false, "calculation": null, "component": "unallocated" }, { "kind": "paid", "name": "信用卡手续费(6‰)", "source": "2026-11-18", "amount": 1731, "payer": "owner", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "paid", "name": "信用卡手续费(6‰)", "source": "2026-11-18", "amount": 1731, "payer": "owner", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 5, "reviewed_revision": 0 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118004", "date": "2026-11-18", "created": "2026-11-18T02:01:20.000Z", "materialPoolIds": [ "2026-11-18" ], "materialCostPending": false, "customer": "对照客户丁", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "配货" ], "mg": 3000, "summaryMg": 3000, "pieces": 0, "originalSale": 330000, "sale": 330000, "material": 271935, "laborAndFees": 1000, "unallocated": 0, "totalCost": 272935, "profit": 57065, "ownerCost": 0, "assistantCost": 272935, "assistant2Cost": 0, "known": { "sale": 330000, "material": 271935, "laborAndFees": 1000, "unallocated": 0, "totalCost": 272935, "profit": 57065, "ownerCost": 0, "assistantCost": 272935, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 2026-11-18日购料", "amount": 271935, "payer": "assistant", "excluded": false, "materialPoolId": "2026-11-18", "materialPoolRevision": "2823f40ff78424f5423f0dbdf991ea5fcc83b0144648e9d2399869970c27af75", "calculation": { "rate": 90645, "quantity": 3000, "weighted": true } }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "补寄快递", "source": "2026-11-19", "amount": 1000, "payer": "assistant", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "补寄快递", "source": "2026-11-19", "amount": 1000, "payer": "assistant", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 6, "reviewed_revision": 0 }, { "id": "", "member": "owner", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118005", "date": "2026-11-18", "created": "2026-11-18T02:01:21.000Z", "customer": "对照草稿客户", "salesperson": "麦麦", "status": "delivered", "note": "", "types": [ "货盘·展柜A(主)" ], "mg": 10000, "summaryMg": 10000, "pieces": 0, "originalSale": 980000, "sale": 980000, "material": null, "laborAndFees": null, "unallocated": 900000, "totalCost": 900000, "profit": 80000, "ownerCost": 900000, "assistantCost": 0, "assistant2Cost": 0, "known": { "sale": 980000, "material": 0, "laborAndFees": 0, "unallocated": 900000, "totalCost": 900000, "profit": 80000, "ownerCost": 900000, "assistantCost": 0, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金手镯", "amount": 900000, "payer": "owner", "excluded": false, "calculation": null, "component": "unallocated" } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 5, "reviewed_revision": 0 }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118006", "date": "2026-11-18", "created": "2026-11-18T02:01:24.000Z", "cancellationApproved": { "id": "", "status": "approved", "order_revision": 4, "reason": "重复录入", "requester_name": "助理2", "created": "2026-11-19T02:00:41.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:00:45.000Z", "note": "核对原单后确认" }, "customer": "对照取消客户", "salesperson": "小昊", "status": "cancelled", "note": "", "types": [ "货盘现货" ], "mg": 1500, "summaryMg": 1500, "pieces": 0, "originalSale": 150000, "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0, "known": { "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0 }, "costItems": [], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "录错作废已获麦麦批准,本单销售、成本与收款记账已撤销,原单和审批记录保留", "balance": 0, "revision": 5, "reviewed_revision": 0 }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118007", "date": "2026-11-18", "created": "2026-11-18T02:01:25.000Z", "customer": "对照售后订单客户", "salesperson": "小昊", "status": "delivered", "note": "", "orderAfterSale": { "orderId": "", "date": "2026-11-19", "reason": "客户退回一件", "deductionReason": "客户确认扣费", "refund": { "amount": 90000, "account": "助理2支付宝", "payer": "assistant2", "reference": "" }, "expenses": [], "original": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": { "id": "", "status": "approved", "action": "return", "action_label": "订单售后", "order_revision": 4, "reason": "客户退回一件", "requester_name": "助理2", "created": "2026-11-19T02:01:03.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:01:05.000Z", "note": "实物已收回" }, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 0, "netReceived": 500000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 50000, "knownProfit": 50000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "funds_mode": "team", "credit_card_rate_permille": 6 }, "originalJournal": { "sales": 500000, "goods": 450000, "expense": 0, "profit": 50000 }, "summary": { "refundAmount": 90000, "retainedAmount": 410000, "materialReturnedCost": 88000, "laborRestockedCost": 0, "materialLoss": 352000, "costLoss": 362000, "originalDirectCost": 0, "newExpenses": 0, "directCost": 0, "profit": 48000, "finalProfit": 48000, "profitAdjustment": -2000, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ] }, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ], "originalOrder": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": { "id": "", "status": "approved", "action": "return", "action_label": "订单售后", "order_revision": 4, "reason": "客户退回一件", "requester_name": "助理2", "created": "2026-11-19T02:01:03.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:01:05.000Z", "note": "实物已收回" }, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 0, "netReceived": 500000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 50000, "knownProfit": 50000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "funds_mode": "team", "credit_card_rate_permille": 6 } }, "current_status": "returned", "types": [ "货盘现货" ], "mg": 5000, "summaryMg": 5000, "pieces": 0, "originalSale": 500000, "sale": 500000, "material": 440000, "laborAndFees": 10000, "unallocated": 0, "totalCost": 450000, "profit": 50000, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 450000, "known": { "sale": 500000, "material": 440000, "laborAndFees": 10000, "unallocated": 0, "totalCost": 450000, "profit": 50000, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 450000 }, "costItems": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金手链", "amount": 440000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "material" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金手链", "amount": 10000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金手链", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金手链", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金手链", "amount": 10000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金手链", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金手链", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 4, "reviewed_revision": 0 }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118008", "date": "2026-11-18", "created": "2026-11-18T02:01:26.000Z", "customer": "对照驳回客户", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 800, "summaryMg": 800, "pieces": 0, "originalSale": 82000, "sale": 82000, "material": null, "laborAndFees": null, "unallocated": 70000, "totalCost": 70000, "profit": 12000, "ownerCost": 0, "assistantCost": 70000, "assistant2Cost": 0, "known": { "sale": 82000, "material": 0, "laborAndFees": 0, "unallocated": 70000, "totalCost": 70000, "profit": 12000, "ownerCost": 0, "assistantCost": 70000, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金耳钉", "amount": 70000, "payer": "assistant", "excluded": false, "calculation": null, "component": "unallocated" } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 5, "reviewed_revision": 0 }, { "id": "", "member": "owner", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118009", "date": "2026-11-18", "created": "2026-11-18T02:01:27.000Z", "customer": "对照分步客户", "salesperson": "麦麦", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 4000, "summaryMg": 4000, "pieces": 0, "originalSale": 400000, "sale": 400000, "material": null, "laborAndFees": null, "unallocated": 350000, "totalCost": 351800, "profit": 48200, "ownerCost": 351800, "assistantCost": 0, "assistant2Cost": 0, "known": { "sale": 400000, "material": 0, "laborAndFees": 1800, "unallocated": 350000, "totalCost": 351800, "profit": 48200, "ownerCost": 351800, "assistantCost": 0, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金项链", "amount": 350000, "payer": "owner", "excluded": false, "calculation": null, "component": "unallocated" }, { "kind": "paid", "name": "信用卡手续费(6‰)", "source": "2026-11-18", "amount": 1800, "payer": "owner", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "paid", "name": "信用卡手续费(6‰)", "source": "2026-11-18", "amount": 1800, "payer": "owner", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 5, "reviewed_revision": 0 }, { "id": "", "kind": "afterSale", "after_sale_id": "", "number": "售后", "paper_number": "", "date": "2026-11-18", "created": "2026-11-18T02:02:03.000Z", "customer": "对照售后客户", "salesperson": "助理", "status": "after_sale", "project": "对照改圈", "note": "对照改圈", "amount": 950, "payer": "assistant", "types": [ "售后" ], "mg": 0, "summaryMg": 0, "pieces": 0, "originalSale": 0, "sale": 0, "material": 0, "laborAndFees": 950, "unallocated": 0, "totalCost": 950, "profit": -950, "ownerCost": 0, "assistantCost": 950, "known": { "sale": 0, "material": 0, "laborAndFees": 950, "unallocated": 0, "totalCost": 950, "profit": -950, "ownerCost": 0, "assistantCost": 950 }, "costItems": [ { "kind": "afterSale", "after_sale_id": "", "name": "对照改圈", "source": "售后 · 2026-11-18", "amount": 950, "payer": "assistant", "component": "fee", "calculation": null } ], "laborAndFeeItems": [ { "kind": "afterSale", "after_sale_id": "", "name": "对照改圈", "source": "售后 · 2026-11-18", "amount": 950, "payer": "assistant", "component": "fee", "calculation": null } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "独立售后支出,计入所选日期利润", "balance": 0, "revision": 2, "reviewed_revision": 2 }, { "id": "", "kind": "afterSale", "after_sale_id": "", "number": "售后", "paper_number": "", "date": "2026-11-18", "created": "2026-11-18T02:02:06.000Z", "customer": "对照售后客户二", "salesperson": "麦麦", "status": "after_sale", "project": "对照清洗", "note": "对照清洗", "amount": 0, "payer": "owner", "types": [ "售后" ], "mg": 0, "summaryMg": 0, "pieces": 0, "originalSale": 0, "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "known": { "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0 }, "costItems": [ { "kind": "afterSale", "after_sale_id": "", "name": "对照清洗", "source": "售后 · 2026-11-18", "amount": 0, "payer": "owner", "component": "fee", "calculation": null } ], "laborAndFeeItems": [ { "kind": "afterSale", "after_sale_id": "", "name": "对照清洗", "source": "售后 · 2026-11-18", "amount": 0, "payer": "owner", "component": "fee", "calculation": null } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "独立售后支出,计入所选日期利润", "balance": 0, "revision": 1, "reviewed_revision": 1 }, { "id": "", "order_id": "", "kind": "orderAfterSale", "orderAfterSale": { "orderId": "", "date": "2026-11-19", "reason": "客户退回一件", "deductionReason": "客户确认扣费", "refund": { "amount": 90000, "account": "助理2支付宝", "payer": "assistant2", "reference": "" }, "expenses": [], "original": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": { "id": "", "status": "approved", "action": "return", "action_label": "订单售后", "order_revision": 4, "reason": "客户退回一件", "requester_name": "助理2", "created": "2026-11-19T02:01:03.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:01:05.000Z", "note": "实物已收回" }, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 0, "netReceived": 500000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 50000, "knownProfit": 50000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "funds_mode": "team", "credit_card_rate_permille": 6 }, "originalJournal": { "sales": 500000, "goods": 450000, "expense": 0, "profit": 50000 }, "summary": { "refundAmount": 90000, "retainedAmount": 410000, "materialReturnedCost": 88000, "laborRestockedCost": 0, "materialLoss": 352000, "costLoss": 362000, "originalDirectCost": 0, "newExpenses": 0, "directCost": 0, "profit": 48000, "finalProfit": 48000, "profitAdjustment": -2000, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ] }, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ], "order_id": "", "created": "2026-11-19T02:01:05.000Z", "number": "MM20261118-", "paper_number": "20261118007", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "order_date": "2026-11-18", "member": "assistant2" }, "member": "assistant2", "number": "MM20261118-", "paper_number": "20261118007", "date": "2026-11-19", "order_date": "2026-11-18", "created": "2026-11-19T02:01:05.000Z", "customer": "对照售后订单客户", "salesperson": "小昊", "status": "after_sale", "note": "", "project": "订单售后", "types": [ "订单售后" ], "mg": 0, "summaryMg": 0, "pieces": 0, "originalSale": 500000, "sale": -90000, "material": -88000, "laborAndFees": 0, "unallocated": 0, "totalCost": -88000, "profit": -2000, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": -88000, "known": { "sale": -90000, "material": -88000, "laborAndFees": 0, "unallocated": 0, "totalCost": -88000, "profit": -2000, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": -88000 }, "costItems": [ { "kind": "goods", "component": "material", "name": "售后收回金料成本", "source": "商品 1 · 足金手链", "amount": -88000, "payer": "assistant2", "nonCash": true, "materialPoolId": "2026-11-19", "calculation": null } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "按售后发生日调整;回收成本不属于新付款", "balance": 0, "revision": 1, "reviewed_revision": 1 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119010", "date": "2026-11-19", "created": "2026-11-19T02:01:28.000Z", "price_lock_id": "", "customer": "对照锁价客户(改)", "salesperson": "娜娜", "status": "delivered", "note": "锁价备注;锁价单 SJ20261118-;按原锁定金价 900.00元/克结算", "types": [ "货盘现货" ], "mg": 3100, "summaryMg": 3100, "pieces": 0, "originalSale": 286200, "sale": 286200, "material": 264000, "laborAndFees": 3600, "unallocated": 0, "totalCost": 267600, "profit": 18600, "ownerCost": 255600, "assistantCost": 12000, "assistant2Cost": 0, "known": { "sale": 286200, "material": 264000, "laborAndFees": 3600, "unallocated": 0, "totalCost": 267600, "profit": 18600, "ownerCost": 255600, "assistantCost": 12000, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 原锁价采购", "amount": 255000, "payer": "owner", "excluded": false, "priceLockSource": "original", "calculation": { "rate": 85000, "quantity": 3000 } }, { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 补重采购", "amount": 9000, "payer": "assistant", "excluded": false, "priceLockSource": "extra", "calculation": { "rate": 90000, "quantity": 100 } }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "实际快递", "source": "2026-11-19", "amount": 600, "payer": "owner", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "实际快递", "source": "2026-11-19", "amount": 600, "payer": "owner", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 3, "reviewed_revision": 0 }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119011", "date": "2026-11-19", "created": "2026-11-19T02:01:32.000Z", "recovery_id": "", "recovery_mode": "exchange", "nonCashOffset": 0, "cashPaid": 0, "netSettlement": 432792, "recovery_immutable_reason": "本单关联黄金回收/置换、购料及库存,暂不支持普通订单修改、取消、退款、退货或费用变更,请保留原关联记录", "customer": "对照换货客户", "salesperson": "小昊", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 12000, "summaryMg": 12000, "pieces": 0, "originalSale": 432792, "sale": 432792, "material": 360720, "laborAndFees": 6000, "unallocated": 0, "totalCost": 366720, "profit": 66072, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 366720, "known": { "sale": 432792, "material": 360720, "laborAndFees": 6000, "unallocated": 0, "totalCost": 366720, "profit": 66072, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 366720 }, "costItems": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金对照新货", "amount": 360720, "payer": "assistant2", "excluded": false, "calculation": { "rate": 90000, "quantity": 4008 }, "component": "material" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 6000, "payer": "assistant2", "excluded": false, "calculation": { "rate": 500, "quantity": 12000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 6000, "payer": "assistant2", "excluded": false, "calculation": { "rate": 500, "quantity": 12000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 4, "reviewed_revision": 0 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119012", "date": "2026-11-19", "created": "2026-11-19T02:01:33.000Z", "recovery_id": "", "recovery_mode": "exchange", "nonCashOffset": 0, "cashPaid": 0, "netSettlement": 130800, "recovery_immutable_reason": "本单关联黄金回收/置换、购料及库存,暂不支持普通订单修改、取消、退款、退货或费用变更,请保留原关联记录", "customer": "对照换货客户二", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 6000, "summaryMg": 6000, "pieces": 0, "originalSale": 130800, "sale": 130800, "material": 103410, "laborAndFees": 3000, "unallocated": 0, "totalCost": 106410, "profit": 24390, "ownerCost": 0, "assistantCost": 106410, "assistant2Cost": 0, "known": { "sale": 130800, "material": 103410, "laborAndFees": 3000, "unallocated": 0, "totalCost": 106410, "profit": 24390, "ownerCost": 0, "assistantCost": 106410, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金对照新货", "amount": 103410, "payer": "assistant", "excluded": false, "calculation": { "rate": 90000, "quantity": 1149 }, "component": "material" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": { "rate": 500, "quantity": 6000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": { "rate": 500, "quantity": 6000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 4, "reviewed_revision": 0 }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119013", "date": "2026-11-19", "created": "2026-11-19T02:01:48.000Z", "customer": "当天客户(改)", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 2000, "summaryMg": 2000, "pieces": 0, "originalSale": 210000, "sale": 210000, "material": null, "laborAndFees": null, "unallocated": 180000, "totalCost": 180800, "profit": 29200, "ownerCost": 0, "assistantCost": 180800, "assistant2Cost": 0, "known": { "sale": 210000, "material": 0, "laborAndFees": 800, "unallocated": 180000, "totalCost": 180800, "profit": 29200, "ownerCost": 0, "assistantCost": 180800, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金吊坠", "amount": 180000, "payer": "assistant", "excluded": false, "calculation": null, "component": "unallocated" }, { "kind": "paid", "name": "当天快递", "source": "2026-11-19", "amount": 800, "payer": "assistant", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "paid", "name": "当天快递", "source": "2026-11-19", "amount": 800, "payer": "assistant", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 7, "reviewed_revision": 0 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119014", "date": "2026-11-19", "created": "2026-11-19T02:01:57.000Z", "cancellationApproved": { "id": "", "status": "approved", "order_revision": 4, "reason": "当天录错", "requester_name": "助理", "created": "2026-11-19T02:01:59.000Z", "reviewer_name": null, "reviewed": null, "note": "", "direct": true, "operator_name": "助理", "executedAt": "2026-11-19T02:01:59.000Z" }, "customer": "当天取消客户", "salesperson": "娜娜", "status": "cancelled", "note": "", "types": [ "货盘现货" ], "mg": 2000, "summaryMg": 2000, "pieces": 0, "originalSale": 210000, "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0, "known": { "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0 }, "costItems": [], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "录错作废已获麦麦批准,本单销售、成本与收款记账已撤销,原单和审批记录保留", "balance": 0, "revision": 5, "reviewed_revision": 0 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119015", "date": "2026-11-19", "created": "2026-11-19T02:02:40.000Z", "materialPoolIds": [ "2026-11-19" ], "materialCostPending": false, "customer": "滚动料池客户", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "配货" ], "mg": 2000, "summaryMg": 2000, "pieces": 0, "originalSale": 220000, "sale": 220000, "material": 181898, "laborAndFees": 0, "unallocated": 0, "totalCost": 181898, "profit": 38102, "ownerCost": 0, "assistantCost": 181898, "assistant2Cost": 0, "known": { "sale": 220000, "material": 181898, "laborAndFees": 0, "unallocated": 0, "totalCost": 181898, "profit": 38102, "ownerCost": 0, "assistantCost": 181898, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 2026-11-19日购料", "amount": 181898, "payer": "assistant", "excluded": false, "materialPoolId": "2026-11-19", "materialPoolRevision": "2e1d58e4d359165036a53976f4ed30c7052bb21df8bd2eb46c6544546a2e818b", "calculation": { "rate": 90949, "quantity": 2000, "weighted": true } }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 4, "reviewed_revision": 0 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119016", "date": "2026-11-19", "created": "2026-11-19T02:02:51.000Z", "customer": "安全测试", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 500, "summaryMg": 500, "pieces": 0, "originalSale": 50000, "sale": 50000, "material": null, "laborAndFees": null, "unallocated": 42000, "totalCost": 42000, "profit": 8000, "ownerCost": 0, "assistantCost": 42000, "assistant2Cost": 0, "known": { "sale": 50000, "material": 0, "laborAndFees": 0, "unallocated": 42000, "totalCost": 42000, "profit": 8000, "ownerCost": 0, "assistantCost": 42000, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金转运珠", "amount": 42000, "payer": "assistant", "excluded": false, "calculation": null, "component": "unallocated" } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 4, "reviewed_revision": 0 } ], "displayRows": [ { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118001", "date": "2026-11-18", "created": "2026-11-18T02:01:17.000Z", "customer": "对照客户甲(改)", "salesperson": "娜娜", "status": "delivered", "note": "客户单备注", "types": [ "货盘现货" ], "mg": 3250, "summaryMg": 3250, "pieces": 0, "originalSale": 321100, "sale": 321100, "material": 286000, "laborAndFees": 5400, "unallocated": 0, "totalCost": 291400, "profit": 29700, "ownerCost": 286000, "assistantCost": 5400, "assistant2Cost": 0, "known": { "sale": 321100, "material": 286000, "laborAndFees": 5400, "unallocated": 0, "totalCost": 291400, "profit": 29700, "ownerCost": 286000, "assistantCost": 5400, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金999", "amount": 286000, "payer": "owner", "excluded": false, "calculation": { "rate": 88000, "quantity": 3250 }, "component": "material" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 4000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 200, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "快递", "source": "2026-11-18", "amount": 1200, "payer": "assistant", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 4000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 200, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "快递", "source": "2026-11-18", "amount": 1200, "payer": "assistant", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 5, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 2, "updated": "2026-11-18T02:01:50.000Z", "actor": "助理" } }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118002", "date": "2026-11-18", "created": "2026-11-18T02:01:18.000Z", "customer": "对照客户乙", "salesperson": "小昊", "status": "delivered", "note": "", "types": [ "货盘现货", "配货 · 银饰" ], "mg": 2000, "summaryMg": 2000, "pieces": 3, "originalSale": 217163, "sale": 217163, "material": null, "laborAndFees": null, "unallocated": 183000, "totalCost": 183000, "profit": 34163, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 183000, "known": { "sale": 217163, "material": 0, "laborAndFees": 0, "unallocated": 183000, "totalCost": 183000, "profit": 34163, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 183000 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金999", "amount": 180000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "unallocated" }, { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 2 · 纯银925", "amount": 3000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "unallocated" } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 4, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118003", "date": "2026-11-18", "created": "2026-11-18T02:01:19.000Z", "customer": "对照客户丙", "salesperson": "麦麦", "status": "delivered", "note": "老板改备注", "types": [ "配货" ], "mg": 0, "summaryMg": 0, "pieces": 1, "originalSale": 288500, "sale": 288500, "material": null, "laborAndFees": null, "unallocated": 150000, "totalCost": 151731, "profit": 136769, "ownerCost": 151731, "assistantCost": 0, "assistant2Cost": 0, "known": { "sale": 288500, "material": 0, "laborAndFees": 1731, "unallocated": 150000, "totalCost": 151731, "profit": 136769, "ownerCost": 151731, "assistantCost": 0, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 金镶玉吊坠", "amount": 150000, "payer": "owner", "excluded": false, "calculation": null, "component": "unallocated" }, { "kind": "paid", "name": "信用卡手续费(6‰)", "source": "2026-11-18", "amount": 1731, "payer": "owner", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "paid", "name": "信用卡手续费(6‰)", "source": "2026-11-18", "amount": 1731, "payer": "owner", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 5, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118004", "date": "2026-11-18", "created": "2026-11-18T02:01:20.000Z", "materialPoolIds": [ "2026-11-18" ], "materialCostPending": false, "customer": "对照客户丁", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "配货" ], "mg": 3000, "summaryMg": 3000, "pieces": 0, "originalSale": 330000, "sale": 330000, "material": 271935, "laborAndFees": 1000, "unallocated": 0, "totalCost": 272935, "profit": 57065, "ownerCost": 0, "assistantCost": 272935, "assistant2Cost": 0, "known": { "sale": 330000, "material": 271935, "laborAndFees": 1000, "unallocated": 0, "totalCost": 272935, "profit": 57065, "ownerCost": 0, "assistantCost": 272935, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 2026-11-18日购料", "amount": 271935, "payer": "assistant", "excluded": false, "materialPoolId": "2026-11-18", "materialPoolRevision": "2823f40ff78424f5423f0dbdf991ea5fcc83b0144648e9d2399869970c27af75", "calculation": { "rate": 90645, "quantity": 3000, "weighted": true } }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "补寄快递", "source": "2026-11-19", "amount": 1000, "payer": "assistant", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "补寄快递", "source": "2026-11-19", "amount": 1000, "payer": "assistant", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 6, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "owner", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118005", "date": "2026-11-18", "created": "2026-11-18T02:01:21.000Z", "customer": "对照草稿客户", "salesperson": "麦麦", "status": "delivered", "note": "", "types": [ "货盘·展柜A(主)" ], "mg": 10000, "summaryMg": 10000, "pieces": 0, "originalSale": 980000, "sale": 980000, "material": null, "laborAndFees": null, "unallocated": 900000, "totalCost": 900000, "profit": 80000, "ownerCost": 900000, "assistantCost": 0, "assistant2Cost": 0, "known": { "sale": 980000, "material": 0, "laborAndFees": 0, "unallocated": 900000, "totalCost": 900000, "profit": 80000, "ownerCost": 900000, "assistantCost": 0, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金手镯", "amount": 900000, "payer": "owner", "excluded": false, "calculation": null, "component": "unallocated" } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 5, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118006", "date": "2026-11-18", "created": "2026-11-18T02:01:24.000Z", "cancellationApproved": { "id": "", "status": "approved", "order_revision": 4, "reason": "重复录入", "requester_name": "助理2", "created": "2026-11-19T02:00:41.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:00:45.000Z", "note": "核对原单后确认" }, "customer": "对照取消客户", "salesperson": "小昊", "status": "cancelled", "note": "", "types": [ "货盘现货" ], "mg": 1500, "summaryMg": 1500, "pieces": 0, "originalSale": 150000, "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0, "known": { "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0 }, "costItems": [], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "录错作废已获麦麦批准,本单销售、成本与收款记账已撤销,原单和审批记录保留", "balance": 0, "revision": 5, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118007", "date": "2026-11-18", "created": "2026-11-18T02:01:25.000Z", "customer": "对照售后订单客户", "salesperson": "小昊", "status": "returned", "note": "", "orderAfterSale": { "orderId": "", "date": "2026-11-19", "reason": "客户退回一件", "deductionReason": "客户确认扣费", "refund": { "amount": 90000, "account": "助理2支付宝", "payer": "assistant2", "reference": "" }, "expenses": [], "original": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": { "id": "", "status": "approved", "action": "return", "action_label": "订单售后", "order_revision": 4, "reason": "客户退回一件", "requester_name": "助理2", "created": "2026-11-19T02:01:03.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:01:05.000Z", "note": "实物已收回" }, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 0, "netReceived": 500000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 50000, "knownProfit": 50000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "funds_mode": "team", "credit_card_rate_permille": 6 }, "originalJournal": { "sales": 500000, "goods": 450000, "expense": 0, "profit": 50000 }, "summary": { "refundAmount": 90000, "retainedAmount": 410000, "materialReturnedCost": 88000, "laborRestockedCost": 0, "materialLoss": 352000, "costLoss": 362000, "originalDirectCost": 0, "newExpenses": 0, "directCost": 0, "profit": 48000, "finalProfit": 48000, "profitAdjustment": -2000, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ] }, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ], "originalOrder": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": { "id": "", "status": "approved", "action": "return", "action_label": "订单售后", "order_revision": 4, "reason": "客户退回一件", "requester_name": "助理2", "created": "2026-11-19T02:01:03.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:01:05.000Z", "note": "实物已收回" }, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 0, "netReceived": 500000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 50000, "knownProfit": 50000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "funds_mode": "team", "credit_card_rate_permille": 6 } }, "current_status": "returned", "types": [ "货盘现货" ], "mg": 5000, "summaryMg": 5000, "pieces": 0, "originalSale": 500000, "sale": 500000, "material": 440000, "laborAndFees": 10000, "unallocated": 0, "totalCost": 450000, "profit": 50000, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 450000, "known": { "sale": 500000, "material": 440000, "laborAndFees": 10000, "unallocated": 0, "totalCost": 450000, "profit": 50000, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 450000 }, "costItems": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金手链", "amount": 440000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "material" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金手链", "amount": 10000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金手链", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金手链", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金手链", "amount": 10000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金手链", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金手链", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 4, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118008", "date": "2026-11-18", "created": "2026-11-18T02:01:26.000Z", "customer": "对照驳回客户", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 800, "summaryMg": 800, "pieces": 0, "originalSale": 82000, "sale": 82000, "material": null, "laborAndFees": null, "unallocated": 70000, "totalCost": 70000, "profit": 12000, "ownerCost": 0, "assistantCost": 70000, "assistant2Cost": 0, "known": { "sale": 82000, "material": 0, "laborAndFees": 0, "unallocated": 70000, "totalCost": 70000, "profit": 12000, "ownerCost": 0, "assistantCost": 70000, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金耳钉", "amount": 70000, "payer": "assistant", "excluded": false, "calculation": null, "component": "unallocated" } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 5, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "owner", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118009", "date": "2026-11-18", "created": "2026-11-18T02:01:27.000Z", "customer": "对照分步客户", "salesperson": "麦麦", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 4000, "summaryMg": 4000, "pieces": 0, "originalSale": 400000, "sale": 400000, "material": null, "laborAndFees": null, "unallocated": 350000, "totalCost": 351800, "profit": 48200, "ownerCost": 351800, "assistantCost": 0, "assistant2Cost": 0, "known": { "sale": 400000, "material": 0, "laborAndFees": 1800, "unallocated": 350000, "totalCost": 351800, "profit": 48200, "ownerCost": 351800, "assistantCost": 0, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金项链", "amount": 350000, "payer": "owner", "excluded": false, "calculation": null, "component": "unallocated" }, { "kind": "paid", "name": "信用卡手续费(6‰)", "source": "2026-11-18", "amount": 1800, "payer": "owner", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "paid", "name": "信用卡手续费(6‰)", "source": "2026-11-18", "amount": 1800, "payer": "owner", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 5, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "kind": "afterSale", "after_sale_id": "", "number": "售后", "paper_number": "", "date": "2026-11-18", "created": "2026-11-18T02:02:03.000Z", "customer": "对照售后客户", "salesperson": "助理", "status": "after_sale", "project": "对照改圈", "note": "对照改圈", "amount": 950, "payer": "assistant", "types": [ "售后" ], "mg": 0, "summaryMg": 0, "pieces": 0, "originalSale": 0, "sale": 0, "material": 0, "laborAndFees": 950, "unallocated": 0, "totalCost": 950, "profit": -950, "ownerCost": 0, "assistantCost": 950, "known": { "sale": 0, "material": 0, "laborAndFees": 950, "unallocated": 0, "totalCost": 950, "profit": -950, "ownerCost": 0, "assistantCost": 950 }, "costItems": [ { "kind": "afterSale", "after_sale_id": "", "name": "对照改圈", "source": "售后 · 2026-11-18", "amount": 950, "payer": "assistant", "component": "fee", "calculation": null } ], "laborAndFeeItems": [ { "kind": "afterSale", "after_sale_id": "", "name": "对照改圈", "source": "售后 · 2026-11-18", "amount": 950, "payer": "assistant", "component": "fee", "calculation": null } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "独立售后支出,计入所选日期利润", "balance": 0, "revision": 2, "reviewed_revision": 2 }, { "id": "", "kind": "afterSale", "after_sale_id": "", "number": "售后", "paper_number": "", "date": "2026-11-18", "created": "2026-11-18T02:02:06.000Z", "customer": "对照售后客户二", "salesperson": "麦麦", "status": "after_sale", "project": "对照清洗", "note": "对照清洗", "amount": 0, "payer": "owner", "types": [ "售后" ], "mg": 0, "summaryMg": 0, "pieces": 0, "originalSale": 0, "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "known": { "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0 }, "costItems": [ { "kind": "afterSale", "after_sale_id": "", "name": "对照清洗", "source": "售后 · 2026-11-18", "amount": 0, "payer": "owner", "component": "fee", "calculation": null } ], "laborAndFeeItems": [ { "kind": "afterSale", "after_sale_id": "", "name": "对照清洗", "source": "售后 · 2026-11-18", "amount": 0, "payer": "owner", "component": "fee", "calculation": null } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "独立售后支出,计入所选日期利润", "balance": 0, "revision": 1, "reviewed_revision": 1 }, { "id": "", "order_id": "", "kind": "orderAfterSale", "orderAfterSale": { "orderId": "", "date": "2026-11-19", "reason": "客户退回一件", "deductionReason": "客户确认扣费", "refund": { "amount": 90000, "account": "助理2支付宝", "payer": "assistant2", "reference": "" }, "expenses": [], "original": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": { "id": "", "status": "approved", "action": "return", "action_label": "订单售后", "order_revision": 4, "reason": "客户退回一件", "requester_name": "助理2", "created": "2026-11-19T02:01:03.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:01:05.000Z", "note": "实物已收回" }, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 0, "netReceived": 500000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 50000, "knownProfit": 50000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "funds_mode": "team", "credit_card_rate_permille": 6 }, "originalJournal": { "sales": 500000, "goods": 450000, "expense": 0, "profit": 50000 }, "summary": { "refundAmount": 90000, "retainedAmount": 410000, "materialReturnedCost": 88000, "laborRestockedCost": 0, "materialLoss": 352000, "costLoss": 362000, "originalDirectCost": 0, "newExpenses": 0, "directCost": 0, "profit": 48000, "finalProfit": 48000, "profitAdjustment": -2000, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ] }, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ], "order_id": "", "created": "2026-11-19T02:01:05.000Z", "number": "MM20261118-", "paper_number": "20261118007", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "order_date": "2026-11-18", "member": "assistant2" }, "member": "assistant2", "number": "MM20261118-", "paper_number": "20261118007", "date": "2026-11-19", "order_date": "2026-11-18", "created": "2026-11-19T02:01:05.000Z", "customer": "对照售后订单客户", "salesperson": "小昊", "status": "after_sale", "note": "", "project": "订单售后", "types": [ "订单售后" ], "mg": 0, "summaryMg": 0, "pieces": 0, "originalSale": 500000, "sale": -90000, "material": -88000, "laborAndFees": 0, "unallocated": 0, "totalCost": -88000, "profit": -2000, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": -88000, "known": { "sale": -90000, "material": -88000, "laborAndFees": 0, "unallocated": 0, "totalCost": -88000, "profit": -2000, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": -88000 }, "costItems": [ { "kind": "goods", "component": "material", "name": "售后收回金料成本", "source": "商品 1 · 足金手链", "amount": -88000, "payer": "assistant2", "nonCash": true, "materialPoolId": "2026-11-19", "calculation": null } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "按售后发生日调整;回收成本不属于新付款", "balance": 0, "revision": 1, "reviewed_revision": 1 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119010", "date": "2026-11-19", "created": "2026-11-19T02:01:28.000Z", "price_lock_id": "", "customer": "对照锁价客户(改)", "salesperson": "娜娜", "status": "delivered", "note": "锁价备注;锁价单 SJ20261118-;按原锁定金价 900.00元/克结算", "types": [ "货盘现货" ], "mg": 3100, "summaryMg": 3100, "pieces": 0, "originalSale": 286200, "sale": 286200, "material": 264000, "laborAndFees": 3600, "unallocated": 0, "totalCost": 267600, "profit": 18600, "ownerCost": 255600, "assistantCost": 12000, "assistant2Cost": 0, "known": { "sale": 286200, "material": 264000, "laborAndFees": 3600, "unallocated": 0, "totalCost": 267600, "profit": 18600, "ownerCost": 255600, "assistantCost": 12000, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 原锁价采购", "amount": 255000, "payer": "owner", "excluded": false, "priceLockSource": "original", "calculation": { "rate": 85000, "quantity": 3000 } }, { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 补重采购", "amount": 9000, "payer": "assistant", "excluded": false, "priceLockSource": "extra", "calculation": { "rate": 90000, "quantity": 100 } }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "实际快递", "source": "2026-11-19", "amount": 600, "payer": "owner", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "实际快递", "source": "2026-11-19", "amount": 600, "payer": "owner", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 3, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119011", "date": "2026-11-19", "created": "2026-11-19T02:01:32.000Z", "recovery_id": "", "recovery_mode": "exchange", "nonCashOffset": 0, "cashPaid": 0, "netSettlement": 432792, "recovery_immutable_reason": "本单关联黄金回收/置换、购料及库存,暂不支持普通订单修改、取消、退款、退货或费用变更,请保留原关联记录", "customer": "对照换货客户", "salesperson": "小昊", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 12000, "summaryMg": 12000, "pieces": 0, "originalSale": 432792, "sale": 432792, "material": 360720, "laborAndFees": 6000, "unallocated": 0, "totalCost": 366720, "profit": 66072, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 366720, "known": { "sale": 432792, "material": 360720, "laborAndFees": 6000, "unallocated": 0, "totalCost": 366720, "profit": 66072, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 366720 }, "costItems": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金对照新货", "amount": 360720, "payer": "assistant2", "excluded": false, "calculation": { "rate": 90000, "quantity": 4008 }, "component": "material" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 6000, "payer": "assistant2", "excluded": false, "calculation": { "rate": 500, "quantity": 12000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 6000, "payer": "assistant2", "excluded": false, "calculation": { "rate": 500, "quantity": 12000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 4, "reviewed_revision": 0, "printStatus": { "kind": "recovery", "id": "", "printed": true, "revision": 1, "updated": "2026-11-19T02:01:40.000Z", "actor": "助理2" } }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119012", "date": "2026-11-19", "created": "2026-11-19T02:01:33.000Z", "recovery_id": "", "recovery_mode": "exchange", "nonCashOffset": 0, "cashPaid": 0, "netSettlement": 130800, "recovery_immutable_reason": "本单关联黄金回收/置换、购料及库存,暂不支持普通订单修改、取消、退款、退货或费用变更,请保留原关联记录", "customer": "对照换货客户二", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 6000, "summaryMg": 6000, "pieces": 0, "originalSale": 130800, "sale": 130800, "material": 103410, "laborAndFees": 3000, "unallocated": 0, "totalCost": 106410, "profit": 24390, "ownerCost": 0, "assistantCost": 106410, "assistant2Cost": 0, "known": { "sale": 130800, "material": 103410, "laborAndFees": 3000, "unallocated": 0, "totalCost": 106410, "profit": 24390, "ownerCost": 0, "assistantCost": 106410, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金对照新货", "amount": 103410, "payer": "assistant", "excluded": false, "calculation": { "rate": 90000, "quantity": 1149 }, "component": "material" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": { "rate": 500, "quantity": 6000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": { "rate": 500, "quantity": 6000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 4, "reviewed_revision": 0, "printStatus": { "kind": "recovery", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119013", "date": "2026-11-19", "created": "2026-11-19T02:01:48.000Z", "customer": "当天客户(改)", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 2000, "summaryMg": 2000, "pieces": 0, "originalSale": 210000, "sale": 210000, "material": null, "laborAndFees": null, "unallocated": 180000, "totalCost": 180800, "profit": 29200, "ownerCost": 0, "assistantCost": 180800, "assistant2Cost": 0, "known": { "sale": 210000, "material": 0, "laborAndFees": 800, "unallocated": 180000, "totalCost": 180800, "profit": 29200, "ownerCost": 0, "assistantCost": 180800, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金吊坠", "amount": 180000, "payer": "assistant", "excluded": false, "calculation": null, "component": "unallocated" }, { "kind": "paid", "name": "当天快递", "source": "2026-11-19", "amount": 800, "payer": "assistant", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "paid", "name": "当天快递", "source": "2026-11-19", "amount": 800, "payer": "assistant", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 7, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119014", "date": "2026-11-19", "created": "2026-11-19T02:01:57.000Z", "cancellationApproved": { "id": "", "status": "approved", "order_revision": 4, "reason": "当天录错", "requester_name": "助理", "created": "2026-11-19T02:01:59.000Z", "reviewer_name": null, "reviewed": null, "note": "", "direct": true, "operator_name": "助理", "executedAt": "2026-11-19T02:01:59.000Z" }, "customer": "当天取消客户", "salesperson": "娜娜", "status": "cancelled", "note": "", "types": [ "货盘现货" ], "mg": 2000, "summaryMg": 2000, "pieces": 0, "originalSale": 210000, "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0, "known": { "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0 }, "costItems": [], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "录错作废已获麦麦批准,本单销售、成本与收款记账已撤销,原单和审批记录保留", "balance": 0, "revision": 5, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119015", "date": "2026-11-19", "created": "2026-11-19T02:02:40.000Z", "materialPoolIds": [ "2026-11-19" ], "materialCostPending": false, "customer": "滚动料池客户", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "配货" ], "mg": 2000, "summaryMg": 2000, "pieces": 0, "originalSale": 220000, "sale": 220000, "material": 181898, "laborAndFees": 0, "unallocated": 0, "totalCost": 181898, "profit": 38102, "ownerCost": 0, "assistantCost": 181898, "assistant2Cost": 0, "known": { "sale": 220000, "material": 181898, "laborAndFees": 0, "unallocated": 0, "totalCost": 181898, "profit": 38102, "ownerCost": 0, "assistantCost": 181898, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 2026-11-19日购料", "amount": 181898, "payer": "assistant", "excluded": false, "materialPoolId": "2026-11-19", "materialPoolRevision": "2e1d58e4d359165036a53976f4ed30c7052bb21df8bd2eb46c6544546a2e818b", "calculation": { "rate": 90949, "quantity": 2000, "weighted": true } }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 4, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119016", "date": "2026-11-19", "created": "2026-11-19T02:02:51.000Z", "customer": "安全测试", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 500, "summaryMg": 500, "pieces": 0, "originalSale": 50000, "sale": 50000, "material": null, "laborAndFees": null, "unallocated": 42000, "totalCost": 42000, "profit": 8000, "ownerCost": 0, "assistantCost": 42000, "assistant2Cost": 0, "known": { "sale": 50000, "material": 0, "laborAndFees": 0, "unallocated": 42000, "totalCost": 42000, "profit": 8000, "ownerCost": 0, "assistantCost": 42000, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金转运珠", "amount": 42000, "payer": "assistant", "excluded": false, "calculation": null, "component": "unallocated" } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 4, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } } ], "recoveryCount": 0, "summary": { "orderCount": 16, "completedCount": 14, "draftCount": 0, "confirmedCount": 0, "returnedCount": 1, "cancelledCount": 2, "incompleteCount": 0, "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "unknownCostCount": 0, "unknownProfitCount": 0, "legacyUnallocatedCount": 7, "sale": 4358555, "material": 1819963, "laborAndFees": 34281, "unallocated": 1875000, "totalCost": 3729244, "profit": 629311, "ownerCost": 1945131, "assistantCost": 872393, "assistant2Cost": 911720, "mg": 57150, "pieces": 4, "knownCounts": { "sale": 16, "material": 9, "laborAndFees": 9, "unallocated": 16, "totalCost": 16, "profit": 16, "ownerCost": 16, "assistantCost": 16, "assistant2Cost": 16 }, "unknownCounts": { "sale": 0, "material": 7, "laborAndFees": 7, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0 }, "partial": true, "afterSaleCount": 3, "recordCount": 19 }, "peopleCount": { "from": "2026-11-18", "date": "2026-11-19", "baselineDate": "2026-11-17", "mode": "daily-total", "assistant1": { "total": 7, "endTotal": 7, "baselineTotal": null, "baselineDate": null, "netChange": null, "netChangeReason": "missing-previous", "recordedDays": 2 }, "assistant2": { "total": 4, "endTotal": 4, "baselineTotal": null, "baselineDate": null, "netChange": null, "netChangeReason": "missing-previous", "recordedDays": 2 } }, "priceLockActivity": { "basis": "eventDate", "from": "2026-11-18", "date": "2026-11-19", "customerCash": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 270000, "account": "助理微信", "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:53.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null }, { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 50000, "account": "助理2微信", "number": "SJ20261118-", "customer": "对照锁价客户三", "product": "足金999", "actor": "助理2", "created": "2026-11-18T02:01:55.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null }, { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 120000, "account": "助理支付宝", "number": "SJ20261118-", "customer": "对照锁价客户二", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:02:02.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null }, { "id": "", "price_lock_id": "", "date": "2026-11-19", "kind": "receipt", "amount": 16200, "account": "助理支付宝", "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-19T02:01:28.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null } ], "orderPayments": [], "materialOutlays": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "material", "amount": 255000, "payer": "owner", "source": "original", "quantity": 3000, "rate": 85000, "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:53.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "component": "material" }, { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "material", "amount": 255000, "payer": "owner", "source": "original", "quantity": 3000, "rate": 85000, "number": "SJ20261118-", "customer": "对照锁价客户二", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:54.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "component": "material" }, { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "material", "amount": 258000, "payer": "assistant2", "source": "original", "quantity": 3000, "rate": 86000, "number": "SJ20261118-", "customer": "对照锁价客户三", "product": "足金999", "actor": "助理2", "created": "2026-11-18T02:01:55.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "component": "material" }, { "id": "", "price_lock_id": "", "date": "2026-11-19", "kind": "material", "amount": 9000, "payer": "assistant", "source": "extra", "quantity": 100, "rate": 90000, "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-19T02:01:28.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "component": "material" } ], "directOutlays": [ { "id": "", "order_id": "", "date": "2026-11-19", "amount": 600, "payer": "owner", "note": "实际快递", "actor": "助理", "created": "2026-11-19T02:01:28.000Z", "price_lock_id": "", "number": "SJ20261118-", "customer": "对照锁价客户(改)", "kind": "fee", "component": "fee", "product": "足金999" } ], "deliveryGoodsOutlays": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": null, "id": "price-lock-goods::0", "price_lock_id": "", "order_id": "", "number": "MM20261119-", "paper_number": "20261119010", "customer": "对照锁价客户(改)", "date": "2026-11-19", "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "id": "price-lock-goods::1", "price_lock_id": "", "order_id": "", "number": "MM20261119-", "paper_number": "20261119010", "customer": "对照锁价客户(改)", "date": "2026-11-19", "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "id": "price-lock-goods::2", "price_lock_id": "", "order_id": "", "number": "MM20261119-", "paper_number": "20261119010", "customer": "对照锁价客户(改)", "date": "2026-11-19", "component": "other" } ], "receipts": { "receipt": 456200, "refund": 0, "net": 456200, "channels": [ { "channel": "wechat", "name": "微信", "receipt": 320000, "refund": 0, "net": 320000 }, { "channel": "alipay", "name": "支付宝", "receipt": 136200, "refund": 0, "net": 136200 }, { "channel": "cash", "name": "现金", "receipt": 0, "refund": 0, "net": 0 } ], "accounts": [ { "account": "助理微信", "receipt": 270000, "refund": 0, "net": 270000 }, { "account": "助理支付宝", "receipt": 136200, "refund": 0, "net": 136200 }, { "account": "助理现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2微信", "receipt": 50000, "refund": 0, "net": 50000 }, { "account": "助理2支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2现金", "receipt": 0, "refund": 0, "net": 0 } ], "paymentCount": 4, "orderCount": 3 }, "payerOutlays": { "owner": { "payer": "owner", "material": 510000, "goods": 510000, "paidFees": 600, "total": 510600 }, "assistant": { "payer": "assistant", "material": 9000, "goods": 12000, "paidFees": 0, "total": 12000 }, "assistant2": { "payer": "assistant2", "material": 258000, "goods": 258000, "paidFees": 0, "total": 258000 } }, "summary": { "receipt": 456200, "refund": 0, "net": 456200, "materialOutlay": 777000, "goodsOutlay": 780000, "feeOutlay": 600, "ownerOutlay": 510600, "assistantOutlay": 12000, "assistant2Outlay": 258000, "totalOutlay": 780600, "eventCount": 12, "lockCount": 3 } }, "materialPoolActivity": { "basis": "purchaseDate", "from": "2026-11-18", "date": "2026-11-19", "purchases": [ { "id": "", "pool_id": "2026-11-18", "date": "2026-11-18", "mg": 11000, "amount": 990000, "payer": "assistant", "note": "核对凭据", "actor": "助理", "created": "2026-11-18T02:01:09.000Z", "revision": 2, "deleted_at": "", "updated": "2026-11-19T02:02:27.000Z" }, { "id": "", "pool_id": "2026-11-18", "date": "2026-11-18", "mg": 20000, "amount": 1820000, "payer": "owner", "note": "麦麦购料", "actor": "麦麦", "created": "2026-11-18T02:01:10.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-18T02:01:10.000Z" }, { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 5000, "amount": 460000, "payer": "assistant", "note": "第二天购料", "actor": "助理", "created": "2026-11-19T02:02:19.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:19.000Z" }, { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 4000, "amount": 370000, "payer": "assistant2", "note": "", "actor": "助理2", "created": "2026-11-19T02:02:20.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:20.000Z" } ], "payerOutlays": { "owner": { "payer": "owner", "material": 1820000, "goods": 1820000, "paidFees": 0, "total": 1820000, "purchaseCount": 1 }, "assistant": { "payer": "assistant", "material": 1450000, "goods": 1450000, "paidFees": 0, "total": 1450000, "purchaseCount": 2 }, "assistant2": { "payer": "assistant2", "material": 370000, "goods": 370000, "paidFees": 0, "total": 370000, "purchaseCount": 1 } }, "summary": { "purchaseCount": 4, "poolCount": 2, "mg": 40000, "materialOutlay": 3640000, "purchaseValue": 3640000, "ownerOutlay": 1820000, "assistantOutlay": 1450000, "assistant2Outlay": 370000, "totalOutlay": 3640000, "eventCount": 4 } }, "summaryWithoutCancelled": { "orderCount": 14, "completedCount": 14, "draftCount": 0, "confirmedCount": 0, "returnedCount": 1, "cancelledCount": 0, "incompleteCount": 0, "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "unknownCostCount": 0, "unknownProfitCount": 0, "legacyUnallocatedCount": 7, "sale": 4358555, "material": 1819963, "laborAndFees": 34281, "unallocated": 1875000, "totalCost": 3729244, "profit": 629311, "ownerCost": 1945131, "assistantCost": 872393, "assistant2Cost": 911720, "mg": 53650, "pieces": 4, "knownCounts": { "sale": 14, "material": 7, "laborAndFees": 7, "unallocated": 14, "totalCost": 14, "profit": 14, "ownerCost": 14, "assistantCost": 14, "assistant2Cost": 14 }, "unknownCounts": { "sale": 0, "material": 7, "laborAndFees": 7, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0 }, "partial": true, "afterSaleCount": 3, "recordCount": 17 }, "receiptsWithoutCancelled": { "basis": "orderDate", "filterScope": "matchingOrdersWithoutCancelled", "from": "2026-11-18", "date": "2026-11-19", "receipt": 4618555, "refund": 90000, "net": 4528555, "channels": [ { "channel": "wechat", "name": "微信", "receipt": 2184692, "refund": 0, "net": 2184692 }, { "channel": "alipay", "name": "支付宝", "receipt": 535363, "refund": 90000, "net": 445363 }, { "channel": "cash", "name": "现金", "receipt": 1310000, "refund": 0, "net": 1310000 }, { "channel": "credit_card", "name": "信用卡", "receipt": 588500, "refund": 0, "net": 588500 } ], "accounts": [ { "account": "助理微信", "receipt": 1201900, "refund": 0, "net": 1201900 }, { "account": "助理支付宝", "receipt": 218200, "refund": 0, "net": 218200 }, { "account": "助理现金", "receipt": 330000, "refund": 0, "net": 330000 }, { "account": "麦麦微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦支付宝", "receipt": 100000, "refund": 0, "net": 100000 }, { "account": "麦麦现金", "receipt": 980000, "refund": 0, "net": 980000 }, { "account": "麦麦信用卡", "receipt": 588500, "refund": 0, "net": 588500 }, { "account": "助理2微信", "receipt": 982792, "refund": 0, "net": 982792 }, { "account": "助理2支付宝", "receipt": 217163, "refund": 90000, "net": 127163 }, { "account": "助理2现金", "receipt": 0, "refund": 0, "net": 0 } ], "paymentCount": 19, "orderCount": 16 }, "receiptsByPaymentDate": { "basis": "paymentDate", "filterScope": "dateRange", "from": "2026-11-18", "date": "2026-11-19", "receipt": 4618555, "refund": 90000, "net": 4528555, "channels": [ { "channel": "wechat", "name": "微信", "receipt": 2184692, "refund": 0, "net": 2184692 }, { "channel": "alipay", "name": "支付宝", "receipt": 535363, "refund": 90000, "net": 445363 }, { "channel": "cash", "name": "现金", "receipt": 1310000, "refund": 0, "net": 1310000 }, { "channel": "credit_card", "name": "信用卡", "receipt": 588500, "refund": 0, "net": 588500 } ], "accounts": [ { "account": "助理微信", "receipt": 1201900, "refund": 0, "net": 1201900 }, { "account": "助理支付宝", "receipt": 218200, "refund": 0, "net": 218200 }, { "account": "助理现金", "receipt": 330000, "refund": 0, "net": 330000 }, { "account": "麦麦微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦支付宝", "receipt": 100000, "refund": 0, "net": 100000 }, { "account": "麦麦现金", "receipt": 980000, "refund": 0, "net": 980000 }, { "account": "麦麦信用卡", "receipt": 588500, "refund": 0, "net": 588500 }, { "account": "助理2微信", "receipt": 982792, "refund": 0, "net": 982792 }, { "account": "助理2支付宝", "receipt": 217163, "refund": 90000, "net": 127163 }, { "account": "助理2现金", "receipt": 0, "refund": 0, "net": 0 } ], "paymentCount": 23, "orderCount": 18 }, "receiptsByOrderDate": { "basis": "orderDate", "filterScope": "matchingOrders", "from": "2026-11-18", "date": "2026-11-19", "receipt": 4618555, "refund": 90000, "net": 4528555, "channels": [ { "channel": "wechat", "name": "微信", "receipt": 2184692, "refund": 0, "net": 2184692 }, { "channel": "alipay", "name": "支付宝", "receipt": 535363, "refund": 90000, "net": 445363 }, { "channel": "cash", "name": "现金", "receipt": 1310000, "refund": 0, "net": 1310000 }, { "channel": "credit_card", "name": "信用卡", "receipt": 588500, "refund": 0, "net": 588500 } ], "accounts": [ { "account": "助理微信", "receipt": 1201900, "refund": 0, "net": 1201900 }, { "account": "助理支付宝", "receipt": 218200, "refund": 0, "net": 218200 }, { "account": "助理现金", "receipt": 330000, "refund": 0, "net": 330000 }, { "account": "麦麦微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦支付宝", "receipt": 100000, "refund": 0, "net": 100000 }, { "account": "麦麦现金", "receipt": 980000, "refund": 0, "net": 980000 }, { "account": "麦麦信用卡", "receipt": 588500, "refund": 0, "net": 588500 }, { "account": "助理2微信", "receipt": 982792, "refund": 0, "net": 982792 }, { "account": "助理2支付宝", "receipt": 217163, "refund": 90000, "net": 127163 }, { "account": "助理2现金", "receipt": 0, "refund": 0, "net": 0 } ], "paymentCount": 23, "orderCount": 18 } } }, { "seq": 475, "label": "order-book-filter basis=orderDate", "date": "2026-11-19", "actor": "owner", "method": "GET", "path": "/api/order-book?from=2026-11-18&date=2026-11-19&basis=orderDate", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "from": "2026-11-18", "date": "2026-11-19", "today": "2026-11-19", "q": "", "status": "all", "pocket": "", "rows": [ { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118001", "date": "2026-11-18", "created": "2026-11-18T02:01:17.000Z", "customer": "对照客户甲(改)", "salesperson": "娜娜", "status": "delivered", "note": "客户单备注", "types": [ "货盘现货" ], "mg": 3250, "summaryMg": 3250, "pieces": 0, "originalSale": 321100, "sale": 321100, "material": 286000, "laborAndFees": 5400, "unallocated": 0, "totalCost": 291400, "profit": 29700, "ownerCost": 286000, "assistantCost": 5400, "assistant2Cost": 0, "known": { "sale": 321100, "material": 286000, "laborAndFees": 5400, "unallocated": 0, "totalCost": 291400, "profit": 29700, "ownerCost": 286000, "assistantCost": 5400, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金999", "amount": 286000, "payer": "owner", "excluded": false, "calculation": { "rate": 88000, "quantity": 3250 }, "component": "material" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 4000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 200, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "快递", "source": "2026-11-18", "amount": 1200, "payer": "assistant", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 4000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 200, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "快递", "source": "2026-11-18", "amount": 1200, "payer": "assistant", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 5, "reviewed_revision": 0 }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118002", "date": "2026-11-18", "created": "2026-11-18T02:01:18.000Z", "customer": "对照客户乙", "salesperson": "小昊", "status": "delivered", "note": "", "types": [ "货盘现货", "配货 · 银饰" ], "mg": 2000, "summaryMg": 2000, "pieces": 3, "originalSale": 217163, "sale": 217163, "material": null, "laborAndFees": null, "unallocated": 183000, "totalCost": 183000, "profit": 34163, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 183000, "known": { "sale": 217163, "material": 0, "laborAndFees": 0, "unallocated": 183000, "totalCost": 183000, "profit": 34163, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 183000 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金999", "amount": 180000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "unallocated" }, { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 2 · 纯银925", "amount": 3000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "unallocated" } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 4, "reviewed_revision": 0 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118003", "date": "2026-11-18", "created": "2026-11-18T02:01:19.000Z", "customer": "对照客户丙", "salesperson": "麦麦", "status": "delivered", "note": "老板改备注", "types": [ "配货" ], "mg": 0, "summaryMg": 0, "pieces": 1, "originalSale": 288500, "sale": 288500, "material": null, "laborAndFees": null, "unallocated": 150000, "totalCost": 151731, "profit": 136769, "ownerCost": 151731, "assistantCost": 0, "assistant2Cost": 0, "known": { "sale": 288500, "material": 0, "laborAndFees": 1731, "unallocated": 150000, "totalCost": 151731, "profit": 136769, "ownerCost": 151731, "assistantCost": 0, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 金镶玉吊坠", "amount": 150000, "payer": "owner", "excluded": false, "calculation": null, "component": "unallocated" }, { "kind": "paid", "name": "信用卡手续费(6‰)", "source": "2026-11-18", "amount": 1731, "payer": "owner", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "paid", "name": "信用卡手续费(6‰)", "source": "2026-11-18", "amount": 1731, "payer": "owner", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 5, "reviewed_revision": 0 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118004", "date": "2026-11-18", "created": "2026-11-18T02:01:20.000Z", "materialPoolIds": [ "2026-11-18" ], "materialCostPending": false, "customer": "对照客户丁", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "配货" ], "mg": 3000, "summaryMg": 3000, "pieces": 0, "originalSale": 330000, "sale": 330000, "material": 271935, "laborAndFees": 1000, "unallocated": 0, "totalCost": 272935, "profit": 57065, "ownerCost": 0, "assistantCost": 272935, "assistant2Cost": 0, "known": { "sale": 330000, "material": 271935, "laborAndFees": 1000, "unallocated": 0, "totalCost": 272935, "profit": 57065, "ownerCost": 0, "assistantCost": 272935, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 2026-11-18日购料", "amount": 271935, "payer": "assistant", "excluded": false, "materialPoolId": "2026-11-18", "materialPoolRevision": "2823f40ff78424f5423f0dbdf991ea5fcc83b0144648e9d2399869970c27af75", "calculation": { "rate": 90645, "quantity": 3000, "weighted": true } }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "补寄快递", "source": "2026-11-19", "amount": 1000, "payer": "assistant", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "补寄快递", "source": "2026-11-19", "amount": 1000, "payer": "assistant", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 6, "reviewed_revision": 0 }, { "id": "", "member": "owner", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118005", "date": "2026-11-18", "created": "2026-11-18T02:01:21.000Z", "customer": "对照草稿客户", "salesperson": "麦麦", "status": "delivered", "note": "", "types": [ "货盘·展柜A(主)" ], "mg": 10000, "summaryMg": 10000, "pieces": 0, "originalSale": 980000, "sale": 980000, "material": null, "laborAndFees": null, "unallocated": 900000, "totalCost": 900000, "profit": 80000, "ownerCost": 900000, "assistantCost": 0, "assistant2Cost": 0, "known": { "sale": 980000, "material": 0, "laborAndFees": 0, "unallocated": 900000, "totalCost": 900000, "profit": 80000, "ownerCost": 900000, "assistantCost": 0, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金手镯", "amount": 900000, "payer": "owner", "excluded": false, "calculation": null, "component": "unallocated" } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 5, "reviewed_revision": 0 }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118006", "date": "2026-11-18", "created": "2026-11-18T02:01:24.000Z", "cancellationApproved": { "id": "", "status": "approved", "order_revision": 4, "reason": "重复录入", "requester_name": "助理2", "created": "2026-11-19T02:00:41.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:00:45.000Z", "note": "核对原单后确认" }, "customer": "对照取消客户", "salesperson": "小昊", "status": "cancelled", "note": "", "types": [ "货盘现货" ], "mg": 1500, "summaryMg": 1500, "pieces": 0, "originalSale": 150000, "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0, "known": { "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0 }, "costItems": [], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "录错作废已获麦麦批准,本单销售、成本与收款记账已撤销,原单和审批记录保留", "balance": 0, "revision": 5, "reviewed_revision": 0 }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118007", "date": "2026-11-18", "created": "2026-11-18T02:01:25.000Z", "customer": "对照售后订单客户", "salesperson": "小昊", "status": "delivered", "note": "", "orderAfterSale": { "orderId": "", "date": "2026-11-19", "reason": "客户退回一件", "deductionReason": "客户确认扣费", "refund": { "amount": 90000, "account": "助理2支付宝", "payer": "assistant2", "reference": "" }, "expenses": [], "original": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": { "id": "", "status": "approved", "action": "return", "action_label": "订单售后", "order_revision": 4, "reason": "客户退回一件", "requester_name": "助理2", "created": "2026-11-19T02:01:03.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:01:05.000Z", "note": "实物已收回" }, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 0, "netReceived": 500000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 50000, "knownProfit": 50000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "funds_mode": "team", "credit_card_rate_permille": 6 }, "originalJournal": { "sales": 500000, "goods": 450000, "expense": 0, "profit": 50000 }, "summary": { "refundAmount": 90000, "retainedAmount": 410000, "materialReturnedCost": 88000, "laborRestockedCost": 0, "materialLoss": 352000, "costLoss": 362000, "originalDirectCost": 0, "newExpenses": 0, "directCost": 0, "profit": 48000, "finalProfit": 48000, "profitAdjustment": -2000, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ] }, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ], "originalOrder": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": { "id": "", "status": "approved", "action": "return", "action_label": "订单售后", "order_revision": 4, "reason": "客户退回一件", "requester_name": "助理2", "created": "2026-11-19T02:01:03.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:01:05.000Z", "note": "实物已收回" }, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 0, "netReceived": 500000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 50000, "knownProfit": 50000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "funds_mode": "team", "credit_card_rate_permille": 6 } }, "current_status": "returned", "types": [ "货盘现货" ], "mg": 5000, "summaryMg": 5000, "pieces": 0, "originalSale": 500000, "sale": 500000, "material": 440000, "laborAndFees": 10000, "unallocated": 0, "totalCost": 450000, "profit": 50000, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 450000, "known": { "sale": 500000, "material": 440000, "laborAndFees": 10000, "unallocated": 0, "totalCost": 450000, "profit": 50000, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 450000 }, "costItems": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金手链", "amount": 440000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "material" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金手链", "amount": 10000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金手链", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金手链", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金手链", "amount": 10000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金手链", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金手链", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 4, "reviewed_revision": 0 }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118008", "date": "2026-11-18", "created": "2026-11-18T02:01:26.000Z", "customer": "对照驳回客户", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 800, "summaryMg": 800, "pieces": 0, "originalSale": 82000, "sale": 82000, "material": null, "laborAndFees": null, "unallocated": 70000, "totalCost": 70000, "profit": 12000, "ownerCost": 0, "assistantCost": 70000, "assistant2Cost": 0, "known": { "sale": 82000, "material": 0, "laborAndFees": 0, "unallocated": 70000, "totalCost": 70000, "profit": 12000, "ownerCost": 0, "assistantCost": 70000, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金耳钉", "amount": 70000, "payer": "assistant", "excluded": false, "calculation": null, "component": "unallocated" } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 5, "reviewed_revision": 0 }, { "id": "", "member": "owner", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118009", "date": "2026-11-18", "created": "2026-11-18T02:01:27.000Z", "customer": "对照分步客户", "salesperson": "麦麦", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 4000, "summaryMg": 4000, "pieces": 0, "originalSale": 400000, "sale": 400000, "material": null, "laborAndFees": null, "unallocated": 350000, "totalCost": 351800, "profit": 48200, "ownerCost": 351800, "assistantCost": 0, "assistant2Cost": 0, "known": { "sale": 400000, "material": 0, "laborAndFees": 1800, "unallocated": 350000, "totalCost": 351800, "profit": 48200, "ownerCost": 351800, "assistantCost": 0, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金项链", "amount": 350000, "payer": "owner", "excluded": false, "calculation": null, "component": "unallocated" }, { "kind": "paid", "name": "信用卡手续费(6‰)", "source": "2026-11-18", "amount": 1800, "payer": "owner", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "paid", "name": "信用卡手续费(6‰)", "source": "2026-11-18", "amount": 1800, "payer": "owner", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 5, "reviewed_revision": 0 }, { "id": "", "kind": "afterSale", "after_sale_id": "", "number": "售后", "paper_number": "", "date": "2026-11-18", "created": "2026-11-18T02:02:03.000Z", "customer": "对照售后客户", "salesperson": "助理", "status": "after_sale", "project": "对照改圈", "note": "对照改圈", "amount": 950, "payer": "assistant", "types": [ "售后" ], "mg": 0, "summaryMg": 0, "pieces": 0, "originalSale": 0, "sale": 0, "material": 0, "laborAndFees": 950, "unallocated": 0, "totalCost": 950, "profit": -950, "ownerCost": 0, "assistantCost": 950, "known": { "sale": 0, "material": 0, "laborAndFees": 950, "unallocated": 0, "totalCost": 950, "profit": -950, "ownerCost": 0, "assistantCost": 950 }, "costItems": [ { "kind": "afterSale", "after_sale_id": "", "name": "对照改圈", "source": "售后 · 2026-11-18", "amount": 950, "payer": "assistant", "component": "fee", "calculation": null } ], "laborAndFeeItems": [ { "kind": "afterSale", "after_sale_id": "", "name": "对照改圈", "source": "售后 · 2026-11-18", "amount": 950, "payer": "assistant", "component": "fee", "calculation": null } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "独立售后支出,计入所选日期利润", "balance": 0, "revision": 2, "reviewed_revision": 2 }, { "id": "", "kind": "afterSale", "after_sale_id": "", "number": "售后", "paper_number": "", "date": "2026-11-18", "created": "2026-11-18T02:02:06.000Z", "customer": "对照售后客户二", "salesperson": "麦麦", "status": "after_sale", "project": "对照清洗", "note": "对照清洗", "amount": 0, "payer": "owner", "types": [ "售后" ], "mg": 0, "summaryMg": 0, "pieces": 0, "originalSale": 0, "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "known": { "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0 }, "costItems": [ { "kind": "afterSale", "after_sale_id": "", "name": "对照清洗", "source": "售后 · 2026-11-18", "amount": 0, "payer": "owner", "component": "fee", "calculation": null } ], "laborAndFeeItems": [ { "kind": "afterSale", "after_sale_id": "", "name": "对照清洗", "source": "售后 · 2026-11-18", "amount": 0, "payer": "owner", "component": "fee", "calculation": null } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "独立售后支出,计入所选日期利润", "balance": 0, "revision": 1, "reviewed_revision": 1 }, { "id": "", "order_id": "", "kind": "orderAfterSale", "orderAfterSale": { "orderId": "", "date": "2026-11-19", "reason": "客户退回一件", "deductionReason": "客户确认扣费", "refund": { "amount": 90000, "account": "助理2支付宝", "payer": "assistant2", "reference": "" }, "expenses": [], "original": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": { "id": "", "status": "approved", "action": "return", "action_label": "订单售后", "order_revision": 4, "reason": "客户退回一件", "requester_name": "助理2", "created": "2026-11-19T02:01:03.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:01:05.000Z", "note": "实物已收回" }, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 0, "netReceived": 500000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 50000, "knownProfit": 50000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "funds_mode": "team", "credit_card_rate_permille": 6 }, "originalJournal": { "sales": 500000, "goods": 450000, "expense": 0, "profit": 50000 }, "summary": { "refundAmount": 90000, "retainedAmount": 410000, "materialReturnedCost": 88000, "laborRestockedCost": 0, "materialLoss": 352000, "costLoss": 362000, "originalDirectCost": 0, "newExpenses": 0, "directCost": 0, "profit": 48000, "finalProfit": 48000, "profitAdjustment": -2000, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ] }, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ], "order_id": "", "created": "2026-11-19T02:01:05.000Z", "number": "MM20261118-", "paper_number": "20261118007", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "order_date": "2026-11-18", "member": "assistant2" }, "member": "assistant2", "number": "MM20261118-", "paper_number": "20261118007", "date": "2026-11-19", "order_date": "2026-11-18", "created": "2026-11-19T02:01:05.000Z", "customer": "对照售后订单客户", "salesperson": "小昊", "status": "after_sale", "note": "", "project": "订单售后", "types": [ "订单售后" ], "mg": 0, "summaryMg": 0, "pieces": 0, "originalSale": 500000, "sale": -90000, "material": -88000, "laborAndFees": 0, "unallocated": 0, "totalCost": -88000, "profit": -2000, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": -88000, "known": { "sale": -90000, "material": -88000, "laborAndFees": 0, "unallocated": 0, "totalCost": -88000, "profit": -2000, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": -88000 }, "costItems": [ { "kind": "goods", "component": "material", "name": "售后收回金料成本", "source": "商品 1 · 足金手链", "amount": -88000, "payer": "assistant2", "nonCash": true, "materialPoolId": "2026-11-19", "calculation": null } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "按售后发生日调整;回收成本不属于新付款", "balance": 0, "revision": 1, "reviewed_revision": 1 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119010", "date": "2026-11-19", "created": "2026-11-19T02:01:28.000Z", "price_lock_id": "", "customer": "对照锁价客户(改)", "salesperson": "娜娜", "status": "delivered", "note": "锁价备注;锁价单 SJ20261118-;按原锁定金价 900.00元/克结算", "types": [ "货盘现货" ], "mg": 3100, "summaryMg": 3100, "pieces": 0, "originalSale": 286200, "sale": 286200, "material": 264000, "laborAndFees": 3600, "unallocated": 0, "totalCost": 267600, "profit": 18600, "ownerCost": 255600, "assistantCost": 12000, "assistant2Cost": 0, "known": { "sale": 286200, "material": 264000, "laborAndFees": 3600, "unallocated": 0, "totalCost": 267600, "profit": 18600, "ownerCost": 255600, "assistantCost": 12000, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 原锁价采购", "amount": 255000, "payer": "owner", "excluded": false, "priceLockSource": "original", "calculation": { "rate": 85000, "quantity": 3000 } }, { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 补重采购", "amount": 9000, "payer": "assistant", "excluded": false, "priceLockSource": "extra", "calculation": { "rate": 90000, "quantity": 100 } }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "实际快递", "source": "2026-11-19", "amount": 600, "payer": "owner", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "实际快递", "source": "2026-11-19", "amount": 600, "payer": "owner", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 3, "reviewed_revision": 0 }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119011", "date": "2026-11-19", "created": "2026-11-19T02:01:32.000Z", "recovery_id": "", "recovery_mode": "exchange", "nonCashOffset": 0, "cashPaid": 0, "netSettlement": 432792, "recovery_immutable_reason": "本单关联黄金回收/置换、购料及库存,暂不支持普通订单修改、取消、退款、退货或费用变更,请保留原关联记录", "customer": "对照换货客户", "salesperson": "小昊", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 12000, "summaryMg": 12000, "pieces": 0, "originalSale": 432792, "sale": 432792, "material": 360720, "laborAndFees": 6000, "unallocated": 0, "totalCost": 366720, "profit": 66072, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 366720, "known": { "sale": 432792, "material": 360720, "laborAndFees": 6000, "unallocated": 0, "totalCost": 366720, "profit": 66072, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 366720 }, "costItems": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金对照新货", "amount": 360720, "payer": "assistant2", "excluded": false, "calculation": { "rate": 90000, "quantity": 4008 }, "component": "material" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 6000, "payer": "assistant2", "excluded": false, "calculation": { "rate": 500, "quantity": 12000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 6000, "payer": "assistant2", "excluded": false, "calculation": { "rate": 500, "quantity": 12000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 4, "reviewed_revision": 0 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119012", "date": "2026-11-19", "created": "2026-11-19T02:01:33.000Z", "recovery_id": "", "recovery_mode": "exchange", "nonCashOffset": 0, "cashPaid": 0, "netSettlement": 130800, "recovery_immutable_reason": "本单关联黄金回收/置换、购料及库存,暂不支持普通订单修改、取消、退款、退货或费用变更,请保留原关联记录", "customer": "对照换货客户二", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 6000, "summaryMg": 6000, "pieces": 0, "originalSale": 130800, "sale": 130800, "material": 103410, "laborAndFees": 3000, "unallocated": 0, "totalCost": 106410, "profit": 24390, "ownerCost": 0, "assistantCost": 106410, "assistant2Cost": 0, "known": { "sale": 130800, "material": 103410, "laborAndFees": 3000, "unallocated": 0, "totalCost": 106410, "profit": 24390, "ownerCost": 0, "assistantCost": 106410, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金对照新货", "amount": 103410, "payer": "assistant", "excluded": false, "calculation": { "rate": 90000, "quantity": 1149 }, "component": "material" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": { "rate": 500, "quantity": 6000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": { "rate": 500, "quantity": 6000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 4, "reviewed_revision": 0 }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119013", "date": "2026-11-19", "created": "2026-11-19T02:01:48.000Z", "customer": "当天客户(改)", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 2000, "summaryMg": 2000, "pieces": 0, "originalSale": 210000, "sale": 210000, "material": null, "laborAndFees": null, "unallocated": 180000, "totalCost": 180800, "profit": 29200, "ownerCost": 0, "assistantCost": 180800, "assistant2Cost": 0, "known": { "sale": 210000, "material": 0, "laborAndFees": 800, "unallocated": 180000, "totalCost": 180800, "profit": 29200, "ownerCost": 0, "assistantCost": 180800, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金吊坠", "amount": 180000, "payer": "assistant", "excluded": false, "calculation": null, "component": "unallocated" }, { "kind": "paid", "name": "当天快递", "source": "2026-11-19", "amount": 800, "payer": "assistant", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "paid", "name": "当天快递", "source": "2026-11-19", "amount": 800, "payer": "assistant", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 7, "reviewed_revision": 0 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119014", "date": "2026-11-19", "created": "2026-11-19T02:01:57.000Z", "cancellationApproved": { "id": "", "status": "approved", "order_revision": 4, "reason": "当天录错", "requester_name": "助理", "created": "2026-11-19T02:01:59.000Z", "reviewer_name": null, "reviewed": null, "note": "", "direct": true, "operator_name": "助理", "executedAt": "2026-11-19T02:01:59.000Z" }, "customer": "当天取消客户", "salesperson": "娜娜", "status": "cancelled", "note": "", "types": [ "货盘现货" ], "mg": 2000, "summaryMg": 2000, "pieces": 0, "originalSale": 210000, "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0, "known": { "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0 }, "costItems": [], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "录错作废已获麦麦批准,本单销售、成本与收款记账已撤销,原单和审批记录保留", "balance": 0, "revision": 5, "reviewed_revision": 0 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119015", "date": "2026-11-19", "created": "2026-11-19T02:02:40.000Z", "materialPoolIds": [ "2026-11-19" ], "materialCostPending": false, "customer": "滚动料池客户", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "配货" ], "mg": 2000, "summaryMg": 2000, "pieces": 0, "originalSale": 220000, "sale": 220000, "material": 181898, "laborAndFees": 0, "unallocated": 0, "totalCost": 181898, "profit": 38102, "ownerCost": 0, "assistantCost": 181898, "assistant2Cost": 0, "known": { "sale": 220000, "material": 181898, "laborAndFees": 0, "unallocated": 0, "totalCost": 181898, "profit": 38102, "ownerCost": 0, "assistantCost": 181898, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 2026-11-19日购料", "amount": 181898, "payer": "assistant", "excluded": false, "materialPoolId": "2026-11-19", "materialPoolRevision": "2e1d58e4d359165036a53976f4ed30c7052bb21df8bd2eb46c6544546a2e818b", "calculation": { "rate": 90949, "quantity": 2000, "weighted": true } }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 4, "reviewed_revision": 0 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119016", "date": "2026-11-19", "created": "2026-11-19T02:02:51.000Z", "customer": "安全测试", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 500, "summaryMg": 500, "pieces": 0, "originalSale": 50000, "sale": 50000, "material": null, "laborAndFees": null, "unallocated": 42000, "totalCost": 42000, "profit": 8000, "ownerCost": 0, "assistantCost": 42000, "assistant2Cost": 0, "known": { "sale": 50000, "material": 0, "laborAndFees": 0, "unallocated": 42000, "totalCost": 42000, "profit": 8000, "ownerCost": 0, "assistantCost": 42000, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金转运珠", "amount": 42000, "payer": "assistant", "excluded": false, "calculation": null, "component": "unallocated" } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 4, "reviewed_revision": 0 } ], "displayRows": [ { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118001", "date": "2026-11-18", "created": "2026-11-18T02:01:17.000Z", "customer": "对照客户甲(改)", "salesperson": "娜娜", "status": "delivered", "note": "客户单备注", "types": [ "货盘现货" ], "mg": 3250, "summaryMg": 3250, "pieces": 0, "originalSale": 321100, "sale": 321100, "material": 286000, "laborAndFees": 5400, "unallocated": 0, "totalCost": 291400, "profit": 29700, "ownerCost": 286000, "assistantCost": 5400, "assistant2Cost": 0, "known": { "sale": 321100, "material": 286000, "laborAndFees": 5400, "unallocated": 0, "totalCost": 291400, "profit": 29700, "ownerCost": 286000, "assistantCost": 5400, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金999", "amount": 286000, "payer": "owner", "excluded": false, "calculation": { "rate": 88000, "quantity": 3250 }, "component": "material" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 4000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 200, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "快递", "source": "2026-11-18", "amount": 1200, "payer": "assistant", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 4000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 200, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "快递", "source": "2026-11-18", "amount": 1200, "payer": "assistant", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 5, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 2, "updated": "2026-11-18T02:01:50.000Z", "actor": "助理" } }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118002", "date": "2026-11-18", "created": "2026-11-18T02:01:18.000Z", "customer": "对照客户乙", "salesperson": "小昊", "status": "delivered", "note": "", "types": [ "货盘现货", "配货 · 银饰" ], "mg": 2000, "summaryMg": 2000, "pieces": 3, "originalSale": 217163, "sale": 217163, "material": null, "laborAndFees": null, "unallocated": 183000, "totalCost": 183000, "profit": 34163, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 183000, "known": { "sale": 217163, "material": 0, "laborAndFees": 0, "unallocated": 183000, "totalCost": 183000, "profit": 34163, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 183000 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金999", "amount": 180000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "unallocated" }, { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 2 · 纯银925", "amount": 3000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "unallocated" } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 4, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118003", "date": "2026-11-18", "created": "2026-11-18T02:01:19.000Z", "customer": "对照客户丙", "salesperson": "麦麦", "status": "delivered", "note": "老板改备注", "types": [ "配货" ], "mg": 0, "summaryMg": 0, "pieces": 1, "originalSale": 288500, "sale": 288500, "material": null, "laborAndFees": null, "unallocated": 150000, "totalCost": 151731, "profit": 136769, "ownerCost": 151731, "assistantCost": 0, "assistant2Cost": 0, "known": { "sale": 288500, "material": 0, "laborAndFees": 1731, "unallocated": 150000, "totalCost": 151731, "profit": 136769, "ownerCost": 151731, "assistantCost": 0, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 金镶玉吊坠", "amount": 150000, "payer": "owner", "excluded": false, "calculation": null, "component": "unallocated" }, { "kind": "paid", "name": "信用卡手续费(6‰)", "source": "2026-11-18", "amount": 1731, "payer": "owner", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "paid", "name": "信用卡手续费(6‰)", "source": "2026-11-18", "amount": 1731, "payer": "owner", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 5, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118004", "date": "2026-11-18", "created": "2026-11-18T02:01:20.000Z", "materialPoolIds": [ "2026-11-18" ], "materialCostPending": false, "customer": "对照客户丁", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "配货" ], "mg": 3000, "summaryMg": 3000, "pieces": 0, "originalSale": 330000, "sale": 330000, "material": 271935, "laborAndFees": 1000, "unallocated": 0, "totalCost": 272935, "profit": 57065, "ownerCost": 0, "assistantCost": 272935, "assistant2Cost": 0, "known": { "sale": 330000, "material": 271935, "laborAndFees": 1000, "unallocated": 0, "totalCost": 272935, "profit": 57065, "ownerCost": 0, "assistantCost": 272935, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 2026-11-18日购料", "amount": 271935, "payer": "assistant", "excluded": false, "materialPoolId": "2026-11-18", "materialPoolRevision": "2823f40ff78424f5423f0dbdf991ea5fcc83b0144648e9d2399869970c27af75", "calculation": { "rate": 90645, "quantity": 3000, "weighted": true } }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "补寄快递", "source": "2026-11-19", "amount": 1000, "payer": "assistant", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "补寄快递", "source": "2026-11-19", "amount": 1000, "payer": "assistant", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 6, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "owner", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118005", "date": "2026-11-18", "created": "2026-11-18T02:01:21.000Z", "customer": "对照草稿客户", "salesperson": "麦麦", "status": "delivered", "note": "", "types": [ "货盘·展柜A(主)" ], "mg": 10000, "summaryMg": 10000, "pieces": 0, "originalSale": 980000, "sale": 980000, "material": null, "laborAndFees": null, "unallocated": 900000, "totalCost": 900000, "profit": 80000, "ownerCost": 900000, "assistantCost": 0, "assistant2Cost": 0, "known": { "sale": 980000, "material": 0, "laborAndFees": 0, "unallocated": 900000, "totalCost": 900000, "profit": 80000, "ownerCost": 900000, "assistantCost": 0, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金手镯", "amount": 900000, "payer": "owner", "excluded": false, "calculation": null, "component": "unallocated" } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 5, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118006", "date": "2026-11-18", "created": "2026-11-18T02:01:24.000Z", "cancellationApproved": { "id": "", "status": "approved", "order_revision": 4, "reason": "重复录入", "requester_name": "助理2", "created": "2026-11-19T02:00:41.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:00:45.000Z", "note": "核对原单后确认" }, "customer": "对照取消客户", "salesperson": "小昊", "status": "cancelled", "note": "", "types": [ "货盘现货" ], "mg": 1500, "summaryMg": 1500, "pieces": 0, "originalSale": 150000, "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0, "known": { "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0 }, "costItems": [], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "录错作废已获麦麦批准,本单销售、成本与收款记账已撤销,原单和审批记录保留", "balance": 0, "revision": 5, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118007", "date": "2026-11-18", "created": "2026-11-18T02:01:25.000Z", "customer": "对照售后订单客户", "salesperson": "小昊", "status": "returned", "note": "", "orderAfterSale": { "orderId": "", "date": "2026-11-19", "reason": "客户退回一件", "deductionReason": "客户确认扣费", "refund": { "amount": 90000, "account": "助理2支付宝", "payer": "assistant2", "reference": "" }, "expenses": [], "original": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": { "id": "", "status": "approved", "action": "return", "action_label": "订单售后", "order_revision": 4, "reason": "客户退回一件", "requester_name": "助理2", "created": "2026-11-19T02:01:03.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:01:05.000Z", "note": "实物已收回" }, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 0, "netReceived": 500000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 50000, "knownProfit": 50000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "funds_mode": "team", "credit_card_rate_permille": 6 }, "originalJournal": { "sales": 500000, "goods": 450000, "expense": 0, "profit": 50000 }, "summary": { "refundAmount": 90000, "retainedAmount": 410000, "materialReturnedCost": 88000, "laborRestockedCost": 0, "materialLoss": 352000, "costLoss": 362000, "originalDirectCost": 0, "newExpenses": 0, "directCost": 0, "profit": 48000, "finalProfit": 48000, "profitAdjustment": -2000, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ] }, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ], "originalOrder": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": { "id": "", "status": "approved", "action": "return", "action_label": "订单售后", "order_revision": 4, "reason": "客户退回一件", "requester_name": "助理2", "created": "2026-11-19T02:01:03.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:01:05.000Z", "note": "实物已收回" }, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 0, "netReceived": 500000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 50000, "knownProfit": 50000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "funds_mode": "team", "credit_card_rate_permille": 6 } }, "current_status": "returned", "types": [ "货盘现货" ], "mg": 5000, "summaryMg": 5000, "pieces": 0, "originalSale": 500000, "sale": 500000, "material": 440000, "laborAndFees": 10000, "unallocated": 0, "totalCost": 450000, "profit": 50000, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 450000, "known": { "sale": 500000, "material": 440000, "laborAndFees": 10000, "unallocated": 0, "totalCost": 450000, "profit": 50000, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 450000 }, "costItems": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金手链", "amount": 440000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "material" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金手链", "amount": 10000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金手链", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金手链", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金手链", "amount": 10000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金手链", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金手链", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 4, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118008", "date": "2026-11-18", "created": "2026-11-18T02:01:26.000Z", "customer": "对照驳回客户", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 800, "summaryMg": 800, "pieces": 0, "originalSale": 82000, "sale": 82000, "material": null, "laborAndFees": null, "unallocated": 70000, "totalCost": 70000, "profit": 12000, "ownerCost": 0, "assistantCost": 70000, "assistant2Cost": 0, "known": { "sale": 82000, "material": 0, "laborAndFees": 0, "unallocated": 70000, "totalCost": 70000, "profit": 12000, "ownerCost": 0, "assistantCost": 70000, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金耳钉", "amount": 70000, "payer": "assistant", "excluded": false, "calculation": null, "component": "unallocated" } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 5, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "owner", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118009", "date": "2026-11-18", "created": "2026-11-18T02:01:27.000Z", "customer": "对照分步客户", "salesperson": "麦麦", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 4000, "summaryMg": 4000, "pieces": 0, "originalSale": 400000, "sale": 400000, "material": null, "laborAndFees": null, "unallocated": 350000, "totalCost": 351800, "profit": 48200, "ownerCost": 351800, "assistantCost": 0, "assistant2Cost": 0, "known": { "sale": 400000, "material": 0, "laborAndFees": 1800, "unallocated": 350000, "totalCost": 351800, "profit": 48200, "ownerCost": 351800, "assistantCost": 0, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金项链", "amount": 350000, "payer": "owner", "excluded": false, "calculation": null, "component": "unallocated" }, { "kind": "paid", "name": "信用卡手续费(6‰)", "source": "2026-11-18", "amount": 1800, "payer": "owner", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "paid", "name": "信用卡手续费(6‰)", "source": "2026-11-18", "amount": 1800, "payer": "owner", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 5, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "kind": "afterSale", "after_sale_id": "", "number": "售后", "paper_number": "", "date": "2026-11-18", "created": "2026-11-18T02:02:03.000Z", "customer": "对照售后客户", "salesperson": "助理", "status": "after_sale", "project": "对照改圈", "note": "对照改圈", "amount": 950, "payer": "assistant", "types": [ "售后" ], "mg": 0, "summaryMg": 0, "pieces": 0, "originalSale": 0, "sale": 0, "material": 0, "laborAndFees": 950, "unallocated": 0, "totalCost": 950, "profit": -950, "ownerCost": 0, "assistantCost": 950, "known": { "sale": 0, "material": 0, "laborAndFees": 950, "unallocated": 0, "totalCost": 950, "profit": -950, "ownerCost": 0, "assistantCost": 950 }, "costItems": [ { "kind": "afterSale", "after_sale_id": "", "name": "对照改圈", "source": "售后 · 2026-11-18", "amount": 950, "payer": "assistant", "component": "fee", "calculation": null } ], "laborAndFeeItems": [ { "kind": "afterSale", "after_sale_id": "", "name": "对照改圈", "source": "售后 · 2026-11-18", "amount": 950, "payer": "assistant", "component": "fee", "calculation": null } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "独立售后支出,计入所选日期利润", "balance": 0, "revision": 2, "reviewed_revision": 2 }, { "id": "", "kind": "afterSale", "after_sale_id": "", "number": "售后", "paper_number": "", "date": "2026-11-18", "created": "2026-11-18T02:02:06.000Z", "customer": "对照售后客户二", "salesperson": "麦麦", "status": "after_sale", "project": "对照清洗", "note": "对照清洗", "amount": 0, "payer": "owner", "types": [ "售后" ], "mg": 0, "summaryMg": 0, "pieces": 0, "originalSale": 0, "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "known": { "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0 }, "costItems": [ { "kind": "afterSale", "after_sale_id": "", "name": "对照清洗", "source": "售后 · 2026-11-18", "amount": 0, "payer": "owner", "component": "fee", "calculation": null } ], "laborAndFeeItems": [ { "kind": "afterSale", "after_sale_id": "", "name": "对照清洗", "source": "售后 · 2026-11-18", "amount": 0, "payer": "owner", "component": "fee", "calculation": null } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "独立售后支出,计入所选日期利润", "balance": 0, "revision": 1, "reviewed_revision": 1 }, { "id": "", "order_id": "", "kind": "orderAfterSale", "orderAfterSale": { "orderId": "", "date": "2026-11-19", "reason": "客户退回一件", "deductionReason": "客户确认扣费", "refund": { "amount": 90000, "account": "助理2支付宝", "payer": "assistant2", "reference": "" }, "expenses": [], "original": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": { "id": "", "status": "approved", "action": "return", "action_label": "订单售后", "order_revision": 4, "reason": "客户退回一件", "requester_name": "助理2", "created": "2026-11-19T02:01:03.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:01:05.000Z", "note": "实物已收回" }, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 0, "netReceived": 500000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 50000, "knownProfit": 50000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "funds_mode": "team", "credit_card_rate_permille": 6 }, "originalJournal": { "sales": 500000, "goods": 450000, "expense": 0, "profit": 50000 }, "summary": { "refundAmount": 90000, "retainedAmount": 410000, "materialReturnedCost": 88000, "laborRestockedCost": 0, "materialLoss": 352000, "costLoss": 362000, "originalDirectCost": 0, "newExpenses": 0, "directCost": 0, "profit": 48000, "finalProfit": 48000, "profitAdjustment": -2000, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ] }, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ], "order_id": "", "created": "2026-11-19T02:01:05.000Z", "number": "MM20261118-", "paper_number": "20261118007", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "order_date": "2026-11-18", "member": "assistant2" }, "member": "assistant2", "number": "MM20261118-", "paper_number": "20261118007", "date": "2026-11-19", "order_date": "2026-11-18", "created": "2026-11-19T02:01:05.000Z", "customer": "对照售后订单客户", "salesperson": "小昊", "status": "after_sale", "note": "", "project": "订单售后", "types": [ "订单售后" ], "mg": 0, "summaryMg": 0, "pieces": 0, "originalSale": 500000, "sale": -90000, "material": -88000, "laborAndFees": 0, "unallocated": 0, "totalCost": -88000, "profit": -2000, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": -88000, "known": { "sale": -90000, "material": -88000, "laborAndFees": 0, "unallocated": 0, "totalCost": -88000, "profit": -2000, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": -88000 }, "costItems": [ { "kind": "goods", "component": "material", "name": "售后收回金料成本", "source": "商品 1 · 足金手链", "amount": -88000, "payer": "assistant2", "nonCash": true, "materialPoolId": "2026-11-19", "calculation": null } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "按售后发生日调整;回收成本不属于新付款", "balance": 0, "revision": 1, "reviewed_revision": 1 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119010", "date": "2026-11-19", "created": "2026-11-19T02:01:28.000Z", "price_lock_id": "", "customer": "对照锁价客户(改)", "salesperson": "娜娜", "status": "delivered", "note": "锁价备注;锁价单 SJ20261118-;按原锁定金价 900.00元/克结算", "types": [ "货盘现货" ], "mg": 3100, "summaryMg": 3100, "pieces": 0, "originalSale": 286200, "sale": 286200, "material": 264000, "laborAndFees": 3600, "unallocated": 0, "totalCost": 267600, "profit": 18600, "ownerCost": 255600, "assistantCost": 12000, "assistant2Cost": 0, "known": { "sale": 286200, "material": 264000, "laborAndFees": 3600, "unallocated": 0, "totalCost": 267600, "profit": 18600, "ownerCost": 255600, "assistantCost": 12000, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 原锁价采购", "amount": 255000, "payer": "owner", "excluded": false, "priceLockSource": "original", "calculation": { "rate": 85000, "quantity": 3000 } }, { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 补重采购", "amount": 9000, "payer": "assistant", "excluded": false, "priceLockSource": "extra", "calculation": { "rate": 90000, "quantity": 100 } }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "实际快递", "source": "2026-11-19", "amount": 600, "payer": "owner", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "实际快递", "source": "2026-11-19", "amount": 600, "payer": "owner", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 3, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119011", "date": "2026-11-19", "created": "2026-11-19T02:01:32.000Z", "recovery_id": "", "recovery_mode": "exchange", "nonCashOffset": 0, "cashPaid": 0, "netSettlement": 432792, "recovery_immutable_reason": "本单关联黄金回收/置换、购料及库存,暂不支持普通订单修改、取消、退款、退货或费用变更,请保留原关联记录", "customer": "对照换货客户", "salesperson": "小昊", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 12000, "summaryMg": 12000, "pieces": 0, "originalSale": 432792, "sale": 432792, "material": 360720, "laborAndFees": 6000, "unallocated": 0, "totalCost": 366720, "profit": 66072, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 366720, "known": { "sale": 432792, "material": 360720, "laborAndFees": 6000, "unallocated": 0, "totalCost": 366720, "profit": 66072, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 366720 }, "costItems": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金对照新货", "amount": 360720, "payer": "assistant2", "excluded": false, "calculation": { "rate": 90000, "quantity": 4008 }, "component": "material" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 6000, "payer": "assistant2", "excluded": false, "calculation": { "rate": 500, "quantity": 12000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 6000, "payer": "assistant2", "excluded": false, "calculation": { "rate": 500, "quantity": 12000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 4, "reviewed_revision": 0, "printStatus": { "kind": "recovery", "id": "", "printed": true, "revision": 1, "updated": "2026-11-19T02:01:40.000Z", "actor": "助理2" } }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119012", "date": "2026-11-19", "created": "2026-11-19T02:01:33.000Z", "recovery_id": "", "recovery_mode": "exchange", "nonCashOffset": 0, "cashPaid": 0, "netSettlement": 130800, "recovery_immutable_reason": "本单关联黄金回收/置换、购料及库存,暂不支持普通订单修改、取消、退款、退货或费用变更,请保留原关联记录", "customer": "对照换货客户二", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 6000, "summaryMg": 6000, "pieces": 0, "originalSale": 130800, "sale": 130800, "material": 103410, "laborAndFees": 3000, "unallocated": 0, "totalCost": 106410, "profit": 24390, "ownerCost": 0, "assistantCost": 106410, "assistant2Cost": 0, "known": { "sale": 130800, "material": 103410, "laborAndFees": 3000, "unallocated": 0, "totalCost": 106410, "profit": 24390, "ownerCost": 0, "assistantCost": 106410, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金对照新货", "amount": 103410, "payer": "assistant", "excluded": false, "calculation": { "rate": 90000, "quantity": 1149 }, "component": "material" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": { "rate": 500, "quantity": 6000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": { "rate": 500, "quantity": 6000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 4, "reviewed_revision": 0, "printStatus": { "kind": "recovery", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119013", "date": "2026-11-19", "created": "2026-11-19T02:01:48.000Z", "customer": "当天客户(改)", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 2000, "summaryMg": 2000, "pieces": 0, "originalSale": 210000, "sale": 210000, "material": null, "laborAndFees": null, "unallocated": 180000, "totalCost": 180800, "profit": 29200, "ownerCost": 0, "assistantCost": 180800, "assistant2Cost": 0, "known": { "sale": 210000, "material": 0, "laborAndFees": 800, "unallocated": 180000, "totalCost": 180800, "profit": 29200, "ownerCost": 0, "assistantCost": 180800, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金吊坠", "amount": 180000, "payer": "assistant", "excluded": false, "calculation": null, "component": "unallocated" }, { "kind": "paid", "name": "当天快递", "source": "2026-11-19", "amount": 800, "payer": "assistant", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "paid", "name": "当天快递", "source": "2026-11-19", "amount": 800, "payer": "assistant", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 7, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119014", "date": "2026-11-19", "created": "2026-11-19T02:01:57.000Z", "cancellationApproved": { "id": "", "status": "approved", "order_revision": 4, "reason": "当天录错", "requester_name": "助理", "created": "2026-11-19T02:01:59.000Z", "reviewer_name": null, "reviewed": null, "note": "", "direct": true, "operator_name": "助理", "executedAt": "2026-11-19T02:01:59.000Z" }, "customer": "当天取消客户", "salesperson": "娜娜", "status": "cancelled", "note": "", "types": [ "货盘现货" ], "mg": 2000, "summaryMg": 2000, "pieces": 0, "originalSale": 210000, "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0, "known": { "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0 }, "costItems": [], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "录错作废已获麦麦批准,本单销售、成本与收款记账已撤销,原单和审批记录保留", "balance": 0, "revision": 5, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119015", "date": "2026-11-19", "created": "2026-11-19T02:02:40.000Z", "materialPoolIds": [ "2026-11-19" ], "materialCostPending": false, "customer": "滚动料池客户", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "配货" ], "mg": 2000, "summaryMg": 2000, "pieces": 0, "originalSale": 220000, "sale": 220000, "material": 181898, "laborAndFees": 0, "unallocated": 0, "totalCost": 181898, "profit": 38102, "ownerCost": 0, "assistantCost": 181898, "assistant2Cost": 0, "known": { "sale": 220000, "material": 181898, "laborAndFees": 0, "unallocated": 0, "totalCost": 181898, "profit": 38102, "ownerCost": 0, "assistantCost": 181898, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 2026-11-19日购料", "amount": 181898, "payer": "assistant", "excluded": false, "materialPoolId": "2026-11-19", "materialPoolRevision": "2e1d58e4d359165036a53976f4ed30c7052bb21df8bd2eb46c6544546a2e818b", "calculation": { "rate": 90949, "quantity": 2000, "weighted": true } }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 4, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119016", "date": "2026-11-19", "created": "2026-11-19T02:02:51.000Z", "customer": "安全测试", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 500, "summaryMg": 500, "pieces": 0, "originalSale": 50000, "sale": 50000, "material": null, "laborAndFees": null, "unallocated": 42000, "totalCost": 42000, "profit": 8000, "ownerCost": 0, "assistantCost": 42000, "assistant2Cost": 0, "known": { "sale": 50000, "material": 0, "laborAndFees": 0, "unallocated": 42000, "totalCost": 42000, "profit": 8000, "ownerCost": 0, "assistantCost": 42000, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金转运珠", "amount": 42000, "payer": "assistant", "excluded": false, "calculation": null, "component": "unallocated" } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 4, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } } ], "recoveryCount": 0, "summary": { "orderCount": 16, "completedCount": 14, "draftCount": 0, "confirmedCount": 0, "returnedCount": 1, "cancelledCount": 2, "incompleteCount": 0, "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "unknownCostCount": 0, "unknownProfitCount": 0, "legacyUnallocatedCount": 7, "sale": 4358555, "material": 1819963, "laborAndFees": 34281, "unallocated": 1875000, "totalCost": 3729244, "profit": 629311, "ownerCost": 1945131, "assistantCost": 872393, "assistant2Cost": 911720, "mg": 57150, "pieces": 4, "knownCounts": { "sale": 16, "material": 9, "laborAndFees": 9, "unallocated": 16, "totalCost": 16, "profit": 16, "ownerCost": 16, "assistantCost": 16, "assistant2Cost": 16 }, "unknownCounts": { "sale": 0, "material": 7, "laborAndFees": 7, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0 }, "partial": true, "afterSaleCount": 3, "recordCount": 19 }, "peopleCount": { "from": "2026-11-18", "date": "2026-11-19", "baselineDate": "2026-11-17", "mode": "daily-total", "assistant1": { "total": 7, "endTotal": 7, "baselineTotal": null, "baselineDate": null, "netChange": null, "netChangeReason": "missing-previous", "recordedDays": 2 }, "assistant2": { "total": 4, "endTotal": 4, "baselineTotal": null, "baselineDate": null, "netChange": null, "netChangeReason": "missing-previous", "recordedDays": 2 } }, "priceLockActivity": { "basis": "eventDate", "from": "2026-11-18", "date": "2026-11-19", "customerCash": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 270000, "account": "助理微信", "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:53.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null }, { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 50000, "account": "助理2微信", "number": "SJ20261118-", "customer": "对照锁价客户三", "product": "足金999", "actor": "助理2", "created": "2026-11-18T02:01:55.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null }, { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 120000, "account": "助理支付宝", "number": "SJ20261118-", "customer": "对照锁价客户二", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:02:02.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null }, { "id": "", "price_lock_id": "", "date": "2026-11-19", "kind": "receipt", "amount": 16200, "account": "助理支付宝", "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-19T02:01:28.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null } ], "orderPayments": [], "materialOutlays": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "material", "amount": 255000, "payer": "owner", "source": "original", "quantity": 3000, "rate": 85000, "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:53.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "component": "material" }, { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "material", "amount": 255000, "payer": "owner", "source": "original", "quantity": 3000, "rate": 85000, "number": "SJ20261118-", "customer": "对照锁价客户二", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:54.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "component": "material" }, { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "material", "amount": 258000, "payer": "assistant2", "source": "original", "quantity": 3000, "rate": 86000, "number": "SJ20261118-", "customer": "对照锁价客户三", "product": "足金999", "actor": "助理2", "created": "2026-11-18T02:01:55.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "component": "material" }, { "id": "", "price_lock_id": "", "date": "2026-11-19", "kind": "material", "amount": 9000, "payer": "assistant", "source": "extra", "quantity": 100, "rate": 90000, "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-19T02:01:28.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "component": "material" } ], "directOutlays": [ { "id": "", "order_id": "", "date": "2026-11-19", "amount": 600, "payer": "owner", "note": "实际快递", "actor": "助理", "created": "2026-11-19T02:01:28.000Z", "price_lock_id": "", "number": "SJ20261118-", "customer": "对照锁价客户(改)", "kind": "fee", "component": "fee", "product": "足金999" } ], "deliveryGoodsOutlays": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": null, "id": "price-lock-goods::0", "price_lock_id": "", "order_id": "", "number": "MM20261119-", "paper_number": "20261119010", "customer": "对照锁价客户(改)", "date": "2026-11-19", "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "id": "price-lock-goods::1", "price_lock_id": "", "order_id": "", "number": "MM20261119-", "paper_number": "20261119010", "customer": "对照锁价客户(改)", "date": "2026-11-19", "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "id": "price-lock-goods::2", "price_lock_id": "", "order_id": "", "number": "MM20261119-", "paper_number": "20261119010", "customer": "对照锁价客户(改)", "date": "2026-11-19", "component": "other" } ], "receipts": { "receipt": 456200, "refund": 0, "net": 456200, "channels": [ { "channel": "wechat", "name": "微信", "receipt": 320000, "refund": 0, "net": 320000 }, { "channel": "alipay", "name": "支付宝", "receipt": 136200, "refund": 0, "net": 136200 }, { "channel": "cash", "name": "现金", "receipt": 0, "refund": 0, "net": 0 } ], "accounts": [ { "account": "助理微信", "receipt": 270000, "refund": 0, "net": 270000 }, { "account": "助理支付宝", "receipt": 136200, "refund": 0, "net": 136200 }, { "account": "助理现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2微信", "receipt": 50000, "refund": 0, "net": 50000 }, { "account": "助理2支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2现金", "receipt": 0, "refund": 0, "net": 0 } ], "paymentCount": 4, "orderCount": 3 }, "payerOutlays": { "owner": { "payer": "owner", "material": 510000, "goods": 510000, "paidFees": 600, "total": 510600 }, "assistant": { "payer": "assistant", "material": 9000, "goods": 12000, "paidFees": 0, "total": 12000 }, "assistant2": { "payer": "assistant2", "material": 258000, "goods": 258000, "paidFees": 0, "total": 258000 } }, "summary": { "receipt": 456200, "refund": 0, "net": 456200, "materialOutlay": 777000, "goodsOutlay": 780000, "feeOutlay": 600, "ownerOutlay": 510600, "assistantOutlay": 12000, "assistant2Outlay": 258000, "totalOutlay": 780600, "eventCount": 12, "lockCount": 3 } }, "materialPoolActivity": { "basis": "purchaseDate", "from": "2026-11-18", "date": "2026-11-19", "purchases": [ { "id": "", "pool_id": "2026-11-18", "date": "2026-11-18", "mg": 11000, "amount": 990000, "payer": "assistant", "note": "核对凭据", "actor": "助理", "created": "2026-11-18T02:01:09.000Z", "revision": 2, "deleted_at": "", "updated": "2026-11-19T02:02:27.000Z" }, { "id": "", "pool_id": "2026-11-18", "date": "2026-11-18", "mg": 20000, "amount": 1820000, "payer": "owner", "note": "麦麦购料", "actor": "麦麦", "created": "2026-11-18T02:01:10.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-18T02:01:10.000Z" }, { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 5000, "amount": 460000, "payer": "assistant", "note": "第二天购料", "actor": "助理", "created": "2026-11-19T02:02:19.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:19.000Z" }, { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 4000, "amount": 370000, "payer": "assistant2", "note": "", "actor": "助理2", "created": "2026-11-19T02:02:20.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:20.000Z" } ], "payerOutlays": { "owner": { "payer": "owner", "material": 1820000, "goods": 1820000, "paidFees": 0, "total": 1820000, "purchaseCount": 1 }, "assistant": { "payer": "assistant", "material": 1450000, "goods": 1450000, "paidFees": 0, "total": 1450000, "purchaseCount": 2 }, "assistant2": { "payer": "assistant2", "material": 370000, "goods": 370000, "paidFees": 0, "total": 370000, "purchaseCount": 1 } }, "summary": { "purchaseCount": 4, "poolCount": 2, "mg": 40000, "materialOutlay": 3640000, "purchaseValue": 3640000, "ownerOutlay": 1820000, "assistantOutlay": 1450000, "assistant2Outlay": 370000, "totalOutlay": 3640000, "eventCount": 4 } }, "summaryWithoutCancelled": { "orderCount": 14, "completedCount": 14, "draftCount": 0, "confirmedCount": 0, "returnedCount": 1, "cancelledCount": 0, "incompleteCount": 0, "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "unknownCostCount": 0, "unknownProfitCount": 0, "legacyUnallocatedCount": 7, "sale": 4358555, "material": 1819963, "laborAndFees": 34281, "unallocated": 1875000, "totalCost": 3729244, "profit": 629311, "ownerCost": 1945131, "assistantCost": 872393, "assistant2Cost": 911720, "mg": 53650, "pieces": 4, "knownCounts": { "sale": 14, "material": 7, "laborAndFees": 7, "unallocated": 14, "totalCost": 14, "profit": 14, "ownerCost": 14, "assistantCost": 14, "assistant2Cost": 14 }, "unknownCounts": { "sale": 0, "material": 7, "laborAndFees": 7, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0 }, "partial": true, "afterSaleCount": 3, "recordCount": 17 }, "receiptsWithoutCancelled": { "basis": "orderDate", "filterScope": "matchingOrdersWithoutCancelled", "from": "2026-11-18", "date": "2026-11-19", "receipt": 4618555, "refund": 90000, "net": 4528555, "channels": [ { "channel": "wechat", "name": "微信", "receipt": 2184692, "refund": 0, "net": 2184692 }, { "channel": "alipay", "name": "支付宝", "receipt": 535363, "refund": 90000, "net": 445363 }, { "channel": "cash", "name": "现金", "receipt": 1310000, "refund": 0, "net": 1310000 }, { "channel": "credit_card", "name": "信用卡", "receipt": 588500, "refund": 0, "net": 588500 } ], "accounts": [ { "account": "助理微信", "receipt": 1201900, "refund": 0, "net": 1201900 }, { "account": "助理支付宝", "receipt": 218200, "refund": 0, "net": 218200 }, { "account": "助理现金", "receipt": 330000, "refund": 0, "net": 330000 }, { "account": "麦麦微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦支付宝", "receipt": 100000, "refund": 0, "net": 100000 }, { "account": "麦麦现金", "receipt": 980000, "refund": 0, "net": 980000 }, { "account": "麦麦信用卡", "receipt": 588500, "refund": 0, "net": 588500 }, { "account": "助理2微信", "receipt": 982792, "refund": 0, "net": 982792 }, { "account": "助理2支付宝", "receipt": 217163, "refund": 90000, "net": 127163 }, { "account": "助理2现金", "receipt": 0, "refund": 0, "net": 0 } ], "paymentCount": 19, "orderCount": 16 }, "receiptsByPaymentDate": { "basis": "paymentDate", "filterScope": "dateRange", "from": "2026-11-18", "date": "2026-11-19", "receipt": 4618555, "refund": 90000, "net": 4528555, "channels": [ { "channel": "wechat", "name": "微信", "receipt": 2184692, "refund": 0, "net": 2184692 }, { "channel": "alipay", "name": "支付宝", "receipt": 535363, "refund": 90000, "net": 445363 }, { "channel": "cash", "name": "现金", "receipt": 1310000, "refund": 0, "net": 1310000 }, { "channel": "credit_card", "name": "信用卡", "receipt": 588500, "refund": 0, "net": 588500 } ], "accounts": [ { "account": "助理微信", "receipt": 1201900, "refund": 0, "net": 1201900 }, { "account": "助理支付宝", "receipt": 218200, "refund": 0, "net": 218200 }, { "account": "助理现金", "receipt": 330000, "refund": 0, "net": 330000 }, { "account": "麦麦微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦支付宝", "receipt": 100000, "refund": 0, "net": 100000 }, { "account": "麦麦现金", "receipt": 980000, "refund": 0, "net": 980000 }, { "account": "麦麦信用卡", "receipt": 588500, "refund": 0, "net": 588500 }, { "account": "助理2微信", "receipt": 982792, "refund": 0, "net": 982792 }, { "account": "助理2支付宝", "receipt": 217163, "refund": 90000, "net": 127163 }, { "account": "助理2现金", "receipt": 0, "refund": 0, "net": 0 } ], "paymentCount": 23, "orderCount": 18 }, "receiptsByOrderDate": { "basis": "orderDate", "filterScope": "matchingOrders", "from": "2026-11-18", "date": "2026-11-19", "receipt": 4618555, "refund": 90000, "net": 4528555, "channels": [ { "channel": "wechat", "name": "微信", "receipt": 2184692, "refund": 0, "net": 2184692 }, { "channel": "alipay", "name": "支付宝", "receipt": 535363, "refund": 90000, "net": 445363 }, { "channel": "cash", "name": "现金", "receipt": 1310000, "refund": 0, "net": 1310000 }, { "channel": "credit_card", "name": "信用卡", "receipt": 588500, "refund": 0, "net": 588500 } ], "accounts": [ { "account": "助理微信", "receipt": 1201900, "refund": 0, "net": 1201900 }, { "account": "助理支付宝", "receipt": 218200, "refund": 0, "net": 218200 }, { "account": "助理现金", "receipt": 330000, "refund": 0, "net": 330000 }, { "account": "麦麦微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦支付宝", "receipt": 100000, "refund": 0, "net": 100000 }, { "account": "麦麦现金", "receipt": 980000, "refund": 0, "net": 980000 }, { "account": "麦麦信用卡", "receipt": 588500, "refund": 0, "net": 588500 }, { "account": "助理2微信", "receipt": 982792, "refund": 0, "net": 982792 }, { "account": "助理2支付宝", "receipt": 217163, "refund": 90000, "net": 127163 }, { "account": "助理2现金", "receipt": 0, "refund": 0, "net": 0 } ], "paymentCount": 23, "orderCount": 18 } } }, { "seq": 476, "label": "report-member-filter", "date": "2026-11-19", "actor": "owner", "method": "GET", "path": "/api/report?date=2026-11-19&member=assistant2&basis=orderDate", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "date": "2026-11-19", "from": "2026-11-19", "sales": 552792, "goods": 458720, "knownGoods": 458720, "expense": 800, "profit": 93272, "knownProfit": 93272, "materialCostPending": false, "pendingMaterialCount": 0, "materialPoolActivity": { "basis": "purchaseDate", "from": "2026-11-19", "date": "2026-11-19", "purchases": [ { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 4000, "amount": 370000, "payer": "assistant2", "note": "", "actor": "助理2", "created": "2026-11-19T02:02:20.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:20.000Z" } ], "payerOutlays": { "owner": { "payer": "owner", "material": 0, "goods": 0, "paidFees": 0, "total": 0, "purchaseCount": 0 }, "assistant": { "payer": "assistant", "material": 0, "goods": 0, "paidFees": 0, "total": 0, "purchaseCount": 0 }, "assistant2": { "payer": "assistant2", "material": 370000, "goods": 370000, "paidFees": 0, "total": 370000, "purchaseCount": 1 } }, "summary": { "purchaseCount": 1, "poolCount": 1, "mg": 4000, "materialOutlay": 370000, "purchaseValue": 370000, "ownerOutlay": 0, "assistantOutlay": 0, "assistant2Outlay": 370000, "totalOutlay": 370000, "eventCount": 1 } }, "materialPoolSettlement": { "legacyReadOnly": true, "settlementDue": 0, "knownSettlementDue": 0, "pendingCount": 0, "pools": [] }, "delivered": 2, "returns": 1, "accounts": [ { "account": "助理微信", "receipt": 210000, "refund": 0, "net": 210000 }, { "account": "助理支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2微信", "receipt": 432792, "refund": 0, "net": 432792 }, { "account": "助理2支付宝", "receipt": 0, "refund": 90000, "net": -90000 }, { "account": "助理2现金", "receipt": 0, "refund": 0, "net": 0 } ], "payments": [ { "id": "", "order_id": "", "date": "2026-11-19", "kind": "receipt", "amount": 432792, "account": "助理2微信", "reference": "置换差额实际收款 · HS202611190001", "actor": "助理2", "created": "2026-11-19T02:01:32.000Z", "number": "MM20261119-", "paper_number": "20261119011", "order_date": "2026-11-19" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "receipt", "amount": 210000, "account": "助理微信", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-19T02:01:48.000Z", "number": "MM20261119-", "paper_number": "20261119013", "order_date": "2026-11-19" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "refund", "amount": 90000, "account": "助理2支付宝", "reference": "整单售后退款", "actor": "麦麦", "created": "2026-11-19T02:01:05.000Z", "number": "MM20261118-", "paper_number": "20261118007", "customer": "对照售后订单客户", "order_date": "2026-11-18", "order_after_sale": true } ], "settlements": [], "journal": [ { "id": "", "order_id": "", "date": "2026-11-19", "kind": "交付", "sales": 432792, "goods": 366720, "expense": 0, "profit": 66072, "created": "2026-11-19T02:01:32.000Z", "number": "MM20261119-", "paper_number": "20261119011", "order_date": "2026-11-19" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "交付", "sales": 210000, "goods": 180000, "expense": 0, "profit": 30000, "created": "2026-11-19T02:01:48.000Z", "number": "MM20261119-", "paper_number": "20261119013", "order_date": "2026-11-19" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "直接费用", "sales": 0, "goods": 0, "expense": 800, "profit": -800, "created": "2026-11-19T02:01:52.000Z", "number": "MM20261119-", "paper_number": "20261119013", "order_date": "2026-11-19" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "订单退货退款售后", "sales": -90000, "goods": -88000, "expense": 0, "profit": -2000, "created": "2026-11-19T02:01:05.000Z", "number": "MM20261118-", "paper_number": "20261118007", "order_date": "2026-11-18" } ], "afterSales": [], "afterSaleCount": 0, "inventory": [ { "pocket": "现货", "mg": 61950, "reserved": 0, "available": 61950 }, { "pocket": "金料", "mg": 56000, "reserved": 0, "available": 56000 }, { "pocket": "找金", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "回收旧料", "mg": 12843, "reserved": 0, "available": 12843 }, { "pocket": "君宝汇", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "臻金汇", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "金金", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "定制工厂", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "pocket_", "mg": 10000, "reserved": 0, "available": 10000 } ], "warnings": [ { "id": "", "number": "MM20261119-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261119-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261118-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261118-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261118-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261118-", "message": "有记录待麦麦复核" } ], "unsettled": [], "settlementDue": 0, "knownSettlementDue": 0, "customerBalance": 0, "close": null, "basis": "orderDate", "summary": { "orderCount": 2, "completedCount": 2, "draftCount": 0, "confirmedCount": 0, "returnedCount": 1, "cancelledCount": 0, "incompleteCount": 0, "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "unknownCostCount": 0, "unknownProfitCount": 0, "legacyUnallocatedCount": 1, "sale": 552792, "material": 272720, "laborAndFees": 6800, "unallocated": 180000, "totalCost": 459520, "profit": 93272, "ownerCost": 0, "assistantCost": 180800, "assistant2Cost": 278720, "mg": 14000, "pieces": 0, "knownCounts": { "sale": 2, "material": 1, "laborAndFees": 1, "unallocated": 2, "totalCost": 2, "profit": 2, "ownerCost": 2, "assistantCost": 2, "assistant2Cost": 2 }, "unknownCounts": { "sale": 0, "material": 1, "laborAndFees": 1, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0 }, "partial": true, "afterSaleCount": 1, "recordCount": 3 }, "orderRows": [ { "id": "", "order_id": "", "kind": "orderAfterSale", "orderAfterSale": { "orderId": "", "date": "2026-11-19", "reason": "客户退回一件", "deductionReason": "客户确认扣费", "refund": { "amount": 90000, "account": "助理2支付宝", "payer": "assistant2", "reference": "" }, "expenses": [], "original": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": { "id": "", "status": "approved", "action": "return", "action_label": "订单售后", "order_revision": 4, "reason": "客户退回一件", "requester_name": "助理2", "created": "2026-11-19T02:01:03.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:01:05.000Z", "note": "实物已收回" }, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 0, "netReceived": 500000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 50000, "knownProfit": 50000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "funds_mode": "team", "credit_card_rate_permille": 6 }, "originalJournal": { "sales": 500000, "goods": 450000, "expense": 0, "profit": 50000 }, "summary": { "refundAmount": 90000, "retainedAmount": 410000, "materialReturnedCost": 88000, "laborRestockedCost": 0, "materialLoss": 352000, "costLoss": 362000, "originalDirectCost": 0, "newExpenses": 0, "directCost": 0, "profit": 48000, "finalProfit": 48000, "profitAdjustment": -2000, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ] }, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ], "order_id": "", "created": "2026-11-19T02:01:05.000Z", "number": "MM20261118-", "paper_number": "20261118007", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "order_date": "2026-11-18", "member": "assistant2" }, "member": "assistant2", "number": "MM20261118-", "paper_number": "20261118007", "date": "2026-11-19", "order_date": "2026-11-18", "created": "2026-11-19T02:01:05.000Z", "customer": "对照售后订单客户", "salesperson": "小昊", "status": "after_sale", "note": "", "project": "订单售后", "types": [ "订单售后" ], "mg": 0, "summaryMg": 0, "pieces": 0, "originalSale": 500000, "sale": -90000, "material": -88000, "laborAndFees": 0, "unallocated": 0, "totalCost": -88000, "profit": -2000, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": -88000, "known": { "sale": -90000, "material": -88000, "laborAndFees": 0, "unallocated": 0, "totalCost": -88000, "profit": -2000, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": -88000 }, "costItems": [ { "kind": "goods", "component": "material", "name": "售后收回金料成本", "source": "商品 1 · 足金手链", "amount": -88000, "payer": "assistant2", "nonCash": true, "materialPoolId": "2026-11-19", "calculation": null } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "按售后发生日调整;回收成本不属于新付款", "balance": 0, "revision": 1, "reviewed_revision": 1 }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119011", "date": "2026-11-19", "created": "2026-11-19T02:01:32.000Z", "recovery_id": "", "recovery_mode": "exchange", "nonCashOffset": 0, "cashPaid": 0, "netSettlement": 432792, "recovery_immutable_reason": "本单关联黄金回收/置换、购料及库存,暂不支持普通订单修改、取消、退款、退货或费用变更,请保留原关联记录", "customer": "对照换货客户", "salesperson": "小昊", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 12000, "summaryMg": 12000, "pieces": 0, "originalSale": 432792, "sale": 432792, "material": 360720, "laborAndFees": 6000, "unallocated": 0, "totalCost": 366720, "profit": 66072, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 366720, "known": { "sale": 432792, "material": 360720, "laborAndFees": 6000, "unallocated": 0, "totalCost": 366720, "profit": 66072, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 366720 }, "costItems": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金对照新货", "amount": 360720, "payer": "assistant2", "excluded": false, "calculation": { "rate": 90000, "quantity": 4008 }, "component": "material" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 6000, "payer": "assistant2", "excluded": false, "calculation": { "rate": 500, "quantity": 12000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 6000, "payer": "assistant2", "excluded": false, "calculation": { "rate": 500, "quantity": 12000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 4, "reviewed_revision": 0 }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119013", "date": "2026-11-19", "created": "2026-11-19T02:01:48.000Z", "customer": "当天客户(改)", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 2000, "summaryMg": 2000, "pieces": 0, "originalSale": 210000, "sale": 210000, "material": null, "laborAndFees": null, "unallocated": 180000, "totalCost": 180800, "profit": 29200, "ownerCost": 0, "assistantCost": 180800, "assistant2Cost": 0, "known": { "sale": 210000, "material": 0, "laborAndFees": 800, "unallocated": 180000, "totalCost": 180800, "profit": 29200, "ownerCost": 0, "assistantCost": 180800, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金吊坠", "amount": 180000, "payer": "assistant", "excluded": false, "calculation": null, "component": "unallocated" }, { "kind": "paid", "name": "当天快递", "source": "2026-11-19", "amount": 800, "payer": "assistant", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "paid", "name": "当天快递", "source": "2026-11-19", "amount": 800, "payer": "assistant", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 7, "reviewed_revision": 0 } ], "payerCosts": { "assistant": { "payer": "assistant", "name": "娜娜", "goods": 180000, "paidFees": 800, "total": 180800, "missingCount": 0, "pendingCount": 0, "items": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金吊坠", "amount": 180000, "payer": "assistant", "excluded": false, "calculation": null, "component": "unallocated", "order_id": "", "number": "MM20261119-", "paper_number": "20261119013", "date": "2026-11-19", "customer": "当天客户(改)", "status": "recorded" }, { "kind": "paid", "name": "当天快递", "source": "整单费用 · 实付 2026-11-19", "amount": 800, "payer": "assistant", "component": "fee", "order_id": "", "number": "MM20261119-", "paper_number": "20261119013", "date": "2026-11-19", "customer": "当天客户(改)", "status": "recorded", "calculation": null, "paidDate": "2026-11-19" } ] }, "owner": { "payer": "owner", "name": "麦麦", "goods": 0, "paidFees": 0, "total": 0, "missingCount": 0, "pendingCount": 0, "items": [] }, "assistant2": { "payer": "assistant2", "name": "小昊", "goods": 736720, "paidFees": 0, "total": 736720, "missingCount": 0, "pendingCount": 0, "items": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金对照新货", "amount": 360720, "payer": "assistant2", "excluded": false, "calculation": { "rate": 90000, "quantity": 4008 }, "component": "material", "order_id": "", "number": "MM20261119-", "paper_number": "20261119011", "date": "2026-11-19", "customer": "对照换货客户", "status": "recorded" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 6000, "payer": "assistant2", "excluded": false, "calculation": { "rate": 500, "quantity": 12000 }, "component": "labor", "order_id": "", "number": "MM20261119-", "paper_number": "20261119011", "date": "2026-11-19", "customer": "对照换货客户", "status": "recorded" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories", "order_id": "", "number": "MM20261119-", "paper_number": "20261119011", "date": "2026-11-19", "customer": "对照换货客户", "status": "recorded" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other", "order_id": "", "number": "MM20261119-", "paper_number": "20261119011", "date": "2026-11-19", "customer": "对照换货客户", "status": "recorded" }, { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 4000, "amount": 370000, "payer": "assistant2", "note": "", "actor": "助理2", "created": "2026-11-19T02:02:20.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:20.000Z", "purchaseAmount": 370000, "kind": "goods", "component": "material", "materialPoolId": "2026-11-19", "name": "日料池采购", "source": "日料池 2026-11-19 · 实付 2026-11-19", "paidDate": "2026-11-19", "quantity": 4000, "calculation": null, "status": "recorded", "actualOutlay": true } ] } }, "orderPayerCosts": { "assistant": { "payer": "assistant", "name": "娜娜", "goods": 180000, "paidFees": 800, "total": 180800, "missingCount": 0, "pendingCount": 0, "items": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金吊坠", "amount": 180000, "payer": "assistant", "excluded": false, "calculation": null, "component": "unallocated", "order_id": "", "number": "MM20261119-", "paper_number": "20261119013", "date": "2026-11-19", "customer": "当天客户(改)", "status": "recorded" }, { "kind": "paid", "name": "当天快递", "source": "整单费用 · 实付 2026-11-19", "amount": 800, "payer": "assistant", "component": "fee", "order_id": "", "number": "MM20261119-", "paper_number": "20261119013", "date": "2026-11-19", "customer": "当天客户(改)", "status": "recorded", "calculation": null, "paidDate": "2026-11-19" } ] }, "owner": { "payer": "owner", "name": "麦麦", "goods": 0, "paidFees": 0, "total": 0, "missingCount": 0, "pendingCount": 0, "items": [] }, "assistant2": { "payer": "assistant2", "name": "小昊", "goods": 278720, "paidFees": 0, "total": 278720, "missingCount": 0, "pendingCount": 0, "items": [ { "kind": "goods", "component": "material", "name": "售后收回金料成本", "source": "商品 1 · 足金手链", "amount": -88000, "payer": "assistant2", "nonCash": true, "materialPoolId": "2026-11-19", "calculation": null, "order_id": "", "orderAfterSale": true, "number": "MM20261118-", "paper_number": "20261118007", "date": "2026-11-19", "customer": "对照售后订单客户", "status": "recorded" }, { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金对照新货", "amount": 360720, "payer": "assistant2", "excluded": false, "calculation": { "rate": 90000, "quantity": 4008 }, "component": "material", "order_id": "", "number": "MM20261119-", "paper_number": "20261119011", "date": "2026-11-19", "customer": "对照换货客户", "status": "recorded" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 6000, "payer": "assistant2", "excluded": false, "calculation": { "rate": 500, "quantity": 12000 }, "component": "labor", "order_id": "", "number": "MM20261119-", "paper_number": "20261119011", "date": "2026-11-19", "customer": "对照换货客户", "status": "recorded" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories", "order_id": "", "number": "MM20261119-", "paper_number": "20261119011", "date": "2026-11-19", "customer": "对照换货客户", "status": "recorded" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other", "order_id": "", "number": "MM20261119-", "paper_number": "20261119011", "date": "2026-11-19", "customer": "对照换货客户", "status": "recorded" } ] } }, "peopleCount": { "from": "2026-11-19", "date": "2026-11-19", "baselineDate": "2026-11-18", "mode": "daily-total", "assistant1": { "total": 7, "endTotal": 7, "baselineTotal": 5, "baselineDate": "2026-11-18", "netChange": 2, "netChangeReason": null, "recordedDays": 1 }, "assistant2": { "total": 4, "endTotal": 4, "baselineTotal": 3, "baselineDate": "2026-11-18", "netChange": 1, "netChangeReason": null, "recordedDays": 1 } }, "priceLockActivity": { "basis": "eventDate", "from": "2026-11-19", "date": "2026-11-19", "customerCash": [], "orderPayments": [], "materialOutlays": [], "directOutlays": [], "deliveryGoodsOutlays": [], "receipts": { "receipt": 0, "refund": 0, "net": 0, "channels": [ { "channel": "wechat", "name": "微信", "receipt": 0, "refund": 0, "net": 0 }, { "channel": "alipay", "name": "支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "channel": "cash", "name": "现金", "receipt": 0, "refund": 0, "net": 0 } ], "accounts": [ { "account": "助理微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2现金", "receipt": 0, "refund": 0, "net": 0 } ], "paymentCount": 0, "orderCount": 0 }, "payerOutlays": { "owner": { "payer": "owner", "material": 0, "goods": 0, "paidFees": 0, "total": 0 }, "assistant": { "payer": "assistant", "material": 0, "goods": 0, "paidFees": 0, "total": 0 }, "assistant2": { "payer": "assistant2", "material": 0, "goods": 0, "paidFees": 0, "total": 0 } }, "summary": { "receipt": 0, "refund": 0, "net": 0, "materialOutlay": 0, "goodsOutlay": 0, "feeOutlay": 0, "ownerOutlay": 0, "assistantOutlay": 0, "assistant2Outlay": 0, "totalOutlay": 0, "eventCount": 0, "lockCount": 0 } }, "outlayGoods": 916720, "outlayExpense": 800, "outlayTotal": 917520, "receiptsByOrderDate": { "basis": "orderDate", "filterScope": "matchingOrders", "from": "2026-11-19", "date": "2026-11-19", "receipt": 642792, "refund": 90000, "net": 552792, "channels": [ { "channel": "wechat", "name": "微信", "receipt": 642792, "refund": 0, "net": 642792 }, { "channel": "alipay", "name": "支付宝", "receipt": 0, "refund": 90000, "net": -90000 }, { "channel": "cash", "name": "现金", "receipt": 0, "refund": 0, "net": 0 } ], "accounts": [ { "account": "助理微信", "receipt": 210000, "refund": 0, "net": 210000 }, { "account": "助理支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2微信", "receipt": 432792, "refund": 0, "net": 432792 }, { "account": "助理2支付宝", "receipt": 0, "refund": 90000, "net": -90000 }, { "account": "助理2现金", "receipt": 0, "refund": 0, "net": 0 } ], "paymentCount": 3, "orderCount": 3 }, "totalCost": 459520, "recipientReceipts": { "assistant": { "recipient": "assistant", "name": "娜娜", "receipt": 210000, "refund": 0, "net": 210000, "items": [ { "id": "", "date": "2026-11-19", "kind": "receipt", "amount": 210000, "account": "助理微信", "order_id": "", "price_lock_id": null, "order_date": "2026-11-19", "number": "MM20261119-", "paper_number": "20261119013", "customer": "当天客户(改)", "reference": "开单时已全额收款", "note": "", "created": "2026-11-19T02:01:48.000Z" } ] }, "owner": { "recipient": "owner", "name": "麦麦", "receipt": 0, "refund": 0, "net": 0, "items": [] }, "assistant2": { "recipient": "assistant2", "name": "小昊", "receipt": 432792, "refund": 90000, "net": 342792, "items": [ { "id": "", "date": "2026-11-19", "kind": "receipt", "amount": 432792, "account": "助理2微信", "order_id": "", "price_lock_id": null, "order_date": "2026-11-19", "number": "MM20261119-", "paper_number": "20261119011", "customer": "对照换货客户", "reference": "置换差额实际收款 · HS202611190001", "note": "", "created": "2026-11-19T02:01:32.000Z" }, { "id": "", "date": "2026-11-19", "kind": "refund", "amount": 90000, "account": "助理2支付宝", "order_id": "", "price_lock_id": null, "order_date": "2026-11-18", "number": "MM20261118-", "paper_number": "20261118007", "customer": "对照售后订单客户", "reference": "整单售后退款", "note": "", "created": "2026-11-19T02:01:05.000Z", "order_after_sale": true } ] } }, "ownershipReceipts": { "assistant2": { "member": "assistant2", "name": "小昊", "receipt": 642792, "refund": 90000, "net": 552792, "accounts": [ { "account": "助理微信", "recipient": "assistant", "channel": "wechat", "receipt": 210000, "refund": 0, "net": 210000, "entryCount": 1 }, { "account": "助理2微信", "recipient": "assistant2", "channel": "wechat", "receipt": 432792, "refund": 0, "net": 432792, "entryCount": 1 }, { "account": "助理2支付宝", "recipient": "assistant2", "channel": "alipay", "receipt": 0, "refund": 90000, "net": -90000, "entryCount": 1 } ], "items": [ { "id": "", "date": "2026-11-19", "kind": "receipt", "amount": 210000, "account": "助理微信", "order_id": "", "price_lock_id": null, "order_date": "2026-11-19", "number": "MM20261119-", "paper_number": "20261119013", "customer": "当天客户(改)", "reference": "开单时已全额收款", "note": "", "created": "2026-11-19T02:01:48.000Z" }, { "id": "", "date": "2026-11-19", "kind": "receipt", "amount": 432792, "account": "助理2微信", "order_id": "", "price_lock_id": null, "order_date": "2026-11-19", "number": "MM20261119-", "paper_number": "20261119011", "customer": "对照换货客户", "reference": "置换差额实际收款 · HS202611190001", "note": "", "created": "2026-11-19T02:01:32.000Z" }, { "id": "", "date": "2026-11-19", "kind": "refund", "amount": 90000, "account": "助理2支付宝", "order_id": "", "price_lock_id": null, "order_date": "2026-11-18", "number": "MM20261118-", "paper_number": "20261118007", "customer": "对照售后订单客户", "reference": "整单售后退款", "note": "", "created": "2026-11-19T02:01:05.000Z", "order_after_sale": true } ] } }, "ownershipBusiness": { "assistant2": { "member": "assistant2", "name": "小昊", "basis": "orderDate", "from": "2026-11-19", "date": "2026-11-19", "recordCount": 3, "orderCount": 2, "afterSaleCount": 1, "draftCount": 0, "sales": 552792, "netReceipts": 552792, "totalCost": 459520, "knownTotalCost": 459520, "selfCost": 278720, "knownSelfCost": 278720, "otherCost": 180800, "knownOtherCost": 180800, "profit": 93272, "knownProfit": 93272, "incomplete": false, "missingCostCount": 0, "pendingCostCount": 0, "unknownProfitCount": 0, "costByPayer": { "owner": { "member": "owner", "name": "麦麦", "totalCost": 0, "knownTotalCost": 0, "missingCount": 0, "pendingCount": 0 }, "assistant": { "member": "assistant", "name": "娜娜", "totalCost": 180800, "knownTotalCost": 180800, "missingCount": 0, "pendingCount": 0 }, "assistant2": { "member": "assistant2", "name": "小昊", "totalCost": 278720, "knownTotalCost": 278720, "missingCount": 0, "pendingCount": 0 } }, "poolMaterial": { "mg": 0, "amount": 0, "knownAmount": 0, "missingCount": 0, "byPayer": { "owner": { "amount": 0, "knownAmount": 0 }, "assistant": { "amount": 0, "knownAmount": 0 }, "assistant2": { "amount": 0, "knownAmount": 0 } }, "hasPriceLocks": false, "days": [], "otherCosts": { "knownAmount": 459520, "amount": 459520 } }, "ownerAdvances": { "basis": "orderDate", "from": "2026-11-19", "date": "2026-11-19", "days": [] }, "currentAccount": { "basis": "orderDate", "from": "2026-11-19", "date": "2026-11-19", "days": [ { "date": "2026-11-19", "recordCount": 3, "knownMaterialCost": 0, "knownOtherCost": 0, "knownProfit": 93272, "ownerNetReceipts": 0, "missingCostCount": 0, "pendingCostCount": 0, "unknownProfitCount": 0, "incomplete": false, "materialCost": 0, "otherCost": 0, "profit": 93272, "knownAmount": 93272, "amount": 93272 } ] }, "difference": { "amount": 0, "reconciled": true, "reasons": [] }, "equation": { "basis": "netReceipts", "revenue": 552792, "totalCost": 459520, "profit": 93272, "complete": true }, "settlement": { "available": true, "basis": "cumulative-through-date", "from": "2026-11-19", "date": "2026-11-19", "dueOut": 0, "dueIn": 41200, "partial": false, "pendingCount": 0, "legacyCount": 0, "notice": "截至所选日的累计往来,已抵扣实际转账与代收;逐人核对,不将他人付款成本直接当作应转。", "counterparts": [ { "member": "owner", "name": "麦麦", "dueOut": 0, "dueIn": 0, "openingDue": 0, "periodNew": 0, "periodTransferred": 0, "closingDue": 0, "offset": 0, "period": { "obligationNet": 0, "transferred": 0, "receivedForNet": 0, "advancedNet": 0 } }, { "member": "assistant", "name": "娜娜", "dueOut": 0, "dueIn": 41200, "openingDue": -12000, "periodNew": -29200, "periodTransferred": 0, "closingDue": -41200, "offset": 250800, "period": { "obligationNet": -29200, "transferred": 0, "receivedForNet": -210000, "advancedNet": 180800 } } ] }, "hasActivity": true } }, "dailyProfits": { "basis": "orderDate", "from": "2026-11-19", "date": "2026-11-19", "rows": [ { "recordCount": 3, "orderCount": 2, "afterSaleCount": 1, "draftCount": 0, "sales": 552792, "knownTotalCost": 459520, "knownProfit": 93272, "unknownCostCount": 0, "unknownProfitCount": 0, "incomplete": false, "date": "2026-11-19", "member": "assistant2", "name": "小昊", "totalCost": 459520, "profit": 93272 } ], "summary": { "recordCount": 3, "orderCount": 2, "afterSaleCount": 1, "draftCount": 0, "sales": 552792, "knownTotalCost": 459520, "knownProfit": 93272, "unknownCostCount": 0, "unknownProfitCount": 0, "incomplete": false, "totalCost": 459520, "profit": 93272 } }, "dailyFunds": { "date": "2026-11-19", "from": "2026-11-19", "team": { "from": "2026-11-19", "to": "2026-11-19", "date": "2026-11-19", "members": [ { "id": "owner", "name": "麦麦" }, { "id": "assistant", "name": "娜娜" }, { "id": "assistant2", "name": "小昊" } ], "balances": [ { "member": "owner", "receipts": 0, "refunds": 0, "outlays": 600, "transferIn": 10000, "transferOut": 0, "openingChange": -2341031, "periodChange": 9400, "cumulativeChange": -2331631, "cashBalance": 9400, "balanceType": "recorded-change", "notice": "仅三人新账已登记的资金增减,不含真实期初余额" }, { "member": "assistant", "receipts": 627000, "refunds": 0, "outlays": 802210, "transferIn": 0, "transferOut": 10000, "openingChange": 44600, "periodChange": -185210, "cumulativeChange": -140610, "cashBalance": -185210, "balanceType": "recorded-change", "notice": "仅三人新账已登记的资金增减,不含真实期初余额" }, { "member": "assistant2", "receipts": 432792, "refunds": 90000, "outlays": 736720, "transferIn": 0, "transferOut": 0, "openingChange": -123837, "periodChange": -393928, "cumulativeChange": -517765, "cashBalance": -393928, "balanceType": "recorded-change", "notice": "仅三人新账已登记的资金增减,不含真实期初余额" } ], "pairs": [ { "id": "owner:assistant", "members": [ "owner", "assistant" ], "net": -637681, "obligationNet": -657681, "transferred": -20000, "receivedForNet": 288500, "advancedNet": -946181, "offset": 290650, "due": 637681, "fromMember": "assistant", "toMember": "owner", "direction": "transfer", "period": { "obligationNet": -600, "transferred": -10000, "receivedForNet": 0, "advancedNet": -600 }, "entries": [ { "id": "", "date": "2026-11-19", "kind": "advance", "project": "订单实际费用", "fromMember": "assistant", "toMember": "owner", "amount": 600, "revision": 1, "sourceKind": "order", "sourceId": "" } ] }, { "id": "owner:assistant2", "members": [ "owner", "assistant2" ], "net": 0, "obligationNet": 0, "transferred": 0, "receivedForNet": 0, "advancedNet": 0, "offset": 0, "due": 0, "fromMember": null, "toMember": null, "direction": "none", "period": { "obligationNet": 0, "transferred": 0, "receivedForNet": 0, "advancedNet": 0 }, "entries": [] }, { "id": "assistant:assistant2", "members": [ "assistant", "assistant2" ], "net": 41200, "obligationNet": 41200, "transferred": 0, "receivedForNet": 292000, "advancedNet": -250800, "offset": 250800, "due": 41200, "fromMember": "assistant", "toMember": "assistant2", "direction": "transfer", "period": { "obligationNet": 29200, "transferred": 0, "receivedForNet": 210000, "advancedNet": -180800 }, "entries": [ { "id": "", "date": "2026-11-19", "kind": "receipt", "project": "客户款代收", "fromMember": "assistant", "toMember": "assistant2", "amount": 210000, "revision": 3, "sourceKind": "order", "sourceId": "" }, { "id": "", "date": "2026-11-19", "kind": "advance", "project": "订单实际费用", "fromMember": "assistant2", "toMember": "assistant", "amount": 800, "revision": 3, "sourceKind": "order", "sourceId": "" }, { "id": "", "date": "2026-11-19", "kind": "advance", "project": "商品实际垫付", "fromMember": "assistant2", "toMember": "assistant", "amount": 180000, "revision": 3, "sourceKind": "order", "sourceId": "" } ] } ], "entries": [ { "id": "", "date": "2026-11-19", "kind": "advance", "project": "订单实际费用", "fromMember": "assistant", "toMember": "owner", "amount": 600, "revision": 1, "sourceKind": "order", "sourceId": "" }, { "id": "", "date": "2026-11-19", "kind": "receipt", "project": "客户款代收", "fromMember": "assistant", "toMember": "assistant2", "amount": 210000, "revision": 3, "sourceKind": "order", "sourceId": "" }, { "id": "", "date": "2026-11-19", "kind": "advance", "project": "订单实际费用", "fromMember": "assistant2", "toMember": "assistant", "amount": 800, "revision": 3, "sourceKind": "order", "sourceId": "" }, { "id": "", "date": "2026-11-19", "kind": "advance", "project": "商品实际垫付", "fromMember": "assistant2", "toMember": "assistant", "amount": 180000, "revision": 3, "sourceKind": "order", "sourceId": "" } ], "transfers": [ { "id": "", "date": "2026-11-19", "fromMember": "assistant", "toMember": "owner", "amount": 10000, "note": "对照转账二", "actor": "麦麦" } ], "revision": "91d8e840360bd6750d7d9078c202052d4754bf75b4d2400dcc33adc06ef7598e", "pending": [], "legacyReadOnly": true, "cutover": "仅已启用的三人新账事件;旧结算不自动迁入", "transfersDeducted": true }, "readOnly": false, "hasRecords": true, "pendingCount": 0, "legacyReadOnly": true, "transfersNotDeducted": false, "reimbursements": [], "approvedReimbursements": 0, "ready": true, "transferAmount": null, "direction": null, "sources": { "revision": "91d8e840360bd6750d7d9078c202052d4754bf75b4d2400dcc33adc06ef7598e", "total": 0, "items": [] }, "confirmation": null, "actualOutlay": null, "missingDates": [], "staleDates": [], "days": [] }, "reportRevision": "bf5d23834d753e6e7c3de37912b05beadd8d8f5f80fbeeb0b130ff90742fc025" } }, { "seq": 477, "label": "movements-filter", "date": "2026-11-19", "actor": "owner", "method": "GET", "path": "/api/inventory/movements?from=2026-11-18&date=2026-11-19&pocket=现货", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "pocket": "现货", "pockets": [ { "pocket": "现货", "active": true }, { "pocket": "金料", "active": true }, { "pocket": "找金", "active": true }, { "pocket": "回收旧料", "active": true }, { "pocket": "君宝汇", "active": true }, { "pocket": "pocket_", "active": true } ], "kind": "all", "hideDeleted": false, "from": "2026-11-18", "to": "", "total": 22, "shown": 22, "limit": 100, "pageSize": 100, "page": 1, "totalPages": 1, "hasPrev": false, "hasNext": false, "movements": [ { "id": "", "group_id": "", "order_id": "", "date": "2026-11-19", "pocket": "现货", "mg": -500, "kind": "sale", "note": "MM20261119-", "purchase_cost": null, "actor": "助理", "created": "2026-11-19T02:02:51.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-19", "pocket": "现货", "mg": 2000, "kind": "order_cancel_reverse", "note": "MM20261119-;当天直接作废:当天录错", "purchase_cost": null, "actor": "助理", "created": "2026-11-19T02:01:59.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-19", "pocket": "现货", "mg": -2000, "kind": "sale", "note": "MM20261119-", "purchase_cost": null, "actor": "助理", "created": "2026-11-19T02:01:57.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-19", "pocket": "现货", "mg": -2000, "kind": "sale", "note": "MM20261119-", "purchase_cost": null, "actor": "助理", "created": "2026-11-19T02:01:48.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-19", "pocket": "现货", "mg": -6000, "kind": "sale", "note": "MM20261119-", "purchase_cost": null, "actor": "助理", "created": "2026-11-19T02:01:33.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-19", "pocket": "现货", "mg": -12000, "kind": "sale", "note": "MM20261119-", "purchase_cost": null, "actor": "助理2", "created": "2026-11-19T02:01:32.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-19", "pocket": "现货", "mg": -3100, "kind": "sale", "note": "MM20261119-", "purchase_cost": null, "actor": "助理", "created": "2026-11-19T02:01:28.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-19", "pocket": "现货", "mg": 100, "kind": "lock_purchase", "note": "SJ20261118- 足金999 补重黄金入库", "purchase_cost": 9000, "actor": "助理", "created": "2026-11-19T02:01:28.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-19", "pocket": "现货", "mg": 3000, "kind": "lock_purchase", "note": "SJ20261118- 足金999 原锁定黄金入库", "purchase_cost": 255000, "actor": "助理", "created": "2026-11-19T02:01:28.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-18", "pocket": "现货", "mg": 1500, "kind": "order_cancel_reverse", "note": "MM20261118-;审批作废:重复录入", "purchase_cost": null, "actor": "麦麦", "created": "2026-11-19T02:00:45.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": null, "date": "2026-11-18", "pocket": "现货", "mg": 3000, "kind": "increase", "note": "娜娜手动入库", "purchase_cost": null, "actor": "麦麦", "created": "2026-11-19T02:00:11.000Z", "groupId": "", "revision": 2, "manual": true, "current": true, "status": "modified", "reversal": false, "canEdit": true, "canDelete": true, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": null, "date": "2026-11-18", "pocket": "现货", "mg": -2500, "kind": "manual_reversal", "note": "手动库存更正冲回:", "purchase_cost": null, "actor": "麦麦", "created": "2026-11-19T02:00:11.000Z", "groupId": "", "revision": 2, "manual": false, "current": false, "status": "modified", "reversal": true, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-18", "pocket": "现货", "mg": -4000, "kind": "sale", "note": "MM20261118-", "purchase_cost": null, "actor": "麦麦", "created": "2026-11-18T02:01:34.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-18", "pocket": "现货", "mg": -800, "kind": "sale", "note": "MM20261118-", "purchase_cost": null, "actor": "助理", "created": "2026-11-18T02:01:26.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-18", "pocket": "现货", "mg": -5000, "kind": "sale", "note": "MM20261118-", "purchase_cost": null, "actor": "助理2", "created": "2026-11-18T02:01:25.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-18", "pocket": "现货", "mg": -1500, "kind": "sale", "note": "MM20261118-", "purchase_cost": null, "actor": "助理2", "created": "2026-11-18T02:01:24.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-18", "pocket": "现货", "mg": -2000, "kind": "sale", "note": "MM20261118-", "purchase_cost": null, "actor": "助理2", "created": "2026-11-18T02:01:18.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-18", "pocket": "现货", "mg": -3250, "kind": "sale", "note": "MM20261118-", "purchase_cost": null, "actor": "助理", "created": "2026-11-18T02:01:17.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": null, "date": "2026-11-18", "pocket": "现货", "mg": -500, "kind": "decrease", "note": "娜娜手动出库", "purchase_cost": null, "actor": "助理", "created": "2026-11-18T02:01:05.000Z", "groupId": "", "revision": 1, "manual": true, "current": true, "status": "active", "reversal": false, "canEdit": true, "canDelete": true, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": null, "date": "2026-11-18", "pocket": "现货", "mg": 2500, "kind": "increase", "note": "娜娜手动入库", "purchase_cost": null, "actor": "助理", "created": "2026-11-18T02:01:04.000Z", "groupId": "", "revision": 2, "manual": true, "current": false, "status": "modified", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": null, "date": "2026-11-18", "pocket": "现货", "mg": -5000, "kind": "transfer", "note": "调拨", "purchase_cost": null, "actor": "麦麦", "created": "2026-11-18T02:01:03.000Z", "groupId": "", "revision": 1, "manual": true, "current": true, "status": "active", "reversal": false, "canEdit": true, "canDelete": true, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": null, "date": "2026-11-18", "pocket": "现货", "mg": 100000, "kind": "opening", "note": "黄金对照起始库存", "purchase_cost": null, "actor": "麦麦", "created": "2026-11-18T02:01:00.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false } ] } }, { "seq": 478, "label": "movements-xlsx", "date": "2026-11-19", "actor": "owner", "method": "GET", "path": "/api/inventory/movements/export.xlsx", "key": null, "status": 200, "contentType": "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", "disposition": "attachment; filename=\"inventory-movements-2026-11-19.xlsx\"; filename*=UTF-8''%E5%BA%93%E5%AD%98%E6%B5%81%E6%B0%B4-%E5%85%A8%E9%83%A8%E8%B4%A7%E7%9B%98-%E5%85%A8%E9%83%A8%E6%B5%81%E6%B0%B4-2026-11-19.xlsx", "setCookie": null, "body": { "zip": [ { "name": "[Content_Types].xml", "text": "" }, { "name": "_rels/.rels", "text": "" }, { "name": "xl/workbook.xml", "text": "" }, { "name": "xl/_rels/workbook.xml.rels", "text": "" }, { "name": "xl/styles.xml", "text": "" }, { "name": "xl/worksheets/sheet1.xml", "text": "序号日期货盘增减克重(g)类型备注/原单经办人记录时间状态增减对数(对)12026-11-19现货-0.5销售出库MM20261119-娜娜2026-11-19 10:02:51随原业务记录保留22026-11-19现货2订单作废冲回MM20261119-;当天直接作废:当天录错娜娜2026-11-19 10:01:59随原业务记录保留32026-11-19现货-2销售出库MM20261119-娜娜2026-11-19 10:01:57随原业务记录保留42026-11-19现货-2销售出库MM20261119-娜娜2026-11-19 10:01:48随原业务记录保留52026-11-19现货-6销售出库MM20261119-娜娜2026-11-19 10:01:33随原业务记录保留62026-11-19回收旧料4.851回收旧料入库HS202611190002娜娜2026-11-19 10:01:33随原业务记录保留72026-11-19现货-12销售出库MM20261119-小昊2026-11-19 10:01:32随原业务记录保留82026-11-19回收旧料7.992回收旧料入库HS202611190001小昊2026-11-19 10:01:32随原业务记录保留92026-11-19现货-3.1销售出库MM20261119-娜娜2026-11-19 10:01:28随原业务记录保留102026-11-19现货0.1锁价黄金入库SJ20261118- 足金999 补重黄金入库娜娜2026-11-19 10:01:28随原业务记录保留112026-11-19现货3锁价黄金入库SJ20261118- 足金999 原锁定黄金入库娜娜2026-11-19 10:01:28随原业务记录保留122026-11-19金料1退货入库MM20261118- · 售后回收旧料麦麦2026-11-19 10:01:05随原业务记录保留132026-11-18现货1.5订单作废冲回MM20261118-;审批作废:重复录入麦麦2026-11-19 10:00:45随原业务记录保留142026-11-19金料-1.2更正冲回撤回旧记录的库存影响麦麦2026-11-19 10:00:21更正记录 · 撤回旧记录的库存影响152026-11-19金料1.2增加当天手动入库娜娜2026-11-19 10:00:19原记录 · 已删除162026-11-19金料-1更正冲回撤回旧记录的库存影响娜娜2026-11-19 10:00:19更正记录 · 撤回旧记录的库存影响172026-11-19金料1增加当天手动入库娜娜2026-11-19 10:00:16原记录 · 已删除182026-11-18现货3增加娜娜手动入库麦麦2026-11-19 10:00:11修改后有效192026-11-18现货-2.5更正冲回撤回旧记录的库存影响麦麦2026-11-19 10:00:11更正记录 · 撤回旧记录的库存影响202026-11-18现货-4销售出库MM20261118-麦麦2026-11-18 10:01:34随原业务记录保留212026-11-18现货-0.8销售出库MM20261118-娜娜2026-11-18 10:01:26随原业务记录保留222026-11-18现货-5销售出库MM20261118-小昊2026-11-18 10:01:25随原业务记录保留232026-11-18现货-1.5销售出库MM20261118-小昊2026-11-18 10:01:24随原业务记录保留242026-11-18展柜A(主)-10销售出库MM20261118-麦麦2026-11-18 10:01:23随原业务记录保留252026-11-18现货-2销售出库MM20261118-小昊2026-11-18 10:01:18随原业务记录保留262026-11-18现货-3.25销售出库MM20261118-娜娜2026-11-18 10:01:17随原业务记录保留272026-11-18现货-0.5减少娜娜手动出库娜娜2026-11-18 10:01:05当前有效282026-11-18现货2.5增加娜娜手动入库娜娜2026-11-18 10:01:04原记录 · 已修改292026-11-18金料5平移调拨麦麦2026-11-18 10:01:03当前有效302026-11-18现货-5平移调拨麦麦2026-11-18 10:01:03当前有效312026-11-18展柜A(主)20开账展柜起始麦麦2026-11-18 10:01:02随原业务记录保留322026-11-18金料50开账黄金对照起始金料麦麦2026-11-18 10:01:01随原业务记录保留332026-11-18现货100开账黄金对照起始库存麦麦2026-11-18 10:01:00随原业务记录保留" } ] } }, { "seq": 479, "label": "movements-xlsx-range", "date": "2026-11-19", "actor": "owner", "method": "GET", "path": "/api/inventory/movements/export.xlsx?from=2026-11-18&date=2026-11-19", "key": null, "status": 200, "contentType": "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", "disposition": "attachment; filename=\"inventory-movements-2026-11-19.xlsx\"; filename*=UTF-8''%E5%BA%93%E5%AD%98%E6%B5%81%E6%B0%B4-%E5%85%A8%E9%83%A8%E8%B4%A7%E7%9B%98-%E5%85%A8%E9%83%A8%E6%B5%81%E6%B0%B4-2026-11-18%E8%87%B3%E4%BB%8A.xlsx", "setCookie": null, "body": { "zip": [ { "name": "[Content_Types].xml", "text": "" }, { "name": "_rels/.rels", "text": "" }, { "name": "xl/workbook.xml", "text": "" }, { "name": "xl/_rels/workbook.xml.rels", "text": "" }, { "name": "xl/styles.xml", "text": "" }, { "name": "xl/worksheets/sheet1.xml", "text": "序号日期货盘增减克重(g)类型备注/原单经办人记录时间状态增减对数(对)12026-11-19现货-0.5销售出库MM20261119-娜娜2026-11-19 10:02:51随原业务记录保留22026-11-19现货2订单作废冲回MM20261119-;当天直接作废:当天录错娜娜2026-11-19 10:01:59随原业务记录保留32026-11-19现货-2销售出库MM20261119-娜娜2026-11-19 10:01:57随原业务记录保留42026-11-19现货-2销售出库MM20261119-娜娜2026-11-19 10:01:48随原业务记录保留52026-11-19现货-6销售出库MM20261119-娜娜2026-11-19 10:01:33随原业务记录保留62026-11-19回收旧料4.851回收旧料入库HS202611190002娜娜2026-11-19 10:01:33随原业务记录保留72026-11-19现货-12销售出库MM20261119-小昊2026-11-19 10:01:32随原业务记录保留82026-11-19回收旧料7.992回收旧料入库HS202611190001小昊2026-11-19 10:01:32随原业务记录保留92026-11-19现货-3.1销售出库MM20261119-娜娜2026-11-19 10:01:28随原业务记录保留102026-11-19现货0.1锁价黄金入库SJ20261118- 足金999 补重黄金入库娜娜2026-11-19 10:01:28随原业务记录保留112026-11-19现货3锁价黄金入库SJ20261118- 足金999 原锁定黄金入库娜娜2026-11-19 10:01:28随原业务记录保留122026-11-19金料1退货入库MM20261118- · 售后回收旧料麦麦2026-11-19 10:01:05随原业务记录保留132026-11-18现货1.5订单作废冲回MM20261118-;审批作废:重复录入麦麦2026-11-19 10:00:45随原业务记录保留142026-11-19金料-1.2更正冲回撤回旧记录的库存影响麦麦2026-11-19 10:00:21更正记录 · 撤回旧记录的库存影响152026-11-19金料1.2增加当天手动入库娜娜2026-11-19 10:00:19原记录 · 已删除162026-11-19金料-1更正冲回撤回旧记录的库存影响娜娜2026-11-19 10:00:19更正记录 · 撤回旧记录的库存影响172026-11-19金料1增加当天手动入库娜娜2026-11-19 10:00:16原记录 · 已删除182026-11-18现货3增加娜娜手动入库麦麦2026-11-19 10:00:11修改后有效192026-11-18现货-2.5更正冲回撤回旧记录的库存影响麦麦2026-11-19 10:00:11更正记录 · 撤回旧记录的库存影响202026-11-18现货-4销售出库MM20261118-麦麦2026-11-18 10:01:34随原业务记录保留212026-11-18现货-0.8销售出库MM20261118-娜娜2026-11-18 10:01:26随原业务记录保留222026-11-18现货-5销售出库MM20261118-小昊2026-11-18 10:01:25随原业务记录保留232026-11-18现货-1.5销售出库MM20261118-小昊2026-11-18 10:01:24随原业务记录保留242026-11-18展柜A(主)-10销售出库MM20261118-麦麦2026-11-18 10:01:23随原业务记录保留252026-11-18现货-2销售出库MM20261118-小昊2026-11-18 10:01:18随原业务记录保留262026-11-18现货-3.25销售出库MM20261118-娜娜2026-11-18 10:01:17随原业务记录保留272026-11-18现货-0.5减少娜娜手动出库娜娜2026-11-18 10:01:05当前有效282026-11-18现货2.5增加娜娜手动入库娜娜2026-11-18 10:01:04原记录 · 已修改292026-11-18金料5平移调拨麦麦2026-11-18 10:01:03当前有效302026-11-18现货-5平移调拨麦麦2026-11-18 10:01:03当前有效312026-11-18展柜A(主)20开账展柜起始麦麦2026-11-18 10:01:02随原业务记录保留322026-11-18金料50开账黄金对照起始金料麦麦2026-11-18 10:01:01随原业务记录保留332026-11-18现货100开账黄金对照起始库存麦麦2026-11-18 10:01:00随原业务记录保留" } ] } }, { "seq": 480, "label": "inventory-csv", "date": "2026-11-19", "actor": "owner", "method": "GET", "path": "/api/export/inventory", "key": null, "status": 200, "contentType": "text/csv; charset=utf-8", "disposition": "attachment; filename=\"inventory.csv\"", "setCookie": null, "body": { "text": "货盘,账面克重,已占用克重,可用克重,计数单位,账面对数,已占用对数,可用对数\r\n\"现货\",61.950,0.000,61.950,,,,\r\n\"金料\",56.000,0.000,56.000,,,,\r\n\"找金\",0.000,0.000,0.000,,,,\r\n\"回收旧料\",12.843,0.000,12.843,,,,\r\n\"君宝汇\",0.000,0.000,0.000,,,,\r\n\"臻金汇\",0.000,0.000,0.000,,,,\r\n\"金金\",0.000,0.000,0.000,,,,\r\n\"定制工厂\",0.000,0.000,0.000,,,,\r\n\"展柜A(主)\",10.000,0.000,10.000,,,," } }, { "seq": 481, "label": "team-funds-report", "date": "2026-11-19", "actor": "owner", "method": "GET", "path": "/api/team-funds?date=2026-11-19", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "from": "2026-11-19", "to": "2026-11-19", "date": "2026-11-19", "members": [ { "id": "owner", "name": "麦麦" }, { "id": "assistant", "name": "娜娜" }, { "id": "assistant2", "name": "小昊" } ], "balances": [ { "member": "owner", "receipts": 0, "refunds": 0, "outlays": 600, "transferIn": 10000, "transferOut": 0, "openingChange": -2341031, "periodChange": 9400, "cumulativeChange": -2331631, "cashBalance": 9400, "balanceType": "recorded-change", "notice": "仅三人新账已登记的资金增减,不含真实期初余额" }, { "member": "assistant", "receipts": 627000, "refunds": 0, "outlays": 802210, "transferIn": 0, "transferOut": 10000, "openingChange": 44600, "periodChange": -185210, "cumulativeChange": -140610, "cashBalance": -185210, "balanceType": "recorded-change", "notice": "仅三人新账已登记的资金增减,不含真实期初余额" }, { "member": "assistant2", "receipts": 432792, "refunds": 90000, "outlays": 736720, "transferIn": 0, "transferOut": 0, "openingChange": -123837, "periodChange": -393928, "cumulativeChange": -517765, "cashBalance": -393928, "balanceType": "recorded-change", "notice": "仅三人新账已登记的资金增减,不含真实期初余额" } ], "pairs": [ { "id": "owner:assistant", "members": [ "owner", "assistant" ], "net": -637681, "obligationNet": -657681, "transferred": -20000, "receivedForNet": 288500, "advancedNet": -946181, "offset": 290650, "due": 637681, "fromMember": "assistant", "toMember": "owner", "direction": "transfer", "period": { "obligationNet": -600, "transferred": -10000, "receivedForNet": 0, "advancedNet": -600 }, "entries": [ { "id": "", "date": "2026-11-19", "kind": "advance", "project": "订单实际费用", "fromMember": "assistant", "toMember": "owner", "amount": 600, "revision": 1, "sourceKind": "order", "sourceId": "" } ] }, { "id": "owner:assistant2", "members": [ "owner", "assistant2" ], "net": 0, "obligationNet": 0, "transferred": 0, "receivedForNet": 0, "advancedNet": 0, "offset": 0, "due": 0, "fromMember": null, "toMember": null, "direction": "none", "period": { "obligationNet": 0, "transferred": 0, "receivedForNet": 0, "advancedNet": 0 }, "entries": [] }, { "id": "assistant:assistant2", "members": [ "assistant", "assistant2" ], "net": 41200, "obligationNet": 41200, "transferred": 0, "receivedForNet": 292000, "advancedNet": -250800, "offset": 250800, "due": 41200, "fromMember": "assistant", "toMember": "assistant2", "direction": "transfer", "period": { "obligationNet": 29200, "transferred": 0, "receivedForNet": 210000, "advancedNet": -180800 }, "entries": [ { "id": "", "date": "2026-11-19", "kind": "receipt", "project": "客户款代收", "fromMember": "assistant", "toMember": "assistant2", "amount": 210000, "revision": 3, "sourceKind": "order", "sourceId": "" }, { "id": "", "date": "2026-11-19", "kind": "advance", "project": "订单实际费用", "fromMember": "assistant2", "toMember": "assistant", "amount": 800, "revision": 3, "sourceKind": "order", "sourceId": "" }, { "id": "", "date": "2026-11-19", "kind": "advance", "project": "商品实际垫付", "fromMember": "assistant2", "toMember": "assistant", "amount": 180000, "revision": 3, "sourceKind": "order", "sourceId": "" } ] } ], "entries": [ { "id": "", "date": "2026-11-19", "kind": "advance", "project": "订单实际费用", "fromMember": "assistant", "toMember": "owner", "amount": 600, "revision": 1, "sourceKind": "order", "sourceId": "" }, { "id": "", "date": "2026-11-19", "kind": "receipt", "project": "客户款代收", "fromMember": "assistant", "toMember": "assistant2", "amount": 210000, "revision": 3, "sourceKind": "order", "sourceId": "" }, { "id": "", "date": "2026-11-19", "kind": "advance", "project": "订单实际费用", "fromMember": "assistant2", "toMember": "assistant", "amount": 800, "revision": 3, "sourceKind": "order", "sourceId": "" }, { "id": "", "date": "2026-11-19", "kind": "advance", "project": "商品实际垫付", "fromMember": "assistant2", "toMember": "assistant", "amount": 180000, "revision": 3, "sourceKind": "order", "sourceId": "" } ], "transfers": [ { "id": "", "date": "2026-11-19", "fromMember": "assistant", "toMember": "owner", "amount": 10000, "note": "对照转账二", "actor": "麦麦" } ], "revision": "91d8e840360bd6750d7d9078c202052d4754bf75b4d2400dcc33adc06ef7598e", "pending": [], "legacyReadOnly": true, "cutover": "仅已启用的三人新账事件;旧结算不自动迁入", "transfersDeducted": true } }, { "seq": 482, "note": "section", "name": "closeAndBackup" }, { "seq": 483, "label": "inventory-before-review-d2", "date": "2026-11-19", "actor": "owner", "method": "GET", "path": "/api/inventory", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "date": "2026-11-19", "yesterdayDate": "2026-11-18", "pockets": [ "现货", "金料", "找金", "回收旧料", "君宝汇", "pocket_" ], "current": [ { "pocket": "现货", "mg": 61950, "reserved": 0, "available": 61950 }, { "pocket": "金料", "mg": 56000, "reserved": 0, "available": 56000 }, { "pocket": "找金", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "回收旧料", "mg": 12843, "reserved": 0, "available": 12843 }, { "pocket": "君宝汇", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "pocket_", "mg": 10000, "reserved": 0, "available": 10000 } ], "yesterday": { "date": "2026-11-18", "inventory": [ { "pocket": "现货", "mg": 80450, "reserved": 0, "available": 80450 }, { "pocket": "金料", "mg": 55000, "reserved": 0, "available": 55000 }, { "pocket": "找金", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "回收旧料", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "君宝汇", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "臻金汇", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "金金", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "定制工厂", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "pocket_", "mg": 10000, "reserved": 0, "available": 10000 } ], "actor": "麦麦", "created": "2026-11-18T02:02:46.000Z", "updated": "2026-11-18T02:02:50.000Z", "stale": true, "revision": "3ced53bccf874039772cb33ea02c64ef6b6b7c23c841b7a40909076084b3a086", "source": "manual", "scheduled_for": null }, "todaySnapshot": null, "revision": "26e088956f984c72faf016a73484b8daf5648bcb6a79e96465dce260ed8aaace", "legacyInventory": [], "canReview": true, "automaticSnapshot": { "enabled": false, "time": "23:50", "timeZone": "Asia/Shanghai", "date": "2026-11-19", "status": "stopped", "lastSuccess": null, "lastError": null, "nextAttemptAt": null } } }, { "seq": 484, "label": "inventory-review-d2", "date": "2026-11-19", "actor": "owner", "method": "POST", "path": "/api/inventory/review", "key": "golden-00191-inventory-review-d2", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "date": "2026-11-19", "verified": true, "revision": "26e088956f984c72faf016a73484b8daf5648bcb6a79e96465dce260ed8aaace" } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "date": "2026-11-19", "snapshot": { "date": "2026-11-19", "inventory": [ { "pocket": "现货", "mg": 61950, "reserved": 0, "available": 61950 }, { "pocket": "金料", "mg": 56000, "reserved": 0, "available": 56000 }, { "pocket": "找金", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "回收旧料", "mg": 12843, "reserved": 0, "available": 12843 }, { "pocket": "君宝汇", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "臻金汇", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "金金", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "定制工厂", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "pocket_", "mg": 10000, "reserved": 0, "available": 10000 } ], "actor": "麦麦", "created": "2026-11-19T02:04:45.000Z", "updated": "2026-11-19T02:04:45.000Z", "stale": false, "revision": "26e088956f984c72faf016a73484b8daf5648bcb6a79e96465dce260ed8aaace", "source": "manual", "scheduled_for": null } } }, { "seq": 485, "label": "close-d2", "date": "2026-11-19", "actor": "owner", "method": "POST", "path": "/api/close", "key": "golden-00192-close-d2", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "date": "2026-11-19", "basis": "orderDate" } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "date": "2026-11-19", "snapshot": { "date": "2026-11-19", "inventory": [ { "pocket": "现货", "mg": 61950, "reserved": 0, "available": 61950 }, { "pocket": "金料", "mg": 56000, "reserved": 0, "available": 56000 }, { "pocket": "找金", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "回收旧料", "mg": 12843, "reserved": 0, "available": 12843 }, { "pocket": "君宝汇", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "臻金汇", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "金金", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "定制工厂", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "pocket_", "mg": 10000, "reserved": 0, "available": 10000 } ], "actor": "麦麦", "created": "2026-11-19T02:04:45.000Z", "updated": "2026-11-19T02:04:46.000Z", "stale": false, "revision": "26e088956f984c72faf016a73484b8daf5648bcb6a79e96465dce260ed8aaace", "source": "manual", "scheduled_for": null }, "basis": "orderDate", "reportRevision": "fa73de27deceb492d63cf1d58c3eba7bf0d1089f22a851135fe95a461efa7504" } }, { "seq": 486, "label": "report-after-close", "date": "2026-11-19", "actor": "owner", "method": "GET", "path": "/api/report?date=2026-11-19&basis=orderDate", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "date": "2026-11-19", "from": "2026-11-19", "sales": 1239792, "goods": 1056028, "knownGoods": 1056028, "expense": 1400, "profit": 182364, "knownProfit": 182364, "materialCostPending": false, "pendingMaterialCount": 0, "materialPoolActivity": { "basis": "purchaseDate", "from": "2026-11-19", "date": "2026-11-19", "purchases": [ { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 5000, "amount": 460000, "payer": "assistant", "note": "第二天购料", "actor": "助理", "created": "2026-11-19T02:02:19.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:19.000Z" }, { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 4000, "amount": 370000, "payer": "assistant2", "note": "", "actor": "助理2", "created": "2026-11-19T02:02:20.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:20.000Z" } ], "payerOutlays": { "owner": { "payer": "owner", "material": 0, "goods": 0, "paidFees": 0, "total": 0, "purchaseCount": 0 }, "assistant": { "payer": "assistant", "material": 460000, "goods": 460000, "paidFees": 0, "total": 460000, "purchaseCount": 1 }, "assistant2": { "payer": "assistant2", "material": 370000, "goods": 370000, "paidFees": 0, "total": 370000, "purchaseCount": 1 } }, "summary": { "purchaseCount": 2, "poolCount": 1, "mg": 9000, "materialOutlay": 830000, "purchaseValue": 830000, "ownerOutlay": 0, "assistantOutlay": 460000, "assistant2Outlay": 370000, "totalOutlay": 830000, "eventCount": 2 } }, "materialPoolSettlement": { "legacyReadOnly": true, "settlementDue": 0, "knownSettlementDue": 0, "pendingCount": 0, "pools": [] }, "delivered": 6, "returns": 1, "accounts": [ { "account": "助理微信", "receipt": 610800, "refund": 0, "net": 610800 }, { "account": "助理支付宝", "receipt": 16200, "refund": 0, "net": 16200 }, { "account": "助理现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2微信", "receipt": 432792, "refund": 0, "net": 432792 }, { "account": "助理2支付宝", "receipt": 0, "refund": 90000, "net": -90000 }, { "account": "助理2现金", "receipt": 0, "refund": 0, "net": 0 } ], "payments": [ { "id": "", "order_id": "", "date": "2026-11-19", "kind": "receipt", "amount": 432792, "account": "助理2微信", "reference": "置换差额实际收款 · HS202611190001", "actor": "助理2", "created": "2026-11-19T02:01:32.000Z", "number": "MM20261119-", "paper_number": "20261119011", "order_date": "2026-11-19" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "receipt", "amount": 130800, "account": "助理微信", "reference": "置换差额实际收款 · HS202611190002", "actor": "助理", "created": "2026-11-19T02:01:33.000Z", "number": "MM20261119-", "paper_number": "20261119012", "order_date": "2026-11-19" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "receipt", "amount": 210000, "account": "助理微信", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-19T02:01:48.000Z", "number": "MM20261119-", "paper_number": "20261119013", "order_date": "2026-11-19" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "receipt", "amount": 210000, "account": "助理微信", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-19T02:01:57.000Z", "number": "MM20261119-", "paper_number": "20261119014", "order_date": "2026-11-19" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "receipt", "amount": -210000, "account": "助理微信", "reference": "更正冲回:取消审批作废;当天录错", "actor": "助理", "created": "2026-11-19T02:01:59.000Z", "number": "MM20261119-", "paper_number": "20261119014", "order_date": "2026-11-19" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "receipt", "amount": 220000, "account": "助理微信", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-19T02:02:40.000Z", "number": "MM20261119-", "paper_number": "20261119015", "order_date": "2026-11-19" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "receipt", "amount": 50000, "account": "助理微信", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-19T02:02:51.000Z", "number": "MM20261119-", "paper_number": "20261119016", "order_date": "2026-11-19" }, { "id": "", "price_lock_id": "", "date": "2026-11-19", "kind": "receipt", "amount": 16200, "account": "助理支付宝", "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-19T02:01:28.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "refund", "amount": 90000, "account": "助理2支付宝", "reference": "整单售后退款", "actor": "麦麦", "created": "2026-11-19T02:01:05.000Z", "number": "MM20261118-", "paper_number": "20261118007", "customer": "对照售后订单客户", "order_date": "2026-11-18", "order_after_sale": true } ], "settlements": [], "journal": [ { "id": "", "order_id": "", "date": "2026-11-19", "kind": "交付", "sales": 286200, "goods": 267000, "expense": 600, "profit": 18600, "created": "2026-11-19T02:01:28.000Z", "number": "MM20261119-", "paper_number": "20261119010", "order_date": "2026-11-19" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "交付", "sales": 432792, "goods": 366720, "expense": 0, "profit": 66072, "created": "2026-11-19T02:01:32.000Z", "number": "MM20261119-", "paper_number": "20261119011", "order_date": "2026-11-19" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "交付", "sales": 130800, "goods": 106410, "expense": 0, "profit": 24390, "created": "2026-11-19T02:01:33.000Z", "number": "MM20261119-", "paper_number": "20261119012", "order_date": "2026-11-19" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "交付", "sales": 210000, "goods": 180000, "expense": 0, "profit": 30000, "created": "2026-11-19T02:01:48.000Z", "number": "MM20261119-", "paper_number": "20261119013", "order_date": "2026-11-19" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "直接费用", "sales": 0, "goods": 0, "expense": 800, "profit": -800, "created": "2026-11-19T02:01:52.000Z", "number": "MM20261119-", "paper_number": "20261119013", "order_date": "2026-11-19" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "交付", "sales": 210000, "goods": 180000, "expense": 0, "profit": 30000, "created": "2026-11-19T02:01:57.000Z", "number": "MM20261119-", "paper_number": "20261119014", "order_date": "2026-11-19" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "订单录错作废冲回", "sales": -210000, "goods": -180000, "expense": 0, "profit": -30000, "created": "2026-11-19T02:01:59.000Z", "number": "MM20261119-", "paper_number": "20261119014", "order_date": "2026-11-19" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "交付", "sales": 220000, "goods": 181898, "expense": 0, "profit": 38102, "created": "2026-11-19T02:02:40.000Z", "number": "MM20261119-", "paper_number": "20261119015", "order_date": "2026-11-19" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "交付", "sales": 50000, "goods": 42000, "expense": 0, "profit": 8000, "created": "2026-11-19T02:02:51.000Z", "number": "MM20261119-", "paper_number": "20261119016", "order_date": "2026-11-19" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "订单退货退款售后", "sales": -90000, "goods": -88000, "expense": 0, "profit": -2000, "created": "2026-11-19T02:01:05.000Z", "number": "MM20261118-", "paper_number": "20261118007", "order_date": "2026-11-18" } ], "afterSales": [], "afterSaleCount": 0, "inventory": [ { "pocket": "现货", "mg": 61950, "reserved": 0, "available": 61950 }, { "pocket": "金料", "mg": 56000, "reserved": 0, "available": 56000 }, { "pocket": "找金", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "回收旧料", "mg": 12843, "reserved": 0, "available": 12843 }, { "pocket": "君宝汇", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "臻金汇", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "金金", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "定制工厂", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "pocket_", "mg": 10000, "reserved": 0, "available": 10000 } ], "warnings": [ { "id": "", "number": "MM20261119-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261119-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261119-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261119-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261119-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261119-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261119-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261118-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261118-", "message": "麦麦直接收客户款,已扣减总待结金额;货款/利润拆分需单独复核" }, { "id": "", "number": "MM20261118-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261118-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261118-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261118-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261118-", "message": "麦麦直接收客户款,已扣减总待结金额;货款/利润拆分需单独复核" }, { "id": "", "number": "MM20261118-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261118-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261118-", "message": "麦麦直接收客户款,已扣减总待结金额;货款/利润拆分需单独复核" }, { "id": "", "number": "MM20261118-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261118-", "message": "有记录待麦麦复核" } ], "unsettled": [], "settlementDue": 0, "knownSettlementDue": 0, "customerBalance": 0, "close": { "date": "2026-11-19", "actor": "麦麦", "created": "2026-11-19T02:04:46.000Z", "stale": false, "basis": "orderDate", "reportRevision": "fa73de27deceb492d63cf1d58c3eba7bf0d1089f22a851135fe95a461efa7504", "staleReason": null }, "basis": "orderDate", "summary": { "orderCount": 7, "completedCount": 6, "draftCount": 0, "confirmedCount": 0, "returnedCount": 1, "cancelledCount": 1, "incompleteCount": 0, "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "unknownCostCount": 0, "unknownProfitCount": 0, "legacyUnallocatedCount": 2, "sale": 1239792, "material": 822028, "laborAndFees": 13400, "unallocated": 222000, "totalCost": 1057428, "profit": 182364, "ownerCost": 255600, "assistantCost": 523108, "assistant2Cost": 278720, "mg": 27600, "pieces": 0, "knownCounts": { "sale": 7, "material": 5, "laborAndFees": 5, "unallocated": 7, "totalCost": 7, "profit": 7, "ownerCost": 7, "assistantCost": 7, "assistant2Cost": 7 }, "unknownCounts": { "sale": 0, "material": 2, "laborAndFees": 2, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0 }, "partial": true, "afterSaleCount": 1, "recordCount": 8 }, "orderRows": [ { "id": "", "order_id": "", "kind": "orderAfterSale", "orderAfterSale": { "orderId": "", "date": "2026-11-19", "reason": "客户退回一件", "deductionReason": "客户确认扣费", "refund": { "amount": 90000, "account": "助理2支付宝", "payer": "assistant2", "reference": "" }, "expenses": [], "original": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": { "id": "", "status": "approved", "action": "return", "action_label": "订单售后", "order_revision": 4, "reason": "客户退回一件", "requester_name": "助理2", "created": "2026-11-19T02:01:03.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:01:05.000Z", "note": "实物已收回" }, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 0, "netReceived": 500000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 50000, "knownProfit": 50000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "funds_mode": "team", "credit_card_rate_permille": 6 }, "originalJournal": { "sales": 500000, "goods": 450000, "expense": 0, "profit": 50000 }, "summary": { "refundAmount": 90000, "retainedAmount": 410000, "materialReturnedCost": 88000, "laborRestockedCost": 0, "materialLoss": 352000, "costLoss": 362000, "originalDirectCost": 0, "newExpenses": 0, "directCost": 0, "profit": 48000, "finalProfit": 48000, "profitAdjustment": -2000, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ] }, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ], "order_id": "", "created": "2026-11-19T02:01:05.000Z", "number": "MM20261118-", "paper_number": "20261118007", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "order_date": "2026-11-18", "member": "assistant2" }, "member": "assistant2", "number": "MM20261118-", "paper_number": "20261118007", "date": "2026-11-19", "order_date": "2026-11-18", "created": "2026-11-19T02:01:05.000Z", "customer": "对照售后订单客户", "salesperson": "小昊", "status": "after_sale", "note": "", "project": "订单售后", "types": [ "订单售后" ], "mg": 0, "summaryMg": 0, "pieces": 0, "originalSale": 500000, "sale": -90000, "material": -88000, "laborAndFees": 0, "unallocated": 0, "totalCost": -88000, "profit": -2000, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": -88000, "known": { "sale": -90000, "material": -88000, "laborAndFees": 0, "unallocated": 0, "totalCost": -88000, "profit": -2000, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": -88000 }, "costItems": [ { "kind": "goods", "component": "material", "name": "售后收回金料成本", "source": "商品 1 · 足金手链", "amount": -88000, "payer": "assistant2", "nonCash": true, "materialPoolId": "2026-11-19", "calculation": null } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "按售后发生日调整;回收成本不属于新付款", "balance": 0, "revision": 1, "reviewed_revision": 1 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119010", "date": "2026-11-19", "created": "2026-11-19T02:01:28.000Z", "price_lock_id": "", "customer": "对照锁价客户(改)", "salesperson": "娜娜", "status": "delivered", "note": "锁价备注;锁价单 SJ20261118-;按原锁定金价 900.00元/克结算", "types": [ "货盘现货" ], "mg": 3100, "summaryMg": 3100, "pieces": 0, "originalSale": 286200, "sale": 286200, "material": 264000, "laborAndFees": 3600, "unallocated": 0, "totalCost": 267600, "profit": 18600, "ownerCost": 255600, "assistantCost": 12000, "assistant2Cost": 0, "known": { "sale": 286200, "material": 264000, "laborAndFees": 3600, "unallocated": 0, "totalCost": 267600, "profit": 18600, "ownerCost": 255600, "assistantCost": 12000, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 原锁价采购", "amount": 255000, "payer": "owner", "excluded": false, "priceLockSource": "original", "calculation": { "rate": 85000, "quantity": 3000 } }, { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 补重采购", "amount": 9000, "payer": "assistant", "excluded": false, "priceLockSource": "extra", "calculation": { "rate": 90000, "quantity": 100 } }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "实际快递", "source": "2026-11-19", "amount": 600, "payer": "owner", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "实际快递", "source": "2026-11-19", "amount": 600, "payer": "owner", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 3, "reviewed_revision": 0 }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119011", "date": "2026-11-19", "created": "2026-11-19T02:01:32.000Z", "recovery_id": "", "recovery_mode": "exchange", "nonCashOffset": 0, "cashPaid": 0, "netSettlement": 432792, "recovery_immutable_reason": "本单关联黄金回收/置换、购料及库存,暂不支持普通订单修改、取消、退款、退货或费用变更,请保留原关联记录", "customer": "对照换货客户", "salesperson": "小昊", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 12000, "summaryMg": 12000, "pieces": 0, "originalSale": 432792, "sale": 432792, "material": 360720, "laborAndFees": 6000, "unallocated": 0, "totalCost": 366720, "profit": 66072, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 366720, "known": { "sale": 432792, "material": 360720, "laborAndFees": 6000, "unallocated": 0, "totalCost": 366720, "profit": 66072, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 366720 }, "costItems": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金对照新货", "amount": 360720, "payer": "assistant2", "excluded": false, "calculation": { "rate": 90000, "quantity": 4008 }, "component": "material" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 6000, "payer": "assistant2", "excluded": false, "calculation": { "rate": 500, "quantity": 12000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 6000, "payer": "assistant2", "excluded": false, "calculation": { "rate": 500, "quantity": 12000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 4, "reviewed_revision": 0 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119012", "date": "2026-11-19", "created": "2026-11-19T02:01:33.000Z", "recovery_id": "", "recovery_mode": "exchange", "nonCashOffset": 0, "cashPaid": 0, "netSettlement": 130800, "recovery_immutable_reason": "本单关联黄金回收/置换、购料及库存,暂不支持普通订单修改、取消、退款、退货或费用变更,请保留原关联记录", "customer": "对照换货客户二", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 6000, "summaryMg": 6000, "pieces": 0, "originalSale": 130800, "sale": 130800, "material": 103410, "laborAndFees": 3000, "unallocated": 0, "totalCost": 106410, "profit": 24390, "ownerCost": 0, "assistantCost": 106410, "assistant2Cost": 0, "known": { "sale": 130800, "material": 103410, "laborAndFees": 3000, "unallocated": 0, "totalCost": 106410, "profit": 24390, "ownerCost": 0, "assistantCost": 106410, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金对照新货", "amount": 103410, "payer": "assistant", "excluded": false, "calculation": { "rate": 90000, "quantity": 1149 }, "component": "material" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": { "rate": 500, "quantity": 6000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": { "rate": 500, "quantity": 6000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 4, "reviewed_revision": 0 }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119013", "date": "2026-11-19", "created": "2026-11-19T02:01:48.000Z", "customer": "当天客户(改)", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 2000, "summaryMg": 2000, "pieces": 0, "originalSale": 210000, "sale": 210000, "material": null, "laborAndFees": null, "unallocated": 180000, "totalCost": 180800, "profit": 29200, "ownerCost": 0, "assistantCost": 180800, "assistant2Cost": 0, "known": { "sale": 210000, "material": 0, "laborAndFees": 800, "unallocated": 180000, "totalCost": 180800, "profit": 29200, "ownerCost": 0, "assistantCost": 180800, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金吊坠", "amount": 180000, "payer": "assistant", "excluded": false, "calculation": null, "component": "unallocated" }, { "kind": "paid", "name": "当天快递", "source": "2026-11-19", "amount": 800, "payer": "assistant", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "paid", "name": "当天快递", "source": "2026-11-19", "amount": 800, "payer": "assistant", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 7, "reviewed_revision": 0 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119014", "date": "2026-11-19", "created": "2026-11-19T02:01:57.000Z", "cancellationApproved": { "id": "", "status": "approved", "order_revision": 4, "reason": "当天录错", "requester_name": "助理", "created": "2026-11-19T02:01:59.000Z", "reviewer_name": null, "reviewed": null, "note": "", "direct": true, "operator_name": "助理", "executedAt": "2026-11-19T02:01:59.000Z" }, "customer": "当天取消客户", "salesperson": "娜娜", "status": "cancelled", "note": "", "types": [ "货盘现货" ], "mg": 2000, "summaryMg": 2000, "pieces": 0, "originalSale": 210000, "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0, "known": { "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0 }, "costItems": [], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "录错作废已获麦麦批准,本单销售、成本与收款记账已撤销,原单和审批记录保留", "balance": 0, "revision": 5, "reviewed_revision": 0 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119015", "date": "2026-11-19", "created": "2026-11-19T02:02:40.000Z", "materialPoolIds": [ "2026-11-19" ], "materialCostPending": false, "customer": "滚动料池客户", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "配货" ], "mg": 2000, "summaryMg": 2000, "pieces": 0, "originalSale": 220000, "sale": 220000, "material": 181898, "laborAndFees": 0, "unallocated": 0, "totalCost": 181898, "profit": 38102, "ownerCost": 0, "assistantCost": 181898, "assistant2Cost": 0, "known": { "sale": 220000, "material": 181898, "laborAndFees": 0, "unallocated": 0, "totalCost": 181898, "profit": 38102, "ownerCost": 0, "assistantCost": 181898, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 2026-11-19日购料", "amount": 181898, "payer": "assistant", "excluded": false, "materialPoolId": "2026-11-19", "materialPoolRevision": "2e1d58e4d359165036a53976f4ed30c7052bb21df8bd2eb46c6544546a2e818b", "calculation": { "rate": 90949, "quantity": 2000, "weighted": true } }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 4, "reviewed_revision": 0 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119016", "date": "2026-11-19", "created": "2026-11-19T02:02:51.000Z", "customer": "安全测试", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 500, "summaryMg": 500, "pieces": 0, "originalSale": 50000, "sale": 50000, "material": null, "laborAndFees": null, "unallocated": 42000, "totalCost": 42000, "profit": 8000, "ownerCost": 0, "assistantCost": 42000, "assistant2Cost": 0, "known": { "sale": 50000, "material": 0, "laborAndFees": 0, "unallocated": 42000, "totalCost": 42000, "profit": 8000, "ownerCost": 0, "assistantCost": 42000, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金转运珠", "amount": 42000, "payer": "assistant", "excluded": false, "calculation": null, "component": "unallocated" } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 4, "reviewed_revision": 0 } ], "payerCosts": { "assistant": { "payer": "assistant", "name": "娜娜", "goods": 800410, "paidFees": 800, "total": 801210, "missingCount": 0, "pendingCount": 0, "items": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金对照新货", "amount": 103410, "payer": "assistant", "excluded": false, "calculation": { "rate": 90000, "quantity": 1149 }, "component": "material", "order_id": "", "number": "MM20261119-", "paper_number": "20261119012", "date": "2026-11-19", "customer": "对照换货客户二", "status": "recorded" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": { "rate": 500, "quantity": 6000 }, "component": "labor", "order_id": "", "number": "MM20261119-", "paper_number": "20261119012", "date": "2026-11-19", "customer": "对照换货客户二", "status": "recorded" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories", "order_id": "", "number": "MM20261119-", "paper_number": "20261119012", "date": "2026-11-19", "customer": "对照换货客户二", "status": "recorded" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other", "order_id": "", "number": "MM20261119-", "paper_number": "20261119012", "date": "2026-11-19", "customer": "对照换货客户二", "status": "recorded" }, { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金吊坠", "amount": 180000, "payer": "assistant", "excluded": false, "calculation": null, "component": "unallocated", "order_id": "", "number": "MM20261119-", "paper_number": "20261119013", "date": "2026-11-19", "customer": "当天客户(改)", "status": "recorded" }, { "kind": "paid", "name": "当天快递", "source": "整单费用 · 实付 2026-11-19", "amount": 800, "payer": "assistant", "component": "fee", "order_id": "", "number": "MM20261119-", "paper_number": "20261119013", "date": "2026-11-19", "customer": "当天客户(改)", "status": "recorded", "calculation": null, "paidDate": "2026-11-19" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor", "order_id": "", "number": "MM20261119-", "paper_number": "20261119015", "date": "2026-11-19", "customer": "滚动料池客户", "status": "recorded" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories", "order_id": "", "number": "MM20261119-", "paper_number": "20261119015", "date": "2026-11-19", "customer": "滚动料池客户", "status": "recorded" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other", "order_id": "", "number": "MM20261119-", "paper_number": "20261119015", "date": "2026-11-19", "customer": "滚动料池客户", "status": "recorded" }, { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金转运珠", "amount": 42000, "payer": "assistant", "excluded": false, "calculation": null, "component": "unallocated", "order_id": "", "number": "MM20261119-", "paper_number": "20261119016", "date": "2026-11-19", "customer": "安全测试", "status": "recorded" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": null, "id": "price-lock-goods::0", "price_lock_id": "", "order_id": "", "number": "MM20261119-", "paper_number": "20261119010", "customer": "对照锁价客户(改)", "date": "2026-11-19", "component": "labor", "status": "recorded", "actualOutlay": true }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "id": "price-lock-goods::1", "price_lock_id": "", "order_id": "", "number": "MM20261119-", "paper_number": "20261119010", "customer": "对照锁价客户(改)", "date": "2026-11-19", "component": "accessories", "status": "recorded", "actualOutlay": true }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "id": "price-lock-goods::2", "price_lock_id": "", "order_id": "", "number": "MM20261119-", "paper_number": "20261119010", "customer": "对照锁价客户(改)", "date": "2026-11-19", "component": "other", "status": "recorded", "actualOutlay": true }, { "id": "", "price_lock_id": "", "date": "2026-11-19", "kind": "goods", "amount": 9000, "payer": "assistant", "source": "锁价采购 · 实付 2026-11-19", "quantity": 100, "rate": 90000, "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-19T02:01:28.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "component": "material", "name": "补购料费", "materialSource": "extra", "paidDate": "2026-11-19", "calculation": { "rate": 90000, "quantity": 100 }, "status": "recorded", "actualOutlay": true }, { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 5000, "amount": 460000, "payer": "assistant", "note": "第二天购料", "actor": "助理", "created": "2026-11-19T02:02:19.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:19.000Z", "purchaseAmount": 460000, "kind": "goods", "component": "material", "materialPoolId": "2026-11-19", "name": "日料池采购", "source": "日料池 2026-11-19 · 实付 2026-11-19", "paidDate": "2026-11-19", "quantity": 5000, "calculation": null, "status": "recorded", "actualOutlay": true } ] }, "owner": { "payer": "owner", "name": "麦麦", "goods": 0, "paidFees": 600, "total": 600, "missingCount": 0, "pendingCount": 0, "items": [ { "id": "", "order_id": "", "date": "2026-11-19", "amount": 600, "payer": "owner", "note": "实际快递", "actor": "助理", "created": "2026-11-19T02:01:28.000Z", "price_lock_id": "", "number": "SJ20261118-", "customer": "对照锁价客户(改)", "kind": "paid", "component": "fee", "product": "足金999", "name": "实际快递", "source": "锁价费用 · 实付 2026-11-19", "paidDate": "2026-11-19", "status": "recorded", "calculation": null, "actualOutlay": true } ] }, "assistant2": { "payer": "assistant2", "name": "小昊", "goods": 736720, "paidFees": 0, "total": 736720, "missingCount": 0, "pendingCount": 0, "items": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金对照新货", "amount": 360720, "payer": "assistant2", "excluded": false, "calculation": { "rate": 90000, "quantity": 4008 }, "component": "material", "order_id": "", "number": "MM20261119-", "paper_number": "20261119011", "date": "2026-11-19", "customer": "对照换货客户", "status": "recorded" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 6000, "payer": "assistant2", "excluded": false, "calculation": { "rate": 500, "quantity": 12000 }, "component": "labor", "order_id": "", "number": "MM20261119-", "paper_number": "20261119011", "date": "2026-11-19", "customer": "对照换货客户", "status": "recorded" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories", "order_id": "", "number": "MM20261119-", "paper_number": "20261119011", "date": "2026-11-19", "customer": "对照换货客户", "status": "recorded" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other", "order_id": "", "number": "MM20261119-", "paper_number": "20261119011", "date": "2026-11-19", "customer": "对照换货客户", "status": "recorded" }, { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 4000, "amount": 370000, "payer": "assistant2", "note": "", "actor": "助理2", "created": "2026-11-19T02:02:20.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:20.000Z", "purchaseAmount": 370000, "kind": "goods", "component": "material", "materialPoolId": "2026-11-19", "name": "日料池采购", "source": "日料池 2026-11-19 · 实付 2026-11-19", "paidDate": "2026-11-19", "quantity": 4000, "calculation": null, "status": "recorded", "actualOutlay": true } ] } }, "orderPayerCosts": { "assistant": { "payer": "assistant", "name": "娜娜", "goods": 522308, "paidFees": 800, "total": 523108, "missingCount": 0, "pendingCount": 0, "items": [ { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 补重采购", "amount": 9000, "payer": "assistant", "excluded": false, "priceLockSource": "extra", "calculation": { "rate": 90000, "quantity": 100 }, "order_id": "", "number": "MM20261119-", "paper_number": "20261119010", "date": "2026-11-19", "customer": "对照锁价客户(改)", "status": "recorded" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor", "order_id": "", "number": "MM20261119-", "paper_number": "20261119010", "date": "2026-11-19", "customer": "对照锁价客户(改)", "status": "recorded" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories", "order_id": "", "number": "MM20261119-", "paper_number": "20261119010", "date": "2026-11-19", "customer": "对照锁价客户(改)", "status": "recorded" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other", "order_id": "", "number": "MM20261119-", "paper_number": "20261119010", "date": "2026-11-19", "customer": "对照锁价客户(改)", "status": "recorded" }, { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金对照新货", "amount": 103410, "payer": "assistant", "excluded": false, "calculation": { "rate": 90000, "quantity": 1149 }, "component": "material", "order_id": "", "number": "MM20261119-", "paper_number": "20261119012", "date": "2026-11-19", "customer": "对照换货客户二", "status": "recorded" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": { "rate": 500, "quantity": 6000 }, "component": "labor", "order_id": "", "number": "MM20261119-", "paper_number": "20261119012", "date": "2026-11-19", "customer": "对照换货客户二", "status": "recorded" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories", "order_id": "", "number": "MM20261119-", "paper_number": "20261119012", "date": "2026-11-19", "customer": "对照换货客户二", "status": "recorded" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other", "order_id": "", "number": "MM20261119-", "paper_number": "20261119012", "date": "2026-11-19", "customer": "对照换货客户二", "status": "recorded" }, { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金吊坠", "amount": 180000, "payer": "assistant", "excluded": false, "calculation": null, "component": "unallocated", "order_id": "", "number": "MM20261119-", "paper_number": "20261119013", "date": "2026-11-19", "customer": "当天客户(改)", "status": "recorded" }, { "kind": "paid", "name": "当天快递", "source": "整单费用 · 实付 2026-11-19", "amount": 800, "payer": "assistant", "component": "fee", "order_id": "", "number": "MM20261119-", "paper_number": "20261119013", "date": "2026-11-19", "customer": "当天客户(改)", "status": "recorded", "calculation": null, "paidDate": "2026-11-19" }, { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 2026-11-19日购料", "amount": 181898, "payer": "assistant", "excluded": false, "materialPoolId": "2026-11-19", "materialPoolRevision": "2e1d58e4d359165036a53976f4ed30c7052bb21df8bd2eb46c6544546a2e818b", "calculation": { "rate": 90949, "quantity": 2000, "weighted": true }, "order_id": "", "number": "MM20261119-", "paper_number": "20261119015", "date": "2026-11-19", "customer": "滚动料池客户", "status": "recorded" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor", "order_id": "", "number": "MM20261119-", "paper_number": "20261119015", "date": "2026-11-19", "customer": "滚动料池客户", "status": "recorded" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories", "order_id": "", "number": "MM20261119-", "paper_number": "20261119015", "date": "2026-11-19", "customer": "滚动料池客户", "status": "recorded" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other", "order_id": "", "number": "MM20261119-", "paper_number": "20261119015", "date": "2026-11-19", "customer": "滚动料池客户", "status": "recorded" }, { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金转运珠", "amount": 42000, "payer": "assistant", "excluded": false, "calculation": null, "component": "unallocated", "order_id": "", "number": "MM20261119-", "paper_number": "20261119016", "date": "2026-11-19", "customer": "安全测试", "status": "recorded" } ] }, "owner": { "payer": "owner", "name": "麦麦", "goods": 255000, "paidFees": 600, "total": 255600, "missingCount": 0, "pendingCount": 0, "items": [ { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 原锁价采购", "amount": 255000, "payer": "owner", "excluded": false, "priceLockSource": "original", "calculation": { "rate": 85000, "quantity": 3000 }, "order_id": "", "number": "MM20261119-", "paper_number": "20261119010", "date": "2026-11-19", "customer": "对照锁价客户(改)", "status": "recorded" }, { "kind": "paid", "name": "实际快递", "source": "整单费用 · 实付 2026-11-19", "amount": 600, "payer": "owner", "component": "fee", "order_id": "", "number": "MM20261119-", "paper_number": "20261119010", "date": "2026-11-19", "customer": "对照锁价客户(改)", "status": "recorded", "calculation": null, "paidDate": "2026-11-19" } ] }, "assistant2": { "payer": "assistant2", "name": "小昊", "goods": 278720, "paidFees": 0, "total": 278720, "missingCount": 0, "pendingCount": 0, "items": [ { "kind": "goods", "component": "material", "name": "售后收回金料成本", "source": "商品 1 · 足金手链", "amount": -88000, "payer": "assistant2", "nonCash": true, "materialPoolId": "2026-11-19", "calculation": null, "order_id": "", "orderAfterSale": true, "number": "MM20261118-", "paper_number": "20261118007", "date": "2026-11-19", "customer": "对照售后订单客户", "status": "recorded" }, { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金对照新货", "amount": 360720, "payer": "assistant2", "excluded": false, "calculation": { "rate": 90000, "quantity": 4008 }, "component": "material", "order_id": "", "number": "MM20261119-", "paper_number": "20261119011", "date": "2026-11-19", "customer": "对照换货客户", "status": "recorded" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 6000, "payer": "assistant2", "excluded": false, "calculation": { "rate": 500, "quantity": 12000 }, "component": "labor", "order_id": "", "number": "MM20261119-", "paper_number": "20261119011", "date": "2026-11-19", "customer": "对照换货客户", "status": "recorded" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories", "order_id": "", "number": "MM20261119-", "paper_number": "20261119011", "date": "2026-11-19", "customer": "对照换货客户", "status": "recorded" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other", "order_id": "", "number": "MM20261119-", "paper_number": "20261119011", "date": "2026-11-19", "customer": "对照换货客户", "status": "recorded" } ] } }, "peopleCount": { "from": "2026-11-19", "date": "2026-11-19", "baselineDate": "2026-11-18", "mode": "daily-total", "assistant1": { "total": 7, "endTotal": 7, "baselineTotal": 5, "baselineDate": "2026-11-18", "netChange": 2, "netChangeReason": null, "recordedDays": 1 }, "assistant2": { "total": 4, "endTotal": 4, "baselineTotal": 3, "baselineDate": "2026-11-18", "netChange": 1, "netChangeReason": null, "recordedDays": 1 } }, "priceLockActivity": { "basis": "eventDate", "from": "2026-11-19", "date": "2026-11-19", "customerCash": [ { "id": "", "price_lock_id": "", "date": "2026-11-19", "kind": "receipt", "amount": 16200, "account": "助理支付宝", "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-19T02:01:28.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null } ], "orderPayments": [], "materialOutlays": [ { "id": "", "price_lock_id": "", "date": "2026-11-19", "kind": "material", "amount": 9000, "payer": "assistant", "source": "extra", "quantity": 100, "rate": 90000, "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-19T02:01:28.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "component": "material" } ], "directOutlays": [ { "id": "", "order_id": "", "date": "2026-11-19", "amount": 600, "payer": "owner", "note": "实际快递", "actor": "助理", "created": "2026-11-19T02:01:28.000Z", "price_lock_id": "", "number": "SJ20261118-", "customer": "对照锁价客户(改)", "kind": "fee", "component": "fee", "product": "足金999" } ], "deliveryGoodsOutlays": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": null, "id": "price-lock-goods::0", "price_lock_id": "", "order_id": "", "number": "MM20261119-", "paper_number": "20261119010", "customer": "对照锁价客户(改)", "date": "2026-11-19", "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "id": "price-lock-goods::1", "price_lock_id": "", "order_id": "", "number": "MM20261119-", "paper_number": "20261119010", "customer": "对照锁价客户(改)", "date": "2026-11-19", "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "id": "price-lock-goods::2", "price_lock_id": "", "order_id": "", "number": "MM20261119-", "paper_number": "20261119010", "customer": "对照锁价客户(改)", "date": "2026-11-19", "component": "other" } ], "receipts": { "receipt": 16200, "refund": 0, "net": 16200, "channels": [ { "channel": "wechat", "name": "微信", "receipt": 0, "refund": 0, "net": 0 }, { "channel": "alipay", "name": "支付宝", "receipt": 16200, "refund": 0, "net": 16200 }, { "channel": "cash", "name": "现金", "receipt": 0, "refund": 0, "net": 0 } ], "accounts": [ { "account": "助理微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理支付宝", "receipt": 16200, "refund": 0, "net": 16200 }, { "account": "助理现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2现金", "receipt": 0, "refund": 0, "net": 0 } ], "paymentCount": 1, "orderCount": 1 }, "payerOutlays": { "owner": { "payer": "owner", "material": 0, "goods": 0, "paidFees": 600, "total": 600 }, "assistant": { "payer": "assistant", "material": 9000, "goods": 12000, "paidFees": 0, "total": 12000 }, "assistant2": { "payer": "assistant2", "material": 0, "goods": 0, "paidFees": 0, "total": 0 } }, "summary": { "receipt": 16200, "refund": 0, "net": 16200, "materialOutlay": 9000, "goodsOutlay": 12000, "feeOutlay": 600, "ownerOutlay": 600, "assistantOutlay": 12000, "assistant2Outlay": 0, "totalOutlay": 12600, "eventCount": 6, "lockCount": 1 } }, "outlayGoods": 1537130, "outlayExpense": 1400, "outlayTotal": 1538530, "receiptsByOrderDate": { "basis": "orderDate", "filterScope": "matchingOrders", "from": "2026-11-19", "date": "2026-11-19", "receipt": 1059792, "refund": 90000, "net": 969792, "channels": [ { "channel": "wechat", "name": "微信", "receipt": 1043592, "refund": 0, "net": 1043592 }, { "channel": "alipay", "name": "支付宝", "receipt": 16200, "refund": 90000, "net": -73800 }, { "channel": "cash", "name": "现金", "receipt": 0, "refund": 0, "net": 0 } ], "accounts": [ { "account": "助理微信", "receipt": 610800, "refund": 0, "net": 610800 }, { "account": "助理支付宝", "receipt": 16200, "refund": 0, "net": 16200 }, { "account": "助理现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2微信", "receipt": 432792, "refund": 0, "net": 432792 }, { "account": "助理2支付宝", "receipt": 0, "refund": 90000, "net": -90000 }, { "account": "助理2现金", "receipt": 0, "refund": 0, "net": 0 } ], "paymentCount": 9, "orderCount": 8 }, "totalCost": 1057428, "recipientReceipts": { "assistant": { "recipient": "assistant", "name": "娜娜", "receipt": 627000, "refund": 0, "net": 627000, "items": [ { "id": "", "date": "2026-11-19", "kind": "receipt", "amount": 130800, "account": "助理微信", "order_id": "", "price_lock_id": null, "order_date": "2026-11-19", "number": "MM20261119-", "paper_number": "20261119012", "customer": "对照换货客户二", "reference": "置换差额实际收款 · HS202611190002", "note": "", "created": "2026-11-19T02:01:33.000Z" }, { "id": "", "date": "2026-11-19", "kind": "receipt", "amount": 210000, "account": "助理微信", "order_id": "", "price_lock_id": null, "order_date": "2026-11-19", "number": "MM20261119-", "paper_number": "20261119013", "customer": "当天客户(改)", "reference": "开单时已全额收款", "note": "", "created": "2026-11-19T02:01:48.000Z" }, { "id": "", "date": "2026-11-19", "kind": "receipt", "amount": 210000, "account": "助理微信", "order_id": "", "price_lock_id": null, "order_date": "2026-11-19", "number": "MM20261119-", "paper_number": "20261119014", "customer": "当天取消客户", "reference": "开单时已全额收款", "note": "", "created": "2026-11-19T02:01:57.000Z" }, { "id": "", "date": "2026-11-19", "kind": "receipt", "amount": -210000, "account": "助理微信", "order_id": "", "price_lock_id": null, "order_date": "2026-11-19", "number": "MM20261119-", "paper_number": "20261119014", "customer": "当天取消客户", "reference": "更正冲回:取消审批作废;当天录错", "note": "", "created": "2026-11-19T02:01:59.000Z" }, { "id": "", "date": "2026-11-19", "kind": "receipt", "amount": 220000, "account": "助理微信", "order_id": "", "price_lock_id": null, "order_date": "2026-11-19", "number": "MM20261119-", "paper_number": "20261119015", "customer": "滚动料池客户", "reference": "开单时已全额收款", "note": "", "created": "2026-11-19T02:02:40.000Z" }, { "id": "", "date": "2026-11-19", "kind": "receipt", "amount": 50000, "account": "助理微信", "order_id": "", "price_lock_id": null, "order_date": "2026-11-19", "number": "MM20261119-", "paper_number": "20261119016", "customer": "安全测试", "reference": "开单时已全额收款", "note": "", "created": "2026-11-19T02:02:51.000Z" }, { "id": "", "date": "2026-11-19", "kind": "receipt", "amount": 16200, "account": "助理支付宝", "order_id": "", "price_lock_id": "", "order_date": "2026-11-19", "number": "SJ20261118-", "paper_number": "20261119010", "customer": "对照锁价客户(改)", "reference": "", "note": "锁价备注", "created": "2026-11-19T02:01:28.000Z" } ] }, "owner": { "recipient": "owner", "name": "麦麦", "receipt": 0, "refund": 0, "net": 0, "items": [] }, "assistant2": { "recipient": "assistant2", "name": "小昊", "receipt": 432792, "refund": 90000, "net": 342792, "items": [ { "id": "", "date": "2026-11-19", "kind": "receipt", "amount": 432792, "account": "助理2微信", "order_id": "", "price_lock_id": null, "order_date": "2026-11-19", "number": "MM20261119-", "paper_number": "20261119011", "customer": "对照换货客户", "reference": "置换差额实际收款 · HS202611190001", "note": "", "created": "2026-11-19T02:01:32.000Z" }, { "id": "", "date": "2026-11-19", "kind": "refund", "amount": 90000, "account": "助理2支付宝", "order_id": "", "price_lock_id": null, "order_date": "2026-11-18", "number": "MM20261118-", "paper_number": "20261118007", "customer": "对照售后订单客户", "reference": "整单售后退款", "note": "", "created": "2026-11-19T02:01:05.000Z", "order_after_sale": true } ] } }, "ownershipReceipts": { "owner": { "member": "owner", "name": "麦麦", "receipt": 0, "refund": 0, "net": 0, "accounts": [], "items": [] }, "assistant": { "member": "assistant", "name": "娜娜", "receipt": 417000, "refund": 0, "net": 417000, "accounts": [ { "account": "助理微信", "recipient": "assistant", "channel": "wechat", "receipt": 400800, "refund": 0, "net": 400800, "entryCount": 5 }, { "account": "助理支付宝", "recipient": "assistant", "channel": "alipay", "receipt": 16200, "refund": 0, "net": 16200, "entryCount": 1 } ], "items": [ { "id": "", "date": "2026-11-19", "kind": "receipt", "amount": 130800, "account": "助理微信", "order_id": "", "price_lock_id": null, "order_date": "2026-11-19", "number": "MM20261119-", "paper_number": "20261119012", "customer": "对照换货客户二", "reference": "置换差额实际收款 · HS202611190002", "note": "", "created": "2026-11-19T02:01:33.000Z" }, { "id": "", "date": "2026-11-19", "kind": "receipt", "amount": 210000, "account": "助理微信", "order_id": "", "price_lock_id": null, "order_date": "2026-11-19", "number": "MM20261119-", "paper_number": "20261119014", "customer": "当天取消客户", "reference": "开单时已全额收款", "note": "", "created": "2026-11-19T02:01:57.000Z" }, { "id": "", "date": "2026-11-19", "kind": "receipt", "amount": -210000, "account": "助理微信", "order_id": "", "price_lock_id": null, "order_date": "2026-11-19", "number": "MM20261119-", "paper_number": "20261119014", "customer": "当天取消客户", "reference": "更正冲回:取消审批作废;当天录错", "note": "", "created": "2026-11-19T02:01:59.000Z" }, { "id": "", "date": "2026-11-19", "kind": "receipt", "amount": 220000, "account": "助理微信", "order_id": "", "price_lock_id": null, "order_date": "2026-11-19", "number": "MM20261119-", "paper_number": "20261119015", "customer": "滚动料池客户", "reference": "开单时已全额收款", "note": "", "created": "2026-11-19T02:02:40.000Z" }, { "id": "", "date": "2026-11-19", "kind": "receipt", "amount": 50000, "account": "助理微信", "order_id": "", "price_lock_id": null, "order_date": "2026-11-19", "number": "MM20261119-", "paper_number": "20261119016", "customer": "安全测试", "reference": "开单时已全额收款", "note": "", "created": "2026-11-19T02:02:51.000Z" }, { "id": "", "date": "2026-11-19", "kind": "receipt", "amount": 16200, "account": "助理支付宝", "order_id": "", "price_lock_id": "", "order_date": "2026-11-19", "number": "SJ20261118-", "paper_number": "20261119010", "customer": "对照锁价客户(改)", "reference": "", "note": "锁价备注", "created": "2026-11-19T02:01:28.000Z" } ] }, "assistant2": { "member": "assistant2", "name": "小昊", "receipt": 642792, "refund": 90000, "net": 552792, "accounts": [ { "account": "助理微信", "recipient": "assistant", "channel": "wechat", "receipt": 210000, "refund": 0, "net": 210000, "entryCount": 1 }, { "account": "助理2微信", "recipient": "assistant2", "channel": "wechat", "receipt": 432792, "refund": 0, "net": 432792, "entryCount": 1 }, { "account": "助理2支付宝", "recipient": "assistant2", "channel": "alipay", "receipt": 0, "refund": 90000, "net": -90000, "entryCount": 1 } ], "items": [ { "id": "", "date": "2026-11-19", "kind": "receipt", "amount": 210000, "account": "助理微信", "order_id": "", "price_lock_id": null, "order_date": "2026-11-19", "number": "MM20261119-", "paper_number": "20261119013", "customer": "当天客户(改)", "reference": "开单时已全额收款", "note": "", "created": "2026-11-19T02:01:48.000Z" }, { "id": "", "date": "2026-11-19", "kind": "receipt", "amount": 432792, "account": "助理2微信", "order_id": "", "price_lock_id": null, "order_date": "2026-11-19", "number": "MM20261119-", "paper_number": "20261119011", "customer": "对照换货客户", "reference": "置换差额实际收款 · HS202611190001", "note": "", "created": "2026-11-19T02:01:32.000Z" }, { "id": "", "date": "2026-11-19", "kind": "refund", "amount": 90000, "account": "助理2支付宝", "order_id": "", "price_lock_id": null, "order_date": "2026-11-18", "number": "MM20261118-", "paper_number": "20261118007", "customer": "对照售后订单客户", "reference": "整单售后退款", "note": "", "created": "2026-11-19T02:01:05.000Z", "order_after_sale": true } ] } }, "ownershipBusiness": { "owner": { "member": "owner", "name": "麦麦", "basis": "orderDate", "from": "2026-11-19", "date": "2026-11-19", "recordCount": 0, "orderCount": 0, "afterSaleCount": 0, "draftCount": 0, "sales": 0, "netReceipts": 0, "totalCost": 0, "knownTotalCost": 0, "selfCost": 0, "knownSelfCost": 0, "otherCost": 0, "knownOtherCost": 0, "profit": 0, "knownProfit": 0, "incomplete": false, "missingCostCount": 0, "pendingCostCount": 0, "unknownProfitCount": 0, "costByPayer": { "owner": { "member": "owner", "name": "麦麦", "totalCost": 0, "knownTotalCost": 0, "missingCount": 0, "pendingCount": 0 }, "assistant": { "member": "assistant", "name": "娜娜", "totalCost": 0, "knownTotalCost": 0, "missingCount": 0, "pendingCount": 0 }, "assistant2": { "member": "assistant2", "name": "小昊", "totalCost": 0, "knownTotalCost": 0, "missingCount": 0, "pendingCount": 0 } }, "poolMaterial": { "mg": 0, "amount": 0, "knownAmount": 0, "missingCount": 0, "byPayer": { "owner": { "amount": 0, "knownAmount": 0 }, "assistant": { "amount": 0, "knownAmount": 0 }, "assistant2": { "amount": 0, "knownAmount": 0 } }, "hasPriceLocks": false, "days": [], "otherCosts": { "knownAmount": 0, "amount": 0 } }, "ownerAdvances": { "basis": "orderDate", "from": "2026-11-19", "date": "2026-11-19", "days": [] }, "currentAccount": { "basis": "orderDate", "from": "2026-11-19", "date": "2026-11-19", "days": [] }, "difference": { "amount": 0, "reconciled": true, "reasons": [] }, "equation": { "basis": "netReceipts", "revenue": 0, "totalCost": 0, "profit": 0, "complete": true }, "settlement": { "available": true, "basis": "cumulative-through-date", "from": "2026-11-19", "date": "2026-11-19", "dueOut": 0, "dueIn": 637681, "partial": false, "pendingCount": 0, "legacyCount": 0, "notice": "截至所选日的累计往来,已抵扣实际转账与代收;逐人核对,不将他人付款成本直接当作应转。", "counterparts": [ { "member": "assistant", "name": "娜娜", "dueOut": 0, "dueIn": 637681, "openingDue": -647081, "periodNew": -600, "periodTransferred": -10000, "closingDue": -637681, "offset": 290650, "period": { "obligationNet": -600, "transferred": -10000, "receivedForNet": 0, "advancedNet": -600 } }, { "member": "assistant2", "name": "小昊", "dueOut": 0, "dueIn": 0, "openingDue": 0, "periodNew": 0, "periodTransferred": 0, "closingDue": 0, "offset": 0, "period": { "obligationNet": 0, "transferred": 0, "receivedForNet": 0, "advancedNet": 0 } } ] }, "hasActivity": true }, "assistant": { "member": "assistant", "name": "娜娜", "basis": "orderDate", "from": "2026-11-19", "date": "2026-11-19", "recordCount": 5, "orderCount": 5, "afterSaleCount": 0, "draftCount": 0, "sales": 687000, "netReceipts": 417000, "totalCost": 597908, "knownTotalCost": 597908, "selfCost": 342308, "knownSelfCost": 342308, "otherCost": 255600, "knownOtherCost": 255600, "profit": 89092, "knownProfit": 89092, "incomplete": false, "missingCostCount": 0, "pendingCostCount": 0, "unknownProfitCount": 0, "costByPayer": { "owner": { "member": "owner", "name": "麦麦", "totalCost": 255600, "knownTotalCost": 255600, "missingCount": 0, "pendingCount": 0 }, "assistant": { "member": "assistant", "name": "娜娜", "totalCost": 342308, "knownTotalCost": 342308, "missingCount": 0, "pendingCount": 0 }, "assistant2": { "member": "assistant2", "name": "小昊", "totalCost": 0, "knownTotalCost": 0, "missingCount": 0, "pendingCount": 0 } }, "poolMaterial": { "mg": 2000, "amount": 181898, "knownAmount": 181898, "missingCount": 0, "byPayer": { "owner": { "amount": 0, "knownAmount": 0 }, "assistant": { "amount": 181898, "knownAmount": 181898 }, "assistant2": { "amount": 0, "knownAmount": 0 } }, "hasPriceLocks": false, "days": [ { "mg": 2000, "amount": 181898, "knownAmount": 181898, "missingCount": 0, "byPayer": { "owner": { "amount": 0, "knownAmount": 0 }, "assistant": { "amount": 181898, "knownAmount": 181898 }, "assistant2": { "amount": 0, "knownAmount": 0 } }, "poolId": "2026-11-19", "date": "2026-11-19", "averageRate": 90949, "sources": [ { "kind": "public", "member": null, "priceLocked": false, "mg": 2000, "averageRate": 90949, "amount": 181898, "knownAmount": 181898, "missingCount": 0 } ] } ], "otherCosts": { "knownAmount": 416010, "amount": 416010 } }, "ownerAdvances": { "basis": "orderDate", "from": "2026-11-19", "date": "2026-11-19", "days": [ { "date": "2026-11-19", "items": [ { "date": "2026-11-19", "kind": "order", "id": "", "number": "MM20261119-", "paperNumber": "20261119010", "customer": "对照锁价客户(改)", "name": "料费成本", "source": "商品 1 · 足金999 · 原锁价采购", "component": "material", "poolId": null, "poolMaterial": false, "allocationPending": false, "amount": 255000, "estimatedAmount": null, "status": "recorded" }, { "date": "2026-11-19", "kind": "order", "id": "", "number": "MM20261119-", "paperNumber": "20261119010", "customer": "对照锁价客户(改)", "name": "实际快递", "source": "2026-11-19", "component": "fee", "poolId": null, "poolMaterial": false, "allocationPending": false, "amount": 600, "estimatedAmount": null, "status": "recorded" } ], "knownAmount": 255600, "amount": 255600, "missingCount": 0, "pendingCount": 0, "poolAmount": 0, "knownPoolAmount": 0, "otherAmount": 255600, "knownOtherAmount": 255600 } ] }, "currentAccount": { "basis": "orderDate", "from": "2026-11-19", "date": "2026-11-19", "days": [ { "date": "2026-11-19", "recordCount": 5, "knownMaterialCost": 255000, "knownOtherCost": 600, "knownProfit": 89092, "ownerNetReceipts": 0, "missingCostCount": 0, "pendingCostCount": 0, "unknownProfitCount": 0, "incomplete": false, "materialCost": 255000, "otherCost": 600, "profit": 89092, "knownAmount": 344692, "amount": 344692 } ] }, "difference": { "amount": -270000, "reconciled": false, "reasons": [ { "code": "price_lock_timing", "text": "锁价定金、尾款与退款按实际发生日核对,销售与利润按成交单日期核算。" }, { "code": "refund_or_cancellation", "text": "退货或作废已按原账冲回销售;尚未退清的客户款或不同日期的退款不作为销售利润。" } ] }, "equation": { "basis": "sales", "revenue": 687000, "totalCost": 597908, "profit": 89092, "complete": true }, "settlement": { "available": true, "basis": "cumulative-through-date", "from": "2026-11-19", "date": "2026-11-19", "dueOut": 678881, "dueIn": 0, "partial": false, "pendingCount": 0, "legacyCount": 0, "notice": "截至所选日的累计往来,已抵扣实际转账与代收;逐人核对,不将他人付款成本直接当作应转。", "counterparts": [ { "member": "owner", "name": "麦麦", "dueOut": 637681, "dueIn": 0, "openingDue": 647081, "periodNew": 600, "periodTransferred": 10000, "closingDue": 637681, "offset": 290650, "period": { "obligationNet": 600, "transferred": 10000, "receivedForNet": 0, "advancedNet": 600 } }, { "member": "assistant2", "name": "小昊", "dueOut": 41200, "dueIn": 0, "openingDue": 12000, "periodNew": 29200, "periodTransferred": 0, "closingDue": 41200, "offset": 250800, "period": { "obligationNet": 29200, "transferred": 0, "receivedForNet": 210000, "advancedNet": -180800 } } ] }, "hasActivity": true }, "assistant2": { "member": "assistant2", "name": "小昊", "basis": "orderDate", "from": "2026-11-19", "date": "2026-11-19", "recordCount": 3, "orderCount": 2, "afterSaleCount": 1, "draftCount": 0, "sales": 552792, "netReceipts": 552792, "totalCost": 459520, "knownTotalCost": 459520, "selfCost": 278720, "knownSelfCost": 278720, "otherCost": 180800, "knownOtherCost": 180800, "profit": 93272, "knownProfit": 93272, "incomplete": false, "missingCostCount": 0, "pendingCostCount": 0, "unknownProfitCount": 0, "costByPayer": { "owner": { "member": "owner", "name": "麦麦", "totalCost": 0, "knownTotalCost": 0, "missingCount": 0, "pendingCount": 0 }, "assistant": { "member": "assistant", "name": "娜娜", "totalCost": 180800, "knownTotalCost": 180800, "missingCount": 0, "pendingCount": 0 }, "assistant2": { "member": "assistant2", "name": "小昊", "totalCost": 278720, "knownTotalCost": 278720, "missingCount": 0, "pendingCount": 0 } }, "poolMaterial": { "mg": 0, "amount": 0, "knownAmount": 0, "missingCount": 0, "byPayer": { "owner": { "amount": 0, "knownAmount": 0 }, "assistant": { "amount": 0, "knownAmount": 0 }, "assistant2": { "amount": 0, "knownAmount": 0 } }, "hasPriceLocks": false, "days": [], "otherCosts": { "knownAmount": 459520, "amount": 459520 } }, "ownerAdvances": { "basis": "orderDate", "from": "2026-11-19", "date": "2026-11-19", "days": [] }, "currentAccount": { "basis": "orderDate", "from": "2026-11-19", "date": "2026-11-19", "days": [ { "date": "2026-11-19", "recordCount": 3, "knownMaterialCost": 0, "knownOtherCost": 0, "knownProfit": 93272, "ownerNetReceipts": 0, "missingCostCount": 0, "pendingCostCount": 0, "unknownProfitCount": 0, "incomplete": false, "materialCost": 0, "otherCost": 0, "profit": 93272, "knownAmount": 93272, "amount": 93272 } ] }, "difference": { "amount": 0, "reconciled": true, "reasons": [] }, "equation": { "basis": "netReceipts", "revenue": 552792, "totalCost": 459520, "profit": 93272, "complete": true }, "settlement": { "available": true, "basis": "cumulative-through-date", "from": "2026-11-19", "date": "2026-11-19", "dueOut": 0, "dueIn": 41200, "partial": false, "pendingCount": 0, "legacyCount": 0, "notice": "截至所选日的累计往来,已抵扣实际转账与代收;逐人核对,不将他人付款成本直接当作应转。", "counterparts": [ { "member": "owner", "name": "麦麦", "dueOut": 0, "dueIn": 0, "openingDue": 0, "periodNew": 0, "periodTransferred": 0, "closingDue": 0, "offset": 0, "period": { "obligationNet": 0, "transferred": 0, "receivedForNet": 0, "advancedNet": 0 } }, { "member": "assistant", "name": "娜娜", "dueOut": 0, "dueIn": 41200, "openingDue": -12000, "periodNew": -29200, "periodTransferred": 0, "closingDue": -41200, "offset": 250800, "period": { "obligationNet": -29200, "transferred": 0, "receivedForNet": -210000, "advancedNet": 180800 } } ] }, "hasActivity": true } }, "dailyProfits": { "basis": "orderDate", "from": "2026-11-19", "date": "2026-11-19", "rows": [ { "recordCount": 5, "orderCount": 5, "afterSaleCount": 0, "draftCount": 0, "sales": 687000, "knownTotalCost": 597908, "knownProfit": 89092, "unknownCostCount": 0, "unknownProfitCount": 0, "incomplete": false, "date": "2026-11-19", "member": "assistant", "name": "娜娜", "totalCost": 597908, "profit": 89092 }, { "recordCount": 3, "orderCount": 2, "afterSaleCount": 1, "draftCount": 0, "sales": 552792, "knownTotalCost": 459520, "knownProfit": 93272, "unknownCostCount": 0, "unknownProfitCount": 0, "incomplete": false, "date": "2026-11-19", "member": "assistant2", "name": "小昊", "totalCost": 459520, "profit": 93272 } ], "summary": { "recordCount": 8, "orderCount": 7, "afterSaleCount": 1, "draftCount": 0, "sales": 1239792, "knownTotalCost": 1057428, "knownProfit": 182364, "unknownCostCount": 0, "unknownProfitCount": 0, "incomplete": false, "totalCost": 1057428, "profit": 182364 } }, "dailyFunds": { "date": "2026-11-19", "from": "2026-11-19", "team": { "from": "2026-11-19", "to": "2026-11-19", "date": "2026-11-19", "members": [ { "id": "owner", "name": "麦麦" }, { "id": "assistant", "name": "娜娜" }, { "id": "assistant2", "name": "小昊" } ], "balances": [ { "member": "owner", "receipts": 0, "refunds": 0, "outlays": 600, "transferIn": 10000, "transferOut": 0, "openingChange": -2341031, "periodChange": 9400, "cumulativeChange": -2331631, "cashBalance": 9400, "balanceType": "recorded-change", "notice": "仅三人新账已登记的资金增减,不含真实期初余额" }, { "member": "assistant", "receipts": 627000, "refunds": 0, "outlays": 802210, "transferIn": 0, "transferOut": 10000, "openingChange": 44600, "periodChange": -185210, "cumulativeChange": -140610, "cashBalance": -185210, "balanceType": "recorded-change", "notice": "仅三人新账已登记的资金增减,不含真实期初余额" }, { "member": "assistant2", "receipts": 432792, "refunds": 90000, "outlays": 736720, "transferIn": 0, "transferOut": 0, "openingChange": -123837, "periodChange": -393928, "cumulativeChange": -517765, "cashBalance": -393928, "balanceType": "recorded-change", "notice": "仅三人新账已登记的资金增减,不含真实期初余额" } ], "pairs": [ { "id": "owner:assistant", "members": [ "owner", "assistant" ], "net": -637681, "obligationNet": -657681, "transferred": -20000, "receivedForNet": 288500, "advancedNet": -946181, "offset": 290650, "due": 637681, "fromMember": "assistant", "toMember": "owner", "direction": "transfer", "period": { "obligationNet": -600, "transferred": -10000, "receivedForNet": 0, "advancedNet": -600 }, "entries": [ { "id": "", "date": "2026-11-19", "kind": "advance", "project": "订单实际费用", "fromMember": "assistant", "toMember": "owner", "amount": 600, "revision": 1, "sourceKind": "order", "sourceId": "" } ] }, { "id": "owner:assistant2", "members": [ "owner", "assistant2" ], "net": 0, "obligationNet": 0, "transferred": 0, "receivedForNet": 0, "advancedNet": 0, "offset": 0, "due": 0, "fromMember": null, "toMember": null, "direction": "none", "period": { "obligationNet": 0, "transferred": 0, "receivedForNet": 0, "advancedNet": 0 }, "entries": [] }, { "id": "assistant:assistant2", "members": [ "assistant", "assistant2" ], "net": 41200, "obligationNet": 41200, "transferred": 0, "receivedForNet": 292000, "advancedNet": -250800, "offset": 250800, "due": 41200, "fromMember": "assistant", "toMember": "assistant2", "direction": "transfer", "period": { "obligationNet": 29200, "transferred": 0, "receivedForNet": 210000, "advancedNet": -180800 }, "entries": [ { "id": "", "date": "2026-11-19", "kind": "receipt", "project": "客户款代收", "fromMember": "assistant", "toMember": "assistant2", "amount": 210000, "revision": 3, "sourceKind": "order", "sourceId": "" }, { "id": "", "date": "2026-11-19", "kind": "advance", "project": "订单实际费用", "fromMember": "assistant2", "toMember": "assistant", "amount": 800, "revision": 3, "sourceKind": "order", "sourceId": "" }, { "id": "", "date": "2026-11-19", "kind": "advance", "project": "商品实际垫付", "fromMember": "assistant2", "toMember": "assistant", "amount": 180000, "revision": 3, "sourceKind": "order", "sourceId": "" } ] } ], "entries": [ { "id": "", "date": "2026-11-19", "kind": "advance", "project": "订单实际费用", "fromMember": "assistant", "toMember": "owner", "amount": 600, "revision": 1, "sourceKind": "order", "sourceId": "" }, { "id": "", "date": "2026-11-19", "kind": "receipt", "project": "客户款代收", "fromMember": "assistant", "toMember": "assistant2", "amount": 210000, "revision": 3, "sourceKind": "order", "sourceId": "" }, { "id": "", "date": "2026-11-19", "kind": "advance", "project": "订单实际费用", "fromMember": "assistant2", "toMember": "assistant", "amount": 800, "revision": 3, "sourceKind": "order", "sourceId": "" }, { "id": "", "date": "2026-11-19", "kind": "advance", "project": "商品实际垫付", "fromMember": "assistant2", "toMember": "assistant", "amount": 180000, "revision": 3, "sourceKind": "order", "sourceId": "" } ], "transfers": [ { "id": "", "date": "2026-11-19", "fromMember": "assistant", "toMember": "owner", "amount": 10000, "note": "对照转账二", "actor": "麦麦" } ], "revision": "91d8e840360bd6750d7d9078c202052d4754bf75b4d2400dcc33adc06ef7598e", "pending": [], "legacyReadOnly": true, "cutover": "仅已启用的三人新账事件;旧结算不自动迁入", "transfersDeducted": true }, "readOnly": false, "hasRecords": true, "pendingCount": 0, "legacyReadOnly": true, "transfersNotDeducted": false, "reimbursements": [], "approvedReimbursements": 0, "ready": true, "transferAmount": null, "direction": null, "sources": { "revision": "91d8e840360bd6750d7d9078c202052d4754bf75b4d2400dcc33adc06ef7598e", "total": 0, "items": [] }, "confirmation": null, "actualOutlay": null, "missingDates": [], "staleDates": [], "days": [] }, "reportRevision": "fa73de27deceb492d63cf1d58c3eba7bf0d1089f22a851135fe95a461efa7504" } }, { "seq": 487, "label": null, "date": "2026-11-19", "actor": "owner", "method": "POST", "path": "/api/backup", "key": "golden-00193-backup", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": {} }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "name": "" } }, { "seq": 488, "label": "backup-download", "date": "2026-11-19", "actor": "owner", "method": "GET", "path": "/api/backup/", "key": null, "status": 200, "contentType": "application/octet-stream", "disposition": "attachment; filename=\"\"", "setCookie": null, "body": { "omitted": true, "bytes": true } }, { "seq": 489, "label": "backup-download-denied", "date": "2026-11-19", "actor": "assistant", "method": "GET", "path": "/api/backup/", "key": null, "status": 403, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "omitted": true, "bytes": true } }, { "seq": 490, "label": "backup-invalid-name", "date": "2026-11-19", "actor": "owner", "method": "GET", "path": "/api/backup/not-a-backup", "key": null, "status": 400, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "error": "备份名称无效" } }, { "seq": 491, "label": "sync-disabled", "date": "2026-11-19", "actor": "owner", "method": "POST", "path": "/api/sync", "key": "golden-00194-sync-disabled", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": {} }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "enabled": false, "busy": false, "error": null, "pending": 17, "failed": 0 } }, { "seq": 492, "note": "section", "name": "dayThreeLogin" }, { "seq": 493, "note": "clock", "date": "2026-11-20", "hour": 10 }, { "seq": 494, "label": "login-owner", "date": "2026-11-20", "actor": "owner", "method": "POST", "path": "/api/login", "key": "golden-00195-login-owner", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "name": "麦麦", "password": "golden-owner-pass-2026" } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": "mm_session=; HttpOnly; SameSite=Strict; Path=/; Max-Age=28800", "body": { "user": { "id": "", "name": "麦麦", "role": "owner", "member": "owner", "operatorName": "麦麦", "label": "麦麦" } } }, { "seq": 495, "label": "login-assistant", "date": "2026-11-20", "actor": "assistant", "method": "POST", "path": "/api/login", "key": "golden-00196-login-assistant", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "name": "助理1", "password": "golden-assistant-new-pass" } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": "mm_session=; HttpOnly; SameSite=Strict; Path=/; Max-Age=28800", "body": { "user": { "id": "", "name": "助理", "role": "assistant", "member": "assistant", "operatorName": "娜娜", "label": "娜娜" } } }, { "seq": 496, "label": "login-assistant2", "date": "2026-11-20", "actor": "assistant2", "method": "POST", "path": "/api/login", "key": "golden-00197-login-assistant2", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "name": "助理2", "password": "golden-assistant2-new-2026" } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": "mm_session=; HttpOnly; SameSite=Strict; Path=/; Max-Age=28800", "body": { "user": { "id": "", "name": "助理2", "role": "assistant", "member": "assistant2", "operatorName": "小昊", "label": "小昊" } } }, { "seq": 497, "note": "section", "name": "recoveryChanges" }, { "seq": 498, "label": "recovery-edit-context", "date": "2026-11-20", "actor": "assistant2", "method": "GET", "path": "/api/recoveries//edit", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "", "revision": 1, "status": "active", "record": { "mode": "exchange", "date": "2026-11-19", "customer": "对照换货客户", "customer_type": "unknown", "salesperson": "小昊", "member": "assistant2", "note": "", "old_lines": [ { "name": "Au旧料", "incomingMg": 8000, "meltedMg": 8000, "purity": 99.9, "foldedMg": 7992 } ], "oldMg": 7992, "oldPocket": "回收旧料", "credit_card_rate_permille": 6, "newMg": 12000, "matchedMg": 7992, "differenceMg": 4008, "surplusMg": 0, "goldRate": 100000, "laborRate": 2000, "laborMode": "gram", "depreciationRate": 1000, "depreciationMg": 7992, "goldAmount": 400800, "laborAmount": 24000, "depreciationAmount": 7992, "charges": [], "chargesAmount": 0, "discount": 0, "rounding_mode": "cent", "rounding_adjustment": 0, "receivable": 432792, "payer": "assistant2", "payment_account": "助理2微信", "materialCost": 360720, "laborCost": 6000, "goodsCost": 366720, "directCost": 0, "profit": 66072, "newProduct": { "name": "足金对照新货", "quantity": 12000, "pocket": "现货" }, "exchange": { "costMaterial": { "mode": "total", "rate": 90000, "consumptionMg": 4008 }, "costLabor": { "mode": "gram", "rate": 500 }, "costPayer": "assistant2", "costPayers": { "material": "assistant2", "labor": "assistant2" }, "fee_items": [] }, "purchaseMg": 0, "buyRate": 0, "calculatedPurchaseAmount": 0, "purchaseAmount": 0, "actualBuyRate": null, "offsetAmount": 0, "netSettlement": 432792, "cashReceipt": 432792, "cashPayment": 0, "cardFee": 0, "paymentMethods": [ "微信" ], "id": "", "number": "HS202611190001", "order_id": "", "purchase_id": null, "created": "2026-11-19T02:01:32.000Z", "actor": "助理2", "revision": 1, "paper_number": "20261119011", "materialCostPending": false, "status": "active", "cancelledAt": "", "canEdit": true, "canCancel": true, "pendingRequestId": null, "immutableReason": "本单关联黄金回收/置换、购料及库存,暂不支持普通订单修改、取消、退款、退货或费用变更,请保留原关联记录", "printStatus": { "kind": "recovery", "id": "", "printed": true, "revision": 1, "updated": "2026-11-19T02:01:40.000Z", "actor": "助理2" } }, "inputs": { "mode": "exchange", "date": "2026-11-19", "customer": "对照换货客户", "customer_type": "unknown", "salesperson": "小昊", "member": "assistant2", "note": "", "old_pocket": "回收旧料", "old_lines": [ { "name": "Au旧料", "incoming_weight": "8.000", "melted_weight": "8.000", "purity": "99.9" } ], "buy_rate": "0.00", "buy_total": "0.00", "payer": "assistant2", "payment_account": "助理2微信", "verified": true, "exchange": { "name": "足金对照新货", "quantity": "12.000", "pocket": "现货", "gold_price": "1000.00", "labor_rate": "20.00", "labor_mode": "gram", "depreciation_weight": "7.992", "depreciation_rate": "10.00", "charges": [], "discount": "0.00", "rounding_mode": "cent", "cost_material": { "mode": "gram", "rate": "900.00" }, "cost_labor": { "mode": "gram", "rate": "5.00" }, "cost_payer": "assistant2", "cost_material_payer": "assistant2", "cost_labor_payer": "assistant2", "fee_items": [] } }, "permissions": { "canEdit": true, "canCancel": true, "canDirect": false, "requiresApproval": true, "requiresLegacyCountVerified": false, "legacyCountNotice": "", "reason": "" }, "blockedUsages": [], "pending": null, "history": [] } }, { "seq": 499, "label": "recovery-edit-quote", "date": "2026-11-20", "actor": "assistant2", "method": "POST", "path": "/api/recoveries//quote", "key": null, "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "mode": "exchange", "date": "2026-11-19", "customer": "对照换货客户", "customer_type": "unknown", "salesperson": "小昊", "member": "assistant2", "note": "", "old_pocket": "回收旧料", "old_lines": [ { "name": "Au旧料", "incoming_weight": "8.2", "melted_weight": "8.1", "purity": "99.9" } ], "buy_rate": "0.00", "buy_total": "0.00", "payer": "assistant2", "payment_account": "助理2微信", "verified": true, "exchange": { "name": "足金对照新货", "quantity": "12.000", "pocket": "现货", "gold_price": "1000.00", "labor_rate": "20.00", "labor_mode": "gram", "depreciation_weight": "7.992", "depreciation_rate": "10.00", "charges": [], "discount": "0.00", "rounding_mode": "cent", "cost_material": { "mode": "gram", "rate": "900.00" }, "cost_labor": { "mode": "gram", "rate": "5.00" }, "cost_payer": "assistant2", "cost_material_payer": "assistant2", "cost_labor_payer": "assistant2", "fee_items": [] }, "revision": 1, "reason": "跨天更正旧料克重" } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "mode": "exchange", "date": "2026-11-19", "customer": "对照换货客户", "customer_type": "unknown", "salesperson": "小昊", "member": "assistant2", "note": "", "old_lines": [ { "name": "Au旧料", "incomingMg": 8200, "meltedMg": 8100, "purity": 99.9, "foldedMg": 8092 } ], "oldMg": 8092, "oldPocket": "回收旧料", "credit_card_rate_permille": 6, "newMg": 12000, "matchedMg": 8092, "differenceMg": 3908, "surplusMg": 0, "goldRate": 100000, "laborRate": 2000, "laborMode": "gram", "depreciationRate": 1000, "depreciationMg": 7992, "goldAmount": 390800, "laborAmount": 24000, "depreciationAmount": 7992, "charges": [], "chargesAmount": 0, "discount": 0, "rounding_mode": "cent", "rounding_adjustment": 0, "receivable": 422792, "payer": "assistant2", "payment_account": "助理2微信", "materialCost": 351720, "laborCost": 6000, "goodsCost": 357720, "directCost": 0, "profit": 65072, "newProduct": { "name": "足金对照新货", "quantity": 12000, "pocket": "现货" }, "exchange": { "costMaterial": { "mode": "total", "rate": 90000, "consumptionMg": 3908 }, "costLabor": { "mode": "gram", "rate": 500 }, "costPayer": "assistant2", "costPayers": { "material": "assistant2", "labor": "assistant2" }, "fee_items": [] }, "purchaseMg": 0, "buyRate": 0, "calculatedPurchaseAmount": 0, "purchaseAmount": 0, "actualBuyRate": null, "offsetAmount": 0, "netSettlement": 422792, "cashReceipt": 422792, "cashPayment": 0, "cardFee": 0, "paymentMethods": [ "微信" ] } }, { "seq": 500, "label": "recovery-update-request", "date": "2026-11-20", "actor": "assistant2", "method": "POST", "path": "/api/recoveries//update", "key": "golden-00198-recovery-update-request", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "mode": "exchange", "date": "2026-11-19", "customer": "对照换货客户", "customer_type": "unknown", "salesperson": "小昊", "member": "assistant2", "note": "", "old_pocket": "回收旧料", "old_lines": [ { "name": "Au旧料", "incoming_weight": "8.2", "melted_weight": "8.1", "purity": "99.9" } ], "buy_rate": "0.00", "buy_total": "0.00", "payer": "assistant2", "payment_account": "助理2微信", "verified": true, "exchange": { "name": "足金对照新货", "quantity": "12.000", "pocket": "现货", "gold_price": "1000.00", "labor_rate": "20.00", "labor_mode": "gram", "depreciation_weight": "7.992", "depreciation_rate": "10.00", "charges": [], "discount": "0.00", "rounding_mode": "cent", "cost_material": { "mode": "gram", "rate": "900.00" }, "cost_labor": { "mode": "gram", "rate": "5.00" }, "cost_payer": "assistant2", "cost_material_payer": "assistant2", "cost_labor_payer": "assistant2", "fee_items": [] }, "revision": 1, "reason": "跨天更正旧料克重" } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "", "applied": false, "pending": true, "requestId": "", "request": { "id": "", "recoveryId": "", "revision": 1, "recoveryRevision": 1, "action": "update", "status": "pending", "reason": "跨天更正旧料克重", "before": { "mode": "exchange", "date": "2026-11-19", "customer": "对照换货客户", "customer_type": "unknown", "salesperson": "小昊", "member": "assistant2", "note": "", "old_pocket": "回收旧料", "old_lines": [ { "name": "Au旧料", "incoming_weight": "8.000", "melted_weight": "8.000", "purity": "99.9" } ], "buy_rate": "0.00", "buy_total": "0.00", "payer": "assistant2", "payment_account": "助理2微信", "verified": true, "exchange": { "name": "足金对照新货", "quantity": "12.000", "pocket": "现货", "gold_price": "1000.00", "labor_rate": "20.00", "labor_mode": "gram", "depreciation_weight": "7.992", "depreciation_rate": "10.00", "charges": [], "discount": "0.00", "rounding_mode": "cent", "cost_material": { "mode": "gram", "rate": "900.00" }, "cost_labor": { "mode": "gram", "rate": "5.00" }, "cost_payer": "assistant2", "cost_material_payer": "assistant2", "cost_labor_payer": "assistant2", "fee_items": [] } }, "after": { "mode": "exchange", "date": "2026-11-19", "customer": "对照换货客户", "customer_type": "unknown", "salesperson": "小昊", "member": "assistant2", "note": "", "old_pocket": "回收旧料", "old_lines": [ { "name": "Au旧料", "incoming_weight": "8.200", "melted_weight": "8.100", "purity": "99.9" } ], "buy_rate": "0.00", "buy_total": "0.00", "payer": "assistant2", "payment_account": "助理2微信", "verified": true, "exchange": { "name": "足金对照新货", "quantity": "12.000", "pocket": "现货", "gold_price": "1000.00", "labor_rate": "20.00", "labor_mode": "gram", "depreciation_weight": "7.992", "depreciation_rate": "10.00", "charges": [], "discount": "0.00", "rounding_mode": "cent", "cost_material": { "mode": "gram", "rate": "900.00" }, "cost_labor": { "mode": "gram", "rate": "5.00" }, "cost_payer": "assistant2", "cost_material_payer": "assistant2", "cost_labor_payer": "assistant2", "fee_items": [] } }, "summary": { "before": { "mode": "exchange", "date": "2026-11-19", "oldMg": 7992, "newMg": 12000, "purchaseMg": 0, "purchaseAmount": 0, "receivable": 432792, "cashReceipt": 432792, "cashPayment": 0, "offsetAmount": 0, "goodsCost": 366720, "directCost": 0, "profit": 66072 }, "after": { "mode": "exchange", "date": "2026-11-19", "oldMg": 8092, "newMg": 12000, "purchaseMg": 0, "purchaseAmount": 0, "receivable": 422792, "cashReceipt": 422792, "cashPayment": 0, "offsetAmount": 0, "goodsCost": 357720, "directCost": 0, "profit": 65072 }, "affectedDates": [ "2026-11-19" ], "blockedUsages": [], "requiresLegacyCountVerified": false, "legacyCountNotice": "", "legacyCountVerified": false }, "requesterName": "助理2", "requesterMember": "assistant2", "member": "assistant2", "created": "2026-11-20T02:00:06.000Z", "reviewerName": null, "reviewed": null, "note": "", "stale": false, "canApprove": false }, "recovery": { "mode": "exchange", "date": "2026-11-19", "customer": "对照换货客户", "customer_type": "unknown", "salesperson": "小昊", "member": "assistant2", "note": "", "old_lines": [ { "name": "Au旧料", "incomingMg": 8000, "meltedMg": 8000, "purity": 99.9, "foldedMg": 7992 } ], "oldMg": 7992, "oldPocket": "回收旧料", "credit_card_rate_permille": 6, "newMg": 12000, "matchedMg": 7992, "differenceMg": 4008, "surplusMg": 0, "goldRate": 100000, "laborRate": 2000, "laborMode": "gram", "depreciationRate": 1000, "depreciationMg": 7992, "goldAmount": 400800, "laborAmount": 24000, "depreciationAmount": 7992, "charges": [], "chargesAmount": 0, "discount": 0, "rounding_mode": "cent", "rounding_adjustment": 0, "receivable": 432792, "payer": "assistant2", "payment_account": "助理2微信", "materialCost": 360720, "laborCost": 6000, "goodsCost": 366720, "directCost": 0, "profit": 66072, "newProduct": { "name": "足金对照新货", "quantity": 12000, "pocket": "现货" }, "exchange": { "costMaterial": { "mode": "total", "rate": 90000, "consumptionMg": 4008 }, "costLabor": { "mode": "gram", "rate": 500 }, "costPayer": "assistant2", "costPayers": { "material": "assistant2", "labor": "assistant2" }, "fee_items": [] }, "purchaseMg": 0, "buyRate": 0, "calculatedPurchaseAmount": 0, "purchaseAmount": 0, "actualBuyRate": null, "offsetAmount": 0, "netSettlement": 432792, "cashReceipt": 432792, "cashPayment": 0, "cardFee": 0, "paymentMethods": [ "微信" ], "id": "", "number": "HS202611190001", "order_id": "", "purchase_id": null, "created": "2026-11-19T02:01:32.000Z", "actor": "助理2", "revision": 1, "paper_number": "20261119011", "materialCostPending": false, "status": "active", "cancelledAt": "", "canEdit": false, "canCancel": false, "pendingRequestId": "", "immutableReason": "本单关联黄金回收/置换、购料及库存,暂不支持普通订单修改、取消、退款、退货或费用变更,请保留原关联记录" } } }, { "seq": 501, "label": "recovery-changes-list", "date": "2026-11-20", "actor": "owner", "method": "GET", "path": "/api/recovery-changes", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "requests": [ { "id": "", "recoveryId": "", "revision": 1, "recoveryRevision": 1, "action": "update", "status": "pending", "reason": "跨天更正旧料克重", "before": { "mode": "exchange", "date": "2026-11-19", "customer": "对照换货客户", "customer_type": "unknown", "salesperson": "小昊", "member": "assistant2", "note": "", "old_pocket": "回收旧料", "old_lines": [ { "name": "Au旧料", "incoming_weight": "8.000", "melted_weight": "8.000", "purity": "99.9" } ], "buy_rate": "0.00", "buy_total": "0.00", "payer": "assistant2", "payment_account": "助理2微信", "verified": true, "exchange": { "name": "足金对照新货", "quantity": "12.000", "pocket": "现货", "gold_price": "1000.00", "labor_rate": "20.00", "labor_mode": "gram", "depreciation_weight": "7.992", "depreciation_rate": "10.00", "charges": [], "discount": "0.00", "rounding_mode": "cent", "cost_material": { "mode": "gram", "rate": "900.00" }, "cost_labor": { "mode": "gram", "rate": "5.00" }, "cost_payer": "assistant2", "cost_material_payer": "assistant2", "cost_labor_payer": "assistant2", "fee_items": [] } }, "after": { "mode": "exchange", "date": "2026-11-19", "customer": "对照换货客户", "customer_type": "unknown", "salesperson": "小昊", "member": "assistant2", "note": "", "old_pocket": "回收旧料", "old_lines": [ { "name": "Au旧料", "incoming_weight": "8.200", "melted_weight": "8.100", "purity": "99.9" } ], "buy_rate": "0.00", "buy_total": "0.00", "payer": "assistant2", "payment_account": "助理2微信", "verified": true, "exchange": { "name": "足金对照新货", "quantity": "12.000", "pocket": "现货", "gold_price": "1000.00", "labor_rate": "20.00", "labor_mode": "gram", "depreciation_weight": "7.992", "depreciation_rate": "10.00", "charges": [], "discount": "0.00", "rounding_mode": "cent", "cost_material": { "mode": "gram", "rate": "900.00" }, "cost_labor": { "mode": "gram", "rate": "5.00" }, "cost_payer": "assistant2", "cost_material_payer": "assistant2", "cost_labor_payer": "assistant2", "fee_items": [] } }, "summary": { "before": { "mode": "exchange", "date": "2026-11-19", "oldMg": 7992, "newMg": 12000, "purchaseMg": 0, "purchaseAmount": 0, "receivable": 432792, "cashReceipt": 432792, "cashPayment": 0, "offsetAmount": 0, "goodsCost": 366720, "directCost": 0, "profit": 66072 }, "after": { "mode": "exchange", "date": "2026-11-19", "oldMg": 8092, "newMg": 12000, "purchaseMg": 0, "purchaseAmount": 0, "receivable": 422792, "cashReceipt": 422792, "cashPayment": 0, "offsetAmount": 0, "goodsCost": 357720, "directCost": 0, "profit": 65072 }, "affectedDates": [ "2026-11-19" ], "blockedUsages": [], "requiresLegacyCountVerified": false, "legacyCountNotice": "", "legacyCountVerified": false }, "requesterName": "助理2", "requesterMember": "assistant2", "member": "assistant2", "created": "2026-11-20T02:00:06.000Z", "reviewerName": null, "reviewed": null, "note": "", "stale": false, "canApprove": true } ], "counts": { "pending": 1, "approved": 0, "rejected": 0 } } }, { "seq": 502, "label": "recovery-change-detail", "date": "2026-11-20", "actor": "owner", "method": "GET", "path": "/api/recovery-changes/", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "", "recoveryId": "", "revision": 1, "recoveryRevision": 1, "action": "update", "status": "pending", "reason": "跨天更正旧料克重", "before": { "mode": "exchange", "date": "2026-11-19", "customer": "对照换货客户", "customer_type": "unknown", "salesperson": "小昊", "member": "assistant2", "note": "", "old_pocket": "回收旧料", "old_lines": [ { "name": "Au旧料", "incoming_weight": "8.000", "melted_weight": "8.000", "purity": "99.9" } ], "buy_rate": "0.00", "buy_total": "0.00", "payer": "assistant2", "payment_account": "助理2微信", "verified": true, "exchange": { "name": "足金对照新货", "quantity": "12.000", "pocket": "现货", "gold_price": "1000.00", "labor_rate": "20.00", "labor_mode": "gram", "depreciation_weight": "7.992", "depreciation_rate": "10.00", "charges": [], "discount": "0.00", "rounding_mode": "cent", "cost_material": { "mode": "gram", "rate": "900.00" }, "cost_labor": { "mode": "gram", "rate": "5.00" }, "cost_payer": "assistant2", "cost_material_payer": "assistant2", "cost_labor_payer": "assistant2", "fee_items": [] } }, "after": { "mode": "exchange", "date": "2026-11-19", "customer": "对照换货客户", "customer_type": "unknown", "salesperson": "小昊", "member": "assistant2", "note": "", "old_pocket": "回收旧料", "old_lines": [ { "name": "Au旧料", "incoming_weight": "8.200", "melted_weight": "8.100", "purity": "99.9" } ], "buy_rate": "0.00", "buy_total": "0.00", "payer": "assistant2", "payment_account": "助理2微信", "verified": true, "exchange": { "name": "足金对照新货", "quantity": "12.000", "pocket": "现货", "gold_price": "1000.00", "labor_rate": "20.00", "labor_mode": "gram", "depreciation_weight": "7.992", "depreciation_rate": "10.00", "charges": [], "discount": "0.00", "rounding_mode": "cent", "cost_material": { "mode": "gram", "rate": "900.00" }, "cost_labor": { "mode": "gram", "rate": "5.00" }, "cost_payer": "assistant2", "cost_material_payer": "assistant2", "cost_labor_payer": "assistant2", "fee_items": [] } }, "summary": { "before": { "mode": "exchange", "date": "2026-11-19", "oldMg": 7992, "newMg": 12000, "purchaseMg": 0, "purchaseAmount": 0, "receivable": 432792, "cashReceipt": 432792, "cashPayment": 0, "offsetAmount": 0, "goodsCost": 366720, "directCost": 0, "profit": 66072 }, "after": { "mode": "exchange", "date": "2026-11-19", "oldMg": 8092, "newMg": 12000, "purchaseMg": 0, "purchaseAmount": 0, "receivable": 422792, "cashReceipt": 422792, "cashPayment": 0, "offsetAmount": 0, "goodsCost": 357720, "directCost": 0, "profit": 65072 }, "affectedDates": [ "2026-11-19" ], "blockedUsages": [], "requiresLegacyCountVerified": false, "legacyCountNotice": "", "legacyCountVerified": false }, "requesterName": "助理2", "requesterMember": "assistant2", "member": "assistant2", "created": "2026-11-20T02:00:06.000Z", "reviewerName": null, "reviewed": null, "note": "", "stale": false, "canApprove": true } }, { "seq": 503, "label": "recovery-change-self-approve", "date": "2026-11-20", "actor": "assistant2", "method": "POST", "path": "/api/recovery-changes//approve", "key": "golden-00199-recovery-change-self-approve", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "revision": 1, "verified": true, "note": "自批" } }, "status": 403, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "error": "回收更正申请由麦麦审批" } }, { "seq": 504, "label": "recovery-change-approve", "date": "2026-11-20", "actor": "owner", "method": "POST", "path": "/api/recovery-changes//approve", "key": "golden-00200-recovery-change-approve", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "revision": 1, "verified": true, "note": "核实" } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "", "recoveryId": "", "revision": 2, "recoveryRevision": 1, "action": "update", "status": "approved", "reason": "跨天更正旧料克重", "before": { "mode": "exchange", "date": "2026-11-19", "customer": "对照换货客户", "customer_type": "unknown", "salesperson": "小昊", "member": "assistant2", "note": "", "old_pocket": "回收旧料", "old_lines": [ { "name": "Au旧料", "incoming_weight": "8.000", "melted_weight": "8.000", "purity": "99.9" } ], "buy_rate": "0.00", "buy_total": "0.00", "payer": "assistant2", "payment_account": "助理2微信", "verified": true, "exchange": { "name": "足金对照新货", "quantity": "12.000", "pocket": "现货", "gold_price": "1000.00", "labor_rate": "20.00", "labor_mode": "gram", "depreciation_weight": "7.992", "depreciation_rate": "10.00", "charges": [], "discount": "0.00", "rounding_mode": "cent", "cost_material": { "mode": "gram", "rate": "900.00" }, "cost_labor": { "mode": "gram", "rate": "5.00" }, "cost_payer": "assistant2", "cost_material_payer": "assistant2", "cost_labor_payer": "assistant2", "fee_items": [] } }, "after": { "mode": "exchange", "date": "2026-11-19", "customer": "对照换货客户", "customer_type": "unknown", "salesperson": "小昊", "member": "assistant2", "note": "", "old_pocket": "回收旧料", "old_lines": [ { "name": "Au旧料", "incoming_weight": "8.200", "melted_weight": "8.100", "purity": "99.9" } ], "buy_rate": "0.00", "buy_total": "0.00", "payer": "assistant2", "payment_account": "助理2微信", "verified": true, "exchange": { "name": "足金对照新货", "quantity": "12.000", "pocket": "现货", "gold_price": "1000.00", "labor_rate": "20.00", "labor_mode": "gram", "depreciation_weight": "7.992", "depreciation_rate": "10.00", "charges": [], "discount": "0.00", "rounding_mode": "cent", "cost_material": { "mode": "gram", "rate": "900.00" }, "cost_labor": { "mode": "gram", "rate": "5.00" }, "cost_payer": "assistant2", "cost_material_payer": "assistant2", "cost_labor_payer": "assistant2", "fee_items": [] } }, "summary": { "before": { "mode": "exchange", "date": "2026-11-19", "oldMg": 7992, "newMg": 12000, "purchaseMg": 0, "purchaseAmount": 0, "receivable": 432792, "cashReceipt": 432792, "cashPayment": 0, "offsetAmount": 0, "goodsCost": 366720, "directCost": 0, "profit": 66072 }, "after": { "mode": "exchange", "date": "2026-11-19", "oldMg": 8092, "newMg": 12000, "purchaseMg": 0, "purchaseAmount": 0, "receivable": 422792, "cashReceipt": 422792, "cashPayment": 0, "offsetAmount": 0, "goodsCost": 357720, "directCost": 0, "profit": 65072 }, "affectedDates": [ "2026-11-19" ], "blockedUsages": [], "requiresLegacyCountVerified": false, "legacyCountNotice": "", "legacyCountVerified": false }, "requesterName": "助理2", "requesterMember": "assistant2", "member": "assistant2", "created": "2026-11-20T02:00:06.000Z", "reviewerName": "麦麦", "reviewed": "2026-11-20T02:00:10.000Z", "note": "核实", "stale": false, "canApprove": false } }, { "seq": 505, "label": "recovery-edit-context-2", "date": "2026-11-20", "actor": "assistant", "method": "GET", "path": "/api/recoveries//edit", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "", "revision": 1, "status": "active", "record": { "mode": "exchange", "date": "2026-11-19", "customer": "对照换货客户二", "customer_type": "unknown", "salesperson": "娜娜", "member": "assistant", "note": "", "old_lines": [ { "name": "Au旧料", "incomingMg": 5000, "meltedMg": 4900, "purity": 99, "foldedMg": 4851 } ], "oldMg": 4851, "oldPocket": "回收旧料", "credit_card_rate_permille": 6, "newMg": 6000, "matchedMg": 4851, "differenceMg": 1149, "surplusMg": 0, "goldRate": 100000, "laborRate": 2000, "laborMode": "gram", "depreciationRate": 1000, "depreciationMg": 4851, "goldAmount": 114900, "laborAmount": 12000, "depreciationAmount": 4851, "charges": [], "chargesAmount": 0, "discount": 1000, "rounding_mode": "yuan", "rounding_adjustment": 49, "receivable": 130800, "payer": "assistant", "payment_account": "助理微信", "materialCost": 103410, "laborCost": 3000, "goodsCost": 106410, "directCost": 0, "profit": 24390, "newProduct": { "name": "足金对照新货", "quantity": 6000, "pocket": "现货" }, "exchange": { "costMaterial": { "mode": "total", "rate": 90000, "consumptionMg": 1149 }, "costLabor": { "mode": "gram", "rate": 500 }, "costPayer": "assistant", "costPayers": { "material": "assistant", "labor": "assistant" }, "fee_items": [] }, "purchaseMg": 0, "buyRate": 0, "calculatedPurchaseAmount": 0, "purchaseAmount": 0, "actualBuyRate": null, "offsetAmount": 0, "netSettlement": 130800, "cashReceipt": 130800, "cashPayment": 0, "cardFee": 0, "paymentMethods": [ "微信" ], "id": "", "number": "HS202611190002", "order_id": "", "purchase_id": null, "created": "2026-11-19T02:01:33.000Z", "actor": "助理", "revision": 1, "paper_number": "20261119012", "materialCostPending": false, "status": "active", "cancelledAt": "", "canEdit": true, "canCancel": true, "pendingRequestId": null, "immutableReason": "本单关联黄金回收/置换、购料及库存,暂不支持普通订单修改、取消、退款、退货或费用变更,请保留原关联记录", "printStatus": { "kind": "recovery", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, "inputs": { "mode": "exchange", "date": "2026-11-19", "customer": "对照换货客户二", "customer_type": "unknown", "salesperson": "娜娜", "member": "assistant", "note": "", "old_pocket": "回收旧料", "old_lines": [ { "name": "Au旧料", "incoming_weight": "5.000", "melted_weight": "4.900", "purity": "99" } ], "buy_rate": "0.00", "buy_total": "0.00", "payer": "assistant", "payment_account": "助理微信", "verified": true, "exchange": { "name": "足金对照新货", "quantity": "6.000", "pocket": "现货", "gold_price": "1000.00", "labor_rate": "20.00", "labor_mode": "gram", "depreciation_weight": "4.851", "depreciation_rate": "10.00", "charges": [], "discount": "10.00", "rounding_mode": "yuan", "cost_material": { "mode": "gram", "rate": "900.00" }, "cost_labor": { "mode": "gram", "rate": "5.00" }, "cost_payer": "assistant", "cost_material_payer": "assistant", "cost_labor_payer": "assistant", "fee_items": [] } }, "permissions": { "canEdit": true, "canCancel": true, "canDirect": false, "requiresApproval": true, "requiresLegacyCountVerified": false, "legacyCountNotice": "", "reason": "" }, "blockedUsages": [], "pending": null, "history": [] } }, { "seq": 506, "label": "recovery-cancel-request", "date": "2026-11-20", "actor": "assistant", "method": "POST", "path": "/api/recoveries//cancel", "key": "golden-00201-recovery-cancel-request", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "revision": 1, "reason": "客户反悔", "verified": true } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "", "applied": false, "pending": true, "requestId": "", "request": { "id": "", "recoveryId": "", "revision": 1, "recoveryRevision": 1, "action": "cancel", "status": "pending", "reason": "客户反悔", "before": { "mode": "exchange", "date": "2026-11-19", "customer": "对照换货客户二", "customer_type": "unknown", "salesperson": "娜娜", "member": "assistant", "note": "", "old_pocket": "回收旧料", "old_lines": [ { "name": "Au旧料", "incoming_weight": "5.000", "melted_weight": "4.900", "purity": "99" } ], "buy_rate": "0.00", "buy_total": "0.00", "payer": "assistant", "payment_account": "助理微信", "verified": true, "exchange": { "name": "足金对照新货", "quantity": "6.000", "pocket": "现货", "gold_price": "1000.00", "labor_rate": "20.00", "labor_mode": "gram", "depreciation_weight": "4.851", "depreciation_rate": "10.00", "charges": [], "discount": "10.00", "rounding_mode": "yuan", "cost_material": { "mode": "gram", "rate": "900.00" }, "cost_labor": { "mode": "gram", "rate": "5.00" }, "cost_payer": "assistant", "cost_material_payer": "assistant", "cost_labor_payer": "assistant", "fee_items": [] } }, "after": null, "summary": { "before": { "mode": "exchange", "date": "2026-11-19", "oldMg": 4851, "newMg": 6000, "purchaseMg": 0, "purchaseAmount": 0, "receivable": 130800, "cashReceipt": 130800, "cashPayment": 0, "offsetAmount": 0, "goodsCost": 106410, "directCost": 0, "profit": 24390 }, "after": null, "affectedDates": [ "2026-11-19", "2026-11-20" ], "blockedUsages": [], "requiresLegacyCountVerified": false, "legacyCountNotice": "", "legacyCountVerified": false }, "requesterName": "助理", "requesterMember": "assistant", "member": "assistant", "created": "2026-11-20T02:00:12.000Z", "reviewerName": null, "reviewed": null, "note": "", "stale": false, "canApprove": false }, "recovery": { "mode": "exchange", "date": "2026-11-19", "customer": "对照换货客户二", "customer_type": "unknown", "salesperson": "娜娜", "member": "assistant", "note": "", "old_lines": [ { "name": "Au旧料", "incomingMg": 5000, "meltedMg": 4900, "purity": 99, "foldedMg": 4851 } ], "oldMg": 4851, "oldPocket": "回收旧料", "credit_card_rate_permille": 6, "newMg": 6000, "matchedMg": 4851, "differenceMg": 1149, "surplusMg": 0, "goldRate": 100000, "laborRate": 2000, "laborMode": "gram", "depreciationRate": 1000, "depreciationMg": 4851, "goldAmount": 114900, "laborAmount": 12000, "depreciationAmount": 4851, "charges": [], "chargesAmount": 0, "discount": 1000, "rounding_mode": "yuan", "rounding_adjustment": 49, "receivable": 130800, "payer": "assistant", "payment_account": "助理微信", "materialCost": 103410, "laborCost": 3000, "goodsCost": 106410, "directCost": 0, "profit": 24390, "newProduct": { "name": "足金对照新货", "quantity": 6000, "pocket": "现货" }, "exchange": { "costMaterial": { "mode": "total", "rate": 90000, "consumptionMg": 1149 }, "costLabor": { "mode": "gram", "rate": 500 }, "costPayer": "assistant", "costPayers": { "material": "assistant", "labor": "assistant" }, "fee_items": [] }, "purchaseMg": 0, "buyRate": 0, "calculatedPurchaseAmount": 0, "purchaseAmount": 0, "actualBuyRate": null, "offsetAmount": 0, "netSettlement": 130800, "cashReceipt": 130800, "cashPayment": 0, "cardFee": 0, "paymentMethods": [ "微信" ], "id": "", "number": "HS202611190002", "order_id": "", "purchase_id": null, "created": "2026-11-19T02:01:33.000Z", "actor": "助理", "revision": 1, "paper_number": "20261119012", "materialCostPending": false, "status": "active", "cancelledAt": "", "canEdit": false, "canCancel": false, "pendingRequestId": "", "immutableReason": "本单关联黄金回收/置换、购料及库存,暂不支持普通订单修改、取消、退款、退货或费用变更,请保留原关联记录" } } }, { "seq": 507, "label": "recovery-change-reject", "date": "2026-11-20", "actor": "owner", "method": "POST", "path": "/api/recovery-changes//reject", "key": "golden-00202-recovery-change-reject", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "revision": 1, "note": "需核实" } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "", "recoveryId": "", "revision": 2, "recoveryRevision": 1, "action": "cancel", "status": "rejected", "reason": "客户反悔", "before": { "mode": "exchange", "date": "2026-11-19", "customer": "对照换货客户二", "customer_type": "unknown", "salesperson": "娜娜", "member": "assistant", "note": "", "old_pocket": "回收旧料", "old_lines": [ { "name": "Au旧料", "incoming_weight": "5.000", "melted_weight": "4.900", "purity": "99" } ], "buy_rate": "0.00", "buy_total": "0.00", "payer": "assistant", "payment_account": "助理微信", "verified": true, "exchange": { "name": "足金对照新货", "quantity": "6.000", "pocket": "现货", "gold_price": "1000.00", "labor_rate": "20.00", "labor_mode": "gram", "depreciation_weight": "4.851", "depreciation_rate": "10.00", "charges": [], "discount": "10.00", "rounding_mode": "yuan", "cost_material": { "mode": "gram", "rate": "900.00" }, "cost_labor": { "mode": "gram", "rate": "5.00" }, "cost_payer": "assistant", "cost_material_payer": "assistant", "cost_labor_payer": "assistant", "fee_items": [] } }, "after": null, "summary": { "before": { "mode": "exchange", "date": "2026-11-19", "oldMg": 4851, "newMg": 6000, "purchaseMg": 0, "purchaseAmount": 0, "receivable": 130800, "cashReceipt": 130800, "cashPayment": 0, "offsetAmount": 0, "goodsCost": 106410, "directCost": 0, "profit": 24390 }, "after": null, "affectedDates": [ "2026-11-19", "2026-11-20" ], "blockedUsages": [], "requiresLegacyCountVerified": false, "legacyCountNotice": "", "legacyCountVerified": false }, "requesterName": "助理", "requesterMember": "assistant", "member": "assistant", "created": "2026-11-20T02:00:12.000Z", "reviewerName": "麦麦", "reviewed": "2026-11-20T02:00:13.000Z", "note": "需核实", "stale": false, "canApprove": false } }, { "seq": 508, "label": "recovery-owner-edit-context", "date": "2026-11-20", "actor": "owner", "method": "GET", "path": "/api/recoveries//edit", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "", "revision": 1, "status": "active", "record": { "mode": "exchange", "date": "2026-11-19", "customer": "对照换货客户二", "customer_type": "unknown", "salesperson": "娜娜", "member": "assistant", "note": "", "old_lines": [ { "name": "Au旧料", "incomingMg": 5000, "meltedMg": 4900, "purity": 99, "foldedMg": 4851 } ], "oldMg": 4851, "oldPocket": "回收旧料", "credit_card_rate_permille": 6, "newMg": 6000, "matchedMg": 4851, "differenceMg": 1149, "surplusMg": 0, "goldRate": 100000, "laborRate": 2000, "laborMode": "gram", "depreciationRate": 1000, "depreciationMg": 4851, "goldAmount": 114900, "laborAmount": 12000, "depreciationAmount": 4851, "charges": [], "chargesAmount": 0, "discount": 1000, "rounding_mode": "yuan", "rounding_adjustment": 49, "receivable": 130800, "payer": "assistant", "payment_account": "助理微信", "materialCost": 103410, "laborCost": 3000, "goodsCost": 106410, "directCost": 0, "profit": 24390, "newProduct": { "name": "足金对照新货", "quantity": 6000, "pocket": "现货" }, "exchange": { "costMaterial": { "mode": "total", "rate": 90000, "consumptionMg": 1149 }, "costLabor": { "mode": "gram", "rate": 500 }, "costPayer": "assistant", "costPayers": { "material": "assistant", "labor": "assistant" }, "fee_items": [] }, "purchaseMg": 0, "buyRate": 0, "calculatedPurchaseAmount": 0, "purchaseAmount": 0, "actualBuyRate": null, "offsetAmount": 0, "netSettlement": 130800, "cashReceipt": 130800, "cashPayment": 0, "cardFee": 0, "paymentMethods": [ "微信" ], "id": "", "number": "HS202611190002", "order_id": "", "purchase_id": null, "created": "2026-11-19T02:01:33.000Z", "actor": "助理", "revision": 1, "paper_number": "20261119012", "materialCostPending": false, "status": "active", "cancelledAt": "", "canEdit": true, "canCancel": true, "pendingRequestId": null, "immutableReason": "本单关联黄金回收/置换、购料及库存,暂不支持普通订单修改、取消、退款、退货或费用变更,请保留原关联记录", "printStatus": { "kind": "recovery", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, "inputs": { "mode": "exchange", "date": "2026-11-19", "customer": "对照换货客户二", "customer_type": "unknown", "salesperson": "娜娜", "member": "assistant", "note": "", "old_pocket": "回收旧料", "old_lines": [ { "name": "Au旧料", "incoming_weight": "5.000", "melted_weight": "4.900", "purity": "99" } ], "buy_rate": "0.00", "buy_total": "0.00", "payer": "assistant", "payment_account": "助理微信", "verified": true, "exchange": { "name": "足金对照新货", "quantity": "6.000", "pocket": "现货", "gold_price": "1000.00", "labor_rate": "20.00", "labor_mode": "gram", "depreciation_weight": "4.851", "depreciation_rate": "10.00", "charges": [], "discount": "10.00", "rounding_mode": "yuan", "cost_material": { "mode": "gram", "rate": "900.00" }, "cost_labor": { "mode": "gram", "rate": "5.00" }, "cost_payer": "assistant", "cost_material_payer": "assistant", "cost_labor_payer": "assistant", "fee_items": [] } }, "permissions": { "canEdit": true, "canCancel": true, "canDirect": true, "requiresApproval": false, "requiresLegacyCountVerified": false, "legacyCountNotice": "", "reason": "" }, "blockedUsages": [], "pending": null, "history": [ { "id": "", "recoveryId": "", "revision": 2, "recoveryRevision": 1, "action": "cancel", "status": "rejected", "reason": "客户反悔", "before": { "mode": "exchange", "date": "2026-11-19", "customer": "对照换货客户二", "customer_type": "unknown", "salesperson": "娜娜", "member": "assistant", "note": "", "old_pocket": "回收旧料", "old_lines": [ { "name": "Au旧料", "incoming_weight": "5.000", "melted_weight": "4.900", "purity": "99" } ], "buy_rate": "0.00", "buy_total": "0.00", "payer": "assistant", "payment_account": "助理微信", "verified": true, "exchange": { "name": "足金对照新货", "quantity": "6.000", "pocket": "现货", "gold_price": "1000.00", "labor_rate": "20.00", "labor_mode": "gram", "depreciation_weight": "4.851", "depreciation_rate": "10.00", "charges": [], "discount": "10.00", "rounding_mode": "yuan", "cost_material": { "mode": "gram", "rate": "900.00" }, "cost_labor": { "mode": "gram", "rate": "5.00" }, "cost_payer": "assistant", "cost_material_payer": "assistant", "cost_labor_payer": "assistant", "fee_items": [] } }, "after": null, "summary": { "before": { "mode": "exchange", "date": "2026-11-19", "oldMg": 4851, "newMg": 6000, "purchaseMg": 0, "purchaseAmount": 0, "receivable": 130800, "cashReceipt": 130800, "cashPayment": 0, "offsetAmount": 0, "goodsCost": 106410, "directCost": 0, "profit": 24390 }, "after": null, "affectedDates": [ "2026-11-19", "2026-11-20" ], "blockedUsages": [], "requiresLegacyCountVerified": false, "legacyCountNotice": "", "legacyCountVerified": false }, "requesterName": "助理", "requesterMember": "assistant", "member": "assistant", "created": "2026-11-20T02:00:12.000Z", "reviewerName": "麦麦", "reviewed": "2026-11-20T02:00:13.000Z", "note": "需核实", "stale": false, "canApprove": false } ] } }, { "seq": 509, "label": "recovery-cancel-owner", "date": "2026-11-20", "actor": "owner", "method": "POST", "path": "/api/recoveries//cancel", "key": "golden-00203-recovery-cancel-owner", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "revision": 1, "reason": "录错", "verified": true } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "", "applied": true, "pending": false, "requestId": "", "request": { "id": "", "recoveryId": "", "revision": 1, "recoveryRevision": 1, "action": "cancel", "status": "approved", "reason": "录错", "before": { "mode": "exchange", "date": "2026-11-19", "customer": "对照换货客户二", "customer_type": "unknown", "salesperson": "娜娜", "member": "assistant", "note": "", "old_pocket": "回收旧料", "old_lines": [ { "name": "Au旧料", "incoming_weight": "5.000", "melted_weight": "4.900", "purity": "99" } ], "buy_rate": "0.00", "buy_total": "0.00", "payer": "assistant", "payment_account": "助理微信", "verified": true, "exchange": { "name": "足金对照新货", "quantity": "6.000", "pocket": "现货", "gold_price": "1000.00", "labor_rate": "20.00", "labor_mode": "gram", "depreciation_weight": "4.851", "depreciation_rate": "10.00", "charges": [], "discount": "10.00", "rounding_mode": "yuan", "cost_material": { "mode": "gram", "rate": "900.00" }, "cost_labor": { "mode": "gram", "rate": "5.00" }, "cost_payer": "assistant", "cost_material_payer": "assistant", "cost_labor_payer": "assistant", "fee_items": [] } }, "after": null, "summary": { "before": { "mode": "exchange", "date": "2026-11-19", "oldMg": 4851, "newMg": 6000, "purchaseMg": 0, "purchaseAmount": 0, "receivable": 130800, "cashReceipt": 130800, "cashPayment": 0, "offsetAmount": 0, "goodsCost": 106410, "directCost": 0, "profit": 24390 }, "after": null, "affectedDates": [ "2026-11-19", "2026-11-20" ], "blockedUsages": [], "requiresLegacyCountVerified": false, "legacyCountNotice": "", "legacyCountVerified": false }, "requesterName": "麦麦", "requesterMember": "owner", "member": "assistant", "created": "2026-11-20T02:00:15.000Z", "reviewerName": "麦麦", "reviewed": "2026-11-20T02:00:15.000Z", "note": "", "stale": false, "canApprove": false }, "recovery": { "mode": "exchange", "date": "2026-11-19", "customer": "对照换货客户二", "customer_type": "unknown", "salesperson": "娜娜", "member": "assistant", "note": "", "old_lines": [ { "name": "Au旧料", "incomingMg": 5000, "meltedMg": 4900, "purity": 99, "foldedMg": 4851 } ], "oldMg": 4851, "oldPocket": "回收旧料", "credit_card_rate_permille": 6, "newMg": 6000, "matchedMg": 4851, "differenceMg": 1149, "surplusMg": 0, "goldRate": 100000, "laborRate": 2000, "laborMode": "gram", "depreciationRate": 1000, "depreciationMg": 4851, "goldAmount": 114900, "laborAmount": 12000, "depreciationAmount": 4851, "charges": [], "chargesAmount": 0, "discount": 1000, "rounding_mode": "yuan", "rounding_adjustment": 49, "receivable": 130800, "payer": "assistant", "payment_account": "助理微信", "materialCost": 103410, "laborCost": 3000, "goodsCost": 106410, "directCost": 0, "profit": 0, "newProduct": { "name": "足金对照新货", "quantity": 6000, "pocket": "现货" }, "exchange": { "costMaterial": { "mode": "total", "rate": 90000, "consumptionMg": 1149 }, "costLabor": { "mode": "gram", "rate": 500 }, "costPayer": "assistant", "costPayers": { "material": "assistant", "labor": "assistant" }, "fee_items": [] }, "purchaseMg": 0, "buyRate": 0, "calculatedPurchaseAmount": 0, "purchaseAmount": 0, "actualBuyRate": null, "offsetAmount": 0, "netSettlement": 130800, "cashReceipt": 130800, "cashPayment": 0, "cardFee": 0, "paymentMethods": [ "微信" ], "id": "", "number": "HS202611190002", "order_id": "", "purchase_id": null, "created": "2026-11-19T02:01:33.000Z", "actor": "助理", "revision": 2, "paper_number": "20261119012", "materialCostPending": false, "status": "cancelled", "cancelledAt": "2026-11-20T02:00:15.000Z", "canEdit": false, "canCancel": false, "pendingRequestId": null, "immutableReason": "本单关联黄金回收/置换、购料及库存,暂不支持普通订单修改、取消、退款、退货或费用变更,请保留原关联记录" } } }, { "seq": 510, "label": "recoveries-all", "date": "2026-11-20", "actor": "owner", "method": "GET", "path": "/api/recoveries?status=all", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "from": "2026-11-20", "date": "2026-11-20", "rows": [], "summary": { "count": 0, "cancelledCount": 0, "directCount": 0, "exchangeCount": 0, "oldMg": 0, "newMg": 0, "purchaseMg": 0, "purchaseAmount": 0, "receivable": 0, "offsetAmount": 0, "cashReceipt": 0, "cashPayment": 0 } } }, { "seq": 511, "label": "recovery-changes-all", "date": "2026-11-20", "actor": "owner", "method": "GET", "path": "/api/recovery-changes?status=all", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "requests": [ { "id": "", "recoveryId": "", "revision": 1, "recoveryRevision": 1, "action": "cancel", "status": "approved", "reason": "录错", "before": { "mode": "exchange", "date": "2026-11-19", "customer": "对照换货客户二", "customer_type": "unknown", "salesperson": "娜娜", "member": "assistant", "note": "", "old_pocket": "回收旧料", "old_lines": [ { "name": "Au旧料", "incoming_weight": "5.000", "melted_weight": "4.900", "purity": "99" } ], "buy_rate": "0.00", "buy_total": "0.00", "payer": "assistant", "payment_account": "助理微信", "verified": true, "exchange": { "name": "足金对照新货", "quantity": "6.000", "pocket": "现货", "gold_price": "1000.00", "labor_rate": "20.00", "labor_mode": "gram", "depreciation_weight": "4.851", "depreciation_rate": "10.00", "charges": [], "discount": "10.00", "rounding_mode": "yuan", "cost_material": { "mode": "gram", "rate": "900.00" }, "cost_labor": { "mode": "gram", "rate": "5.00" }, "cost_payer": "assistant", "cost_material_payer": "assistant", "cost_labor_payer": "assistant", "fee_items": [] } }, "after": null, "summary": { "before": { "mode": "exchange", "date": "2026-11-19", "oldMg": 4851, "newMg": 6000, "purchaseMg": 0, "purchaseAmount": 0, "receivable": 130800, "cashReceipt": 130800, "cashPayment": 0, "offsetAmount": 0, "goodsCost": 106410, "directCost": 0, "profit": 24390 }, "after": null, "affectedDates": [ "2026-11-19", "2026-11-20" ], "blockedUsages": [], "requiresLegacyCountVerified": false, "legacyCountNotice": "", "legacyCountVerified": false }, "requesterName": "麦麦", "requesterMember": "owner", "member": "assistant", "created": "2026-11-20T02:00:15.000Z", "reviewerName": "麦麦", "reviewed": "2026-11-20T02:00:15.000Z", "note": "", "stale": false, "canApprove": false }, { "id": "", "recoveryId": "", "revision": 2, "recoveryRevision": 1, "action": "cancel", "status": "rejected", "reason": "客户反悔", "before": { "mode": "exchange", "date": "2026-11-19", "customer": "对照换货客户二", "customer_type": "unknown", "salesperson": "娜娜", "member": "assistant", "note": "", "old_pocket": "回收旧料", "old_lines": [ { "name": "Au旧料", "incoming_weight": "5.000", "melted_weight": "4.900", "purity": "99" } ], "buy_rate": "0.00", "buy_total": "0.00", "payer": "assistant", "payment_account": "助理微信", "verified": true, "exchange": { "name": "足金对照新货", "quantity": "6.000", "pocket": "现货", "gold_price": "1000.00", "labor_rate": "20.00", "labor_mode": "gram", "depreciation_weight": "4.851", "depreciation_rate": "10.00", "charges": [], "discount": "10.00", "rounding_mode": "yuan", "cost_material": { "mode": "gram", "rate": "900.00" }, "cost_labor": { "mode": "gram", "rate": "5.00" }, "cost_payer": "assistant", "cost_material_payer": "assistant", "cost_labor_payer": "assistant", "fee_items": [] } }, "after": null, "summary": { "before": { "mode": "exchange", "date": "2026-11-19", "oldMg": 4851, "newMg": 6000, "purchaseMg": 0, "purchaseAmount": 0, "receivable": 130800, "cashReceipt": 130800, "cashPayment": 0, "offsetAmount": 0, "goodsCost": 106410, "directCost": 0, "profit": 24390 }, "after": null, "affectedDates": [ "2026-11-19", "2026-11-20" ], "blockedUsages": [], "requiresLegacyCountVerified": false, "legacyCountNotice": "", "legacyCountVerified": false }, "requesterName": "助理", "requesterMember": "assistant", "member": "assistant", "created": "2026-11-20T02:00:12.000Z", "reviewerName": "麦麦", "reviewed": "2026-11-20T02:00:13.000Z", "note": "需核实", "stale": false, "canApprove": false }, { "id": "", "recoveryId": "", "revision": 2, "recoveryRevision": 1, "action": "update", "status": "approved", "reason": "跨天更正旧料克重", "before": { "mode": "exchange", "date": "2026-11-19", "customer": "对照换货客户", "customer_type": "unknown", "salesperson": "小昊", "member": "assistant2", "note": "", "old_pocket": "回收旧料", "old_lines": [ { "name": "Au旧料", "incoming_weight": "8.000", "melted_weight": "8.000", "purity": "99.9" } ], "buy_rate": "0.00", "buy_total": "0.00", "payer": "assistant2", "payment_account": "助理2微信", "verified": true, "exchange": { "name": "足金对照新货", "quantity": "12.000", "pocket": "现货", "gold_price": "1000.00", "labor_rate": "20.00", "labor_mode": "gram", "depreciation_weight": "7.992", "depreciation_rate": "10.00", "charges": [], "discount": "0.00", "rounding_mode": "cent", "cost_material": { "mode": "gram", "rate": "900.00" }, "cost_labor": { "mode": "gram", "rate": "5.00" }, "cost_payer": "assistant2", "cost_material_payer": "assistant2", "cost_labor_payer": "assistant2", "fee_items": [] } }, "after": { "mode": "exchange", "date": "2026-11-19", "customer": "对照换货客户", "customer_type": "unknown", "salesperson": "小昊", "member": "assistant2", "note": "", "old_pocket": "回收旧料", "old_lines": [ { "name": "Au旧料", "incoming_weight": "8.200", "melted_weight": "8.100", "purity": "99.9" } ], "buy_rate": "0.00", "buy_total": "0.00", "payer": "assistant2", "payment_account": "助理2微信", "verified": true, "exchange": { "name": "足金对照新货", "quantity": "12.000", "pocket": "现货", "gold_price": "1000.00", "labor_rate": "20.00", "labor_mode": "gram", "depreciation_weight": "7.992", "depreciation_rate": "10.00", "charges": [], "discount": "0.00", "rounding_mode": "cent", "cost_material": { "mode": "gram", "rate": "900.00" }, "cost_labor": { "mode": "gram", "rate": "5.00" }, "cost_payer": "assistant2", "cost_material_payer": "assistant2", "cost_labor_payer": "assistant2", "fee_items": [] } }, "summary": { "before": { "mode": "exchange", "date": "2026-11-19", "oldMg": 7992, "newMg": 12000, "purchaseMg": 0, "purchaseAmount": 0, "receivable": 432792, "cashReceipt": 432792, "cashPayment": 0, "offsetAmount": 0, "goodsCost": 366720, "directCost": 0, "profit": 66072 }, "after": { "mode": "exchange", "date": "2026-11-19", "oldMg": 8092, "newMg": 12000, "purchaseMg": 0, "purchaseAmount": 0, "receivable": 422792, "cashReceipt": 422792, "cashPayment": 0, "offsetAmount": 0, "goodsCost": 357720, "directCost": 0, "profit": 65072 }, "affectedDates": [ "2026-11-19" ], "blockedUsages": [], "requiresLegacyCountVerified": false, "legacyCountNotice": "", "legacyCountVerified": false }, "requesterName": "助理2", "requesterMember": "assistant2", "member": "assistant2", "created": "2026-11-20T02:00:06.000Z", "reviewerName": "麦麦", "reviewed": "2026-11-20T02:00:10.000Z", "note": "核实", "stale": false, "canApprove": false } ], "counts": { "pending": 0, "approved": 2, "rejected": 1 } } }, { "seq": 512, "note": "section", "name": "directRecoveriesD3" }, { "seq": 513, "label": "recovery-quote", "date": "2026-11-20", "actor": "assistant", "method": "POST", "path": "/api/recoveries/quote", "key": null, "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "mode": "direct", "date": "2026-11-20", "customer": "对照回收客户", "salesperson": "娜娜", "old_lines": [ { "name": "Au旧料", "incoming_weight": "10", "melted_weight": "10", "purity": "100" } ], "buy_rate": "900", "payer": "assistant", "payment_account": "助理微信", "verified": true } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "mode": "direct", "date": "2026-11-20", "customer": "对照回收客户", "customer_type": "unknown", "salesperson": "娜娜", "member": "assistant", "note": "", "old_lines": [ { "name": "Au旧料", "incomingMg": 10000, "meltedMg": 10000, "purity": 100, "foldedMg": 10000 } ], "oldMg": 10000, "oldPocket": "回收旧料", "credit_card_rate_permille": 6, "newMg": 0, "matchedMg": 0, "differenceMg": 0, "surplusMg": 10000, "goldRate": 0, "laborRate": 0, "laborMode": "gram", "depreciationRate": 0, "depreciationMg": 0, "goldAmount": 0, "laborAmount": 0, "depreciationAmount": 0, "charges": [], "chargesAmount": 0, "discount": 0, "rounding_mode": "cent", "rounding_adjustment": 0, "receivable": 0, "payer": "assistant", "payment_account": "助理微信", "materialCost": 0, "laborCost": 0, "goodsCost": 0, "directCost": 0, "profit": 0, "purchaseMg": 10000, "buyRate": 90000, "calculatedPurchaseAmount": 900000, "purchaseAmount": 900000, "actualBuyRate": 90000, "offsetAmount": 0, "netSettlement": -900000, "cashReceipt": 0, "cashPayment": 900000, "cardFee": 0, "paymentMethods": [ "微信" ] } }, { "seq": 514, "label": "recovery-without-key", "date": "2026-11-20", "actor": "assistant", "method": "POST", "path": "/api/recoveries", "key": null, "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "mode": "direct", "date": "2026-11-20", "customer": "对照回收客户", "salesperson": "娜娜", "old_lines": [ { "name": "Au旧料", "incoming_weight": "10", "melted_weight": "10", "purity": "100" } ], "buy_rate": "900", "payer": "assistant", "payment_account": "助理微信", "verified": true } }, "status": 400, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "error": "缺少有效操作号,请刷新后重试" } }, { "seq": 515, "label": "recovery-direct", "date": "2026-11-20", "actor": "assistant", "method": "POST", "path": "/api/recoveries", "key": "golden-00204-recovery-direct", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "mode": "direct", "date": "2026-11-20", "customer": "对照回收客户", "salesperson": "娜娜", "old_lines": [ { "name": "Au旧料", "incoming_weight": "10", "melted_weight": "10", "purity": "100" } ], "buy_rate": "900", "payer": "assistant", "payment_account": "助理微信", "verified": true } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "mode": "direct", "date": "2026-11-20", "customer": "对照回收客户", "customer_type": "unknown", "salesperson": "娜娜", "member": "assistant", "note": "", "old_lines": [ { "name": "Au旧料", "incomingMg": 10000, "meltedMg": 10000, "purity": 100, "foldedMg": 10000 } ], "oldMg": 10000, "oldPocket": "回收旧料", "credit_card_rate_permille": 6, "newMg": 0, "matchedMg": 0, "differenceMg": 0, "surplusMg": 10000, "goldRate": 0, "laborRate": 0, "laborMode": "gram", "depreciationRate": 0, "depreciationMg": 0, "goldAmount": 0, "laborAmount": 0, "depreciationAmount": 0, "charges": [], "chargesAmount": 0, "discount": 0, "rounding_mode": "cent", "rounding_adjustment": 0, "receivable": 0, "payer": "assistant", "payment_account": "助理微信", "materialCost": 0, "laborCost": 0, "goodsCost": 0, "directCost": 0, "profit": 0, "purchaseMg": 10000, "buyRate": 90000, "calculatedPurchaseAmount": 900000, "purchaseAmount": 900000, "actualBuyRate": 90000, "offsetAmount": 0, "netSettlement": -900000, "cashReceipt": 0, "cashPayment": 900000, "cardFee": 0, "paymentMethods": [ "微信" ], "id": "", "number": "HS202611200003", "order_id": null, "purchase_id": "", "created": "2026-11-20T02:00:20.000Z", "actor": "助理", "revision": 1, "materialBatch": { "purchaseId": "", "recoveryId": "", "member": "assistant", "mg": 10000, "usedMg": 0, "remainingMg": 10000, "usages": [] }, "status": "active", "cancelledAt": "", "canEdit": true, "canCancel": true, "pendingRequestId": null, "immutableReason": "本单关联黄金回收/置换、购料及库存,暂不支持普通订单修改、取消、退款、退货或费用变更,请保留原关联记录" } }, { "seq": 516, "label": "recovery-owner", "date": "2026-11-20", "actor": "owner", "method": "POST", "path": "/api/recoveries", "key": "golden-00205-recovery-owner", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "mode": "direct", "date": "2026-11-20", "customer": "对照回收客户", "salesperson": "麦麦", "old_lines": [ { "name": "Au旧料", "incoming_weight": "3", "melted_weight": "3", "purity": "100" } ], "buy_rate": "900", "payer": "owner", "payment_account": "麦麦现金", "verified": true } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "mode": "direct", "date": "2026-11-20", "customer": "对照回收客户", "customer_type": "unknown", "salesperson": "麦麦", "member": "owner", "note": "", "old_lines": [ { "name": "Au旧料", "incomingMg": 3000, "meltedMg": 3000, "purity": 100, "foldedMg": 3000 } ], "oldMg": 3000, "oldPocket": "回收旧料", "credit_card_rate_permille": 6, "newMg": 0, "matchedMg": 0, "differenceMg": 0, "surplusMg": 3000, "goldRate": 0, "laborRate": 0, "laborMode": "gram", "depreciationRate": 0, "depreciationMg": 0, "goldAmount": 0, "laborAmount": 0, "depreciationAmount": 0, "charges": [], "chargesAmount": 0, "discount": 0, "rounding_mode": "cent", "rounding_adjustment": 0, "receivable": 0, "payer": "owner", "payment_account": "麦麦现金", "materialCost": 0, "laborCost": 0, "goodsCost": 0, "directCost": 0, "profit": 0, "purchaseMg": 3000, "buyRate": 90000, "calculatedPurchaseAmount": 270000, "purchaseAmount": 270000, "actualBuyRate": 90000, "offsetAmount": 0, "netSettlement": -270000, "cashReceipt": 0, "cashPayment": 270000, "cardFee": 0, "paymentMethods": [ "现金" ], "id": "", "number": "HS202611200004", "order_id": null, "purchase_id": "", "created": "2026-11-20T02:00:21.000Z", "actor": "麦麦", "revision": 1, "materialBatch": { "purchaseId": "", "recoveryId": "", "member": "owner", "mg": 3000, "usedMg": 0, "remainingMg": 3000, "usages": [] }, "status": "active", "cancelledAt": "", "canEdit": true, "canCancel": true, "pendingRequestId": null, "immutableReason": "本单关联黄金回收/置换、购料及库存,暂不支持普通订单修改、取消、退款、退货或费用变更,请保留原关联记录" } }, { "seq": 517, "label": "recovery-direct-detail", "date": "2026-11-20", "actor": "assistant", "method": "GET", "path": "/api/recoveries/", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "mode": "direct", "date": "2026-11-20", "customer": "对照回收客户", "customer_type": "unknown", "salesperson": "娜娜", "member": "assistant", "note": "", "old_lines": [ { "name": "Au旧料", "incomingMg": 10000, "meltedMg": 10000, "purity": 100, "foldedMg": 10000 } ], "oldMg": 10000, "oldPocket": "回收旧料", "credit_card_rate_permille": 6, "newMg": 0, "matchedMg": 0, "differenceMg": 0, "surplusMg": 10000, "goldRate": 0, "laborRate": 0, "laborMode": "gram", "depreciationRate": 0, "depreciationMg": 0, "goldAmount": 0, "laborAmount": 0, "depreciationAmount": 0, "charges": [], "chargesAmount": 0, "discount": 0, "rounding_mode": "cent", "rounding_adjustment": 0, "receivable": 0, "payer": "assistant", "payment_account": "助理微信", "materialCost": 0, "laborCost": 0, "goodsCost": 0, "directCost": 0, "profit": 0, "purchaseMg": 10000, "buyRate": 90000, "calculatedPurchaseAmount": 900000, "purchaseAmount": 900000, "actualBuyRate": 90000, "offsetAmount": 0, "netSettlement": -900000, "cashReceipt": 0, "cashPayment": 900000, "cardFee": 0, "paymentMethods": [ "微信" ], "id": "", "number": "HS202611200003", "order_id": null, "purchase_id": "", "created": "2026-11-20T02:00:20.000Z", "actor": "助理", "revision": 1, "materialBatch": { "purchaseId": "", "recoveryId": "", "member": "assistant", "mg": 10000, "usedMg": 0, "remainingMg": 10000, "usages": [] }, "status": "active", "cancelledAt": "", "canEdit": true, "canCancel": true, "pendingRequestId": null, "immutableReason": "本单关联黄金回收/置换、购料及库存,暂不支持普通订单修改、取消、退款、退货或费用变更,请保留原关联记录", "printStatus": { "kind": "recovery", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } } }, { "seq": 518, "label": "print-recovery", "date": "2026-11-20", "actor": "assistant", "method": "GET", "path": "/print/recoveries/", "key": null, "status": 200, "contentType": "text/html; charset=utf-8", "disposition": null, "setCookie": null, "body": { "text": "HS202611200003 · 黄金回收单
","printed":false,"revision":0,"updated":null,"actor":null,"sourceRevision":1,"user":""}\" role=\"status\">未打印固定241×140mm横版;打印窗口也选241×140mm,关闭页眉页脚。正在调整为一页…

黄金对照珠宝

黄金回收单
客户:对照回收客户日期:2026-11-20单号:HS202611200003
开单人:娜娜付款方式:微信

旧料(Au 黄金)

序号旧料名称来料克重(克)熔后克重(克)成色折后克重(克)回收单价
1Au 黄金 · Au旧料10.0010.00100%10.00¥900.00/克
旧料折后合计:10.00 克
回收人民币大写:玖仟元整
最终回收金额:¥9000.00
备注:—
联系电话:联系电话 000-0000
经办人:娜娜 ________________
" } }, { "seq": 519, "label": "recovery-direct-edit-context", "date": "2026-11-20", "actor": "assistant", "method": "GET", "path": "/api/recoveries//edit", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "", "revision": 1, "status": "active", "record": { "mode": "direct", "date": "2026-11-20", "customer": "对照回收客户", "customer_type": "unknown", "salesperson": "娜娜", "member": "assistant", "note": "", "old_lines": [ { "name": "Au旧料", "incomingMg": 10000, "meltedMg": 10000, "purity": 100, "foldedMg": 10000 } ], "oldMg": 10000, "oldPocket": "回收旧料", "credit_card_rate_permille": 6, "newMg": 0, "matchedMg": 0, "differenceMg": 0, "surplusMg": 10000, "goldRate": 0, "laborRate": 0, "laborMode": "gram", "depreciationRate": 0, "depreciationMg": 0, "goldAmount": 0, "laborAmount": 0, "depreciationAmount": 0, "charges": [], "chargesAmount": 0, "discount": 0, "rounding_mode": "cent", "rounding_adjustment": 0, "receivable": 0, "payer": "assistant", "payment_account": "助理微信", "materialCost": 0, "laborCost": 0, "goodsCost": 0, "directCost": 0, "profit": 0, "purchaseMg": 10000, "buyRate": 90000, "calculatedPurchaseAmount": 900000, "purchaseAmount": 900000, "actualBuyRate": 90000, "offsetAmount": 0, "netSettlement": -900000, "cashReceipt": 0, "cashPayment": 900000, "cardFee": 0, "paymentMethods": [ "微信" ], "id": "", "number": "HS202611200003", "order_id": null, "purchase_id": "", "created": "2026-11-20T02:00:20.000Z", "actor": "助理", "revision": 1, "materialBatch": { "purchaseId": "", "recoveryId": "", "member": "assistant", "mg": 10000, "usedMg": 0, "remainingMg": 10000, "usages": [] }, "status": "active", "cancelledAt": "", "canEdit": true, "canCancel": true, "pendingRequestId": null, "immutableReason": "本单关联黄金回收/置换、购料及库存,暂不支持普通订单修改、取消、退款、退货或费用变更,请保留原关联记录", "printStatus": { "kind": "recovery", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, "inputs": { "mode": "direct", "date": "2026-11-20", "customer": "对照回收客户", "customer_type": "unknown", "salesperson": "娜娜", "member": "assistant", "note": "", "old_pocket": "回收旧料", "old_lines": [ { "name": "Au旧料", "incoming_weight": "10.000", "melted_weight": "10.000", "purity": "100" } ], "buy_rate": "900.00", "buy_total": "9000.00", "payer": "assistant", "payment_account": "助理微信", "verified": true }, "permissions": { "canEdit": true, "canCancel": true, "canDirect": true, "requiresApproval": false, "requiresLegacyCountVerified": false, "legacyCountNotice": "", "reason": "" }, "blockedUsages": [], "pending": null, "history": [] } }, { "seq": 520, "label": "recovery-update-same-day", "date": "2026-11-20", "actor": "assistant", "method": "POST", "path": "/api/recoveries//update", "key": "golden-00206-recovery-update-same-day", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "mode": "direct", "date": "2026-11-20", "customer": "对照回收客户", "customer_type": "unknown", "salesperson": "娜娜", "member": "assistant", "note": "", "old_pocket": "回收旧料", "old_lines": [ { "name": "Au旧料", "incoming_weight": "10.000", "melted_weight": "10.000", "purity": "100" } ], "buy_rate": "905", "buy_total": "9000.00", "payer": "assistant", "payment_account": "助理微信", "verified": true, "revision": 1, "reason": "当天更正" } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "", "applied": true, "pending": false, "requestId": "", "request": { "id": "", "recoveryId": "", "revision": 1, "recoveryRevision": 1, "action": "update", "status": "approved", "reason": "当天更正", "before": { "mode": "direct", "date": "2026-11-20", "customer": "对照回收客户", "customer_type": "unknown", "salesperson": "娜娜", "member": "assistant", "note": "", "old_pocket": "回收旧料", "old_lines": [ { "name": "Au旧料", "incoming_weight": "10.000", "melted_weight": "10.000", "purity": "100" } ], "buy_rate": "900.00", "buy_total": "9000.00", "payer": "assistant", "payment_account": "助理微信", "verified": true }, "after": { "mode": "direct", "date": "2026-11-20", "customer": "对照回收客户", "customer_type": "unknown", "salesperson": "娜娜", "member": "assistant", "note": "", "old_pocket": "回收旧料", "old_lines": [ { "name": "Au旧料", "incoming_weight": "10.000", "melted_weight": "10.000", "purity": "100" } ], "buy_rate": "905.00", "buy_total": "9000.00", "payer": "assistant", "payment_account": "助理微信", "verified": true }, "summary": { "before": { "mode": "direct", "date": "2026-11-20", "oldMg": 10000, "newMg": 0, "purchaseMg": 10000, "purchaseAmount": 900000, "receivable": 0, "cashReceipt": 0, "cashPayment": 900000, "offsetAmount": 0, "goodsCost": 0, "directCost": 0, "profit": 0 }, "after": { "mode": "direct", "date": "2026-11-20", "oldMg": 10000, "newMg": 0, "purchaseMg": 10000, "purchaseAmount": 900000, "receivable": 0, "cashReceipt": 0, "cashPayment": 900000, "offsetAmount": 0, "goodsCost": 0, "directCost": 0, "profit": 0 }, "affectedDates": [ "2026-11-20" ], "blockedUsages": [], "requiresLegacyCountVerified": false, "legacyCountNotice": "", "legacyCountVerified": false }, "requesterName": "助理", "requesterMember": "assistant", "member": "assistant", "created": "2026-11-20T02:00:25.000Z", "reviewerName": "助理", "reviewed": "2026-11-20T02:00:25.000Z", "note": "", "stale": false, "canApprove": false }, "recovery": { "mode": "direct", "date": "2026-11-20", "customer": "对照回收客户", "customer_type": "unknown", "salesperson": "娜娜", "member": "assistant", "note": "", "old_lines": [ { "name": "Au旧料", "incomingMg": 10000, "meltedMg": 10000, "purity": 100, "foldedMg": 10000 } ], "oldMg": 10000, "oldPocket": "回收旧料", "credit_card_rate_permille": 6, "newMg": 0, "matchedMg": 0, "differenceMg": 0, "surplusMg": 10000, "goldRate": 0, "laborRate": 0, "laborMode": "gram", "depreciationRate": 0, "depreciationMg": 0, "goldAmount": 0, "laborAmount": 0, "depreciationAmount": 0, "charges": [], "chargesAmount": 0, "discount": 0, "rounding_mode": "cent", "rounding_adjustment": 0, "receivable": 0, "payer": "assistant", "payment_account": "助理微信", "materialCost": 0, "laborCost": 0, "goodsCost": 0, "directCost": 0, "profit": 0, "purchaseMg": 10000, "buyRate": 90500, "calculatedPurchaseAmount": 905000, "purchaseAmount": 900000, "actualBuyRate": 90000, "offsetAmount": 0, "netSettlement": -900000, "cashReceipt": 0, "cashPayment": 900000, "cardFee": 0, "paymentMethods": [ "微信" ], "id": "", "number": "HS202611200003", "order_id": null, "purchase_id": "", "created": "2026-11-20T02:00:20.000Z", "actor": "助理", "revision": 2, "materialBatch": { "purchaseId": "", "recoveryId": "", "member": "assistant", "mg": 10000, "usedMg": 0, "remainingMg": 10000, "usages": [] }, "status": "active", "cancelledAt": "", "canEdit": true, "canCancel": true, "pendingRequestId": null, "immutableReason": "本单关联黄金回收/置换、购料及库存,暂不支持普通订单修改、取消、退款、退货或费用变更,请保留原关联记录" } } }, { "seq": 521, "label": "recovery-owner-direct-edit-context", "date": "2026-11-20", "actor": "owner", "method": "GET", "path": "/api/recoveries//edit", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "", "revision": 1, "status": "active", "record": { "mode": "direct", "date": "2026-11-20", "customer": "对照回收客户", "customer_type": "unknown", "salesperson": "麦麦", "member": "owner", "note": "", "old_lines": [ { "name": "Au旧料", "incomingMg": 3000, "meltedMg": 3000, "purity": 100, "foldedMg": 3000 } ], "oldMg": 3000, "oldPocket": "回收旧料", "credit_card_rate_permille": 6, "newMg": 0, "matchedMg": 0, "differenceMg": 0, "surplusMg": 3000, "goldRate": 0, "laborRate": 0, "laborMode": "gram", "depreciationRate": 0, "depreciationMg": 0, "goldAmount": 0, "laborAmount": 0, "depreciationAmount": 0, "charges": [], "chargesAmount": 0, "discount": 0, "rounding_mode": "cent", "rounding_adjustment": 0, "receivable": 0, "payer": "owner", "payment_account": "麦麦现金", "materialCost": 0, "laborCost": 0, "goodsCost": 0, "directCost": 0, "profit": 0, "purchaseMg": 3000, "buyRate": 90000, "calculatedPurchaseAmount": 270000, "purchaseAmount": 270000, "actualBuyRate": 90000, "offsetAmount": 0, "netSettlement": -270000, "cashReceipt": 0, "cashPayment": 270000, "cardFee": 0, "paymentMethods": [ "现金" ], "id": "", "number": "HS202611200004", "order_id": null, "purchase_id": "", "created": "2026-11-20T02:00:21.000Z", "actor": "麦麦", "revision": 1, "materialBatch": { "purchaseId": "", "recoveryId": "", "member": "owner", "mg": 3000, "usedMg": 0, "remainingMg": 3000, "usages": [] }, "status": "active", "cancelledAt": "", "canEdit": true, "canCancel": true, "pendingRequestId": null, "immutableReason": "本单关联黄金回收/置换、购料及库存,暂不支持普通订单修改、取消、退款、退货或费用变更,请保留原关联记录", "printStatus": { "kind": "recovery", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, "inputs": { "mode": "direct", "date": "2026-11-20", "customer": "对照回收客户", "customer_type": "unknown", "salesperson": "麦麦", "member": "owner", "note": "", "old_pocket": "回收旧料", "old_lines": [ { "name": "Au旧料", "incoming_weight": "3.000", "melted_weight": "3.000", "purity": "100" } ], "buy_rate": "900.00", "buy_total": "2700.00", "payer": "owner", "payment_account": "麦麦现金", "verified": true }, "permissions": { "canEdit": true, "canCancel": true, "canDirect": true, "requiresApproval": false, "requiresLegacyCountVerified": false, "legacyCountNotice": "", "reason": "" }, "blockedUsages": [], "pending": null, "history": [] } }, { "seq": 522, "label": "recovery-cancel-owner-direct", "date": "2026-11-20", "actor": "owner", "method": "POST", "path": "/api/recoveries//cancel", "key": "golden-00207-recovery-cancel-owner-direct", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "revision": 1, "reason": "录错", "verified": true } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "", "applied": true, "pending": false, "requestId": "", "request": { "id": "", "recoveryId": "", "revision": 1, "recoveryRevision": 1, "action": "cancel", "status": "approved", "reason": "录错", "before": { "mode": "direct", "date": "2026-11-20", "customer": "对照回收客户", "customer_type": "unknown", "salesperson": "麦麦", "member": "owner", "note": "", "old_pocket": "回收旧料", "old_lines": [ { "name": "Au旧料", "incoming_weight": "3.000", "melted_weight": "3.000", "purity": "100" } ], "buy_rate": "900.00", "buy_total": "2700.00", "payer": "owner", "payment_account": "麦麦现金", "verified": true }, "after": null, "summary": { "before": { "mode": "direct", "date": "2026-11-20", "oldMg": 3000, "newMg": 0, "purchaseMg": 3000, "purchaseAmount": 270000, "receivable": 0, "cashReceipt": 0, "cashPayment": 270000, "offsetAmount": 0, "goodsCost": 0, "directCost": 0, "profit": 0 }, "after": null, "affectedDates": [ "2026-11-20" ], "blockedUsages": [], "requiresLegacyCountVerified": false, "legacyCountNotice": "", "legacyCountVerified": false }, "requesterName": "麦麦", "requesterMember": "owner", "member": "owner", "created": "2026-11-20T02:00:27.000Z", "reviewerName": "麦麦", "reviewed": "2026-11-20T02:00:27.000Z", "note": "", "stale": false, "canApprove": false }, "recovery": { "mode": "direct", "date": "2026-11-20", "customer": "对照回收客户", "customer_type": "unknown", "salesperson": "麦麦", "member": "owner", "note": "", "old_lines": [ { "name": "Au旧料", "incomingMg": 3000, "meltedMg": 3000, "purity": 100, "foldedMg": 3000 } ], "oldMg": 3000, "oldPocket": "回收旧料", "credit_card_rate_permille": 6, "newMg": 0, "matchedMg": 0, "differenceMg": 0, "surplusMg": 3000, "goldRate": 0, "laborRate": 0, "laborMode": "gram", "depreciationRate": 0, "depreciationMg": 0, "goldAmount": 0, "laborAmount": 0, "depreciationAmount": 0, "charges": [], "chargesAmount": 0, "discount": 0, "rounding_mode": "cent", "rounding_adjustment": 0, "receivable": 0, "payer": "owner", "payment_account": "麦麦现金", "materialCost": 0, "laborCost": 0, "goodsCost": 0, "directCost": 0, "profit": 0, "purchaseMg": 3000, "buyRate": 90000, "calculatedPurchaseAmount": 270000, "purchaseAmount": 270000, "actualBuyRate": 90000, "offsetAmount": 0, "netSettlement": -270000, "cashReceipt": 0, "cashPayment": 270000, "cardFee": 0, "paymentMethods": [ "现金" ], "id": "", "number": "HS202611200004", "order_id": null, "purchase_id": "", "created": "2026-11-20T02:00:21.000Z", "actor": "麦麦", "revision": 2, "materialBatch": { "purchaseId": "", "recoveryId": "", "member": "owner", "mg": 3000, "usedMg": 0, "remainingMg": 0, "usages": [] }, "status": "cancelled", "cancelledAt": "2026-11-20T02:00:27.000Z", "canEdit": false, "canCancel": false, "pendingRequestId": null, "immutableReason": "本单关联黄金回收/置换、购料及库存,暂不支持普通订单修改、取消、退款、退货或费用变更,请保留原关联记录" } } }, { "seq": 523, "label": "material-pool-after-recovery", "date": "2026-11-20", "actor": "owner", "method": "GET", "path": "/api/material-pools/2026-11-20", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "2026-11-20", "date": "2026-11-20", "rolling": true, "frozen": false, "totalMg": 36000, "totalAmount": 3274167, "usedMg": 0, "remainingMg": 36000, "shortageMg": 0, "consumedCost": 0, "remainingCost": 3274167, "remainingAllocations": [ { "payer": "assistant", "amount": 536167, "source_id": "", "created": "2026-11-18T02:01:09.000Z", "source_sequence": 1 }, { "payer": "owner", "amount": 1820000, "source_id": "", "created": "2026-11-18T02:01:10.000Z", "source_sequence": 2 }, { "payer": "assistant2", "amount": 88000, "source_id": "return::material:0", "created": "2026-11-19T02:01:05.000Z" }, { "payer": "assistant", "amount": 460000, "source_id": "", "created": "2026-11-19T02:02:19.000Z" }, { "payer": "assistant2", "amount": 370000, "source_id": "", "created": "2026-11-19T02:02:20.000Z" } ], "byPayer": { "owner": { "purchased": 1820000, "consumed": 0, "remaining": 1820000 }, "assistant": { "purchased": 996167, "consumed": 0, "remaining": 996167 }, "assistant2": { "purchased": 458000, "consumed": 0, "remaining": 458000 } }, "averageRate": 90949, "status": "unused", "revision": "678541b34cc886d415b60b583a73eef3c0477ecf0ccf06c4af8c3fa902a549da", "opening": { "mg": 36000, "amount": 3274167, "allocations": [ { "payer": "assistant", "amount": 536167, "source_id": "", "created": "2026-11-18T02:01:09.000Z", "source_sequence": 1 }, { "payer": "owner", "amount": 1820000, "source_id": "", "created": "2026-11-18T02:01:10.000Z", "source_sequence": 2 }, { "payer": "assistant2", "amount": 88000, "source_id": "return::material:0", "created": "2026-11-19T02:01:05.000Z" }, { "payer": "assistant", "amount": 460000, "source_id": "", "created": "2026-11-19T02:02:19.000Z" }, { "payer": "assistant2", "amount": 370000, "source_id": "", "created": "2026-11-19T02:02:20.000Z" } ], "pending": false }, "todayPurchases": { "mg": 0, "amount": 0, "count": 0, "items": [] }, "todayReturns": { "mg": 0, "amount": 0, "count": 0, "grossMg": 0, "grossAmount": 0, "grossCount": 0 }, "returns": [], "purchases": [ { "id": "carry:2026-11-20", "date": "2026-11-20", "mg": 36000, "amount": 3274167, "payer": "assistant", "allocations": [ { "payer": "assistant", "amount": 536167, "source_id": "", "created": "2026-11-18T02:01:09.000Z", "source_sequence": 1 }, { "payer": "owner", "amount": 1820000, "source_id": "", "created": "2026-11-18T02:01:10.000Z", "source_sequence": 2 }, { "payer": "assistant2", "amount": 88000, "source_id": "return::material:0", "created": "2026-11-19T02:01:05.000Z" }, { "payer": "assistant", "amount": 460000, "source_id": "", "created": "2026-11-19T02:02:19.000Z" }, { "payer": "assistant2", "amount": 370000, "source_id": "", "created": "2026-11-19T02:02:20.000Z" } ], "created": "2026-11-20T00:00:00.000Z", "note": "以前结转", "sourceKind": "carry", "cashAmount": 0, "canEdit": false, "canRequestChange": false, "ownerReviewRequired": false } ], "usages": [], "settlements": [], "settlement": { "legacyReadOnly": true, "settlementDue": 0, "assistantInventoryCredit": 0, "transferred": 0, "pending": false }, "materialGroups": [ { "key": "public", "kind": "public", "member": null, "purchases": [ { "id": "carry:2026-11-20", "date": "2026-11-20", "mg": 36000, "amount": 3274167, "payer": "assistant", "allocations": [ { "payer": "assistant", "amount": 536167, "source_id": "", "created": "2026-11-18T02:01:09.000Z", "source_sequence": 1 }, { "payer": "owner", "amount": 1820000, "source_id": "", "created": "2026-11-18T02:01:10.000Z", "source_sequence": 2 }, { "payer": "assistant2", "amount": 88000, "source_id": "return::material:0", "created": "2026-11-19T02:01:05.000Z" }, { "payer": "assistant", "amount": 460000, "source_id": "", "created": "2026-11-19T02:02:19.000Z" }, { "payer": "assistant2", "amount": 370000, "source_id": "", "created": "2026-11-19T02:02:20.000Z" } ], "created": "2026-11-20T00:00:00.000Z", "note": "以前结转", "sourceKind": "carry", "cashAmount": 0, "canEdit": false } ], "totalMg": 36000, "totalAmount": 3274167, "averageRate": 90949 }, { "key": "personal:assistant", "kind": "personal_recovery", "member": "assistant", "purchases": [ { "id": "", "pool_id": "2026-11-20", "date": "2026-11-20", "mg": 10000, "amount": 900000, "payer": "assistant", "note": "直接回收 · HS202611200003", "actor": "助理", "created": "2026-11-20T02:00:20.000Z", "revision": 2, "deleted_at": "", "updated": "2026-11-20T02:00:25.000Z", "source_sequence": 7, "materialOwner": "assistant", "materialKind": "personal_recovery", "recoveryId": "", "recovery_id": "", "cashAmount": 900000, "offsetAmount": 0, "allocations": [ { "payer": "assistant", "amount": 900000, "source": "cash" } ], "canEdit": false, "sourceKind": "purchase" } ], "totalMg": 10000, "totalAmount": 900000, "averageRate": 90000 } ], "personalPools": { "assistant": { "key": "personal:assistant", "kind": "personal_recovery", "member": "assistant", "purchases": [ { "id": "", "pool_id": "2026-11-20", "date": "2026-11-20", "mg": 10000, "amount": 900000, "payer": "assistant", "note": "直接回收 · HS202611200003", "actor": "助理", "created": "2026-11-20T02:00:20.000Z", "revision": 2, "deleted_at": "", "updated": "2026-11-20T02:00:25.000Z", "source_sequence": 7, "materialOwner": "assistant", "materialKind": "personal_recovery", "recoveryId": "", "recovery_id": "", "cashAmount": 900000, "offsetAmount": 0, "allocations": [ { "payer": "assistant", "amount": 900000, "source": "cash" } ], "canEdit": false, "sourceKind": "purchase" } ], "totalMg": 10000, "totalAmount": 900000, "averageRate": 90000, "usedMg": 0, "consumedCost": 0, "remainingMg": 10000, "remainingCost": 900000, "remainingAllocations": [ { "payer": "assistant", "amount": 900000, "source": "cash" } ], "remainingBatches": [ { "purchaseId": "", "recoveryId": "", "mg": 10000 } ], "shortageMg": 0, "status": "unused", "byPayer": { "owner": { "purchased": 0, "consumed": 0, "remaining": 0 }, "assistant": { "purchased": 900000, "consumed": 0, "remaining": 900000 }, "assistant2": { "purchased": 0, "consumed": 0, "remaining": 0 } }, "date": "2026-11-20", "id": "2026-11-20" } }, "remainingMaterialGroups": [ { "kind": "public", "member": null, "mg": 36000, "amount": 3274167, "allocations": [ { "payer": "assistant", "amount": 536167, "source_id": "", "created": "2026-11-18T02:01:09.000Z", "source_sequence": 1 }, { "payer": "owner", "amount": 1820000, "source_id": "", "created": "2026-11-18T02:01:10.000Z", "source_sequence": 2 }, { "payer": "assistant2", "amount": 88000, "source_id": "return::material:0", "created": "2026-11-19T02:01:05.000Z" }, { "payer": "assistant", "amount": 460000, "source_id": "", "created": "2026-11-19T02:02:19.000Z" }, { "payer": "assistant2", "amount": 370000, "source_id": "", "created": "2026-11-19T02:02:20.000Z" } ], "batches": [ { "purchaseId": "carry:2026-11-20", "mg": 36000 } ] }, { "kind": "personal_recovery", "member": "assistant", "mg": 10000, "amount": 900000, "allocations": [ { "payer": "assistant", "amount": 900000, "source": "cash" } ], "batches": [ { "purchaseId": "", "recoveryId": "", "mg": 10000 } ] } ], "eligibleMember": "owner", "eligibleRemainingMg": 36000, "eligibleRemainingAmount": 3274167, "eligibleAverageRate": 90949, "eligibleStatus": "ready", "legacyReadOnly": true } }, { "seq": 524, "note": "section", "name": "knownIssueAfterSaleAfterRecovery" }, { "seq": 525, "label": "issue-known-issue", "date": "2026-11-20", "actor": "assistant", "method": "POST", "path": "/api/orders/issue", "key": "golden-00208-issue-known-issue", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "date": "2026-11-20", "customer": "留档客户", "internal_note": "留档备注", "salesperson": "娜娜", "payment_account": "助理微信", "rounding_mode": "cent", "lines": [ { "name": "足金手链", "unit": "g", "quantity": "2", "pocket": "现货", "payer": "assistant", "sale": "2000", "costParts": { "material": "1800", "labor": "50", "accessories": "0", "other": "0" } } ], "fee_items": [] } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "" } }, { "seq": 526, "label": "recovery-known-issue", "date": "2026-11-20", "actor": "assistant", "method": "POST", "path": "/api/recoveries", "key": "golden-00209-recovery-known-issue", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "mode": "direct", "date": "2026-11-20", "customer": "留档回收客户", "salesperson": "娜娜", "old_lines": [ { "name": "Au旧料", "incoming_weight": "2", "melted_weight": "2", "purity": "100" } ], "buy_rate": "900", "payer": "assistant", "payment_account": "助理微信", "verified": true } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "mode": "direct", "date": "2026-11-20", "customer": "留档回收客户", "customer_type": "unknown", "salesperson": "娜娜", "member": "assistant", "note": "", "old_lines": [ { "name": "Au旧料", "incomingMg": 2000, "meltedMg": 2000, "purity": 100, "foldedMg": 2000 } ], "oldMg": 2000, "oldPocket": "回收旧料", "credit_card_rate_permille": 6, "newMg": 0, "matchedMg": 0, "differenceMg": 0, "surplusMg": 2000, "goldRate": 0, "laborRate": 0, "laborMode": "gram", "depreciationRate": 0, "depreciationMg": 0, "goldAmount": 0, "laborAmount": 0, "depreciationAmount": 0, "charges": [], "chargesAmount": 0, "discount": 0, "rounding_mode": "cent", "rounding_adjustment": 0, "receivable": 0, "payer": "assistant", "payment_account": "助理微信", "materialCost": 0, "laborCost": 0, "goodsCost": 0, "directCost": 0, "profit": 0, "purchaseMg": 2000, "buyRate": 90000, "calculatedPurchaseAmount": 180000, "purchaseAmount": 180000, "actualBuyRate": 90000, "offsetAmount": 0, "netSettlement": -180000, "cashReceipt": 0, "cashPayment": 180000, "cardFee": 0, "paymentMethods": [ "微信" ], "id": "", "number": "HS202611200005", "order_id": null, "purchase_id": "", "created": "2026-11-20T02:00:30.000Z", "actor": "助理", "revision": 1, "materialBatch": { "purchaseId": "", "recoveryId": "", "member": "assistant", "mg": 2000, "usedMg": 0, "remainingMg": 2000, "usages": [] }, "status": "active", "cancelledAt": "", "canEdit": true, "canCancel": true, "pendingRequestId": null, "immutableReason": "本单关联黄金回收/置换、购料及库存,暂不支持普通订单修改、取消、退款、退货或费用变更,请保留原关联记录" } }, { "seq": 527, "label": "known-issue-order", "date": "2026-11-20", "actor": "assistant", "method": "GET", "path": "/api/orders/", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "id": "", "number": "MM20261120-", "date": "2026-11-20", "customer": "留档客户", "salesperson": "娜娜", "note": "", "paper_number": "20261120017", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 2000, "pocket": "现货", "payer": "assistant", "cost": 185000, "costParts": { "material": 180000, "labor": 5000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 200000, "baseSale": 200000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 200000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-20T02:00:29.000Z", "delivered_date": "2026-11-20", "returned_date": null, "paper_date": "2026-11-20", "payment_account": "助理微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "留档备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": null, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-20", "kind": "receipt", "amount": 200000, "account": "助理微信", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-20T02:00:29.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 200000, "refunded": 0, "netReceived": 200000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 185000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 185000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 15000, "profit": 15000, "knownProfit": 15000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "audit": [ { "action": "生成已交付单据", "actor": "助理", "detail": { "amount": 200000, "account": "助理微信", "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-20T02:00:29.000Z" }, { "action": "complete", "actor": "助理", "detail": { "date": "2026-11-20", "verified": true, "revision": 4, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-20T02:00:29.000Z" }, { "action": "deliver", "actor": "助理", "detail": { "date": "2026-11-20", "verified": true, "revision": 4, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-20T02:00:29.000Z" }, { "action": "receipt", "actor": "助理", "detail": { "date": "2026-11-20", "amount": "2000.00", "account": "助理微信", "credit_card_fee_payer": "owner", "verified": true, "reference": "开单时已全额收款", "revision": 3, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-20T02:00:29.000Z" }, { "action": "confirm", "actor": "助理", "detail": { "date": "2026-11-20", "revision": 2, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-20T02:00:29.000Z" }, { "action": "保存草稿", "actor": "助理", "detail": { "revision": 1, "actorIdentity": { "id": "", "role": "assistant", "member": "assistant" } }, "created": "2026-11-20T02:00:29.000Z" } ], "sync": { "revision": 4, "done_revision": 0, "error": null, "updated": "2026-11-20T02:00:29.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } } }, { "seq": 528, "label": "known-issue-after-sale-rejected", "date": "2026-11-20", "actor": "assistant", "method": "POST", "path": "/api/orders//return", "key": "golden-00210-known-issue-after-sale-rejected", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "date": "2026-11-20", "revision": 4, "verified": true, "reason": "当天退回", "afterSale": { "lines": [ { "lineIndex": 0, "quantity": "1.000", "pocket": "现货", "disposition": "stock" } ], "refund": { "amount": "900", "account": "助理微信", "payer": "assistant" }, "deductionReason": "客户确认", "expenses": [] } } }, "status": 400, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "error": "料池实际批次克重不足" } }, { "seq": 529, "note": "section", "name": "dayThreeReads" }, { "seq": 530, "label": "final-state-owner", "date": "2026-11-20", "actor": "owner", "method": "GET", "path": "/api/state", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "today": "2026-11-20", "mode": "trial", "user": { "id": "", "name": "麦麦", "role": "owner", "member": "owner", "operatorName": "麦麦", "label": "麦麦" }, "members": [ { "member": "owner", "label": "麦麦", "enabled": true }, { "member": "assistant", "label": "娜娜", "enabled": true }, { "member": "assistant2", "label": "小昊", "enabled": true } ], "shopSettings": { "version": 1, "revision": 7, "storeName": "黄金对照珠宝", "receiptSubtitle": "黄金对照销售单", "contact": "联系电话 000-0000", "members": [ { "member": "owner", "label": "麦麦", "loginName": "麦麦", "operatorName": "" }, { "member": "assistant", "label": "娜娜", "loginName": "助理", "operatorName": "" }, { "member": "assistant2", "label": "小昊", "loginName": "助理2", "operatorName": "" } ], "creditCardRatePermille": 6, "profitSharePercent": 30, "profitShareEffectiveMonth": "2000-01", "profitShareHistory": [ { "month": "2000-01", "percent": 30 } ], "costPresets": { "jd": { "amount": "8", "payer": "owner" }, "yt": { "amount": "6", "payer": "order" }, "box": { "amount": "3", "payer": "owner" }, "steel": { "amount": "7", "payer": "owner" }, "silver": { "amount": "18", "payer": "owner" } }, "feeDefaults": { "certificate": "4", "packaging": "3", "shipping": "8", "packagingPayer": "owner" } }, "pockets": [ "现货", "金料", "找金", "回收旧料", "君宝汇", "pocket_" ], "pocketCatalog": [ { "key": "现货", "name": "现货", "active": true, "self": true, "builtin": true, "revision": 1, "created": "2026-11-18T02:00:00.000Z", "updated": "2026-11-18T02:00:00.000Z", "countUnit": null, "countSince": null }, { "key": "金料", "name": "金料", "active": true, "self": true, "builtin": true, "revision": 1, "created": "2026-11-18T02:00:00.000Z", "updated": "2026-11-18T02:00:00.000Z", "countUnit": null, "countSince": null }, { "key": "找金", "name": "找金", "active": true, "self": false, "builtin": true, "revision": 1, "created": "2026-11-18T02:00:00.000Z", "updated": "2026-11-18T02:00:00.000Z", "countUnit": null, "countSince": null }, { "key": "回收旧料", "name": "回收旧料", "active": true, "self": true, "builtin": true, "revision": 1, "created": "2026-11-18T02:00:00.000Z", "updated": "2026-11-18T02:00:00.000Z", "countUnit": null, "countSince": null }, { "key": "君宝汇", "name": "君宝汇", "active": true, "self": false, "builtin": true, "revision": 1, "created": "2026-11-18T02:00:00.000Z", "updated": "2026-11-18T02:00:00.000Z", "countUnit": null, "countSince": null }, { "key": "臻金汇", "name": "臻金汇", "active": false, "self": false, "builtin": true, "revision": 1, "created": "2026-11-18T02:00:00.000Z", "updated": "2026-11-18T02:00:00.000Z", "countUnit": null, "countSince": null }, { "key": "金金", "name": "金金", "active": false, "self": false, "builtin": true, "revision": 1, "created": "2026-11-18T02:00:00.000Z", "updated": "2026-11-18T02:00:00.000Z", "countUnit": null, "countSince": null }, { "key": "定制工厂", "name": "定制工厂", "active": false, "self": false, "builtin": true, "revision": 1, "created": "2026-11-18T02:00:00.000Z", "updated": "2026-11-18T02:00:00.000Z", "countUnit": null, "countSince": null }, { "key": "pocket_", "name": "展柜A(主)", "active": true, "self": true, "builtin": false, "revision": 2, "created": "2026-11-18T02:00:32.000Z", "updated": "2026-11-18T02:00:34.000Z", "countUnit": null, "countSince": null } ], "accounts": [ "助理微信", "助理支付宝", "助理现金", "麦麦微信", "麦麦支付宝", "麦麦现金", "麦麦信用卡", "助理2微信", "助理2支付宝", "助理2现金" ], "inventory": [ { "pocket": "现货", "mg": 65950, "reserved": 0, "available": 65950 }, { "pocket": "金料", "mg": 56000, "reserved": 0, "available": 56000 }, { "pocket": "找金", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "回收旧料", "mg": 20092, "reserved": 0, "available": 20092 }, { "pocket": "君宝汇", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "臻金汇", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "金金", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "定制工厂", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "pocket_", "mg": 10000, "reserved": 0, "available": 10000 } ], "orders": [ { "id": "", "number": "MM20261120-", "date": "2026-11-20", "customer": "留档客户", "salesperson": "娜娜", "note": "", "paper_number": "20261120017", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 2000, "pocket": "现货", "payer": "assistant", "cost": 185000, "costParts": { "material": 180000, "labor": 5000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 200000, "baseSale": 200000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 200000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-20T02:00:29.000Z", "delivered_date": "2026-11-20", "returned_date": null, "paper_date": "2026-11-20", "payment_account": "助理微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "留档备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": null, "ownershipPending": null, "ownershipApproved": null, "corrections": [], "received": 200000, "refunded": 0, "netReceived": 200000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 185000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 185000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 15000, "profit": 15000, "knownProfit": 15000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "sync": { "revision": 4, "done_revision": 0, "error": null, "updated": "2026-11-20T02:00:29.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 }, { "id": "", "number": "MM20261119-", "date": "2026-11-19", "customer": "安全测试", "salesperson": "娜娜", "note": "", "paper_number": "20261119016", "status": "delivered", "lines": [ { "name": "足金转运珠", "code": "", "unit": "g", "quantity": 500, "pocket": "现货", "payer": "assistant", "cost": 42000, "sale": 50000, "baseSale": 50000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 50000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-19T02:02:51.000Z", "delivered_date": "2026-11-19", "returned_date": null, "paper_date": "2026-11-19", "payment_account": "助理微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "安全测试备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": null, "ownershipPending": null, "ownershipApproved": null, "corrections": [], "received": 50000, "refunded": 0, "netReceived": 50000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 42000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 42000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 8000, "profit": 8000, "knownProfit": 8000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "sync": { "revision": 4, "done_revision": 0, "error": null, "updated": "2026-11-19T02:02:51.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 }, { "id": "", "number": "MM20261119-", "date": "2026-11-19", "customer": "滚动料池客户", "salesperson": "娜娜", "note": "", "paper_number": "20261119015", "status": "delivered", "lines": [ { "name": "足金999", "code": "", "unit": "g", "quantity": 2000, "pocket": "", "payer": "assistant", "cost": 181898, "costParts": { "material": 181898, "labor": 0, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "pool", "poolId": "2026-11-19" }, "costLabor": { "mode": "total" }, "sale": 220000, "baseSale": 220000, "charges": [], "pricingMode": "manual", "priceNote": "", "materialPool": { "poolId": "2026-11-19", "date": "2026-11-19", "status": "allocated", "amount": 181898, "quantity": 2000, "averageRate": 90949, "allocations": [ { "payer": "assistant", "amount": 181898 } ], "revision": "278a6986270886d53a62e969a467ca9cc287fb29d2d3db30e437b74501f04dfc", "rolling": true } } ], "discount": 0, "total": 220000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-19T02:02:40.000Z", "delivered_date": "2026-11-19", "returned_date": null, "paper_date": "2026-11-19", "payment_account": "助理微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "滚动料池备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": null, "ownershipPending": null, "ownershipApproved": null, "corrections": [], "received": 220000, "refunded": 0, "netReceived": 220000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 181898, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 181898, "pendingFees": [], "draftFees": 0, "estimatedProfit": 38102, "profit": 38102, "knownProfit": 38102, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "sync": { "revision": 4, "done_revision": 0, "error": null, "updated": "2026-11-19T02:02:40.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 }, { "id": "", "number": "MM20261119-", "date": "2026-11-19", "customer": "当天取消客户", "salesperson": "娜娜", "note": "", "paper_number": "20261119014", "status": "cancelled", "lines": [ { "name": "足金吊坠", "code": "", "unit": "g", "quantity": 2000, "pocket": "现货", "payer": "assistant", "cost": 180000, "sale": 210000, "baseSale": 210000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 210000, "revision": 5, "reviewed_revision": 0, "created": "2026-11-19T02:01:57.000Z", "delivered_date": "2026-11-19", "returned_date": null, "paper_date": "2026-11-19", "payment_account": "助理微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "当天单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant", "cancellationPending": null, "cancellationApproved": { "id": "", "status": "approved", "order_revision": 4, "reason": "当天录错", "requester_name": "助理", "created": "2026-11-19T02:01:59.000Z", "reviewer_name": null, "reviewed": null, "note": "", "direct": true, "operator_name": "助理", "executedAt": "2026-11-19T02:01:59.000Z" }, "changePending": null, "changeApproved": null, "ownershipPending": null, "ownershipApproved": null, "corrections": [ { "target": "", "type": "payment", "reason": "当天录错", "actor": "助理", "created": "2026-11-19T02:01:59.000Z" } ], "received": 0, "refunded": 0, "netReceived": 0, "balance": 0, "rounding_adjustment": 0, "goodsCost": 180000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 180000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 30000, "profit": 0, "knownProfit": 0, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "sync": { "revision": 5, "done_revision": 0, "error": null, "updated": "2026-11-19T02:01:59.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 }, { "id": "", "number": "MM20261119-", "date": "2026-11-19", "customer": "当天客户(改)", "salesperson": "娜娜", "note": "", "paper_number": "20261119013", "status": "delivered", "lines": [ { "name": "足金吊坠", "code": "", "unit": "g", "quantity": 2000, "pocket": "现货", "payer": "assistant", "cost": 180000, "sale": 210000, "baseSale": 210000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 210000, "revision": 7, "reviewed_revision": 0, "created": "2026-11-19T02:01:48.000Z", "delivered_date": "2026-11-19", "returned_date": null, "paper_date": "2026-11-19", "payment_account": "助理微信", "fee_items": [], "fees_date": "2026-11-19", "rounding_mode": "cent", "internal_note": "当天单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": null, "ownershipPending": null, "ownershipApproved": { "id": "", "status": "approved", "order_revision": 6, "before": { "member": "assistant", "label": "娜娜" }, "after": { "member": "assistant2", "label": "小昊" }, "reason": "实际由小昊接待", "requester_name": "助理", "created": "2026-11-19T02:01:54.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:01:56.000Z", "note": "核实", "direct": false }, "corrections": [], "received": 210000, "refunded": 0, "netReceived": 210000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 180000, "directCost": 800, "materialCostPending": false, "knownGoodsCost": 180000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 29200, "profit": 29200, "knownProfit": 29200, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "sync": { "revision": 7, "done_revision": 0, "error": null, "updated": "2026-11-19T02:01:56.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 }, { "id": "", "number": "MM20261119-", "date": "2026-11-19", "customer": "对照换货客户二", "salesperson": "娜娜", "note": "", "paper_number": "20261119012", "status": "cancelled", "lines": [ { "name": "足金对照新货", "code": "", "unit": "g", "quantity": 6000, "pocket": "现货", "payer": "assistant", "costPayers": { "material": "assistant", "labor": "assistant" }, "cost": 106410, "costParts": { "material": 103410, "labor": 3000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total", "rate": 90000, "consumptionMg": 1149 }, "costLabor": { "mode": "gram", "rate": 500 }, "sale": 131751, "baseSale": 131751, "charges": [], "pricingMode": "manual", "priceNote": "补金 1.149克 × 1000.00元;新货工费 120.00元;折旧 48.51元", "recoveryMaterialMg": 1149, "recovery_id": "" } ], "discount": 1000, "total": 130800, "revision": 5, "reviewed_revision": 0, "created": "2026-11-19T02:01:33.000Z", "delivered_date": "2026-11-19", "returned_date": null, "paper_date": "2026-11-19", "payment_account": "助理微信", "fee_items": [], "fees_date": "", "rounding_mode": "yuan", "internal_note": "", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": null, "ownershipPending": null, "ownershipApproved": null, "corrections": [ { "target": "", "type": "payment", "reason": "录错", "actor": "麦麦", "created": "2026-11-20T02:00:15.000Z" } ], "received": 0, "refunded": 0, "netReceived": 0, "balance": 130800, "recovery_id": "", "recovery_mode": "exchange", "recovery_immutable_reason": "本单关联黄金回收/置换、购料及库存,暂不支持普通订单修改、取消、退款、退货或费用变更,请保留原关联记录", "nonCashOffset": 0, "cashPaid": 0, "netSettlement": 0, "rounding_adjustment": 49, "goodsCost": 106410, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 106410, "pendingFees": [], "draftFees": 0, "estimatedProfit": 24390, "profit": 0, "knownProfit": 0, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "sync": { "revision": 5, "done_revision": 0, "error": null, "updated": "2026-11-20T02:00:15.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 }, { "id": "", "number": "MM20261119-", "date": "2026-11-19", "customer": "对照换货客户", "salesperson": "小昊", "note": "", "paper_number": "20261119011", "status": "delivered", "lines": [ { "name": "足金对照新货", "code": "", "unit": "g", "quantity": 12000, "pocket": "现货", "payer": "assistant2", "costPayers": { "material": "assistant2", "labor": "assistant2" }, "cost": 357720, "costParts": { "material": 351720, "labor": 6000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total", "rate": 90000, "consumptionMg": 3908 }, "costLabor": { "mode": "gram", "rate": 500 }, "sale": 422792, "baseSale": 422792, "charges": [], "pricingMode": "manual", "priceNote": "补金 3.908克 × 1000.00元;新货工费 240.00元;折旧 79.92元", "recoveryMaterialMg": 3908, "recovery_id": "" } ], "discount": 0, "total": 422792, "revision": 5, "reviewed_revision": 0, "created": "2026-11-19T02:01:32.000Z", "delivered_date": "2026-11-19", "returned_date": null, "paper_date": "2026-11-19", "payment_account": "助理2微信", "fee_items": [], "fees_date": "2026-11-19", "rounding_mode": "cent", "internal_note": "", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": null, "ownershipPending": null, "ownershipApproved": null, "corrections": [ { "target": "", "type": "payment", "reason": "跨天更正旧料克重", "actor": "麦麦", "created": "2026-11-20T02:00:10.000Z" } ], "received": 422792, "refunded": 0, "netReceived": 422792, "balance": 0, "recovery_id": "", "recovery_mode": "exchange", "recovery_immutable_reason": "本单关联黄金回收/置换、购料及库存,暂不支持普通订单修改、取消、退款、退货或费用变更,请保留原关联记录", "nonCashOffset": 0, "cashPaid": 0, "netSettlement": 422792, "rounding_adjustment": 0, "goodsCost": 357720, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 357720, "pendingFees": [], "draftFees": 0, "estimatedProfit": 65072, "profit": 65072, "knownProfit": 65072, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "sync": { "revision": 5, "done_revision": 0, "error": null, "updated": "2026-11-20T02:00:10.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 }, { "id": "", "number": "MM20261119-", "date": "2026-11-19", "customer": "对照锁价客户(改)", "salesperson": "娜娜", "note": "锁价备注;锁价单 SJ20261118-;按原锁定金价 900.00元/克结算", "paper_number": "20261119010", "status": "delivered", "lines": [ { "name": "足金999", "code": "", "unit": "g", "quantity": 3100, "pocket": "现货", "payer": "assistant", "costPayers": { "material": "owner", "labor": "assistant" }, "cost": 267000, "costParts": { "material": 264000, "labor": 3000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 286200, "baseSale": 285200, "charges": [ { "name": "服务", "amount": 1000 } ], "pricingMode": "auto", "goldPrice": 90000, "laborRate": 2000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 900.00元/克 + 工费 20.00元/克", "lineId": "", "materialAllocations": [ { "source": "original", "quantity": 3000, "rate": 85000, "amount": 255000, "payer": "owner" }, { "source": "extra", "quantity": 100, "rate": 90000, "amount": 9000, "payer": "assistant" } ] } ], "discount": 0, "total": 286200, "revision": 3, "reviewed_revision": 0, "created": "2026-11-19T02:01:28.000Z", "delivered_date": "2026-11-19", "returned_date": null, "paper_date": "2026-11-19", "payment_account": "助理支付宝", "fee_items": [ { "key": "shipping", "amount": 600, "payer": "owner", "note": "实际快递", "status": "recorded", "edited": false } ], "fees_date": "2026-11-19", "rounding_mode": "yuan", "internal_note": "", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": null, "ownershipPending": null, "ownershipApproved": null, "price_lock_id": "", "corrections": [], "received": 286200, "refunded": 0, "netReceived": 286200, "balance": 0, "rounding_adjustment": 0, "goodsCost": 267000, "directCost": 600, "materialCostPending": false, "knownGoodsCost": 267000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 18600, "profit": 18600, "knownProfit": 18600, "ownerCost": 255600, "assistantInventoryCredit": 0, "assistantInventoryCreditSources": [], "assistantInventoryCreditExplanation": "", "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "sync": { "revision": 3, "done_revision": 0, "error": null, "updated": "2026-11-19T02:01:28.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 }, { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照分步客户", "salesperson": "麦麦", "note": "", "paper_number": "20261118009", "status": "delivered", "lines": [ { "name": "足金项链", "code": "", "unit": "g", "quantity": 4000, "pocket": "现货", "payer": "owner", "cost": 350000, "sale": 400000, "baseSale": 400000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 400000, "revision": 5, "reviewed_revision": 0, "created": "2026-11-18T02:01:27.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "麦麦支付宝", "fee_items": [ { "key": "card_fee:", "system": "credit_card", "source_kind": "payment", "source_id": "", "date": "2026-11-18", "amount": 1800, "payer": "owner", "note": "信用卡手续费(6‰)", "rate_permille": 6, "status": "recorded", "expense_id": "" } ], "fees_date": "", "rounding_mode": "cent", "internal_note": "分步单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "owner", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": null, "ownershipPending": null, "ownershipApproved": null, "corrections": [], "received": 400000, "refunded": 0, "netReceived": 400000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 350000, "directCost": 1800, "materialCostPending": false, "knownGoodsCost": 350000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 48200, "profit": 48200, "knownProfit": 48200, "ownerCost": 351800, "ownerDirect": 400000, "ownerCredit": 400000, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "sync": { "revision": 5, "done_revision": 0, "error": null, "updated": "2026-11-18T02:01:34.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 }, { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照驳回客户", "salesperson": "娜娜", "note": "", "paper_number": "20261118008", "status": "delivered", "lines": [ { "name": "足金耳钉", "code": "", "unit": "g", "quantity": 800, "pocket": "现货", "payer": "assistant", "cost": 70000, "sale": 82000, "baseSale": 82000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 82000, "revision": 5, "reviewed_revision": 0, "created": "2026-11-18T02:01:26.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理支付宝", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "驳回单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": null, "ownershipPending": null, "ownershipApproved": { "id": "", "status": "approved", "order_revision": 4, "before": { "member": "assistant", "label": "娜娜" }, "after": { "member": "assistant2", "label": "小昊" }, "reason": "核实业务归属", "requester_name": "麦麦", "created": "2026-11-19T02:00:49.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:00:49.000Z", "note": "", "direct": true }, "corrections": [], "received": 82000, "refunded": 0, "netReceived": 82000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 70000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 70000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 12000, "profit": 12000, "knownProfit": 12000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "sync": { "revision": 5, "done_revision": 0, "error": null, "updated": "2026-11-19T02:00:49.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 }, { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "returned", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 5, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": "2026-11-19", "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": { "id": "", "status": "approved", "action": "return", "action_label": "订单售后", "order_revision": 4, "reason": "客户退回一件", "requester_name": "助理2", "created": "2026-11-19T02:01:03.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:01:05.000Z", "note": "实物已收回" }, "ownershipPending": null, "ownershipApproved": null, "corrections": [], "received": 500000, "refunded": 90000, "netReceived": 410000, "balance": 0, "orderAfterSale": { "orderId": "", "date": "2026-11-19", "reason": "客户退回一件", "deductionReason": "客户确认扣费", "refund": { "amount": 90000, "account": "助理2支付宝", "payer": "assistant2", "reference": "" }, "expenses": [], "original": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": { "id": "", "status": "approved", "action": "return", "action_label": "订单售后", "order_revision": 4, "reason": "客户退回一件", "requester_name": "助理2", "created": "2026-11-19T02:01:03.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:01:05.000Z", "note": "实物已收回" }, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 0, "netReceived": 500000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 50000, "knownProfit": 50000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "funds_mode": "team", "credit_card_rate_permille": 6 }, "originalJournal": { "sales": 500000, "goods": 450000, "expense": 0, "profit": 50000 }, "summary": { "refundAmount": 90000, "retainedAmount": 410000, "materialReturnedCost": 88000, "laborRestockedCost": 0, "materialLoss": 352000, "costLoss": 362000, "originalDirectCost": 0, "newExpenses": 0, "directCost": 0, "profit": 48000, "finalProfit": 48000, "profitAdjustment": -2000, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ] }, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ], "originalOrder": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": { "id": "", "status": "approved", "action": "return", "action_label": "订单售后", "order_revision": 4, "reason": "客户退回一件", "requester_name": "助理2", "created": "2026-11-19T02:01:03.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:01:05.000Z", "note": "实物已收回" }, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 0, "netReceived": 500000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 50000, "knownProfit": 50000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "funds_mode": "team", "credit_card_rate_permille": 6 } }, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 48000, "knownProfit": 48000, "ownerCost": 0, "assistantInventoryCredit": 0, "assistantInventoryCreditSources": [], "assistantInventoryCreditExplanation": "", "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "sync": { "revision": 5, "done_revision": 0, "error": null, "updated": "2026-11-19T02:01:05.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 }, { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照取消客户", "salesperson": "小昊", "note": "", "paper_number": "20261118006", "status": "cancelled", "lines": [ { "name": "足金戒指", "code": "", "unit": "g", "quantity": 1500, "pocket": "现货", "payer": "assistant2", "cost": 130000, "sale": 150000, "baseSale": 150000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 150000, "revision": 5, "reviewed_revision": 0, "created": "2026-11-18T02:01:24.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2现金", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "取消单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": { "id": "", "status": "approved", "order_revision": 4, "reason": "重复录入", "requester_name": "助理2", "created": "2026-11-19T02:00:41.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:00:45.000Z", "note": "核对原单后确认" }, "changePending": null, "changeApproved": null, "ownershipPending": null, "ownershipApproved": null, "corrections": [ { "target": "", "type": "payment", "reason": "重复录入", "actor": "麦麦", "created": "2026-11-19T02:00:45.000Z" } ], "received": 0, "refunded": 0, "netReceived": 0, "balance": 0, "rounding_adjustment": 0, "goodsCost": 130000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 130000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 20000, "profit": 0, "knownProfit": 0, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "sync": { "revision": 5, "done_revision": 0, "error": null, "updated": "2026-11-19T02:00:45.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 }, { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照草稿客户", "salesperson": "麦麦", "note": "", "paper_number": "20261118005", "status": "delivered", "lines": [ { "name": "足金手镯", "code": "", "unit": "g", "quantity": 10000, "pocket": "pocket_", "payer": "owner", "cost": 900000, "sale": 980000, "baseSale": 980000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 980000, "revision": 5, "reviewed_revision": 0, "created": "2026-11-18T02:01:21.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "麦麦现金", "fee_items": [], "fees_date": "", "rounding_mode": "yuan", "internal_note": "草稿单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "owner", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": null, "ownershipPending": null, "ownershipApproved": null, "corrections": [], "received": 980000, "refunded": 0, "netReceived": 980000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 900000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 900000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 80000, "profit": 80000, "knownProfit": 80000, "ownerCost": 900000, "ownerDirect": 980000, "ownerCredit": 980000, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "sync": { "revision": 5, "done_revision": 0, "error": null, "updated": "2026-11-18T02:01:23.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 }, { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照客户丁", "salesperson": "娜娜", "note": "", "paper_number": "20261118004", "status": "delivered", "lines": [ { "name": "足金999", "code": "", "unit": "g", "quantity": 3000, "pocket": "", "payer": "assistant", "cost": 271935, "costParts": { "material": 271935, "labor": 0, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "pool", "poolId": "2026-11-18" }, "costLabor": { "mode": "total" }, "sale": 330000, "baseSale": 330000, "charges": [], "pricingMode": "manual", "priceNote": "", "materialPool": { "poolId": "2026-11-18", "date": "2026-11-18", "status": "allocated", "amount": 271935, "quantity": 3000, "averageRate": 90645, "allocations": [ { "payer": "assistant", "amount": 271935 } ], "revision": "2823f40ff78424f5423f0dbdf991ea5fcc83b0144648e9d2399869970c27af75" } } ], "discount": 0, "total": 330000, "revision": 6, "reviewed_revision": 0, "created": "2026-11-18T02:01:20.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理现金", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "料池单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": { "id": "", "status": "approved", "action": "expense", "action_label": "费用补记", "order_revision": 4, "reason": "补记快递", "requester_name": "助理", "created": "2026-11-19T02:00:36.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:00:37.000Z", "note": "核实" }, "ownershipPending": null, "ownershipApproved": null, "corrections": [], "received": 330000, "refunded": 0, "netReceived": 330000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 271935, "directCost": 1000, "materialCostPending": false, "knownGoodsCost": 271935, "pendingFees": [], "draftFees": 0, "estimatedProfit": 57065, "profit": 57065, "knownProfit": 57065, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "sync": { "revision": 6, "done_revision": 0, "error": null, "updated": "2026-11-19T02:02:27.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 }, { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照客户丙", "salesperson": "麦麦", "note": "老板改备注", "paper_number": "20261118003", "status": "delivered", "lines": [ { "name": "金镶玉吊坠", "code": "", "unit": "件", "quantity": 1, "pocket": "", "payer": "owner", "cost": 150000, "sale": 288840, "baseSale": 288840, "charges": [], "pricingMode": "manual", "priceNote": "一口价" } ], "discount": 300, "total": 288500, "revision": 5, "reviewed_revision": 0, "created": "2026-11-18T02:01:19.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "麦麦信用卡", "fee_items": [ { "key": "card_fee:", "system": "credit_card", "source_kind": "payment", "source_id": "", "date": "2026-11-18", "amount": 1731, "payer": "owner", "note": "信用卡手续费(6‰)", "rate_permille": 6, "status": "recorded", "expense_id": "" } ], "fees_date": "2026-11-18", "rounding_mode": "yuan", "internal_note": "一口价备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": null, "ownershipPending": null, "ownershipApproved": null, "corrections": [], "received": 288500, "refunded": 0, "netReceived": 288500, "balance": 0, "rounding_adjustment": -40, "goodsCost": 150000, "directCost": 1731, "materialCostPending": false, "knownGoodsCost": 150000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 136769, "profit": 136769, "knownProfit": 136769, "ownerCost": 151731, "ownerDirect": 288500, "ownerCredit": 288500, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "sync": { "revision": 5, "done_revision": 0, "error": null, "updated": "2026-11-19T02:00:39.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 }, { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照客户乙", "salesperson": "小昊", "note": "", "paper_number": "20261118002", "status": "delivered", "lines": [ { "name": "足金999", "code": "", "unit": "g", "quantity": 2000, "pocket": "现货", "payer": "assistant2", "cost": 180000, "sale": 208710, "baseSale": 208710, "charges": [], "pricingMode": "auto", "goldPrice": 95555, "laborRate": 8800, "laborMode": "piece", "pieces": 2, "priceNote": "金价 955.55元/克 + 工费 88.00元/件 × 2件" }, { "name": "纯银925", "code": "", "unit": "件", "quantity": 3, "pocket": "", "payer": "assistant2", "cost": 3000, "sale": 9990, "baseSale": 9990, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 1537, "total": 217163, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:18.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2支付宝", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "按件内部备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": null, "ownershipPending": null, "ownershipApproved": null, "corrections": [], "received": 217163, "refunded": 0, "netReceived": 217163, "balance": 0, "rounding_adjustment": 0, "goodsCost": 183000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 183000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 34163, "profit": 34163, "knownProfit": 34163, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "sync": { "revision": 4, "done_revision": 0, "error": null, "updated": "2026-11-18T02:01:18.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 }, { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照客户甲(改)", "salesperson": "娜娜", "note": "客户单备注", "paper_number": "20261118001", "status": "delivered", "lines": [ { "name": "足金999", "code": "", "unit": "g", "quantity": 3250, "pocket": "现货", "payer": "assistant", "costPayers": { "material": "owner", "labor": "assistant" }, "cost": 290200, "costParts": { "material": 286000, "labor": 4000, "accessories": 200, "other": 0 }, "costMaterial": { "mode": "gram", "rate": 88000 }, "costLabor": { "mode": "total" }, "sale": 321050, "baseSale": 318500, "charges": [ { "name": "刻字", "amount": 2000 }, { "name": "包装", "amount": 550 } ], "pricingMode": "auto", "goldPrice": 95000, "laborRate": 3000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 950.00元/克 + 工费 30.00元/克" } ], "discount": 0, "total": 321100, "revision": 5, "reviewed_revision": 0, "created": "2026-11-18T02:01:17.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理微信", "fee_items": [ { "key": "shipping", "amount": 1200, "payer": "assistant", "note": "快递", "status": "recorded", "edited": true, "date": "2026-11-18", "expense_id": "" } ], "fees_date": "2026-11-18", "rounding_mode": "yuan", "internal_note": "#复购 内部备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": { "id": "", "status": "approved", "action": "edit", "action_label": "修改订单", "order_revision": 4, "reason": "跨天修改客户名", "requester_name": "助理", "created": "2026-11-19T02:00:25.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:00:31.000Z", "note": "凭据已核对" }, "ownershipPending": null, "ownershipApproved": null, "corrections": [], "received": 321100, "refunded": 0, "netReceived": 321100, "balance": 0, "rounding_adjustment": 50, "goodsCost": 290200, "directCost": 1200, "materialCostPending": false, "knownGoodsCost": 290200, "pendingFees": [], "draftFees": 0, "estimatedProfit": 29700, "profit": 29700, "knownProfit": 29700, "ownerCost": 286000, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "sync": { "revision": 5, "done_revision": 0, "error": null, "updated": "2026-11-19T02:00:31.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 } ], "priceLockCounts": { "pending": 2, "delivered": 1, "cancelled": 1 }, "materialPoolSummary": { "totalMg": 36000, "totalAmount": 3274167, "usedMg": 0, "remainingMg": 36000, "remainingCost": 3274167, "shortageMg": 0, "pendingCount": 0, "purchaseCount": 0 }, "materialPoolSettlement": { "legacyReadOnly": true, "settlementDue": 0, "knownSettlementDue": 0, "pendingCount": 0, "pools": [] }, "materialPoolAllocation": { "version": 1, "targetVersion": 2, "migrationRequired": true, "usageCount": 2, "activeUsageCount": 2 }, "sync": { "enabled": false, "busy": false, "error": null, "pending": 18, "failed": 0 }, "printing": { "store": "黄金对照珠宝", "subtitle": "黄金对照销售单", "contact": "联系电话 000-0000", "width": 241, "height": 140, "offsetX": 2, "offsetY": 3, "rows": 3, "contentTop": 12, "rowHeight": 10 }, "backup": { "last": { "name": "", "time": "2026-11-19T02:04:48.000Z" }, "error": null }, "movements": [ { "id": "", "group_id": "", "order_id": null, "date": "2026-11-20", "pocket": "回收旧料", "mg": 2000, "kind": "recovery", "note": "HS202611200005", "purchase_cost": 180000, "actor": "助理", "created": "2026-11-20T02:00:30.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-20", "pocket": "现货", "mg": -2000, "kind": "sale", "note": "MM20261120-", "purchase_cost": null, "actor": "助理", "created": "2026-11-20T02:00:29.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": null, "date": "2026-11-20", "pocket": "回收旧料", "mg": -3000, "kind": "recovery_change_reverse", "note": "回收更正:HS202611200004;录错", "purchase_cost": null, "actor": "麦麦", "created": "2026-11-20T02:00:27.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": null, "date": "2026-11-20", "pocket": "回收旧料", "mg": 10000, "kind": "recovery_change_old", "note": "回收更正:HS202611200003;当天更正", "purchase_cost": null, "actor": "助理", "created": "2026-11-20T02:00:25.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": null, "date": "2026-11-20", "pocket": "回收旧料", "mg": -10000, "kind": "recovery_change_reverse", "note": "回收更正:HS202611200003;当天更正", "purchase_cost": null, "actor": "助理", "created": "2026-11-20T02:00:25.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": null, "date": "2026-11-20", "pocket": "回收旧料", "mg": 3000, "kind": "recovery", "note": "HS202611200004", "purchase_cost": 270000, "actor": "麦麦", "created": "2026-11-20T02:00:21.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": null, "date": "2026-11-20", "pocket": "回收旧料", "mg": 10000, "kind": "recovery", "note": "HS202611200003", "purchase_cost": 900000, "actor": "助理", "created": "2026-11-20T02:00:20.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-19", "pocket": "现货", "mg": 6000, "kind": "recovery_change_reverse", "note": "回收更正:HS202611190002;录错", "purchase_cost": null, "actor": "麦麦", "created": "2026-11-20T02:00:15.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-19", "pocket": "回收旧料", "mg": -4851, "kind": "recovery_change_reverse", "note": "回收更正:HS202611190002;录错", "purchase_cost": null, "actor": "麦麦", "created": "2026-11-20T02:00:15.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-19", "pocket": "现货", "mg": -12000, "kind": "recovery_change_sale", "note": "回收更正:HS202611190001;跨天更正旧料克重", "purchase_cost": null, "actor": "麦麦", "created": "2026-11-20T02:00:10.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-19", "pocket": "回收旧料", "mg": 8092, "kind": "recovery_change_old", "note": "回收更正:HS202611190001;跨天更正旧料克重", "purchase_cost": null, "actor": "麦麦", "created": "2026-11-20T02:00:10.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-19", "pocket": "现货", "mg": 12000, "kind": "recovery_change_reverse", "note": "回收更正:HS202611190001;跨天更正旧料克重", "purchase_cost": null, "actor": "麦麦", "created": "2026-11-20T02:00:10.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-19", "pocket": "回收旧料", "mg": -7992, "kind": "recovery_change_reverse", "note": "回收更正:HS202611190001;跨天更正旧料克重", "purchase_cost": null, "actor": "麦麦", "created": "2026-11-20T02:00:10.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-19", "pocket": "现货", "mg": -500, "kind": "sale", "note": "MM20261119-", "purchase_cost": null, "actor": "助理", "created": "2026-11-19T02:02:51.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-19", "pocket": "现货", "mg": 2000, "kind": "order_cancel_reverse", "note": "MM20261119-;当天直接作废:当天录错", "purchase_cost": null, "actor": "助理", "created": "2026-11-19T02:01:59.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-19", "pocket": "现货", "mg": -2000, "kind": "sale", "note": "MM20261119-", "purchase_cost": null, "actor": "助理", "created": "2026-11-19T02:01:57.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-19", "pocket": "现货", "mg": -2000, "kind": "sale", "note": "MM20261119-", "purchase_cost": null, "actor": "助理", "created": "2026-11-19T02:01:48.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-19", "pocket": "现货", "mg": -6000, "kind": "sale", "note": "MM20261119-", "purchase_cost": null, "actor": "助理", "created": "2026-11-19T02:01:33.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-19", "pocket": "回收旧料", "mg": 4851, "kind": "recovery", "note": "HS202611190002", "purchase_cost": null, "actor": "助理", "created": "2026-11-19T02:01:33.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-19", "pocket": "现货", "mg": -12000, "kind": "sale", "note": "MM20261119-", "purchase_cost": null, "actor": "助理2", "created": "2026-11-19T02:01:32.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-19", "pocket": "回收旧料", "mg": 7992, "kind": "recovery", "note": "HS202611190001", "purchase_cost": null, "actor": "助理2", "created": "2026-11-19T02:01:32.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-19", "pocket": "现货", "mg": -3100, "kind": "sale", "note": "MM20261119-", "purchase_cost": null, "actor": "助理", "created": "2026-11-19T02:01:28.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-19", "pocket": "现货", "mg": 100, "kind": "lock_purchase", "note": "SJ20261118- 足金999 补重黄金入库", "purchase_cost": 9000, "actor": "助理", "created": "2026-11-19T02:01:28.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-19", "pocket": "现货", "mg": 3000, "kind": "lock_purchase", "note": "SJ20261118- 足金999 原锁定黄金入库", "purchase_cost": 255000, "actor": "助理", "created": "2026-11-19T02:01:28.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "after-sale:", "order_id": "", "date": "2026-11-19", "pocket": "金料", "mg": 1000, "kind": "return", "note": "MM20261118- · 售后回收旧料", "purchase_cost": null, "actor": "麦麦", "created": "2026-11-19T02:01:05.000Z", "groupId": "after-sale:", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-18", "pocket": "现货", "mg": 1500, "kind": "order_cancel_reverse", "note": "MM20261118-;审批作废:重复录入", "purchase_cost": null, "actor": "麦麦", "created": "2026-11-19T02:00:45.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": null, "date": "2026-11-19", "pocket": "金料", "mg": -1200, "kind": "manual_reversal", "note": "手动库存更正冲回:", "purchase_cost": null, "actor": "麦麦", "created": "2026-11-19T02:00:21.000Z", "groupId": "", "revision": 3, "manual": false, "current": false, "status": "deleted", "reversal": true, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": null, "date": "2026-11-19", "pocket": "金料", "mg": 1200, "kind": "increase", "note": "当天手动入库", "purchase_cost": null, "actor": "助理", "created": "2026-11-19T02:00:19.000Z", "groupId": "", "revision": 3, "manual": true, "current": false, "status": "deleted", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": null, "date": "2026-11-19", "pocket": "金料", "mg": -1000, "kind": "manual_reversal", "note": "手动库存更正冲回:", "purchase_cost": null, "actor": "助理", "created": "2026-11-19T02:00:19.000Z", "groupId": "", "revision": 3, "manual": false, "current": false, "status": "deleted", "reversal": true, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": null, "date": "2026-11-19", "pocket": "金料", "mg": 1000, "kind": "increase", "note": "当天手动入库", "purchase_cost": null, "actor": "助理", "created": "2026-11-19T02:00:16.000Z", "groupId": "", "revision": 3, "manual": true, "current": false, "status": "deleted", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": null, "date": "2026-11-18", "pocket": "现货", "mg": 3000, "kind": "increase", "note": "娜娜手动入库", "purchase_cost": null, "actor": "麦麦", "created": "2026-11-19T02:00:11.000Z", "groupId": "", "revision": 2, "manual": true, "current": true, "status": "modified", "reversal": false, "canEdit": true, "canDelete": true, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": null, "date": "2026-11-18", "pocket": "现货", "mg": -2500, "kind": "manual_reversal", "note": "手动库存更正冲回:", "purchase_cost": null, "actor": "麦麦", "created": "2026-11-19T02:00:11.000Z", "groupId": "", "revision": 2, "manual": false, "current": false, "status": "modified", "reversal": true, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-18", "pocket": "现货", "mg": -4000, "kind": "sale", "note": "MM20261118-", "purchase_cost": null, "actor": "麦麦", "created": "2026-11-18T02:01:34.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-18", "pocket": "现货", "mg": -800, "kind": "sale", "note": "MM20261118-", "purchase_cost": null, "actor": "助理", "created": "2026-11-18T02:01:26.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-18", "pocket": "现货", "mg": -5000, "kind": "sale", "note": "MM20261118-", "purchase_cost": null, "actor": "助理2", "created": "2026-11-18T02:01:25.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-18", "pocket": "现货", "mg": -1500, "kind": "sale", "note": "MM20261118-", "purchase_cost": null, "actor": "助理2", "created": "2026-11-18T02:01:24.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-18", "pocket": "pocket_", "mg": -10000, "kind": "sale", "note": "MM20261118-", "purchase_cost": null, "actor": "麦麦", "created": "2026-11-18T02:01:23.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-18", "pocket": "现货", "mg": -2000, "kind": "sale", "note": "MM20261118-", "purchase_cost": null, "actor": "助理2", "created": "2026-11-18T02:01:18.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-18", "pocket": "现货", "mg": -3250, "kind": "sale", "note": "MM20261118-", "purchase_cost": null, "actor": "助理", "created": "2026-11-18T02:01:17.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": null, "date": "2026-11-18", "pocket": "现货", "mg": -500, "kind": "decrease", "note": "娜娜手动出库", "purchase_cost": null, "actor": "助理", "created": "2026-11-18T02:01:05.000Z", "groupId": "", "revision": 1, "manual": true, "current": true, "status": "active", "reversal": false, "canEdit": true, "canDelete": true, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": null, "date": "2026-11-18", "pocket": "现货", "mg": 2500, "kind": "increase", "note": "娜娜手动入库", "purchase_cost": null, "actor": "助理", "created": "2026-11-18T02:01:04.000Z", "groupId": "", "revision": 2, "manual": true, "current": false, "status": "modified", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": null, "date": "2026-11-18", "pocket": "金料", "mg": 5000, "kind": "transfer", "note": "调拨", "purchase_cost": null, "actor": "麦麦", "created": "2026-11-18T02:01:03.000Z", "groupId": "", "revision": 1, "manual": true, "current": true, "status": "active", "reversal": false, "canEdit": true, "canDelete": true, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": null, "date": "2026-11-18", "pocket": "现货", "mg": -5000, "kind": "transfer", "note": "调拨", "purchase_cost": null, "actor": "麦麦", "created": "2026-11-18T02:01:03.000Z", "groupId": "", "revision": 1, "manual": true, "current": true, "status": "active", "reversal": false, "canEdit": true, "canDelete": true, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": null, "date": "2026-11-18", "pocket": "pocket_", "mg": 20000, "kind": "opening", "note": "展柜起始", "purchase_cost": null, "actor": "麦麦", "created": "2026-11-18T02:01:02.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": null, "date": "2026-11-18", "pocket": "金料", "mg": 50000, "kind": "opening", "note": "黄金对照起始金料", "purchase_cost": null, "actor": "麦麦", "created": "2026-11-18T02:01:01.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": null, "date": "2026-11-18", "pocket": "现货", "mg": 100000, "kind": "opening", "note": "黄金对照起始库存", "purchase_cost": null, "actor": "麦麦", "created": "2026-11-18T02:01:00.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false } ] } }, { "seq": 531, "label": "final-session-owner", "date": "2026-11-20", "actor": "owner", "method": "GET", "path": "/api/session", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "user": { "id": "", "name": "麦麦", "role": "owner", "member": "owner", "operatorName": "麦麦", "label": "麦麦" }, "setup": false, "mode": "trial", "today": "2026-11-20", "brand": { "storeName": "黄金对照珠宝" }, "loginOptions": [ { "member": "owner", "label": "麦麦" }, { "member": "assistant", "label": "娜娜" }, { "member": "assistant2", "label": "小昊" } ] } }, { "seq": 532, "label": "final-report-owner", "date": "2026-11-20", "actor": "owner", "method": "GET", "path": "/api/report?from=2026-11-18&date=2026-11-20", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "date": "2026-11-20", "from": "2026-11-18", "sales": 4417755, "goods": 3790753, "knownGoods": 3790753, "expense": 8081, "profit": 618921, "knownProfit": 618921, "materialCostPending": false, "pendingMaterialCount": 0, "materialPoolActivity": { "from": "2026-11-18", "to": "2026-11-20", "purchases": [ { "id": "", "pool_id": "2026-11-18", "date": "2026-11-18", "mg": 11000, "amount": 990000, "payer": "assistant", "note": "核对凭据", "actor": "助理", "created": "2026-11-18T02:01:09.000Z", "revision": 2, "deleted_at": "", "updated": "2026-11-19T02:02:27.000Z" }, { "id": "", "pool_id": "2026-11-18", "date": "2026-11-18", "mg": 20000, "amount": 1820000, "payer": "owner", "note": "麦麦购料", "actor": "麦麦", "created": "2026-11-18T02:01:10.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-18T02:01:10.000Z" }, { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 5000, "amount": 460000, "payer": "assistant", "note": "第二天购料", "actor": "助理", "created": "2026-11-19T02:02:19.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:19.000Z" }, { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 4000, "amount": 370000, "payer": "assistant2", "note": "", "actor": "助理2", "created": "2026-11-19T02:02:20.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:20.000Z" }, { "id": "", "pool_id": "2026-11-20", "date": "2026-11-20", "mg": 10000, "amount": 900000, "payer": "assistant", "note": "直接回收 · HS202611200003", "actor": "助理", "created": "2026-11-20T02:00:20.000Z", "revision": 2, "deleted_at": "", "updated": "2026-11-20T02:00:25.000Z", "materialOwner": "assistant", "materialKind": "personal_recovery", "recoveryId": "", "recovery_id": "", "cashAmount": 900000, "offsetAmount": 0, "allocations": [ { "payer": "assistant", "amount": 900000, "source": "cash" } ], "canEdit": false }, { "id": "", "pool_id": "2026-11-20", "date": "2026-11-20", "mg": 2000, "amount": 180000, "payer": "assistant", "note": "直接回收 · HS202611200005", "actor": "助理", "created": "2026-11-20T02:00:30.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-20T02:00:30.000Z", "materialOwner": "assistant", "materialKind": "personal_recovery", "recoveryId": "", "recovery_id": "", "cashAmount": 180000, "offsetAmount": 0, "allocations": [ { "payer": "assistant", "amount": 180000, "source": "cash" } ], "canEdit": false } ], "settlements": [], "events": [ { "id": "", "pool_id": "2026-11-18", "usage_id": "", "order_id": "", "date": "2026-11-18", "kind": "交付占用", "before_value": null, "after_value": { "poolId": "2026-11-18", "mg": 3000, "active": 1, "amount": null, "ownerAmount": null, "assistantAmount": null, "revision": 1 }, "actor": "助理", "created": "2026-11-18T02:01:20.000Z" }, { "id": "", "pool_id": "2026-11-18", "usage_id": "", "order_id": "", "date": "2026-11-18", "kind": "补齐料费", "before_value": { "poolId": "2026-11-18", "mg": 3000, "active": 1, "amount": null, "ownerAmount": null, "assistantAmount": null, "revision": 1, "allocations": [ { "payer": "assistant", "amount": 272000 } ] }, "after_value": { "poolId": "2026-11-18", "mg": 3000, "active": 1, "amount": 272000, "ownerAmount": 0, "assistantAmount": 272000, "revision": 2, "allocations": [ { "payer": "assistant", "amount": 272000 } ] }, "actor": "助理", "created": "2026-11-18T02:01:20.000Z" }, { "id": "", "pool_id": "2026-11-18", "usage_id": "", "order_id": "", "date": "2026-11-18", "kind": "加权料费调整", "before_value": { "poolId": "2026-11-18", "mg": 3000, "active": 1, "amount": 272000, "ownerAmount": 0, "assistantAmount": 272000, "revision": 2, "allocations": [ { "payer": "assistant", "amount": 272000 } ] }, "after_value": { "poolId": "2026-11-18", "mg": 3000, "active": 1, "amount": 271935, "ownerAmount": 0, "assistantAmount": 271935, "revision": 3, "allocations": [ { "payer": "assistant", "amount": 271935 } ] }, "actor": "麦麦", "created": "2026-11-19T02:02:27.000Z" }, { "id": "", "pool_id": "2026-11-19", "usage_id": "", "order_id": "", "date": "2026-11-19", "kind": "交付占用", "before_value": null, "after_value": { "poolId": "2026-11-19", "mg": 2000, "active": 1, "amount": null, "ownerAmount": null, "assistantAmount": null, "revision": 1 }, "actor": "助理", "created": "2026-11-19T02:02:40.000Z" } ] }, "materialPoolSettlement": { "legacyReadOnly": true, "settlementDue": 0, "knownSettlementDue": 0, "pendingCount": 0, "pools": [] }, "delivered": 15, "returns": 0, "accounts": [ { "account": "助理微信", "receipt": 1271100, "refund": 0 }, { "account": "助理支付宝", "receipt": 218200, "refund": 0 }, { "account": "助理现金", "receipt": 330000, "refund": 0 }, { "account": "麦麦微信", "receipt": 0, "refund": 0 }, { "account": "麦麦支付宝", "receipt": 100000, "refund": 0 }, { "account": "麦麦现金", "receipt": 980000, "refund": 0 }, { "account": "助理信用卡", "receipt": 0, "refund": 0 }, { "account": "麦麦信用卡", "receipt": 588500, "refund": 0 }, { "account": "助理2微信", "receipt": 972792, "refund": 0 }, { "account": "助理2支付宝", "receipt": 217163, "refund": 90000 }, { "account": "助理2现金", "receipt": 0, "refund": 0 }, { "account": "助理2信用卡", "receipt": 0, "refund": 0 } ], "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 321100, "account": "助理微信", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-18T02:01:17.000Z", "number": "MM20261118-" }, { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 217163, "account": "助理2支付宝", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:18.000Z", "number": "MM20261118-" }, { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 288500, "account": "麦麦信用卡", "reference": "开单时已全额收款", "actor": "麦麦", "created": "2026-11-18T02:01:19.000Z", "number": "MM20261118-" }, { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 330000, "account": "助理现金", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-18T02:01:20.000Z", "number": "MM20261118-" }, { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 980000, "account": "麦麦现金", "reference": "开单时已全额收款", "actor": "麦麦", "created": "2026-11-18T02:01:23.000Z", "number": "MM20261118-" }, { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 150000, "account": "助理2现金", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:24.000Z", "number": "MM20261118-" }, { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z", "number": "MM20261118-" }, { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 82000, "account": "助理支付宝", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-18T02:01:26.000Z", "number": "MM20261118-" }, { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 100000, "account": "麦麦支付宝", "reference": "定金", "actor": "麦麦", "created": "2026-11-18T02:01:31.000Z", "number": "MM20261118-" }, { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 300000, "account": "麦麦信用卡", "reference": "尾款", "actor": "麦麦", "created": "2026-11-18T02:01:33.000Z", "number": "MM20261118-" }, { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": -150000, "account": "助理2现金", "reference": "更正冲回:取消审批作废;重复录入", "actor": "麦麦", "created": "2026-11-19T02:00:45.000Z", "number": "MM20261118-" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "refund", "amount": 90000, "account": "助理2支付宝", "reference": "整单售后退款", "actor": "麦麦", "created": "2026-11-19T02:01:05.000Z", "number": "MM20261118-" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "receipt", "amount": 432792, "account": "助理2微信", "reference": "置换差额实际收款 · HS202611190001", "actor": "助理2", "created": "2026-11-19T02:01:32.000Z", "number": "MM20261119-" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "receipt", "amount": 130800, "account": "助理微信", "reference": "置换差额实际收款 · HS202611190002", "actor": "助理", "created": "2026-11-19T02:01:33.000Z", "number": "MM20261119-" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "receipt", "amount": 210000, "account": "助理微信", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-19T02:01:48.000Z", "number": "MM20261119-" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "receipt", "amount": 210000, "account": "助理微信", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-19T02:01:57.000Z", "number": "MM20261119-" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "receipt", "amount": -210000, "account": "助理微信", "reference": "更正冲回:取消审批作废;当天录错", "actor": "助理", "created": "2026-11-19T02:01:59.000Z", "number": "MM20261119-" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "receipt", "amount": 220000, "account": "助理微信", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-19T02:02:40.000Z", "number": "MM20261119-" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "receipt", "amount": 50000, "account": "助理微信", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-19T02:02:51.000Z", "number": "MM20261119-" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "receipt", "amount": -432792, "account": "助理2微信", "reference": "更正冲回:回收专用更正;跨天更正旧料克重", "actor": "麦麦", "created": "2026-11-20T02:00:10.000Z", "number": "MM20261119-" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "receipt", "amount": 422792, "account": "助理2微信", "reference": "回收更正补记:跨天更正旧料克重", "actor": "麦麦", "created": "2026-11-20T02:00:10.000Z", "number": "MM20261119-" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "receipt", "amount": -130800, "account": "助理微信", "reference": "更正冲回:回收专用更正;录错", "actor": "麦麦", "created": "2026-11-20T02:00:15.000Z", "number": "MM20261119-" }, { "id": "", "order_id": "", "date": "2026-11-20", "kind": "receipt", "amount": 200000, "account": "助理微信", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-20T02:00:29.000Z", "number": "MM20261120-" }, { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 270000, "account": "助理微信", "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:53.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null, "price_lock_event_id": "" }, { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 50000, "account": "助理2微信", "number": "SJ20261118-", "customer": "对照锁价客户三", "product": "足金999", "actor": "助理2", "created": "2026-11-18T02:01:55.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null, "price_lock_event_id": "" }, { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 120000, "account": "助理支付宝", "number": "SJ20261118-", "customer": "对照锁价客户二", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:02:02.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null, "price_lock_event_id": "" }, { "id": "", "price_lock_id": "", "date": "2026-11-19", "kind": "receipt", "amount": 16200, "account": "助理支付宝", "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-19T02:01:28.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null, "price_lock_event_id": "" } ], "settlements": [], "journal": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "交付", "sales": 321100, "goods": 290200, "expense": 1200, "profit": 29700, "created": "2026-11-18T02:01:17.000Z", "number": "MM20261118-" }, { "id": "", "order_id": "", "date": "2026-11-18", "kind": "交付", "sales": 217163, "goods": 183000, "expense": 0, "profit": 34163, "created": "2026-11-18T02:01:18.000Z", "number": "MM20261118-" }, { "id": "", "order_id": "", "date": "2026-11-18", "kind": "交付", "sales": 288500, "goods": 150000, "expense": 1731, "profit": 136769, "created": "2026-11-18T02:01:19.000Z", "number": "MM20261118-" }, { "id": "", "order_id": "", "date": "2026-11-18", "kind": "交付", "sales": 330000, "goods": 272000, "expense": 0, "profit": 58000, "created": "2026-11-18T02:01:20.000Z", "number": "MM20261118-" }, { "id": "", "order_id": "", "date": "2026-11-18", "kind": "交付", "sales": 980000, "goods": 900000, "expense": 0, "profit": 80000, "created": "2026-11-18T02:01:23.000Z", "number": "MM20261118-" }, { "id": "", "order_id": "", "date": "2026-11-18", "kind": "交付", "sales": 150000, "goods": 130000, "expense": 0, "profit": 20000, "created": "2026-11-18T02:01:24.000Z", "number": "MM20261118-" }, { "id": "", "order_id": "", "date": "2026-11-18", "kind": "交付", "sales": 500000, "goods": 450000, "expense": 0, "profit": 50000, "created": "2026-11-18T02:01:25.000Z", "number": "MM20261118-" }, { "id": "", "order_id": "", "date": "2026-11-18", "kind": "交付", "sales": 82000, "goods": 70000, "expense": 0, "profit": 12000, "created": "2026-11-18T02:01:26.000Z", "number": "MM20261118-" }, { "id": "", "order_id": "", "date": "2026-11-18", "kind": "交付", "sales": 400000, "goods": 350000, "expense": 1800, "profit": 48200, "created": "2026-11-18T02:01:34.000Z", "number": "MM20261118-" }, { "id": "", "order_id": "", "date": "2026-11-18", "kind": "订单录错作废冲回", "sales": -150000, "goods": -130000, "expense": 0, "profit": -20000, "created": "2026-11-19T02:00:45.000Z", "number": "MM20261118-" }, { "id": "", "order_id": "", "date": "2026-11-18", "kind": "日购料成本调整", "sales": 0, "goods": -65, "expense": 0, "profit": 65, "created": "2026-11-19T02:02:27.000Z", "number": "MM20261118-" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "直接费用", "sales": 0, "goods": 0, "expense": 1000, "profit": -1000, "created": "2026-11-19T02:00:37.000Z", "number": "MM20261118-" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "订单退货退款售后", "sales": -90000, "goods": -88000, "expense": 0, "profit": -2000, "created": "2026-11-19T02:01:05.000Z", "number": "MM20261118-" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "交付", "sales": 286200, "goods": 267000, "expense": 600, "profit": 18600, "created": "2026-11-19T02:01:28.000Z", "number": "MM20261119-" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "交付", "sales": 432792, "goods": 366720, "expense": 0, "profit": 66072, "created": "2026-11-19T02:01:32.000Z", "number": "MM20261119-" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "交付", "sales": 130800, "goods": 106410, "expense": 0, "profit": 24390, "created": "2026-11-19T02:01:33.000Z", "number": "MM20261119-" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "交付", "sales": 210000, "goods": 180000, "expense": 0, "profit": 30000, "created": "2026-11-19T02:01:48.000Z", "number": "MM20261119-" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "直接费用", "sales": 0, "goods": 0, "expense": 800, "profit": -800, "created": "2026-11-19T02:01:52.000Z", "number": "MM20261119-" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "交付", "sales": 210000, "goods": 180000, "expense": 0, "profit": 30000, "created": "2026-11-19T02:01:57.000Z", "number": "MM20261119-" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "订单录错作废冲回", "sales": -210000, "goods": -180000, "expense": 0, "profit": -30000, "created": "2026-11-19T02:01:59.000Z", "number": "MM20261119-" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "交付", "sales": 220000, "goods": 181898, "expense": 0, "profit": 38102, "created": "2026-11-19T02:02:40.000Z", "number": "MM20261119-" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "交付", "sales": 50000, "goods": 42000, "expense": 0, "profit": 8000, "created": "2026-11-19T02:02:51.000Z", "number": "MM20261119-" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "回收专用更正冲回", "sales": -432792, "goods": -366720, "expense": 0, "profit": -66072, "created": "2026-11-20T02:00:10.000Z", "number": "MM20261119-" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "回收专用更正补记", "sales": 422792, "goods": 357720, "expense": 0, "profit": 65072, "created": "2026-11-20T02:00:10.000Z", "number": "MM20261119-" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "回收专用更正冲回", "sales": -130800, "goods": -106410, "expense": 0, "profit": -24390, "created": "2026-11-20T02:00:15.000Z", "number": "MM20261119-" }, { "id": "", "order_id": "", "date": "2026-11-20", "kind": "交付", "sales": 200000, "goods": 185000, "expense": 0, "profit": 15000, "created": "2026-11-20T02:00:29.000Z", "number": "MM20261120-" } ], "afterSales": [ { "id": "", "date": "2026-11-18", "project": "对照改圈", "customer": "对照售后客户", "amount": 950, "payer": "assistant", "actor": "助理", "created": "2026-11-18T02:02:03.000Z" }, { "id": "", "date": "2026-11-18", "project": "对照清洗", "customer": "对照售后客户二", "amount": 0, "payer": "owner", "actor": "麦麦", "created": "2026-11-18T02:02:06.000Z" } ], "afterSaleCount": 2, "inventory": [ { "pocket": "现货", "mg": 65950, "reserved": 0, "available": 65950 }, { "pocket": "金料", "mg": 56000, "reserved": 0, "available": 56000 }, { "pocket": "找金", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "回收旧料", "mg": 20092, "reserved": 0, "available": 20092 }, { "pocket": "君宝汇", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "臻金汇", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "金金", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "定制工厂", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "pocket_", "mg": 10000, "reserved": 0, "available": 10000 } ], "warnings": [ { "id": "", "number": "MM20261120-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261119-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261119-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261119-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261119-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261119-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261119-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261119-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261118-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261118-", "message": "麦麦直接收客户款,已扣减总待结金额;货款/利润拆分需单独复核" }, { "id": "", "number": "MM20261118-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261118-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261118-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261118-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261118-", "message": "麦麦直接收客户款,已扣减总待结金额;货款/利润拆分需单独复核" }, { "id": "", "number": "MM20261118-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261118-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261118-", "message": "麦麦直接收客户款,已扣减总待结金额;货款/利润拆分需单独复核" }, { "id": "", "number": "MM20261118-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261118-", "message": "有记录待麦麦复核" } ], "unsettled": [], "settlementDue": 0, "knownSettlementDue": 0, "customerBalance": 0, "close": null } }, { "seq": 533, "label": "final-order-book-owner", "date": "2026-11-20", "actor": "owner", "method": "GET", "path": "/api/order-book?from=2026-11-18&date=2026-11-20", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "from": "2026-11-18", "date": "2026-11-20", "today": "2026-11-20", "q": "", "status": "all", "pocket": "", "rows": [ { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118001", "date": "2026-11-18", "created": "2026-11-18T02:01:17.000Z", "customer": "对照客户甲(改)", "salesperson": "娜娜", "status": "delivered", "note": "客户单备注", "types": [ "货盘现货" ], "mg": 3250, "summaryMg": 3250, "pieces": 0, "originalSale": 321100, "sale": 321100, "material": 286000, "laborAndFees": 5400, "unallocated": 0, "totalCost": 291400, "profit": 29700, "ownerCost": 286000, "assistantCost": 5400, "assistant2Cost": 0, "known": { "sale": 321100, "material": 286000, "laborAndFees": 5400, "unallocated": 0, "totalCost": 291400, "profit": 29700, "ownerCost": 286000, "assistantCost": 5400, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金999", "amount": 286000, "payer": "owner", "excluded": false, "calculation": { "rate": 88000, "quantity": 3250 }, "component": "material" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 4000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 200, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "快递", "source": "2026-11-18", "amount": 1200, "payer": "assistant", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 4000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 200, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "快递", "source": "2026-11-18", "amount": 1200, "payer": "assistant", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 5, "reviewed_revision": 0 }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118002", "date": "2026-11-18", "created": "2026-11-18T02:01:18.000Z", "customer": "对照客户乙", "salesperson": "小昊", "status": "delivered", "note": "", "types": [ "货盘现货", "配货 · 银饰" ], "mg": 2000, "summaryMg": 2000, "pieces": 3, "originalSale": 217163, "sale": 217163, "material": null, "laborAndFees": null, "unallocated": 183000, "totalCost": 183000, "profit": 34163, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 183000, "known": { "sale": 217163, "material": 0, "laborAndFees": 0, "unallocated": 183000, "totalCost": 183000, "profit": 34163, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 183000 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金999", "amount": 180000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "unallocated" }, { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 2 · 纯银925", "amount": 3000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "unallocated" } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 4, "reviewed_revision": 0 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118003", "date": "2026-11-18", "created": "2026-11-18T02:01:19.000Z", "customer": "对照客户丙", "salesperson": "麦麦", "status": "delivered", "note": "老板改备注", "types": [ "配货" ], "mg": 0, "summaryMg": 0, "pieces": 1, "originalSale": 288500, "sale": 288500, "material": null, "laborAndFees": null, "unallocated": 150000, "totalCost": 151731, "profit": 136769, "ownerCost": 151731, "assistantCost": 0, "assistant2Cost": 0, "known": { "sale": 288500, "material": 0, "laborAndFees": 1731, "unallocated": 150000, "totalCost": 151731, "profit": 136769, "ownerCost": 151731, "assistantCost": 0, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 金镶玉吊坠", "amount": 150000, "payer": "owner", "excluded": false, "calculation": null, "component": "unallocated" }, { "kind": "paid", "name": "信用卡手续费(6‰)", "source": "2026-11-18", "amount": 1731, "payer": "owner", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "paid", "name": "信用卡手续费(6‰)", "source": "2026-11-18", "amount": 1731, "payer": "owner", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 5, "reviewed_revision": 0 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118004", "date": "2026-11-18", "created": "2026-11-18T02:01:20.000Z", "materialPoolIds": [ "2026-11-18" ], "materialCostPending": false, "customer": "对照客户丁", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "配货" ], "mg": 3000, "summaryMg": 3000, "pieces": 0, "originalSale": 330000, "sale": 330000, "material": 271935, "laborAndFees": 1000, "unallocated": 0, "totalCost": 272935, "profit": 57065, "ownerCost": 0, "assistantCost": 272935, "assistant2Cost": 0, "known": { "sale": 330000, "material": 271935, "laborAndFees": 1000, "unallocated": 0, "totalCost": 272935, "profit": 57065, "ownerCost": 0, "assistantCost": 272935, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 2026-11-18日购料", "amount": 271935, "payer": "assistant", "excluded": false, "materialPoolId": "2026-11-18", "materialPoolRevision": "2823f40ff78424f5423f0dbdf991ea5fcc83b0144648e9d2399869970c27af75", "calculation": { "rate": 90645, "quantity": 3000, "weighted": true } }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "补寄快递", "source": "2026-11-19", "amount": 1000, "payer": "assistant", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "补寄快递", "source": "2026-11-19", "amount": 1000, "payer": "assistant", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 6, "reviewed_revision": 0 }, { "id": "", "member": "owner", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118005", "date": "2026-11-18", "created": "2026-11-18T02:01:21.000Z", "customer": "对照草稿客户", "salesperson": "麦麦", "status": "delivered", "note": "", "types": [ "货盘·展柜A(主)" ], "mg": 10000, "summaryMg": 10000, "pieces": 0, "originalSale": 980000, "sale": 980000, "material": null, "laborAndFees": null, "unallocated": 900000, "totalCost": 900000, "profit": 80000, "ownerCost": 900000, "assistantCost": 0, "assistant2Cost": 0, "known": { "sale": 980000, "material": 0, "laborAndFees": 0, "unallocated": 900000, "totalCost": 900000, "profit": 80000, "ownerCost": 900000, "assistantCost": 0, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金手镯", "amount": 900000, "payer": "owner", "excluded": false, "calculation": null, "component": "unallocated" } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 5, "reviewed_revision": 0 }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118006", "date": "2026-11-18", "created": "2026-11-18T02:01:24.000Z", "cancellationApproved": { "id": "", "status": "approved", "order_revision": 4, "reason": "重复录入", "requester_name": "助理2", "created": "2026-11-19T02:00:41.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:00:45.000Z", "note": "核对原单后确认" }, "customer": "对照取消客户", "salesperson": "小昊", "status": "cancelled", "note": "", "types": [ "货盘现货" ], "mg": 1500, "summaryMg": 1500, "pieces": 0, "originalSale": 150000, "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0, "known": { "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0 }, "costItems": [], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "录错作废已获麦麦批准,本单销售、成本与收款记账已撤销,原单和审批记录保留", "balance": 0, "revision": 5, "reviewed_revision": 0 }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118007", "date": "2026-11-18", "created": "2026-11-18T02:01:25.000Z", "customer": "对照售后订单客户", "salesperson": "小昊", "status": "delivered", "note": "", "orderAfterSale": { "orderId": "", "date": "2026-11-19", "reason": "客户退回一件", "deductionReason": "客户确认扣费", "refund": { "amount": 90000, "account": "助理2支付宝", "payer": "assistant2", "reference": "" }, "expenses": [], "original": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": { "id": "", "status": "approved", "action": "return", "action_label": "订单售后", "order_revision": 4, "reason": "客户退回一件", "requester_name": "助理2", "created": "2026-11-19T02:01:03.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:01:05.000Z", "note": "实物已收回" }, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 0, "netReceived": 500000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 50000, "knownProfit": 50000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "funds_mode": "team", "credit_card_rate_permille": 6 }, "originalJournal": { "sales": 500000, "goods": 450000, "expense": 0, "profit": 50000 }, "summary": { "refundAmount": 90000, "retainedAmount": 410000, "materialReturnedCost": 88000, "laborRestockedCost": 0, "materialLoss": 352000, "costLoss": 362000, "originalDirectCost": 0, "newExpenses": 0, "directCost": 0, "profit": 48000, "finalProfit": 48000, "profitAdjustment": -2000, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ] }, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ], "originalOrder": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": { "id": "", "status": "approved", "action": "return", "action_label": "订单售后", "order_revision": 4, "reason": "客户退回一件", "requester_name": "助理2", "created": "2026-11-19T02:01:03.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:01:05.000Z", "note": "实物已收回" }, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 0, "netReceived": 500000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 50000, "knownProfit": 50000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "funds_mode": "team", "credit_card_rate_permille": 6 } }, "current_status": "returned", "types": [ "货盘现货" ], "mg": 5000, "summaryMg": 5000, "pieces": 0, "originalSale": 500000, "sale": 500000, "material": 440000, "laborAndFees": 10000, "unallocated": 0, "totalCost": 450000, "profit": 50000, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 450000, "known": { "sale": 500000, "material": 440000, "laborAndFees": 10000, "unallocated": 0, "totalCost": 450000, "profit": 50000, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 450000 }, "costItems": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金手链", "amount": 440000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "material" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金手链", "amount": 10000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金手链", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金手链", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金手链", "amount": 10000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金手链", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金手链", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 4, "reviewed_revision": 0 }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118008", "date": "2026-11-18", "created": "2026-11-18T02:01:26.000Z", "customer": "对照驳回客户", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 800, "summaryMg": 800, "pieces": 0, "originalSale": 82000, "sale": 82000, "material": null, "laborAndFees": null, "unallocated": 70000, "totalCost": 70000, "profit": 12000, "ownerCost": 0, "assistantCost": 70000, "assistant2Cost": 0, "known": { "sale": 82000, "material": 0, "laborAndFees": 0, "unallocated": 70000, "totalCost": 70000, "profit": 12000, "ownerCost": 0, "assistantCost": 70000, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金耳钉", "amount": 70000, "payer": "assistant", "excluded": false, "calculation": null, "component": "unallocated" } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 5, "reviewed_revision": 0 }, { "id": "", "member": "owner", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118009", "date": "2026-11-18", "created": "2026-11-18T02:01:27.000Z", "customer": "对照分步客户", "salesperson": "麦麦", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 4000, "summaryMg": 4000, "pieces": 0, "originalSale": 400000, "sale": 400000, "material": null, "laborAndFees": null, "unallocated": 350000, "totalCost": 351800, "profit": 48200, "ownerCost": 351800, "assistantCost": 0, "assistant2Cost": 0, "known": { "sale": 400000, "material": 0, "laborAndFees": 1800, "unallocated": 350000, "totalCost": 351800, "profit": 48200, "ownerCost": 351800, "assistantCost": 0, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金项链", "amount": 350000, "payer": "owner", "excluded": false, "calculation": null, "component": "unallocated" }, { "kind": "paid", "name": "信用卡手续费(6‰)", "source": "2026-11-18", "amount": 1800, "payer": "owner", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "paid", "name": "信用卡手续费(6‰)", "source": "2026-11-18", "amount": 1800, "payer": "owner", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 5, "reviewed_revision": 0 }, { "id": "", "kind": "afterSale", "after_sale_id": "", "number": "售后", "paper_number": "", "date": "2026-11-18", "created": "2026-11-18T02:02:03.000Z", "customer": "对照售后客户", "salesperson": "助理", "status": "after_sale", "project": "对照改圈", "note": "对照改圈", "amount": 950, "payer": "assistant", "types": [ "售后" ], "mg": 0, "summaryMg": 0, "pieces": 0, "originalSale": 0, "sale": 0, "material": 0, "laborAndFees": 950, "unallocated": 0, "totalCost": 950, "profit": -950, "ownerCost": 0, "assistantCost": 950, "known": { "sale": 0, "material": 0, "laborAndFees": 950, "unallocated": 0, "totalCost": 950, "profit": -950, "ownerCost": 0, "assistantCost": 950 }, "costItems": [ { "kind": "afterSale", "after_sale_id": "", "name": "对照改圈", "source": "售后 · 2026-11-18", "amount": 950, "payer": "assistant", "component": "fee", "calculation": null } ], "laborAndFeeItems": [ { "kind": "afterSale", "after_sale_id": "", "name": "对照改圈", "source": "售后 · 2026-11-18", "amount": 950, "payer": "assistant", "component": "fee", "calculation": null } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "独立售后支出,计入所选日期利润", "balance": 0, "revision": 2, "reviewed_revision": 2 }, { "id": "", "kind": "afterSale", "after_sale_id": "", "number": "售后", "paper_number": "", "date": "2026-11-18", "created": "2026-11-18T02:02:06.000Z", "customer": "对照售后客户二", "salesperson": "麦麦", "status": "after_sale", "project": "对照清洗", "note": "对照清洗", "amount": 0, "payer": "owner", "types": [ "售后" ], "mg": 0, "summaryMg": 0, "pieces": 0, "originalSale": 0, "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "known": { "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0 }, "costItems": [ { "kind": "afterSale", "after_sale_id": "", "name": "对照清洗", "source": "售后 · 2026-11-18", "amount": 0, "payer": "owner", "component": "fee", "calculation": null } ], "laborAndFeeItems": [ { "kind": "afterSale", "after_sale_id": "", "name": "对照清洗", "source": "售后 · 2026-11-18", "amount": 0, "payer": "owner", "component": "fee", "calculation": null } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "独立售后支出,计入所选日期利润", "balance": 0, "revision": 1, "reviewed_revision": 1 }, { "id": "", "order_id": "", "kind": "orderAfterSale", "orderAfterSale": { "orderId": "", "date": "2026-11-19", "reason": "客户退回一件", "deductionReason": "客户确认扣费", "refund": { "amount": 90000, "account": "助理2支付宝", "payer": "assistant2", "reference": "" }, "expenses": [], "original": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": { "id": "", "status": "approved", "action": "return", "action_label": "订单售后", "order_revision": 4, "reason": "客户退回一件", "requester_name": "助理2", "created": "2026-11-19T02:01:03.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:01:05.000Z", "note": "实物已收回" }, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 0, "netReceived": 500000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 50000, "knownProfit": 50000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "funds_mode": "team", "credit_card_rate_permille": 6 }, "originalJournal": { "sales": 500000, "goods": 450000, "expense": 0, "profit": 50000 }, "summary": { "refundAmount": 90000, "retainedAmount": 410000, "materialReturnedCost": 88000, "laborRestockedCost": 0, "materialLoss": 352000, "costLoss": 362000, "originalDirectCost": 0, "newExpenses": 0, "directCost": 0, "profit": 48000, "finalProfit": 48000, "profitAdjustment": -2000, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ] }, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ], "order_id": "", "created": "2026-11-19T02:01:05.000Z", "number": "MM20261118-", "paper_number": "20261118007", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "order_date": "2026-11-18", "member": "assistant2" }, "member": "assistant2", "number": "MM20261118-", "paper_number": "20261118007", "date": "2026-11-19", "order_date": "2026-11-18", "created": "2026-11-19T02:01:05.000Z", "customer": "对照售后订单客户", "salesperson": "小昊", "status": "after_sale", "note": "", "project": "订单售后", "types": [ "订单售后" ], "mg": 0, "summaryMg": 0, "pieces": 0, "originalSale": 500000, "sale": -90000, "material": -88000, "laborAndFees": 0, "unallocated": 0, "totalCost": -88000, "profit": -2000, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": -88000, "known": { "sale": -90000, "material": -88000, "laborAndFees": 0, "unallocated": 0, "totalCost": -88000, "profit": -2000, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": -88000 }, "costItems": [ { "kind": "goods", "component": "material", "name": "售后收回金料成本", "source": "商品 1 · 足金手链", "amount": -88000, "payer": "assistant2", "nonCash": true, "materialPoolId": "2026-11-19", "calculation": null } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "按售后发生日调整;回收成本不属于新付款", "balance": 0, "revision": 1, "reviewed_revision": 1 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119010", "date": "2026-11-19", "created": "2026-11-19T02:01:28.000Z", "price_lock_id": "", "customer": "对照锁价客户(改)", "salesperson": "娜娜", "status": "delivered", "note": "锁价备注;锁价单 SJ20261118-;按原锁定金价 900.00元/克结算", "types": [ "货盘现货" ], "mg": 3100, "summaryMg": 3100, "pieces": 0, "originalSale": 286200, "sale": 286200, "material": 264000, "laborAndFees": 3600, "unallocated": 0, "totalCost": 267600, "profit": 18600, "ownerCost": 255600, "assistantCost": 12000, "assistant2Cost": 0, "known": { "sale": 286200, "material": 264000, "laborAndFees": 3600, "unallocated": 0, "totalCost": 267600, "profit": 18600, "ownerCost": 255600, "assistantCost": 12000, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 原锁价采购", "amount": 255000, "payer": "owner", "excluded": false, "priceLockSource": "original", "calculation": { "rate": 85000, "quantity": 3000 } }, { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 补重采购", "amount": 9000, "payer": "assistant", "excluded": false, "priceLockSource": "extra", "calculation": { "rate": 90000, "quantity": 100 } }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "实际快递", "source": "2026-11-19", "amount": 600, "payer": "owner", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "实际快递", "source": "2026-11-19", "amount": 600, "payer": "owner", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 3, "reviewed_revision": 0 }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119011", "date": "2026-11-19", "created": "2026-11-19T02:01:32.000Z", "recovery_id": "", "recovery_mode": "exchange", "nonCashOffset": 0, "cashPaid": 0, "netSettlement": 422792, "recovery_immutable_reason": "本单关联黄金回收/置换、购料及库存,暂不支持普通订单修改、取消、退款、退货或费用变更,请保留原关联记录", "customer": "对照换货客户", "salesperson": "小昊", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 12000, "summaryMg": 12000, "pieces": 0, "originalSale": 422792, "sale": 422792, "material": 351720, "laborAndFees": 6000, "unallocated": 0, "totalCost": 357720, "profit": 65072, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 357720, "known": { "sale": 422792, "material": 351720, "laborAndFees": 6000, "unallocated": 0, "totalCost": 357720, "profit": 65072, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 357720 }, "costItems": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金对照新货", "amount": 351720, "payer": "assistant2", "excluded": false, "calculation": { "rate": 90000, "quantity": 3908 }, "component": "material" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 6000, "payer": "assistant2", "excluded": false, "calculation": { "rate": 500, "quantity": 12000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 6000, "payer": "assistant2", "excluded": false, "calculation": { "rate": 500, "quantity": 12000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 5, "reviewed_revision": 0 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119012", "date": "2026-11-19", "created": "2026-11-19T02:01:33.000Z", "recovery_id": "", "recovery_mode": "exchange", "nonCashOffset": 0, "cashPaid": 0, "netSettlement": 0, "recovery_immutable_reason": "本单关联黄金回收/置换、购料及库存,暂不支持普通订单修改、取消、退款、退货或费用变更,请保留原关联记录", "customer": "对照换货客户二", "salesperson": "娜娜", "status": "cancelled", "note": "", "types": [ "货盘现货" ], "mg": 6000, "summaryMg": 6000, "pieces": 0, "originalSale": 130800, "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0, "known": { "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0 }, "costItems": [], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "原售价与货品成本已冲回,实际费用保留", "balance": 130800, "revision": 5, "reviewed_revision": 0 }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119013", "date": "2026-11-19", "created": "2026-11-19T02:01:48.000Z", "customer": "当天客户(改)", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 2000, "summaryMg": 2000, "pieces": 0, "originalSale": 210000, "sale": 210000, "material": null, "laborAndFees": null, "unallocated": 180000, "totalCost": 180800, "profit": 29200, "ownerCost": 0, "assistantCost": 180800, "assistant2Cost": 0, "known": { "sale": 210000, "material": 0, "laborAndFees": 800, "unallocated": 180000, "totalCost": 180800, "profit": 29200, "ownerCost": 0, "assistantCost": 180800, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金吊坠", "amount": 180000, "payer": "assistant", "excluded": false, "calculation": null, "component": "unallocated" }, { "kind": "paid", "name": "当天快递", "source": "2026-11-19", "amount": 800, "payer": "assistant", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "paid", "name": "当天快递", "source": "2026-11-19", "amount": 800, "payer": "assistant", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 7, "reviewed_revision": 0 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119014", "date": "2026-11-19", "created": "2026-11-19T02:01:57.000Z", "cancellationApproved": { "id": "", "status": "approved", "order_revision": 4, "reason": "当天录错", "requester_name": "助理", "created": "2026-11-19T02:01:59.000Z", "reviewer_name": null, "reviewed": null, "note": "", "direct": true, "operator_name": "助理", "executedAt": "2026-11-19T02:01:59.000Z" }, "customer": "当天取消客户", "salesperson": "娜娜", "status": "cancelled", "note": "", "types": [ "货盘现货" ], "mg": 2000, "summaryMg": 2000, "pieces": 0, "originalSale": 210000, "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0, "known": { "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0 }, "costItems": [], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "录错作废已获麦麦批准,本单销售、成本与收款记账已撤销,原单和审批记录保留", "balance": 0, "revision": 5, "reviewed_revision": 0 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119015", "date": "2026-11-19", "created": "2026-11-19T02:02:40.000Z", "materialPoolIds": [ "2026-11-19" ], "materialCostPending": false, "customer": "滚动料池客户", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "配货" ], "mg": 2000, "summaryMg": 2000, "pieces": 0, "originalSale": 220000, "sale": 220000, "material": 181898, "laborAndFees": 0, "unallocated": 0, "totalCost": 181898, "profit": 38102, "ownerCost": 0, "assistantCost": 181898, "assistant2Cost": 0, "known": { "sale": 220000, "material": 181898, "laborAndFees": 0, "unallocated": 0, "totalCost": 181898, "profit": 38102, "ownerCost": 0, "assistantCost": 181898, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 2026-11-19日购料", "amount": 181898, "payer": "assistant", "excluded": false, "materialPoolId": "2026-11-19", "materialPoolRevision": "278a6986270886d53a62e969a467ca9cc287fb29d2d3db30e437b74501f04dfc", "calculation": { "rate": 90949, "quantity": 2000, "weighted": true } }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 4, "reviewed_revision": 0 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119016", "date": "2026-11-19", "created": "2026-11-19T02:02:51.000Z", "customer": "安全测试", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 500, "summaryMg": 500, "pieces": 0, "originalSale": 50000, "sale": 50000, "material": null, "laborAndFees": null, "unallocated": 42000, "totalCost": 42000, "profit": 8000, "ownerCost": 0, "assistantCost": 42000, "assistant2Cost": 0, "known": { "sale": 50000, "material": 0, "laborAndFees": 0, "unallocated": 42000, "totalCost": 42000, "profit": 8000, "ownerCost": 0, "assistantCost": 42000, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金转运珠", "amount": 42000, "payer": "assistant", "excluded": false, "calculation": null, "component": "unallocated" } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 4, "reviewed_revision": 0 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261120-", "paper_number": "20261120017", "date": "2026-11-20", "created": "2026-11-20T02:00:29.000Z", "customer": "留档客户", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 2000, "summaryMg": 2000, "pieces": 0, "originalSale": 200000, "sale": 200000, "material": 180000, "laborAndFees": 5000, "unallocated": 0, "totalCost": 185000, "profit": 15000, "ownerCost": 0, "assistantCost": 185000, "assistant2Cost": 0, "known": { "sale": 200000, "material": 180000, "laborAndFees": 5000, "unallocated": 0, "totalCost": 185000, "profit": 15000, "ownerCost": 0, "assistantCost": 185000, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金手链", "amount": 180000, "payer": "assistant", "excluded": false, "calculation": null, "component": "material" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金手链", "amount": 5000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金手链", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金手链", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金手链", "amount": 5000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金手链", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金手链", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 4, "reviewed_revision": 0 } ], "displayRows": [ { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118001", "date": "2026-11-18", "created": "2026-11-18T02:01:17.000Z", "customer": "对照客户甲(改)", "salesperson": "娜娜", "status": "delivered", "note": "客户单备注", "types": [ "货盘现货" ], "mg": 3250, "summaryMg": 3250, "pieces": 0, "originalSale": 321100, "sale": 321100, "material": 286000, "laborAndFees": 5400, "unallocated": 0, "totalCost": 291400, "profit": 29700, "ownerCost": 286000, "assistantCost": 5400, "assistant2Cost": 0, "known": { "sale": 321100, "material": 286000, "laborAndFees": 5400, "unallocated": 0, "totalCost": 291400, "profit": 29700, "ownerCost": 286000, "assistantCost": 5400, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金999", "amount": 286000, "payer": "owner", "excluded": false, "calculation": { "rate": 88000, "quantity": 3250 }, "component": "material" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 4000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 200, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "快递", "source": "2026-11-18", "amount": 1200, "payer": "assistant", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 4000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 200, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "快递", "source": "2026-11-18", "amount": 1200, "payer": "assistant", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 5, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 2, "updated": "2026-11-18T02:01:50.000Z", "actor": "助理" } }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118002", "date": "2026-11-18", "created": "2026-11-18T02:01:18.000Z", "customer": "对照客户乙", "salesperson": "小昊", "status": "delivered", "note": "", "types": [ "货盘现货", "配货 · 银饰" ], "mg": 2000, "summaryMg": 2000, "pieces": 3, "originalSale": 217163, "sale": 217163, "material": null, "laborAndFees": null, "unallocated": 183000, "totalCost": 183000, "profit": 34163, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 183000, "known": { "sale": 217163, "material": 0, "laborAndFees": 0, "unallocated": 183000, "totalCost": 183000, "profit": 34163, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 183000 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金999", "amount": 180000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "unallocated" }, { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 2 · 纯银925", "amount": 3000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "unallocated" } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 4, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118003", "date": "2026-11-18", "created": "2026-11-18T02:01:19.000Z", "customer": "对照客户丙", "salesperson": "麦麦", "status": "delivered", "note": "老板改备注", "types": [ "配货" ], "mg": 0, "summaryMg": 0, "pieces": 1, "originalSale": 288500, "sale": 288500, "material": null, "laborAndFees": null, "unallocated": 150000, "totalCost": 151731, "profit": 136769, "ownerCost": 151731, "assistantCost": 0, "assistant2Cost": 0, "known": { "sale": 288500, "material": 0, "laborAndFees": 1731, "unallocated": 150000, "totalCost": 151731, "profit": 136769, "ownerCost": 151731, "assistantCost": 0, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 金镶玉吊坠", "amount": 150000, "payer": "owner", "excluded": false, "calculation": null, "component": "unallocated" }, { "kind": "paid", "name": "信用卡手续费(6‰)", "source": "2026-11-18", "amount": 1731, "payer": "owner", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "paid", "name": "信用卡手续费(6‰)", "source": "2026-11-18", "amount": 1731, "payer": "owner", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 5, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118004", "date": "2026-11-18", "created": "2026-11-18T02:01:20.000Z", "materialPoolIds": [ "2026-11-18" ], "materialCostPending": false, "customer": "对照客户丁", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "配货" ], "mg": 3000, "summaryMg": 3000, "pieces": 0, "originalSale": 330000, "sale": 330000, "material": 271935, "laborAndFees": 1000, "unallocated": 0, "totalCost": 272935, "profit": 57065, "ownerCost": 0, "assistantCost": 272935, "assistant2Cost": 0, "known": { "sale": 330000, "material": 271935, "laborAndFees": 1000, "unallocated": 0, "totalCost": 272935, "profit": 57065, "ownerCost": 0, "assistantCost": 272935, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 2026-11-18日购料", "amount": 271935, "payer": "assistant", "excluded": false, "materialPoolId": "2026-11-18", "materialPoolRevision": "2823f40ff78424f5423f0dbdf991ea5fcc83b0144648e9d2399869970c27af75", "calculation": { "rate": 90645, "quantity": 3000, "weighted": true } }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "补寄快递", "source": "2026-11-19", "amount": 1000, "payer": "assistant", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "补寄快递", "source": "2026-11-19", "amount": 1000, "payer": "assistant", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 6, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "owner", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118005", "date": "2026-11-18", "created": "2026-11-18T02:01:21.000Z", "customer": "对照草稿客户", "salesperson": "麦麦", "status": "delivered", "note": "", "types": [ "货盘·展柜A(主)" ], "mg": 10000, "summaryMg": 10000, "pieces": 0, "originalSale": 980000, "sale": 980000, "material": null, "laborAndFees": null, "unallocated": 900000, "totalCost": 900000, "profit": 80000, "ownerCost": 900000, "assistantCost": 0, "assistant2Cost": 0, "known": { "sale": 980000, "material": 0, "laborAndFees": 0, "unallocated": 900000, "totalCost": 900000, "profit": 80000, "ownerCost": 900000, "assistantCost": 0, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金手镯", "amount": 900000, "payer": "owner", "excluded": false, "calculation": null, "component": "unallocated" } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 5, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118006", "date": "2026-11-18", "created": "2026-11-18T02:01:24.000Z", "cancellationApproved": { "id": "", "status": "approved", "order_revision": 4, "reason": "重复录入", "requester_name": "助理2", "created": "2026-11-19T02:00:41.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:00:45.000Z", "note": "核对原单后确认" }, "customer": "对照取消客户", "salesperson": "小昊", "status": "cancelled", "note": "", "types": [ "货盘现货" ], "mg": 1500, "summaryMg": 1500, "pieces": 0, "originalSale": 150000, "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0, "known": { "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0 }, "costItems": [], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "录错作废已获麦麦批准,本单销售、成本与收款记账已撤销,原单和审批记录保留", "balance": 0, "revision": 5, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118007", "date": "2026-11-18", "created": "2026-11-18T02:01:25.000Z", "customer": "对照售后订单客户", "salesperson": "小昊", "status": "returned", "note": "", "orderAfterSale": { "orderId": "", "date": "2026-11-19", "reason": "客户退回一件", "deductionReason": "客户确认扣费", "refund": { "amount": 90000, "account": "助理2支付宝", "payer": "assistant2", "reference": "" }, "expenses": [], "original": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": { "id": "", "status": "approved", "action": "return", "action_label": "订单售后", "order_revision": 4, "reason": "客户退回一件", "requester_name": "助理2", "created": "2026-11-19T02:01:03.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:01:05.000Z", "note": "实物已收回" }, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 0, "netReceived": 500000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 50000, "knownProfit": 50000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "funds_mode": "team", "credit_card_rate_permille": 6 }, "originalJournal": { "sales": 500000, "goods": 450000, "expense": 0, "profit": 50000 }, "summary": { "refundAmount": 90000, "retainedAmount": 410000, "materialReturnedCost": 88000, "laborRestockedCost": 0, "materialLoss": 352000, "costLoss": 362000, "originalDirectCost": 0, "newExpenses": 0, "directCost": 0, "profit": 48000, "finalProfit": 48000, "profitAdjustment": -2000, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ] }, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ], "originalOrder": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": { "id": "", "status": "approved", "action": "return", "action_label": "订单售后", "order_revision": 4, "reason": "客户退回一件", "requester_name": "助理2", "created": "2026-11-19T02:01:03.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:01:05.000Z", "note": "实物已收回" }, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 0, "netReceived": 500000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 50000, "knownProfit": 50000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "funds_mode": "team", "credit_card_rate_permille": 6 } }, "current_status": "returned", "types": [ "货盘现货" ], "mg": 5000, "summaryMg": 5000, "pieces": 0, "originalSale": 500000, "sale": 500000, "material": 440000, "laborAndFees": 10000, "unallocated": 0, "totalCost": 450000, "profit": 50000, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 450000, "known": { "sale": 500000, "material": 440000, "laborAndFees": 10000, "unallocated": 0, "totalCost": 450000, "profit": 50000, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 450000 }, "costItems": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金手链", "amount": 440000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "material" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金手链", "amount": 10000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金手链", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金手链", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金手链", "amount": 10000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金手链", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金手链", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 4, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118008", "date": "2026-11-18", "created": "2026-11-18T02:01:26.000Z", "customer": "对照驳回客户", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 800, "summaryMg": 800, "pieces": 0, "originalSale": 82000, "sale": 82000, "material": null, "laborAndFees": null, "unallocated": 70000, "totalCost": 70000, "profit": 12000, "ownerCost": 0, "assistantCost": 70000, "assistant2Cost": 0, "known": { "sale": 82000, "material": 0, "laborAndFees": 0, "unallocated": 70000, "totalCost": 70000, "profit": 12000, "ownerCost": 0, "assistantCost": 70000, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金耳钉", "amount": 70000, "payer": "assistant", "excluded": false, "calculation": null, "component": "unallocated" } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 5, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "owner", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118009", "date": "2026-11-18", "created": "2026-11-18T02:01:27.000Z", "customer": "对照分步客户", "salesperson": "麦麦", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 4000, "summaryMg": 4000, "pieces": 0, "originalSale": 400000, "sale": 400000, "material": null, "laborAndFees": null, "unallocated": 350000, "totalCost": 351800, "profit": 48200, "ownerCost": 351800, "assistantCost": 0, "assistant2Cost": 0, "known": { "sale": 400000, "material": 0, "laborAndFees": 1800, "unallocated": 350000, "totalCost": 351800, "profit": 48200, "ownerCost": 351800, "assistantCost": 0, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金项链", "amount": 350000, "payer": "owner", "excluded": false, "calculation": null, "component": "unallocated" }, { "kind": "paid", "name": "信用卡手续费(6‰)", "source": "2026-11-18", "amount": 1800, "payer": "owner", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "paid", "name": "信用卡手续费(6‰)", "source": "2026-11-18", "amount": 1800, "payer": "owner", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 5, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "kind": "afterSale", "after_sale_id": "", "number": "售后", "paper_number": "", "date": "2026-11-18", "created": "2026-11-18T02:02:03.000Z", "customer": "对照售后客户", "salesperson": "助理", "status": "after_sale", "project": "对照改圈", "note": "对照改圈", "amount": 950, "payer": "assistant", "types": [ "售后" ], "mg": 0, "summaryMg": 0, "pieces": 0, "originalSale": 0, "sale": 0, "material": 0, "laborAndFees": 950, "unallocated": 0, "totalCost": 950, "profit": -950, "ownerCost": 0, "assistantCost": 950, "known": { "sale": 0, "material": 0, "laborAndFees": 950, "unallocated": 0, "totalCost": 950, "profit": -950, "ownerCost": 0, "assistantCost": 950 }, "costItems": [ { "kind": "afterSale", "after_sale_id": "", "name": "对照改圈", "source": "售后 · 2026-11-18", "amount": 950, "payer": "assistant", "component": "fee", "calculation": null } ], "laborAndFeeItems": [ { "kind": "afterSale", "after_sale_id": "", "name": "对照改圈", "source": "售后 · 2026-11-18", "amount": 950, "payer": "assistant", "component": "fee", "calculation": null } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "独立售后支出,计入所选日期利润", "balance": 0, "revision": 2, "reviewed_revision": 2 }, { "id": "", "kind": "afterSale", "after_sale_id": "", "number": "售后", "paper_number": "", "date": "2026-11-18", "created": "2026-11-18T02:02:06.000Z", "customer": "对照售后客户二", "salesperson": "麦麦", "status": "after_sale", "project": "对照清洗", "note": "对照清洗", "amount": 0, "payer": "owner", "types": [ "售后" ], "mg": 0, "summaryMg": 0, "pieces": 0, "originalSale": 0, "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "known": { "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0 }, "costItems": [ { "kind": "afterSale", "after_sale_id": "", "name": "对照清洗", "source": "售后 · 2026-11-18", "amount": 0, "payer": "owner", "component": "fee", "calculation": null } ], "laborAndFeeItems": [ { "kind": "afterSale", "after_sale_id": "", "name": "对照清洗", "source": "售后 · 2026-11-18", "amount": 0, "payer": "owner", "component": "fee", "calculation": null } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "独立售后支出,计入所选日期利润", "balance": 0, "revision": 1, "reviewed_revision": 1 }, { "id": "", "order_id": "", "kind": "orderAfterSale", "orderAfterSale": { "orderId": "", "date": "2026-11-19", "reason": "客户退回一件", "deductionReason": "客户确认扣费", "refund": { "amount": 90000, "account": "助理2支付宝", "payer": "assistant2", "reference": "" }, "expenses": [], "original": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": { "id": "", "status": "approved", "action": "return", "action_label": "订单售后", "order_revision": 4, "reason": "客户退回一件", "requester_name": "助理2", "created": "2026-11-19T02:01:03.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:01:05.000Z", "note": "实物已收回" }, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 0, "netReceived": 500000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 50000, "knownProfit": 50000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "funds_mode": "team", "credit_card_rate_permille": 6 }, "originalJournal": { "sales": 500000, "goods": 450000, "expense": 0, "profit": 50000 }, "summary": { "refundAmount": 90000, "retainedAmount": 410000, "materialReturnedCost": 88000, "laborRestockedCost": 0, "materialLoss": 352000, "costLoss": 362000, "originalDirectCost": 0, "newExpenses": 0, "directCost": 0, "profit": 48000, "finalProfit": 48000, "profitAdjustment": -2000, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ] }, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ], "order_id": "", "created": "2026-11-19T02:01:05.000Z", "number": "MM20261118-", "paper_number": "20261118007", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "order_date": "2026-11-18", "member": "assistant2" }, "member": "assistant2", "number": "MM20261118-", "paper_number": "20261118007", "date": "2026-11-19", "order_date": "2026-11-18", "created": "2026-11-19T02:01:05.000Z", "customer": "对照售后订单客户", "salesperson": "小昊", "status": "after_sale", "note": "", "project": "订单售后", "types": [ "订单售后" ], "mg": 0, "summaryMg": 0, "pieces": 0, "originalSale": 500000, "sale": -90000, "material": -88000, "laborAndFees": 0, "unallocated": 0, "totalCost": -88000, "profit": -2000, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": -88000, "known": { "sale": -90000, "material": -88000, "laborAndFees": 0, "unallocated": 0, "totalCost": -88000, "profit": -2000, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": -88000 }, "costItems": [ { "kind": "goods", "component": "material", "name": "售后收回金料成本", "source": "商品 1 · 足金手链", "amount": -88000, "payer": "assistant2", "nonCash": true, "materialPoolId": "2026-11-19", "calculation": null } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "按售后发生日调整;回收成本不属于新付款", "balance": 0, "revision": 1, "reviewed_revision": 1 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119010", "date": "2026-11-19", "created": "2026-11-19T02:01:28.000Z", "price_lock_id": "", "customer": "对照锁价客户(改)", "salesperson": "娜娜", "status": "delivered", "note": "锁价备注;锁价单 SJ20261118-;按原锁定金价 900.00元/克结算", "types": [ "货盘现货" ], "mg": 3100, "summaryMg": 3100, "pieces": 0, "originalSale": 286200, "sale": 286200, "material": 264000, "laborAndFees": 3600, "unallocated": 0, "totalCost": 267600, "profit": 18600, "ownerCost": 255600, "assistantCost": 12000, "assistant2Cost": 0, "known": { "sale": 286200, "material": 264000, "laborAndFees": 3600, "unallocated": 0, "totalCost": 267600, "profit": 18600, "ownerCost": 255600, "assistantCost": 12000, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 原锁价采购", "amount": 255000, "payer": "owner", "excluded": false, "priceLockSource": "original", "calculation": { "rate": 85000, "quantity": 3000 } }, { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 补重采购", "amount": 9000, "payer": "assistant", "excluded": false, "priceLockSource": "extra", "calculation": { "rate": 90000, "quantity": 100 } }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "实际快递", "source": "2026-11-19", "amount": 600, "payer": "owner", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "实际快递", "source": "2026-11-19", "amount": 600, "payer": "owner", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 3, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119011", "date": "2026-11-19", "created": "2026-11-19T02:01:32.000Z", "recovery_id": "", "recovery_mode": "exchange", "nonCashOffset": 0, "cashPaid": 0, "netSettlement": 422792, "recovery_immutable_reason": "本单关联黄金回收/置换、购料及库存,暂不支持普通订单修改、取消、退款、退货或费用变更,请保留原关联记录", "customer": "对照换货客户", "salesperson": "小昊", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 12000, "summaryMg": 12000, "pieces": 0, "originalSale": 422792, "sale": 422792, "material": 351720, "laborAndFees": 6000, "unallocated": 0, "totalCost": 357720, "profit": 65072, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 357720, "known": { "sale": 422792, "material": 351720, "laborAndFees": 6000, "unallocated": 0, "totalCost": 357720, "profit": 65072, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 357720 }, "costItems": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金对照新货", "amount": 351720, "payer": "assistant2", "excluded": false, "calculation": { "rate": 90000, "quantity": 3908 }, "component": "material" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 6000, "payer": "assistant2", "excluded": false, "calculation": { "rate": 500, "quantity": 12000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 6000, "payer": "assistant2", "excluded": false, "calculation": { "rate": 500, "quantity": 12000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 5, "reviewed_revision": 0, "printStatus": { "kind": "recovery", "id": "", "printed": true, "revision": 1, "updated": "2026-11-19T02:01:40.000Z", "actor": "助理2" } }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119012", "date": "2026-11-19", "created": "2026-11-19T02:01:33.000Z", "recovery_id": "", "recovery_mode": "exchange", "nonCashOffset": 0, "cashPaid": 0, "netSettlement": 0, "recovery_immutable_reason": "本单关联黄金回收/置换、购料及库存,暂不支持普通订单修改、取消、退款、退货或费用变更,请保留原关联记录", "customer": "对照换货客户二", "salesperson": "娜娜", "status": "cancelled", "note": "", "types": [ "货盘现货" ], "mg": 6000, "summaryMg": 6000, "pieces": 0, "originalSale": 130800, "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0, "known": { "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0 }, "costItems": [], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "原售价与货品成本已冲回,实际费用保留", "balance": 130800, "revision": 5, "reviewed_revision": 0, "printStatus": { "kind": "recovery", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119013", "date": "2026-11-19", "created": "2026-11-19T02:01:48.000Z", "customer": "当天客户(改)", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 2000, "summaryMg": 2000, "pieces": 0, "originalSale": 210000, "sale": 210000, "material": null, "laborAndFees": null, "unallocated": 180000, "totalCost": 180800, "profit": 29200, "ownerCost": 0, "assistantCost": 180800, "assistant2Cost": 0, "known": { "sale": 210000, "material": 0, "laborAndFees": 800, "unallocated": 180000, "totalCost": 180800, "profit": 29200, "ownerCost": 0, "assistantCost": 180800, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金吊坠", "amount": 180000, "payer": "assistant", "excluded": false, "calculation": null, "component": "unallocated" }, { "kind": "paid", "name": "当天快递", "source": "2026-11-19", "amount": 800, "payer": "assistant", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "paid", "name": "当天快递", "source": "2026-11-19", "amount": 800, "payer": "assistant", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 7, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119014", "date": "2026-11-19", "created": "2026-11-19T02:01:57.000Z", "cancellationApproved": { "id": "", "status": "approved", "order_revision": 4, "reason": "当天录错", "requester_name": "助理", "created": "2026-11-19T02:01:59.000Z", "reviewer_name": null, "reviewed": null, "note": "", "direct": true, "operator_name": "助理", "executedAt": "2026-11-19T02:01:59.000Z" }, "customer": "当天取消客户", "salesperson": "娜娜", "status": "cancelled", "note": "", "types": [ "货盘现货" ], "mg": 2000, "summaryMg": 2000, "pieces": 0, "originalSale": 210000, "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0, "known": { "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0 }, "costItems": [], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "录错作废已获麦麦批准,本单销售、成本与收款记账已撤销,原单和审批记录保留", "balance": 0, "revision": 5, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119015", "date": "2026-11-19", "created": "2026-11-19T02:02:40.000Z", "materialPoolIds": [ "2026-11-19" ], "materialCostPending": false, "customer": "滚动料池客户", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "配货" ], "mg": 2000, "summaryMg": 2000, "pieces": 0, "originalSale": 220000, "sale": 220000, "material": 181898, "laborAndFees": 0, "unallocated": 0, "totalCost": 181898, "profit": 38102, "ownerCost": 0, "assistantCost": 181898, "assistant2Cost": 0, "known": { "sale": 220000, "material": 181898, "laborAndFees": 0, "unallocated": 0, "totalCost": 181898, "profit": 38102, "ownerCost": 0, "assistantCost": 181898, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 2026-11-19日购料", "amount": 181898, "payer": "assistant", "excluded": false, "materialPoolId": "2026-11-19", "materialPoolRevision": "278a6986270886d53a62e969a467ca9cc287fb29d2d3db30e437b74501f04dfc", "calculation": { "rate": 90949, "quantity": 2000, "weighted": true } }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 4, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119016", "date": "2026-11-19", "created": "2026-11-19T02:02:51.000Z", "customer": "安全测试", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 500, "summaryMg": 500, "pieces": 0, "originalSale": 50000, "sale": 50000, "material": null, "laborAndFees": null, "unallocated": 42000, "totalCost": 42000, "profit": 8000, "ownerCost": 0, "assistantCost": 42000, "assistant2Cost": 0, "known": { "sale": 50000, "material": 0, "laborAndFees": 0, "unallocated": 42000, "totalCost": 42000, "profit": 8000, "ownerCost": 0, "assistantCost": 42000, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金转运珠", "amount": 42000, "payer": "assistant", "excluded": false, "calculation": null, "component": "unallocated" } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 4, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "kind": "recovery", "recovery_id": "", "recovery_mode": "direct", "number": "HS202611200003", "paper_number": "", "date": "2026-11-20", "created": "2026-11-20T02:00:20.000Z", "customer": "对照回收客户", "salesperson": "娜娜", "member": "assistant", "status": "recovery", "note": "", "types": [ "黄金回收" ], "mg": 10000, "summaryMg": 0, "pieces": 0, "cashPayment": 900000, "purchase_id": "", "costHint": "回收付款已计入每日购料,本行不计销售、利润和销售克重", "printStatus": { "kind": "recovery", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261120-", "paper_number": "20261120017", "date": "2026-11-20", "created": "2026-11-20T02:00:29.000Z", "customer": "留档客户", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 2000, "summaryMg": 2000, "pieces": 0, "originalSale": 200000, "sale": 200000, "material": 180000, "laborAndFees": 5000, "unallocated": 0, "totalCost": 185000, "profit": 15000, "ownerCost": 0, "assistantCost": 185000, "assistant2Cost": 0, "known": { "sale": 200000, "material": 180000, "laborAndFees": 5000, "unallocated": 0, "totalCost": 185000, "profit": 15000, "ownerCost": 0, "assistantCost": 185000, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金手链", "amount": 180000, "payer": "assistant", "excluded": false, "calculation": null, "component": "material" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金手链", "amount": 5000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金手链", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金手链", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金手链", "amount": 5000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金手链", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金手链", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 4, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "kind": "recovery", "recovery_id": "", "recovery_mode": "direct", "number": "HS202611200005", "paper_number": "", "date": "2026-11-20", "created": "2026-11-20T02:00:30.000Z", "customer": "留档回收客户", "salesperson": "娜娜", "member": "assistant", "status": "recovery", "note": "", "types": [ "黄金回收" ], "mg": 2000, "summaryMg": 0, "pieces": 0, "cashPayment": 180000, "purchase_id": "", "costHint": "回收付款已计入每日购料,本行不计销售、利润和销售克重", "printStatus": { "kind": "recovery", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } } ], "recoveryCount": 2, "summary": { "orderCount": 17, "completedCount": 14, "draftCount": 0, "confirmedCount": 0, "returnedCount": 1, "cancelledCount": 3, "incompleteCount": 0, "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "unknownCostCount": 0, "unknownProfitCount": 0, "legacyUnallocatedCount": 7, "sale": 4417755, "material": 1887553, "laborAndFees": 36281, "unallocated": 1875000, "totalCost": 3798834, "profit": 618921, "ownerCost": 1945131, "assistantCost": 950983, "assistant2Cost": 902720, "mg": 59150, "pieces": 4, "knownCounts": { "sale": 17, "material": 10, "laborAndFees": 10, "unallocated": 17, "totalCost": 17, "profit": 17, "ownerCost": 17, "assistantCost": 17, "assistant2Cost": 17 }, "unknownCounts": { "sale": 0, "material": 7, "laborAndFees": 7, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0 }, "partial": true, "afterSaleCount": 3, "recordCount": 20 }, "peopleCount": { "from": "2026-11-18", "date": "2026-11-20", "baselineDate": "2026-11-17", "mode": "daily-total", "assistant1": { "total": null, "endTotal": null, "baselineTotal": null, "baselineDate": null, "netChange": null, "netChangeReason": "missing-both", "recordedDays": 2 }, "assistant2": { "total": null, "endTotal": null, "baselineTotal": null, "baselineDate": null, "netChange": null, "netChangeReason": "missing-both", "recordedDays": 2 } }, "priceLockActivity": { "basis": "eventDate", "from": "2026-11-18", "date": "2026-11-20", "customerCash": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 270000, "account": "助理微信", "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:53.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null }, { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 50000, "account": "助理2微信", "number": "SJ20261118-", "customer": "对照锁价客户三", "product": "足金999", "actor": "助理2", "created": "2026-11-18T02:01:55.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null }, { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 120000, "account": "助理支付宝", "number": "SJ20261118-", "customer": "对照锁价客户二", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:02:02.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null }, { "id": "", "price_lock_id": "", "date": "2026-11-19", "kind": "receipt", "amount": 16200, "account": "助理支付宝", "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-19T02:01:28.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null } ], "orderPayments": [], "materialOutlays": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "material", "amount": 255000, "payer": "owner", "source": "original", "quantity": 3000, "rate": 85000, "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:53.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "component": "material" }, { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "material", "amount": 255000, "payer": "owner", "source": "original", "quantity": 3000, "rate": 85000, "number": "SJ20261118-", "customer": "对照锁价客户二", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:54.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "component": "material" }, { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "material", "amount": 258000, "payer": "assistant2", "source": "original", "quantity": 3000, "rate": 86000, "number": "SJ20261118-", "customer": "对照锁价客户三", "product": "足金999", "actor": "助理2", "created": "2026-11-18T02:01:55.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "component": "material" }, { "id": "", "price_lock_id": "", "date": "2026-11-19", "kind": "material", "amount": 9000, "payer": "assistant", "source": "extra", "quantity": 100, "rate": 90000, "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-19T02:01:28.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "component": "material" } ], "directOutlays": [ { "id": "", "order_id": "", "date": "2026-11-19", "amount": 600, "payer": "owner", "note": "实际快递", "actor": "助理", "created": "2026-11-19T02:01:28.000Z", "price_lock_id": "", "number": "SJ20261118-", "customer": "对照锁价客户(改)", "kind": "fee", "component": "fee", "product": "足金999" } ], "deliveryGoodsOutlays": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": null, "id": "price-lock-goods::0", "price_lock_id": "", "order_id": "", "number": "MM20261119-", "paper_number": "20261119010", "customer": "对照锁价客户(改)", "date": "2026-11-19", "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "id": "price-lock-goods::1", "price_lock_id": "", "order_id": "", "number": "MM20261119-", "paper_number": "20261119010", "customer": "对照锁价客户(改)", "date": "2026-11-19", "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "id": "price-lock-goods::2", "price_lock_id": "", "order_id": "", "number": "MM20261119-", "paper_number": "20261119010", "customer": "对照锁价客户(改)", "date": "2026-11-19", "component": "other" } ], "receipts": { "receipt": 456200, "refund": 0, "net": 456200, "channels": [ { "channel": "wechat", "name": "微信", "receipt": 320000, "refund": 0, "net": 320000 }, { "channel": "alipay", "name": "支付宝", "receipt": 136200, "refund": 0, "net": 136200 }, { "channel": "cash", "name": "现金", "receipt": 0, "refund": 0, "net": 0 } ], "accounts": [ { "account": "助理微信", "receipt": 270000, "refund": 0, "net": 270000 }, { "account": "助理支付宝", "receipt": 136200, "refund": 0, "net": 136200 }, { "account": "助理现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2微信", "receipt": 50000, "refund": 0, "net": 50000 }, { "account": "助理2支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2现金", "receipt": 0, "refund": 0, "net": 0 } ], "paymentCount": 4, "orderCount": 3 }, "payerOutlays": { "owner": { "payer": "owner", "material": 510000, "goods": 510000, "paidFees": 600, "total": 510600 }, "assistant": { "payer": "assistant", "material": 9000, "goods": 12000, "paidFees": 0, "total": 12000 }, "assistant2": { "payer": "assistant2", "material": 258000, "goods": 258000, "paidFees": 0, "total": 258000 } }, "summary": { "receipt": 456200, "refund": 0, "net": 456200, "materialOutlay": 777000, "goodsOutlay": 780000, "feeOutlay": 600, "ownerOutlay": 510600, "assistantOutlay": 12000, "assistant2Outlay": 258000, "totalOutlay": 780600, "eventCount": 12, "lockCount": 3 } }, "materialPoolActivity": { "basis": "purchaseDate", "from": "2026-11-18", "date": "2026-11-20", "purchases": [ { "id": "", "pool_id": "2026-11-18", "date": "2026-11-18", "mg": 11000, "amount": 990000, "payer": "assistant", "note": "核对凭据", "actor": "助理", "created": "2026-11-18T02:01:09.000Z", "revision": 2, "deleted_at": "", "updated": "2026-11-19T02:02:27.000Z" }, { "id": "", "pool_id": "2026-11-18", "date": "2026-11-18", "mg": 20000, "amount": 1820000, "payer": "owner", "note": "麦麦购料", "actor": "麦麦", "created": "2026-11-18T02:01:10.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-18T02:01:10.000Z" }, { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 5000, "amount": 460000, "payer": "assistant", "note": "第二天购料", "actor": "助理", "created": "2026-11-19T02:02:19.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:19.000Z" }, { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 4000, "amount": 370000, "payer": "assistant2", "note": "", "actor": "助理2", "created": "2026-11-19T02:02:20.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:20.000Z" }, { "id": "", "pool_id": "2026-11-20", "date": "2026-11-20", "mg": 10000, "amount": 900000, "payer": "assistant", "note": "直接回收 · HS202611200003", "actor": "助理", "created": "2026-11-20T02:00:20.000Z", "revision": 2, "deleted_at": "", "updated": "2026-11-20T02:00:25.000Z", "materialOwner": "assistant", "materialKind": "personal_recovery", "recoveryId": "", "recovery_id": "", "cashAmount": 900000, "offsetAmount": 0, "allocations": [ { "payer": "assistant", "amount": 900000, "source": "cash" } ], "canEdit": false }, { "id": "", "pool_id": "2026-11-20", "date": "2026-11-20", "mg": 2000, "amount": 180000, "payer": "assistant", "note": "直接回收 · HS202611200005", "actor": "助理", "created": "2026-11-20T02:00:30.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-20T02:00:30.000Z", "materialOwner": "assistant", "materialKind": "personal_recovery", "recoveryId": "", "recovery_id": "", "cashAmount": 180000, "offsetAmount": 0, "allocations": [ { "payer": "assistant", "amount": 180000, "source": "cash" } ], "canEdit": false } ], "payerOutlays": { "owner": { "payer": "owner", "material": 1820000, "goods": 1820000, "paidFees": 0, "total": 1820000, "purchaseCount": 1 }, "assistant": { "payer": "assistant", "material": 2530000, "goods": 2530000, "paidFees": 0, "total": 2530000, "purchaseCount": 4 }, "assistant2": { "payer": "assistant2", "material": 370000, "goods": 370000, "paidFees": 0, "total": 370000, "purchaseCount": 1 } }, "summary": { "purchaseCount": 6, "poolCount": 3, "mg": 52000, "materialOutlay": 4720000, "purchaseValue": 4720000, "ownerOutlay": 1820000, "assistantOutlay": 2530000, "assistant2Outlay": 370000, "totalOutlay": 4720000, "eventCount": 6 } }, "summaryWithoutCancelled": { "orderCount": 14, "completedCount": 14, "draftCount": 0, "confirmedCount": 0, "returnedCount": 1, "cancelledCount": 0, "incompleteCount": 0, "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "unknownCostCount": 0, "unknownProfitCount": 0, "legacyUnallocatedCount": 7, "sale": 4417755, "material": 1887553, "laborAndFees": 36281, "unallocated": 1875000, "totalCost": 3798834, "profit": 618921, "ownerCost": 1945131, "assistantCost": 950983, "assistant2Cost": 902720, "mg": 49650, "pieces": 4, "knownCounts": { "sale": 14, "material": 7, "laborAndFees": 7, "unallocated": 14, "totalCost": 14, "profit": 14, "ownerCost": 14, "assistantCost": 14, "assistant2Cost": 14 }, "unknownCounts": { "sale": 0, "material": 7, "laborAndFees": 7, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0 }, "partial": true, "afterSaleCount": 3, "recordCount": 17 }, "receiptsWithoutCancelled": { "basis": "orderDate", "filterScope": "matchingOrdersWithoutCancelled", "from": "2026-11-18", "date": "2026-11-20", "receipt": 4677755, "refund": 90000, "net": 4587755, "channels": [ { "channel": "wechat", "name": "微信", "receipt": 2243892, "refund": 0, "net": 2243892 }, { "channel": "alipay", "name": "支付宝", "receipt": 535363, "refund": 90000, "net": 445363 }, { "channel": "cash", "name": "现金", "receipt": 1310000, "refund": 0, "net": 1310000 }, { "channel": "credit_card", "name": "信用卡", "receipt": 588500, "refund": 0, "net": 588500 } ], "accounts": [ { "account": "助理微信", "receipt": 1271100, "refund": 0, "net": 1271100 }, { "account": "助理支付宝", "receipt": 218200, "refund": 0, "net": 218200 }, { "account": "助理现金", "receipt": 330000, "refund": 0, "net": 330000 }, { "account": "麦麦微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦支付宝", "receipt": 100000, "refund": 0, "net": 100000 }, { "account": "麦麦现金", "receipt": 980000, "refund": 0, "net": 980000 }, { "account": "麦麦信用卡", "receipt": 588500, "refund": 0, "net": 588500 }, { "account": "助理2微信", "receipt": 972792, "refund": 0, "net": 972792 }, { "account": "助理2支付宝", "receipt": 217163, "refund": 90000, "net": 127163 }, { "account": "助理2现金", "receipt": 0, "refund": 0, "net": 0 } ], "paymentCount": 21, "orderCount": 16 }, "receiptsByPaymentDate": { "basis": "paymentDate", "filterScope": "dateRange", "from": "2026-11-18", "date": "2026-11-20", "receipt": 4677755, "refund": 90000, "net": 4587755, "channels": [ { "channel": "wechat", "name": "微信", "receipt": 2243892, "refund": 0, "net": 2243892 }, { "channel": "alipay", "name": "支付宝", "receipt": 535363, "refund": 90000, "net": 445363 }, { "channel": "cash", "name": "现金", "receipt": 1310000, "refund": 0, "net": 1310000 }, { "channel": "credit_card", "name": "信用卡", "receipt": 588500, "refund": 0, "net": 588500 } ], "accounts": [ { "account": "助理微信", "receipt": 1271100, "refund": 0, "net": 1271100 }, { "account": "助理支付宝", "receipt": 218200, "refund": 0, "net": 218200 }, { "account": "助理现金", "receipt": 330000, "refund": 0, "net": 330000 }, { "account": "麦麦微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦支付宝", "receipt": 100000, "refund": 0, "net": 100000 }, { "account": "麦麦现金", "receipt": 980000, "refund": 0, "net": 980000 }, { "account": "麦麦信用卡", "receipt": 588500, "refund": 0, "net": 588500 }, { "account": "助理2微信", "receipt": 972792, "refund": 0, "net": 972792 }, { "account": "助理2支付宝", "receipt": 217163, "refund": 90000, "net": 127163 }, { "account": "助理2现金", "receipt": 0, "refund": 0, "net": 0 } ], "paymentCount": 27, "orderCount": 19 }, "receiptsByOrderDate": { "basis": "orderDate", "filterScope": "matchingOrders", "from": "2026-11-18", "date": "2026-11-20", "receipt": 4677755, "refund": 90000, "net": 4587755, "channels": [ { "channel": "wechat", "name": "微信", "receipt": 2243892, "refund": 0, "net": 2243892 }, { "channel": "alipay", "name": "支付宝", "receipt": 535363, "refund": 90000, "net": 445363 }, { "channel": "cash", "name": "现金", "receipt": 1310000, "refund": 0, "net": 1310000 }, { "channel": "credit_card", "name": "信用卡", "receipt": 588500, "refund": 0, "net": 588500 } ], "accounts": [ { "account": "助理微信", "receipt": 1271100, "refund": 0, "net": 1271100 }, { "account": "助理支付宝", "receipt": 218200, "refund": 0, "net": 218200 }, { "account": "助理现金", "receipt": 330000, "refund": 0, "net": 330000 }, { "account": "麦麦微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦支付宝", "receipt": 100000, "refund": 0, "net": 100000 }, { "account": "麦麦现金", "receipt": 980000, "refund": 0, "net": 980000 }, { "account": "麦麦信用卡", "receipt": 588500, "refund": 0, "net": 588500 }, { "account": "助理2微信", "receipt": 972792, "refund": 0, "net": 972792 }, { "account": "助理2支付宝", "receipt": 217163, "refund": 90000, "net": 127163 }, { "account": "助理2现金", "receipt": 0, "refund": 0, "net": 0 } ], "paymentCount": 27, "orderCount": 19 } } }, { "seq": 534, "label": "final-state-assistant", "date": "2026-11-20", "actor": "assistant", "method": "GET", "path": "/api/state", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "today": "2026-11-20", "mode": "trial", "user": { "id": "", "name": "助理", "role": "assistant", "member": "assistant", "operatorName": "娜娜", "label": "娜娜" }, "members": [ { "member": "owner", "label": "麦麦", "enabled": true }, { "member": "assistant", "label": "娜娜", "enabled": true }, { "member": "assistant2", "label": "小昊", "enabled": true } ], "shopSettings": { "version": 1, "revision": 7, "storeName": "黄金对照珠宝", "receiptSubtitle": "黄金对照销售单", "contact": "联系电话 000-0000", "members": [ { "member": "owner", "label": "麦麦" }, { "member": "assistant", "label": "娜娜" }, { "member": "assistant2", "label": "小昊" } ], "creditCardRatePermille": 6, "costPresets": { "jd": { "amount": "8", "payer": "owner" }, "yt": { "amount": "6", "payer": "order" }, "box": { "amount": "3", "payer": "owner" }, "steel": { "amount": "7", "payer": "owner" }, "silver": { "amount": "18", "payer": "owner" } }, "feeDefaults": { "certificate": "4", "packaging": "3", "shipping": "8", "packagingPayer": "owner" } }, "pockets": [ "现货", "金料", "找金", "回收旧料", "君宝汇", "pocket_" ], "pocketCatalog": [ { "key": "现货", "name": "现货", "active": true, "self": true, "builtin": true, "revision": 1, "created": "2026-11-18T02:00:00.000Z", "updated": "2026-11-18T02:00:00.000Z", "countUnit": null, "countSince": null }, { "key": "金料", "name": "金料", "active": true, "self": true, "builtin": true, "revision": 1, "created": "2026-11-18T02:00:00.000Z", "updated": "2026-11-18T02:00:00.000Z", "countUnit": null, "countSince": null }, { "key": "找金", "name": "找金", "active": true, "self": false, "builtin": true, "revision": 1, "created": "2026-11-18T02:00:00.000Z", "updated": "2026-11-18T02:00:00.000Z", "countUnit": null, "countSince": null }, { "key": "回收旧料", "name": "回收旧料", "active": true, "self": true, "builtin": true, "revision": 1, "created": "2026-11-18T02:00:00.000Z", "updated": "2026-11-18T02:00:00.000Z", "countUnit": null, "countSince": null }, { "key": "君宝汇", "name": "君宝汇", "active": true, "self": false, "builtin": true, "revision": 1, "created": "2026-11-18T02:00:00.000Z", "updated": "2026-11-18T02:00:00.000Z", "countUnit": null, "countSince": null }, { "key": "臻金汇", "name": "臻金汇", "active": false, "self": false, "builtin": true, "revision": 1, "created": "2026-11-18T02:00:00.000Z", "updated": "2026-11-18T02:00:00.000Z", "countUnit": null, "countSince": null }, { "key": "金金", "name": "金金", "active": false, "self": false, "builtin": true, "revision": 1, "created": "2026-11-18T02:00:00.000Z", "updated": "2026-11-18T02:00:00.000Z", "countUnit": null, "countSince": null }, { "key": "定制工厂", "name": "定制工厂", "active": false, "self": false, "builtin": true, "revision": 1, "created": "2026-11-18T02:00:00.000Z", "updated": "2026-11-18T02:00:00.000Z", "countUnit": null, "countSince": null }, { "key": "pocket_", "name": "展柜A(主)", "active": true, "self": true, "builtin": false, "revision": 2, "created": "2026-11-18T02:00:32.000Z", "updated": "2026-11-18T02:00:34.000Z", "countUnit": null, "countSince": null } ], "accounts": [ "助理微信", "助理支付宝", "助理现金", "麦麦微信", "麦麦支付宝", "麦麦现金", "麦麦信用卡", "助理2微信", "助理2支付宝", "助理2现金" ], "inventory": [ { "pocket": "现货", "mg": 65950, "reserved": 0, "available": 65950 }, { "pocket": "金料", "mg": 56000, "reserved": 0, "available": 56000 }, { "pocket": "找金", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "回收旧料", "mg": 20092, "reserved": 0, "available": 20092 }, { "pocket": "君宝汇", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "臻金汇", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "金金", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "定制工厂", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "pocket_", "mg": 10000, "reserved": 0, "available": 10000 } ], "orders": [ { "id": "", "number": "MM20261120-", "date": "2026-11-20", "customer": "留档客户", "salesperson": "娜娜", "note": "", "paper_number": "20261120017", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 2000, "pocket": "现货", "payer": "assistant", "cost": 185000, "costParts": { "material": 180000, "labor": 5000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 200000, "baseSale": 200000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 200000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-20T02:00:29.000Z", "delivered_date": "2026-11-20", "returned_date": null, "paper_date": "2026-11-20", "payment_account": "助理微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "留档备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": null, "ownershipPending": null, "ownershipApproved": null, "corrections": [], "received": 200000, "refunded": 0, "netReceived": 200000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 185000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 185000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 15000, "profit": 15000, "knownProfit": 15000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "sync": { "revision": 4, "done_revision": 0, "error": null, "updated": "2026-11-20T02:00:29.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 }, { "id": "", "number": "MM20261119-", "date": "2026-11-19", "customer": "安全测试", "salesperson": "娜娜", "note": "", "paper_number": "20261119016", "status": "delivered", "lines": [ { "name": "足金转运珠", "code": "", "unit": "g", "quantity": 500, "pocket": "现货", "payer": "assistant", "cost": 42000, "sale": 50000, "baseSale": 50000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 50000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-19T02:02:51.000Z", "delivered_date": "2026-11-19", "returned_date": null, "paper_date": "2026-11-19", "payment_account": "助理微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "安全测试备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": null, "ownershipPending": null, "ownershipApproved": null, "corrections": [], "received": 50000, "refunded": 0, "netReceived": 50000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 42000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 42000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 8000, "profit": 8000, "knownProfit": 8000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "sync": { "revision": 4, "done_revision": 0, "error": null, "updated": "2026-11-19T02:02:51.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 }, { "id": "", "number": "MM20261119-", "date": "2026-11-19", "customer": "滚动料池客户", "salesperson": "娜娜", "note": "", "paper_number": "20261119015", "status": "delivered", "lines": [ { "name": "足金999", "code": "", "unit": "g", "quantity": 2000, "pocket": "", "payer": "assistant", "cost": 181898, "costParts": { "material": 181898, "labor": 0, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "pool", "poolId": "2026-11-19" }, "costLabor": { "mode": "total" }, "sale": 220000, "baseSale": 220000, "charges": [], "pricingMode": "manual", "priceNote": "", "materialPool": { "poolId": "2026-11-19", "date": "2026-11-19", "status": "allocated", "amount": 181898, "quantity": 2000, "averageRate": 90949, "allocations": [ { "payer": "assistant", "amount": 181898 } ], "revision": "278a6986270886d53a62e969a467ca9cc287fb29d2d3db30e437b74501f04dfc", "rolling": true } } ], "discount": 0, "total": 220000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-19T02:02:40.000Z", "delivered_date": "2026-11-19", "returned_date": null, "paper_date": "2026-11-19", "payment_account": "助理微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "滚动料池备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": null, "ownershipPending": null, "ownershipApproved": null, "corrections": [], "received": 220000, "refunded": 0, "netReceived": 220000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 181898, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 181898, "pendingFees": [], "draftFees": 0, "estimatedProfit": 38102, "profit": 38102, "knownProfit": 38102, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "sync": { "revision": 4, "done_revision": 0, "error": null, "updated": "2026-11-19T02:02:40.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 }, { "id": "", "number": "MM20261119-", "date": "2026-11-19", "customer": "当天取消客户", "salesperson": "娜娜", "note": "", "paper_number": "20261119014", "status": "cancelled", "lines": [ { "name": "足金吊坠", "code": "", "unit": "g", "quantity": 2000, "pocket": "现货", "payer": "assistant", "cost": 180000, "sale": 210000, "baseSale": 210000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 210000, "revision": 5, "reviewed_revision": 0, "created": "2026-11-19T02:01:57.000Z", "delivered_date": "2026-11-19", "returned_date": null, "paper_date": "2026-11-19", "payment_account": "助理微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "当天单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant", "cancellationPending": null, "cancellationApproved": { "id": "", "status": "approved", "order_revision": 4, "reason": "当天录错", "requester_name": "助理", "created": "2026-11-19T02:01:59.000Z", "reviewer_name": null, "reviewed": null, "note": "", "direct": true, "operator_name": "助理", "executedAt": "2026-11-19T02:01:59.000Z" }, "changePending": null, "changeApproved": null, "ownershipPending": null, "ownershipApproved": null, "corrections": [ { "target": "", "type": "payment", "reason": "当天录错", "actor": "助理", "created": "2026-11-19T02:01:59.000Z" } ], "received": 0, "refunded": 0, "netReceived": 0, "balance": 0, "rounding_adjustment": 0, "goodsCost": 180000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 180000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 30000, "profit": 0, "knownProfit": 0, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "sync": { "revision": 5, "done_revision": 0, "error": null, "updated": "2026-11-19T02:01:59.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 }, { "id": "", "number": "MM20261119-", "date": "2026-11-19", "customer": "对照换货客户二", "salesperson": "娜娜", "note": "", "paper_number": "20261119012", "status": "cancelled", "lines": [ { "name": "足金对照新货", "code": "", "unit": "g", "quantity": 6000, "pocket": "现货", "payer": "assistant", "costPayers": { "material": "assistant", "labor": "assistant" }, "cost": 106410, "costParts": { "material": 103410, "labor": 3000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total", "rate": 90000, "consumptionMg": 1149 }, "costLabor": { "mode": "gram", "rate": 500 }, "sale": 131751, "baseSale": 131751, "charges": [], "pricingMode": "manual", "priceNote": "补金 1.149克 × 1000.00元;新货工费 120.00元;折旧 48.51元", "recoveryMaterialMg": 1149, "recovery_id": "" } ], "discount": 1000, "total": 130800, "revision": 5, "reviewed_revision": 0, "created": "2026-11-19T02:01:33.000Z", "delivered_date": "2026-11-19", "returned_date": null, "paper_date": "2026-11-19", "payment_account": "助理微信", "fee_items": [], "fees_date": "", "rounding_mode": "yuan", "internal_note": "", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": null, "ownershipPending": null, "ownershipApproved": null, "corrections": [ { "target": "", "type": "payment", "reason": "录错", "actor": "麦麦", "created": "2026-11-20T02:00:15.000Z" } ], "received": 0, "refunded": 0, "netReceived": 0, "balance": 130800, "recovery_id": "", "recovery_mode": "exchange", "recovery_immutable_reason": "本单关联黄金回收/置换、购料及库存,暂不支持普通订单修改、取消、退款、退货或费用变更,请保留原关联记录", "nonCashOffset": 0, "cashPaid": 0, "netSettlement": 0, "rounding_adjustment": 49, "goodsCost": 106410, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 106410, "pendingFees": [], "draftFees": 0, "estimatedProfit": 24390, "profit": 0, "knownProfit": 0, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "sync": { "revision": 5, "done_revision": 0, "error": null, "updated": "2026-11-20T02:00:15.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 }, { "id": "", "number": "MM20261119-", "date": "2026-11-19", "customer": "对照锁价客户(改)", "salesperson": "娜娜", "note": "锁价备注;锁价单 SJ20261118-;按原锁定金价 900.00元/克结算", "paper_number": "20261119010", "status": "delivered", "lines": [ { "name": "足金999", "code": "", "unit": "g", "quantity": 3100, "pocket": "现货", "payer": "assistant", "costPayers": { "material": "owner", "labor": "assistant" }, "cost": 267000, "costParts": { "material": 264000, "labor": 3000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 286200, "baseSale": 285200, "charges": [ { "name": "服务", "amount": 1000 } ], "pricingMode": "auto", "goldPrice": 90000, "laborRate": 2000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 900.00元/克 + 工费 20.00元/克", "lineId": "", "materialAllocations": [ { "source": "original", "quantity": 3000, "rate": 85000, "amount": 255000, "payer": "owner" }, { "source": "extra", "quantity": 100, "rate": 90000, "amount": 9000, "payer": "assistant" } ] } ], "discount": 0, "total": 286200, "revision": 3, "reviewed_revision": 0, "created": "2026-11-19T02:01:28.000Z", "delivered_date": "2026-11-19", "returned_date": null, "paper_date": "2026-11-19", "payment_account": "助理支付宝", "fee_items": [ { "key": "shipping", "amount": 600, "payer": "owner", "note": "实际快递", "status": "recorded", "edited": false } ], "fees_date": "2026-11-19", "rounding_mode": "yuan", "internal_note": "", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": null, "ownershipPending": null, "ownershipApproved": null, "price_lock_id": "", "corrections": [], "received": 286200, "refunded": 0, "netReceived": 286200, "balance": 0, "rounding_adjustment": 0, "goodsCost": 267000, "directCost": 600, "materialCostPending": false, "knownGoodsCost": 267000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 18600, "profit": 18600, "knownProfit": 18600, "ownerCost": 255600, "assistantInventoryCredit": 0, "assistantInventoryCreditSources": [], "assistantInventoryCreditExplanation": "", "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "sync": { "revision": 3, "done_revision": 0, "error": null, "updated": "2026-11-19T02:01:28.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 }, { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照客户丁", "salesperson": "娜娜", "note": "", "paper_number": "20261118004", "status": "delivered", "lines": [ { "name": "足金999", "code": "", "unit": "g", "quantity": 3000, "pocket": "", "payer": "assistant", "cost": 271935, "costParts": { "material": 271935, "labor": 0, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "pool", "poolId": "2026-11-18" }, "costLabor": { "mode": "total" }, "sale": 330000, "baseSale": 330000, "charges": [], "pricingMode": "manual", "priceNote": "", "materialPool": { "poolId": "2026-11-18", "date": "2026-11-18", "status": "allocated", "amount": 271935, "quantity": 3000, "averageRate": 90645, "allocations": [ { "payer": "assistant", "amount": 271935 } ], "revision": "2823f40ff78424f5423f0dbdf991ea5fcc83b0144648e9d2399869970c27af75" } } ], "discount": 0, "total": 330000, "revision": 6, "reviewed_revision": 0, "created": "2026-11-18T02:01:20.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理现金", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "料池单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": { "id": "", "status": "approved", "action": "expense", "action_label": "费用补记", "order_revision": 4, "reason": "补记快递", "requester_name": "助理", "created": "2026-11-19T02:00:36.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:00:37.000Z", "note": "核实" }, "ownershipPending": null, "ownershipApproved": null, "corrections": [], "received": 330000, "refunded": 0, "netReceived": 330000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 271935, "directCost": 1000, "materialCostPending": false, "knownGoodsCost": 271935, "pendingFees": [], "draftFees": 0, "estimatedProfit": 57065, "profit": 57065, "knownProfit": 57065, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "sync": { "revision": 6, "done_revision": 0, "error": null, "updated": "2026-11-19T02:02:27.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 }, { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照客户丙", "salesperson": "麦麦", "note": "老板改备注", "paper_number": "20261118003", "status": "delivered", "lines": [ { "name": "金镶玉吊坠", "code": "", "unit": "件", "quantity": 1, "pocket": "", "payer": "owner", "cost": 150000, "sale": 288840, "baseSale": 288840, "charges": [], "pricingMode": "manual", "priceNote": "一口价" } ], "discount": 300, "total": 288500, "revision": 5, "reviewed_revision": 0, "created": "2026-11-18T02:01:19.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "麦麦信用卡", "fee_items": [ { "key": "card_fee:", "system": "credit_card", "source_kind": "payment", "source_id": "", "date": "2026-11-18", "amount": 1731, "payer": "owner", "note": "信用卡手续费(6‰)", "rate_permille": 6, "status": "recorded", "expense_id": "" } ], "fees_date": "2026-11-18", "rounding_mode": "yuan", "internal_note": "一口价备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": null, "ownershipPending": null, "ownershipApproved": null, "corrections": [], "received": 288500, "refunded": 0, "netReceived": 288500, "balance": 0, "rounding_adjustment": -40, "goodsCost": 150000, "directCost": 1731, "materialCostPending": false, "knownGoodsCost": 150000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 136769, "profit": 136769, "knownProfit": 136769, "ownerCost": 151731, "ownerDirect": 288500, "ownerCredit": 288500, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "sync": { "revision": 5, "done_revision": 0, "error": null, "updated": "2026-11-19T02:00:39.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 }, { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照客户甲(改)", "salesperson": "娜娜", "note": "客户单备注", "paper_number": "20261118001", "status": "delivered", "lines": [ { "name": "足金999", "code": "", "unit": "g", "quantity": 3250, "pocket": "现货", "payer": "assistant", "costPayers": { "material": "owner", "labor": "assistant" }, "cost": 290200, "costParts": { "material": 286000, "labor": 4000, "accessories": 200, "other": 0 }, "costMaterial": { "mode": "gram", "rate": 88000 }, "costLabor": { "mode": "total" }, "sale": 321050, "baseSale": 318500, "charges": [ { "name": "刻字", "amount": 2000 }, { "name": "包装", "amount": 550 } ], "pricingMode": "auto", "goldPrice": 95000, "laborRate": 3000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 950.00元/克 + 工费 30.00元/克" } ], "discount": 0, "total": 321100, "revision": 5, "reviewed_revision": 0, "created": "2026-11-18T02:01:17.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理微信", "fee_items": [ { "key": "shipping", "amount": 1200, "payer": "assistant", "note": "快递", "status": "recorded", "edited": true, "date": "2026-11-18", "expense_id": "" } ], "fees_date": "2026-11-18", "rounding_mode": "yuan", "internal_note": "#复购 内部备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": { "id": "", "status": "approved", "action": "edit", "action_label": "修改订单", "order_revision": 4, "reason": "跨天修改客户名", "requester_name": "助理", "created": "2026-11-19T02:00:25.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:00:31.000Z", "note": "凭据已核对" }, "ownershipPending": null, "ownershipApproved": null, "corrections": [], "received": 321100, "refunded": 0, "netReceived": 321100, "balance": 0, "rounding_adjustment": 50, "goodsCost": 290200, "directCost": 1200, "materialCostPending": false, "knownGoodsCost": 290200, "pendingFees": [], "draftFees": 0, "estimatedProfit": 29700, "profit": 29700, "knownProfit": 29700, "ownerCost": 286000, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "sync": { "revision": 5, "done_revision": 0, "error": null, "updated": "2026-11-19T02:00:31.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 } ], "priceLockCounts": { "pending": 1, "delivered": 1, "cancelled": 0 }, "materialPoolSummary": { "totalMg": 36000, "totalAmount": 3274167, "usedMg": 0, "remainingMg": 36000, "remainingCost": 3274167, "shortageMg": 0, "pendingCount": 0, "purchaseCount": 0 }, "materialPoolSettlement": { "legacyReadOnly": true, "settlementDue": 0, "knownSettlementDue": 0, "pendingCount": 0, "pools": [] }, "materialPoolAllocation": { "version": 1, "targetVersion": 2, "migrationRequired": true, "usageCount": 2, "activeUsageCount": 2 }, "sync": { "enabled": false }, "printing": { "store": "黄金对照珠宝", "subtitle": "黄金对照销售单", "contact": "联系电话 000-0000", "width": 241, "height": 140, "offsetX": 2, "offsetY": 3, "rows": 3, "contentTop": 12, "rowHeight": 10 }, "backup": null, "movements": [ { "id": "", "group_id": "", "order_id": null, "date": "2026-11-20", "pocket": "回收旧料", "mg": 2000, "kind": "recovery", "note": "HS202611200005", "purchase_cost": 180000, "actor": "助理", "created": "2026-11-20T02:00:30.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-20", "pocket": "现货", "mg": -2000, "kind": "sale", "note": "MM20261120-", "purchase_cost": null, "actor": "助理", "created": "2026-11-20T02:00:29.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "date": "2026-11-20", "pocket": "回收旧料", "mg": -3000, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "recovery_change_reverse", "note": "回收更正:HS202611200004;录错", "actor": "麦麦", "created": "2026-11-20T02:00:27.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": null, "date": "2026-11-20", "pocket": "回收旧料", "mg": 10000, "kind": "recovery_change_old", "note": "回收更正:HS202611200003;当天更正", "purchase_cost": null, "actor": "助理", "created": "2026-11-20T02:00:25.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": null, "date": "2026-11-20", "pocket": "回收旧料", "mg": -10000, "kind": "recovery_change_reverse", "note": "回收更正:HS202611200003;当天更正", "purchase_cost": null, "actor": "助理", "created": "2026-11-20T02:00:25.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "date": "2026-11-20", "pocket": "回收旧料", "mg": 3000, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "recovery", "note": "HS202611200004", "actor": "麦麦", "created": "2026-11-20T02:00:21.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": null, "date": "2026-11-20", "pocket": "回收旧料", "mg": 10000, "kind": "recovery", "note": "HS202611200003", "purchase_cost": 900000, "actor": "助理", "created": "2026-11-20T02:00:20.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-19", "pocket": "现货", "mg": 6000, "kind": "recovery_change_reverse", "note": "回收更正:HS202611190002;录错", "purchase_cost": null, "actor": "麦麦", "created": "2026-11-20T02:00:15.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-19", "pocket": "回收旧料", "mg": -4851, "kind": "recovery_change_reverse", "note": "回收更正:HS202611190002;录错", "purchase_cost": null, "actor": "麦麦", "created": "2026-11-20T02:00:15.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "date": "2026-11-19", "pocket": "现货", "mg": -12000, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "recovery_change_sale", "note": "回收更正:HS202611190001;跨天更正旧料克重", "actor": "麦麦", "created": "2026-11-20T02:00:10.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "date": "2026-11-19", "pocket": "回收旧料", "mg": 8092, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "recovery_change_old", "note": "回收更正:HS202611190001;跨天更正旧料克重", "actor": "麦麦", "created": "2026-11-20T02:00:10.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "date": "2026-11-19", "pocket": "现货", "mg": 12000, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "recovery_change_reverse", "note": "回收更正:HS202611190001;跨天更正旧料克重", "actor": "麦麦", "created": "2026-11-20T02:00:10.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "date": "2026-11-19", "pocket": "回收旧料", "mg": -7992, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "recovery_change_reverse", "note": "回收更正:HS202611190001;跨天更正旧料克重", "actor": "麦麦", "created": "2026-11-20T02:00:10.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-19", "pocket": "现货", "mg": -500, "kind": "sale", "note": "MM20261119-", "purchase_cost": null, "actor": "助理", "created": "2026-11-19T02:02:51.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-19", "pocket": "现货", "mg": 2000, "kind": "order_cancel_reverse", "note": "MM20261119-;当天直接作废:当天录错", "purchase_cost": null, "actor": "助理", "created": "2026-11-19T02:01:59.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-19", "pocket": "现货", "mg": -2000, "kind": "sale", "note": "MM20261119-", "purchase_cost": null, "actor": "助理", "created": "2026-11-19T02:01:57.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "date": "2026-11-19", "pocket": "现货", "mg": -2000, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "sale", "note": "MM20261119-", "actor": "助理", "created": "2026-11-19T02:01:48.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-19", "pocket": "现货", "mg": -6000, "kind": "sale", "note": "MM20261119-", "purchase_cost": null, "actor": "助理", "created": "2026-11-19T02:01:33.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-19", "pocket": "回收旧料", "mg": 4851, "kind": "recovery", "note": "HS202611190002", "purchase_cost": null, "actor": "助理", "created": "2026-11-19T02:01:33.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "date": "2026-11-19", "pocket": "现货", "mg": -12000, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "sale", "note": "MM20261119-", "actor": "助理2", "created": "2026-11-19T02:01:32.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "date": "2026-11-19", "pocket": "回收旧料", "mg": 7992, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "recovery", "note": "HS202611190001", "actor": "助理2", "created": "2026-11-19T02:01:32.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-19", "pocket": "现货", "mg": -3100, "kind": "sale", "note": "MM20261119-", "purchase_cost": null, "actor": "助理", "created": "2026-11-19T02:01:28.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-19", "pocket": "现货", "mg": 100, "kind": "lock_purchase", "note": "SJ20261118- 足金999 补重黄金入库", "purchase_cost": 9000, "actor": "助理", "created": "2026-11-19T02:01:28.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-19", "pocket": "现货", "mg": 3000, "kind": "lock_purchase", "note": "SJ20261118- 足金999 原锁定黄金入库", "purchase_cost": 255000, "actor": "助理", "created": "2026-11-19T02:01:28.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "after-sale:", "date": "2026-11-19", "pocket": "金料", "mg": 1000, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "return", "note": "MM20261118- · 售后回收旧料", "actor": "麦麦", "created": "2026-11-19T02:01:05.000Z", "groupId": "after-sale:", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "date": "2026-11-18", "pocket": "现货", "mg": 1500, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "order_cancel_reverse", "note": "MM20261118-;审批作废:重复录入", "actor": "麦麦", "created": "2026-11-19T02:00:45.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": null, "date": "2026-11-19", "pocket": "金料", "mg": -1200, "kind": "manual_reversal", "note": "手动库存更正冲回:", "purchase_cost": null, "actor": "麦麦", "created": "2026-11-19T02:00:21.000Z", "groupId": "", "revision": 3, "manual": false, "current": false, "status": "deleted", "reversal": true, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": null, "date": "2026-11-19", "pocket": "金料", "mg": 1200, "kind": "increase", "note": "当天手动入库", "purchase_cost": null, "actor": "助理", "created": "2026-11-19T02:00:19.000Z", "groupId": "", "revision": 3, "manual": true, "current": false, "status": "deleted", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": null, "date": "2026-11-19", "pocket": "金料", "mg": -1000, "kind": "manual_reversal", "note": "手动库存更正冲回:", "purchase_cost": null, "actor": "助理", "created": "2026-11-19T02:00:19.000Z", "groupId": "", "revision": 3, "manual": false, "current": false, "status": "deleted", "reversal": true, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": null, "date": "2026-11-19", "pocket": "金料", "mg": 1000, "kind": "increase", "note": "当天手动入库", "purchase_cost": null, "actor": "助理", "created": "2026-11-19T02:00:16.000Z", "groupId": "", "revision": 3, "manual": true, "current": false, "status": "deleted", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": null, "date": "2026-11-18", "pocket": "现货", "mg": 3000, "kind": "increase", "note": "娜娜手动入库", "purchase_cost": null, "actor": "麦麦", "created": "2026-11-19T02:00:11.000Z", "groupId": "", "revision": 2, "manual": true, "current": true, "status": "modified", "reversal": false, "canEdit": true, "canDelete": true, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": null, "date": "2026-11-18", "pocket": "现货", "mg": -2500, "kind": "manual_reversal", "note": "手动库存更正冲回:", "purchase_cost": null, "actor": "麦麦", "created": "2026-11-19T02:00:11.000Z", "groupId": "", "revision": 2, "manual": false, "current": false, "status": "modified", "reversal": true, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "date": "2026-11-18", "pocket": "现货", "mg": -4000, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "sale", "note": "MM20261118-", "actor": "麦麦", "created": "2026-11-18T02:01:34.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "date": "2026-11-18", "pocket": "现货", "mg": -800, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "sale", "note": "MM20261118-", "actor": "助理", "created": "2026-11-18T02:01:26.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "date": "2026-11-18", "pocket": "现货", "mg": -5000, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "sale", "note": "MM20261118-", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "date": "2026-11-18", "pocket": "现货", "mg": -1500, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "sale", "note": "MM20261118-", "actor": "助理2", "created": "2026-11-18T02:01:24.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "date": "2026-11-18", "pocket": "pocket_", "mg": -10000, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "sale", "note": "MM20261118-", "actor": "麦麦", "created": "2026-11-18T02:01:23.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "date": "2026-11-18", "pocket": "现货", "mg": -2000, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "sale", "note": "MM20261118-", "actor": "助理2", "created": "2026-11-18T02:01:18.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-18", "pocket": "现货", "mg": -3250, "kind": "sale", "note": "MM20261118-", "purchase_cost": null, "actor": "助理", "created": "2026-11-18T02:01:17.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": null, "date": "2026-11-18", "pocket": "现货", "mg": -500, "kind": "decrease", "note": "娜娜手动出库", "purchase_cost": null, "actor": "助理", "created": "2026-11-18T02:01:05.000Z", "groupId": "", "revision": 1, "manual": true, "current": true, "status": "active", "reversal": false, "canEdit": true, "canDelete": true, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": null, "date": "2026-11-18", "pocket": "现货", "mg": 2500, "kind": "increase", "note": "娜娜手动入库", "purchase_cost": null, "actor": "助理", "created": "2026-11-18T02:01:04.000Z", "groupId": "", "revision": 2, "manual": true, "current": false, "status": "modified", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "date": "2026-11-18", "pocket": "金料", "mg": 5000, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "transfer", "note": "调拨", "actor": "麦麦", "created": "2026-11-18T02:01:03.000Z", "groupId": "", "revision": 1, "manual": true, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "date": "2026-11-18", "pocket": "现货", "mg": -5000, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "transfer", "note": "调拨", "actor": "麦麦", "created": "2026-11-18T02:01:03.000Z", "groupId": "", "revision": 1, "manual": true, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "date": "2026-11-18", "pocket": "pocket_", "mg": 20000, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "opening", "note": "展柜起始", "actor": "麦麦", "created": "2026-11-18T02:01:02.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "date": "2026-11-18", "pocket": "金料", "mg": 50000, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "opening", "note": "黄金对照起始金料", "actor": "麦麦", "created": "2026-11-18T02:01:01.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "date": "2026-11-18", "pocket": "现货", "mg": 100000, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "opening", "note": "黄金对照起始库存", "actor": "麦麦", "created": "2026-11-18T02:01:00.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false } ] } }, { "seq": 535, "label": "final-session-assistant", "date": "2026-11-20", "actor": "assistant", "method": "GET", "path": "/api/session", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "user": { "id": "", "name": "助理", "role": "assistant", "member": "assistant", "operatorName": "娜娜", "label": "娜娜" }, "setup": false, "mode": "trial", "today": "2026-11-20", "brand": { "storeName": "黄金对照珠宝" }, "loginOptions": [ { "member": "owner", "label": "麦麦" }, { "member": "assistant", "label": "娜娜" }, { "member": "assistant2", "label": "小昊" } ] } }, { "seq": 536, "label": "final-report-assistant", "date": "2026-11-20", "actor": "assistant", "method": "GET", "path": "/api/report?from=2026-11-18&date=2026-11-20", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "date": "2026-11-20", "from": "2026-11-18", "sales": 1695800, "goods": 1388033, "knownGoods": 1388033, "expense": 5481, "profit": 302286, "knownProfit": 302286, "materialCostPending": false, "pendingMaterialCount": 0, "materialPoolActivity": { "from": "2026-11-18", "to": "2026-11-20", "purchases": [ { "id": "", "pool_id": "2026-11-18", "date": "2026-11-18", "mg": 11000, "amount": 990000, "payer": "assistant", "note": "核对凭据", "actor": "助理", "created": "2026-11-18T02:01:09.000Z", "revision": 2, "deleted_at": "", "updated": "2026-11-19T02:02:27.000Z" }, { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 5000, "amount": 460000, "payer": "assistant", "note": "第二天购料", "actor": "助理", "created": "2026-11-19T02:02:19.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:19.000Z" }, { "id": "", "pool_id": "2026-11-20", "date": "2026-11-20", "mg": 10000, "amount": 900000, "payer": "assistant", "note": "直接回收 · HS202611200003", "actor": "助理", "created": "2026-11-20T02:00:20.000Z", "revision": 2, "deleted_at": "", "updated": "2026-11-20T02:00:25.000Z", "materialOwner": "assistant", "materialKind": "personal_recovery", "recoveryId": "", "recovery_id": "", "cashAmount": 900000, "offsetAmount": 0, "allocations": [ { "payer": "assistant", "amount": 900000, "source": "cash" } ], "canEdit": false }, { "id": "", "pool_id": "2026-11-20", "date": "2026-11-20", "mg": 2000, "amount": 180000, "payer": "assistant", "note": "直接回收 · HS202611200005", "actor": "助理", "created": "2026-11-20T02:00:30.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-20T02:00:30.000Z", "materialOwner": "assistant", "materialKind": "personal_recovery", "recoveryId": "", "recovery_id": "", "cashAmount": 180000, "offsetAmount": 0, "allocations": [ { "payer": "assistant", "amount": 180000, "source": "cash" } ], "canEdit": false } ], "settlements": [], "events": [ { "id": "", "pool_id": "2026-11-18", "usage_id": "", "order_id": "", "date": "2026-11-18", "kind": "交付占用", "before_value": null, "after_value": { "poolId": "2026-11-18", "mg": 3000, "active": 1, "amount": null, "ownerAmount": null, "assistantAmount": null, "revision": 1 }, "actor": "助理", "created": "2026-11-18T02:01:20.000Z" }, { "id": "", "pool_id": "2026-11-18", "usage_id": "", "order_id": "", "date": "2026-11-18", "kind": "补齐料费", "before_value": { "poolId": "2026-11-18", "mg": 3000, "active": 1, "amount": null, "ownerAmount": null, "assistantAmount": null, "revision": 1, "allocations": [ { "payer": "assistant", "amount": 272000 } ] }, "after_value": { "poolId": "2026-11-18", "mg": 3000, "active": 1, "amount": 272000, "ownerAmount": 0, "assistantAmount": 272000, "revision": 2, "allocations": [ { "payer": "assistant", "amount": 272000 } ] }, "actor": "助理", "created": "2026-11-18T02:01:20.000Z" }, { "id": "", "pool_id": "2026-11-18", "usage_id": "", "order_id": "", "date": "2026-11-18", "kind": "加权料费调整", "before_value": { "poolId": "2026-11-18", "mg": 3000, "active": 1, "amount": 272000, "ownerAmount": 0, "assistantAmount": 272000, "revision": 2, "allocations": [ { "payer": "assistant", "amount": 272000 } ] }, "after_value": { "poolId": "2026-11-18", "mg": 3000, "active": 1, "amount": 271935, "ownerAmount": 0, "assistantAmount": 271935, "revision": 3, "allocations": [ { "payer": "assistant", "amount": 271935 } ] }, "actor": "麦麦", "created": "2026-11-19T02:02:27.000Z" }, { "id": "", "pool_id": "2026-11-19", "usage_id": "", "order_id": "", "date": "2026-11-19", "kind": "交付占用", "before_value": null, "after_value": { "poolId": "2026-11-19", "mg": 2000, "active": 1, "amount": null, "ownerAmount": null, "assistantAmount": null, "revision": 1 }, "actor": "助理", "created": "2026-11-19T02:02:40.000Z" } ] }, "materialPoolSettlement": { "legacyReadOnly": true, "settlementDue": 0, "knownSettlementDue": 0, "pendingCount": 0, "pools": [] }, "delivered": 8, "returns": 0, "accounts": [ { "account": "助理微信", "receipt": 1061100, "refund": 0 }, { "account": "助理支付宝", "receipt": 136200, "refund": 0 }, { "account": "助理现金", "receipt": 330000, "refund": 0 }, { "account": "麦麦微信", "receipt": 0, "refund": 0 }, { "account": "麦麦支付宝", "receipt": 0, "refund": 0 }, { "account": "麦麦现金", "receipt": 0, "refund": 0 }, { "account": "助理信用卡", "receipt": 0, "refund": 0 }, { "account": "麦麦信用卡", "receipt": 288500, "refund": 0 }, { "account": "助理2微信", "receipt": 0, "refund": 0 }, { "account": "助理2支付宝", "receipt": 0, "refund": 0 }, { "account": "助理2现金", "receipt": 0, "refund": 0 }, { "account": "助理2信用卡", "receipt": 0, "refund": 0 } ], "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 321100, "account": "助理微信", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-18T02:01:17.000Z", "number": "MM20261118-" }, { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 288500, "account": "麦麦信用卡", "reference": "开单时已全额收款", "actor": "麦麦", "created": "2026-11-18T02:01:19.000Z", "number": "MM20261118-" }, { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 330000, "account": "助理现金", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-18T02:01:20.000Z", "number": "MM20261118-" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "receipt", "amount": 130800, "account": "助理微信", "reference": "置换差额实际收款 · HS202611190002", "actor": "助理", "created": "2026-11-19T02:01:33.000Z", "number": "MM20261119-" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "receipt", "amount": 210000, "account": "助理微信", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-19T02:01:57.000Z", "number": "MM20261119-" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "receipt", "amount": -210000, "account": "助理微信", "reference": "更正冲回:取消审批作废;当天录错", "actor": "助理", "created": "2026-11-19T02:01:59.000Z", "number": "MM20261119-" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "receipt", "amount": 220000, "account": "助理微信", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-19T02:02:40.000Z", "number": "MM20261119-" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "receipt", "amount": 50000, "account": "助理微信", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-19T02:02:51.000Z", "number": "MM20261119-" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "receipt", "amount": -130800, "account": "助理微信", "reference": "更正冲回:回收专用更正;录错", "actor": "麦麦", "created": "2026-11-20T02:00:15.000Z", "number": "MM20261119-" }, { "id": "", "order_id": "", "date": "2026-11-20", "kind": "receipt", "amount": 200000, "account": "助理微信", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-20T02:00:29.000Z", "number": "MM20261120-" }, { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 270000, "account": "助理微信", "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:53.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null, "price_lock_event_id": "" }, { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 120000, "account": "助理支付宝", "number": "SJ20261118-", "customer": "对照锁价客户二", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:02:02.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null, "price_lock_event_id": "" }, { "id": "", "price_lock_id": "", "date": "2026-11-19", "kind": "receipt", "amount": 16200, "account": "助理支付宝", "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-19T02:01:28.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null, "price_lock_event_id": "" } ], "settlements": [], "journal": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "交付", "sales": 321100, "goods": 290200, "expense": 1200, "profit": 29700, "created": "2026-11-18T02:01:17.000Z", "number": "MM20261118-" }, { "id": "", "order_id": "", "date": "2026-11-18", "kind": "交付", "sales": 288500, "goods": 150000, "expense": 1731, "profit": 136769, "created": "2026-11-18T02:01:19.000Z", "number": "MM20261118-" }, { "id": "", "order_id": "", "date": "2026-11-18", "kind": "交付", "sales": 330000, "goods": 272000, "expense": 0, "profit": 58000, "created": "2026-11-18T02:01:20.000Z", "number": "MM20261118-" }, { "id": "", "order_id": "", "date": "2026-11-18", "kind": "日购料成本调整", "sales": 0, "goods": -65, "expense": 0, "profit": 65, "created": "2026-11-19T02:02:27.000Z", "number": "MM20261118-" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "直接费用", "sales": 0, "goods": 0, "expense": 1000, "profit": -1000, "created": "2026-11-19T02:00:37.000Z", "number": "MM20261118-" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "交付", "sales": 286200, "goods": 267000, "expense": 600, "profit": 18600, "created": "2026-11-19T02:01:28.000Z", "number": "MM20261119-" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "交付", "sales": 130800, "goods": 106410, "expense": 0, "profit": 24390, "created": "2026-11-19T02:01:33.000Z", "number": "MM20261119-" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "交付", "sales": 210000, "goods": 180000, "expense": 0, "profit": 30000, "created": "2026-11-19T02:01:57.000Z", "number": "MM20261119-" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "订单录错作废冲回", "sales": -210000, "goods": -180000, "expense": 0, "profit": -30000, "created": "2026-11-19T02:01:59.000Z", "number": "MM20261119-" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "交付", "sales": 220000, "goods": 181898, "expense": 0, "profit": 38102, "created": "2026-11-19T02:02:40.000Z", "number": "MM20261119-" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "交付", "sales": 50000, "goods": 42000, "expense": 0, "profit": 8000, "created": "2026-11-19T02:02:51.000Z", "number": "MM20261119-" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "回收专用更正冲回", "sales": -130800, "goods": -106410, "expense": 0, "profit": -24390, "created": "2026-11-20T02:00:15.000Z", "number": "MM20261119-" }, { "id": "", "order_id": "", "date": "2026-11-20", "kind": "交付", "sales": 200000, "goods": 185000, "expense": 0, "profit": 15000, "created": "2026-11-20T02:00:29.000Z", "number": "MM20261120-" } ], "afterSales": [ { "id": "", "date": "2026-11-18", "project": "对照改圈", "customer": "对照售后客户", "amount": 950, "payer": "assistant", "actor": "助理", "created": "2026-11-18T02:02:03.000Z" } ], "afterSaleCount": 1, "inventory": [ { "pocket": "现货", "mg": 65950, "reserved": 0, "available": 65950 }, { "pocket": "金料", "mg": 56000, "reserved": 0, "available": 56000 }, { "pocket": "找金", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "回收旧料", "mg": 20092, "reserved": 0, "available": 20092 }, { "pocket": "君宝汇", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "臻金汇", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "金金", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "定制工厂", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "pocket_", "mg": 10000, "reserved": 0, "available": 10000 } ], "warnings": [ { "id": "", "number": "MM20261120-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261119-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261119-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261119-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261119-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261119-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261118-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261118-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261118-", "message": "麦麦直接收客户款,已扣减总待结金额;货款/利润拆分需单独复核" }, { "id": "", "number": "MM20261118-", "message": "有记录待麦麦复核" } ], "unsettled": [], "settlementDue": 0, "knownSettlementDue": 0, "customerBalance": 0, "close": null, "peopleCount": null } }, { "seq": 537, "label": "final-order-book-assistant", "date": "2026-11-20", "actor": "assistant", "method": "GET", "path": "/api/order-book?from=2026-11-18&date=2026-11-20", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "from": "2026-11-18", "date": "2026-11-20", "today": "2026-11-20", "q": "", "status": "all", "pocket": "", "rows": [ { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118001", "date": "2026-11-18", "created": "2026-11-18T02:01:17.000Z", "customer": "对照客户甲(改)", "salesperson": "娜娜", "status": "delivered", "note": "客户单备注", "types": [ "货盘现货" ], "mg": 3250, "summaryMg": 3250, "pieces": 0, "originalSale": 321100, "sale": 321100, "material": 286000, "laborAndFees": 5400, "unallocated": 0, "totalCost": 291400, "profit": 29700, "ownerCost": 286000, "assistantCost": 5400, "assistant2Cost": 0, "known": { "sale": 321100, "material": 286000, "laborAndFees": 5400, "unallocated": 0, "totalCost": 291400, "profit": 29700, "ownerCost": 286000, "assistantCost": 5400, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金999", "amount": 286000, "payer": "owner", "excluded": false, "calculation": { "rate": 88000, "quantity": 3250 }, "component": "material" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 4000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 200, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "快递", "source": "2026-11-18", "amount": 1200, "payer": "assistant", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 4000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 200, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "快递", "source": "2026-11-18", "amount": 1200, "payer": "assistant", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 5, "reviewed_revision": 0 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118003", "date": "2026-11-18", "created": "2026-11-18T02:01:19.000Z", "customer": "对照客户丙", "salesperson": "麦麦", "status": "delivered", "note": "老板改备注", "types": [ "配货" ], "mg": 0, "summaryMg": 0, "pieces": 1, "originalSale": 288500, "sale": 288500, "material": null, "laborAndFees": null, "unallocated": 150000, "totalCost": 151731, "profit": 136769, "ownerCost": 151731, "assistantCost": 0, "assistant2Cost": 0, "known": { "sale": 288500, "material": 0, "laborAndFees": 1731, "unallocated": 150000, "totalCost": 151731, "profit": 136769, "ownerCost": 151731, "assistantCost": 0, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 金镶玉吊坠", "amount": 150000, "payer": "owner", "excluded": false, "calculation": null, "component": "unallocated" }, { "kind": "paid", "name": "信用卡手续费(6‰)", "source": "2026-11-18", "amount": 1731, "payer": "owner", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "paid", "name": "信用卡手续费(6‰)", "source": "2026-11-18", "amount": 1731, "payer": "owner", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 5, "reviewed_revision": 0 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118004", "date": "2026-11-18", "created": "2026-11-18T02:01:20.000Z", "materialPoolIds": [ "2026-11-18" ], "materialCostPending": false, "customer": "对照客户丁", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "配货" ], "mg": 3000, "summaryMg": 3000, "pieces": 0, "originalSale": 330000, "sale": 330000, "material": 271935, "laborAndFees": 1000, "unallocated": 0, "totalCost": 272935, "profit": 57065, "ownerCost": 0, "assistantCost": 272935, "assistant2Cost": 0, "known": { "sale": 330000, "material": 271935, "laborAndFees": 1000, "unallocated": 0, "totalCost": 272935, "profit": 57065, "ownerCost": 0, "assistantCost": 272935, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 2026-11-18日购料", "amount": 271935, "payer": "assistant", "excluded": false, "materialPoolId": "2026-11-18", "materialPoolRevision": "2823f40ff78424f5423f0dbdf991ea5fcc83b0144648e9d2399869970c27af75", "calculation": { "rate": 90645, "quantity": 3000, "weighted": true } }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "补寄快递", "source": "2026-11-19", "amount": 1000, "payer": "assistant", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "补寄快递", "source": "2026-11-19", "amount": 1000, "payer": "assistant", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 6, "reviewed_revision": 0 }, { "id": "", "kind": "afterSale", "after_sale_id": "", "number": "售后", "paper_number": "", "date": "2026-11-18", "created": "2026-11-18T02:02:03.000Z", "customer": "对照售后客户", "salesperson": "助理", "status": "after_sale", "project": "对照改圈", "note": "对照改圈", "amount": 950, "payer": "assistant", "types": [ "售后" ], "mg": 0, "summaryMg": 0, "pieces": 0, "originalSale": 0, "sale": 0, "material": 0, "laborAndFees": 950, "unallocated": 0, "totalCost": 950, "profit": -950, "ownerCost": 0, "assistantCost": 950, "known": { "sale": 0, "material": 0, "laborAndFees": 950, "unallocated": 0, "totalCost": 950, "profit": -950, "ownerCost": 0, "assistantCost": 950 }, "costItems": [ { "kind": "afterSale", "after_sale_id": "", "name": "对照改圈", "source": "售后 · 2026-11-18", "amount": 950, "payer": "assistant", "component": "fee", "calculation": null } ], "laborAndFeeItems": [ { "kind": "afterSale", "after_sale_id": "", "name": "对照改圈", "source": "售后 · 2026-11-18", "amount": 950, "payer": "assistant", "component": "fee", "calculation": null } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "独立售后支出,计入所选日期利润", "balance": 0, "revision": 2, "reviewed_revision": 2 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119010", "date": "2026-11-19", "created": "2026-11-19T02:01:28.000Z", "price_lock_id": "", "customer": "对照锁价客户(改)", "salesperson": "娜娜", "status": "delivered", "note": "锁价备注;锁价单 SJ20261118-;按原锁定金价 900.00元/克结算", "types": [ "货盘现货" ], "mg": 3100, "summaryMg": 3100, "pieces": 0, "originalSale": 286200, "sale": 286200, "material": 264000, "laborAndFees": 3600, "unallocated": 0, "totalCost": 267600, "profit": 18600, "ownerCost": 255600, "assistantCost": 12000, "assistant2Cost": 0, "known": { "sale": 286200, "material": 264000, "laborAndFees": 3600, "unallocated": 0, "totalCost": 267600, "profit": 18600, "ownerCost": 255600, "assistantCost": 12000, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 原锁价采购", "amount": 255000, "payer": "owner", "excluded": false, "priceLockSource": "original", "calculation": { "rate": 85000, "quantity": 3000 } }, { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 补重采购", "amount": 9000, "payer": "assistant", "excluded": false, "priceLockSource": "extra", "calculation": { "rate": 90000, "quantity": 100 } }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "实际快递", "source": "2026-11-19", "amount": 600, "payer": "owner", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "实际快递", "source": "2026-11-19", "amount": 600, "payer": "owner", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 3, "reviewed_revision": 0 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119012", "date": "2026-11-19", "created": "2026-11-19T02:01:33.000Z", "recovery_id": "", "recovery_mode": "exchange", "nonCashOffset": 0, "cashPaid": 0, "netSettlement": 0, "recovery_immutable_reason": "本单关联黄金回收/置换、购料及库存,暂不支持普通订单修改、取消、退款、退货或费用变更,请保留原关联记录", "customer": "对照换货客户二", "salesperson": "娜娜", "status": "cancelled", "note": "", "types": [ "货盘现货" ], "mg": 6000, "summaryMg": 6000, "pieces": 0, "originalSale": 130800, "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0, "known": { "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0 }, "costItems": [], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "原售价与货品成本已冲回,实际费用保留", "balance": 130800, "revision": 5, "reviewed_revision": 0 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119014", "date": "2026-11-19", "created": "2026-11-19T02:01:57.000Z", "cancellationApproved": { "id": "", "status": "approved", "order_revision": 4, "reason": "当天录错", "requester_name": "助理", "created": "2026-11-19T02:01:59.000Z", "reviewer_name": null, "reviewed": null, "note": "", "direct": true, "operator_name": "助理", "executedAt": "2026-11-19T02:01:59.000Z" }, "customer": "当天取消客户", "salesperson": "娜娜", "status": "cancelled", "note": "", "types": [ "货盘现货" ], "mg": 2000, "summaryMg": 2000, "pieces": 0, "originalSale": 210000, "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0, "known": { "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0 }, "costItems": [], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "录错作废已获麦麦批准,本单销售、成本与收款记账已撤销,原单和审批记录保留", "balance": 0, "revision": 5, "reviewed_revision": 0 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119015", "date": "2026-11-19", "created": "2026-11-19T02:02:40.000Z", "materialPoolIds": [ "2026-11-19" ], "materialCostPending": false, "customer": "滚动料池客户", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "配货" ], "mg": 2000, "summaryMg": 2000, "pieces": 0, "originalSale": 220000, "sale": 220000, "material": 181898, "laborAndFees": 0, "unallocated": 0, "totalCost": 181898, "profit": 38102, "ownerCost": 0, "assistantCost": 181898, "assistant2Cost": 0, "known": { "sale": 220000, "material": 181898, "laborAndFees": 0, "unallocated": 0, "totalCost": 181898, "profit": 38102, "ownerCost": 0, "assistantCost": 181898, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 2026-11-19日购料", "amount": 181898, "payer": "assistant", "excluded": false, "materialPoolId": "2026-11-19", "materialPoolRevision": "278a6986270886d53a62e969a467ca9cc287fb29d2d3db30e437b74501f04dfc", "calculation": { "rate": 90949, "quantity": 2000, "weighted": true } }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 4, "reviewed_revision": 0 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119016", "date": "2026-11-19", "created": "2026-11-19T02:02:51.000Z", "customer": "安全测试", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 500, "summaryMg": 500, "pieces": 0, "originalSale": 50000, "sale": 50000, "material": null, "laborAndFees": null, "unallocated": 42000, "totalCost": 42000, "profit": 8000, "ownerCost": 0, "assistantCost": 42000, "assistant2Cost": 0, "known": { "sale": 50000, "material": 0, "laborAndFees": 0, "unallocated": 42000, "totalCost": 42000, "profit": 8000, "ownerCost": 0, "assistantCost": 42000, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金转运珠", "amount": 42000, "payer": "assistant", "excluded": false, "calculation": null, "component": "unallocated" } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 4, "reviewed_revision": 0 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261120-", "paper_number": "20261120017", "date": "2026-11-20", "created": "2026-11-20T02:00:29.000Z", "customer": "留档客户", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 2000, "summaryMg": 2000, "pieces": 0, "originalSale": 200000, "sale": 200000, "material": 180000, "laborAndFees": 5000, "unallocated": 0, "totalCost": 185000, "profit": 15000, "ownerCost": 0, "assistantCost": 185000, "assistant2Cost": 0, "known": { "sale": 200000, "material": 180000, "laborAndFees": 5000, "unallocated": 0, "totalCost": 185000, "profit": 15000, "ownerCost": 0, "assistantCost": 185000, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金手链", "amount": 180000, "payer": "assistant", "excluded": false, "calculation": null, "component": "material" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金手链", "amount": 5000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金手链", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金手链", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金手链", "amount": 5000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金手链", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金手链", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 4, "reviewed_revision": 0 } ], "displayRows": [ { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118001", "date": "2026-11-18", "created": "2026-11-18T02:01:17.000Z", "customer": "对照客户甲(改)", "salesperson": "娜娜", "status": "delivered", "note": "客户单备注", "types": [ "货盘现货" ], "mg": 3250, "summaryMg": 3250, "pieces": 0, "originalSale": 321100, "sale": 321100, "material": 286000, "laborAndFees": 5400, "unallocated": 0, "totalCost": 291400, "profit": 29700, "ownerCost": 286000, "assistantCost": 5400, "assistant2Cost": 0, "known": { "sale": 321100, "material": 286000, "laborAndFees": 5400, "unallocated": 0, "totalCost": 291400, "profit": 29700, "ownerCost": 286000, "assistantCost": 5400, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金999", "amount": 286000, "payer": "owner", "excluded": false, "calculation": { "rate": 88000, "quantity": 3250 }, "component": "material" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 4000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 200, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "快递", "source": "2026-11-18", "amount": 1200, "payer": "assistant", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 4000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 200, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "快递", "source": "2026-11-18", "amount": 1200, "payer": "assistant", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 5, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 2, "updated": "2026-11-18T02:01:50.000Z", "actor": "助理" } }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118003", "date": "2026-11-18", "created": "2026-11-18T02:01:19.000Z", "customer": "对照客户丙", "salesperson": "麦麦", "status": "delivered", "note": "老板改备注", "types": [ "配货" ], "mg": 0, "summaryMg": 0, "pieces": 1, "originalSale": 288500, "sale": 288500, "material": null, "laborAndFees": null, "unallocated": 150000, "totalCost": 151731, "profit": 136769, "ownerCost": 151731, "assistantCost": 0, "assistant2Cost": 0, "known": { "sale": 288500, "material": 0, "laborAndFees": 1731, "unallocated": 150000, "totalCost": 151731, "profit": 136769, "ownerCost": 151731, "assistantCost": 0, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 金镶玉吊坠", "amount": 150000, "payer": "owner", "excluded": false, "calculation": null, "component": "unallocated" }, { "kind": "paid", "name": "信用卡手续费(6‰)", "source": "2026-11-18", "amount": 1731, "payer": "owner", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "paid", "name": "信用卡手续费(6‰)", "source": "2026-11-18", "amount": 1731, "payer": "owner", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 5, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118004", "date": "2026-11-18", "created": "2026-11-18T02:01:20.000Z", "materialPoolIds": [ "2026-11-18" ], "materialCostPending": false, "customer": "对照客户丁", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "配货" ], "mg": 3000, "summaryMg": 3000, "pieces": 0, "originalSale": 330000, "sale": 330000, "material": 271935, "laborAndFees": 1000, "unallocated": 0, "totalCost": 272935, "profit": 57065, "ownerCost": 0, "assistantCost": 272935, "assistant2Cost": 0, "known": { "sale": 330000, "material": 271935, "laborAndFees": 1000, "unallocated": 0, "totalCost": 272935, "profit": 57065, "ownerCost": 0, "assistantCost": 272935, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 2026-11-18日购料", "amount": 271935, "payer": "assistant", "excluded": false, "materialPoolId": "2026-11-18", "materialPoolRevision": "2823f40ff78424f5423f0dbdf991ea5fcc83b0144648e9d2399869970c27af75", "calculation": { "rate": 90645, "quantity": 3000, "weighted": true } }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "补寄快递", "source": "2026-11-19", "amount": 1000, "payer": "assistant", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "补寄快递", "source": "2026-11-19", "amount": 1000, "payer": "assistant", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 6, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "kind": "afterSale", "after_sale_id": "", "number": "售后", "paper_number": "", "date": "2026-11-18", "created": "2026-11-18T02:02:03.000Z", "customer": "对照售后客户", "salesperson": "助理", "status": "after_sale", "project": "对照改圈", "note": "对照改圈", "amount": 950, "payer": "assistant", "types": [ "售后" ], "mg": 0, "summaryMg": 0, "pieces": 0, "originalSale": 0, "sale": 0, "material": 0, "laborAndFees": 950, "unallocated": 0, "totalCost": 950, "profit": -950, "ownerCost": 0, "assistantCost": 950, "known": { "sale": 0, "material": 0, "laborAndFees": 950, "unallocated": 0, "totalCost": 950, "profit": -950, "ownerCost": 0, "assistantCost": 950 }, "costItems": [ { "kind": "afterSale", "after_sale_id": "", "name": "对照改圈", "source": "售后 · 2026-11-18", "amount": 950, "payer": "assistant", "component": "fee", "calculation": null } ], "laborAndFeeItems": [ { "kind": "afterSale", "after_sale_id": "", "name": "对照改圈", "source": "售后 · 2026-11-18", "amount": 950, "payer": "assistant", "component": "fee", "calculation": null } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "独立售后支出,计入所选日期利润", "balance": 0, "revision": 2, "reviewed_revision": 2 }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119010", "date": "2026-11-19", "created": "2026-11-19T02:01:28.000Z", "price_lock_id": "", "customer": "对照锁价客户(改)", "salesperson": "娜娜", "status": "delivered", "note": "锁价备注;锁价单 SJ20261118-;按原锁定金价 900.00元/克结算", "types": [ "货盘现货" ], "mg": 3100, "summaryMg": 3100, "pieces": 0, "originalSale": 286200, "sale": 286200, "material": 264000, "laborAndFees": 3600, "unallocated": 0, "totalCost": 267600, "profit": 18600, "ownerCost": 255600, "assistantCost": 12000, "assistant2Cost": 0, "known": { "sale": 286200, "material": 264000, "laborAndFees": 3600, "unallocated": 0, "totalCost": 267600, "profit": 18600, "ownerCost": 255600, "assistantCost": 12000, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 原锁价采购", "amount": 255000, "payer": "owner", "excluded": false, "priceLockSource": "original", "calculation": { "rate": 85000, "quantity": 3000 } }, { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 补重采购", "amount": 9000, "payer": "assistant", "excluded": false, "priceLockSource": "extra", "calculation": { "rate": 90000, "quantity": 100 } }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "实际快递", "source": "2026-11-19", "amount": 600, "payer": "owner", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" }, { "kind": "paid", "name": "实际快递", "source": "2026-11-19", "amount": 600, "payer": "owner", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 3, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119012", "date": "2026-11-19", "created": "2026-11-19T02:01:33.000Z", "recovery_id": "", "recovery_mode": "exchange", "nonCashOffset": 0, "cashPaid": 0, "netSettlement": 0, "recovery_immutable_reason": "本单关联黄金回收/置换、购料及库存,暂不支持普通订单修改、取消、退款、退货或费用变更,请保留原关联记录", "customer": "对照换货客户二", "salesperson": "娜娜", "status": "cancelled", "note": "", "types": [ "货盘现货" ], "mg": 6000, "summaryMg": 6000, "pieces": 0, "originalSale": 130800, "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0, "known": { "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0 }, "costItems": [], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "原售价与货品成本已冲回,实际费用保留", "balance": 130800, "revision": 5, "reviewed_revision": 0, "printStatus": { "kind": "recovery", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119014", "date": "2026-11-19", "created": "2026-11-19T02:01:57.000Z", "cancellationApproved": { "id": "", "status": "approved", "order_revision": 4, "reason": "当天录错", "requester_name": "助理", "created": "2026-11-19T02:01:59.000Z", "reviewer_name": null, "reviewed": null, "note": "", "direct": true, "operator_name": "助理", "executedAt": "2026-11-19T02:01:59.000Z" }, "customer": "当天取消客户", "salesperson": "娜娜", "status": "cancelled", "note": "", "types": [ "货盘现货" ], "mg": 2000, "summaryMg": 2000, "pieces": 0, "originalSale": 210000, "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0, "known": { "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0 }, "costItems": [], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "录错作废已获麦麦批准,本单销售、成本与收款记账已撤销,原单和审批记录保留", "balance": 0, "revision": 5, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119015", "date": "2026-11-19", "created": "2026-11-19T02:02:40.000Z", "materialPoolIds": [ "2026-11-19" ], "materialCostPending": false, "customer": "滚动料池客户", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "配货" ], "mg": 2000, "summaryMg": 2000, "pieces": 0, "originalSale": 220000, "sale": 220000, "material": 181898, "laborAndFees": 0, "unallocated": 0, "totalCost": 181898, "profit": 38102, "ownerCost": 0, "assistantCost": 181898, "assistant2Cost": 0, "known": { "sale": 220000, "material": 181898, "laborAndFees": 0, "unallocated": 0, "totalCost": 181898, "profit": 38102, "ownerCost": 0, "assistantCost": 181898, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "component": "material", "name": "料费成本", "source": "商品 1 · 足金999 · 2026-11-19日购料", "amount": 181898, "payer": "assistant", "excluded": false, "materialPoolId": "2026-11-19", "materialPoolRevision": "278a6986270886d53a62e969a467ca9cc287fb29d2d3db30e437b74501f04dfc", "calculation": { "rate": 90949, "quantity": 2000, "weighted": true } }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 4, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119016", "date": "2026-11-19", "created": "2026-11-19T02:02:51.000Z", "customer": "安全测试", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 500, "summaryMg": 500, "pieces": 0, "originalSale": 50000, "sale": 50000, "material": null, "laborAndFees": null, "unallocated": 42000, "totalCost": 42000, "profit": 8000, "ownerCost": 0, "assistantCost": 42000, "assistant2Cost": 0, "known": { "sale": 50000, "material": 0, "laborAndFees": 0, "unallocated": 42000, "totalCost": 42000, "profit": 8000, "ownerCost": 0, "assistantCost": 42000, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金转运珠", "amount": 42000, "payer": "assistant", "excluded": false, "calculation": null, "component": "unallocated" } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 4, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "kind": "recovery", "recovery_id": "", "recovery_mode": "direct", "number": "HS202611200003", "paper_number": "", "date": "2026-11-20", "created": "2026-11-20T02:00:20.000Z", "customer": "对照回收客户", "salesperson": "娜娜", "member": "assistant", "status": "recovery", "note": "", "types": [ "黄金回收" ], "mg": 10000, "summaryMg": 0, "pieces": 0, "cashPayment": 900000, "purchase_id": "", "costHint": "回收付款已计入每日购料,本行不计销售、利润和销售克重", "printStatus": { "kind": "recovery", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "assistant", "funds_mode": "team", "number": "MM20261120-", "paper_number": "20261120017", "date": "2026-11-20", "created": "2026-11-20T02:00:29.000Z", "customer": "留档客户", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 2000, "summaryMg": 2000, "pieces": 0, "originalSale": 200000, "sale": 200000, "material": 180000, "laborAndFees": 5000, "unallocated": 0, "totalCost": 185000, "profit": 15000, "ownerCost": 0, "assistantCost": 185000, "assistant2Cost": 0, "known": { "sale": 200000, "material": 180000, "laborAndFees": 5000, "unallocated": 0, "totalCost": 185000, "profit": 15000, "ownerCost": 0, "assistantCost": 185000, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金手链", "amount": 180000, "payer": "assistant", "excluded": false, "calculation": null, "component": "material" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金手链", "amount": 5000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金手链", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金手链", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金手链", "amount": 5000, "payer": "assistant", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金手链", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金手链", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "component": "other" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 4, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "kind": "recovery", "recovery_id": "", "recovery_mode": "direct", "number": "HS202611200005", "paper_number": "", "date": "2026-11-20", "created": "2026-11-20T02:00:30.000Z", "customer": "留档回收客户", "salesperson": "娜娜", "member": "assistant", "status": "recovery", "note": "", "types": [ "黄金回收" ], "mg": 2000, "summaryMg": 0, "pieces": 0, "cashPayment": 180000, "purchase_id": "", "costHint": "回收付款已计入每日购料,本行不计销售、利润和销售克重", "printStatus": { "kind": "recovery", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } } ], "recoveryCount": 2, "summary": { "orderCount": 9, "completedCount": 7, "draftCount": 0, "confirmedCount": 0, "returnedCount": 0, "cancelledCount": 2, "incompleteCount": 0, "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "unknownCostCount": 0, "unknownProfitCount": 0, "legacyUnallocatedCount": 2, "sale": 1695800, "material": 1183833, "laborAndFees": 17681, "unallocated": 192000, "totalCost": 1393514, "profit": 302286, "ownerCost": 693331, "assistantCost": 700183, "assistant2Cost": 0, "mg": 21850, "pieces": 1, "knownCounts": { "sale": 9, "material": 7, "laborAndFees": 7, "unallocated": 9, "totalCost": 9, "profit": 9, "ownerCost": 9, "assistantCost": 9, "assistant2Cost": 9 }, "unknownCounts": { "sale": 0, "material": 2, "laborAndFees": 2, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0 }, "partial": true, "afterSaleCount": 1, "recordCount": 10 }, "peopleCount": null, "priceLockActivity": { "basis": "eventDate", "from": "2026-11-18", "date": "2026-11-20", "customerCash": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 270000, "account": "助理微信", "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:53.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null }, { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 120000, "account": "助理支付宝", "number": "SJ20261118-", "customer": "对照锁价客户二", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:02:02.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null }, { "id": "", "price_lock_id": "", "date": "2026-11-19", "kind": "receipt", "amount": 16200, "account": "助理支付宝", "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-19T02:01:28.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null } ], "orderPayments": [], "materialOutlays": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "material", "amount": 255000, "payer": "owner", "source": "original", "quantity": 3000, "rate": 85000, "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:53.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "component": "material" }, { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "material", "amount": 255000, "payer": "owner", "source": "original", "quantity": 3000, "rate": 85000, "number": "SJ20261118-", "customer": "对照锁价客户二", "product": "足金999", "actor": "助理", "created": "2026-11-18T02:01:54.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "component": "material" }, { "id": "", "price_lock_id": "", "date": "2026-11-19", "kind": "material", "amount": 9000, "payer": "assistant", "source": "extra", "quantity": 100, "rate": 90000, "number": "SJ20261118-", "customer": "对照锁价客户(改)", "product": "足金999", "actor": "助理", "created": "2026-11-19T02:01:28.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "component": "material" } ], "directOutlays": [ { "id": "", "order_id": "", "date": "2026-11-19", "amount": 600, "payer": "owner", "note": "实际快递", "actor": "助理", "created": "2026-11-19T02:01:28.000Z", "price_lock_id": "", "number": "SJ20261118-", "customer": "对照锁价客户(改)", "kind": "fee", "component": "fee", "product": "足金999" } ], "deliveryGoodsOutlays": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金999", "amount": 3000, "payer": "assistant", "excluded": false, "calculation": null, "id": "price-lock-goods::0", "price_lock_id": "", "order_id": "", "number": "MM20261119-", "paper_number": "20261119010", "customer": "对照锁价客户(改)", "date": "2026-11-19", "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "id": "price-lock-goods::1", "price_lock_id": "", "order_id": "", "number": "MM20261119-", "paper_number": "20261119010", "customer": "对照锁价客户(改)", "date": "2026-11-19", "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金999", "amount": 0, "payer": "assistant", "excluded": false, "calculation": null, "id": "price-lock-goods::2", "price_lock_id": "", "order_id": "", "number": "MM20261119-", "paper_number": "20261119010", "customer": "对照锁价客户(改)", "date": "2026-11-19", "component": "other" } ], "receipts": { "receipt": 406200, "refund": 0, "net": 406200, "channels": [ { "channel": "wechat", "name": "微信", "receipt": 270000, "refund": 0, "net": 270000 }, { "channel": "alipay", "name": "支付宝", "receipt": 136200, "refund": 0, "net": 136200 }, { "channel": "cash", "name": "现金", "receipt": 0, "refund": 0, "net": 0 } ], "accounts": [ { "account": "助理微信", "receipt": 270000, "refund": 0, "net": 270000 }, { "account": "助理支付宝", "receipt": 136200, "refund": 0, "net": 136200 }, { "account": "助理现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2现金", "receipt": 0, "refund": 0, "net": 0 } ], "paymentCount": 3, "orderCount": 2 }, "payerOutlays": { "owner": { "payer": "owner", "material": 510000, "goods": 510000, "paidFees": 600, "total": 510600 }, "assistant": { "payer": "assistant", "material": 9000, "goods": 12000, "paidFees": 0, "total": 12000 }, "assistant2": { "payer": "assistant2", "material": 0, "goods": 0, "paidFees": 0, "total": 0 } }, "summary": { "receipt": 406200, "refund": 0, "net": 406200, "materialOutlay": 519000, "goodsOutlay": 522000, "feeOutlay": 600, "ownerOutlay": 510600, "assistantOutlay": 12000, "assistant2Outlay": 0, "totalOutlay": 522600, "eventCount": 10, "lockCount": 2 } }, "materialPoolActivity": { "basis": "purchaseDate", "from": "2026-11-18", "date": "2026-11-20", "purchases": [ { "id": "", "pool_id": "2026-11-18", "date": "2026-11-18", "mg": 11000, "amount": 990000, "payer": "assistant", "note": "核对凭据", "actor": "助理", "created": "2026-11-18T02:01:09.000Z", "revision": 2, "deleted_at": "", "updated": "2026-11-19T02:02:27.000Z" }, { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 5000, "amount": 460000, "payer": "assistant", "note": "第二天购料", "actor": "助理", "created": "2026-11-19T02:02:19.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:19.000Z" }, { "id": "", "pool_id": "2026-11-20", "date": "2026-11-20", "mg": 10000, "amount": 900000, "payer": "assistant", "note": "直接回收 · HS202611200003", "actor": "助理", "created": "2026-11-20T02:00:20.000Z", "revision": 2, "deleted_at": "", "updated": "2026-11-20T02:00:25.000Z", "materialOwner": "assistant", "materialKind": "personal_recovery", "recoveryId": "", "recovery_id": "", "cashAmount": 900000, "offsetAmount": 0, "allocations": [ { "payer": "assistant", "amount": 900000, "source": "cash" } ], "canEdit": false }, { "id": "", "pool_id": "2026-11-20", "date": "2026-11-20", "mg": 2000, "amount": 180000, "payer": "assistant", "note": "直接回收 · HS202611200005", "actor": "助理", "created": "2026-11-20T02:00:30.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-20T02:00:30.000Z", "materialOwner": "assistant", "materialKind": "personal_recovery", "recoveryId": "", "recovery_id": "", "cashAmount": 180000, "offsetAmount": 0, "allocations": [ { "payer": "assistant", "amount": 180000, "source": "cash" } ], "canEdit": false } ], "payerOutlays": { "owner": { "payer": "owner", "material": 0, "goods": 0, "paidFees": 0, "total": 0, "purchaseCount": 0 }, "assistant": { "payer": "assistant", "material": 2530000, "goods": 2530000, "paidFees": 0, "total": 2530000, "purchaseCount": 4 }, "assistant2": { "payer": "assistant2", "material": 0, "goods": 0, "paidFees": 0, "total": 0, "purchaseCount": 0 } }, "summary": { "purchaseCount": 4, "poolCount": 3, "mg": 28000, "materialOutlay": 2530000, "purchaseValue": 2530000, "ownerOutlay": 0, "assistantOutlay": 2530000, "assistant2Outlay": 0, "totalOutlay": 2530000, "eventCount": 4 } }, "summaryWithoutCancelled": { "orderCount": 7, "completedCount": 7, "draftCount": 0, "confirmedCount": 0, "returnedCount": 0, "cancelledCount": 0, "incompleteCount": 0, "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "unknownCostCount": 0, "unknownProfitCount": 0, "legacyUnallocatedCount": 2, "sale": 1695800, "material": 1183833, "laborAndFees": 17681, "unallocated": 192000, "totalCost": 1393514, "profit": 302286, "ownerCost": 693331, "assistantCost": 700183, "assistant2Cost": 0, "mg": 13850, "pieces": 1, "knownCounts": { "sale": 7, "material": 5, "laborAndFees": 5, "unallocated": 7, "totalCost": 7, "profit": 7, "ownerCost": 7, "assistantCost": 7, "assistant2Cost": 7 }, "unknownCounts": { "sale": 0, "material": 2, "laborAndFees": 2, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0 }, "partial": true, "afterSaleCount": 1, "recordCount": 8 }, "receiptsWithoutCancelled": { "basis": "orderDate", "filterScope": "matchingOrdersWithoutCancelled", "from": "2026-11-18", "date": "2026-11-20", "receipt": 1815800, "refund": 0, "net": 1815800, "channels": [ { "channel": "wechat", "name": "微信", "receipt": 1061100, "refund": 0, "net": 1061100 }, { "channel": "alipay", "name": "支付宝", "receipt": 136200, "refund": 0, "net": 136200 }, { "channel": "cash", "name": "现金", "receipt": 330000, "refund": 0, "net": 330000 }, { "channel": "credit_card", "name": "信用卡", "receipt": 288500, "refund": 0, "net": 288500 } ], "accounts": [ { "account": "助理微信", "receipt": 1061100, "refund": 0, "net": 1061100 }, { "account": "助理支付宝", "receipt": 136200, "refund": 0, "net": 136200 }, { "account": "助理现金", "receipt": 330000, "refund": 0, "net": 330000 }, { "account": "麦麦微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦信用卡", "receipt": 288500, "refund": 0, "net": 288500 }, { "account": "助理2微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2现金", "receipt": 0, "refund": 0, "net": 0 } ], "paymentCount": 9, "orderCount": 8 }, "receiptsByPaymentDate": { "basis": "paymentDate", "filterScope": "dateRange", "from": "2026-11-18", "date": "2026-11-20", "receipt": 1815800, "refund": 0, "net": 1815800, "channels": [ { "channel": "wechat", "name": "微信", "receipt": 1061100, "refund": 0, "net": 1061100 }, { "channel": "alipay", "name": "支付宝", "receipt": 136200, "refund": 0, "net": 136200 }, { "channel": "cash", "name": "现金", "receipt": 330000, "refund": 0, "net": 330000 }, { "channel": "credit_card", "name": "信用卡", "receipt": 288500, "refund": 0, "net": 288500 } ], "accounts": [ { "account": "助理微信", "receipt": 1061100, "refund": 0, "net": 1061100 }, { "account": "助理支付宝", "receipt": 136200, "refund": 0, "net": 136200 }, { "account": "助理现金", "receipt": 330000, "refund": 0, "net": 330000 }, { "account": "麦麦微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦信用卡", "receipt": 288500, "refund": 0, "net": 288500 }, { "account": "助理2微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2现金", "receipt": 0, "refund": 0, "net": 0 } ], "paymentCount": 13, "orderCount": 10 }, "receiptsByOrderDate": { "basis": "orderDate", "filterScope": "matchingOrders", "from": "2026-11-18", "date": "2026-11-20", "receipt": 1815800, "refund": 0, "net": 1815800, "channels": [ { "channel": "wechat", "name": "微信", "receipt": 1061100, "refund": 0, "net": 1061100 }, { "channel": "alipay", "name": "支付宝", "receipt": 136200, "refund": 0, "net": 136200 }, { "channel": "cash", "name": "现金", "receipt": 330000, "refund": 0, "net": 330000 }, { "channel": "credit_card", "name": "信用卡", "receipt": 288500, "refund": 0, "net": 288500 } ], "accounts": [ { "account": "助理微信", "receipt": 1061100, "refund": 0, "net": 1061100 }, { "account": "助理支付宝", "receipt": 136200, "refund": 0, "net": 136200 }, { "account": "助理现金", "receipt": 330000, "refund": 0, "net": 330000 }, { "account": "麦麦微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦信用卡", "receipt": 288500, "refund": 0, "net": 288500 }, { "account": "助理2微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2现金", "receipt": 0, "refund": 0, "net": 0 } ], "paymentCount": 13, "orderCount": 10 } } }, { "seq": 538, "label": "final-state-assistant2", "date": "2026-11-20", "actor": "assistant2", "method": "GET", "path": "/api/state", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "today": "2026-11-20", "mode": "trial", "user": { "id": "", "name": "助理2", "role": "assistant", "member": "assistant2", "operatorName": "小昊", "label": "小昊" }, "members": [ { "member": "owner", "label": "麦麦", "enabled": true }, { "member": "assistant", "label": "娜娜", "enabled": true }, { "member": "assistant2", "label": "小昊", "enabled": true } ], "shopSettings": { "version": 1, "revision": 7, "storeName": "黄金对照珠宝", "receiptSubtitle": "黄金对照销售单", "contact": "联系电话 000-0000", "members": [ { "member": "owner", "label": "麦麦" }, { "member": "assistant", "label": "娜娜" }, { "member": "assistant2", "label": "小昊" } ], "creditCardRatePermille": 6, "costPresets": { "jd": { "amount": "8", "payer": "owner" }, "yt": { "amount": "6", "payer": "order" }, "box": { "amount": "3", "payer": "owner" }, "steel": { "amount": "7", "payer": "owner" }, "silver": { "amount": "18", "payer": "owner" } }, "feeDefaults": { "certificate": "4", "packaging": "3", "shipping": "8", "packagingPayer": "owner" } }, "pockets": [ "现货", "金料", "找金", "回收旧料", "君宝汇", "pocket_" ], "pocketCatalog": [ { "key": "现货", "name": "现货", "active": true, "self": true, "builtin": true, "revision": 1, "created": "2026-11-18T02:00:00.000Z", "updated": "2026-11-18T02:00:00.000Z", "countUnit": null, "countSince": null }, { "key": "金料", "name": "金料", "active": true, "self": true, "builtin": true, "revision": 1, "created": "2026-11-18T02:00:00.000Z", "updated": "2026-11-18T02:00:00.000Z", "countUnit": null, "countSince": null }, { "key": "找金", "name": "找金", "active": true, "self": false, "builtin": true, "revision": 1, "created": "2026-11-18T02:00:00.000Z", "updated": "2026-11-18T02:00:00.000Z", "countUnit": null, "countSince": null }, { "key": "回收旧料", "name": "回收旧料", "active": true, "self": true, "builtin": true, "revision": 1, "created": "2026-11-18T02:00:00.000Z", "updated": "2026-11-18T02:00:00.000Z", "countUnit": null, "countSince": null }, { "key": "君宝汇", "name": "君宝汇", "active": true, "self": false, "builtin": true, "revision": 1, "created": "2026-11-18T02:00:00.000Z", "updated": "2026-11-18T02:00:00.000Z", "countUnit": null, "countSince": null }, { "key": "臻金汇", "name": "臻金汇", "active": false, "self": false, "builtin": true, "revision": 1, "created": "2026-11-18T02:00:00.000Z", "updated": "2026-11-18T02:00:00.000Z", "countUnit": null, "countSince": null }, { "key": "金金", "name": "金金", "active": false, "self": false, "builtin": true, "revision": 1, "created": "2026-11-18T02:00:00.000Z", "updated": "2026-11-18T02:00:00.000Z", "countUnit": null, "countSince": null }, { "key": "定制工厂", "name": "定制工厂", "active": false, "self": false, "builtin": true, "revision": 1, "created": "2026-11-18T02:00:00.000Z", "updated": "2026-11-18T02:00:00.000Z", "countUnit": null, "countSince": null }, { "key": "pocket_", "name": "展柜A(主)", "active": true, "self": true, "builtin": false, "revision": 2, "created": "2026-11-18T02:00:32.000Z", "updated": "2026-11-18T02:00:34.000Z", "countUnit": null, "countSince": null } ], "accounts": [ "助理微信", "助理支付宝", "助理现金", "麦麦微信", "麦麦支付宝", "麦麦现金", "麦麦信用卡", "助理2微信", "助理2支付宝", "助理2现金" ], "inventory": [ { "pocket": "现货", "mg": 65950, "reserved": 0, "available": 65950 }, { "pocket": "金料", "mg": 56000, "reserved": 0, "available": 56000 }, { "pocket": "找金", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "回收旧料", "mg": 20092, "reserved": 0, "available": 20092 }, { "pocket": "君宝汇", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "臻金汇", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "金金", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "定制工厂", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "pocket_", "mg": 10000, "reserved": 0, "available": 10000 } ], "orders": [ { "id": "", "number": "MM20261119-", "date": "2026-11-19", "customer": "当天客户(改)", "salesperson": "娜娜", "note": "", "paper_number": "20261119013", "status": "delivered", "lines": [ { "name": "足金吊坠", "code": "", "unit": "g", "quantity": 2000, "pocket": "现货", "payer": "assistant", "cost": 180000, "sale": 210000, "baseSale": 210000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 210000, "revision": 7, "reviewed_revision": 0, "created": "2026-11-19T02:01:48.000Z", "delivered_date": "2026-11-19", "returned_date": null, "paper_date": "2026-11-19", "payment_account": "助理微信", "fee_items": [], "fees_date": "2026-11-19", "rounding_mode": "cent", "internal_note": "当天单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": null, "ownershipPending": null, "ownershipApproved": { "id": "", "status": "approved", "order_revision": 6, "before": { "member": "assistant", "label": "娜娜" }, "after": { "member": "assistant2", "label": "小昊" }, "reason": "实际由小昊接待", "requester_name": "助理", "created": "2026-11-19T02:01:54.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:01:56.000Z", "note": "核实", "direct": false }, "corrections": [], "received": 210000, "refunded": 0, "netReceived": 210000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 180000, "directCost": 800, "materialCostPending": false, "knownGoodsCost": 180000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 29200, "profit": 29200, "knownProfit": 29200, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "sync": { "revision": 7, "done_revision": 0, "error": null, "updated": "2026-11-19T02:01:56.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 }, { "id": "", "number": "MM20261119-", "date": "2026-11-19", "customer": "对照换货客户", "salesperson": "小昊", "note": "", "paper_number": "20261119011", "status": "delivered", "lines": [ { "name": "足金对照新货", "code": "", "unit": "g", "quantity": 12000, "pocket": "现货", "payer": "assistant2", "costPayers": { "material": "assistant2", "labor": "assistant2" }, "cost": 357720, "costParts": { "material": 351720, "labor": 6000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total", "rate": 90000, "consumptionMg": 3908 }, "costLabor": { "mode": "gram", "rate": 500 }, "sale": 422792, "baseSale": 422792, "charges": [], "pricingMode": "manual", "priceNote": "补金 3.908克 × 1000.00元;新货工费 240.00元;折旧 79.92元", "recoveryMaterialMg": 3908, "recovery_id": "" } ], "discount": 0, "total": 422792, "revision": 5, "reviewed_revision": 0, "created": "2026-11-19T02:01:32.000Z", "delivered_date": "2026-11-19", "returned_date": null, "paper_date": "2026-11-19", "payment_account": "助理2微信", "fee_items": [], "fees_date": "2026-11-19", "rounding_mode": "cent", "internal_note": "", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": null, "ownershipPending": null, "ownershipApproved": null, "corrections": [ { "target": "", "type": "payment", "reason": "跨天更正旧料克重", "actor": "麦麦", "created": "2026-11-20T02:00:10.000Z" } ], "received": 422792, "refunded": 0, "netReceived": 422792, "balance": 0, "recovery_id": "", "recovery_mode": "exchange", "recovery_immutable_reason": "本单关联黄金回收/置换、购料及库存,暂不支持普通订单修改、取消、退款、退货或费用变更,请保留原关联记录", "nonCashOffset": 0, "cashPaid": 0, "netSettlement": 422792, "rounding_adjustment": 0, "goodsCost": 357720, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 357720, "pendingFees": [], "draftFees": 0, "estimatedProfit": 65072, "profit": 65072, "knownProfit": 65072, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "sync": { "revision": 5, "done_revision": 0, "error": null, "updated": "2026-11-20T02:00:10.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 }, { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照驳回客户", "salesperson": "娜娜", "note": "", "paper_number": "20261118008", "status": "delivered", "lines": [ { "name": "足金耳钉", "code": "", "unit": "g", "quantity": 800, "pocket": "现货", "payer": "assistant", "cost": 70000, "sale": 82000, "baseSale": 82000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 82000, "revision": 5, "reviewed_revision": 0, "created": "2026-11-18T02:01:26.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理支付宝", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "驳回单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": null, "ownershipPending": null, "ownershipApproved": { "id": "", "status": "approved", "order_revision": 4, "before": { "member": "assistant", "label": "娜娜" }, "after": { "member": "assistant2", "label": "小昊" }, "reason": "核实业务归属", "requester_name": "麦麦", "created": "2026-11-19T02:00:49.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:00:49.000Z", "note": "", "direct": true }, "corrections": [], "received": 82000, "refunded": 0, "netReceived": 82000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 70000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 70000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 12000, "profit": 12000, "knownProfit": 12000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "sync": { "revision": 5, "done_revision": 0, "error": null, "updated": "2026-11-19T02:00:49.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 }, { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "returned", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 5, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": "2026-11-19", "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": { "id": "", "status": "approved", "action": "return", "action_label": "订单售后", "order_revision": 4, "reason": "客户退回一件", "requester_name": "助理2", "created": "2026-11-19T02:01:03.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:01:05.000Z", "note": "实物已收回" }, "ownershipPending": null, "ownershipApproved": null, "corrections": [], "received": 500000, "refunded": 90000, "netReceived": 410000, "balance": 0, "orderAfterSale": { "orderId": "", "date": "2026-11-19", "reason": "客户退回一件", "deductionReason": "客户确认扣费", "refund": { "amount": 90000, "account": "助理2支付宝", "payer": "assistant2", "reference": "" }, "expenses": [], "original": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": { "id": "", "status": "approved", "action": "return", "action_label": "订单售后", "order_revision": 4, "reason": "客户退回一件", "requester_name": "助理2", "created": "2026-11-19T02:01:03.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:01:05.000Z", "note": "实物已收回" }, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 0, "netReceived": 500000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 50000, "knownProfit": 50000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "funds_mode": "team", "credit_card_rate_permille": 6 }, "originalJournal": { "sales": 500000, "goods": 450000, "expense": 0, "profit": 50000 }, "summary": { "refundAmount": 90000, "retainedAmount": 410000, "materialReturnedCost": 88000, "laborRestockedCost": 0, "materialLoss": 352000, "costLoss": 362000, "originalDirectCost": 0, "newExpenses": 0, "directCost": 0, "profit": 48000, "finalProfit": 48000, "profitAdjustment": -2000, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ] }, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ], "originalOrder": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": { "id": "", "status": "approved", "action": "return", "action_label": "订单售后", "order_revision": 4, "reason": "客户退回一件", "requester_name": "助理2", "created": "2026-11-19T02:01:03.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:01:05.000Z", "note": "实物已收回" }, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 0, "netReceived": 500000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 50000, "knownProfit": 50000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "funds_mode": "team", "credit_card_rate_permille": 6 } }, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 48000, "knownProfit": 48000, "ownerCost": 0, "assistantInventoryCredit": 0, "assistantInventoryCreditSources": [], "assistantInventoryCreditExplanation": "", "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "sync": { "revision": 5, "done_revision": 0, "error": null, "updated": "2026-11-19T02:01:05.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 }, { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照取消客户", "salesperson": "小昊", "note": "", "paper_number": "20261118006", "status": "cancelled", "lines": [ { "name": "足金戒指", "code": "", "unit": "g", "quantity": 1500, "pocket": "现货", "payer": "assistant2", "cost": 130000, "sale": 150000, "baseSale": 150000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 150000, "revision": 5, "reviewed_revision": 0, "created": "2026-11-18T02:01:24.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2现金", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "取消单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": { "id": "", "status": "approved", "order_revision": 4, "reason": "重复录入", "requester_name": "助理2", "created": "2026-11-19T02:00:41.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:00:45.000Z", "note": "核对原单后确认" }, "changePending": null, "changeApproved": null, "ownershipPending": null, "ownershipApproved": null, "corrections": [ { "target": "", "type": "payment", "reason": "重复录入", "actor": "麦麦", "created": "2026-11-19T02:00:45.000Z" } ], "received": 0, "refunded": 0, "netReceived": 0, "balance": 0, "rounding_adjustment": 0, "goodsCost": 130000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 130000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 20000, "profit": 0, "knownProfit": 0, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "sync": { "revision": 5, "done_revision": 0, "error": null, "updated": "2026-11-19T02:00:45.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 }, { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照客户乙", "salesperson": "小昊", "note": "", "paper_number": "20261118002", "status": "delivered", "lines": [ { "name": "足金999", "code": "", "unit": "g", "quantity": 2000, "pocket": "现货", "payer": "assistant2", "cost": 180000, "sale": 208710, "baseSale": 208710, "charges": [], "pricingMode": "auto", "goldPrice": 95555, "laborRate": 8800, "laborMode": "piece", "pieces": 2, "priceNote": "金价 955.55元/克 + 工费 88.00元/件 × 2件" }, { "name": "纯银925", "code": "", "unit": "件", "quantity": 3, "pocket": "", "payer": "assistant2", "cost": 3000, "sale": 9990, "baseSale": 9990, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 1537, "total": 217163, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:18.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2支付宝", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "按件内部备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": null, "ownershipPending": null, "ownershipApproved": null, "corrections": [], "received": 217163, "refunded": 0, "netReceived": 217163, "balance": 0, "rounding_adjustment": 0, "goodsCost": 183000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 183000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 34163, "profit": 34163, "knownProfit": 34163, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "sync": { "revision": 4, "done_revision": 0, "error": null, "updated": "2026-11-18T02:01:18.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 } ], "priceLockCounts": { "pending": 1, "delivered": 0, "cancelled": 0 }, "materialPoolSummary": { "totalMg": 36000, "totalAmount": 3274167, "usedMg": 0, "remainingMg": 36000, "remainingCost": 3274167, "shortageMg": 0, "pendingCount": 0, "purchaseCount": 0 }, "materialPoolSettlement": { "legacyReadOnly": true, "settlementDue": 0, "knownSettlementDue": 0, "pendingCount": 0, "pools": [] }, "materialPoolAllocation": { "version": 1, "targetVersion": 2, "migrationRequired": true, "usageCount": 0, "activeUsageCount": 0 }, "sync": { "enabled": false }, "printing": { "store": "黄金对照珠宝", "subtitle": "黄金对照销售单", "contact": "联系电话 000-0000", "width": 241, "height": 140, "offsetX": 2, "offsetY": 3, "rows": 3, "contentTop": 12, "rowHeight": 10 }, "backup": null, "movements": [ { "id": "", "group_id": "", "date": "2026-11-20", "pocket": "回收旧料", "mg": 2000, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "recovery", "note": "HS202611200005", "actor": "助理", "created": "2026-11-20T02:00:30.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "date": "2026-11-20", "pocket": "现货", "mg": -2000, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "sale", "note": "MM20261120-", "actor": "助理", "created": "2026-11-20T02:00:29.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "date": "2026-11-20", "pocket": "回收旧料", "mg": -3000, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "recovery_change_reverse", "note": "回收更正:HS202611200004;录错", "actor": "麦麦", "created": "2026-11-20T02:00:27.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "date": "2026-11-20", "pocket": "回收旧料", "mg": 10000, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "recovery_change_old", "note": "回收更正:HS202611200003;当天更正", "actor": "助理", "created": "2026-11-20T02:00:25.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "date": "2026-11-20", "pocket": "回收旧料", "mg": -10000, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "recovery_change_reverse", "note": "回收更正:HS202611200003;当天更正", "actor": "助理", "created": "2026-11-20T02:00:25.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "date": "2026-11-20", "pocket": "回收旧料", "mg": 3000, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "recovery", "note": "HS202611200004", "actor": "麦麦", "created": "2026-11-20T02:00:21.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "date": "2026-11-20", "pocket": "回收旧料", "mg": 10000, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "recovery", "note": "HS202611200003", "actor": "助理", "created": "2026-11-20T02:00:20.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "date": "2026-11-19", "pocket": "现货", "mg": 6000, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "recovery_change_reverse", "note": "回收更正:HS202611190002;录错", "actor": "麦麦", "created": "2026-11-20T02:00:15.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "date": "2026-11-19", "pocket": "回收旧料", "mg": -4851, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "recovery_change_reverse", "note": "回收更正:HS202611190002;录错", "actor": "麦麦", "created": "2026-11-20T02:00:15.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-19", "pocket": "现货", "mg": -12000, "kind": "recovery_change_sale", "note": "回收更正:HS202611190001;跨天更正旧料克重", "purchase_cost": null, "actor": "麦麦", "created": "2026-11-20T02:00:10.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-19", "pocket": "回收旧料", "mg": 8092, "kind": "recovery_change_old", "note": "回收更正:HS202611190001;跨天更正旧料克重", "purchase_cost": null, "actor": "麦麦", "created": "2026-11-20T02:00:10.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-19", "pocket": "现货", "mg": 12000, "kind": "recovery_change_reverse", "note": "回收更正:HS202611190001;跨天更正旧料克重", "purchase_cost": null, "actor": "麦麦", "created": "2026-11-20T02:00:10.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-19", "pocket": "回收旧料", "mg": -7992, "kind": "recovery_change_reverse", "note": "回收更正:HS202611190001;跨天更正旧料克重", "purchase_cost": null, "actor": "麦麦", "created": "2026-11-20T02:00:10.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "date": "2026-11-19", "pocket": "现货", "mg": -500, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "sale", "note": "MM20261119-", "actor": "助理", "created": "2026-11-19T02:02:51.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "date": "2026-11-19", "pocket": "现货", "mg": 2000, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "order_cancel_reverse", "note": "MM20261119-;当天直接作废:当天录错", "actor": "助理", "created": "2026-11-19T02:01:59.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "date": "2026-11-19", "pocket": "现货", "mg": -2000, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "sale", "note": "MM20261119-", "actor": "助理", "created": "2026-11-19T02:01:57.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-19", "pocket": "现货", "mg": -2000, "kind": "sale", "note": "MM20261119-", "purchase_cost": null, "actor": "助理", "created": "2026-11-19T02:01:48.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "date": "2026-11-19", "pocket": "现货", "mg": -6000, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "sale", "note": "MM20261119-", "actor": "助理", "created": "2026-11-19T02:01:33.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "date": "2026-11-19", "pocket": "回收旧料", "mg": 4851, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "recovery", "note": "HS202611190002", "actor": "助理", "created": "2026-11-19T02:01:33.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-19", "pocket": "现货", "mg": -12000, "kind": "sale", "note": "MM20261119-", "purchase_cost": null, "actor": "助理2", "created": "2026-11-19T02:01:32.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-19", "pocket": "回收旧料", "mg": 7992, "kind": "recovery", "note": "HS202611190001", "purchase_cost": null, "actor": "助理2", "created": "2026-11-19T02:01:32.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "date": "2026-11-19", "pocket": "现货", "mg": -3100, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "sale", "note": "MM20261119-", "actor": "助理", "created": "2026-11-19T02:01:28.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "date": "2026-11-19", "pocket": "现货", "mg": 100, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "lock_purchase", "note": "SJ20261118- 足金999 补重黄金入库", "actor": "助理", "created": "2026-11-19T02:01:28.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "date": "2026-11-19", "pocket": "现货", "mg": 3000, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "lock_purchase", "note": "SJ20261118- 足金999 原锁定黄金入库", "actor": "助理", "created": "2026-11-19T02:01:28.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "after-sale:", "order_id": "", "date": "2026-11-19", "pocket": "金料", "mg": 1000, "kind": "return", "note": "MM20261118- · 售后回收旧料", "purchase_cost": null, "actor": "麦麦", "created": "2026-11-19T02:01:05.000Z", "groupId": "after-sale:", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-18", "pocket": "现货", "mg": 1500, "kind": "order_cancel_reverse", "note": "MM20261118-;审批作废:重复录入", "purchase_cost": null, "actor": "麦麦", "created": "2026-11-19T02:00:45.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "date": "2026-11-19", "pocket": "金料", "mg": -1200, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "manual_reversal", "note": "手动库存更正冲回:", "actor": "麦麦", "created": "2026-11-19T02:00:21.000Z", "groupId": "", "revision": 3, "manual": false, "current": false, "status": "deleted", "reversal": true, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "date": "2026-11-19", "pocket": "金料", "mg": 1200, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "increase", "note": "当天手动入库", "actor": "助理", "created": "2026-11-19T02:00:19.000Z", "groupId": "", "revision": 3, "manual": true, "current": false, "status": "deleted", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "date": "2026-11-19", "pocket": "金料", "mg": -1000, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "manual_reversal", "note": "手动库存更正冲回:", "actor": "助理", "created": "2026-11-19T02:00:19.000Z", "groupId": "", "revision": 3, "manual": false, "current": false, "status": "deleted", "reversal": true, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "date": "2026-11-19", "pocket": "金料", "mg": 1000, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "increase", "note": "当天手动入库", "actor": "助理", "created": "2026-11-19T02:00:16.000Z", "groupId": "", "revision": 3, "manual": true, "current": false, "status": "deleted", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "date": "2026-11-18", "pocket": "现货", "mg": 3000, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "increase", "note": "娜娜手动入库", "actor": "麦麦", "created": "2026-11-19T02:00:11.000Z", "groupId": "", "revision": 2, "manual": true, "current": true, "status": "modified", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "date": "2026-11-18", "pocket": "现货", "mg": -2500, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "manual_reversal", "note": "手动库存更正冲回:", "actor": "麦麦", "created": "2026-11-19T02:00:11.000Z", "groupId": "", "revision": 2, "manual": false, "current": false, "status": "modified", "reversal": true, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "date": "2026-11-18", "pocket": "现货", "mg": -4000, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "sale", "note": "MM20261118-", "actor": "麦麦", "created": "2026-11-18T02:01:34.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-18", "pocket": "现货", "mg": -800, "kind": "sale", "note": "MM20261118-", "purchase_cost": null, "actor": "助理", "created": "2026-11-18T02:01:26.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-18", "pocket": "现货", "mg": -5000, "kind": "sale", "note": "MM20261118-", "purchase_cost": null, "actor": "助理2", "created": "2026-11-18T02:01:25.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-18", "pocket": "现货", "mg": -1500, "kind": "sale", "note": "MM20261118-", "purchase_cost": null, "actor": "助理2", "created": "2026-11-18T02:01:24.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "date": "2026-11-18", "pocket": "pocket_", "mg": -10000, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "sale", "note": "MM20261118-", "actor": "麦麦", "created": "2026-11-18T02:01:23.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-18", "pocket": "现货", "mg": -2000, "kind": "sale", "note": "MM20261118-", "purchase_cost": null, "actor": "助理2", "created": "2026-11-18T02:01:18.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "date": "2026-11-18", "pocket": "现货", "mg": -3250, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "sale", "note": "MM20261118-", "actor": "助理", "created": "2026-11-18T02:01:17.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "date": "2026-11-18", "pocket": "现货", "mg": -500, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "decrease", "note": "娜娜手动出库", "actor": "助理", "created": "2026-11-18T02:01:05.000Z", "groupId": "", "revision": 1, "manual": true, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "date": "2026-11-18", "pocket": "现货", "mg": 2500, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "increase", "note": "娜娜手动入库", "actor": "助理", "created": "2026-11-18T02:01:04.000Z", "groupId": "", "revision": 2, "manual": true, "current": false, "status": "modified", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "date": "2026-11-18", "pocket": "金料", "mg": 5000, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "transfer", "note": "调拨", "actor": "麦麦", "created": "2026-11-18T02:01:03.000Z", "groupId": "", "revision": 1, "manual": true, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "date": "2026-11-18", "pocket": "现货", "mg": -5000, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "transfer", "note": "调拨", "actor": "麦麦", "created": "2026-11-18T02:01:03.000Z", "groupId": "", "revision": 1, "manual": true, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "date": "2026-11-18", "pocket": "pocket_", "mg": 20000, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "opening", "note": "展柜起始", "actor": "麦麦", "created": "2026-11-18T02:01:02.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "date": "2026-11-18", "pocket": "金料", "mg": 50000, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "opening", "note": "黄金对照起始金料", "actor": "麦麦", "created": "2026-11-18T02:01:01.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "date": "2026-11-18", "pocket": "现货", "mg": 100000, "stockCount": null, "countUnit": null, "countEffectiveDate": null, "kind": "opening", "note": "黄金对照起始库存", "actor": "麦麦", "created": "2026-11-18T02:01:00.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false } ] } }, { "seq": 539, "label": "final-session-assistant2", "date": "2026-11-20", "actor": "assistant2", "method": "GET", "path": "/api/session", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "user": { "id": "", "name": "助理2", "role": "assistant", "member": "assistant2", "operatorName": "小昊", "label": "小昊" }, "setup": false, "mode": "trial", "today": "2026-11-20", "brand": { "storeName": "黄金对照珠宝" }, "loginOptions": [ { "member": "owner", "label": "麦麦" }, { "member": "assistant", "label": "娜娜" }, { "member": "assistant2", "label": "小昊" } ] } }, { "seq": 540, "label": "final-report-assistant2", "date": "2026-11-20", "actor": "assistant2", "method": "GET", "path": "/api/report?from=2026-11-18&date=2026-11-20", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "date": "2026-11-20", "from": "2026-11-18", "sales": 1341955, "goods": 1152720, "knownGoods": 1152720, "expense": 800, "profit": 188435, "knownProfit": 188435, "materialCostPending": false, "pendingMaterialCount": 0, "materialPoolActivity": { "from": "2026-11-18", "to": "2026-11-20", "purchases": [ { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 4000, "amount": 370000, "payer": "assistant2", "note": "", "actor": "助理2", "created": "2026-11-19T02:02:20.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:20.000Z" } ], "settlements": [], "events": [] }, "materialPoolSettlement": { "legacyReadOnly": true, "settlementDue": 0, "knownSettlementDue": 0, "pendingCount": 0, "pools": [] }, "delivered": 5, "returns": 0, "accounts": [ { "account": "助理微信", "receipt": 210000, "refund": 0 }, { "account": "助理支付宝", "receipt": 82000, "refund": 0 }, { "account": "助理现金", "receipt": 0, "refund": 0 }, { "account": "麦麦微信", "receipt": 0, "refund": 0 }, { "account": "麦麦支付宝", "receipt": 0, "refund": 0 }, { "account": "麦麦现金", "receipt": 0, "refund": 0 }, { "account": "助理信用卡", "receipt": 0, "refund": 0 }, { "account": "麦麦信用卡", "receipt": 0, "refund": 0 }, { "account": "助理2微信", "receipt": 972792, "refund": 0 }, { "account": "助理2支付宝", "receipt": 217163, "refund": 90000 }, { "account": "助理2现金", "receipt": 0, "refund": 0 }, { "account": "助理2信用卡", "receipt": 0, "refund": 0 } ], "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 217163, "account": "助理2支付宝", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:18.000Z", "number": "MM20261118-" }, { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 150000, "account": "助理2现金", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:24.000Z", "number": "MM20261118-" }, { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z", "number": "MM20261118-" }, { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 82000, "account": "助理支付宝", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-18T02:01:26.000Z", "number": "MM20261118-" }, { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": -150000, "account": "助理2现金", "reference": "更正冲回:取消审批作废;重复录入", "actor": "麦麦", "created": "2026-11-19T02:00:45.000Z", "number": "MM20261118-" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "refund", "amount": 90000, "account": "助理2支付宝", "reference": "整单售后退款", "actor": "麦麦", "created": "2026-11-19T02:01:05.000Z", "number": "MM20261118-" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "receipt", "amount": 432792, "account": "助理2微信", "reference": "置换差额实际收款 · HS202611190001", "actor": "助理2", "created": "2026-11-19T02:01:32.000Z", "number": "MM20261119-" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "receipt", "amount": 210000, "account": "助理微信", "reference": "开单时已全额收款", "actor": "助理", "created": "2026-11-19T02:01:48.000Z", "number": "MM20261119-" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "receipt", "amount": -432792, "account": "助理2微信", "reference": "更正冲回:回收专用更正;跨天更正旧料克重", "actor": "麦麦", "created": "2026-11-20T02:00:10.000Z", "number": "MM20261119-" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "receipt", "amount": 422792, "account": "助理2微信", "reference": "回收更正补记:跨天更正旧料克重", "actor": "麦麦", "created": "2026-11-20T02:00:10.000Z", "number": "MM20261119-" }, { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 50000, "account": "助理2微信", "number": "SJ20261118-", "customer": "对照锁价客户三", "product": "足金999", "actor": "助理2", "created": "2026-11-18T02:01:55.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null, "price_lock_event_id": "" } ], "settlements": [], "journal": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "交付", "sales": 217163, "goods": 183000, "expense": 0, "profit": 34163, "created": "2026-11-18T02:01:18.000Z", "number": "MM20261118-" }, { "id": "", "order_id": "", "date": "2026-11-18", "kind": "交付", "sales": 150000, "goods": 130000, "expense": 0, "profit": 20000, "created": "2026-11-18T02:01:24.000Z", "number": "MM20261118-" }, { "id": "", "order_id": "", "date": "2026-11-18", "kind": "交付", "sales": 500000, "goods": 450000, "expense": 0, "profit": 50000, "created": "2026-11-18T02:01:25.000Z", "number": "MM20261118-" }, { "id": "", "order_id": "", "date": "2026-11-18", "kind": "交付", "sales": 82000, "goods": 70000, "expense": 0, "profit": 12000, "created": "2026-11-18T02:01:26.000Z", "number": "MM20261118-" }, { "id": "", "order_id": "", "date": "2026-11-18", "kind": "订单录错作废冲回", "sales": -150000, "goods": -130000, "expense": 0, "profit": -20000, "created": "2026-11-19T02:00:45.000Z", "number": "MM20261118-" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "订单退货退款售后", "sales": -90000, "goods": -88000, "expense": 0, "profit": -2000, "created": "2026-11-19T02:01:05.000Z", "number": "MM20261118-" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "交付", "sales": 432792, "goods": 366720, "expense": 0, "profit": 66072, "created": "2026-11-19T02:01:32.000Z", "number": "MM20261119-" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "交付", "sales": 210000, "goods": 180000, "expense": 0, "profit": 30000, "created": "2026-11-19T02:01:48.000Z", "number": "MM20261119-" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "直接费用", "sales": 0, "goods": 0, "expense": 800, "profit": -800, "created": "2026-11-19T02:01:52.000Z", "number": "MM20261119-" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "回收专用更正冲回", "sales": -432792, "goods": -366720, "expense": 0, "profit": -66072, "created": "2026-11-20T02:00:10.000Z", "number": "MM20261119-" }, { "id": "", "order_id": "", "date": "2026-11-19", "kind": "回收专用更正补记", "sales": 422792, "goods": 357720, "expense": 0, "profit": 65072, "created": "2026-11-20T02:00:10.000Z", "number": "MM20261119-" } ], "afterSales": [], "afterSaleCount": 0, "inventory": [ { "pocket": "现货", "mg": 65950, "reserved": 0, "available": 65950 }, { "pocket": "金料", "mg": 56000, "reserved": 0, "available": 56000 }, { "pocket": "找金", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "回收旧料", "mg": 20092, "reserved": 0, "available": 20092 }, { "pocket": "君宝汇", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "臻金汇", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "金金", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "定制工厂", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "pocket_", "mg": 10000, "reserved": 0, "available": 10000 } ], "warnings": [ { "id": "", "number": "MM20261119-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261119-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261118-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261118-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261118-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261118-", "message": "有记录待麦麦复核" } ], "unsettled": [], "settlementDue": 0, "knownSettlementDue": 0, "customerBalance": 0, "close": null, "peopleCount": null } }, { "seq": 541, "label": "final-order-book-assistant2", "date": "2026-11-20", "actor": "assistant2", "method": "GET", "path": "/api/order-book?from=2026-11-18&date=2026-11-20", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "from": "2026-11-18", "date": "2026-11-20", "today": "2026-11-20", "q": "", "status": "all", "pocket": "", "rows": [ { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118002", "date": "2026-11-18", "created": "2026-11-18T02:01:18.000Z", "customer": "对照客户乙", "salesperson": "小昊", "status": "delivered", "note": "", "types": [ "货盘现货", "配货 · 银饰" ], "mg": 2000, "summaryMg": 2000, "pieces": 3, "originalSale": 217163, "sale": 217163, "material": null, "laborAndFees": null, "unallocated": 183000, "totalCost": 183000, "profit": 34163, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 183000, "known": { "sale": 217163, "material": 0, "laborAndFees": 0, "unallocated": 183000, "totalCost": 183000, "profit": 34163, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 183000 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金999", "amount": 180000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "unallocated" }, { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 2 · 纯银925", "amount": 3000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "unallocated" } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 4, "reviewed_revision": 0 }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118006", "date": "2026-11-18", "created": "2026-11-18T02:01:24.000Z", "cancellationApproved": { "id": "", "status": "approved", "order_revision": 4, "reason": "重复录入", "requester_name": "助理2", "created": "2026-11-19T02:00:41.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:00:45.000Z", "note": "核对原单后确认" }, "customer": "对照取消客户", "salesperson": "小昊", "status": "cancelled", "note": "", "types": [ "货盘现货" ], "mg": 1500, "summaryMg": 1500, "pieces": 0, "originalSale": 150000, "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0, "known": { "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0 }, "costItems": [], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "录错作废已获麦麦批准,本单销售、成本与收款记账已撤销,原单和审批记录保留", "balance": 0, "revision": 5, "reviewed_revision": 0 }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118007", "date": "2026-11-18", "created": "2026-11-18T02:01:25.000Z", "customer": "对照售后订单客户", "salesperson": "小昊", "status": "delivered", "note": "", "orderAfterSale": { "orderId": "", "date": "2026-11-19", "reason": "客户退回一件", "deductionReason": "客户确认扣费", "refund": { "amount": 90000, "account": "助理2支付宝", "payer": "assistant2", "reference": "" }, "expenses": [], "original": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": { "id": "", "status": "approved", "action": "return", "action_label": "订单售后", "order_revision": 4, "reason": "客户退回一件", "requester_name": "助理2", "created": "2026-11-19T02:01:03.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:01:05.000Z", "note": "实物已收回" }, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 0, "netReceived": 500000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 50000, "knownProfit": 50000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "funds_mode": "team", "credit_card_rate_permille": 6 }, "originalJournal": { "sales": 500000, "goods": 450000, "expense": 0, "profit": 50000 }, "summary": { "refundAmount": 90000, "retainedAmount": 410000, "materialReturnedCost": 88000, "laborRestockedCost": 0, "materialLoss": 352000, "costLoss": 362000, "originalDirectCost": 0, "newExpenses": 0, "directCost": 0, "profit": 48000, "finalProfit": 48000, "profitAdjustment": -2000, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ] }, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ], "originalOrder": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": { "id": "", "status": "approved", "action": "return", "action_label": "订单售后", "order_revision": 4, "reason": "客户退回一件", "requester_name": "助理2", "created": "2026-11-19T02:01:03.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:01:05.000Z", "note": "实物已收回" }, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 0, "netReceived": 500000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 50000, "knownProfit": 50000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "funds_mode": "team", "credit_card_rate_permille": 6 } }, "current_status": "returned", "types": [ "货盘现货" ], "mg": 5000, "summaryMg": 5000, "pieces": 0, "originalSale": 500000, "sale": 500000, "material": 440000, "laborAndFees": 10000, "unallocated": 0, "totalCost": 450000, "profit": 50000, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 450000, "known": { "sale": 500000, "material": 440000, "laborAndFees": 10000, "unallocated": 0, "totalCost": 450000, "profit": 50000, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 450000 }, "costItems": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金手链", "amount": 440000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "material" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金手链", "amount": 10000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金手链", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金手链", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金手链", "amount": 10000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金手链", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金手链", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 4, "reviewed_revision": 0 }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118008", "date": "2026-11-18", "created": "2026-11-18T02:01:26.000Z", "customer": "对照驳回客户", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 800, "summaryMg": 800, "pieces": 0, "originalSale": 82000, "sale": 82000, "material": null, "laborAndFees": null, "unallocated": 70000, "totalCost": 70000, "profit": 12000, "ownerCost": 0, "assistantCost": 70000, "assistant2Cost": 0, "known": { "sale": 82000, "material": 0, "laborAndFees": 0, "unallocated": 70000, "totalCost": 70000, "profit": 12000, "ownerCost": 0, "assistantCost": 70000, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金耳钉", "amount": 70000, "payer": "assistant", "excluded": false, "calculation": null, "component": "unallocated" } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 5, "reviewed_revision": 0 }, { "id": "", "order_id": "", "kind": "orderAfterSale", "orderAfterSale": { "orderId": "", "date": "2026-11-19", "reason": "客户退回一件", "deductionReason": "客户确认扣费", "refund": { "amount": 90000, "account": "助理2支付宝", "payer": "assistant2", "reference": "" }, "expenses": [], "original": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": { "id": "", "status": "approved", "action": "return", "action_label": "订单售后", "order_revision": 4, "reason": "客户退回一件", "requester_name": "助理2", "created": "2026-11-19T02:01:03.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:01:05.000Z", "note": "实物已收回" }, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 0, "netReceived": 500000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 50000, "knownProfit": 50000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "funds_mode": "team", "credit_card_rate_permille": 6 }, "originalJournal": { "sales": 500000, "goods": 450000, "expense": 0, "profit": 50000 }, "summary": { "refundAmount": 90000, "retainedAmount": 410000, "materialReturnedCost": 88000, "laborRestockedCost": 0, "materialLoss": 352000, "costLoss": 362000, "originalDirectCost": 0, "newExpenses": 0, "directCost": 0, "profit": 48000, "finalProfit": 48000, "profitAdjustment": -2000, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ] }, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ], "order_id": "", "created": "2026-11-19T02:01:05.000Z", "number": "MM20261118-", "paper_number": "20261118007", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "order_date": "2026-11-18", "member": "assistant2" }, "member": "assistant2", "number": "MM20261118-", "paper_number": "20261118007", "date": "2026-11-19", "order_date": "2026-11-18", "created": "2026-11-19T02:01:05.000Z", "customer": "对照售后订单客户", "salesperson": "小昊", "status": "after_sale", "note": "", "project": "订单售后", "types": [ "订单售后" ], "mg": 0, "summaryMg": 0, "pieces": 0, "originalSale": 500000, "sale": -90000, "material": -88000, "laborAndFees": 0, "unallocated": 0, "totalCost": -88000, "profit": -2000, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": -88000, "known": { "sale": -90000, "material": -88000, "laborAndFees": 0, "unallocated": 0, "totalCost": -88000, "profit": -2000, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": -88000 }, "costItems": [ { "kind": "goods", "component": "material", "name": "售后收回金料成本", "source": "商品 1 · 足金手链", "amount": -88000, "payer": "assistant2", "nonCash": true, "materialPoolId": "2026-11-19", "calculation": null } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "按售后发生日调整;回收成本不属于新付款", "balance": 0, "revision": 1, "reviewed_revision": 1 }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119011", "date": "2026-11-19", "created": "2026-11-19T02:01:32.000Z", "recovery_id": "", "recovery_mode": "exchange", "nonCashOffset": 0, "cashPaid": 0, "netSettlement": 422792, "recovery_immutable_reason": "本单关联黄金回收/置换、购料及库存,暂不支持普通订单修改、取消、退款、退货或费用变更,请保留原关联记录", "customer": "对照换货客户", "salesperson": "小昊", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 12000, "summaryMg": 12000, "pieces": 0, "originalSale": 422792, "sale": 422792, "material": 351720, "laborAndFees": 6000, "unallocated": 0, "totalCost": 357720, "profit": 65072, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 357720, "known": { "sale": 422792, "material": 351720, "laborAndFees": 6000, "unallocated": 0, "totalCost": 357720, "profit": 65072, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 357720 }, "costItems": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金对照新货", "amount": 351720, "payer": "assistant2", "excluded": false, "calculation": { "rate": 90000, "quantity": 3908 }, "component": "material" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 6000, "payer": "assistant2", "excluded": false, "calculation": { "rate": 500, "quantity": 12000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 6000, "payer": "assistant2", "excluded": false, "calculation": { "rate": 500, "quantity": 12000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 5, "reviewed_revision": 0 }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119013", "date": "2026-11-19", "created": "2026-11-19T02:01:48.000Z", "customer": "当天客户(改)", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 2000, "summaryMg": 2000, "pieces": 0, "originalSale": 210000, "sale": 210000, "material": null, "laborAndFees": null, "unallocated": 180000, "totalCost": 180800, "profit": 29200, "ownerCost": 0, "assistantCost": 180800, "assistant2Cost": 0, "known": { "sale": 210000, "material": 0, "laborAndFees": 800, "unallocated": 180000, "totalCost": 180800, "profit": 29200, "ownerCost": 0, "assistantCost": 180800, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金吊坠", "amount": 180000, "payer": "assistant", "excluded": false, "calculation": null, "component": "unallocated" }, { "kind": "paid", "name": "当天快递", "source": "2026-11-19", "amount": 800, "payer": "assistant", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "paid", "name": "当天快递", "source": "2026-11-19", "amount": 800, "payer": "assistant", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 7, "reviewed_revision": 0 } ], "displayRows": [ { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118002", "date": "2026-11-18", "created": "2026-11-18T02:01:18.000Z", "customer": "对照客户乙", "salesperson": "小昊", "status": "delivered", "note": "", "types": [ "货盘现货", "配货 · 银饰" ], "mg": 2000, "summaryMg": 2000, "pieces": 3, "originalSale": 217163, "sale": 217163, "material": null, "laborAndFees": null, "unallocated": 183000, "totalCost": 183000, "profit": 34163, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 183000, "known": { "sale": 217163, "material": 0, "laborAndFees": 0, "unallocated": 183000, "totalCost": 183000, "profit": 34163, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 183000 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金999", "amount": 180000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "unallocated" }, { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 2 · 纯银925", "amount": 3000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "unallocated" } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 4, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118006", "date": "2026-11-18", "created": "2026-11-18T02:01:24.000Z", "cancellationApproved": { "id": "", "status": "approved", "order_revision": 4, "reason": "重复录入", "requester_name": "助理2", "created": "2026-11-19T02:00:41.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:00:45.000Z", "note": "核对原单后确认" }, "customer": "对照取消客户", "salesperson": "小昊", "status": "cancelled", "note": "", "types": [ "货盘现货" ], "mg": 1500, "summaryMg": 1500, "pieces": 0, "originalSale": 150000, "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0, "known": { "sale": 0, "material": 0, "laborAndFees": 0, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0 }, "costItems": [], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "录错作废已获麦麦批准,本单销售、成本与收款记账已撤销,原单和审批记录保留", "balance": 0, "revision": 5, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118007", "date": "2026-11-18", "created": "2026-11-18T02:01:25.000Z", "customer": "对照售后订单客户", "salesperson": "小昊", "status": "returned", "note": "", "orderAfterSale": { "orderId": "", "date": "2026-11-19", "reason": "客户退回一件", "deductionReason": "客户确认扣费", "refund": { "amount": 90000, "account": "助理2支付宝", "payer": "assistant2", "reference": "" }, "expenses": [], "original": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": { "id": "", "status": "approved", "action": "return", "action_label": "订单售后", "order_revision": 4, "reason": "客户退回一件", "requester_name": "助理2", "created": "2026-11-19T02:01:03.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:01:05.000Z", "note": "实物已收回" }, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 0, "netReceived": 500000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 50000, "knownProfit": 50000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "funds_mode": "team", "credit_card_rate_permille": 6 }, "originalJournal": { "sales": 500000, "goods": 450000, "expense": 0, "profit": 50000 }, "summary": { "refundAmount": 90000, "retainedAmount": 410000, "materialReturnedCost": 88000, "laborRestockedCost": 0, "materialLoss": 352000, "costLoss": 362000, "originalDirectCost": 0, "newExpenses": 0, "directCost": 0, "profit": 48000, "finalProfit": 48000, "profitAdjustment": -2000, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ] }, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ], "originalOrder": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": { "id": "", "status": "approved", "action": "return", "action_label": "订单售后", "order_revision": 4, "reason": "客户退回一件", "requester_name": "助理2", "created": "2026-11-19T02:01:03.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:01:05.000Z", "note": "实物已收回" }, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 0, "netReceived": 500000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 50000, "knownProfit": 50000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "funds_mode": "team", "credit_card_rate_permille": 6 } }, "current_status": "returned", "types": [ "货盘现货" ], "mg": 5000, "summaryMg": 5000, "pieces": 0, "originalSale": 500000, "sale": 500000, "material": 440000, "laborAndFees": 10000, "unallocated": 0, "totalCost": 450000, "profit": 50000, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 450000, "known": { "sale": 500000, "material": 440000, "laborAndFees": 10000, "unallocated": 0, "totalCost": 450000, "profit": 50000, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 450000 }, "costItems": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金手链", "amount": 440000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "material" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金手链", "amount": 10000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金手链", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金手链", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金手链", "amount": 10000, "payer": "assistant2", "excluded": false, "calculation": null, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金手链", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金手链", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 4, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261118-", "paper_number": "20261118008", "date": "2026-11-18", "created": "2026-11-18T02:01:26.000Z", "customer": "对照驳回客户", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 800, "summaryMg": 800, "pieces": 0, "originalSale": 82000, "sale": 82000, "material": null, "laborAndFees": null, "unallocated": 70000, "totalCost": 70000, "profit": 12000, "ownerCost": 0, "assistantCost": 70000, "assistant2Cost": 0, "known": { "sale": 82000, "material": 0, "laborAndFees": 0, "unallocated": 70000, "totalCost": 70000, "profit": 12000, "ownerCost": 0, "assistantCost": 70000, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金耳钉", "amount": 70000, "payer": "assistant", "excluded": false, "calculation": null, "component": "unallocated" } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 5, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } }, { "id": "", "order_id": "", "kind": "orderAfterSale", "orderAfterSale": { "orderId": "", "date": "2026-11-19", "reason": "客户退回一件", "deductionReason": "客户确认扣费", "refund": { "amount": 90000, "account": "助理2支付宝", "payer": "assistant2", "reference": "" }, "expenses": [], "original": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": { "id": "", "status": "approved", "action": "return", "action_label": "订单售后", "order_revision": 4, "reason": "客户退回一件", "requester_name": "助理2", "created": "2026-11-19T02:01:03.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:01:05.000Z", "note": "实物已收回" }, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 0, "netReceived": 500000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 50000, "knownProfit": 50000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "funds_mode": "team", "credit_card_rate_permille": 6 }, "originalJournal": { "sales": 500000, "goods": 450000, "expense": 0, "profit": 50000 }, "summary": { "refundAmount": 90000, "retainedAmount": 410000, "materialReturnedCost": 88000, "laborRestockedCost": 0, "materialLoss": 352000, "costLoss": 362000, "originalDirectCost": 0, "newExpenses": 0, "directCost": 0, "profit": 48000, "finalProfit": 48000, "profitAdjustment": -2000, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ] }, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ], "order_id": "", "created": "2026-11-19T02:01:05.000Z", "number": "MM20261118-", "paper_number": "20261118007", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "order_date": "2026-11-18", "member": "assistant2" }, "member": "assistant2", "number": "MM20261118-", "paper_number": "20261118007", "date": "2026-11-19", "order_date": "2026-11-18", "created": "2026-11-19T02:01:05.000Z", "customer": "对照售后订单客户", "salesperson": "小昊", "status": "after_sale", "note": "", "project": "订单售后", "types": [ "订单售后" ], "mg": 0, "summaryMg": 0, "pieces": 0, "originalSale": 500000, "sale": -90000, "material": -88000, "laborAndFees": 0, "unallocated": 0, "totalCost": -88000, "profit": -2000, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": -88000, "known": { "sale": -90000, "material": -88000, "laborAndFees": 0, "unallocated": 0, "totalCost": -88000, "profit": -2000, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": -88000 }, "costItems": [ { "kind": "goods", "component": "material", "name": "售后收回金料成本", "source": "商品 1 · 足金手链", "amount": -88000, "payer": "assistant2", "nonCash": true, "materialPoolId": "2026-11-19", "calculation": null } ], "laborAndFeeItems": [], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "按售后发生日调整;回收成本不属于新付款", "balance": 0, "revision": 1, "reviewed_revision": 1 }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119011", "date": "2026-11-19", "created": "2026-11-19T02:01:32.000Z", "recovery_id": "", "recovery_mode": "exchange", "nonCashOffset": 0, "cashPaid": 0, "netSettlement": 422792, "recovery_immutable_reason": "本单关联黄金回收/置换、购料及库存,暂不支持普通订单修改、取消、退款、退货或费用变更,请保留原关联记录", "customer": "对照换货客户", "salesperson": "小昊", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 12000, "summaryMg": 12000, "pieces": 0, "originalSale": 422792, "sale": 422792, "material": 351720, "laborAndFees": 6000, "unallocated": 0, "totalCost": 357720, "profit": 65072, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 357720, "known": { "sale": 422792, "material": 351720, "laborAndFees": 6000, "unallocated": 0, "totalCost": 357720, "profit": 65072, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 357720 }, "costItems": [ { "kind": "goods", "name": "料费成本", "source": "商品 1 · 足金对照新货", "amount": 351720, "payer": "assistant2", "excluded": false, "calculation": { "rate": 90000, "quantity": 3908 }, "component": "material" }, { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 6000, "payer": "assistant2", "excluded": false, "calculation": { "rate": 500, "quantity": 12000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other" } ], "laborAndFeeItems": [ { "kind": "goods", "name": "进货工费", "source": "商品 1 · 足金对照新货", "amount": 6000, "payer": "assistant2", "excluded": false, "calculation": { "rate": 500, "quantity": 12000 }, "component": "labor" }, { "kind": "goods", "name": "配件成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "accessories" }, { "kind": "goods", "name": "其他货品成本", "source": "商品 1 · 足金对照新货", "amount": 0, "payer": "assistant2", "excluded": false, "calculation": null, "component": "other" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": false, "incomplete": false, "costHint": "", "balance": 0, "revision": 5, "reviewed_revision": 0, "printStatus": { "kind": "recovery", "id": "", "printed": true, "revision": 1, "updated": "2026-11-19T02:01:40.000Z", "actor": "助理2" } }, { "id": "", "member": "assistant2", "funds_mode": "team", "number": "MM20261119-", "paper_number": "20261119013", "date": "2026-11-19", "created": "2026-11-19T02:01:48.000Z", "customer": "当天客户(改)", "salesperson": "娜娜", "status": "delivered", "note": "", "types": [ "货盘现货" ], "mg": 2000, "summaryMg": 2000, "pieces": 0, "originalSale": 210000, "sale": 210000, "material": null, "laborAndFees": null, "unallocated": 180000, "totalCost": 180800, "profit": 29200, "ownerCost": 0, "assistantCost": 180800, "assistant2Cost": 0, "known": { "sale": 210000, "material": 0, "laborAndFees": 800, "unallocated": 180000, "totalCost": 180800, "profit": 29200, "ownerCost": 0, "assistantCost": 180800, "assistant2Cost": 0 }, "costItems": [ { "kind": "goods", "name": "货品成本(原单未分项)", "source": "商品 1 · 足金吊坠", "amount": 180000, "payer": "assistant", "excluded": false, "calculation": null, "component": "unallocated" }, { "kind": "paid", "name": "当天快递", "source": "2026-11-19", "amount": 800, "payer": "assistant", "component": "fee" } ], "laborAndFeeItems": [ { "kind": "paid", "name": "当天快递", "source": "2026-11-19", "amount": 800, "payer": "assistant", "component": "fee" } ], "pendingCostItems": [], "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "legacyUnallocated": true, "incomplete": false, "costHint": "原单货品成本未分项,计入未分项成本", "balance": 0, "revision": 7, "reviewed_revision": 0, "printStatus": { "kind": "order", "id": "", "printed": false, "revision": 0, "updated": null, "actor": null } } ], "recoveryCount": 0, "summary": { "orderCount": 6, "completedCount": 5, "draftCount": 0, "confirmedCount": 0, "returnedCount": 1, "cancelledCount": 1, "incompleteCount": 0, "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "unknownCostCount": 0, "unknownProfitCount": 0, "legacyUnallocatedCount": 3, "sale": 1341955, "material": 703720, "laborAndFees": 16800, "unallocated": 433000, "totalCost": 1153520, "profit": 188435, "ownerCost": 0, "assistantCost": 250800, "assistant2Cost": 902720, "mg": 23300, "pieces": 3, "knownCounts": { "sale": 6, "material": 3, "laborAndFees": 3, "unallocated": 6, "totalCost": 6, "profit": 6, "ownerCost": 6, "assistantCost": 6, "assistant2Cost": 6 }, "unknownCounts": { "sale": 0, "material": 3, "laborAndFees": 3, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0 }, "partial": true, "afterSaleCount": 1, "recordCount": 7 }, "peopleCount": null, "priceLockActivity": { "basis": "eventDate", "from": "2026-11-18", "date": "2026-11-20", "customerCash": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 50000, "account": "助理2微信", "number": "SJ20261118-", "customer": "对照锁价客户三", "product": "足金999", "actor": "助理2", "created": "2026-11-18T02:01:55.000Z", "line_index": null, "voided": 0, "void_reason": null, "voided_at": null } ], "orderPayments": [], "materialOutlays": [ { "id": "", "price_lock_id": "", "date": "2026-11-18", "kind": "material", "amount": 258000, "payer": "assistant2", "source": "original", "quantity": 3000, "rate": 86000, "number": "SJ20261118-", "customer": "对照锁价客户三", "product": "足金999", "actor": "助理2", "created": "2026-11-18T02:01:55.000Z", "line_index": 0, "voided": 0, "void_reason": null, "voided_at": null, "component": "material" } ], "directOutlays": [], "deliveryGoodsOutlays": [], "receipts": { "receipt": 50000, "refund": 0, "net": 50000, "channels": [ { "channel": "wechat", "name": "微信", "receipt": 50000, "refund": 0, "net": 50000 }, { "channel": "alipay", "name": "支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "channel": "cash", "name": "现金", "receipt": 0, "refund": 0, "net": 0 } ], "accounts": [ { "account": "助理微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2微信", "receipt": 50000, "refund": 0, "net": 50000 }, { "account": "助理2支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2现金", "receipt": 0, "refund": 0, "net": 0 } ], "paymentCount": 1, "orderCount": 1 }, "payerOutlays": { "owner": { "payer": "owner", "material": 0, "goods": 0, "paidFees": 0, "total": 0 }, "assistant": { "payer": "assistant", "material": 0, "goods": 0, "paidFees": 0, "total": 0 }, "assistant2": { "payer": "assistant2", "material": 258000, "goods": 258000, "paidFees": 0, "total": 258000 } }, "summary": { "receipt": 50000, "refund": 0, "net": 50000, "materialOutlay": 258000, "goodsOutlay": 258000, "feeOutlay": 0, "ownerOutlay": 0, "assistantOutlay": 0, "assistant2Outlay": 258000, "totalOutlay": 258000, "eventCount": 2, "lockCount": 1 } }, "materialPoolActivity": { "basis": "purchaseDate", "from": "2026-11-18", "date": "2026-11-20", "purchases": [ { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 4000, "amount": 370000, "payer": "assistant2", "note": "", "actor": "助理2", "created": "2026-11-19T02:02:20.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:20.000Z" } ], "payerOutlays": { "owner": { "payer": "owner", "material": 0, "goods": 0, "paidFees": 0, "total": 0, "purchaseCount": 0 }, "assistant": { "payer": "assistant", "material": 0, "goods": 0, "paidFees": 0, "total": 0, "purchaseCount": 0 }, "assistant2": { "payer": "assistant2", "material": 370000, "goods": 370000, "paidFees": 0, "total": 370000, "purchaseCount": 1 } }, "summary": { "purchaseCount": 1, "poolCount": 1, "mg": 4000, "materialOutlay": 370000, "purchaseValue": 370000, "ownerOutlay": 0, "assistantOutlay": 0, "assistant2Outlay": 370000, "totalOutlay": 370000, "eventCount": 1 } }, "summaryWithoutCancelled": { "orderCount": 5, "completedCount": 5, "draftCount": 0, "confirmedCount": 0, "returnedCount": 1, "cancelledCount": 0, "incompleteCount": 0, "missingCosts": 0, "pendingCosts": 0, "unknownCosts": 0, "unknownCostCount": 0, "unknownProfitCount": 0, "legacyUnallocatedCount": 3, "sale": 1341955, "material": 703720, "laborAndFees": 16800, "unallocated": 433000, "totalCost": 1153520, "profit": 188435, "ownerCost": 0, "assistantCost": 250800, "assistant2Cost": 902720, "mg": 21800, "pieces": 3, "knownCounts": { "sale": 5, "material": 2, "laborAndFees": 2, "unallocated": 5, "totalCost": 5, "profit": 5, "ownerCost": 5, "assistantCost": 5, "assistant2Cost": 5 }, "unknownCounts": { "sale": 0, "material": 3, "laborAndFees": 3, "unallocated": 0, "totalCost": 0, "profit": 0, "ownerCost": 0, "assistantCost": 0, "assistant2Cost": 0 }, "partial": true, "afterSaleCount": 1, "recordCount": 6 }, "receiptsWithoutCancelled": { "basis": "orderDate", "filterScope": "matchingOrdersWithoutCancelled", "from": "2026-11-18", "date": "2026-11-20", "receipt": 1481955, "refund": 90000, "net": 1391955, "channels": [ { "channel": "wechat", "name": "微信", "receipt": 1182792, "refund": 0, "net": 1182792 }, { "channel": "alipay", "name": "支付宝", "receipt": 299163, "refund": 90000, "net": 209163 }, { "channel": "cash", "name": "现金", "receipt": 0, "refund": 0, "net": 0 } ], "accounts": [ { "account": "助理微信", "receipt": 210000, "refund": 0, "net": 210000 }, { "account": "助理支付宝", "receipt": 82000, "refund": 0, "net": 82000 }, { "account": "助理现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2微信", "receipt": 972792, "refund": 0, "net": 972792 }, { "account": "助理2支付宝", "receipt": 217163, "refund": 90000, "net": 127163 }, { "account": "助理2现金", "receipt": 0, "refund": 0, "net": 0 } ], "paymentCount": 9, "orderCount": 6 }, "receiptsByPaymentDate": { "basis": "paymentDate", "filterScope": "dateRange", "from": "2026-11-18", "date": "2026-11-20", "receipt": 1481955, "refund": 90000, "net": 1391955, "channels": [ { "channel": "wechat", "name": "微信", "receipt": 1182792, "refund": 0, "net": 1182792 }, { "channel": "alipay", "name": "支付宝", "receipt": 299163, "refund": 90000, "net": 209163 }, { "channel": "cash", "name": "现金", "receipt": 0, "refund": 0, "net": 0 } ], "accounts": [ { "account": "助理微信", "receipt": 210000, "refund": 0, "net": 210000 }, { "account": "助理支付宝", "receipt": 82000, "refund": 0, "net": 82000 }, { "account": "助理现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2微信", "receipt": 972792, "refund": 0, "net": 972792 }, { "account": "助理2支付宝", "receipt": 217163, "refund": 90000, "net": 127163 }, { "account": "助理2现金", "receipt": 0, "refund": 0, "net": 0 } ], "paymentCount": 11, "orderCount": 7 }, "receiptsByOrderDate": { "basis": "orderDate", "filterScope": "matchingOrders", "from": "2026-11-18", "date": "2026-11-20", "receipt": 1481955, "refund": 90000, "net": 1391955, "channels": [ { "channel": "wechat", "name": "微信", "receipt": 1182792, "refund": 0, "net": 1182792 }, { "channel": "alipay", "name": "支付宝", "receipt": 299163, "refund": 90000, "net": 209163 }, { "channel": "cash", "name": "现金", "receipt": 0, "refund": 0, "net": 0 } ], "accounts": [ { "account": "助理微信", "receipt": 210000, "refund": 0, "net": 210000 }, { "account": "助理支付宝", "receipt": 82000, "refund": 0, "net": 82000 }, { "account": "助理现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦微信", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦支付宝", "receipt": 0, "refund": 0, "net": 0 }, { "account": "麦麦现金", "receipt": 0, "refund": 0, "net": 0 }, { "account": "助理2微信", "receipt": 972792, "refund": 0, "net": 972792 }, { "account": "助理2支付宝", "receipt": 217163, "refund": 90000, "net": 127163 }, { "account": "助理2现金", "receipt": 0, "refund": 0, "net": 0 } ], "paymentCount": 11, "orderCount": 7 } } }, { "seq": 542, "label": "final-inventory", "date": "2026-11-20", "actor": "owner", "method": "GET", "path": "/api/inventory", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "date": "2026-11-20", "yesterdayDate": "2026-11-19", "pockets": [ "现货", "金料", "找金", "回收旧料", "君宝汇", "pocket_" ], "current": [ { "pocket": "现货", "mg": 65950, "reserved": 0, "available": 65950 }, { "pocket": "金料", "mg": 56000, "reserved": 0, "available": 56000 }, { "pocket": "找金", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "回收旧料", "mg": 20092, "reserved": 0, "available": 20092 }, { "pocket": "君宝汇", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "pocket_", "mg": 10000, "reserved": 0, "available": 10000 } ], "yesterday": { "date": "2026-11-19", "inventory": [ { "pocket": "现货", "mg": 61950, "reserved": 0, "available": 61950 }, { "pocket": "金料", "mg": 56000, "reserved": 0, "available": 56000 }, { "pocket": "找金", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "回收旧料", "mg": 12843, "reserved": 0, "available": 12843 }, { "pocket": "君宝汇", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "臻金汇", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "金金", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "定制工厂", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "pocket_", "mg": 10000, "reserved": 0, "available": 10000 } ], "actor": "麦麦", "created": "2026-11-19T02:04:45.000Z", "updated": "2026-11-19T02:04:46.000Z", "stale": true, "revision": "26e088956f984c72faf016a73484b8daf5648bcb6a79e96465dce260ed8aaace", "source": "manual", "scheduled_for": null }, "todaySnapshot": null, "revision": "05152ca7efd793b29308acab81860887d032a1c8a7a1f82dcb8574764c09fd63", "legacyInventory": [], "canReview": true, "automaticSnapshot": { "enabled": false, "time": "23:50", "timeZone": "Asia/Shanghai", "date": "2026-11-20", "status": "stopped", "lastSuccess": null, "lastError": null, "nextAttemptAt": null } } }, { "seq": 543, "label": "final-daily-funds", "date": "2026-11-20", "actor": "owner", "method": "GET", "path": "/api/daily-funds?date=2026-11-20", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "date": "2026-11-20", "from": "2026-11-20", "team": { "from": "2026-11-20", "to": "2026-11-20", "date": "2026-11-20", "members": [ { "id": "owner", "name": "麦麦" }, { "id": "assistant", "name": "娜娜" }, { "id": "assistant2", "name": "小昊" } ], "balances": [ { "member": "owner", "receipts": 0, "refunds": 0, "outlays": 0, "transferIn": 0, "transferOut": 0, "openingChange": -2331631, "periodChange": 0, "cumulativeChange": -2331631, "cashBalance": 0, "balanceType": "recorded-change", "notice": "仅三人新账已登记的资金增减,不含真实期初余额" }, { "member": "assistant", "receipts": 200000, "refunds": 0, "outlays": 1265000, "transferIn": 0, "transferOut": 0, "openingChange": -165000, "periodChange": -1065000, "cumulativeChange": -1230000, "cashBalance": -1065000, "balanceType": "recorded-change", "notice": "仅三人新账已登记的资金增减,不含真实期初余额" }, { "member": "assistant2", "receipts": 0, "refunds": 0, "outlays": 0, "transferIn": 0, "transferOut": 0, "openingChange": -518765, "periodChange": 0, "cumulativeChange": -518765, "cashBalance": 0, "balanceType": "recorded-change", "notice": "仅三人新账已登记的资金增减,不含真实期初余额" } ], "pairs": [ { "id": "owner:assistant", "members": [ "owner", "assistant" ], "net": -637681, "obligationNet": -657681, "transferred": -20000, "receivedForNet": 288500, "advancedNet": -946181, "offset": 290650, "due": 637681, "fromMember": "assistant", "toMember": "owner", "direction": "transfer", "period": { "obligationNet": 0, "transferred": 0, "receivedForNet": 0, "advancedNet": 0 }, "entries": [] }, { "id": "owner:assistant2", "members": [ "owner", "assistant2" ], "net": 0, "obligationNet": 0, "transferred": 0, "receivedForNet": 0, "advancedNet": 0, "offset": 0, "due": 0, "fromMember": null, "toMember": null, "direction": "none", "period": { "obligationNet": 0, "transferred": 0, "receivedForNet": 0, "advancedNet": 0 }, "entries": [] }, { "id": "assistant:assistant2", "members": [ "assistant", "assistant2" ], "net": 41200, "obligationNet": 41200, "transferred": 0, "receivedForNet": 292000, "advancedNet": -250800, "offset": 250800, "due": 41200, "fromMember": "assistant", "toMember": "assistant2", "direction": "transfer", "period": { "obligationNet": 0, "transferred": 0, "receivedForNet": 0, "advancedNet": 0 }, "entries": [] } ], "entries": [], "transfers": [], "revision": "aee7ca002fd70deaa425634460b6122d541587cffd55ff4dc901adc1e4bf923c", "pending": [], "legacyReadOnly": true, "cutover": "仅已启用的三人新账事件;旧结算不自动迁入", "transfersDeducted": true }, "readOnly": false, "hasRecords": true, "pendingCount": 0, "legacyReadOnly": true, "transfersNotDeducted": false, "reimbursements": [], "approvedReimbursements": 0, "ready": true, "transferAmount": null, "direction": null, "sources": { "revision": "aee7ca002fd70deaa425634460b6122d541587cffd55ff4dc901adc1e4bf923c", "total": 0, "items": [] }, "confirmation": null, "actualOutlay": null, "missingDates": [], "staleDates": [], "days": [] } }, { "seq": 544, "label": "asset", "date": "2026-11-20", "actor": null, "method": "GET", "path": "/", "key": null, "status": 200, "contentType": "text/html; charset=utf-8", "disposition": null, "setCookie": null, "body": { "omitted": true, "bytes": true } }, { "seq": 545, "label": "asset", "date": "2026-11-20", "actor": null, "method": "GET", "path": "/app.js", "key": null, "status": 200, "contentType": "application/javascript; charset=utf-8", "disposition": null, "setCookie": null, "body": { "omitted": true, "bytes": true } }, { "seq": 546, "label": "asset", "date": "2026-11-20", "actor": null, "method": "GET", "path": "/app.css", "key": null, "status": 200, "contentType": "text/css; charset=utf-8", "disposition": null, "setCookie": null, "body": { "omitted": true, "bytes": true } }, { "seq": 547, "label": "asset", "date": "2026-11-20", "actor": null, "method": "GET", "path": "/print.js", "key": null, "status": 200, "contentType": "application/javascript; charset=utf-8", "disposition": null, "setCookie": null, "body": { "omitted": true, "bytes": true } }, { "seq": 548, "label": "asset", "date": "2026-11-20", "actor": null, "method": "GET", "path": "/calculations.js", "key": null, "status": 200, "contentType": "application/javascript; charset=utf-8", "disposition": null, "setCookie": null, "body": { "omitted": true, "bytes": true } }, { "seq": 549, "label": "asset-missing", "date": "2026-11-20", "actor": null, "method": "GET", "path": "/missing.js", "key": null, "status": 404, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "error": "地址不存在" } }, { "seq": 550, "label": "logout-owner", "date": "2026-11-20", "actor": "owner", "method": "POST", "path": "/api/logout", "key": "golden-00211-logout-owner", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": {} }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": "mm_session=; HttpOnly; SameSite=Strict; Path=/; Max-Age=0", "body": { "ok": true } }, { "seq": 551, "label": "logout-assistant", "date": "2026-11-20", "actor": "assistant", "method": "POST", "path": "/api/logout", "key": "golden-00212-logout-assistant", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": {} }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": "mm_session=; HttpOnly; SameSite=Strict; Path=/; Max-Age=0", "body": { "ok": true } }, { "seq": 552, "label": "logout-assistant2", "date": "2026-11-20", "actor": "assistant2", "method": "POST", "path": "/api/logout", "key": "golden-00213-logout-assistant2", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": {} }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": "mm_session=; HttpOnly; SameSite=Strict; Path=/; Max-Age=0", "body": { "ok": true } }, { "seq": 553, "label": "state-after-final-logout", "date": "2026-11-20", "actor": "owner", "method": "GET", "path": "/api/state", "key": null, "status": 401, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "error": "请先登录" } }, { "seq": 554, "note": "section", "name": "dayFourReads" }, { "seq": 555, "note": "clock", "date": "2026-11-21", "hour": 10 }, { "seq": 556, "label": "login-owner-d4", "date": "2026-11-21", "actor": "owner", "method": "POST", "path": "/api/login", "key": "golden-00214-login-owner-d4", "request": { "headers": { "origin": "http://", "xrw": "maimai-ledger", "contentType": "application/json" }, "body": { "name": "麦麦", "password": "golden-owner-pass-2026" } }, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": "mm_session=; HttpOnly; SameSite=Strict; Path=/; Max-Age=28800", "body": { "user": { "id": "", "name": "麦麦", "role": "owner", "member": "owner", "operatorName": "麦麦", "label": "麦麦" } } }, { "seq": 557, "label": "state-d4", "date": "2026-11-21", "actor": "owner", "method": "GET", "path": "/api/state", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "today": "2026-11-21", "mode": "trial", "user": { "id": "", "name": "麦麦", "role": "owner", "member": "owner", "operatorName": "麦麦", "label": "麦麦" }, "members": [ { "member": "owner", "label": "麦麦", "enabled": true }, { "member": "assistant", "label": "娜娜", "enabled": true }, { "member": "assistant2", "label": "小昊", "enabled": true } ], "shopSettings": { "version": 1, "revision": 7, "storeName": "黄金对照珠宝", "receiptSubtitle": "黄金对照销售单", "contact": "联系电话 000-0000", "members": [ { "member": "owner", "label": "麦麦", "loginName": "麦麦", "operatorName": "" }, { "member": "assistant", "label": "娜娜", "loginName": "助理", "operatorName": "" }, { "member": "assistant2", "label": "小昊", "loginName": "助理2", "operatorName": "" } ], "creditCardRatePermille": 6, "profitSharePercent": 30, "profitShareEffectiveMonth": "2000-01", "profitShareHistory": [ { "month": "2000-01", "percent": 30 } ], "costPresets": { "jd": { "amount": "8", "payer": "owner" }, "yt": { "amount": "6", "payer": "order" }, "box": { "amount": "3", "payer": "owner" }, "steel": { "amount": "7", "payer": "owner" }, "silver": { "amount": "18", "payer": "owner" } }, "feeDefaults": { "certificate": "4", "packaging": "3", "shipping": "8", "packagingPayer": "owner" } }, "pockets": [ "现货", "金料", "找金", "回收旧料", "君宝汇", "pocket_" ], "pocketCatalog": [ { "key": "现货", "name": "现货", "active": true, "self": true, "builtin": true, "revision": 1, "created": "2026-11-18T02:00:00.000Z", "updated": "2026-11-18T02:00:00.000Z", "countUnit": null, "countSince": null }, { "key": "金料", "name": "金料", "active": true, "self": true, "builtin": true, "revision": 1, "created": "2026-11-18T02:00:00.000Z", "updated": "2026-11-18T02:00:00.000Z", "countUnit": null, "countSince": null }, { "key": "找金", "name": "找金", "active": true, "self": false, "builtin": true, "revision": 1, "created": "2026-11-18T02:00:00.000Z", "updated": "2026-11-18T02:00:00.000Z", "countUnit": null, "countSince": null }, { "key": "回收旧料", "name": "回收旧料", "active": true, "self": true, "builtin": true, "revision": 1, "created": "2026-11-18T02:00:00.000Z", "updated": "2026-11-18T02:00:00.000Z", "countUnit": null, "countSince": null }, { "key": "君宝汇", "name": "君宝汇", "active": true, "self": false, "builtin": true, "revision": 1, "created": "2026-11-18T02:00:00.000Z", "updated": "2026-11-18T02:00:00.000Z", "countUnit": null, "countSince": null }, { "key": "臻金汇", "name": "臻金汇", "active": false, "self": false, "builtin": true, "revision": 1, "created": "2026-11-18T02:00:00.000Z", "updated": "2026-11-18T02:00:00.000Z", "countUnit": null, "countSince": null }, { "key": "金金", "name": "金金", "active": false, "self": false, "builtin": true, "revision": 1, "created": "2026-11-18T02:00:00.000Z", "updated": "2026-11-18T02:00:00.000Z", "countUnit": null, "countSince": null }, { "key": "定制工厂", "name": "定制工厂", "active": false, "self": false, "builtin": true, "revision": 1, "created": "2026-11-18T02:00:00.000Z", "updated": "2026-11-18T02:00:00.000Z", "countUnit": null, "countSince": null }, { "key": "pocket_", "name": "展柜A(主)", "active": true, "self": true, "builtin": false, "revision": 2, "created": "2026-11-18T02:00:32.000Z", "updated": "2026-11-18T02:00:34.000Z", "countUnit": null, "countSince": null } ], "accounts": [ "助理微信", "助理支付宝", "助理现金", "麦麦微信", "麦麦支付宝", "麦麦现金", "麦麦信用卡", "助理2微信", "助理2支付宝", "助理2现金" ], "inventory": [ { "pocket": "现货", "mg": 65950, "reserved": 0, "available": 65950 }, { "pocket": "金料", "mg": 56000, "reserved": 0, "available": 56000 }, { "pocket": "找金", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "回收旧料", "mg": 20092, "reserved": 0, "available": 20092 }, { "pocket": "君宝汇", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "臻金汇", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "金金", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "定制工厂", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "pocket_", "mg": 10000, "reserved": 0, "available": 10000 } ], "orders": [ { "id": "", "number": "MM20261120-", "date": "2026-11-20", "customer": "留档客户", "salesperson": "娜娜", "note": "", "paper_number": "20261120017", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 2000, "pocket": "现货", "payer": "assistant", "cost": 185000, "costParts": { "material": 180000, "labor": 5000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 200000, "baseSale": 200000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 200000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-20T02:00:29.000Z", "delivered_date": "2026-11-20", "returned_date": null, "paper_date": "2026-11-20", "payment_account": "助理微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "留档备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": null, "ownershipPending": null, "ownershipApproved": null, "corrections": [], "received": 200000, "refunded": 0, "netReceived": 200000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 185000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 185000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 15000, "profit": 15000, "knownProfit": 15000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "sync": { "revision": 4, "done_revision": 0, "error": null, "updated": "2026-11-20T02:00:29.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 }, { "id": "", "number": "MM20261119-", "date": "2026-11-19", "customer": "安全测试", "salesperson": "娜娜", "note": "", "paper_number": "20261119016", "status": "delivered", "lines": [ { "name": "足金转运珠", "code": "", "unit": "g", "quantity": 500, "pocket": "现货", "payer": "assistant", "cost": 42000, "sale": 50000, "baseSale": 50000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 50000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-19T02:02:51.000Z", "delivered_date": "2026-11-19", "returned_date": null, "paper_date": "2026-11-19", "payment_account": "助理微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "安全测试备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": null, "ownershipPending": null, "ownershipApproved": null, "corrections": [], "received": 50000, "refunded": 0, "netReceived": 50000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 42000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 42000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 8000, "profit": 8000, "knownProfit": 8000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "sync": { "revision": 4, "done_revision": 0, "error": null, "updated": "2026-11-19T02:02:51.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 }, { "id": "", "number": "MM20261119-", "date": "2026-11-19", "customer": "滚动料池客户", "salesperson": "娜娜", "note": "", "paper_number": "20261119015", "status": "delivered", "lines": [ { "name": "足金999", "code": "", "unit": "g", "quantity": 2000, "pocket": "", "payer": "assistant", "cost": 181898, "costParts": { "material": 181898, "labor": 0, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "pool", "poolId": "2026-11-19" }, "costLabor": { "mode": "total" }, "sale": 220000, "baseSale": 220000, "charges": [], "pricingMode": "manual", "priceNote": "", "materialPool": { "poolId": "2026-11-19", "date": "2026-11-19", "status": "allocated", "amount": 181898, "quantity": 2000, "averageRate": 90949, "allocations": [ { "payer": "assistant", "amount": 181898 } ], "revision": "278a6986270886d53a62e969a467ca9cc287fb29d2d3db30e437b74501f04dfc", "rolling": true } } ], "discount": 0, "total": 220000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-19T02:02:40.000Z", "delivered_date": "2026-11-19", "returned_date": null, "paper_date": "2026-11-19", "payment_account": "助理微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "滚动料池备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": null, "ownershipPending": null, "ownershipApproved": null, "corrections": [], "received": 220000, "refunded": 0, "netReceived": 220000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 181898, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 181898, "pendingFees": [], "draftFees": 0, "estimatedProfit": 38102, "profit": 38102, "knownProfit": 38102, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "sync": { "revision": 4, "done_revision": 0, "error": null, "updated": "2026-11-19T02:02:40.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 }, { "id": "", "number": "MM20261119-", "date": "2026-11-19", "customer": "当天取消客户", "salesperson": "娜娜", "note": "", "paper_number": "20261119014", "status": "cancelled", "lines": [ { "name": "足金吊坠", "code": "", "unit": "g", "quantity": 2000, "pocket": "现货", "payer": "assistant", "cost": 180000, "sale": 210000, "baseSale": 210000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 210000, "revision": 5, "reviewed_revision": 0, "created": "2026-11-19T02:01:57.000Z", "delivered_date": "2026-11-19", "returned_date": null, "paper_date": "2026-11-19", "payment_account": "助理微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "当天单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant", "cancellationPending": null, "cancellationApproved": { "id": "", "status": "approved", "order_revision": 4, "reason": "当天录错", "requester_name": "助理", "created": "2026-11-19T02:01:59.000Z", "reviewer_name": null, "reviewed": null, "note": "", "direct": true, "operator_name": "助理", "executedAt": "2026-11-19T02:01:59.000Z" }, "changePending": null, "changeApproved": null, "ownershipPending": null, "ownershipApproved": null, "corrections": [ { "target": "", "type": "payment", "reason": "当天录错", "actor": "助理", "created": "2026-11-19T02:01:59.000Z" } ], "received": 0, "refunded": 0, "netReceived": 0, "balance": 0, "rounding_adjustment": 0, "goodsCost": 180000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 180000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 30000, "profit": 0, "knownProfit": 0, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "sync": { "revision": 5, "done_revision": 0, "error": null, "updated": "2026-11-19T02:01:59.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 }, { "id": "", "number": "MM20261119-", "date": "2026-11-19", "customer": "当天客户(改)", "salesperson": "娜娜", "note": "", "paper_number": "20261119013", "status": "delivered", "lines": [ { "name": "足金吊坠", "code": "", "unit": "g", "quantity": 2000, "pocket": "现货", "payer": "assistant", "cost": 180000, "sale": 210000, "baseSale": 210000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 210000, "revision": 7, "reviewed_revision": 0, "created": "2026-11-19T02:01:48.000Z", "delivered_date": "2026-11-19", "returned_date": null, "paper_date": "2026-11-19", "payment_account": "助理微信", "fee_items": [], "fees_date": "2026-11-19", "rounding_mode": "cent", "internal_note": "当天单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": null, "ownershipPending": null, "ownershipApproved": { "id": "", "status": "approved", "order_revision": 6, "before": { "member": "assistant", "label": "娜娜" }, "after": { "member": "assistant2", "label": "小昊" }, "reason": "实际由小昊接待", "requester_name": "助理", "created": "2026-11-19T02:01:54.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:01:56.000Z", "note": "核实", "direct": false }, "corrections": [], "received": 210000, "refunded": 0, "netReceived": 210000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 180000, "directCost": 800, "materialCostPending": false, "knownGoodsCost": 180000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 29200, "profit": 29200, "knownProfit": 29200, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "sync": { "revision": 7, "done_revision": 0, "error": null, "updated": "2026-11-19T02:01:56.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 }, { "id": "", "number": "MM20261119-", "date": "2026-11-19", "customer": "对照换货客户二", "salesperson": "娜娜", "note": "", "paper_number": "20261119012", "status": "cancelled", "lines": [ { "name": "足金对照新货", "code": "", "unit": "g", "quantity": 6000, "pocket": "现货", "payer": "assistant", "costPayers": { "material": "assistant", "labor": "assistant" }, "cost": 106410, "costParts": { "material": 103410, "labor": 3000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total", "rate": 90000, "consumptionMg": 1149 }, "costLabor": { "mode": "gram", "rate": 500 }, "sale": 131751, "baseSale": 131751, "charges": [], "pricingMode": "manual", "priceNote": "补金 1.149克 × 1000.00元;新货工费 120.00元;折旧 48.51元", "recoveryMaterialMg": 1149, "recovery_id": "" } ], "discount": 1000, "total": 130800, "revision": 5, "reviewed_revision": 0, "created": "2026-11-19T02:01:33.000Z", "delivered_date": "2026-11-19", "returned_date": null, "paper_date": "2026-11-19", "payment_account": "助理微信", "fee_items": [], "fees_date": "", "rounding_mode": "yuan", "internal_note": "", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": null, "ownershipPending": null, "ownershipApproved": null, "corrections": [ { "target": "", "type": "payment", "reason": "录错", "actor": "麦麦", "created": "2026-11-20T02:00:15.000Z" } ], "received": 0, "refunded": 0, "netReceived": 0, "balance": 130800, "recovery_id": "", "recovery_mode": "exchange", "recovery_immutable_reason": "本单关联黄金回收/置换、购料及库存,暂不支持普通订单修改、取消、退款、退货或费用变更,请保留原关联记录", "nonCashOffset": 0, "cashPaid": 0, "netSettlement": 0, "rounding_adjustment": 49, "goodsCost": 106410, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 106410, "pendingFees": [], "draftFees": 0, "estimatedProfit": 24390, "profit": 0, "knownProfit": 0, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "sync": { "revision": 5, "done_revision": 0, "error": null, "updated": "2026-11-20T02:00:15.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 }, { "id": "", "number": "MM20261119-", "date": "2026-11-19", "customer": "对照换货客户", "salesperson": "小昊", "note": "", "paper_number": "20261119011", "status": "delivered", "lines": [ { "name": "足金对照新货", "code": "", "unit": "g", "quantity": 12000, "pocket": "现货", "payer": "assistant2", "costPayers": { "material": "assistant2", "labor": "assistant2" }, "cost": 357720, "costParts": { "material": 351720, "labor": 6000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total", "rate": 90000, "consumptionMg": 3908 }, "costLabor": { "mode": "gram", "rate": 500 }, "sale": 422792, "baseSale": 422792, "charges": [], "pricingMode": "manual", "priceNote": "补金 3.908克 × 1000.00元;新货工费 240.00元;折旧 79.92元", "recoveryMaterialMg": 3908, "recovery_id": "" } ], "discount": 0, "total": 422792, "revision": 5, "reviewed_revision": 0, "created": "2026-11-19T02:01:32.000Z", "delivered_date": "2026-11-19", "returned_date": null, "paper_date": "2026-11-19", "payment_account": "助理2微信", "fee_items": [], "fees_date": "2026-11-19", "rounding_mode": "cent", "internal_note": "", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": null, "ownershipPending": null, "ownershipApproved": null, "corrections": [ { "target": "", "type": "payment", "reason": "跨天更正旧料克重", "actor": "麦麦", "created": "2026-11-20T02:00:10.000Z" } ], "received": 422792, "refunded": 0, "netReceived": 422792, "balance": 0, "recovery_id": "", "recovery_mode": "exchange", "recovery_immutable_reason": "本单关联黄金回收/置换、购料及库存,暂不支持普通订单修改、取消、退款、退货或费用变更,请保留原关联记录", "nonCashOffset": 0, "cashPaid": 0, "netSettlement": 422792, "rounding_adjustment": 0, "goodsCost": 357720, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 357720, "pendingFees": [], "draftFees": 0, "estimatedProfit": 65072, "profit": 65072, "knownProfit": 65072, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "sync": { "revision": 5, "done_revision": 0, "error": null, "updated": "2026-11-20T02:00:10.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 }, { "id": "", "number": "MM20261119-", "date": "2026-11-19", "customer": "对照锁价客户(改)", "salesperson": "娜娜", "note": "锁价备注;锁价单 SJ20261118-;按原锁定金价 900.00元/克结算", "paper_number": "20261119010", "status": "delivered", "lines": [ { "name": "足金999", "code": "", "unit": "g", "quantity": 3100, "pocket": "现货", "payer": "assistant", "costPayers": { "material": "owner", "labor": "assistant" }, "cost": 267000, "costParts": { "material": 264000, "labor": 3000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 286200, "baseSale": 285200, "charges": [ { "name": "服务", "amount": 1000 } ], "pricingMode": "auto", "goldPrice": 90000, "laborRate": 2000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 900.00元/克 + 工费 20.00元/克", "lineId": "", "materialAllocations": [ { "source": "original", "quantity": 3000, "rate": 85000, "amount": 255000, "payer": "owner" }, { "source": "extra", "quantity": 100, "rate": 90000, "amount": 9000, "payer": "assistant" } ] } ], "discount": 0, "total": 286200, "revision": 3, "reviewed_revision": 0, "created": "2026-11-19T02:01:28.000Z", "delivered_date": "2026-11-19", "returned_date": null, "paper_date": "2026-11-19", "payment_account": "助理支付宝", "fee_items": [ { "key": "shipping", "amount": 600, "payer": "owner", "note": "实际快递", "status": "recorded", "edited": false } ], "fees_date": "2026-11-19", "rounding_mode": "yuan", "internal_note": "", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": null, "ownershipPending": null, "ownershipApproved": null, "price_lock_id": "", "corrections": [], "received": 286200, "refunded": 0, "netReceived": 286200, "balance": 0, "rounding_adjustment": 0, "goodsCost": 267000, "directCost": 600, "materialCostPending": false, "knownGoodsCost": 267000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 18600, "profit": 18600, "knownProfit": 18600, "ownerCost": 255600, "assistantInventoryCredit": 0, "assistantInventoryCreditSources": [], "assistantInventoryCreditExplanation": "", "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "sync": { "revision": 3, "done_revision": 0, "error": null, "updated": "2026-11-19T02:01:28.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 }, { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照分步客户", "salesperson": "麦麦", "note": "", "paper_number": "20261118009", "status": "delivered", "lines": [ { "name": "足金项链", "code": "", "unit": "g", "quantity": 4000, "pocket": "现货", "payer": "owner", "cost": 350000, "sale": 400000, "baseSale": 400000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 400000, "revision": 5, "reviewed_revision": 0, "created": "2026-11-18T02:01:27.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "麦麦支付宝", "fee_items": [ { "key": "card_fee:", "system": "credit_card", "source_kind": "payment", "source_id": "", "date": "2026-11-18", "amount": 1800, "payer": "owner", "note": "信用卡手续费(6‰)", "rate_permille": 6, "status": "recorded", "expense_id": "" } ], "fees_date": "", "rounding_mode": "cent", "internal_note": "分步单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "owner", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": null, "ownershipPending": null, "ownershipApproved": null, "corrections": [], "received": 400000, "refunded": 0, "netReceived": 400000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 350000, "directCost": 1800, "materialCostPending": false, "knownGoodsCost": 350000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 48200, "profit": 48200, "knownProfit": 48200, "ownerCost": 351800, "ownerDirect": 400000, "ownerCredit": 400000, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "sync": { "revision": 5, "done_revision": 0, "error": null, "updated": "2026-11-18T02:01:34.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 }, { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照驳回客户", "salesperson": "娜娜", "note": "", "paper_number": "20261118008", "status": "delivered", "lines": [ { "name": "足金耳钉", "code": "", "unit": "g", "quantity": 800, "pocket": "现货", "payer": "assistant", "cost": 70000, "sale": 82000, "baseSale": 82000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 82000, "revision": 5, "reviewed_revision": 0, "created": "2026-11-18T02:01:26.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理支付宝", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "驳回单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": null, "ownershipPending": null, "ownershipApproved": { "id": "", "status": "approved", "order_revision": 4, "before": { "member": "assistant", "label": "娜娜" }, "after": { "member": "assistant2", "label": "小昊" }, "reason": "核实业务归属", "requester_name": "麦麦", "created": "2026-11-19T02:00:49.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:00:49.000Z", "note": "", "direct": true }, "corrections": [], "received": 82000, "refunded": 0, "netReceived": 82000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 70000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 70000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 12000, "profit": 12000, "knownProfit": 12000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "sync": { "revision": 5, "done_revision": 0, "error": null, "updated": "2026-11-19T02:00:49.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 }, { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "returned", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 5, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": "2026-11-19", "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": { "id": "", "status": "approved", "action": "return", "action_label": "订单售后", "order_revision": 4, "reason": "客户退回一件", "requester_name": "助理2", "created": "2026-11-19T02:01:03.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:01:05.000Z", "note": "实物已收回" }, "ownershipPending": null, "ownershipApproved": null, "corrections": [], "received": 500000, "refunded": 90000, "netReceived": 410000, "balance": 0, "orderAfterSale": { "orderId": "", "date": "2026-11-19", "reason": "客户退回一件", "deductionReason": "客户确认扣费", "refund": { "amount": 90000, "account": "助理2支付宝", "payer": "assistant2", "reference": "" }, "expenses": [], "original": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": { "id": "", "status": "approved", "action": "return", "action_label": "订单售后", "order_revision": 4, "reason": "客户退回一件", "requester_name": "助理2", "created": "2026-11-19T02:01:03.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:01:05.000Z", "note": "实物已收回" }, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 0, "netReceived": 500000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 50000, "knownProfit": 50000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "funds_mode": "team", "credit_card_rate_permille": 6 }, "originalJournal": { "sales": 500000, "goods": 450000, "expense": 0, "profit": 50000 }, "summary": { "refundAmount": 90000, "retainedAmount": 410000, "materialReturnedCost": 88000, "laborRestockedCost": 0, "materialLoss": 352000, "costLoss": 362000, "originalDirectCost": 0, "newExpenses": 0, "directCost": 0, "profit": 48000, "finalProfit": 48000, "profitAdjustment": -2000, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ] }, "lines": [ { "lineIndex": 0, "name": "足金手链", "code": "", "quantity": 1000, "originalQuantity": 5000, "pocket": "金料", "disposition": "scrap", "stockCount": null, "originalMaterialCost": 440000, "materialReturnedCost": 88000, "materialLoss": 352000, "laborRestockedCost": 0, "laborPayer": "assistant2", "costLoss": 362000, "materialAllocations": [ { "payer": "assistant2", "amount": 88000 } ], "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "restockedLaborAllocations": [] } ], "originalOrder": { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照售后订单客户", "salesperson": "小昊", "note": "", "paper_number": "20261118007", "status": "delivered", "lines": [ { "name": "足金手链", "code": "", "unit": "g", "quantity": 5000, "pocket": "现货", "payer": "assistant2", "cost": 450000, "costParts": { "material": 440000, "labor": 10000, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "total" }, "costLabor": { "mode": "total" }, "sale": 500000, "baseSale": 500000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 500000, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:25.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2微信", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "售后单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": { "id": "", "status": "approved", "action": "return", "action_label": "订单售后", "order_revision": 4, "reason": "客户退回一件", "requester_name": "助理2", "created": "2026-11-19T02:01:03.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:01:05.000Z", "note": "实物已收回" }, "ownershipPending": null, "ownershipApproved": null, "payments": [ { "id": "", "order_id": "", "date": "2026-11-18", "kind": "receipt", "amount": 500000, "account": "助理2微信", "reference": "开单时已全额收款", "actor": "助理2", "created": "2026-11-18T02:01:25.000Z" } ], "expenses": [], "settlements": [], "corrections": [], "received": 500000, "refunded": 0, "netReceived": 500000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 50000, "knownProfit": 50000, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "funds_mode": "team", "credit_card_rate_permille": 6 } }, "rounding_adjustment": 0, "goodsCost": 450000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 450000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 50000, "profit": 48000, "knownProfit": 48000, "ownerCost": 0, "assistantInventoryCredit": 0, "assistantInventoryCreditSources": [], "assistantInventoryCreditExplanation": "", "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "sync": { "revision": 5, "done_revision": 0, "error": null, "updated": "2026-11-19T02:01:05.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 }, { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照取消客户", "salesperson": "小昊", "note": "", "paper_number": "20261118006", "status": "cancelled", "lines": [ { "name": "足金戒指", "code": "", "unit": "g", "quantity": 1500, "pocket": "现货", "payer": "assistant2", "cost": 130000, "sale": 150000, "baseSale": 150000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 150000, "revision": 5, "reviewed_revision": 0, "created": "2026-11-18T02:01:24.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2现金", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "取消单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": { "id": "", "status": "approved", "order_revision": 4, "reason": "重复录入", "requester_name": "助理2", "created": "2026-11-19T02:00:41.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:00:45.000Z", "note": "核对原单后确认" }, "changePending": null, "changeApproved": null, "ownershipPending": null, "ownershipApproved": null, "corrections": [ { "target": "", "type": "payment", "reason": "重复录入", "actor": "麦麦", "created": "2026-11-19T02:00:45.000Z" } ], "received": 0, "refunded": 0, "netReceived": 0, "balance": 0, "rounding_adjustment": 0, "goodsCost": 130000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 130000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 20000, "profit": 0, "knownProfit": 0, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "sync": { "revision": 5, "done_revision": 0, "error": null, "updated": "2026-11-19T02:00:45.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 }, { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照草稿客户", "salesperson": "麦麦", "note": "", "paper_number": "20261118005", "status": "delivered", "lines": [ { "name": "足金手镯", "code": "", "unit": "g", "quantity": 10000, "pocket": "pocket_", "payer": "owner", "cost": 900000, "sale": 980000, "baseSale": 980000, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 0, "total": 980000, "revision": 5, "reviewed_revision": 0, "created": "2026-11-18T02:01:21.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "麦麦现金", "fee_items": [], "fees_date": "", "rounding_mode": "yuan", "internal_note": "草稿单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "owner", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": null, "ownershipPending": null, "ownershipApproved": null, "corrections": [], "received": 980000, "refunded": 0, "netReceived": 980000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 900000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 900000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 80000, "profit": 80000, "knownProfit": 80000, "ownerCost": 900000, "ownerDirect": 980000, "ownerCredit": 980000, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "sync": { "revision": 5, "done_revision": 0, "error": null, "updated": "2026-11-18T02:01:23.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 }, { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照客户丁", "salesperson": "娜娜", "note": "", "paper_number": "20261118004", "status": "delivered", "lines": [ { "name": "足金999", "code": "", "unit": "g", "quantity": 3000, "pocket": "", "payer": "assistant", "cost": 271935, "costParts": { "material": 271935, "labor": 0, "accessories": 0, "other": 0 }, "costMaterial": { "mode": "pool", "poolId": "2026-11-18" }, "costLabor": { "mode": "total" }, "sale": 330000, "baseSale": 330000, "charges": [], "pricingMode": "manual", "priceNote": "", "materialPool": { "poolId": "2026-11-18", "date": "2026-11-18", "status": "allocated", "amount": 271935, "quantity": 3000, "averageRate": 90645, "allocations": [ { "payer": "assistant", "amount": 271935 } ], "revision": "2823f40ff78424f5423f0dbdf991ea5fcc83b0144648e9d2399869970c27af75" } } ], "discount": 0, "total": 330000, "revision": 6, "reviewed_revision": 0, "created": "2026-11-18T02:01:20.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理现金", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "料池单备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": { "id": "", "status": "approved", "action": "expense", "action_label": "费用补记", "order_revision": 4, "reason": "补记快递", "requester_name": "助理", "created": "2026-11-19T02:00:36.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:00:37.000Z", "note": "核实" }, "ownershipPending": null, "ownershipApproved": null, "corrections": [], "received": 330000, "refunded": 0, "netReceived": 330000, "balance": 0, "rounding_adjustment": 0, "goodsCost": 271935, "directCost": 1000, "materialCostPending": false, "knownGoodsCost": 271935, "pendingFees": [], "draftFees": 0, "estimatedProfit": 57065, "profit": 57065, "knownProfit": 57065, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "sync": { "revision": 6, "done_revision": 0, "error": null, "updated": "2026-11-19T02:02:27.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 }, { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照客户丙", "salesperson": "麦麦", "note": "老板改备注", "paper_number": "20261118003", "status": "delivered", "lines": [ { "name": "金镶玉吊坠", "code": "", "unit": "件", "quantity": 1, "pocket": "", "payer": "owner", "cost": 150000, "sale": 288840, "baseSale": 288840, "charges": [], "pricingMode": "manual", "priceNote": "一口价" } ], "discount": 300, "total": 288500, "revision": 5, "reviewed_revision": 0, "created": "2026-11-18T02:01:19.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "麦麦信用卡", "fee_items": [ { "key": "card_fee:", "system": "credit_card", "source_kind": "payment", "source_id": "", "date": "2026-11-18", "amount": 1731, "payer": "owner", "note": "信用卡手续费(6‰)", "rate_permille": 6, "status": "recorded", "expense_id": "" } ], "fees_date": "2026-11-18", "rounding_mode": "yuan", "internal_note": "一口价备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": null, "ownershipPending": null, "ownershipApproved": null, "corrections": [], "received": 288500, "refunded": 0, "netReceived": 288500, "balance": 0, "rounding_adjustment": -40, "goodsCost": 150000, "directCost": 1731, "materialCostPending": false, "knownGoodsCost": 150000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 136769, "profit": 136769, "knownProfit": 136769, "ownerCost": 151731, "ownerDirect": 288500, "ownerCredit": 288500, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "sync": { "revision": 5, "done_revision": 0, "error": null, "updated": "2026-11-19T02:00:39.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 }, { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照客户乙", "salesperson": "小昊", "note": "", "paper_number": "20261118002", "status": "delivered", "lines": [ { "name": "足金999", "code": "", "unit": "g", "quantity": 2000, "pocket": "现货", "payer": "assistant2", "cost": 180000, "sale": 208710, "baseSale": 208710, "charges": [], "pricingMode": "auto", "goldPrice": 95555, "laborRate": 8800, "laborMode": "piece", "pieces": 2, "priceNote": "金价 955.55元/克 + 工费 88.00元/件 × 2件" }, { "name": "纯银925", "code": "", "unit": "件", "quantity": 3, "pocket": "", "payer": "assistant2", "cost": 3000, "sale": 9990, "baseSale": 9990, "charges": [], "pricingMode": "manual", "priceNote": "" } ], "discount": 1537, "total": 217163, "revision": 4, "reviewed_revision": 0, "created": "2026-11-18T02:01:18.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理2支付宝", "fee_items": [], "fees_date": "", "rounding_mode": "cent", "internal_note": "按件内部备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant2", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": null, "ownershipPending": null, "ownershipApproved": null, "corrections": [], "received": 217163, "refunded": 0, "netReceived": 217163, "balance": 0, "rounding_adjustment": 0, "goodsCost": 183000, "directCost": 0, "materialCostPending": false, "knownGoodsCost": 183000, "pendingFees": [], "draftFees": 0, "estimatedProfit": 34163, "profit": 34163, "knownProfit": 34163, "ownerCost": 0, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "sync": { "revision": 4, "done_revision": 0, "error": null, "updated": "2026-11-18T02:01:18.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 }, { "id": "", "number": "MM20261118-", "date": "2026-11-18", "customer": "对照客户甲(改)", "salesperson": "娜娜", "note": "客户单备注", "paper_number": "20261118001", "status": "delivered", "lines": [ { "name": "足金999", "code": "", "unit": "g", "quantity": 3250, "pocket": "现货", "payer": "assistant", "costPayers": { "material": "owner", "labor": "assistant" }, "cost": 290200, "costParts": { "material": 286000, "labor": 4000, "accessories": 200, "other": 0 }, "costMaterial": { "mode": "gram", "rate": 88000 }, "costLabor": { "mode": "total" }, "sale": 321050, "baseSale": 318500, "charges": [ { "name": "刻字", "amount": 2000 }, { "name": "包装", "amount": 550 } ], "pricingMode": "auto", "goldPrice": 95000, "laborRate": 3000, "laborMode": "gram", "pieces": 1, "priceNote": "金价 950.00元/克 + 工费 30.00元/克" } ], "discount": 0, "total": 321100, "revision": 5, "reviewed_revision": 0, "created": "2026-11-18T02:01:17.000Z", "delivered_date": "2026-11-18", "returned_date": null, "paper_date": "2026-11-18", "payment_account": "助理微信", "fee_items": [ { "key": "shipping", "amount": 1200, "payer": "assistant", "note": "快递", "status": "recorded", "edited": true, "date": "2026-11-18", "expense_id": "" } ], "fees_date": "2026-11-18", "rounding_mode": "yuan", "internal_note": "#复购 内部备注", "fee_cost_mode": "legacy", "customer_type": "unknown", "member": "assistant", "cancellationPending": null, "cancellationApproved": null, "changePending": null, "changeApproved": { "id": "", "status": "approved", "action": "edit", "action_label": "修改订单", "order_revision": 4, "reason": "跨天修改客户名", "requester_name": "助理", "created": "2026-11-19T02:00:25.000Z", "reviewer_name": "麦麦", "reviewed": "2026-11-19T02:00:31.000Z", "note": "凭据已核对" }, "ownershipPending": null, "ownershipApproved": null, "corrections": [], "received": 321100, "refunded": 0, "netReceived": 321100, "balance": 0, "rounding_adjustment": 50, "goodsCost": 290200, "directCost": 1200, "materialCostPending": false, "knownGoodsCost": 290200, "pendingFees": [], "draftFees": 0, "estimatedProfit": 29700, "profit": 29700, "knownProfit": 29700, "ownerCost": 286000, "ownerDirect": 0, "ownerCredit": 0, "costTransferred": 0, "profitTransferred": 0, "costDue": 0, "profitDue": 0, "settlementDue": 0, "knownSettlementDue": 0, "sync": { "revision": 5, "done_revision": 0, "error": null, "updated": "2026-11-19T02:00:31.000Z" }, "funds_mode": "team", "credit_card_rate_permille": 6 } ], "priceLockCounts": { "pending": 2, "delivered": 1, "cancelled": 1 }, "materialPoolSummary": { "totalMg": 36000, "totalAmount": 3274167, "usedMg": 0, "remainingMg": 36000, "remainingCost": 3274167, "shortageMg": 0, "pendingCount": 0, "purchaseCount": 0 }, "materialPoolSettlement": { "legacyReadOnly": true, "settlementDue": 0, "knownSettlementDue": 0, "pendingCount": 0, "pools": [] }, "materialPoolAllocation": { "version": 1, "targetVersion": 2, "migrationRequired": true, "usageCount": 2, "activeUsageCount": 2 }, "sync": { "enabled": false, "busy": false, "error": null, "pending": 18, "failed": 0 }, "printing": { "store": "黄金对照珠宝", "subtitle": "黄金对照销售单", "contact": "联系电话 000-0000", "width": 241, "height": 140, "offsetX": 2, "offsetY": 3, "rows": 3, "contentTop": 12, "rowHeight": 10 }, "backup": { "last": { "name": "", "time": "2026-11-19T02:04:48.000Z" }, "error": null }, "movements": [ { "id": "", "group_id": "", "order_id": null, "date": "2026-11-20", "pocket": "回收旧料", "mg": 2000, "kind": "recovery", "note": "HS202611200005", "purchase_cost": 180000, "actor": "助理", "created": "2026-11-20T02:00:30.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-20", "pocket": "现货", "mg": -2000, "kind": "sale", "note": "MM20261120-", "purchase_cost": null, "actor": "助理", "created": "2026-11-20T02:00:29.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": null, "date": "2026-11-20", "pocket": "回收旧料", "mg": -3000, "kind": "recovery_change_reverse", "note": "回收更正:HS202611200004;录错", "purchase_cost": null, "actor": "麦麦", "created": "2026-11-20T02:00:27.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": null, "date": "2026-11-20", "pocket": "回收旧料", "mg": 10000, "kind": "recovery_change_old", "note": "回收更正:HS202611200003;当天更正", "purchase_cost": null, "actor": "助理", "created": "2026-11-20T02:00:25.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": null, "date": "2026-11-20", "pocket": "回收旧料", "mg": -10000, "kind": "recovery_change_reverse", "note": "回收更正:HS202611200003;当天更正", "purchase_cost": null, "actor": "助理", "created": "2026-11-20T02:00:25.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": null, "date": "2026-11-20", "pocket": "回收旧料", "mg": 3000, "kind": "recovery", "note": "HS202611200004", "purchase_cost": 270000, "actor": "麦麦", "created": "2026-11-20T02:00:21.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": null, "date": "2026-11-20", "pocket": "回收旧料", "mg": 10000, "kind": "recovery", "note": "HS202611200003", "purchase_cost": 900000, "actor": "助理", "created": "2026-11-20T02:00:20.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-19", "pocket": "现货", "mg": 6000, "kind": "recovery_change_reverse", "note": "回收更正:HS202611190002;录错", "purchase_cost": null, "actor": "麦麦", "created": "2026-11-20T02:00:15.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-19", "pocket": "回收旧料", "mg": -4851, "kind": "recovery_change_reverse", "note": "回收更正:HS202611190002;录错", "purchase_cost": null, "actor": "麦麦", "created": "2026-11-20T02:00:15.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-19", "pocket": "现货", "mg": -12000, "kind": "recovery_change_sale", "note": "回收更正:HS202611190001;跨天更正旧料克重", "purchase_cost": null, "actor": "麦麦", "created": "2026-11-20T02:00:10.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-19", "pocket": "回收旧料", "mg": 8092, "kind": "recovery_change_old", "note": "回收更正:HS202611190001;跨天更正旧料克重", "purchase_cost": null, "actor": "麦麦", "created": "2026-11-20T02:00:10.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-19", "pocket": "现货", "mg": 12000, "kind": "recovery_change_reverse", "note": "回收更正:HS202611190001;跨天更正旧料克重", "purchase_cost": null, "actor": "麦麦", "created": "2026-11-20T02:00:10.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-19", "pocket": "回收旧料", "mg": -7992, "kind": "recovery_change_reverse", "note": "回收更正:HS202611190001;跨天更正旧料克重", "purchase_cost": null, "actor": "麦麦", "created": "2026-11-20T02:00:10.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-19", "pocket": "现货", "mg": -500, "kind": "sale", "note": "MM20261119-", "purchase_cost": null, "actor": "助理", "created": "2026-11-19T02:02:51.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-19", "pocket": "现货", "mg": 2000, "kind": "order_cancel_reverse", "note": "MM20261119-;当天直接作废:当天录错", "purchase_cost": null, "actor": "助理", "created": "2026-11-19T02:01:59.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-19", "pocket": "现货", "mg": -2000, "kind": "sale", "note": "MM20261119-", "purchase_cost": null, "actor": "助理", "created": "2026-11-19T02:01:57.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-19", "pocket": "现货", "mg": -2000, "kind": "sale", "note": "MM20261119-", "purchase_cost": null, "actor": "助理", "created": "2026-11-19T02:01:48.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-19", "pocket": "现货", "mg": -6000, "kind": "sale", "note": "MM20261119-", "purchase_cost": null, "actor": "助理", "created": "2026-11-19T02:01:33.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-19", "pocket": "回收旧料", "mg": 4851, "kind": "recovery", "note": "HS202611190002", "purchase_cost": null, "actor": "助理", "created": "2026-11-19T02:01:33.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-19", "pocket": "现货", "mg": -12000, "kind": "sale", "note": "MM20261119-", "purchase_cost": null, "actor": "助理2", "created": "2026-11-19T02:01:32.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-19", "pocket": "回收旧料", "mg": 7992, "kind": "recovery", "note": "HS202611190001", "purchase_cost": null, "actor": "助理2", "created": "2026-11-19T02:01:32.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-19", "pocket": "现货", "mg": -3100, "kind": "sale", "note": "MM20261119-", "purchase_cost": null, "actor": "助理", "created": "2026-11-19T02:01:28.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-19", "pocket": "现货", "mg": 100, "kind": "lock_purchase", "note": "SJ20261118- 足金999 补重黄金入库", "purchase_cost": 9000, "actor": "助理", "created": "2026-11-19T02:01:28.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-19", "pocket": "现货", "mg": 3000, "kind": "lock_purchase", "note": "SJ20261118- 足金999 原锁定黄金入库", "purchase_cost": 255000, "actor": "助理", "created": "2026-11-19T02:01:28.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "after-sale:", "order_id": "", "date": "2026-11-19", "pocket": "金料", "mg": 1000, "kind": "return", "note": "MM20261118- · 售后回收旧料", "purchase_cost": null, "actor": "麦麦", "created": "2026-11-19T02:01:05.000Z", "groupId": "after-sale:", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-18", "pocket": "现货", "mg": 1500, "kind": "order_cancel_reverse", "note": "MM20261118-;审批作废:重复录入", "purchase_cost": null, "actor": "麦麦", "created": "2026-11-19T02:00:45.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": null, "date": "2026-11-19", "pocket": "金料", "mg": -1200, "kind": "manual_reversal", "note": "手动库存更正冲回:", "purchase_cost": null, "actor": "麦麦", "created": "2026-11-19T02:00:21.000Z", "groupId": "", "revision": 3, "manual": false, "current": false, "status": "deleted", "reversal": true, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": null, "date": "2026-11-19", "pocket": "金料", "mg": 1200, "kind": "increase", "note": "当天手动入库", "purchase_cost": null, "actor": "助理", "created": "2026-11-19T02:00:19.000Z", "groupId": "", "revision": 3, "manual": true, "current": false, "status": "deleted", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": null, "date": "2026-11-19", "pocket": "金料", "mg": -1000, "kind": "manual_reversal", "note": "手动库存更正冲回:", "purchase_cost": null, "actor": "助理", "created": "2026-11-19T02:00:19.000Z", "groupId": "", "revision": 3, "manual": false, "current": false, "status": "deleted", "reversal": true, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": null, "date": "2026-11-19", "pocket": "金料", "mg": 1000, "kind": "increase", "note": "当天手动入库", "purchase_cost": null, "actor": "助理", "created": "2026-11-19T02:00:16.000Z", "groupId": "", "revision": 3, "manual": true, "current": false, "status": "deleted", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": null, "date": "2026-11-18", "pocket": "现货", "mg": 3000, "kind": "increase", "note": "娜娜手动入库", "purchase_cost": null, "actor": "麦麦", "created": "2026-11-19T02:00:11.000Z", "groupId": "", "revision": 2, "manual": true, "current": true, "status": "modified", "reversal": false, "canEdit": true, "canDelete": true, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": null, "date": "2026-11-18", "pocket": "现货", "mg": -2500, "kind": "manual_reversal", "note": "手动库存更正冲回:", "purchase_cost": null, "actor": "麦麦", "created": "2026-11-19T02:00:11.000Z", "groupId": "", "revision": 2, "manual": false, "current": false, "status": "modified", "reversal": true, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-18", "pocket": "现货", "mg": -4000, "kind": "sale", "note": "MM20261118-", "purchase_cost": null, "actor": "麦麦", "created": "2026-11-18T02:01:34.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-18", "pocket": "现货", "mg": -800, "kind": "sale", "note": "MM20261118-", "purchase_cost": null, "actor": "助理", "created": "2026-11-18T02:01:26.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-18", "pocket": "现货", "mg": -5000, "kind": "sale", "note": "MM20261118-", "purchase_cost": null, "actor": "助理2", "created": "2026-11-18T02:01:25.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-18", "pocket": "现货", "mg": -1500, "kind": "sale", "note": "MM20261118-", "purchase_cost": null, "actor": "助理2", "created": "2026-11-18T02:01:24.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-18", "pocket": "pocket_", "mg": -10000, "kind": "sale", "note": "MM20261118-", "purchase_cost": null, "actor": "麦麦", "created": "2026-11-18T02:01:23.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-18", "pocket": "现货", "mg": -2000, "kind": "sale", "note": "MM20261118-", "purchase_cost": null, "actor": "助理2", "created": "2026-11-18T02:01:18.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": "", "date": "2026-11-18", "pocket": "现货", "mg": -3250, "kind": "sale", "note": "MM20261118-", "purchase_cost": null, "actor": "助理", "created": "2026-11-18T02:01:17.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": null, "date": "2026-11-18", "pocket": "现货", "mg": -500, "kind": "decrease", "note": "娜娜手动出库", "purchase_cost": null, "actor": "助理", "created": "2026-11-18T02:01:05.000Z", "groupId": "", "revision": 1, "manual": true, "current": true, "status": "active", "reversal": false, "canEdit": true, "canDelete": true, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": null, "date": "2026-11-18", "pocket": "现货", "mg": 2500, "kind": "increase", "note": "娜娜手动入库", "purchase_cost": null, "actor": "助理", "created": "2026-11-18T02:01:04.000Z", "groupId": "", "revision": 2, "manual": true, "current": false, "status": "modified", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": null, "date": "2026-11-18", "pocket": "金料", "mg": 5000, "kind": "transfer", "note": "调拨", "purchase_cost": null, "actor": "麦麦", "created": "2026-11-18T02:01:03.000Z", "groupId": "", "revision": 1, "manual": true, "current": true, "status": "active", "reversal": false, "canEdit": true, "canDelete": true, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": null, "date": "2026-11-18", "pocket": "现货", "mg": -5000, "kind": "transfer", "note": "调拨", "purchase_cost": null, "actor": "麦麦", "created": "2026-11-18T02:01:03.000Z", "groupId": "", "revision": 1, "manual": true, "current": true, "status": "active", "reversal": false, "canEdit": true, "canDelete": true, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": null, "date": "2026-11-18", "pocket": "pocket_", "mg": 20000, "kind": "opening", "note": "展柜起始", "purchase_cost": null, "actor": "麦麦", "created": "2026-11-18T02:01:02.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": null, "date": "2026-11-18", "pocket": "金料", "mg": 50000, "kind": "opening", "note": "黄金对照起始金料", "purchase_cost": null, "actor": "麦麦", "created": "2026-11-18T02:01:01.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false }, { "id": "", "group_id": "", "order_id": null, "date": "2026-11-18", "pocket": "现货", "mg": 100000, "kind": "opening", "note": "黄金对照起始库存", "purchase_cost": null, "actor": "麦麦", "created": "2026-11-18T02:01:00.000Z", "groupId": "", "revision": 1, "manual": false, "current": true, "status": "active", "reversal": false, "canEdit": false, "canDelete": false, "pendingRequestId": null, "pendingApproval": false } ] } }, { "seq": 558, "label": "material-pools-d4", "date": "2026-11-21", "actor": "owner", "method": "GET", "path": "/api/material-pools", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "from": "2000-01-01", "date": "2026-11-21", "rows": [ { "id": "2026-11-20", "date": "2026-11-20", "rolling": true, "frozen": false, "totalMg": 36000, "totalAmount": 3274167, "usedMg": 0, "remainingMg": 36000, "shortageMg": 0, "consumedCost": 0, "remainingCost": 3274167, "remainingAllocations": [ { "payer": "assistant", "amount": 536167, "source_id": "", "created": "2026-11-18T02:01:09.000Z", "source_sequence": 1 }, { "payer": "owner", "amount": 1820000, "source_id": "", "created": "2026-11-18T02:01:10.000Z", "source_sequence": 2 }, { "payer": "assistant2", "amount": 88000, "source_id": "return::material:0", "created": "2026-11-19T02:01:05.000Z" }, { "payer": "assistant", "amount": 460000, "source_id": "", "created": "2026-11-19T02:02:19.000Z" }, { "payer": "assistant2", "amount": 370000, "source_id": "", "created": "2026-11-19T02:02:20.000Z" } ], "byPayer": { "owner": { "purchased": 1820000, "consumed": 0, "remaining": 1820000 }, "assistant": { "purchased": 996167, "consumed": 0, "remaining": 996167 }, "assistant2": { "purchased": 458000, "consumed": 0, "remaining": 458000 } }, "averageRate": 90949, "status": "unused", "revision": "2888d0d62256b3e0f97b8b29f2dcd22e44ce293073f970fe6a3139844f4a12dd", "opening": { "mg": 36000, "amount": 3274167, "allocations": [ { "payer": "assistant", "amount": 536167, "source_id": "", "created": "2026-11-18T02:01:09.000Z", "source_sequence": 1 }, { "payer": "owner", "amount": 1820000, "source_id": "", "created": "2026-11-18T02:01:10.000Z", "source_sequence": 2 }, { "payer": "assistant2", "amount": 88000, "source_id": "return::material:0", "created": "2026-11-19T02:01:05.000Z" }, { "payer": "assistant", "amount": 460000, "source_id": "", "created": "2026-11-19T02:02:19.000Z" }, { "payer": "assistant2", "amount": 370000, "source_id": "", "created": "2026-11-19T02:02:20.000Z" } ], "pending": false }, "todayPurchases": { "mg": 0, "amount": 0, "count": 0, "items": [] }, "todayReturns": { "mg": 0, "amount": 0, "count": 0, "grossMg": 0, "grossAmount": 0, "grossCount": 0 }, "returns": [], "purchases": [ { "id": "carry:2026-11-20", "date": "2026-11-20", "mg": 36000, "amount": 3274167, "payer": "assistant", "allocations": [ { "payer": "assistant", "amount": 536167, "source_id": "", "created": "2026-11-18T02:01:09.000Z", "source_sequence": 1 }, { "payer": "owner", "amount": 1820000, "source_id": "", "created": "2026-11-18T02:01:10.000Z", "source_sequence": 2 }, { "payer": "assistant2", "amount": 88000, "source_id": "return::material:0", "created": "2026-11-19T02:01:05.000Z" }, { "payer": "assistant", "amount": 460000, "source_id": "", "created": "2026-11-19T02:02:19.000Z" }, { "payer": "assistant2", "amount": 370000, "source_id": "", "created": "2026-11-19T02:02:20.000Z" } ], "created": "2026-11-20T00:00:00.000Z", "note": "以前结转", "sourceKind": "carry", "cashAmount": 0, "canEdit": false, "canRequestChange": false, "ownerReviewRequired": true } ], "usages": [], "settlements": [], "settlement": { "legacyReadOnly": true, "settlementDue": 0, "assistantInventoryCredit": 0, "transferred": 0, "pending": false }, "materialGroups": [ { "key": "public", "kind": "public", "member": null, "purchases": [ { "id": "carry:2026-11-20", "date": "2026-11-20", "mg": 36000, "amount": 3274167, "payer": "assistant", "allocations": [ { "payer": "assistant", "amount": 536167, "source_id": "", "created": "2026-11-18T02:01:09.000Z", "source_sequence": 1 }, { "payer": "owner", "amount": 1820000, "source_id": "", "created": "2026-11-18T02:01:10.000Z", "source_sequence": 2 }, { "payer": "assistant2", "amount": 88000, "source_id": "return::material:0", "created": "2026-11-19T02:01:05.000Z" }, { "payer": "assistant", "amount": 460000, "source_id": "", "created": "2026-11-19T02:02:19.000Z" }, { "payer": "assistant2", "amount": 370000, "source_id": "", "created": "2026-11-19T02:02:20.000Z" } ], "created": "2026-11-20T00:00:00.000Z", "note": "以前结转", "sourceKind": "carry", "cashAmount": 0, "canEdit": false } ], "totalMg": 36000, "totalAmount": 3274167, "averageRate": 90949 }, { "key": "personal:assistant", "kind": "personal_recovery", "member": "assistant", "purchases": [ { "id": "", "pool_id": "2026-11-20", "date": "2026-11-20", "mg": 10000, "amount": 900000, "payer": "assistant", "note": "直接回收 · HS202611200003", "actor": "助理", "created": "2026-11-20T02:00:20.000Z", "revision": 2, "deleted_at": "", "updated": "2026-11-20T02:00:25.000Z", "source_sequence": 7, "materialOwner": "assistant", "materialKind": "personal_recovery", "recoveryId": "", "recovery_id": "", "cashAmount": 900000, "offsetAmount": 0, "allocations": [ { "payer": "assistant", "amount": 900000, "source": "cash" } ], "canEdit": false, "sourceKind": "purchase" }, { "id": "", "pool_id": "2026-11-20", "date": "2026-11-20", "mg": 2000, "amount": 180000, "payer": "assistant", "note": "直接回收 · HS202611200005", "actor": "助理", "created": "2026-11-20T02:00:30.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-20T02:00:30.000Z", "source_sequence": 9, "materialOwner": "assistant", "materialKind": "personal_recovery", "recoveryId": "", "recovery_id": "", "cashAmount": 180000, "offsetAmount": 0, "allocations": [ { "payer": "assistant", "amount": 180000, "source": "cash" } ], "canEdit": false, "sourceKind": "purchase" } ], "totalMg": 12000, "totalAmount": 1080000, "averageRate": 90000 } ], "personalPools": { "assistant": { "key": "personal:assistant", "kind": "personal_recovery", "member": "assistant", "purchases": [ { "id": "", "pool_id": "2026-11-20", "date": "2026-11-20", "mg": 10000, "amount": 900000, "payer": "assistant", "note": "直接回收 · HS202611200003", "actor": "助理", "created": "2026-11-20T02:00:20.000Z", "revision": 2, "deleted_at": "", "updated": "2026-11-20T02:00:25.000Z", "source_sequence": 7, "materialOwner": "assistant", "materialKind": "personal_recovery", "recoveryId": "", "recovery_id": "", "cashAmount": 900000, "offsetAmount": 0, "allocations": [ { "payer": "assistant", "amount": 900000, "source": "cash" } ], "canEdit": false, "sourceKind": "purchase" }, { "id": "", "pool_id": "2026-11-20", "date": "2026-11-20", "mg": 2000, "amount": 180000, "payer": "assistant", "note": "直接回收 · HS202611200005", "actor": "助理", "created": "2026-11-20T02:00:30.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-20T02:00:30.000Z", "source_sequence": 9, "materialOwner": "assistant", "materialKind": "personal_recovery", "recoveryId": "", "recovery_id": "", "cashAmount": 180000, "offsetAmount": 0, "allocations": [ { "payer": "assistant", "amount": 180000, "source": "cash" } ], "canEdit": false, "sourceKind": "purchase" } ], "totalMg": 12000, "totalAmount": 1080000, "averageRate": 90000, "usedMg": 0, "consumedCost": 0, "remainingMg": 12000, "remainingCost": 1080000, "remainingAllocations": [ { "payer": "assistant", "amount": 900000, "source": "cash" }, { "payer": "assistant", "amount": 180000, "source": "cash" } ], "remainingBatches": [ { "purchaseId": "", "recoveryId": "", "mg": 10000 }, { "purchaseId": "", "recoveryId": "", "mg": 2000 } ], "shortageMg": 0, "status": "unused", "byPayer": { "owner": { "purchased": 0, "consumed": 0, "remaining": 0 }, "assistant": { "purchased": 1080000, "consumed": 0, "remaining": 1080000 }, "assistant2": { "purchased": 0, "consumed": 0, "remaining": 0 } }, "date": "2026-11-20", "id": "2026-11-20" } }, "remainingMaterialGroups": [ { "kind": "public", "member": null, "mg": 36000, "amount": 3274167, "allocations": [ { "payer": "assistant", "amount": 536167, "source_id": "", "created": "2026-11-18T02:01:09.000Z", "source_sequence": 1 }, { "payer": "owner", "amount": 1820000, "source_id": "", "created": "2026-11-18T02:01:10.000Z", "source_sequence": 2 }, { "payer": "assistant2", "amount": 88000, "source_id": "return::material:0", "created": "2026-11-19T02:01:05.000Z" }, { "payer": "assistant", "amount": 460000, "source_id": "", "created": "2026-11-19T02:02:19.000Z" }, { "payer": "assistant2", "amount": 370000, "source_id": "", "created": "2026-11-19T02:02:20.000Z" } ], "batches": [ { "purchaseId": "carry:2026-11-20", "mg": 36000 } ] }, { "kind": "personal_recovery", "member": "assistant", "mg": 12000, "amount": 1080000, "allocations": [ { "payer": "assistant", "amount": 900000, "source": "cash" }, { "payer": "assistant", "amount": 180000, "source": "cash" } ], "batches": [ { "purchaseId": "", "recoveryId": "", "mg": 10000 }, { "purchaseId": "", "recoveryId": "", "mg": 2000 } ] } ], "legacyReadOnly": true }, { "id": "2026-11-19", "date": "2026-11-19", "rolling": true, "frozen": true, "totalMg": 38000, "totalAmount": 3456065, "usedMg": 2000, "remainingMg": 36000, "shortageMg": 0, "consumedCost": 181898, "remainingCost": 3274167, "remainingAllocations": [ { "payer": "assistant", "amount": 536167, "source_id": "", "created": "2026-11-18T02:01:09.000Z", "source_sequence": 1 }, { "payer": "owner", "amount": 1820000, "source_id": "", "created": "2026-11-18T02:01:10.000Z", "source_sequence": 2 }, { "payer": "assistant2", "amount": 88000, "source_id": "return::material:0", "created": "2026-11-19T02:01:05.000Z" }, { "payer": "assistant", "amount": 460000, "source_id": "", "created": "2026-11-19T02:02:19.000Z" }, { "payer": "assistant2", "amount": 370000, "source_id": "", "created": "2026-11-19T02:02:20.000Z" } ], "byPayer": { "owner": { "purchased": 1820000, "consumed": 0, "remaining": 1820000 }, "assistant": { "purchased": 1178065, "consumed": 181898, "remaining": 996167 }, "assistant2": { "purchased": 458000, "consumed": 0, "remaining": 458000 } }, "averageRate": 90949, "status": "using", "revision": "278a6986270886d53a62e969a467ca9cc287fb29d2d3db30e437b74501f04dfc", "opening": { "mg": 28000, "amount": 2538065, "allocations": [ { "payer": "assistant", "amount": 718065, "source_id": "", "created": "2026-11-18T02:01:09.000Z", "source_sequence": 1 }, { "payer": "owner", "amount": 1820000, "source_id": "", "created": "2026-11-18T02:01:10.000Z", "source_sequence": 2 } ], "pending": false, "pools": [ { "id": "2026-11-18", "date": "2026-11-18", "totalMg": 31000, "totalAmount": 2810000, "averageRate": 90645, "usedMg": 3000, "remainingMg": 28000, "shortageMg": 0, "consumedCost": 271935, "remainingCost": 2538065, "status": "using", "revision": "2823f40ff78424f5423f0dbdf991ea5fcc83b0144648e9d2399869970c27af75", "purchases": [ { "id": "", "pool_id": "2026-11-18", "date": "2026-11-18", "mg": 11000, "amount": 990000, "payer": "assistant", "note": "核对凭据", "actor": "助理", "created": "2026-11-18T02:01:09.000Z", "revision": 2, "deleted_at": "", "updated": "2026-11-19T02:02:27.000Z" }, { "id": "", "pool_id": "2026-11-18", "date": "2026-11-18", "mg": 20000, "amount": 1820000, "payer": "owner", "note": "麦麦购料", "actor": "麦麦", "created": "2026-11-18T02:01:10.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-18T02:01:10.000Z" } ], "usages": [ { "id": "", "order_id": "", "line_index": 0, "pool_id": "2026-11-18", "date": "2026-11-18", "mg": 3000, "active": 1, "amount": 271935, "owner_amount": 0, "assistant_amount": 271935, "revision": 3, "created": "2026-11-18T02:01:20.000Z", "updated": "2026-11-19T02:02:27.000Z", "fifo_sequence": 1, "number": "MM20261118-", "customer": "对照客户丁", "order_status": "delivered", "member": "assistant", "product": "足金999" } ], "settlements": [], "byPayer": { "owner": { "purchased": 1820000, "consumed": 0, "remaining": 1820000 }, "assistant": { "purchased": 990000, "consumed": 271935, "remaining": 718065 } }, "settlement": { "assistantInventoryCredit": 718065, "transferred": 0, "settlementDue": -718065, "pending": false } } ] }, "todayPurchases": { "mg": 9000, "amount": 830000, "count": 2, "items": [ { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 5000, "amount": 460000, "payer": "assistant", "note": "第二天购料", "actor": "助理", "created": "2026-11-19T02:02:19.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:19.000Z", "source_sequence": 4, "sourceKind": "purchase", "canEdit": false, "canRequestChange": true, "ownerReviewRequired": true, "member": "assistant" }, { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 4000, "amount": 370000, "payer": "assistant2", "note": "", "actor": "助理2", "created": "2026-11-19T02:02:20.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:20.000Z", "source_sequence": 5, "sourceKind": "purchase", "canEdit": false, "canRequestChange": true, "ownerReviewRequired": true, "member": "assistant2" } ] }, "todayReturns": { "mg": 1000, "amount": 88000, "count": 1, "grossMg": 1000, "grossAmount": 88000, "grossCount": 1 }, "returns": [ { "id": "", "order_id": "", "line_index": 0, "date": "2026-11-19", "mg": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "origin_pool_id": "", "same_day": 0, "actor": "麦麦", "created": "2026-11-19T02:01:05.000Z", "source_sequence": 1, "number": "20261118007", "paper_number": "20261118007", "order_date": "2026-11-18", "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "sameDay": false, "cashAmount": 0 } ], "purchases": [ { "id": "carry:2026-11-19", "date": "2026-11-19", "mg": 28000, "amount": 2538065, "payer": "assistant", "allocations": [ { "payer": "assistant", "amount": 718065, "source_id": "", "created": "2026-11-18T02:01:09.000Z", "source_sequence": 1 }, { "payer": "owner", "amount": 1820000, "source_id": "", "created": "2026-11-18T02:01:10.000Z", "source_sequence": 2 } ], "created": "2026-11-19T00:00:00.000Z", "note": "以前结转", "sourceKind": "carry", "cashAmount": 0, "canEdit": false, "canRequestChange": false, "ownerReviewRequired": true }, { "id": "return::material:0", "order_id": "", "line_index": 0, "date": "2026-11-19", "mg": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "origin_pool_id": "", "same_day": 0, "actor": "麦麦", "created": "2026-11-19T02:01:05.000Z", "source_sequence": 1, "number": "20261118007", "paper_number": "20261118007", "order_date": "2026-11-18", "materialSources": [ { "kind": "public", "member": null, "quantity": 1000, "amount": 88000, "allocations": [ { "payer": "assistant2", "amount": 88000 } ], "batches": [], "basisAmount": 88000, "basisMg": 1000, "prefixMg": 0, "prefixAmount": 0 } ], "sameDay": false, "cashAmount": 0, "batches": [], "materialKind": "public", "materialOwner": null, "payer": "assistant2", "sourceKind": "return", "note": "退货回料", "canEdit": false, "canRequestChange": false, "ownerReviewRequired": true }, { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 5000, "amount": 460000, "payer": "assistant", "note": "第二天购料", "actor": "助理", "created": "2026-11-19T02:02:19.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:19.000Z", "source_sequence": 4, "sourceKind": "purchase", "canEdit": false, "canRequestChange": true, "ownerReviewRequired": true, "member": "assistant" }, { "id": "", "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 4000, "amount": 370000, "payer": "assistant2", "note": "", "actor": "助理2", "created": "2026-11-19T02:02:20.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-19T02:02:20.000Z", "source_sequence": 5, "sourceKind": "purchase", "canEdit": false, "canRequestChange": true, "ownerReviewRequired": true, "member": "assistant2" } ], "usages": [ { "id": "", "order_id": "", "line_index": 0, "pool_id": "2026-11-19", "date": "2026-11-19", "mg": 2000, "active": 1, "amount": 181898, "owner_amount": 0, "assistant_amount": 181898, "revision": 1, "created": "2026-11-19T02:02:40.000Z", "updated": "2026-11-20T02:00:15.000Z", "fifo_sequence": 2, "number": "MM20261119-", "customer": "滚动料池客户", "order_status": "delivered", "assistant2_amount": 0, "member": "assistant", "product": "足金999" } ], "settlements": [], "settlement": { "legacyReadOnly": true, "settlementDue": 0, "assistantInventoryCredit": 0, "transferred": 0, "pending": false }, "legacyReadOnly": true }, { "id": "2026-11-18", "date": "2026-11-18", "totalMg": 31000, "totalAmount": 2810000, "averageRate": 90645, "usedMg": 3000, "remainingMg": 28000, "shortageMg": 0, "consumedCost": 271935, "remainingCost": 2538065, "status": "using", "revision": "2823f40ff78424f5423f0dbdf991ea5fcc83b0144648e9d2399869970c27af75", "purchases": [ { "id": "", "pool_id": "2026-11-18", "date": "2026-11-18", "mg": 11000, "amount": 990000, "payer": "assistant", "note": "核对凭据", "actor": "助理", "created": "2026-11-18T02:01:09.000Z", "revision": 2, "deleted_at": "", "updated": "2026-11-19T02:02:27.000Z", "canEdit": false, "canRequestChange": true, "ownerReviewRequired": true, "member": "assistant" }, { "id": "", "pool_id": "2026-11-18", "date": "2026-11-18", "mg": 20000, "amount": 1820000, "payer": "owner", "note": "麦麦购料", "actor": "麦麦", "created": "2026-11-18T02:01:10.000Z", "revision": 1, "deleted_at": "", "updated": "2026-11-18T02:01:10.000Z", "canEdit": false, "canRequestChange": true, "ownerReviewRequired": true, "member": "owner" } ], "usages": [ { "id": "", "order_id": "", "line_index": 0, "pool_id": "2026-11-18", "date": "2026-11-18", "mg": 3000, "active": 1, "amount": 271935, "owner_amount": 0, "assistant_amount": 271935, "revision": 3, "created": "2026-11-18T02:01:20.000Z", "updated": "2026-11-19T02:02:27.000Z", "fifo_sequence": 1, "number": "MM20261118-", "customer": "对照客户丁", "order_status": "delivered", "member": "assistant", "product": "足金999" } ], "settlements": [], "byPayer": { "owner": { "purchased": 1820000, "consumed": 0, "remaining": 1820000 }, "assistant": { "purchased": 990000, "consumed": 271935, "remaining": 718065 } }, "settlement": { "assistantInventoryCredit": 718065, "transferred": 0, "settlementDue": -718065, "pending": false }, "legacyReadOnly": true } ], "current": { "id": "2026-11-21", "date": "2026-11-21", "rolling": true, "frozen": false, "totalMg": 36000, "totalAmount": 3274167, "usedMg": 0, "remainingMg": 36000, "shortageMg": 0, "consumedCost": 0, "remainingCost": 3274167, "remainingAllocations": [ { "payer": "assistant", "amount": 536167, "source_id": "", "created": "2026-11-18T02:01:09.000Z", "source_sequence": 1 }, { "payer": "owner", "amount": 1820000, "source_id": "", "created": "2026-11-18T02:01:10.000Z", "source_sequence": 2 }, { "payer": "assistant2", "amount": 88000, "source_id": "return::material:0", "created": "2026-11-19T02:01:05.000Z" }, { "payer": "assistant", "amount": 460000, "source_id": "", "created": "2026-11-19T02:02:19.000Z" }, { "payer": "assistant2", "amount": 370000, "source_id": "", "created": "2026-11-19T02:02:20.000Z" } ], "byPayer": { "owner": { "purchased": 1820000, "consumed": 0, "remaining": 1820000 }, "assistant": { "purchased": 996167, "consumed": 0, "remaining": 996167 }, "assistant2": { "purchased": 458000, "consumed": 0, "remaining": 458000 } }, "averageRate": 90949, "status": "unused", "revision": "c605e96b9e2c99b1df7c4fb2a3d46a34ae34df2dd9d3244a6b9a57cd19579b1f", "opening": { "mg": 36000, "amount": 3274167, "allocations": [ { "payer": "assistant", "amount": 536167, "source_id": "", "created": "2026-11-18T02:01:09.000Z", "source_sequence": 1 }, { "payer": "owner", "amount": 1820000, "source_id": "", "created": "2026-11-18T02:01:10.000Z", "source_sequence": 2 }, { "payer": "assistant2", "amount": 88000, "source_id": "return::material:0", "created": "2026-11-19T02:01:05.000Z" }, { "payer": "assistant", "amount": 460000, "source_id": "", "created": "2026-11-19T02:02:19.000Z" }, { "payer": "assistant2", "amount": 370000, "source_id": "", "created": "2026-11-19T02:02:20.000Z" } ], "pending": false, "materialGroups": [ { "kind": "public", "member": null, "mg": 36000, "amount": 3274167, "allocations": [ { "payer": "assistant", "amount": 536167, "source_id": "", "created": "2026-11-18T02:01:09.000Z", "source_sequence": 1 }, { "payer": "owner", "amount": 1820000, "source_id": "", "created": "2026-11-18T02:01:10.000Z", "source_sequence": 2 }, { "payer": "assistant2", "amount": 88000, "source_id": "return::material:0", "created": "2026-11-19T02:01:05.000Z" }, { "payer": "assistant", "amount": 460000, "source_id": "", "created": "2026-11-19T02:02:19.000Z" }, { "payer": "assistant2", "amount": 370000, "source_id": "", "created": "2026-11-19T02:02:20.000Z" } ], "batches": [ { "purchaseId": "carry:2026-11-20", "mg": 36000 } ] }, { "kind": "personal_recovery", "member": "assistant", "mg": 12000, "amount": 1080000, "allocations": [ { "payer": "assistant", "amount": 900000, "source": "cash" }, { "payer": "assistant", "amount": 180000, "source": "cash" } ], "batches": [ { "purchaseId": "", "recoveryId": "", "mg": 10000 }, { "purchaseId": "", "recoveryId": "", "mg": 2000 } ] } ] }, "todayPurchases": { "mg": 0, "amount": 0, "count": 0, "items": [] }, "todayReturns": { "mg": 0, "amount": 0, "count": 0, "grossMg": 0, "grossAmount": 0, "grossCount": 0 }, "returns": [], "purchases": [ { "id": "carry:2026-11-21:public", "date": "2026-11-21", "mg": 36000, "amount": 3274167, "allocations": [ { "payer": "assistant", "amount": 536167, "source_id": "", "created": "2026-11-18T02:01:09.000Z", "source_sequence": 1 }, { "payer": "owner", "amount": 1820000, "source_id": "", "created": "2026-11-18T02:01:10.000Z", "source_sequence": 2 }, { "payer": "assistant2", "amount": 88000, "source_id": "return::material:0", "created": "2026-11-19T02:01:05.000Z" }, { "payer": "assistant", "amount": 460000, "source_id": "", "created": "2026-11-19T02:02:19.000Z" }, { "payer": "assistant2", "amount": 370000, "source_id": "", "created": "2026-11-19T02:02:20.000Z" } ], "payer": "assistant", "batches": [ { "purchaseId": "carry:2026-11-20", "mg": 36000 } ], "materialKind": "public", "materialOwner": null, "created": "2026-11-21T00:00:00.000Z", "note": "以前结转", "sourceKind": "carry", "cashAmount": 0, "canEdit": false, "canRequestChange": false, "ownerReviewRequired": false } ], "usages": [], "settlements": [], "settlement": { "legacyReadOnly": true, "settlementDue": 0, "assistantInventoryCredit": 0, "transferred": 0, "pending": false }, "materialGroups": [ { "key": "public", "kind": "public", "member": null, "purchases": [ { "id": "carry:2026-11-21:public", "date": "2026-11-21", "mg": 36000, "amount": 3274167, "allocations": [ { "payer": "assistant", "amount": 536167, "source_id": "", "created": "2026-11-18T02:01:09.000Z", "source_sequence": 1 }, { "payer": "owner", "amount": 1820000, "source_id": "", "created": "2026-11-18T02:01:10.000Z", "source_sequence": 2 }, { "payer": "assistant2", "amount": 88000, "source_id": "return::material:0", "created": "2026-11-19T02:01:05.000Z" }, { "payer": "assistant", "amount": 460000, "source_id": "", "created": "2026-11-19T02:02:19.000Z" }, { "payer": "assistant2", "amount": 370000, "source_id": "", "created": "2026-11-19T02:02:20.000Z" } ], "payer": "assistant", "batches": [ { "purchaseId": "carry:2026-11-20", "mg": 36000 } ], "materialKind": "public", "materialOwner": null, "created": "2026-11-21T00:00:00.000Z", "note": "以前结转", "sourceKind": "carry", "cashAmount": 0, "canEdit": false } ], "totalMg": 36000, "totalAmount": 3274167, "averageRate": 90949 }, { "key": "personal:assistant", "kind": "personal_recovery", "member": "assistant", "purchases": [ { "id": "carry:2026-11-21:personal:assistant", "date": "2026-11-21", "mg": 12000, "amount": 1080000, "allocations": [ { "payer": "assistant", "amount": 900000, "source": "cash" }, { "payer": "assistant", "amount": 180000, "source": "cash" } ], "payer": "assistant", "batches": [ { "purchaseId": "", "recoveryId": "", "mg": 10000 }, { "purchaseId": "", "recoveryId": "", "mg": 2000 } ], "materialKind": "personal_recovery", "materialOwner": "assistant", "created": "2026-11-21T00:00:00.000Z", "note": "个人回收料结转", "sourceKind": "carry", "cashAmount": 0, "canEdit": false } ], "totalMg": 12000, "totalAmount": 1080000, "averageRate": 90000 } ], "personalPools": { "assistant": { "key": "personal:assistant", "kind": "personal_recovery", "member": "assistant", "purchases": [ { "id": "carry:2026-11-21:personal:assistant", "date": "2026-11-21", "mg": 12000, "amount": 1080000, "allocations": [ { "payer": "assistant", "amount": 900000, "source": "cash" }, { "payer": "assistant", "amount": 180000, "source": "cash" } ], "payer": "assistant", "batches": [ { "purchaseId": "", "recoveryId": "", "mg": 10000 }, { "purchaseId": "", "recoveryId": "", "mg": 2000 } ], "materialKind": "personal_recovery", "materialOwner": "assistant", "created": "2026-11-21T00:00:00.000Z", "note": "个人回收料结转", "sourceKind": "carry", "cashAmount": 0, "canEdit": false } ], "totalMg": 12000, "totalAmount": 1080000, "averageRate": 90000, "usedMg": 0, "consumedCost": 0, "remainingMg": 12000, "remainingCost": 1080000, "remainingAllocations": [ { "payer": "assistant", "amount": 900000, "source": "cash" }, { "payer": "assistant", "amount": 180000, "source": "cash" } ], "remainingBatches": [ { "purchaseId": "", "recoveryId": "", "mg": 10000 }, { "purchaseId": "", "recoveryId": "", "mg": 2000 } ], "shortageMg": 0, "status": "unused", "byPayer": { "owner": { "purchased": 0, "consumed": 0, "remaining": 0 }, "assistant": { "purchased": 1080000, "consumed": 0, "remaining": 1080000 }, "assistant2": { "purchased": 0, "consumed": 0, "remaining": 0 } }, "date": "2026-11-21", "id": "2026-11-21" } }, "remainingMaterialGroups": [ { "kind": "public", "member": null, "mg": 36000, "amount": 3274167, "allocations": [ { "payer": "assistant", "amount": 536167, "source_id": "", "created": "2026-11-18T02:01:09.000Z", "source_sequence": 1 }, { "payer": "owner", "amount": 1820000, "source_id": "", "created": "2026-11-18T02:01:10.000Z", "source_sequence": 2 }, { "payer": "assistant2", "amount": 88000, "source_id": "return::material:0", "created": "2026-11-19T02:01:05.000Z" }, { "payer": "assistant", "amount": 460000, "source_id": "", "created": "2026-11-19T02:02:19.000Z" }, { "payer": "assistant2", "amount": 370000, "source_id": "", "created": "2026-11-19T02:02:20.000Z" } ], "batches": [ { "purchaseId": "carry:2026-11-20", "mg": 36000 } ] }, { "kind": "personal_recovery", "member": "assistant", "mg": 12000, "amount": 1080000, "allocations": [ { "payer": "assistant", "amount": 900000, "source": "cash" }, { "payer": "assistant", "amount": 180000, "source": "cash" } ], "batches": [ { "purchaseId": "", "recoveryId": "", "mg": 10000 }, { "purchaseId": "", "recoveryId": "", "mg": 2000 } ] } ], "legacyReadOnly": true }, "rolling": { "enabled": true, "cutover": "2026-11-19", "canEnable": false, "reason": "" }, "summary": { "totalMg": 36000, "totalAmount": 3274167, "usedMg": 0, "remainingMg": 36000, "remainingCost": 3274167, "shortageMg": 0, "pendingCount": 0, "purchaseCount": 0 }, "settlement": { "legacyReadOnly": true, "settlementDue": 0, "knownSettlementDue": 0, "pendingCount": 0, "pools": [] } } }, { "seq": 559, "label": "report-d4", "date": "2026-11-21", "actor": "owner", "method": "GET", "path": "/api/report?date=2026-11-21", "key": null, "status": 200, "contentType": "application/json; charset=utf-8", "disposition": null, "setCookie": null, "body": { "date": "2026-11-21", "from": "2026-11-21", "sales": 0, "goods": 0, "knownGoods": 0, "expense": 0, "profit": 0, "knownProfit": 0, "materialCostPending": false, "pendingMaterialCount": 0, "materialPoolActivity": { "from": "2026-11-21", "to": "2026-11-21", "purchases": [], "settlements": [], "events": [] }, "materialPoolSettlement": { "legacyReadOnly": true, "settlementDue": 0, "knownSettlementDue": 0, "pendingCount": 0, "pools": [] }, "delivered": 0, "returns": 0, "accounts": [ { "account": "助理微信", "receipt": 0, "refund": 0 }, { "account": "助理支付宝", "receipt": 0, "refund": 0 }, { "account": "助理现金", "receipt": 0, "refund": 0 }, { "account": "麦麦微信", "receipt": 0, "refund": 0 }, { "account": "麦麦支付宝", "receipt": 0, "refund": 0 }, { "account": "麦麦现金", "receipt": 0, "refund": 0 }, { "account": "助理信用卡", "receipt": 0, "refund": 0 }, { "account": "麦麦信用卡", "receipt": 0, "refund": 0 }, { "account": "助理2微信", "receipt": 0, "refund": 0 }, { "account": "助理2支付宝", "receipt": 0, "refund": 0 }, { "account": "助理2现金", "receipt": 0, "refund": 0 }, { "account": "助理2信用卡", "receipt": 0, "refund": 0 } ], "payments": [], "settlements": [], "journal": [], "afterSales": [], "afterSaleCount": 0, "inventory": [ { "pocket": "现货", "mg": 65950, "reserved": 0, "available": 65950 }, { "pocket": "金料", "mg": 56000, "reserved": 0, "available": 56000 }, { "pocket": "找金", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "回收旧料", "mg": 20092, "reserved": 0, "available": 20092 }, { "pocket": "君宝汇", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "臻金汇", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "金金", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "定制工厂", "mg": 0, "reserved": 0, "available": 0 }, { "pocket": "pocket_", "mg": 10000, "reserved": 0, "available": 10000 } ], "warnings": [ { "id": "", "number": "MM20261120-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261119-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261119-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261119-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261119-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261119-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261119-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261119-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261118-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261118-", "message": "麦麦直接收客户款,已扣减总待结金额;货款/利润拆分需单独复核" }, { "id": "", "number": "MM20261118-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261118-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261118-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261118-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261118-", "message": "麦麦直接收客户款,已扣减总待结金额;货款/利润拆分需单独复核" }, { "id": "", "number": "MM20261118-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261118-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261118-", "message": "麦麦直接收客户款,已扣减总待结金额;货款/利润拆分需单独复核" }, { "id": "", "number": "MM20261118-", "message": "有记录待麦麦复核" }, { "id": "", "number": "MM20261118-", "message": "有记录待麦麦复核" } ], "unsettled": [], "settlementDue": 0, "knownSettlementDue": 0, "customerBalance": 0, "close": null } } ]