提交 8318ab0efccd2ad27aa30a05d0ac47278a759baa

作者 wangyu
1 个父辈 649e203a

优化逻辑

@@ -296,6 +296,12 @@ Page({ @@ -296,6 +296,12 @@ Page({
296 }) 296 })
297 }, 297 },
298 298
  299 + refundDetail:function(){//退税详情
  300 + wx.navigateTo({
  301 + url: 'refundDetail/refundDetail',
  302 + })
  303 + },
  304 +
299 updateText:function(data){ 305 updateText:function(data){
300 var text = "" 306 var text = ""
301 var text_status = "" 307 var text_status = ""
@@ -113,7 +113,7 @@ @@ -113,7 +113,7 @@
113 </view> 113 </view>
114 </view> 114 </view>
115 115
116 - <view wx:if="{{refund_status=='1'}}" style="width:100%;height:300rpx;position: fixed;bottom: 0;background-color:#fff"> 116 + <view wx:if="{{refund_status=='1'&&false}}" style="width:100%;height:300rpx;position: fixed;bottom: 0;background-color:#fff">
117 <view style="display: flex;justify-content: center;margin-top:20rpx"> 117 <view style="display: flex;justify-content: center;margin-top:20rpx">
118 <text class="text_gray6_28">距离确认是否申请退税时间还有 </text> 118 <text class="text_gray6_28">距离确认是否申请退税时间还有 </text>
119 <text class="text_yellow_28"> {{declare_end_days}} </text> 119 <text class="text_yellow_28"> {{declare_end_days}} </text>
@@ -127,6 +127,12 @@ @@ -127,6 +127,12 @@
127 </view> 127 </view>
128 </view> 128 </view>
129 129
  130 + <view wx:if="{{refund_status=='2'||refund_status=='3'||refund_status=='4'}}" style="width:100%;height:144rpx;position: fixed;bottom: 0;background-color:#fff">
  131 + <view bindtap="refundDetail" class="btn_white_radius" style="margin:30rpx ">
  132 + <view class="text_blue_34">查看退税详情</view>
  133 + </view>
  134 + </view>
  135 +
130 <view class="mask" wx:if="{{showModal_selfDeclare}}"></view> 136 <view class="mask" wx:if="{{showModal_selfDeclare}}"></view>
131 <view class='modal_lg' style='' wx:if="{{showModal_selfDeclare}}"> 137 <view class='modal_lg' style='' wx:if="{{showModal_selfDeclare}}">
132 <text class='text_black_bold'>个人如何自行完成汇算清缴申报?</text> 138 <text class='text_black_bold'>个人如何自行完成汇算清缴申报?</text>
@@ -8,6 +8,7 @@ Page({ @@ -8,6 +8,7 @@ Page({
8 */ 8 */
9 data: { 9 data: {
10 year:"2019", 10 year:"2019",
  11 + refund_status: "", //退税状态 "0" 无需退税; "1" 待退税;"2" 退税中"3" 退税成功;"4"退税失败;"5"放弃退税;
11 refundInfo:{} 12 refundInfo:{}
12 }, 13 },
13 14
1 <view> 1 <view>
2 2
3 <view style="background:#fff;padding:30rpx;margin-top:20rpx"> 3 <view style="background:#fff;padding:30rpx;margin-top:20rpx">
4 - <view style="margin-bottom:20rpx"> 4 + <view wx:if="{{refund_status=='4'}}" style="margin-bottom:20rpx">
5 <text class="text_black3_34">退税详情</text> 5 <text class="text_black3_34">退税详情</text>
6 <view class="light_blue_bg" style="display:flex"> 6 <view class="light_blue_bg" style="display:flex">
7 <text style="font-size:14px;color:#54B4F5;margin: 0 auto">退款成功</text> 7 <text style="font-size:14px;color:#54B4F5;margin: 0 auto">退款成功</text>
8 </view> 8 </view>
9 </view> 9 </view>
10 - <view wx:if="{{false}}" style="margin-bottom:20rpx"> 10 + <view wx:else style="margin-bottom:20rpx">
11 <text class="text_black3_34">退税详情</text> 11 <text class="text_black3_34">退税详情</text>
12 <view class="light_yellow_bg" style="display:flex"> 12 <view class="light_yellow_bg" style="display:flex">
13 - <text style="font-size:14px;color:#FF8F1F;margin: 0 auto">申请中</text> 13 + <text style="font-size:14px;color:#FF8F1F;margin: 0 auto">{{refund_status=='2'?'申请中':'退税失败'}}</text>
14 </view> 14 </view>
15 </view> 15 </view>
16 <view class="divide_line" style="margin-bottom:20rpx"></view> 16 <view class="divide_line" style="margin-bottom:20rpx"></view>
17 <view> 17 <view>
18 <text class="text_black6_32">开户人姓名</text> 18 <text class="text_black6_32">开户人姓名</text>
19 - <text class="text_black6_32 float_right">张三</text> 19 + <text class="text_black6_32 float_right">{{refundInfo.name}}</text>
20 </view> 20 </view>
21 <view> 21 <view>
22 <text class="text_black6_32">申请退税金额</text> 22 <text class="text_black6_32">申请退税金额</text>
23 - <text class="text_black6_32 float_right">30000.00</text> 23 + <text class="text_black6_32 float_right">{{refundInfo.accumulated_refund_tax}}</text>
24 </view> 24 </view>
25 <view> 25 <view>
26 <text class="text_black6_32">银行卡号</text> 26 <text class="text_black6_32">银行卡号</text>
27 - <text class="text_black6_32 float_right">62218828283939</text> 27 + <text class="text_black6_32 float_right">{{refundInfo.bank_card_no}}</text>
28 </view> 28 </view>
29 <view> 29 <view>
30 <text class="text_black6_32">开户银行名称</text> 30 <text class="text_black6_32">开户银行名称</text>
31 - <text class="text_black6_32 float_right">招商银行</text> 31 + <text class="text_black6_32 float_right">{{refundInfo.bank}}</text>
32 </view> 32 </view>
33 <view> 33 <view>
34 <text class="text_black6_32">开户银行省份</text> 34 <text class="text_black6_32">开户银行省份</text>
35 - <text class="text_black6_32 float_right">湖北</text> 35 + <text class="text_black6_32 float_right">{{refundInfo.bank_province}}</text>
36 </view> 36 </view>
37 </view> 37 </view>
38 </view> 38 </view>
注册登录 后发表评论