Browse Source

bug 修复

lilei 2 năm trước cách đây
mục cha
commit
96c907b1c5
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      src/views/salesManagement/receiptPrint/list.vue

+ 2 - 2
src/views/salesManagement/receiptPrint/list.vue

@@ -262,8 +262,8 @@ export default {
     },
     //  时间  change
     dateChange (date) {
-      this.queryParam.beginDate = date[0]
-      this.queryParam.endDate = date[1]
+      this.queryParam.beginDate = date[0] ? date[0] + ' 00:00:00' : ''
+      this.queryParam.endDate = date[1] ? date[1] + ' 23:59:59' : ''
     },
     custChange (val) {
       this.queryParam.settleClientName = val.name