Explorar el Código

核销记录时间区间起始时间

kk.shi hace 3 años
padre
commit
076941f1ef

+ 3 - 0
pages/welfareMall/writeOff/writeOff.js

@@ -45,6 +45,9 @@ Page({
       isLogin: getMobileCache() != ''
      })
       if(this.data.isLogin){
+        this.setData({
+          hexiaoList: [],
+        })
         this.getHexiaoList();
         this.getStoreListByStaff();
       } else {

+ 2 - 2
pages/welfareMall/writeOff/writeOff.wxml

@@ -13,14 +13,14 @@
     <view class="search-bar flex-row">
       <image class="search-img" src="../../../images/welfareMall/search.png" />
       <view class="search-text flex-row">
-        <picker mode="date" value="{{startDate}}" bindchange="bindStartDateChange">
+        <picker mode="date" value="{{startDate}}" bindchange="bindStartDateChange" start="2022-01-01">
           <view class="search-date flex-row">
             <view class="picker" wx:if="{{startDate == null || startDate == ''}}">分账时间起期</view>
             <view class="picker" wx:else>{{startDate}}</view>
           </view>
         </picker>
         ~
-        <picker mode="date" value="{{endDate}}" bindchange="bindEndDateChange">
+        <picker mode="date" value="{{endDate}}" bindchange="bindEndDateChange" start="2022-01-01">
           <view class="search-date flex-row">
             <view class="picker" wx:if="{{endDate == null || endDate == ''}}">分账时间止期</view>
             <view class="picker" wx:else>{{endDate}}</view>