|
|
|
@ -110,10 +110,12 @@ export default {
|
|
|
|
// tab:1,2 1是新增,2是台账
|
|
|
|
// tab:1,2 1是新增,2是台账
|
|
|
|
let paths = this.$route.path;
|
|
|
|
let paths = this.$route.path;
|
|
|
|
let isBook = paths.split("_")[0]
|
|
|
|
let isBook = paths.split("_")[0]
|
|
|
|
|
|
|
|
let year = new Date().getFullYear()
|
|
|
|
console.log(isBook)
|
|
|
|
console.log(isBook)
|
|
|
|
if(isBook=='/book'){
|
|
|
|
if(isBook=='/book'){
|
|
|
|
for(var k of this.tableList){
|
|
|
|
for(var k of this.tableList){
|
|
|
|
k.isBook = true
|
|
|
|
k.isBook = true
|
|
|
|
|
|
|
|
k.year = k.year?k.year:year
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// return
|
|
|
|
// return
|
|
|
|
|