Commit e8f5ddfa authored by Mac's avatar Mac

1

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