|
|
@ -4,7 +4,6 @@ |
|
|
|
<block slot="backText">返回</block> |
|
|
|
<block slot="backText">返回</block> |
|
|
|
<block slot="content">加油记录</block> |
|
|
|
<block slot="content">加油记录</block> |
|
|
|
</cu-custom> |
|
|
|
</cu-custom> |
|
|
|
|
|
|
|
|
|
|
|
<view class="fixed-t"> |
|
|
|
<view class="fixed-t"> |
|
|
|
<view class="flex bg-main-oil padding solid-bottom"> |
|
|
|
<view class="flex bg-main-oil padding solid-bottom"> |
|
|
|
<!-- <view class="flex-sub"> |
|
|
|
<!-- <view class="flex-sub"> |
|
|
@ -25,11 +24,7 @@ |
|
|
|
v-for="(item,index) in tabList" :key="index" @tap="tabSelect" :data-id="index">{{item}}</view> |
|
|
|
v-for="(item,index) in tabList" :key="index" @tap="tabSelect" :data-id="index">{{item}}</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</scroll-view> |
|
|
|
</scroll-view> |
|
|
|
<view v-if="exportShow" style="margin-top: 16rpx;text-align: right;padding-right: 30rpx;"> |
|
|
|
|
|
|
|
<button class="cu-btn bg-white" style="border: 1px solid #ddd;" @click="orderExport">订单导出</button> |
|
|
|
|
|
|
|
</view> |
|
|
|
|
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view v-if="exportShow" style="padding: 24rpx;"></view> |
|
|
|
|
|
|
|
<!-- <view class="placeholder-hidden"> |
|
|
|
<!-- <view class="placeholder-hidden"> |
|
|
|
<view class="flex bg-main-oil padding solid-bottom"> |
|
|
|
<view class="flex bg-main-oil padding solid-bottom"> |
|
|
|
<view class="flex-sub"> |
|
|
|
<view class="flex-sub"> |
|
|
@ -51,12 +46,12 @@ |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</scroll-view> |
|
|
|
</scroll-view> |
|
|
|
</view> --> |
|
|
|
</view> --> |
|
|
|
<!-- <view v-if="exportShow"> |
|
|
|
<view v-if="exportShow==true"> |
|
|
|
<view style="padding: 30rpx;"></view> |
|
|
|
<view style="padding: 30upx;"></view> |
|
|
|
<view style="position: fixed;width: 750rpx;z-index: 5;text-align: right;top:315rpx;right: 30rpx;"> |
|
|
|
<view style="position: fixed;width: 750upx;z-index: 5;text-align: right;top:315upx;right: 30upx;"> |
|
|
|
<button class="cu-btn bg-white" style="border: 1px solid #ddd;" @click="orderExport">订单导出</button> |
|
|
|
<button class="cu-btn bg-white" @click="orderExport">订单导出</button> |
|
|
|
|
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> --> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<view class="padding padding-bottom-0" style="padding-top: 200upx;"> |
|
|
|
<view class="padding padding-bottom-0" style="padding-top: 200upx;"> |
|
|
|
<!-- 0 全部 1 待支付 2 已支付 3退款 --> |
|
|
|
<!-- 0 全部 1 待支付 2 已支付 3退款 --> |
|
|
@ -114,22 +109,19 @@ |
|
|
|
<input v-model="params.email" class="card_item_input" placeholder="请输入邮箱" /> |
|
|
|
<input v-model="params.email" class="card_item_input" placeholder="请输入邮箱" /> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="popup_card_from_item"> |
|
|
|
<view class="popup_card_from_item"> |
|
|
|
<view class="popup_card_from_item_left_text" style="margin-top: 32rpx;">开始时间:</view> |
|
|
|
<view class="popup_card_from_item_left_text">开始时间:</view> |
|
|
|
<view class="uni-list-cell-db"> |
|
|
|
<view class="uni-list-cell-db"> |
|
|
|
<uni-datetime-picker type="datetime" :value="startDate" @change="startDateChange" /> |
|
|
|
<picker mode="date" :value="startDate" @change="startDateChange" class="uni-picker"> |
|
|
|
<!-- <picker mode="date" :value="startDate" @change="startDateChange" class="uni-picker"> |
|
|
|
|
|
|
|
<view class="uni-input">{{startDate}}</view> |
|
|
|
<view class="uni-input">{{startDate}}</view> |
|
|
|
</picker> --> |
|
|
|
</picker> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="popup_card_from_item"> |
|
|
|
<view class="popup_card_from_item"> |
|
|
|
<view class="popup_card_from_item_left_text" style="margin-top: 32rpx;">结束时间:</view> |
|
|
|
<view class="popup_card_from_item_left_text">结束时间:</view> |
|
|
|
<view class="uni-list-cell-db"> |
|
|
|
<view class="uni-list-cell-db"> |
|
|
|
<uni-datetime-picker type="datetime" :value="endDate" @change="endDateChange" |
|
|
|
<picker mode="date" :value="endDate" @change="endDateChange" :start="endStartDate" :end="endEndDate" class="uni-picker"> |
|
|
|
:start="endStartDate" :end="endEndDate" /> |
|
|
|
|
|
|
|
<!-- <picker mode="date" :value="endDate" @change="endDateChange" :start="endStartDate" :end="endEndDate" class="uni-picker"> |
|
|
|
|
|
|
|
<view class="uni-input">{{endDate}}</view> |
|
|
|
<view class="uni-input">{{endDate}}</view> |
|
|
|
</picker> --> |
|
|
|
</picker> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
@ -230,12 +222,7 @@ |
|
|
|
'1689183144276463616', |
|
|
|
'1689183144276463616', |
|
|
|
'1689183774927818752', |
|
|
|
'1689183774927818752', |
|
|
|
'1689184331812888576', |
|
|
|
'1689184331812888576', |
|
|
|
'1689185023261741056', |
|
|
|
'1689185023261741056' |
|
|
|
'1782596400854310912', |
|
|
|
|
|
|
|
'1661994395596533760', |
|
|
|
|
|
|
|
'1825776105145946112', |
|
|
|
|
|
|
|
'1802612281797746688', |
|
|
|
|
|
|
|
'1508364963431362560' |
|
|
|
|
|
|
|
] |
|
|
|
] |
|
|
|
var exportFields = exportList.filter((item) => { |
|
|
|
var exportFields = exportList.filter((item) => { |
|
|
|
return item == uni.getStorageSync('oilSitePriceId'); |
|
|
|
return item == uni.getStorageSync('oilSitePriceId'); |
|
|
@ -464,10 +451,10 @@ |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
startDateChange:function(e){ |
|
|
|
startDateChange:function(e){ |
|
|
|
this.startDate = e |
|
|
|
this.startDate = e.detail.value |
|
|
|
let data=this.startDate |
|
|
|
let data=this.startDate |
|
|
|
this.endStartDate = data |
|
|
|
this.endStartDate = data |
|
|
|
this.endEndDate = this.getEndDate(Date.parse(data) + 3600 * 1000 * 24 * 31) |
|
|
|
this.endEndDate = this.getEndDate(Date.parse(data)+ 3600 * 1000 * 24 * 30) |
|
|
|
this.params.startTime = this.startDate |
|
|
|
this.params.startTime = this.startDate |
|
|
|
}, |
|
|
|
}, |
|
|
|
endDateChange:function(e){ |
|
|
|
endDateChange:function(e){ |
|
|
@ -477,7 +464,7 @@ |
|
|
|
icon: 'none' |
|
|
|
icon: 'none' |
|
|
|
}); |
|
|
|
}); |
|
|
|
}else{ |
|
|
|
}else{ |
|
|
|
this.endDate = e |
|
|
|
this.endDate = e.detail.value |
|
|
|
this.params.endTime = this.endDate |
|
|
|
this.params.endTime = this.endDate |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -569,15 +556,12 @@ |
|
|
|
width: 750upx; |
|
|
|
width: 750upx; |
|
|
|
z-index: 3; |
|
|
|
z-index: 3; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.uni-input{ |
|
|
|
.uni-input{ |
|
|
|
height: 25rpx; |
|
|
|
height: 25rpx; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.uni-picker{ |
|
|
|
.uni-picker{ |
|
|
|
height: 25rpx; |
|
|
|
height: 25rpx; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.uni-list-cell-db{ |
|
|
|
.uni-list-cell-db{ |
|
|
|
width: 100%; |
|
|
|
width: 100%; |
|
|
|
height: 30rpx; |
|
|
|
height: 30rpx; |
|
|
|