Commit f0917a23 authored by youjie's avatar youjie

优化审核出团公司日期

parent 1388ca8b
...@@ -52,7 +52,7 @@ ...@@ -52,7 +52,7 @@
</li> </li>
<li> <li>
<span> <span>
<em>时间</em> <em>申请日期</em>
<el-date-picker <el-date-picker
style="width: 300px;" style="width: 300px;"
v-model="StartTime" v-model="StartTime"
...@@ -281,6 +281,13 @@ ...@@ -281,6 +281,13 @@
} }
}, },
created() { created() {
var myDate = new Date();
var MonthDayNum = new Date(myDate.getFullYear(), myDate.getMonth(), 0).getDate();
var StartTime = `${myDate.getFullYear()}-${myDate.getMonth() + 1}-01`
var EndTime = `${myDate.getFullYear()}-${myDate.getMonth() + 1}-${MonthDayNum}`
this.StartTime = [StartTime,EndTime]
this.msg.QStartDate = StartTime
this.msg.QEndDate = EndTime
this.getTeamList() this.getTeamList()
let userinfo = this.getLocalStorage(); let userinfo = this.getLocalStorage();
this.getCompanyMsg.RB_Group_Id=userinfo.RB_Group_id; this.getCompanyMsg.RB_Group_Id=userinfo.RB_Group_id;
......
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