浏览代码

报表修改

yuansh 2 天之前
父节点
当前提交
f7ba3ae761
共有 1 个文件被更改,包括 6 次插入4 次删除
  1. 6 4
      src/views/cost-allocation-total/inancialReconciliation.vue

+ 6 - 4
src/views/cost-allocation-total/inancialReconciliation.vue

@@ -553,8 +553,10 @@ export default {
       this.queryParam.cstatus = value.toString()
     },
     changeCreateTime(){
-       this.queryParam.dverifyDateE=( this.dverifyDate.length==2)?this.dverifyDate[1].format('YYYY-MM-DD'):''
-       this.queryParam.dverifyDateB=(  this.dverifyDate.length==2)?this.dverifyDate[0].format('YYYY-MM-DD'):''
+       // this.queryParam.dverifyDateE=( this.dverifyDate.length==2)?this.dverifyDate[1].format('YYYY-MM-DD'):''
+       // this.queryParam.dverifyDateB=(  this.dverifyDate.length==2)?this.dverifyDate[0].format('YYYY-MM-DD'):''
+       this.queryParam.dverifyDateB=( this.dverifyDate.length==2)?this.dverifyDate[0].format('YYYY-MM-DD') + ' 00:00:00':''
+       this.queryParam.dverifyDateE=( this.dverifyDate.length==2)?this.dverifyDate[1].format('YYYY-MM-DD') + ' 23:59:59':''
     },
     searchReset() {
       this.queryParam.pageNo = ''
@@ -567,8 +569,8 @@ export default {
        this.queryParam.ffirstApproveDateB=(  this.ffirstApproveDate.length==2)?this.ffirstApproveDate[0].format('YYYY-MM-DD'):''
     },
     changeFfinalApproveDate(){
-        this.queryParam.ffinalApproveDateE=(this.ffinalApproveDate.length==2)?this.ffinalApproveDate[1].format('YYYY-MM-DD'):''
-        this.queryParam.ffinalApproveDateB=( this.ffinalApproveDate.length==2)?this.ffinalApproveDate[0].format('YYYY-MM-DD'):''
+        this.queryParam.ffinalApproveDateE=(this.ffinalApproveDate.length==2)?this.ffinalApproveDate[1].format('YYYY-MM-DD') + ' 23:59:59':''
+        this.queryParam.ffinalApproveDateB=( this.ffinalApproveDate.length==2)?this.ffinalApproveDate[0].format('YYYY-MM-DD') + ' 00:00:00':''
     },
     changeReadyEndDate(){
         this.queryParam.readyEndDateE=(this.readyEndDate.length==2)?this.readyEndDate[1].format('YYYY-MM-DD'):''