Commit bcc9e65ad23ecdefded301180c897456bf93c7a5
1 parent
812d7096
预售的订单优化
Showing
2 changed files
with
4 additions
and
3 deletions
packageC/pages/presell/cart/cart2_pre.js
... | ... | @@ -614,8 +614,8 @@ Page({ |
614 | 614 | //--------------------提交订单----------------------- |
615 | 615 | submitForm: function(t){ |
616 | 616 | var th=this; |
617 | - //如果商家不同意退定义 | |
618 | - if(!this.data.act.is_refundmoney && !th.agree_no_ref){ | |
617 | + //如果是部分定金,商家不同意退定金, | |
618 | + if(this.data.act.presell_type!=1 && !this.data.act.is_refundmoney && !th.agree_no_ref){ | |
619 | 619 | wx.showModal({ |
620 | 620 | content: ' 预售商品不允许退定金!是否继续下单?', |
621 | 621 | showCancel: true,//是否显示取消按钮 | ... | ... |
pages/user/order_list/order_list.wxml
... | ... | @@ -46,8 +46,9 @@ |
46 | 46 | <text wx:if="{{item.presell.tail_pay_state==2}}">尾款支付失败</text> |
47 | 47 | </block> |
48 | 48 | <block wx:else> |
49 | - <text wx:if="{{!item.presell.deposit_pay_time}}">待支付定金</text> | |
49 | + <text wx:if="{{item.presell.presell_type==0 && !item.presell.deposit_pay_time}}">待支付定金</text> | |
50 | 50 | <text wx:if="{{item.presell.presell_type!=1 && item.presell.deposit_pay_time && !item.presell.tail_pay_state}}">待尾款</text> |
51 | + <text wx:if="{{item.presell.presell_type==1 && item.order_status<2 && item.pay_status<1 }}">未支付</text> | |
51 | 52 | </block> |
52 | 53 | |
53 | 54 | <block wx:if="{{!(item.is_all_return_status==0 || item.is_all_return_status==1)}}"> | ... | ... |