{{ currentMenuName }}
👤 {{ username }}
📦
当前库存(桶)
{{ summary.currentStock }}
⚠️ 库存不足 35 桶,请及时补货
📥
累计进货(桶)
{{ summary.totalIn }}
📤
累计消耗(桶)
{{ summary.totalOut }}
今日 {{ summary.todayOut }} 桶
👥
客户总数
{{ summary.customerCount }}
源文件 {{ summary.fileCount }} 个

近 7 天库存变动

最近库存记录

类型 数量(桶) 日期 时间
{{ typeName(r.type) }} {{ r.type === 'consume' ? '-' : '+' }}{{ r.count }} {{ r.date || '-' }} {{ formatTime(r.timestamp) }}
暂无记录

客户列表

💡 原有客户数据在微信云开发中:微信开发者工具 → 云开发控制台 → 数据库 → customers 集合 → 导出(JSON),然后点右上角「导入云数据」即可。

姓名 手机号 宿舍 下单次数 押桶数 欠桶数 最近下单 操作
{{ c.name }} {{ c.phone }} {{ c.dorm || '-' }} {{ c.orderCount }} {{ c.depositBuckets }} {{ c.owedBuckets }} {{ formatTime(c.latestOrderTime) }}
暂无客户数据

库存操作

当前库存:{{ summary.currentStock }} 桶

库存记录

类型 数量(桶) 日期 时间
{{ typeName(r.type) }} {{ r.type === 'consume' ? '-' : '+' }}{{ r.count }} {{ r.date || '-' }} {{ formatTime(r.timestamp) }}
暂无库存记录

源文件上传历史

文件名 大小 上传时间 操作
{{ f.fileName || f.originalName }} {{ formatSize(f.size) }} {{ formatTime(f.uploadTime) }} 下载
暂无上传记录

修改登录密码

数据管理

清空库存记录后,当前库存将归零,操作不可恢复。

系统信息

系统名称:桶装水统计管理后台

服务器地址:{{ locationHost }}

数据存储:MySQL(自建服务器)

{{ toastMsg }}