Compare commits

...

5 Commits

Author SHA1 Message Date
zhangyouji b01b735ab8 Merge pull request 'zyj' (#11) from zyj into master 11 months ago
zhangyouji e56aa1c24f 订单导出更换时间控件 11 months ago
zhangyouji 2e3ba63aa0 更新 11 months ago
zhangyouji 9d3a376ec0 Merge branch 'master' into zyj 11 months ago
zhangyouji 506ea289d6 Merge pull request 'master' (#10) from master into zyj 12 months ago
  1. 2
      packageIntegral/productList/index.vue
  2. 20
      packageOrders/pages/orderList/orderList.vue

@ -598,4 +598,4 @@
}
}
</style>
</style>

@ -109,19 +109,21 @@
<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>
<view class="popup_card_from_item_left_text" style="margin-top: 32rpx;">开始时间</view>
<view class="uni-list-cell-db">
<picker mode="date" :value="startDate" @change="startDateChange" class="uni-picker">
<uni-datetime-picker type="datetime" :value="startDate" @change="startDateChange" />
<!-- <picker mode="date" :value="startDate" @change="startDateChange" class="uni-picker">
<view class="uni-input">{{startDate}}</view>
</picker>
</picker> -->
</view>
</view>
<view class="popup_card_from_item">
<view class="popup_card_from_item_left_text">结束时间</view>
<view class="popup_card_from_item_left_text" style="margin-top: 32rpx;">结束时间</view>
<view class="uni-list-cell-db">
<picker mode="date" :value="endDate" @change="endDateChange" :start="endStartDate" :end="endEndDate" class="uni-picker">
<uni-datetime-picker type="datetime" :value="endDate" @change="endDateChange" :start="endStartDate" :end="endEndDate" />
<!-- <picker mode="date" :value="endDate" @change="endDateChange" :start="endStartDate" :end="endEndDate" class="uni-picker">
<view class="uni-input">{{endDate}}</view>
</picker>
</picker> -->
</view>
</view>
</view>
@ -452,10 +454,10 @@
}
},
startDateChange:function(e){
this.startDate = e.detail.value
this.startDate = e
let data=this.startDate
this.endStartDate = data
this.endEndDate = this.getEndDate(Date.parse(data)+ 3600 * 1000 * 24 * 30)
this.endEndDate = this.getEndDate(Date.parse(data)+ 3600 * 1000 * 24 * 31)
this.params.startTime = this.startDate
},
endDateChange:function(e){
@ -465,7 +467,7 @@
icon: 'none'
});
}else{
this.endDate = e.detail.value
this.endDate = e
this.params.endTime = this.endDate
}

Loading…
Cancel
Save