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
e9e145b0
Commit
e9e145b0
authored
Apr 07, 2026
by
Sweet Zhang
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'swhotfix' into test
parents
be270d27
a27140c9
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
16 deletions
+22
-16
src/views/financialCenter/financialBilling.vue
+5
-3
src/views/financialCenter/payables.vue
+9
-8
src/views/financialCenter/receivables.vue
+8
-5
No files found.
src/views/financialCenter/financialBilling.vue
View file @
e9e145b0
...
@@ -203,7 +203,7 @@ import {
...
@@ -203,7 +203,7 @@ import {
getPolicyFortuneList
,
getPolicyFortuneList
,
addCheckRecordaddBatch
,
addCheckRecordaddBatch
,
updatePayoutAmount
,
updatePayoutAmount
,
downloadPolicyFortuneAccount
downloadPolicyFortuneAccount
,
}
from
'@/api/financial/commission'
}
from
'@/api/financial/commission'
import
useUserStore
from
'@/store/modules/user'
import
useUserStore
from
'@/store/modules/user'
...
@@ -378,11 +378,13 @@ const addCheckRecordConfig = [
...
@@ -378,11 +378,13 @@ const addCheckRecordConfig = [
requestParams
:
{
pageNo
:
1
,
pageSize
:
20
},
requestParams
:
{
pageNo
:
1
,
pageSize
:
20
},
placeholder
:
'输入转介人名称搜索'
,
placeholder
:
'输入转介人名称搜索'
,
debounceWait
:
500
,
// 自定义防抖时间
debounceWait
:
500
,
// 自定义防抖时间
valueKey
:
'
userSale
BizId'
,
valueKey
:
'
clientUser
BizId'
,
labelKey
:
'realName'
,
labelKey
:
'realName'
,
onChangeExtraFields
:
{
onChangeExtraFields
:
{
broker
:
'realName'
,
// 自动同步 raw.name 到 reconciliationCompany
broker
:
'realName'
,
// 自动同步 raw.name 到 reconciliationCompany
reconciliationCompanyCode
:
'code'
reconciliationCompanyCode
:
'code'
,
team
:
'deptName'
,
teamBizId
:
'deptBizId'
,
},
},
transform
:
res
=>
{
transform
:
res
=>
{
return
res
?.
data
.
records
||
[]
return
res
?.
data
.
records
||
[]
...
...
src/views/financialCenter/payables.vue
View file @
e9e145b0
...
@@ -122,7 +122,7 @@
...
@@ -122,7 +122,7 @@
<
script
setup
name=
"Payables"
>
<
script
setup
name=
"Payables"
>
import
CommonPage
from
'@/components/commonPage'
import
CommonPage
from
'@/components/commonPage'
import
{
ref
,
reactive
}
from
'vue'
import
{
ref
,
reactive
,
nextTick
}
from
'vue'
import
{
ElMessage
,
ElMessageBox
}
from
'element-plus'
import
{
ElMessage
,
ElMessageBox
}
from
'element-plus'
import
{
formatCurrency
}
from
'@/utils/number'
import
{
formatCurrency
}
from
'@/utils/number'
import
{
expectedFortuneList
,
payRecordList
,
addPayRecord
,
updatePayRecord
,
exportPayRecord
,
payableReport
}
from
'@/api/financial/commission'
import
{
expectedFortuneList
,
payRecordList
,
addPayRecord
,
updatePayRecord
,
exportPayRecord
,
payableReport
}
from
'@/api/financial/commission'
...
@@ -161,7 +161,7 @@ const payableReportListTableColumns = ref([
...
@@ -161,7 +161,7 @@ const payableReportListTableColumns = ref([
{
prop
:
'broker'
,
label
:
'转介人'
,
sortable
:
true
,
width
:
'120'
,
formatter
:
(
row
)
=>
row
.
broker
||
'-'
},
{
prop
:
'broker'
,
label
:
'转介人'
,
sortable
:
true
,
width
:
'120'
,
formatter
:
(
row
)
=>
row
.
broker
||
'-'
},
{
prop
:
'fortuneName'
,
label
:
'出账项目'
,
sortable
:
true
,
width
:
'120'
,
formatter
:
(
row
)
=>
row
.
fortuneName
||
'-'
},
{
prop
:
'fortuneName'
,
label
:
'出账项目'
,
sortable
:
true
,
width
:
'120'
,
formatter
:
(
row
)
=>
row
.
fortuneName
||
'-'
},
{
prop
:
'status'
,
label
:
'出账状态'
,
sortable
:
true
,
width
:
'120'
,
formatter
:
(
row
)
=>
getDictLabel
(
'csf_expected_fortune_status'
,
row
.
status
)
||
'-'
},
{
prop
:
'status'
,
label
:
'出账状态'
,
sortable
:
true
,
width
:
'120'
,
formatter
:
(
row
)
=>
getDictLabel
(
'csf_expected_fortune_status'
,
row
.
status
)
||
'-'
},
{
prop
:
'currency
'
,
label
:
'出账币种'
,
sortable
:
true
,
width
:
'100'
,
formatter
:
(
row
)
=>
row
.
currency
||
'-'
},
{
prop
:
'currency
Name'
,
label
:
'出账币种'
,
sortable
:
true
,
width
:
'100'
,
formatter
:
(
row
)
=>
row
.
currencyName
||
'-'
},
{
prop
:
'fortunePeriod'
,
label
:
'出账期数'
,
sortable
:
true
,
width
:
'100'
,
formatter
:
(
row
)
=>
row
.
fortunePeriod
||
'-'
},
{
prop
:
'fortunePeriod'
,
label
:
'出账期数'
,
sortable
:
true
,
width
:
'100'
,
formatter
:
(
row
)
=>
row
.
fortunePeriod
||
'-'
},
{
prop
:
'fortuneTotalPeriod'
,
label
:
'出账总期数'
,
sortable
:
true
,
width
:
'100'
,
formatter
:
(
row
)
=>
row
.
fortuneTotalPeriod
||
'-'
},
{
prop
:
'fortuneTotalPeriod'
,
label
:
'出账总期数'
,
sortable
:
true
,
width
:
'100'
,
formatter
:
(
row
)
=>
row
.
fortuneTotalPeriod
||
'-'
},
{
prop
:
'payoutDate'
,
label
:
'出账日(估)'
,
sortable
:
true
,
width
:
'120'
,
formatter
:
(
row
)
=>
row
.
payoutDate
||
'-'
},
{
prop
:
'payoutDate'
,
label
:
'出账日(估)'
,
sortable
:
true
,
width
:
'120'
,
formatter
:
(
row
)
=>
row
.
payoutDate
||
'-'
},
...
@@ -387,7 +387,7 @@ const addPayRecordFormConfig = [
...
@@ -387,7 +387,7 @@ const addPayRecordFormConfig = [
requestParams
:
{
pageNo
:
1
,
pageSize
:
20
},
requestParams
:
{
pageNo
:
1
,
pageSize
:
20
},
placeholder
:
'输入转介人名称搜索'
,
placeholder
:
'输入转介人名称搜索'
,
debounceWait
:
500
,
// 自定义防抖时间
debounceWait
:
500
,
// 自定义防抖时间
valueKey
:
'
userSale
BizId'
,
valueKey
:
'
clientUser
BizId'
,
labelKey
:
'realName'
,
labelKey
:
'realName'
,
onChangeExtraFields
:
{
onChangeExtraFields
:
{
broker
:
'realName'
,
// 自动同步 raw.name 到 reconciliationCompany
broker
:
'realName'
,
// 自动同步 raw.name 到 reconciliationCompany
...
@@ -480,12 +480,13 @@ const handleSelect = async (e, row) => {
...
@@ -480,12 +480,13 @@ const handleSelect = async (e, row) => {
}
else
if
(
e
===
'updateData'
)
{
}
else
if
(
e
===
'updateData'
)
{
editStatus
.
value
=
'edit'
editStatus
.
value
=
'edit'
addPayRecordDialogVisible
.
value
=
true
addPayRecordDialogVisible
.
value
=
true
if
(
addPayRecordFormRef
.
value
)
{
// 2. 使用 nextTick 等待 DOM 更新
addPayRecordFormModel
.
value
=
{
nextTick
(()
=>
{
...
selectedRow
.
value
// 3. 此时 addRecordRef.value 一定存在了
if
(
addPayRecordFormRef
.
value
&&
selectedRow
.
value
)
{
addPayRecordFormModel
.
value
=
{
...
selectedRow
.
value
};
}
}
}
});
console
.
log
(
addPayRecordFormModel
.
value
)
console
.
log
(
addPayRecordFormModel
.
value
)
}
}
...
...
src/views/financialCenter/receivables.vue
View file @
e9e145b0
...
@@ -196,7 +196,7 @@
...
@@ -196,7 +196,7 @@
<
script
setup
name=
"Receivables"
>
<
script
setup
name=
"Receivables"
>
import
CommonPage
from
'@/components/commonPage'
import
CommonPage
from
'@/components/commonPage'
import
CommonDialog
from
'@/components/commonDialog'
import
CommonDialog
from
'@/components/commonDialog'
import
{
ref
,
reactive
,
onMounted
,
computed
}
from
'vue'
import
{
ref
,
reactive
,
onMounted
,
computed
,
nextTick
}
from
'vue'
import
{
ElMessage
,
ElMessageBox
}
from
'element-plus'
import
{
ElMessage
,
ElMessageBox
}
from
'element-plus'
import
{
MoreFilled
}
from
'@element-plus/icons-vue'
import
{
MoreFilled
}
from
'@element-plus/icons-vue'
import
{
import
{
...
@@ -696,11 +696,14 @@ const handleSelect = async (e, row) => {
...
@@ -696,11 +696,14 @@ const handleSelect = async (e, row) => {
}
else
if
(
e
===
'updateData'
)
{
}
else
if
(
e
===
'updateData'
)
{
editStatus
.
value
=
'update'
editStatus
.
value
=
'update'
addReceivablesDialogVisible
.
value
=
true
addReceivablesDialogVisible
.
value
=
true
if
(
addRecordRef
.
value
)
{
// 2. 使用 nextTick 等待 DOM 更新
addReceivablesFormModel
.
value
=
{
nextTick
(()
=>
{
...
selectedRow
.
value
// 3. 此时 addRecordRef.value 一定存在了
}
if
(
addRecordRef
.
value
&&
selectedRow
.
value
)
{
addReceivablesFormModel
.
value
=
{
...
selectedRow
.
value
};
console
.
log
(
'赋值成功:'
,
addReceivablesFormModel
.
value
);
}
}
});
console
.
log
(
'更新数据'
,
selectedRow
.
value
)
console
.
log
(
'更新数据'
,
selectedRow
.
value
)
}
}
}
}
...
...
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