Commit e8f5ddfa authored by Mac's avatar Mac

1

parent 9d25ac05
......@@ -318,21 +318,21 @@ export default {
this.printTime = y + '' + m + '' + d + ' ' + h + ':' + min + ':' + s;
},methods:{
jumpPage(path,id,type){
if(type==1){
let idStr = '';
if(this.GetDetail.TCIDList.length>0){
idStr = this.GetDetail.TCIDList[0];
}
this.$router.push({
name: path,
query: { id:idStr,orderID:this.GetDetail.OrderID,isShow:false,blank:'y',tab:'报名清单'}
})
}else if(type==2){
this.$router.push({
name: path,
query: { starTime:this.StartDate,endTime:this.EndDate,EmployeeId:this.EmployeeId,blank:'y'}
})
}
// if(type==1){
// let idStr = '';
// if(this.GetDetail.TCIDList.length>0){
// idStr = this.GetDetail.TCIDList[0];
// }
// this.$router.push({
// name: path,
// query: { id:idStr,orderID:this.GetDetail.OrderID,isShow:false,blank:'y',tab:'报名清单'}
// })
// }else if(type==2){
// this.$router.push({
// name: path,
// query: { starTime:this.StartDate,endTime:this.EndDate,EmployeeId:this.EmployeeId,blank:'y'}
// })
// }
},
Financial_post_GetDetail(id){ //获取单据详情
if(!id) return
......@@ -364,14 +364,14 @@ export default {
if(item.CostTypeName=="地接费(领取)"){
status=true;
}
})
})
if(status){
}
}
}
}, err => {})
},
},
},mounted(){
const myDate = new Date();
let yaer = myDate.getFullYear(); //获取完整的年份(4位,1970-????)
......@@ -379,7 +379,7 @@ export default {
let dateS = myDate.getDate(); //获取当前日(1-31)
this.StartDate = yaer + '-' + month + '-' + '01';
this.EndDate = yaer + '-' + month + '-' + dateS;
let userInfo = this.getLocalStorage();
let userInfo = this.getLocalStorage();
this.EmployeeId = userInfo.EmployeeId;
this.Financial_post_GetDetail(this.ID);
},watch: { // 监听参数变化
......
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