order-list.hbs
1.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<div class="order-list">
{{#if orders}}
{{#each orders}}
<div class="item">
<div class="item-head">
<span class="time">{{time}}</span>
<span class="order-no">订单号:<span class="red">{{orderCode}}</span></span>
</div>
{{#each ordersGoodsBoList}}
<div class="item-body">
<a href="/erp2goods?sku={{productSku}}" target="_blank"><img src="{{image imgUrl 86 120}}" class="prd-img"></a>
<div class="prd-desc">
<a href="/erp2goods?sku={{productSku}}" target="_blank"><p class="prd-nm">{{productName}}</p></a>
<p class="prd-other">
<span class="price">¥{{lastPrice}}</span>
<span class="quantity">数量:{{buyNumber}}</span>
</p>
</div>
</div>
{{/each}}
<div class="item-footer">
<p class="order-amount">订单金额:¥{{lastOrderAmount}}</p>
<div class="order-other">
<span class="state">订单状态:{{orderStatusDesc}}</span>
<span class="btn send-order" data-no="{{orderCode}}"
data-nm="{{lastOrderAmount}}" data-time="{{time}}"
data-status="{{orderStatusDesc}}">发送订单</span>
</div>
</div>
</div>
{{/each}}
<div class="list-tip">
<span class="tip">已经到底了</span>
</div>
{{else}}
<div class="list-tip">
<span class="tip">暂无订单</span>
</div>
{{/if}}
</div>