111
k94314517
2023-09-18 2359a38efc2a90a2776e2a45afcecda1fb0065a3
minipro_standard/pages_adjust/pages/outboundList/outboundList.vue
@@ -90,8 +90,10 @@
         </scroll-view>
      </view>
      <!-- 选择日期 -->
      <u-calendar mode="range" :show="timeShow" :minDate="minDate" :maxDate="maxDate" @close="timeShow = false"
         @confirm="timeConfirm"></u-calendar>
      <!-- <u-calendar mode="range" :show="timeShow" :minDate="minDate" :maxDate="maxDate" @close="timeShow = false"
         @confirm="timeConfirm"></u-calendar> -->
      <l-calendar :lunar="false" v-model="timeShow" @change="timeConfirm" :isRange="true" activeBgColor="#305ED5"
         rangeColor="#305ED5" rangeBgColor="rgba(48, 80, 213, 0.1)"></l-calendar>
   </view>
</template>
@@ -284,10 +286,14 @@
      onReady() {
         var that = this
         this.$nextTick(() => {
            uni.createSelectorQuery().in(this).select('.content_search').boundingClientRect((rect) => {
               that.height = `calc(100vh - ${rect.height + 80}px)`
               that.top = `${rect.height}px`
            }).exec()
            uni.createSelectorQuery()
               .in(this)
               .select('.content_search')
               .boundingClientRect((rect) => {
                  that.height = `calc(100vh - ${rect.height + 80}px)`
                  that.top = `${rect.height}px`
               }).exec()
         })
      },
      onLoad() {
@@ -360,8 +366,8 @@
         },
         // 日期确定
         timeConfirm(val) {
            this.listData.planDateEnd = val[val.length - 1]
            this.listData.planDateStart = val[0]
            this.listData.planDateEnd = val.endDate
            this.listData.planDateStart = val.startDate
            this.timeShow = false
         },
         // 切换工序