|
@@ -136,10 +136,12 @@ export default {
|
|
},
|
|
},
|
|
async getDefAudit(){
|
|
async getDefAudit(){
|
|
if(!this.useDingDefUser){
|
|
if(!this.useDingDefUser){
|
|
- const data = getDefaultCofig({code:'EXPENSE_ACCOUNT_DING_USER'}).then(res => res.data)
|
|
|
|
- console.log(data)
|
|
|
|
|
|
+ const data = await getDefaultCofig({code:'EXPENSE_ACCOUNT_DING_USER'}).then(res => res.data)
|
|
|
|
+ const ret = JSON.parse(data.value)
|
|
|
|
+ this.form.approvers = ret.approvers
|
|
|
|
+ this.form.ccList = ret.ccList
|
|
}else{
|
|
}else{
|
|
- const data = queryLastFinishDingUser().then(res => res.data)
|
|
|
|
|
|
+ const data = await queryLastFinishDingUser().then(res => res.data)
|
|
console.log(data)
|
|
console.log(data)
|
|
}
|
|
}
|
|
},
|
|
},
|