Browse Source

部分细节处理

LiuTeng 10 months ago
parent
commit
b844f3664f

+ 2 - 1
pages/mine/mine.js

@@ -38,7 +38,8 @@ Page({
                     {
                         name: "查询纳税\n人未清缴(欠税费信息)",
                         icon: "../../images/mine/cxnsrwqj.png",
-                        path: "../minePages/cxnsrwqjxx/cxnsrwqjxx"
+                        // path: "../minePages/cxnsrwqjxx/cxnsrwqjxx"
+                        path: ""
                     },
                     {
                         name: "公积金",

+ 2 - 2
pages/minePages/ndpjjgcx/ndpjjgcx.js

@@ -35,8 +35,8 @@ Page({
         m = m < 10 ? '0' + m : m
         let d = date.getDate()
         d = d < 10 ? '0' + d : d
-        let start = `${y-1}-${m}-${d}`
-        let end = `${y}-${m}-${d}`
+        let start = `${y-1}`
+        let end = `${y}`
         that.setData({
             startDate: start,
             endDate: end

+ 4 - 4
pages/minePages/ndpjjgcx/ndpjjgcx.wxml

@@ -11,17 +11,17 @@
                 </view>
             </view>
             <view class="form-item">
-                <view class="item-label">开始日期</view>
+                <view class="item-label">开始年度</view>
                 <view class="item-value">
-                    <picker class="picker" mode="date" value="{{startDate}}" data-type="0" bindchange="seleDate">
+                    <picker class="picker" mode="date" fields="year" value="{{startDate}}" data-type="0" bindchange="seleDate">
                         <view class="picker-date">{{startDate}}</view>
                     </picker>
                 </view>
             </view>
             <view class="form-item">
-                <view class="item-label">结束日期</view>
+                <view class="item-label">结束年度</view>
                 <view class="item-value">
-                    <picker class="picker" mode="date" value="{{endDate}}" data-type="1" bindchange="seleDate">
+                    <picker class="picker" mode="date" fields="year" value="{{endDate}}" data-type="1" bindchange="seleDate">
                         <view class="picker-date">{{endDate}}</view>
                     </picker>
                 </view>