|
@@ -12,11 +12,16 @@
|
|
|
name="close-circle-fill" color="#D6D9E0"></u-icon>
|
|
|
<!-- <text @click='emptysearch' v-if='searchKeyWord.length>0' class='tip_text cuIcon-roundclosefill'></text> -->
|
|
|
</view>
|
|
|
- <view style='background:#fff;padding:0 15px;border-radius:0rpx 0rpx 30rpx 30rpx;' class="Semibold">
|
|
|
+ <view style='background:#fff;padding:0 15px;border-radius:0rpx 0rpx 30rpx 30rpx;position:relative;' class="Semibold">
|
|
|
<view @click='tabcarchange(0)' class='line' :class='TabCur==0?"active":""'>全部</view>
|
|
|
<view @click='tabcarchange(5)' class='line' :class='TabCur==5?"active":""'>待付款</view>
|
|
|
<view @click='tabcarchange(6)' class='line' :class='TabCur==6?"active":""'>已付款</view>
|
|
|
+ <view style='position:absolute;right: 20px;font-weight:500;top:25%;' @click='dateshow=true'>{{datetext?datetext:'日期筛选'}}</view>
|
|
|
</view>
|
|
|
+
|
|
|
+ <u-picker :range="dateList" range-key="value" @confirm='dateCheck($event)' v-model="dateshow"
|
|
|
+ mode="selector">
|
|
|
+ </u-picker>
|
|
|
</view>
|
|
|
<view class='wrap' v-for='item in dataInfo'>
|
|
|
<view style='margin:5px;padding:10px 0;border-bottom:1px solid #eee;'
|
|
@@ -100,7 +105,10 @@
|
|
|
show: false,
|
|
|
img: '',
|
|
|
searchType: '',
|
|
|
- dataInfo: []
|
|
|
+ dataInfo: [],
|
|
|
+ dateshow:false,
|
|
|
+ dateList:[{value:'一个月'},{value:'三个月'},{value:'一年'}],
|
|
|
+ datetext:''
|
|
|
}
|
|
|
},
|
|
|
onShow() {},
|
|
@@ -134,6 +142,10 @@
|
|
|
closepop() {
|
|
|
this.show = false
|
|
|
},
|
|
|
+ dateCheck(e){
|
|
|
+ this.datetext=this.dateList[e[0]].value
|
|
|
+ this.loadData()
|
|
|
+ },
|
|
|
xiazai() {
|
|
|
const that = this;
|
|
|
uni.downloadFile({
|
|
@@ -259,6 +271,7 @@
|
|
|
managementType: 1,
|
|
|
appFlag:1,
|
|
|
customerPhone: this.userInfo.phone,
|
|
|
+ dateFilter:this.datetext
|
|
|
// pcFlag:1
|
|
|
// warehouseName:'',
|
|
|
}).then(res => {
|