adPayHome.wxml
4.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<!--pages/main/advancepayment/home.wxml-->
<view>
<picker mode="date" fields="month" start="1970-01" end="2100-01" bindchange="datePickerChange">
<view style='padding: 0 30rpx;background:#2F72E0'>
<text class='text_white_28'>{{choosed_date}}</text>
<view class='float_right'>
<image class='arrow_wrap' src='/images/arrow_down.png'></image>
</view>
</view>
</picker>
<view class="swiper-tab" style='display:flex'>
<view class="swiper-tab-list {{currentTab==0 ? 'on' : ''}}" style="margin:0 90rpx" data-current="0" bindtap="swichNav">预扣预缴</view>
<view class="swiper-tab-list {{currentTab==1 ? 'on' : ''}}" style="margin:0 90rpx" data-current="1" bindtap="swichNav">工资明细</view>
</view>
<view style='height:10rpx;background:#f8f8f8'></view>
<view class="swiper-box page" style="height:100%;margin-top:20rpx" bindchange="bindChange">
<view wx:if="{{currentTab==0}}">
<view wx:if="{{hascompleted_tax&&taxDatas.length<1}}" style='background:#fff;width:100%; align-items: center;'>
<image style='width:418rpx;height:254rpx;margin: 0 auto;padding-top:300rpx; display: block;' mode="aspectFit" src='/images/noDataIcon.jpg'></image>
<view style='width:100%; font-family: PingFang-SC-Medium;font-size: 14px;color: #999999;letter-spacing: 0;text-align: center;'>还没有企业为您申报个税哦~</view>
</view>
<view wx:for="{{taxDatas}}" style='margin-bottom:20rpx'>
<view class='card_rectangle_bg_column' style='padding:30rpx' id='{{index}}' bindtap='goItemDetails'>
<text class='text_blue_36'>扣缴义务人: {{item.declaring_unit}}</text>
<text class='text_blue_36'>所得项目: {{item.method}}</text>
<view class='divide_line_f5f5f5' style='margin:30rpx 0'></view>
<!-- <text class='text_999_28'>累计收入额:{{item.personal_income}}</text> -->
<text class='text_999_28'>当期收入额:<text class='text_333_28 left_360'>¥{{item.personal_income}}</text></text>
<text class='text_999_28'>累计应缴纳所得额:<text class='text_333_28 left_360'>¥{{item.accumulated_taxable_income}}</text></text>
<text class='text_999_28'>累计应扣缴税额:<text class='text_333_28 left_360'>¥{{item.accumulated_withholding_tax}}</text></text>
<text class='text_999_28'>已预交税额:<text class='text_333_28 left_360'>¥{{item.prepay_tax}}</text></text>
<text class='text_999_28'>本期应缴税额:<text class='text_333_28 text_color_28 left_360'>¥{{item.refund_tax}}</text></text>
</view>
</view>
</view>
<view wx:else> <!-- 工资明细 -->
<view wx:if="{{hascompleted_sal&&salaryDatas.length<1}}" style='background:#fff;'>
<image style='width:418rpx;height:254rpx;margin: 0 auto;padding-top:300rpx; display: block;' mode="aspectFit" src='/images/noDataIcon.jpg'></image>
<view style='width:100%; font-family: PingFang-SC-Medium;font-size: 14px;color: #999999;letter-spacing: 0;text-align: center;'>您还没有工资条哦~</view>
</view>
<view wx:for="{{salaryDatas}}" style='margin-bottom:20rpx'>
<view class='card_rectangle_bg_column' style='padding:30rpx'>
<text class='text_blue_36'>薪酬批次工资: {{item.cycle_name}}</text>
<view class='divide_line_f5f5f5' style='margin:20rpx 0'></view>
<text class='text_999_28'>发薪日:<text class='text_333_28'>{{item.payroll_date}}</text></text>
<text class='text_999_28'>计薪时间:<text class='text_333_28'>{{item.count_date}}</text></text>
<text class='text_999_28'>应发金额:<text class='text_333_28'>{{item.pay_salary}}</text></text>
<text class='text_999_28'>实发:<text class='text_333_28 text_color_28'>¥{{item.real_salary}}</text></text>
<view class='divide_line_f5f5f5' style='margin:20rpx 0'></view>
<view wx:if="{{!item.isshow}}" bindtap='gospan' id='{{index}}'>
<text style='font-size:28rpx;color:#4e8fe7;text-align:left'>展开</text>
<image class='head_image_wrap_down' src='/images/arrow_blue_down.png'></image>
</view>
<view wx:if="{{item.isshow}}" bindtap='gospan' id='{{index}}'>
<text style='font-size:28rpx;color:#4e8fe7;text-align:left'>收起</text>
<image class='head_image_wrap_up' src='/images/arrow_blue_up.png'></image>
<view class='divide_line_f5f5f5' style='margin:30rpx 0'></view>
</view>
<view wx:if="{{item.isshow}}" wx:for="{{item.detals}}" wx:for-item='detal'>
<view>
<text class='text_999_28'>{{detal.title}}</text>
<text class='text_999_28' style='color:#333;text-align:right;float: right'>{{detal.value}}</text>
</view>
</view>
</view>
</view>
</view>
</view>
</view>