Commit 3d8281a7 authored by 吴春's avatar 吴春

1

parent cd91553e
......@@ -813,22 +813,10 @@ import treeItemVue from 'src/components/common/tree-table/tree-item.vue';
this.userId = userInfo.EmployeeId;
this.msg.EmployeeId = userInfo.EmployeeId;
let nowDay = new Date();
var year = nowDay.getFullYear(); //年
var month = nowDay.getMonth() ; //月
var day = nowDay.getDate(); //日
var firstDay = year + '-' + month + '-01' ;
this.msg.sTradeDate = firstDay
let lastDayOfMonth = new Date(nowDay.getFullYear(), nowDay.getMonth() + 1, 0);
var year = lastDayOfMonth.getFullYear(); //年
var month = lastDayOfMonth.getMonth() ; //月
var day = lastDayOfMonth.getDate()-1; //日
var lastDay = year + '-' + month + '-'+ day ;
this.transactionDate = []
this.transactionDate.push(firstDay)
this.transactionDate.push(lastDay)
this.transactionDate.push(new Date())
this.transactionDate.push(new Date())
//this.transactionDate.push('2021-02-01')
//this.transactionDate.push('2021-02-28')
this.msg.sTradeDate = this.transactionDate[0];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment