update for show cancel correctly
Showing
2 changed files
with
2 additions
and
14 deletions
@@ -25,20 +25,6 @@ const returnAddress = { | @@ -25,20 +25,6 @@ const returnAddress = { | ||
25 | phone: '17714194699' | 25 | phone: '17714194699' |
26 | }; | 26 | }; |
27 | 27 | ||
28 | -// const _reduceArrByProductSku = data => { | ||
29 | -// const d = []; | ||
30 | -// | ||
31 | -// d.push(data[0]); | ||
32 | -// | ||
33 | -// data.reduce((p, c) => { //eslint-disable-line | ||
34 | -// if (p && c && p.productSku !== c.productSku) { | ||
35 | -// d.push[c]; | ||
36 | -// } | ||
37 | -// }); | ||
38 | -// | ||
39 | -// return d; | ||
40 | -// }; | ||
41 | - | ||
42 | /** | 28 | /** |
43 | * 获取用户退换货列表 | 29 | * 获取用户退换货列表 |
44 | * @function getUserReturn | 30 | * @function getUserReturn |
@@ -19,7 +19,9 @@ | @@ -19,7 +19,9 @@ | ||
19 | <p class="subtext badge refund-type">{{refundStr}}</p> | 19 | <p class="subtext badge refund-type">{{refundStr}}</p> |
20 | </div> | 20 | </div> |
21 | <div class="common-column special-border operation"> | 21 | <div class="common-column special-border operation"> |
22 | + {{#isY canCancel}} | ||
22 | <p class="subtext cancel-apply" data-type="{{method}}" data-apply-id="{{id}}">取消申请</p> | 23 | <p class="subtext cancel-apply" data-type="{{method}}" data-apply-id="{{id}}">取消申请</p> |
24 | + {{/isY}} | ||
23 | <a href="{{detailUrl}}"> | 25 | <a href="{{detailUrl}}"> |
24 | <p class="subtext">查看详情</p> | 26 | <p class="subtext">查看详情</p> |
25 | </a> | 27 | </a> |
-
Please register or login to post a comment