Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yd-csf-front
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
yuzhenWang
yd-csf-front
Commits
f5163091
Commit
f5163091
authored
Apr 29, 2026
by
yuzhenWang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
出账检核发测试
parent
a9b52f49
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
3 deletions
+10
-3
src/views/financialCenter/financialBilling.vue
+9
-3
src/views/financialCenter/financialIncome.vue
+1
-0
No files found.
src/views/financialCenter/financialBilling.vue
View file @
f5163091
...
@@ -582,7 +582,7 @@ const confirmRateExchange = async () => {
...
@@ -582,7 +582,7 @@ const confirmRateExchange = async () => {
const
handleInputChange
=
async
(
formType
,
prop
,
value
,
item
)
=>
{
const
handleInputChange
=
async
(
formType
,
prop
,
value
,
item
)
=>
{
if
(
formType
==
'rateExchange'
)
{
if
(
formType
==
'rateExchange'
)
{
if
(
prop
===
'exchangeRate'
&&
value
&&
rateExchangeForm
.
value
.
originalAmount
)
{
if
(
prop
===
'exchangeRate'
&&
value
&&
rateExchangeForm
.
value
.
originalAmount
)
{
// 计算
港币
金额
// 计算
本次出账原币种
金额
const
originalAmount
=
rateExchangeForm
.
value
.
originalAmount
const
originalAmount
=
rateExchangeForm
.
value
.
originalAmount
const
exchangeRate
=
value
const
exchangeRate
=
value
const
hkdAmount
=
multiply
(
originalAmount
,
exchangeRate
,
2
)
const
hkdAmount
=
multiply
(
originalAmount
,
exchangeRate
,
2
)
...
@@ -639,8 +639,11 @@ const handleSplitCellChange = ({ row, col, newValue, oldValue, rowIndex, prop })
...
@@ -639,8 +639,11 @@ const handleSplitCellChange = ({ row, col, newValue, oldValue, rowIndex, prop })
// 联动规则1:出账比例 或 原币种金额 变化 → 重算 本次出账原币种金额
// 联动规则1:出账比例 或 原币种金额 变化 → 重算 本次出账原币种金额
if
(
prop
===
'splitRatio'
||
prop
===
'amount'
)
{
if
(
prop
===
'splitRatio'
||
prop
===
'amount'
)
{
cons
t
ratio
=
prop
===
'splitRatio'
?
newValue
:
currentRow
.
splitRatio
le
t
ratio
=
prop
===
'splitRatio'
?
newValue
:
currentRow
.
splitRatio
const
amount
=
prop
===
'amount'
?
newValue
:
currentRow
.
amount
const
amount
=
prop
===
'amount'
?
newValue
:
currentRow
.
amount
if
(
ratio
)
{
ratio
=
ratio
/
100
}
const
newChuAmount
=
multiply
(
amount
,
ratio
,
2
)
const
newChuAmount
=
multiply
(
amount
,
ratio
,
2
)
updatedRow
.
originalAmount
=
newChuAmount
updatedRow
.
originalAmount
=
newChuAmount
needUpdate
=
true
needUpdate
=
true
...
@@ -1002,14 +1005,17 @@ const submitSettingBillYearMonth = async () => {
...
@@ -1002,14 +1005,17 @@ const submitSettingBillYearMonth = async () => {
//等后端接口
//等后端接口
try
{
try
{
const
res
=
await
downloadPolicyFortuneAccount
({
const
res
=
await
downloadPolicyFortuneAccount
({
fortuneBizIdList
:
multipleSelection
.
value
.
map
(
item
=>
item
.
fortuneBizId
)
fortuneBizIdList
:
multipleSelection
.
value
.
map
(
item
=>
item
.
fortuneBizId
),
actualPayoutDate
:
settingBillTimeForm
.
value
.
actualPayoutDate
})
})
if
(
res
.
code
===
200
)
{
if
(
res
.
code
===
200
)
{
settingBillYearMonthFlag
.
value
=
false
ElMessage
.
success
(
'完成检核,等待关账'
)
ElMessage
.
success
(
'完成检核,等待关账'
)
loadTableData
()
loadTableData
()
}
}
}
catch
(
error
)
{
}
catch
(
error
)
{
console
.
error
(
'检核失败:'
,
error
)
console
.
error
(
'检核失败:'
,
error
)
settingBillYearMonthFlag
.
value
=
true
ElMessage
.
error
(
error
.
response
?.
data
?.
msg
||
'检核失败'
)
ElMessage
.
error
(
error
.
response
?.
data
?.
msg
||
'检核失败'
)
}
}
}
else
if
(
billTimeType
.
value
==
'single'
)
{
}
else
if
(
billTimeType
.
value
==
'single'
)
{
...
...
src/views/financialCenter/financialIncome.vue
View file @
f5163091
...
@@ -1007,6 +1007,7 @@ const handleSelect = (e, row) => {
...
@@ -1007,6 +1007,7 @@ const handleSelect = (e, row) => {
}
else
if
(
e
===
'syncToReceivable'
)
{
}
else
if
(
e
===
'syncToReceivable'
)
{
return
return
}
else
if
(
e
===
'editCheckRecord'
)
{
}
else
if
(
e
===
'editCheckRecord'
)
{
updateDataFormModel
.
value
=
{
...
selectedRow
.
value
}
recordCheckDialogFlag
.
value
=
true
recordCheckDialogFlag
.
value
=
true
return
return
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment