更新
This commit is contained in:
@@ -106,7 +106,7 @@
|
||||
<view class="popup_card_from">
|
||||
<view class="popup_card_from_item">
|
||||
<view class="popup_card_from_item_left_text">邮箱:</view>
|
||||
<input type="number" v-model="params.email" class="card_item_input" placeholder="请输入邮箱" />
|
||||
<input v-model="params.email" class="card_item_input" placeholder="请输入邮箱" />
|
||||
</view>
|
||||
<view class="popup_card_from_item">
|
||||
<view class="popup_card_from_item_left_text">开始时间:</view>
|
||||
@@ -148,12 +148,6 @@
|
||||
UniLoadMore
|
||||
},
|
||||
data() {
|
||||
const curstartDate=this.getStartDate({
|
||||
format:true
|
||||
})
|
||||
const currentDate=this.getDate({
|
||||
format:true
|
||||
})
|
||||
return {
|
||||
|
||||
startTime:'',
|
||||
@@ -228,8 +222,7 @@
|
||||
'1689183144276463616',
|
||||
'1689183774927818752',
|
||||
'1689184331812888576',
|
||||
'1689185023261741056',
|
||||
'100'
|
||||
'1689185023261741056'
|
||||
]
|
||||
var exportFields = exportList.filter((item) => {
|
||||
return item == uni.getStorageSync('oilSitePriceId');
|
||||
@@ -460,7 +453,7 @@
|
||||
startDateChange:function(e){
|
||||
this.startDate = e.detail.value
|
||||
let data=this.startDate
|
||||
this.endStartDate = this.getEndDate(Date.parse(data)- 3600 * 1000 * 24 * 30)
|
||||
this.endStartDate = data
|
||||
this.endEndDate = this.getEndDate(Date.parse(data)+ 3600 * 1000 * 24 * 30)
|
||||
this.params.startTime = this.startDate
|
||||
},
|
||||
@@ -483,21 +476,6 @@
|
||||
let day = nowDate.getDate() < 10 ? "0" + nowDate.getDate() : nowDate.getDate();
|
||||
return year + "-" + month + "-" + day
|
||||
},
|
||||
getStartDate(){
|
||||
let nowDate = new Date();
|
||||
nowDate.setTime(nowDate.getTime() - 3600 * 1000 * 24 * 30);
|
||||
let year = nowDate.getFullYear();
|
||||
let month = nowDate.getMonth() + 1 < 10 ? "0" + (nowDate.getMonth() + 1) : nowDate.getMonth() + 1;
|
||||
let day = nowDate.getDate() < 10 ? "0" + nowDate.getDate() : nowDate.getDate();
|
||||
return `${year}-${month}-${day}`
|
||||
},
|
||||
getDate(){
|
||||
let nowDate = new Date();
|
||||
let year = nowDate.getFullYear();
|
||||
let month = nowDate.getMonth() + 1 < 10 ? "0" + (nowDate.getMonth() + 1) : nowDate.getMonth() + 1;
|
||||
let day = nowDate.getDate() < 10 ? "0" + nowDate.getDate() : nowDate.getDate();
|
||||
return `${year}-${month}-${day}`
|
||||
},
|
||||
orderExport(){
|
||||
this.startDate = ''
|
||||
this.endDate = ''
|
||||
|
||||
Reference in New Issue
Block a user