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 562f400a
authored
Sep 27, 2024
by
前端
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'SAAS+V4.45.0-0926' into 'master'
上线合并 See merge request
!10
2 parents
3e26a5f9
40d31f69
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
4 deletions
src/common/constant.js
src/views/financeManage/financeDetail.vue
src/common/constant.js
View file @
562f400
...
@@ -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 @
562f400
...
@@ -276,10 +276,13 @@
...
@@ -276,10 +276,13 @@
<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
.
noData
?
(
item
.
expenseCategoryResult
?
'¥ '
+
item
.
expenseCategoryResult
:
'¥0'
)
:
'-
'
}}
<
/td
>
<
/tr
>
<
/tr
>
<
/table
>
<
/table
>
...
@@ -411,6 +414,17 @@ export default {
...
@@ -411,6 +414,17 @@ export default {
}
}
}
)
}
)
}
}
// 未匹配到流量费规则,默认展示一条空数据
if
(
!
this
.
ledgerData
?.
length
)
{
let
_data
=
{
expenseCategoryName
:
'流量费'
,
targetType
:
1
,
targetMerchantName
:
res
?.
orderDivision
?.
realityShopMerchantName
,
targetMerchantId
:
res
?.
orderDivision
?.
realityShopMerchantId
,
noData
:
true
}
this
.
ledgerData
.
push
(
_data
)
}
}
}
}
}
}
}
...
...
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