|
|
|
|
@ -613,7 +613,7 @@ export default {
|
|
|
|
|
label:"分类",
|
|
|
|
|
prop:'type',
|
|
|
|
|
formatter: (cell, data, value) => {
|
|
|
|
|
let res = this.planTypes.filter(item => {
|
|
|
|
|
let res = this.moneyWay.filter(item => {
|
|
|
|
|
return item.id === value
|
|
|
|
|
})
|
|
|
|
|
return res[0]?.value || '未知'
|
|
|
|
|
@ -682,6 +682,7 @@ export default {
|
|
|
|
|
async getPlanTypes(){
|
|
|
|
|
const res = await getparameter({number:'money_way'})
|
|
|
|
|
this.planTypes = res.detail
|
|
|
|
|
console.log(this.planTypes)
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
//预算计划金额输入
|
|
|
|
|
@ -1062,7 +1063,6 @@ export default {
|
|
|
|
|
this.getDepartment()
|
|
|
|
|
this.getPurchaseWay()
|
|
|
|
|
this.getMoneyWay()
|
|
|
|
|
|
|
|
|
|
//页面激活后刷新合同列表
|
|
|
|
|
window.onfocus = () => {
|
|
|
|
|
this.getContracts()
|
|
|
|
|
|