adPayHome.wxml
3.6 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
<!--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:for="{{taxDatas}}" style='margin-bottom:20rpx'>
<view class='card_rectangle_bg_column' style='padding:30rpx' id='{{item.id}}' bindtap='goItemDetails'>
<text style='text-align:left;font-size: 28rpx;color: #333;font-family: PingFangSC-Semibold;'>所得项目:{{item.taxation_method=='salary'?'工资薪金':'劳务报酬'}}</text>
<view class='divide_line_f5f5f5' style='margin:30rpx 0'></view>
<!-- <text class='text_666_28'>累计收入额:{{item.}}</text> -->
<!-- <text class='text_666_28'>当期收入额:{{item.}}</text> -->
<text class='text_666_28'>累计应缴纳所得额:{{item.accumulated_taxable_income}}</text>
<text class='text_666_28'>累计应扣缴税额:{{item.accumulated_withholding_tax}}</text>
<text class='text_666_28'>已预交税额:{{item.prepay_tax}}</text>
<text class='text_666_28'>本期应缴税额:{{item.personal_tax}}</text>
</view>
</view>
</view>
<view wx:else> <!-- 工资明细 -->
<view wx:for="{{salaryDatas}}" style='margin-bottom:20rpx'>
<view class='card_rectangle_bg_column' style='padding:30rpx'>
<text style='text-align:left;font-size: 28rpx;color: #333;font-family: PingFangSC-Semibold;'>薪酬批次工资:{{}}</text>
<view class='divide_line_f5f5f5' style='margin:20rpx 0'></view>
<text class='text_666_28'>发薪日:{{item.payroll_date}}</text>
<text class='text_666_28'>计薪时间:{{item.count_date}}</text>
<text class='text_666_28'>应发额度:{{item.pay_salary}}</text>
<text class='text_666_28'>实发:{{item.salary}}</text>
<view class='divide_line_f5f5f5' style='margin:20rpx 0'></view>
<view wx:if="{{!isshow}}" bindtap='gospan' id='{{item.id}}'>
<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="{{isshow}}" bindtap='gospan'>
<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>
<view wx:if="{{isshow}}" wx:for="{{item.detals}}" wx:for-item='detal'>
<view>
<text class='text_wrap_left' style='font-size:28rpx;color:#999;text-align:left'>{{detal.title}}</text>
<text class='text_wrap_right' style='font-size:28rpx;color:#999;text-align:right'>{{detal.value}}</text>
</view>
</view>
</view>
</view>
</view>
</view>
</view>