Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-finance
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 4f746dae
authored
Sep 06, 2024
by
zhangxw
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
财务列表明细兼容分润模式
1 parent
3e26a5f9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
src/common/constant.js
src/views/financeManage/financeDetail.vue
src/common/constant.js
View file @
4f746da
...
@@ -299,7 +299,9 @@ export const proportionType = {
...
@@ -299,7 +299,9 @@ export const proportionType = {
3
:
'(固定金额)'
,
3
:
'(固定金额)'
,
4
:
'(产值-流量成本)'
,
4
:
'(产值-流量成本)'
,
5
:
'(产值-流量成本-其他费用不包含产品成本)'
,
5
:
'(产值-流量成本-其他费用不包含产品成本)'
,
6
:
'(产值-流量成本-其他费用包含产品成本)'
6
:
'(产值-流量成本-其他费用包含产品成本)'
,
8
:
"(收入-自定义其他费用)"
,
9
:
"(收入-其他费用)"
}
}
export
const
targetType
=
{
export
const
targetType
=
{
...
...
src/views/financeManage/financeDetail.vue
View file @
4f746da
...
@@ -276,8 +276,11 @@
...
@@ -276,8 +276,11 @@
<td>
<td>
{{
item
.
targetMerchantId
?
(
item
.
targetType
==
2
?
'-'
:
item
.
targetMerchantId
)
:
'-'
}}
{{
item
.
targetMerchantId
?
(
item
.
targetType
==
2
?
'-'
:
item
.
targetMerchantId
)
:
'-'
}}
</td>
</td>
<td>
<td
v-if=
"item.expenseCategoryCalculateType == 10"
>
{{
proportionTypeOpts
[
item
.
expenseCategoryCalculateType
]
?
proportionTypeOpts
[
item
.
expenseCategoryCalculateType
]
+
item
.
expenseCategoryValue
+
'%'
:
'-'
}}
{{
`按固定金额${item.expenseCategoryValue
}
元*`
}}
{{
item
.
purchaseNum
||
''
}}
<
/td
>
<
td
v
-
else
>
{{
proportionTypeOpts
[
item
.
expenseCategoryCalculateType
]
?
proportionTypeOpts
[
item
.
expenseCategoryCalculateType
]
+
item
.
expenseCategoryValue
+
(
item
.
expenseCategoryCalculateType
==
3
?
'元'
:
'%'
)
:
'-'
}}
<
/td
>
<
/td
>
<
td
>
{{
item
.
expenseCategoryResult
?
'¥ '
+
item
.
expenseCategoryResult
:
'¥0'
}}
<
/td
>
<
td
>
{{
item
.
expenseCategoryResult
?
'¥ '
+
item
.
expenseCategoryResult
:
'¥0'
}}
<
/td
>
<
/tr
>
<
/tr
>
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment