Przeglądaj źródła

提交修改

yun
douzhuo 2 lat temu
rodzic
commit
a7d1a79294
1 zmienionych plików z 9 dodań i 6 usunięć
  1. +9
    -6
      pages/center/Piabodata/Customerportrait/Receivingrecords.vue

+ 9
- 6
pages/center/Piabodata/Customerportrait/Receivingrecords.vue Wyświetl plik

@@ -2,7 +2,7 @@
<view class="cenbox">
<view class="screeningtop">
<view class="screeningview" @click="clickscreening(1)">
<view>近一周</view>
<view>{{ showFillterText }}</view>
<view class="viewimg">
<image v-if="screeningshow1==false" src="../../../../static/images/down1.png" mode=""></image>
<image v-if="screeningshow1==true" src="../../../../static/images/down2.png" mode=""></image>
@@ -77,10 +77,10 @@
<view v-if="screeningshow1==true" class="call_zhezhao" @click="allcancel()"></view>
<view v-if="screeningshow1==true" class="timepick">
<view class="tiempickbox">
<view :class="{ timeactive: activetime == 0 }" @click="activetimetab(0)">今日</view>
<view :class="{ timeactive: activetime == 1 }" @click="activetimetab(1)">昨日</view>
<view :class="{ timeactive: activetime == 2 }" @click="activetimetab(2)">近一周</view>
<view :class="{ timeactive: activetime == 3 }" @click="activetimetab(3)">本月</view>
<view :class="{ timeactive: activetime == 0 }" @click="activetimetab(0, '今日')">今日</view>
<view :class="{ timeactive: activetime == 1 }" @click="activetimetab(1, '昨日')">昨日</view>
<view :class="{ timeactive: activetime == 2 }" @click="activetimetab(2, '近一周')">近一周</view>
<view :class="{ timeactive: activetime == 3 }" @click="activetimetab(3, '本月')">本月</view>
</view>
<view class="tiempickzidingyi" @click="activetimetab(5)">
<text v-if="Datesicing.length==0">自定义时间:请选择</text>
@@ -162,6 +162,7 @@ export default {
keywordIds:'',
type:0,
customerId: '', // 点击那一项的customerId
showFillterText: '近一周',
};
},
onLoad(options) {
@@ -360,6 +361,7 @@ export default {
//自定义时间确认
totalTimeChange(e){
this.Datesicing=e.startDate+'至'+e.endDate;
this.showFillterText = '自定义'
this.starttime=e.startDate;
this.endoftime=e.endDate;
this.activetime=this.Inthemiddletime;
@@ -369,11 +371,12 @@ export default {
this.Accesstolevel()
},
//时间选择
activetimetab(index){
activetimetab(index, text){
if(index==5){
this.Inthemiddletime=index;
this.totalTimeShow=!this.totalTimeShow;
}else{
this.showFillterText = text
this.Datesicing='';
this.activetime=index;
this.tadelist=[]


Ładowanie…
Anuluj
Zapisz