|
|
@@ -812,15 +812,15 @@ export default {
|
|
|
this.tableDatatwo=[];
|
|
|
this.companyName=-1;
|
|
|
this.cnName='';
|
|
|
- let newyear=this.value2.getFullYear();
|
|
|
- let newMonth=this.value2.getMonth() + 1;
|
|
|
- if((this.value2.getMonth() + 1)<10){
|
|
|
+ let timess=new Date(this.value2)
|
|
|
+ let newyear=timess.getFullYear();
|
|
|
+ let newMonth=timess.getMonth() + 1;
|
|
|
+ if((timess.getMonth() + 1)<10){
|
|
|
newMonth='0'+newMonth
|
|
|
}else{
|
|
|
- newMonth=this.value2.getMonth() + 1
|
|
|
+ newMonth=timess.getMonth() + 1
|
|
|
}
|
|
|
this.value2=newyear+ '-' +newMonth;
|
|
|
- console.log(this.value2)
|
|
|
this.GetWageSheetList();
|
|
|
},
|
|
|
//薪资详细
|