Explorar o código

默认认领时间清楚无效bug修复

wucl hai 5 meses
pai
achega
c72ae4836d

+ 6 - 0
src/views/finance/calculateAssets.vue

@@ -348,6 +348,9 @@ export default {
             if (this.findDate) {
                 this.listQuery1.startDate = this.findDate[0] + ' 00:00:00';
                 this.listQuery1.endDate = this.findDate[1] + ' 23:59:59';
+            }else{
+                this.listQuery1.startDate = null;
+                this.listQuery1.endDate = null;
             }
             this.assetsEvaluatorAmount()
         },
@@ -368,6 +371,9 @@ export default {
             if (this.findDate1) {
                 this.listQuery2.startDate = this.findDate1[0] + ' 00:00:00';
                 this.listQuery2.endDate = this.findDate1[1] + ' 23:59:59';
+            }else {
+                this.listQuery2.startDate = null;
+                this.listQuery2.endDate = null;
             }
             this.assetsMarketAmount()
         },

+ 6 - 0
src/views/finance/calculateMajor.vue

@@ -356,6 +356,9 @@
       if (this.findDate){
         this.listQuery1.startDate = this.findDate[0]+' 00:00:00';
         this.listQuery1.endDate = this.findDate[1]+ ' 23:59:59';
+      }else{
+        this.listQuery1.startDate = null;
+        this.listQuery1.endDate = null;
       }
     
       this.majorEvaluatorAmount()
@@ -379,6 +382,9 @@
       if (this.findDate1){
         this.listQuery2.startDate = this.findDate1[0]+' 00:00:00';
         this.listQuery2.endDate = this.findDate1[1]+ ' 23:59:59';
+      }else {
+        this.listQuery2.startDate = null;
+        this.listQuery2.endDate = null;
       }
     
       this.majorMarketEvaluatorAmount()

+ 7 - 1
src/views/finance/fundList.vue

@@ -594,6 +594,9 @@ export default {
       if (this.claimDate2) {
           this.listQuery2.xStartDate = this.claimDate2[0] + ' 00:00:00';
           this.listQuery2.xEndDate = this.claimDate2[1] + ' 23:59:59';
+        }else{
+          this.listQuery2.xStartDate = null;
+          this.listQuery2.xEndDate = null;
         }
       this.$api.financeRealFund.realClaimed(Object.assign({}, this.listQuery2)).then(res => {
         if (res.code === 200) {
@@ -787,7 +790,10 @@ export default {
       if (this.claimDate) {
           this.listQuery1.xStartDate = this.claimDate[0] + ' 00:00:00';
           this.listQuery1.xEndDate = this.claimDate[1] + ' 23:59:59';
-        }
+      }else {
+        this.listQuery1.xStartDate = null;
+          this.listQuery1.xEndDate = null;
+      }
       this.$api.financeClaim.claimPage(Object.assign({}, this.listQuery1)).then(res => {
         if (res.code === 200) {
           loadingInstance.close();

+ 3 - 0
src/views/finance/personalRealFundStat.vue

@@ -217,6 +217,9 @@
       if (this.claimDate){
         this.listQuery1.startTime = this.claimDate[0]+' 00:00:00';
         this.listQuery1.endTime = this.claimDate[1]+ ' 23:59:59';
+      }else{
+        this.listQuery1.startTime = null;
+        this.listQuery1.endTime = null;
       }
       if (this.paymentDate){
         this.listQuery1.payStartTime = this.paymentDate[0]+' 00:00:00';

+ 3 - 0
src/views/finance/realFundStat.vue

@@ -249,6 +249,9 @@
       if (this.claimDate){
         this.listQuery1.startDate = this.claimDate[0]+' 00:00:00';
         this.listQuery1.endDate = this.claimDate[1]+ ' 23:59:59';
+      }else {
+        this.listQuery1.startDate = null;
+        this.listQuery1.endDate = null;
       }
       if (this.paymentDate){
         this.listQuery1.payStartDate = this.paymentDate[0]+' 00:00:00';

+ 6 - 0
src/views/finance/settleAssets.vue

@@ -403,6 +403,9 @@ export default {
             if (this.findDate) {
                 this.listQuery1.startDate = this.findDate[0] + ' 00:00:00';
                 this.listQuery1.endDate = this.findDate[1] + ' 23:59:59';
+            }else {
+                this.listQuery1.startDate = null;
+                this.listQuery1.endDate = null;
             }
             if (this.paymentDate.length>1){
                 this.listQuery1.payStartDate = this.paymentDate[0]+' 00:00:00';
@@ -432,6 +435,9 @@ export default {
             if (this.findDate) {
                 this.listQuery2.startDate = this.findDate1[0] + ' 00:00:00';
                 this.listQuery2.endDate = this.findDate1[1] + ' 23:59:59';
+            }else{
+                this.listQuery2.startDate = null;
+                this.listQuery2.endDate = null;
             }
             if (this.paymentDate1.length>1){
                 this.listQuery2.payStartDate = this.paymentDate1[0]+' 00:00:00';

+ 6 - 0
src/views/finance/settleMajor.vue

@@ -406,6 +406,9 @@ export default {
       if (this.findDate) {
         this.listQuery1.startDate = this.findDate[0] + ' 00:00:00';
         this.listQuery1.endDate = this.findDate[1] + ' 23:59:59';
+      }else{
+        this.listQuery1.startDate = null;
+        this.listQuery1.endDate = null;
       }
       if (this.paymentDate.length>1){
         this.listQuery1.payStartDate = this.paymentDate[0]+' 00:00:00';
@@ -437,6 +440,9 @@ export default {
       if (this.findDate1) {
         this.listQuery2.startDate = this.findDate1[0] + ' 00:00:00';
         this.listQuery2.endDate = this.findDate1[1] + ' 23:59:59';
+      }else {
+        this.listQuery2.startDate = null;
+        this.listQuery2.endDate = null;
       }
       if (this.paymentDate1.length>1){
         this.listQuery2.payStartDate = this.paymentDate1[0]+' 00:00:00';