Przeglądaj źródła

Merge remote-tracking branch 'origin/Payment-Configuration' into Payment-Configuration

yfh 2 tygodni temu
rodzic
commit
928b208469
1 zmienionych plików z 5 dodań i 0 usunięć
  1. 5 0
      src/views/live/liveCouponIssue/index.vue

+ 5 - 0
src/views/live/liveCouponIssue/index.vue

@@ -197,6 +197,10 @@ export default {
     /** 查询优惠券领取列表 */
     getList() {
       this.loading = true;
+      if (this.dateRange!=null && this.dateRange.length>0){
+        this.dateRange[0]=this.dateRange[0]+" 00:00:00"
+        this.dateRange[1]=this.dateRange[1]+" 23:59:59"
+      }
       listStoreCouponIssue(this.addDateRange(this.queryParams, this.dateRange)).then(response => {
         this.storeCouponIssueList = response.rows;
         this.total = response.total;
@@ -235,6 +239,7 @@ export default {
     /** 重置按钮操作 */
     resetQuery() {
       this.resetForm("queryForm");
+      this.dateRange = []; // 清空日期范围选择器的值
       this.handleQuery();
     },
     // 多选框选中数据