|
@@ -279,6 +279,7 @@ export default {
|
|
},
|
|
},
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
|
|
+ datass: {},
|
|
// 财务主管
|
|
// 财务主管
|
|
treasurer: '',
|
|
treasurer: '',
|
|
// 财务经理
|
|
// 财务经理
|
|
@@ -1346,9 +1347,7 @@ export default {
|
|
userId: Cookies.get('userName')
|
|
userId: Cookies.get('userName')
|
|
}
|
|
}
|
|
|
|
|
|
- if (res.data.tCostManagement.fStatusName == '完成' && this.lander == 'admin') {
|
|
|
|
- this.disabled = false;
|
|
|
|
- }
|
|
|
|
|
|
+ this.datass = res.data.tCostManagement
|
|
// console.log(createBy)
|
|
// console.log(createBy)
|
|
|
|
|
|
// 上传附件是否打开判断
|
|
// 上传附件是否打开判断
|
|
@@ -1778,6 +1777,10 @@ export default {
|
|
item.disabled = true
|
|
item.disabled = true
|
|
}
|
|
}
|
|
this.disabled = true
|
|
this.disabled = true
|
|
|
|
+ if (this.datass.fStatusName == '完成' && this.lander == 'admin') {
|
|
|
|
+ console.log("a")
|
|
|
|
+ this.disabled = false;
|
|
|
|
+ }
|
|
} else {
|
|
} else {
|
|
item.disabled = false
|
|
item.disabled = false
|
|
this.purchaseList.columnList.forEach(item => item.disabled = false)
|
|
this.purchaseList.columnList.forEach(item => item.disabled = false)
|