From 516e6a2833bc6caa424c7227804c98ed97470722 Mon Sep 17 00:00:00 2001 From: "271556543@qq.com" <271556543@qq.com> Date: Fri, 2 Sep 2022 17:18:48 +0800 Subject: [PATCH] 2022.9.2 --- src/views/contract/contractList.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/contract/contractList.vue b/src/views/contract/contractList.vue index 97d329e..5909339 100644 --- a/src/views/contract/contractList.vue +++ b/src/views/contract/contractList.vue @@ -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()