提交 1b4ebab9f54d1d4472bd59f73d0e1f2d793d2a36
Merge branch 'dev2.0' of http://192.144.137.25:8888/wangyu/naturalPersonTax into dev2.0
正在显示
4 个修改的文件
包含
52 行增加
和
16 行删除
| @@ -962,6 +962,10 @@ Page({ | @@ -962,6 +962,10 @@ Page({ | ||
| 962 | this.showToast('请填写子女证照号码') | 962 | this.showToast('请填写子女证照号码') |
| 963 | return | 963 | return |
| 964 | } | 964 | } |
| 965 | + if (!format.isIDCardNum(formdata.children_id_card_no)) { | ||
| 966 | + this.showToast('身份证格式有误') | ||
| 967 | + return | ||
| 968 | + } | ||
| 965 | if (!formdata.children_name || formdata.children_name.length < 1) { | 969 | if (!formdata.children_name || formdata.children_name.length < 1) { |
| 966 | this.showToast('请填写子女姓名') | 970 | this.showToast('请填写子女姓名') |
| 967 | return | 971 | return |
| @@ -1002,7 +1006,10 @@ Page({ | @@ -1002,7 +1006,10 @@ Page({ | ||
| 1002 | } else if (!formdata.spouse_id_card_no || formdata.spouse_id_card_no.length < 1) { | 1006 | } else if (!formdata.spouse_id_card_no || formdata.spouse_id_card_no.length < 1) { |
| 1003 | this.showToast('请填写配偶证照号码') | 1007 | this.showToast('请填写配偶证照号码') |
| 1004 | return | 1008 | return |
| 1005 | - } else if (this.data.loverbirthDate.selected.length < 1) { | 1009 | + } else if (!format.isIDCardNum(formdata.spouse_id_card_no)) { |
| 1010 | + this.showToast('配偶身份证格式有误') | ||
| 1011 | + return | ||
| 1012 | + }else if (this.data.loverbirthDate.selected.length < 1) { | ||
| 1006 | this.showToast('请选择配偶出生日期') | 1013 | this.showToast('请选择配偶出生日期') |
| 1007 | return | 1014 | return |
| 1008 | } | 1015 | } |
| @@ -1092,6 +1099,9 @@ Page({ | @@ -1092,6 +1099,9 @@ Page({ | ||
| 1092 | } else if (!formdata.id_card_no || formdata.id_card_no.length < 1) { | 1099 | } else if (!formdata.id_card_no || formdata.id_card_no.length < 1) { |
| 1093 | this.showToast('请填写赡养人证照号') | 1100 | this.showToast('请填写赡养人证照号') |
| 1094 | return | 1101 | return |
| 1102 | + } else if (!format.isIDCardNum(formdata.id_card_no)) { | ||
| 1103 | + this.showToast('赡养人身份证格式有误') | ||
| 1104 | + return | ||
| 1095 | } | 1105 | } |
| 1096 | if (this.data.olderbirthDate.selected.length < 1) { | 1106 | if (this.data.olderbirthDate.selected.length < 1) { |
| 1097 | this.showToast('请选择赡养人出生日期') | 1107 | this.showToast('请选择赡养人出生日期') |
| @@ -1124,6 +1134,9 @@ Page({ | @@ -1124,6 +1134,9 @@ Page({ | ||
| 1124 | } else if (!formdata.id_card_no || formdata.id_card_no.length < 1) { | 1134 | } else if (!formdata.id_card_no || formdata.id_card_no.length < 1) { |
| 1125 | this.showToast('请填写证照号码') | 1135 | this.showToast('请填写证照号码') |
| 1126 | return | 1136 | return |
| 1137 | + } else if (!format.isIDCardNum(formdata.id_card_no)) { | ||
| 1138 | + this.showToast('身份证格式有误') | ||
| 1139 | + return | ||
| 1127 | } else if (this.data.commonbirthDate.selected.length < 1) { | 1140 | } else if (this.data.commonbirthDate.selected.length < 1) { |
| 1128 | this.showToast('请选择病人出生日期') | 1141 | this.showToast('请选择病人出生日期') |
| 1129 | return | 1142 | return |
| @@ -1221,6 +1234,9 @@ Page({ | @@ -1221,6 +1234,9 @@ Page({ | ||
| 1221 | } else if (!formdata.owner_id_card_no || formdata.owner_id_card_no.length < 1) { | 1234 | } else if (!formdata.owner_id_card_no || formdata.owner_id_card_no.length < 1) { |
| 1222 | this.showToast('请填写证照号码') | 1235 | this.showToast('请填写证照号码') |
| 1223 | return | 1236 | return |
| 1237 | + } else if (!format.isIDCardNum(formdata.owner_id_card_no)) { | ||
| 1238 | + this.showToast('身份证格式有误') | ||
| 1239 | + return | ||
| 1224 | } else if (this.data.rentLocateInfo.address_value[0].length < 1) { | 1240 | } else if (this.data.rentLocateInfo.address_value[0].length < 1) { |
| 1225 | this.showToast('请选择房屋地址') | 1241 | this.showToast('请选择房屋地址') |
| 1226 | return | 1242 | return |
| @@ -1256,6 +1272,9 @@ Page({ | @@ -1256,6 +1272,9 @@ Page({ | ||
| 1256 | } else if (!formdata.spouse_id_card_no || formdata.spouse_id_card_no.length < 1) { | 1272 | } else if (!formdata.spouse_id_card_no || formdata.spouse_id_card_no.length < 1) { |
| 1257 | this.showToast('请填写配偶证照号码') | 1273 | this.showToast('请填写配偶证照号码') |
| 1258 | return | 1274 | return |
| 1275 | + } else if (!format.isIDCardNum(formdata.spouse_id_card_no)) { | ||
| 1276 | + this.showToast('配偶身份证格式有误') | ||
| 1277 | + return | ||
| 1259 | } else if (this.data.loverbirthDate.selected.length < 1) { | 1278 | } else if (this.data.loverbirthDate.selected.length < 1) { |
| 1260 | this.showToast('请选择配偶出生日期') | 1279 | this.showToast('请选择配偶出生日期') |
| 1261 | return | 1280 | return |
| @@ -19,24 +19,24 @@ | @@ -19,24 +19,24 @@ | ||
| 19 | <view class='card_rectangle_bg_column' style='padding:30rpx' id='{{item.id}}' bindtap='goItemDetails'> | 19 | <view class='card_rectangle_bg_column' style='padding:30rpx' id='{{item.id}}' bindtap='goItemDetails'> |
| 20 | <text style='text-align:left;font-size: 28rpx;color: #333;font-family: PingFangSC-Semibold;'>所得项目:{{item.method}}</text> | 20 | <text style='text-align:left;font-size: 28rpx;color: #333;font-family: PingFangSC-Semibold;'>所得项目:{{item.method}}</text> |
| 21 | <view class='divide_line_f5f5f5' style='margin:30rpx 0'></view> | 21 | <view class='divide_line_f5f5f5' style='margin:30rpx 0'></view> |
| 22 | - <!-- <text class='text_666_28'>累计收入额:{{item.personal_income}}</text> --> | ||
| 23 | - <text class='text_666_28'>当期收入额:{{item.personal_income}}</text> | ||
| 24 | - <text class='text_666_28'>累计应缴纳所得额:{{item.accumulated_taxable_income}}</text> | ||
| 25 | - <text class='text_666_28'>累计应扣缴税额:{{item.accumulated_withholding_tax}}</text> | ||
| 26 | - <text class='text_666_28'>已预交税额:{{item.prepay_tax}}</text> | ||
| 27 | - <text class='text_666_28'>本期应缴税额:{{item.personal_tax}}</text> | 22 | + <!-- <text class='text_999_28'>累计收入额:{{item.personal_income}}</text> --> |
| 23 | + <text class='text_999_28'>当期收入额:{{item.personal_income}}</text> | ||
| 24 | + <text class='text_999_28'>累计应缴纳所得额:{{item.accumulated_taxable_income}}</text> | ||
| 25 | + <text class='text_999_28'>累计应扣缴税额:{{item.accumulated_withholding_tax}}</text> | ||
| 26 | + <text class='text_999_28'>已预交税额:{{item.prepay_tax}}</text> | ||
| 27 | + <text class='text_999_28'>本期应缴税额:{{item.personal_tax}}</text> | ||
| 28 | </view> | 28 | </view> |
| 29 | </view> | 29 | </view> |
| 30 | </view> | 30 | </view> |
| 31 | <view wx:else> <!-- 工资明细 --> | 31 | <view wx:else> <!-- 工资明细 --> |
| 32 | <view wx:for="{{salaryDatas}}" style='margin-bottom:20rpx'> | 32 | <view wx:for="{{salaryDatas}}" style='margin-bottom:20rpx'> |
| 33 | <view class='card_rectangle_bg_column' style='padding:30rpx'> | 33 | <view class='card_rectangle_bg_column' style='padding:30rpx'> |
| 34 | - <text style='text-align:left;font-size: 28rpx;color: #333;font-family: PingFangSC-Semibold;'>薪酬批次工资: {{item.program}}</text> | 34 | + <text class='text_blue_36'>薪酬批次工资: {{item.program}}</text> |
| 35 | <view class='divide_line_f5f5f5' style='margin:20rpx 0'></view> | 35 | <view class='divide_line_f5f5f5' style='margin:20rpx 0'></view> |
| 36 | - <text class='text_666_28'>发薪日:{{item.payroll_date}}</text> | ||
| 37 | - <text class='text_666_28'>计薪时间:{{item.count_date}}</text> | ||
| 38 | - <text class='text_666_28'>应发额度:{{item.pay_salary}}</text> | ||
| 39 | - <text class='text_666_28'>实发:{{item.salary}}</text> | 36 | + <text class='text_999_28'>发薪日:<text class='text_333_28'>{{item.payroll_date}}</text></text> |
| 37 | + <text class='text_999_28'>计薪时间:<text class='text_333_28'>{{item.count_date}}</text></text> | ||
| 38 | + <text class='text_999_28'>应发额度:<text class='text_333_28'>{{item.pay_salary}}</text></text> | ||
| 39 | + <text class='text_999_28'>实发:<text class='text_333_28 text_color_28'>¥{{item.salary}}</text></text> | ||
| 40 | <view class='divide_line_f5f5f5' style='margin:20rpx 0'></view> | 40 | <view class='divide_line_f5f5f5' style='margin:20rpx 0'></view> |
| 41 | <view wx:if="{{!isshow}}" bindtap='gospan' id='{{item.id}}'> | 41 | <view wx:if="{{!isshow}}" bindtap='gospan' id='{{item.id}}'> |
| 42 | <text style='font-size:28rpx;color:#4e8fe7;text-align:left'>展开</text> | 42 | <text style='font-size:28rpx;color:#4e8fe7;text-align:left'>展开</text> |
| @@ -6,12 +6,23 @@ | @@ -6,12 +6,23 @@ | ||
| 6 | line-height: 70rpx; | 6 | line-height: 70rpx; |
| 7 | } | 7 | } |
| 8 | 8 | ||
| 9 | -.text_666_28 { | 9 | +.text_999_28 { |
| 10 | font-size: 28rpx; | 10 | font-size: 28rpx; |
| 11 | - color: #666; | 11 | + color: #999; |
| 12 | font-family: PingFangSC-Regular; | 12 | font-family: PingFangSC-Regular; |
| 13 | + line-height: 70rpx; | ||
| 14 | + text-align:left; | ||
| 15 | +} | ||
| 16 | +.text_333_28 { | ||
| 17 | + color: #333; | ||
| 18 | + position: absolute; | ||
| 19 | + left: 190rpx; | ||
| 20 | + line-height: 70rpx; | ||
| 21 | +} | ||
| 22 | +.text_color_28{ | ||
| 23 | + font-family: PingFangSC-Semibold; | ||
| 24 | + color: #FF9F00; | ||
| 13 | } | 25 | } |
| 14 | - | ||
| 15 | .arrow_wrap { | 26 | .arrow_wrap { |
| 16 | position: relative; | 27 | position: relative; |
| 17 | width: 20rpx; | 28 | width: 20rpx; |
| @@ -65,6 +76,12 @@ | @@ -65,6 +76,12 @@ | ||
| 65 | font-family: PingFangSC-Semibold; | 76 | font-family: PingFangSC-Semibold; |
| 66 | line-height: 100rpx; | 77 | line-height: 100rpx; |
| 67 | } | 78 | } |
| 79 | +.text_blue_36 { | ||
| 80 | + font-size: 36rpx; | ||
| 81 | + color: #6c7596; | ||
| 82 | + font-family: PingFangSC-Medium; | ||
| 83 | + line-height: 50rpx; | ||
| 84 | +} | ||
| 68 | 85 | ||
| 69 | .icon_wrap { | 86 | .icon_wrap { |
| 70 | width: 8rpx; | 87 | width: 8rpx; |
| @@ -110,7 +110,7 @@ Page({ | @@ -110,7 +110,7 @@ Page({ | ||
| 110 | //对各参数初始赋值 | 110 | //对各参数初始赋值 |
| 111 | handleDatas: function (tax_info) { | 111 | handleDatas: function (tax_info) { |
| 112 | 112 | ||
| 113 | - var isDisable = tax_info.certification_status != 'active'//已通过拍摄身份证认证过,不能修改 | 113 | + var isDisable = tax_info.certification_status == 'active'//已通过拍摄身份证认证过,不能修改 |
| 114 | 114 | ||
| 115 | this.data.relativeData.selected = tax_info.family_ties | 115 | this.data.relativeData.selected = tax_info.family_ties |
| 116 | // this.data.cardtypeData.selected = tax_info.id_card_type | 116 | // this.data.cardtypeData.selected = tax_info.id_card_type |
请
注册
或
登录
后发表评论