| | |
| | | <view class="c-p-b-100"> |
| | | <view class="c-p-l-20 c-p-r-20" v-if="orderList&&orderList.length>0"> |
| | | <view class="listrecord c-p-t-20" v-for="(item,index) in orderList" :key="item.keyid" |
| | | @click='goDetail(item)'> |
| | | > |
| | | <view class="coreshop-ff chuany-bradius20"> |
| | | <view class="chuany-font26"> |
| | | <view class="chuany-flex chuany-justify-between"> |
| | |
| | | <view class="chuany-width15"> |
| | | {{$util.formatDate(item.deliverTime,'riqi')}} |
| | | </view> |
| | | <view class="chuany-width73"> |
| | | <view class="chuany-width73" @click='goDetail(item)'> |
| | | <u-text size='14' :text="item.remark||item.companyName" lines="1"> |
| | | </u-text> |
| | | </view> |
| | |
| | | </up-form-item> |
| | | </up-form> |
| | | </up-modal> |
| | | <fui-date-picker range :show="datePickerShow" :value="getFirstDayOfMonth()" type="3" zIndex="10000" |
| | | <fui-date-picker :show="datePickerShow" :value="getFirstDayOfMonth()" type="3" zIndex="10000" |
| | | @change="changePicker" :minDate='minDate' :maxDate='maxDate' @cancel="clickTime"></fui-date-picker> |
| | | <up-action-sheet :show="showActions" :actions="actions" title="请选择" @close="showActions = false" |
| | | wrapMaxHeight='500px' @select="selectItem"> |
| | |
| | | list: ['全部', '未送', '已送'], |
| | | datePickerShow: false, |
| | | shougHuoshow: false, |
| | | workTime: '', |
| | | workTime: this.$util.formatDate(new Date()), |
| | | orderList: [], |
| | | loadStatus: 'loadmore', |
| | | pageIndex: 1, |
| | |
| | | switchVal: false, |
| | | driverList: [], |
| | | buyerName: '', |
| | | timeStart: '', |
| | | timeEnd: '', |
| | | timeStart: new Date(), |
| | | timeEnd: new Date(), |
| | | sevenDaysDriver: [], |
| | | deliverKeyID: '', |
| | | deliverKeyName: '' |
| | |
| | | } |
| | | }, |
| | | onPullDownRefresh() { |
| | | this.timeStart = '' |
| | | this.timeEnd = '' |
| | | this.workTime = '' |
| | | this.timeStart = new Date() |
| | | this.timeEnd = new Date() |
| | | this.workTime = this.$util.formatDate(new Date()) |
| | | this.deliverKeyName = '' |
| | | this.init() |
| | | uni.stopPullDownRefresh(); |
| | |
| | | }, |
| | | changePicker(val) { |
| | | console.log(val); |
| | | this.workTime = val.startDate.result + '至' + val.endDate.result |
| | | this.timeStart = new Date(val.startDate.result) //工作开始时间 |
| | | this.timeEnd = new Date(val.endDate.result) |
| | | this.workTime = val.result |
| | | this.timeStart = new Date(val.result) //工作开始时间 |
| | | this.timeEnd = new Date(val.result) |
| | | this.datePickerShow = !this.datePickerShow |
| | | this.init() |
| | | }, |