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
57b57fe6
Commit
57b57fe6
authored
May 12, 2026
by
yuzhenWang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
应收发布测试
parent
5210e4fc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
45 additions
and
15 deletions
+45
-15
src/api/financial/commission.js
+2
-2
src/views/financialCenter/receivables.vue
+43
-13
No files found.
src/api/financial/commission.js
View file @
57b57fe6
...
...
@@ -510,8 +510,8 @@ export function newQueryCommissionExpectedByPage(data) {
// 应收款管理修改应收记录状态
export
function
CommissionExpectedChangeStatus
(
data
)
{
return
request
({
url
:
'csf/api/CommissionExpected/
change_
status'
,
method
:
'p
os
t'
,
url
:
'csf/api/CommissionExpected/
edit/
status'
,
method
:
'p
u
t'
,
data
:
data
})
}
src/views/financialCenter/receivables.vue
View file @
57b57fe6
...
...
@@ -188,22 +188,29 @@
:width=
"item.width"
:formatter=
"item.formatter"
/>
<!-- <el-table-column fixed="right" label="操作" min-width="120">
<el-table-column
fixed=
"right"
label=
"操作"
min-width=
"120"
>
<
template
#
default=
"{ row }"
>
<el-popover placement="right" :width="200" trigger="click">
<el-popover
placement=
"right"
:width=
"200"
trigger=
"click"
v-if=
"row.type == '1'"
>
<template
#
reference
>
<el-icon>
<MoreFilled
/>
</el-icon>
</
template
>
<el-menu
@
select=
"handleSelect($event, row)"
popper-class=
"custom-menu"
>
<el-menu-item :index="item.value" v-for="item in dropdownItems" :key="item.value">
<
!-- <
el-menu-item :index="item.value" v-for="item in dropdownItems" :key="item.value">
{{ item.label }}
</el-menu-item>
</el-menu-item> -->
<el-menu-item
:index=
"item.value"
v-for=
"item in getOperateItems(row)"
:key=
"item.value"
>
{{ item.label }}
</el-menu-item
>
</el-menu>
</el-popover>
</template>
</el-table-column>
-->
</el-table-column>
</el-table>
<el-pagination
v-model:current-page=
"detailPageInfo.currentPage"
...
...
@@ -366,10 +373,11 @@ const addReceivablesFormConfig = [
visible
:
formData
=>
formData
.
commissionBizType
===
'R'
,
rules
:
[{
pattern
:
/^
\d
+$/
,
message
:
'只能输入正整数'
,
trigger
:
'blur'
}]
},
// 等待key
{
type
:
'
date
'
,
type
:
'
month
'
,
prop
:
'commissionDate'
,
label
:
'入账
日
(估)'
,
label
:
'入账
月
(估)'
,
placeholder
:
'请选择'
},
// {
...
...
@@ -418,7 +426,7 @@ const addReceivablesFormConfig = [
},
{
type
:
'select'
,
prop
:
'reconciliationCompany
BizId
'
,
prop
:
'reconciliationCompany'
,
label
:
'对账公司'
,
api
:
'/insurance/base/api/insuranceReconciliationCompany/page'
,
keywordField
:
'name'
,
...
...
@@ -438,7 +446,7 @@ const addReceivablesFormConfig = [
},
{
type
:
'input'
,
prop
:
'
r
emark'
,
prop
:
'
manualR
emark'
,
label
:
'备注'
}
]
...
...
@@ -472,6 +480,7 @@ const handleConfirmAddReceivables = async () => {
ElMessage
.
success
(
'应收款修改成功'
)
addReceivablesDialogVisible
.
value
=
false
resetAddReceivablesForm
()
receivedFortuneListData
()
loadTableData
()
// 重新加载表格
}
else
{
ElMessage
.
error
(
res
.
msg
||
'应收款修改失败'
)
...
...
@@ -619,6 +628,21 @@ const dropdownItems = [
{
label
:
'设置状态'
,
value
:
'setStatus'
},
{
label
:
'更新数据'
,
value
:
'updateData'
}
]
// 动态生成操作菜单项(根据行数据)
const
getOperateItems
=
row
=>
{
const
items
=
[]
// 条件:isPart == 1 时不显示分期出账(使用宽松相等,兼容字符串 '1')
if
(
row
.
type
==
1
)
{
items
.
push
({
label
:
'设置状态'
,
value
:
'setStatus'
})
items
.
push
({
label
:
'更新数据'
,
value
:
'updateData'
})
}
// 始终显示的菜单项(保持原始顺序)
// items.push({ label: '设置出账年月(实)', value: 'settingBillYearMonth' })
return
items
}
// 弹窗状态
const
entryRecordDialogTableVisible
=
ref
(
false
)
...
...
@@ -869,6 +893,7 @@ const handleConfirmSetStatus = () => {
if
(
res
.
code
===
200
)
{
ElMessage
.
success
(
'状态修改成功'
)
setStatusDialogTableVisible
.
value
=
false
receivedFortuneListData
()
loadTableData
()
// 重新加载表格
}
else
{
ElMessage
.
error
(
res
.
msg
||
'状态修改失败'
)
...
...
@@ -1131,7 +1156,6 @@ const receivableReportItemTableColumns = ref([
width
:
'120'
,
formatter
:
row
=>
row
.
realAmount
||
'-'
},
//还不确定字段
{
prop
:
'realReconciliationYearMonth'
,
label
:
'检核年月'
,
...
...
@@ -1181,7 +1205,6 @@ const receivableReportItemTableColumns = ref([
width
:
'120'
,
formatter
:
row
=>
row
.
productName
||
'-'
},
//还不确定字段
{
prop
:
'issueNumber'
,
label
:
'年期'
,
...
...
@@ -1204,11 +1227,18 @@ const receivableReportItemTableColumns = ref([
formatter
:
row
=>
formatCurrency
(
row
.
premium
||
0
)
},
{
prop
:
'realRemark'
,
prop
:
'manualRemark'
,
label
:
'人工备注'
,
sortable
:
true
,
width
:
'120'
,
formatter
:
row
=>
row
.
manualRemark
||
'-'
},
{
prop
:
'remark'
,
label
:
'备注'
,
sortable
:
true
,
width
:
'120'
,
formatter
:
row
=>
row
.
re
alRe
mark
||
'-'
formatter
:
row
=>
row
.
remark
||
'-'
},
{
prop
:
'realUpdaterName'
,
...
...
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