Files
xinlong-shop-taro/.workbuddy/memory/2026-07-01.md
赵忠林 61e9879b5d feat(store): 实现门店中心功能及订单管理
- 在“我的钱包”上方新增“门店中心”按钮,仅管理员可见
- 新建门店中心页面,实现订单列表按状态筛选功能
- 支持订单操作:标记已付款、标记已发货、标记已完成
- 操作时必须上传操作凭证图片,支持拍照和相册选择,最多3张
- 凭证图片上传至指定接口,操作成功后刷新订单列表
- 更新 app.config 注册门店中心新页面及对应配置
- 说明订单状态字段及对应数值含义,便于状态判断与展示
2026-07-01 13:18:46 +08:00

17 lines
1.1 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

- 修改 `src/pages/user/about/index.tsx`:根据截图将“广西金炜建设工程有限公司”的简介更新为“玉林市玉州区鑫龙家电经营部”相关内容,包括头部品牌、公司简介、核心业务、联系信息及版权。
## 门店中心功能实现
- 修改 `src/pages/user/user.tsx`:在“我的钱包”上方添加“门店中心”按钮,仅当 `user.isAdmin === true` 时显示。
- 新建门店中心页面 `src/pages/store/center/index.tsx`
- 订单列表按状态筛选(待付款/待发货/待收货/已完成)
- 支持操作:标记已付款、标记已发货、标记已完成
- 操作时需要上传凭证图片拍照或相册选择最多3张
- 凭证图片上传到 `https://shop-api.websoft.top/api/oss/upload`
- 操作成功后刷新订单列表
- 修改 `src/app.config.ts`:注册新页面 `pages/store/center/index`
- 订单状态字段说明(`ShopOrder`
- `payStatus: boolean``false`=未付款,`true`=已付款
- `deliveryStatus: number``10`=未发货,`20`=已发货
- `orderStatus: number``0`=正常,`1`=已完成,`2`=已取消