Browse Source

农事记录 修改时间搜索范围

master
邓宏 2 years ago
parent
commit
960d6f1767
  1. 4
      pages/baseMana/formReacord.vue

4
pages/baseMana/formReacord.vue

@ -125,9 +125,9 @@
<d-search v-model="searchVal.search" :selectVal="searchVal.value" :list="typeList" @select="searchVal.value=$event" @search="clean();search()"/>
<view class="date-range">
<picker mode="date" class="plant-youbian" :class="{noData:!searchVal.startTime}" @change="searchVal.startTime=$event.detail.value;clean();search()">{{searchVal.startTime||"请选择开始时间"}}</picker>
<picker mode="date" class="plant-youbian" :class="{noData:!searchVal.startTime}" :end="searchVal.endTime" @change="searchVal.startTime=$event.detail.value;clean();search()" >{{searchVal.startTime||"请选择开始时间"}}</picker>
~
<picker mode="date" class="plant-youbian" :class="{noData:!searchVal.endTime}" @change="searchVal.endTime=$event.detail.value;clean();search()">{{searchVal.endTime||"请选择结束时间"}}</picker>
<picker mode="date" class="plant-youbian" :class="{noData:!searchVal.endTime}" :start="searchVal.startTime" @change="searchVal.endTime=$event.detail.value;clean();search()">{{searchVal.endTime||"请选择结束时间"}}</picker>
</view>
<scroll-view scroll-y @scrolltolower="search">

Loading…
Cancel
Save