Commit 4173eb99 by yuzhenWang

Merge branch 'wyz' into 'test'

修复api缺失

See merge request !128
parents 6747f567 7df35187
...@@ -547,3 +547,12 @@ export function editStatusApi(data) { ...@@ -547,3 +547,12 @@ export function editStatusApi(data) {
data: 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 { ...@@ -325,8 +325,8 @@ import {
downloadPolicyFortuneAccount, downloadPolicyFortuneAccount,
billSplitApi, billSplitApi,
commissionExchangeRateApi, commissionExchangeRateApi,
actualPayoutDateApi actualPayoutDateApi,
// editExchangeRateApi editExchangeRateApi
} from '@/api/financial/commission' } from '@/api/financial/commission'
import useUserStore from '@/store/modules/user' import useUserStore from '@/store/modules/user'
const rateExchangeFormRef = ref(null) const rateExchangeFormRef = ref(null)
...@@ -706,10 +706,10 @@ const confirmRateExchange = async () => { ...@@ -706,10 +706,10 @@ const confirmRateExchange = async () => {
formData.fortuneBizId = selectedRow.value.fortuneBizId formData.fortuneBizId = selectedRow.value.fortuneBizId
try { try {
//等待后端接口 //等待后端接口
// const res = await editExchangeRateApi(formData) const res = await editExchangeRateApi(formData)
// ElMessage.success('结算汇率修改成功') ElMessage.success('结算汇率修改成功')
// rateExchangeFlag.value = false rateExchangeFlag.value = false
// loadTableData() loadTableData()
} catch (error) { } catch (error) {
ElMessage.success('结算汇率修改失败') ElMessage.success('结算汇率修改失败')
rateExchangeFlag.value = true 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