{{define "admin_shop_orders"}}

支付为模拟支付(不产生真实扣款):确认收款后在订单上「标记支付成功」;核销支持「列表核销」与「输入核销码核销」两种方式。

← 返回商品管理
{{if .Data.Ok}}
{{.Data.Ok}}
{{end}} {{if .Data.Err}}
{{.Data.Err}}
{{end}}

输入核销码核销

核销码在下单时生成,客人订单详情页可见;只核销已支付订单。
全部 {{index .Data.Counts ""}} 待支付 {{index .Data.Counts "pending"}} 已支付 {{index .Data.Counts "paid"}} 已核销 {{index .Data.Counts "redeemed"}} 已取消 {{index .Data.Counts "canceled"}}
{{if .Data.Orders}} {{range .Data.Orders}} {{end}}
订单号 商品 金额 买家 状态 核销码 下单时间 操作
{{.OrderNo}} {{.ProductTitle}}
¥{{.ProductPrice}} × {{.Quantity}}{{if .CouponCode}} · 优惠 {{.DiscountLabel}}{{end}}
¥{{.Amount}} {{.Buyer}} {{if .Contact}}
{{.Contact}}
{{end}}
{{.StatusLabel}} {{if .VerifyCode}}{{.VerifyCode}} {{else}}—{{end}} {{if .VerifyTime}}
{{.VerifyTimeLabel}} · {{.VerifiedBy}}
{{end}}
{{date .CreatedAt}}
{{if eq .Status "pending"}}
{{else if eq .Status "paid"}}
{{else}} — {{end}}
{{if gt .Data.Total .Data.PerPage}} {{end}} {{else}}
{{if .Data.Status}}这个状态下还没有订单{{else}}还没有订单,客人在前台商品页下单后会出现在这里{{end}}
{{end}}
{{end}}