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
df8d349a
Commit
df8d349a
authored
Dec 29, 2025
by
Sweet Zhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面对接
parent
8fd3df19
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
20 additions
and
17 deletions
+20
-17
src/api/financial/commission.js
+10
-1
src/components/FileUpload/index.vue
+1
-0
src/components/SearchForm/SearchForm.vue
+3
-2
src/views/financialCenter/financialBilling.vue
+0
-0
src/views/financialCenter/financialIncome.vue
+0
-0
src/views/financialCenter/receivables.vue
+6
-14
No files found.
src/api/financial/commission.js
View file @
df8d349a
...
...
@@ -256,7 +256,7 @@ export function expectedFortuneStatistics(data) {
data
:
data
})
}
// 入账记录查询
// 入账
比对
记录查询
export
function
commissionEntryRecord
(
data
)
{
return
request
({
url
:
'/csf/api/commission/compare/records'
,
...
...
@@ -300,3 +300,12 @@ export function exportReceivedFortune(data) {
responseType
:
'blob'
})
}
// 入账记录查询
export
function
commissionExpectedRecord
(
data
)
{
return
request
({
url
:
'/csf/api/commission/pageByCommissionexpectedBizId'
,
method
:
'post'
,
data
:
data
})
}
src/components/FileUpload/index.vue
View file @
df8d349a
...
...
@@ -14,6 +14,7 @@
:headers=
"headers"
class=
"upload-file-uploader"
ref=
"fileUpload"
:drag=
"drag"
v-if=
"!disabled"
>
<!-- 上传按钮 -->
...
...
src/components/SearchForm/SearchForm.vue
View file @
df8d349a
...
...
@@ -54,8 +54,8 @@
<el-col
:xs=
"24"
:sm=
"12"
:md=
"6"
:lg=
"6"
v-else-if=
"item.type === 'date'"
>
<el-form-item
:label=
"item.label"
:prop=
"item.prop"
>
<el-date-picker
v-model=
"formModel[item.prop]"
type=
"date"
:placeholder=
"item.placeholder || `请选择$
{item.label}`"
format="YYYY-MM-DD
"
value-format="YYYY-MM-DD
" style="width: 100%" clearable />
:placeholder=
"item.placeholder || `请选择$
{item.label}`"
:format="item.format || 'YYYY-MM-DD'
"
:value-format="item.valueFormat || 'YYYY-MM-DD'
" style="width: 100%" clearable />
</el-form-item>
</el-col>
...
...
@@ -69,6 +69,7 @@
value-format=
"YYYY-MM-DD"
clearable
/>
</el-form-item>
</el-col>
</
template
>
</el-row>
</el-form>
...
...
src/views/financialCenter/financialBilling.vue
View file @
df8d349a
This diff is collapsed.
Click to expand it.
src/views/financialCenter/financialIncome.vue
View file @
df8d349a
This diff is collapsed.
Click to expand it.
src/views/financialCenter/receivables.vue
View file @
df8d349a
...
...
@@ -163,7 +163,7 @@ import CommonDialog from '@/components/commonDialog'
import
{
ref
,
reactive
,
onMounted
}
from
'vue'
import
{
ElMessage
,
ElMessageBox
}
from
'element-plus'
import
{
MoreFilled
}
from
'@element-plus/icons-vue'
import
{
receivedFortuneList
,
commissionEntryRecord
,
commissionEntryEditRecords
,
exportReceivedFortune
}
from
'@/api/financial/commission'
import
{
receivedFortuneList
,
commissionEntryRecord
,
commissionEntryEditRecords
,
exportReceivedFortune
,
commissionExpectedRecord
}
from
'@/api/financial/commission'
import
{
numberWithCommas
}
from
'@/utils/index'
import
SearchForm
from
'@/components/SearchForm/SearchForm.vue'
import
{
getDictLabel
}
from
'@/utils/useDict'
;
...
...
@@ -417,8 +417,8 @@ const loadTableData = async (searchParams = {}) => {
const
loadEntryRecordData
=
async
(
cbd
)
=>
{
loading
.
value
=
true
try
{
const
params
=
{
commissionBizId
:
cbd
}
const
response
=
await
commissionE
ntry
Record
(
params
)
const
params
=
{
commission
Expected
BizId
:
cbd
}
const
response
=
await
commissionE
xpected
Record
(
params
)
return
response
.
data
.
records
||
[]
}
catch
(
error
)
{
console
.
error
(
'加载入账记录失败:'
,
error
)
...
...
@@ -451,27 +451,19 @@ const handleSelect = async (e, row) => {
if
(
e
===
'entryRecord'
)
{
entryRecordDialogTableVisible
.
value
=
true
entryRecordDialogTableColumns
.
value
=
[
{
property
:
'reconciliationYearMonth'
,
label
:
'检核年月'
,
width
:
'100'
},
{
property
:
'commissionPeriod'
,
label
:
'佣金期数'
,
width
:
'100'
},
{
property
:
'totalPeriod'
,
label
:
'总期数'
,
width
:
'150'
},
{
property
:
'exchangeRate'
,
label
:
'结算汇率(实)'
,
width
:
'150'
},
{
property
:
'currency'
,
label
:
'入账币种'
,
width
:
'150'
},
{
property
:
'amount'
,
label
:
'入账金额'
,
width
:
'150'
},
{
property
:
'commissionRatio'
,
label
:
'入账比例'
,
width
:
'150'
},
{
property
:
'c
urrentC
ommissionRatio'
,
label
:
'入账比例'
,
width
:
'150'
},
{
property
:
'commissionDate'
,
label
:
'入账日'
,
width
:
'150'
},
{
property
:
'status'
,
label
:
'入账状态'
,
width
:
'150'
}
]
// 加载真实数据
const
records
=
await
loadEntryRecordData
(
row
.
commissionExpectedBizId
)
entryRecordDialogTableData
.
value
=
records
.
length
?
records
:
[{
commissionPeriod
:
'2023-08'
,
totalPeriod
:
'10'
,
exchangeRate
:
'1.2345'
,
currency
:
'CNY'
,
amount
:
'10000.00'
,
commissionRatio
:
'10%'
,
commissionDate
:
'2023-08-01'
,
status
:
'已入账'
}]
entryRecordDialogTableData
.
value
=
records
.
length
?
records
:
[]
}
else
if
(
e
===
'setStatus'
)
{
// 回显当前行状态
form
.
status
=
row
.
status
...
...
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