Commit 7df35187 by yuzhenWang

修复api缺失

parent 16427094
......@@ -539,3 +539,12 @@ export function editStatusApi(data) {
data: data
})
}
//出账检核--修改结算汇率
export function editExchangeRateApi(data) {
return request({
url: 'csf/api/fortune/edit/exchange_rate',
method: 'post',
data: data
})
}
......@@ -325,8 +325,8 @@ import {
downloadPolicyFortuneAccount,
billSplitApi,
commissionExchangeRateApi,
actualPayoutDateApi
// editExchangeRateApi
actualPayoutDateApi,
editExchangeRateApi
} from '@/api/financial/commission'
import useUserStore from '@/store/modules/user'
const rateExchangeFormRef = ref(null)
......@@ -706,10 +706,10 @@ const confirmRateExchange = async () => {
formData.fortuneBizId = selectedRow.value.fortuneBizId
try {
//等待后端接口
// const res = await editExchangeRateApi(formData)
// ElMessage.success('结算汇率修改成功')
// rateExchangeFlag.value = false
// loadTableData()
const res = await editExchangeRateApi(formData)
ElMessage.success('结算汇率修改成功')
rateExchangeFlag.value = false
loadTableData()
} catch (error) {
ElMessage.success('结算汇率修改失败')
rateExchangeFlag.value = true
......
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