diff --git a/packageOrders/pages/orderList/orderList.vue b/packageOrders/pages/orderList/orderList.vue index e0b0e1a..0fb2491 100644 --- a/packageOrders/pages/orderList/orderList.vue +++ b/packageOrders/pages/orderList/orderList.vue @@ -47,8 +47,8 @@ --> - - + + @@ -111,7 +111,7 @@ 开始时间: - + {{startDate}} @@ -119,7 +119,7 @@ 结束时间: - + {{endDate}} @@ -203,14 +203,14 @@ params: { siteId: uni.getStorageSync('oilSitePriceId'), siteName: uni.getStorageSync('oilSitePriceName'), - email:'13287118566@163.com', - startTime:curstartDate, - endTime:currentDate + email:'', + startTime:'', + endTime:'' }, - startDate:curstartDate, - endDate:currentDate, + startDate:'', + endDate:'', endStartDate:'', - endEndDate:currentDate, + endEndDate:'', exportShow:false } @@ -228,7 +228,8 @@ '1689183144276463616', '1689183774927818752', '1689184331812888576', - '1689185023261741056' + '1689185023261741056', + '100' ] var exportFields = exportList.filter((item) => { return item == uni.getStorageSync('oilSitePriceId'); @@ -464,8 +465,16 @@ this.params.startTime = this.startDate }, endDateChange:function(e){ - this.endDate = e.detail.value - this.params.endTime = this.endDate + if(this.startDate ==''){ + uni.showToast({ + title: '请先输入开始时间', + icon: 'none' + }); + }else{ + this.endDate = e.detail.value + this.params.endTime = this.endDate + } + }, getEndDate(val){ let nowDate = new Date(val) @@ -490,6 +499,11 @@ return `${year}-${month}-${day}` }, orderExport(){ + this.startDate = '' + this.endDate = '' + this.params.email = '' + this.params.startTime = '' + this.params.endTime = '' this.$refs.popup.open('center') }, @@ -556,6 +570,16 @@ width: 750upx; z-index: 3; } + .uni-input{ + height: 25rpx; + } + .uni-picker{ + height: 25rpx; + } + .uni-list-cell-db{ + width: 100%; + height: 30rpx; + } .popup_card_bottom { display: flex;