Commit 1e3369c57f3cf48927e5acd5d6ebafbbf844d83a
1 parent
622c8039
退款评价中的购买时间改成退款时间
Showing
2 changed files
with
4 additions
and
3 deletions
packageB/pages/evaluate/evaluate.wxml
| ... | ... | @@ -29,7 +29,8 @@ |
| 29 | 29 | |
| 30 | 30 | <!-- 时间 --> |
| 31 | 31 | <view class="flex-center item"> |
| 32 | - <view class="itemlf fs32 flex-level-right">购买时间:</view> | |
| 32 | + <view class="itemlf fs32 flex-level-right" wx:if="{{ftype==5}}">退款时间:</view> | |
| 33 | + <view class="itemlf fs32 flex-level-right" wx:else>购买时间:</view> | |
| 33 | 34 | <view class="itemlr fs30">{{it.BillDate}}</view> |
| 34 | 35 | </view> |
| 35 | 36 | ... | ... |
packageE/pages/cart/cart_wk/cart_wk.js
| ... | ... | @@ -8,7 +8,7 @@ var regeneratorRuntime = require('../../../../utils/runtime.js'); |
| 8 | 8 | |
| 9 | 9 | Page({ |
| 10 | 10 | /** |
| 11 | - * 页面的初始数据 | |
| 11 | + * 页面的初始数据 | |
| 12 | 12 | */ |
| 13 | 13 | data: { |
| 14 | 14 | imgUrl: t.globalData.setting.imghost, |
| ... | ... | @@ -375,7 +375,7 @@ Page({ |
| 375 | 375 | }) |
| 376 | 376 | |
| 377 | 377 | var tail_money = (price * order_goods.goods_num - order['order_amount'] - order['user_money']).toFixed(2); |
| 378 | - | |
| 378 | + order.pre_cut=0 | |
| 379 | 379 | if(ord_m && ord_m.pre_cut){ |
| 380 | 380 | tail_money-=ord_m.pre_cut; |
| 381 | 381 | order.pre_cut=ord_m.pre_cut; | ... | ... |