feat: 去掉商品取货码,管理员可直接发货完成

已付款订单不再生成或核验取货码,管理员确认后即可完成订单。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
richarjiang
2026-09-25 11:22:15 +08:00
parent a76afb19de
commit 21e3ece21c
15 changed files with 35 additions and 68 deletions

View File

@@ -3,8 +3,8 @@ import { post } from './request'
export const shopMoney = (fen: number) => (fen / 100).toFixed(2)
export const shopStatus: Record<ShopOrderStatus, string> = {
PENDING: '待付款',
PAID: '待到馆取货',
COMPLETED: '已取货',
PAID: '待发货',
COMPLETED: '已完成',
CANCELLED: '已取消',
}
export const shopError = (error: unknown) =>