chenrui 3 gadi atpakaļ
vecāks
revīzija
9c712a796b
1 mainītis faili ar 8 papildinājumiem un 8 dzēšanām
  1. 8 8
      src/views/reportData/salesDetails/list.vue

+ 8 - 8
src/views/reportData/salesDetails/list.vue

@@ -192,11 +192,11 @@ export default {
       tableHeight: 0,
       queryParam: { //  查询条件
         time: [
-          getDate.getCurrMonthDays().starttime,
-          getDate.getCurrMonthDays().endtime
+          getDate.getCurrMonthDays().starttime + ' 00:00:00',
+          getDate.getCurrMonthDays().endtime + ' 23:59:59'
         ],
-        beginDate: getDate.getCurrMonthDays().starttime,
-        endDate: getDate.getCurrMonthDays().endtime,
+        beginDate: getDate.getCurrMonthDays().starttime + ' 00:00:00',
+        endDate: getDate.getCurrMonthDays().endtime + ' 23:59:59',
         salesBillNo: '',
         productCode: '',
         productName: '',
@@ -308,12 +308,12 @@ export default {
     //  重置
     resetSearchForm () {
       this.queryParam.time = [
-        getDate.getCurrMonthDays().starttime,
-        getDate.getCurrMonthDays().endtime
+        getDate.getCurrMonthDays().starttime + ' 00:00:00',
+        getDate.getCurrMonthDays().endtime + ' 23:59:59'
       ]
       this.$refs.rangeDate.resetDate(this.queryParam.time)
-      this.queryParam.beginDate = getDate.getCurrMonthDays().starttime
-      this.queryParam.endDate = getDate.getCurrMonthDays().endtime
+      this.queryParam.beginDate = getDate.getCurrMonthDays().starttime + ' 00:00:00'
+      this.queryParam.endDate = getDate.getCurrMonthDays().endtime + ' 23:59:59'
       this.queryParam.salesBillNo = ''
       this.queryParam.productCode = ''
       this.queryParam.productName = ''