提交 47c458bdf1fd7a587d0f436404728b9a597105a3

作者 wangyu
1 个父辈 14bf831e

优化

@@ -29,6 +29,7 @@ @@ -29,6 +29,7 @@
29 "pages/main/finalpay/addUnitInfo/addUnitInfo", 29 "pages/main/finalpay/addUnitInfo/addUnitInfo",
30 "pages/main/finalpay/refundInfo/refundInfo", 30 "pages/main/finalpay/refundInfo/refundInfo",
31 "pages/main/finalpay/refundDetail/refundDetail", 31 "pages/main/finalpay/refundDetail/refundDetail",
  32 + "pages/main/finalpay/freeIncomeDetail/freeIncomeDetail",
32 33
33 "pages/login/login", 34 "pages/login/login",
34 "pages/main/advancepayment/adPayDetails/adPayDetails", 35 "pages/main/advancepayment/adPayDetails/adPayDetails",
  1 +
  2 +Page({
  3 +
  4 + /**
  5 + * Page initial data
  6 + */
  7 + data: {
  8 + info:[{}],
  9 + projectlist: ["正常工资薪金", "劳务报酬", "稿酬", "特许经营权使用费"],
  10 + deductcontent:["1","2"],
  11 + deductproperty: ["---", "===="],
  12 + },
  13 +
  14 + /**
  15 + * Lifecycle function--Called when page load
  16 + */
  17 + onLoad: function (options) {
  18 +
  19 + },
  20 +
  21 + /**
  22 + * Lifecycle function--Called when page is initially rendered
  23 + */
  24 + onReady: function () {
  25 +
  26 + },
  27 +
  28 + /**
  29 + * Lifecycle function--Called when page show
  30 + */
  31 + onShow: function () {
  32 +
  33 + },
  34 +
  35 + /**
  36 + * Lifecycle function--Called when page hide
  37 + */
  38 + onHide: function () {
  39 +
  40 + },
  41 +
  42 + /**
  43 + * Lifecycle function--Called when page unload
  44 + */
  45 + onUnload: function () {
  46 +
  47 + },
  48 +
  49 + /**
  50 + * Page event handler function--Called when user drop down
  51 + */
  52 + onPullDownRefresh: function () {
  53 +
  54 + },
  55 +
  56 + /**
  57 + * Called when page reach bottom
  58 + */
  59 + onReachBottom: function () {
  60 +
  61 + },
  62 +
  63 + /**
  64 + * Called when user click on the top right corner to share
  65 + */
  66 + onShareAppMessage: function () {
  67 +
  68 + }
  69 +})
  1 +{
  2 + "navigationBarTitleText": "免税收入附表"
  3 +}
  1 +
  2 +<view class="page">
  3 + <view style="background:#fff;padding:0 30rpx;">
  4 + <text class="text_gray7_34">免税收入合计</text>
  5 + <text class="text_black3_34 float_right">{{3000}}</text>
  6 + </view>
  7 +
  8 + <view style="background:#fff;margin-top:20rpx" wx:for="{{info}}">
  9 + <picker style="height:104rpx;padding-left: 30rpx;background-color:#fff" mode="selector" bindchange="bindRegionChange" range="{{project}}" >
  10 + <text class="text_gray7_34">所得项目</text>
  11 + <image class='arrow_wrap float_right' src='/images/arrow_right.png'></image>
  12 + <input class='input_wrap' style='text-align: right;color:#000;' placeholder='请输入' name='' value="{{}}"></input>
  13 + </picker>
  14 + <view class="divide_line_30"></view>
  15 + <picker style="height:104rpx;padding-left: 30rpx;background-color:#fff" mode="selector" bindchange="bindRegionChange" range="{{deductcontent}}" >
  16 + <text class="text_gray7_34">减免事项名称</text>
  17 + <image class='arrow_wrap float_right' src='/images/arrow_right.png'></image>
  18 + <input class='input_wrap' style='text-align: right;color:#000;' placeholder='请输入' name='' value="{{}}"></input>
  19 + </picker>
  20 + <view class="divide_line_30"></view>
  21 + <picker style="height:104rpx;padding-left: 30rpx;background-color:#fff" mode="selector" bindchange="bindRegionChange" range="{{deductproperty}}" >
  22 + <text class="text_gray7_34">减免性质名称</text>
  23 + <image class='arrow_wrap float_right' src='/images/arrow_right.png'></image>
  24 + <input class='input_wrap' style='text-align: right;color:#000;' placeholder='请选择' name='' value="{{}}"></input>
  25 + </picker>
  26 + <view class="divide_line_30"></view>
  27 + </view>
  28 + <view class="btn_bottom">
  29 + <button class="btn_bottom" formType="submit">保存</button>
  30 + </view>
  31 +</view>
  1 +/* pages/main/finalpay/freeIncomeDetail/freeIncomeDetail.wxss */
  2 +.page {
  3 + background-color: #f5f5f5;
  4 +}
  5 +
  6 +.text_gray7_34 {
  7 + font-family:PingFangSC-Regular,PingFang SC;
  8 + font-size: 34rpx;
  9 + color: #777777;
  10 + text-align: center;
  11 + line-height: 104rpx;
  12 +}
  13 +
  14 +.text_black3_34 {
  15 + font-family:PingFangSC-Regular,PingFang SC;
  16 + font-size: 34rpx;
  17 + color: #333333;
  18 + text-align: center;
  19 + line-height: 104rpx;
  20 +}
  21 +
  22 +.input_wrap {
  23 + max-width: 600rpx;
  24 + height: 104rpx;
  25 + font-size: 32rpx;
  26 + color: #fff;
  27 + text-align: right;
  28 + overflow: hidden;
  29 + float: right;
  30 +}
  31 +
  32 +.arrow_wrap {
  33 + width: 60rpx;
  34 + height: 60rpx;
  35 + margin-top: 20rpx
  36 +}
@@ -72,7 +72,9 @@ Page({ @@ -72,7 +72,9 @@ Page({
72 72
73 // 免税收入 73 // 免税收入
74 freeIncomeDetail: function () { 74 freeIncomeDetail: function () {
75 - 75 + wx.navigateTo({
  76 + url: '../freeIncomeDetail/freeIncomeDetail',
  77 + })
76 }, 78 },
77 79
78 // 其他扣除 80 // 其他扣除
@@ -91,7 +93,7 @@ Page({ @@ -91,7 +93,7 @@ Page({
91 }, 93 },
92 94
93 // 减免/已缴纳税额 95 // 减免/已缴纳税额
94 - payedDetail:function(){ 96 + deductOrPayedDetail:function(){
95 97
96 }, 98 },
97 99
@@ -139,7 +139,7 @@ @@ -139,7 +139,7 @@
139 <view style="background:#fff;padding:30rpx;margin-top:20rpx"> 139 <view style="background:#fff;padding:30rpx;margin-top:20rpx">
140 <view style="margin-bottom:20rpx"> 140 <view style="margin-bottom:20rpx">
141 <text class="text_black3_34">减免/已缴纳税额</text> 141 <text class="text_black3_34">减免/已缴纳税额</text>
142 - <text class="float_right" style="font-size:14px;color:#4986FE" bindtap="payedDetail">查看明细</text> 142 + <text class="float_right" style="font-size:14px;color:#4986FE" bindtap="deductOrPayedDetail">查看明细</text>
143 </view> 143 </view>
144 <view> 144 <view>
145 <text class="text_black6_32">减免税额</text> 145 <text class="text_black6_32">减免税额</text>
注册登录 后发表评论