@if (loading()) {
正在加载订单
} @else { @if (order(); as item) {
订单号{{ item['OrderNo'] || item['id'] || item['ID'] }}
{{ isMerchant() ? orderStatus() : (isPaid() ? '已支付' : '待付款') }}
支付
发货
完成

{{ isPickup() ? '到店自提' : '收货信息' }}

@if (isPickup()) {
取货状态
{{ isPickedUp() ? '货物已被取出' : '暂未上门取货' }}
} @else {
收货人
{{ item['Receiver'] || item['ReceivName'] || '-' }}
联系电话
{{ item['MobileNum'] || item['Mobile'] || '-' }}
收货地址
{{ item['Shengfen'] || '' }} {{ item['Jiedao'] || item['Address'] || '-' }}
}

商品清单

@for (cart of carts(); track cart['CartID'] ?? cart['ID'] ?? $index) {
{{ itemName(cart) }}数量 × {{ cart['Pronum'] || cart['pronum'] || 1 }}
¥{{ cart['Shijia'] || cart['AllMoney'] || cart['LinPrice'] || 0 }}
}
@if (discount() > 0) { 优惠券已减免 ¥{{ discount() | number:'1.2-2' }} }订单金额 ¥{{ amount() | number:'1.2-2' }}

快递信息

@if (express()['ID']) {
快递公司
{{ express()['ExpComp'] || '-' }}
快递单号
{{ express()['ExpNo'] || '-' }}
@if (express()['ExpRemind']) {
快递备注
{{ express()['ExpRemind'] }}
}
} @else {

暂无物流信息

}

发票信息

@if (needsInvoice()) {
发票类型
{{ invoiceType() }}
{{ invoiceType() === '个人' ? '姓名' : '企业名称' }}
{{ invoice()['InvHead'] || '-' }}
{{ invoiceType() === '个人' ? '身份证号' : '信用代码' }}
{{ invoice()['UserCode'] || '-' }}
联系邮箱
{{ invoice()['UserEmail'] || '-' }}
@if (invoiceType() === '企业') {
注册电话
{{ invoice()['UserMobile'] || '-' }}
注册地址
{{ invoice()['UserAddress'] || '-' }}
开户银行
{{ invoice()['UserBankName'] || '-' }}
银行账号
{{ invoice()['UserBankAccount'] || '-' }}
}
} @else {

该订单无需开具发票

}
@if (isMerchant()) {
买家头像{{ buyer()['honeyName'] || buyer()['userName'] || '买家' }}
} @if (!isMerchant() && !isPaid()) {

重新支付

}
} } @if (deliveryOpen()) {

发送货物

}