master
271556543@qq.com 3 years ago
parent b8bf945c59
commit 516e6a2833

@ -613,7 +613,7 @@ export default {
label:"分类", label:"分类",
prop:'type', prop:'type',
formatter: (cell, data, value) => { formatter: (cell, data, value) => {
let res = this.planTypes.filter(item => { let res = this.moneyWay.filter(item => {
return item.id === value return item.id === value
}) })
return res[0]?.value || '未知' return res[0]?.value || '未知'
@ -682,6 +682,7 @@ export default {
async getPlanTypes(){ async getPlanTypes(){
const res = await getparameter({number:'money_way'}) const res = await getparameter({number:'money_way'})
this.planTypes = res.detail this.planTypes = res.detail
console.log(this.planTypes)
}, },
// //
@ -1062,7 +1063,6 @@ export default {
this.getDepartment() this.getDepartment()
this.getPurchaseWay() this.getPurchaseWay()
this.getMoneyWay() this.getMoneyWay()
// //
window.onfocus = () => { window.onfocus = () => {
this.getContracts() this.getContracts()

Loading…
Cancel
Save