Commit 0fa2df21 authored by 邓春圆's avatar 邓春圆

客户档案,添加完信用分后,信用分实时刷新 bug修复

parent 73372e74
...@@ -416,7 +416,7 @@ import { ...@@ -416,7 +416,7 @@ import {
orderStatistics, orderStatistics,
creditLogCreate, creditLogCreate,
creditScoreStatistic, creditScoreStatistic,
infoListReceiptPage, userMemberUserList, memberUserList, deleteCustomer, infoListReceiptPage, memberUserList, deleteCustomer,
} from '@/api/ecw/customer' } from '@/api/ecw/customer'
import { DICT_TYPE, getDictDataLabel, getDictDatas2 } from '@/utils/dict' import { DICT_TYPE, getDictDataLabel, getDictDatas2 } from '@/utils/dict'
...@@ -693,6 +693,7 @@ export default { ...@@ -693,6 +693,7 @@ export default {
if(r.code === 0){ if(r.code === 0){
this.creditLogPage(); this.creditLogPage();
this.creditFrom = {}; this.creditFrom = {};
this.creditScoreStatisticFn()
this.dialogVisible = false; this.dialogVisible = false;
} }
}) })
...@@ -700,7 +701,6 @@ export default { ...@@ -700,7 +701,6 @@ export default {
//获得信用客户统计 //获得信用客户统计
creditScoreStatisticFn(){ creditScoreStatisticFn(){
creditScoreStatistic({customerId:this.id}).then(r => { creditScoreStatistic({customerId:this.id}).then(r => {
console.log(r)
if(r.code === 0) this.creditScoreStatisticObj = r.data if(r.code === 0) this.creditScoreStatisticObj = r.data
}) })
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment