/** 当前结算周期(自然月),与 OrderEntry / fulfillment.ts 一致,如 202606 */ function currentCycleCode(date = new Date()) { return `${date.getFullYear()}${String(date.getMonth() + 1).padStart(2, '0')}`; } module.exports = { currentCycleCode };