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 1453105e
authored
Aug 05, 2024
by
前端
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
版本代码提交
1 parent
2fc4a491
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
53 additions
and
38 deletions
src/views/financeManage/financeDetail.vue
src/views/financeManage/index.vue
src/views/financeManage/financeDetail.vue
View file @
1453105
...
...
@@ -11,34 +11,34 @@
<td
rowspan=
"3"
class=
"product_td"
>
<img
class=
"product_img"
:src=
"$$(detail.subOrder,
'upgradeThumbUrl')"
>
:src=
"$$(detail.subOrder,
'upgradeThumbUrl')"
/
>
</td>
<td
class=
"lb"
>
商品名称
</td>
<td
class=
"lb"
>
{{
$$
(
detail
.
subOrder
,
'upgradeGoodsName'
)
}}
{{
$$
(
detail
.
subOrder
,
'upgradeGoodsName'
)
}}
</td>
<td
class=
"lb"
>
商品别名
</td>
<td
class=
"lb"
>
{{
$$
(
detail
.
subOrder
,
'upgradeGoodsAlias'
)
}}
{{
$$
(
detail
.
subOrder
,
'upgradeGoodsAlias'
)
}}
</td>
<td
class=
"lb"
>
品牌商
</td>
<td>
{{
$$
(
detail
.
subOrder
,
'upgradeBrandMerchantName'
)
}}
</td>
<td>
{{
$$
(
detail
.
subOrder
,
'upgradeBrandMerchantName'
)
}}
</td>
</tr>
<tr>
<td
class=
"lb"
>
商品类别
</td>
<td>
{{
$$
(
detail
.
subOrder
,
'upgradeGoodsTypeName'
)
}}
</td>
<td>
{{
$$
(
detail
.
subOrder
,
'upgradeGoodsTypeName'
)
}}
</td>
<td
class=
"lb"
>
数量
</td>
<td>
{{
$$
(
detail
.
subOrder
,
'number'
)
}}
件
</td>
<td>
{{
$$
(
detail
.
subOrder
,
'number'
)
}}
件
</td>
<td
rowspan=
"2"
class=
"lb"
>
支付金额
...
...
@@ -52,14 +52,15 @@
商品零售价
</td>
<td>
{{
$$
(
detail
.
subOrder
,
'upgradeRetailPrice'
)
?
'¥ '
+
$$
(
detail
.
subOrder
,
'upgradeRetailPrice'
)
:
''
}}
{{
$$
(
detail
.
subOrder
,
'upgradeRetailPrice'
)
?
'¥ '
+
$$
(
detail
.
subOrder
,
'upgradeRetailPrice'
)
:
''
}}
</td>
<td
class=
"lb"
>
优惠折扣
</td>
<td>
{{
$$
(
detail
.
subOrder
,
'upgradeDiscount'
)
}}
折
</td>
<td>
{{
$$
(
detail
.
subOrder
,
'upgradeDiscount'
)
}}
折
</td>
</tr>
</table>
<table
class=
"finnance_table"
>
<!-- 订单信息 -->
<tr>
...
...
@@ -73,13 +74,13 @@
订单编号
</td>
<td
class=
"sb"
>
{{
isSubOrder
?
detail
.
subOrderCode
:
detail
.
orderCode
}}
{{
isSubOrder
?
detail
.
subOrderCode
:
detail
.
orderCode
}}
</td>
<td
class=
"lb"
>
支付方式
</td>
<td
class=
"sb"
>
{{
payTypeOpts
[
$$
(
detail
.
goodsOrder
,
'payOrder'
,
'payType'
)]
}}
{{
payTypeOpts
[
$$
(
detail
.
goodsOrder
,
'payOrder'
,
'payType'
)]
}}
</td>
</tr>
<tr>
...
...
@@ -87,13 +88,13 @@
下单时间
</td>
<td>
{{
$$
(
detail
.
goodsOrder
,
'orderTime'
)
}}
{{
$$
(
detail
.
goodsOrder
,
'orderTime'
)
}}
</td>
<td
class=
"lb"
>
{{
+
$$
(
detail
.
goodsOrder
,
'payOrder'
,
'payType'
)
===
2
?
'交易流水号'
:
'交易参考号'
}}
{{
+
$$
(
detail
.
goodsOrder
,
'payOrder'
,
'payType'
)
===
2
?
'交易流水号'
:
'交易参考号'
}}
</td>
<td>
{{
$$
(
detail
.
goodsOrder
,
'payOrder'
,
'tradeNo'
)
}}
{{
$$
(
detail
.
goodsOrder
,
'payOrder'
,
'tradeNo'
)
}}
</td>
</tr>
<tr>
...
...
@@ -107,7 +108,7 @@
支付时间
</td>
<td>
{{
$$
(
detail
.
goodsOrder
,
'payOrder'
,
'successDate'
)
}}
{{
$$
(
detail
.
goodsOrder
,
'payOrder'
,
'successDate'
)
}}
</td>
</tr>
<tr
v-show=
"isSubOrder"
>
...
...
@@ -119,6 +120,7 @@
</td>
</tr>
</table>
<table
class=
"finnance_table"
>
<tr>
<td
colspan=
"4"
...
...
@@ -130,17 +132,18 @@
<td
class=
"lb"
>
客户姓名
</td>
<td
class=
"sb"
>
{{
$$
(
detail
.
goodsOrder
,
'customer'
,
'customerName'
)
}}
</td>
<td
class=
"sb"
>
{{
$$
(
detail
.
goodsOrder
,
'customer'
,
'customerName'
)
}}
</td>
<td
class=
"lb"
>
性别
</td>
<td
class=
"sb"
>
{{
customerSexOpts
[
$$
(
detail
.
goodsOrder
,
'customer'
,
'customerSex'
)]
}}
</td>
<td
class=
"sb"
>
{{
customerSexOpts
[
$$
(
detail
.
goodsOrder
,
'customer'
,
'customerSex'
)]
}}
</td>
</tr>
<tr>
<td
class=
"lb"
>
车架号
</td>
<td>
{{
$$
(
detail
.
goodsOrder
,
'customer'
,
'standNo'
)
}}
</td>
<td>
{{
$$
(
detail
.
goodsOrder
,
'customer'
,
'standNo'
)
}}
</td>
<td
class=
"lb"
>
车型
</td>
...
...
@@ -153,24 +156,25 @@
<td
class=
"lb"
>
流量来源
</td>
<td>
{{
$$
(
detail
.
goodsOrder
,
'merchantName'
)
}}
</td>
<td>
{{
$$
(
detail
.
goodsOrder
,
'merchantName'
)
}}
</td>
<td
class=
"lb"
>
销售顾问
</td>
<td>
{{
$$
(
detail
.
goodsOrder
,
'employeeName'
)
}}
</td>
<td>
{{
$$
(
detail
.
goodsOrder
,
'employeeName'
)
}}
</td>
</tr>
<tr
v-if=
"detail.sceneType == 1 || detail.sceneType == 2 || detail.sceneType == 3"
>
<td
class=
"lb"
>
<!-- 园区店 -->
服务对接
</td>
<td>
{{
$$
(
detail
.
goodsOrder
,
'sellerMerchantName'
)
}}
</td>
<td>
{{
$$
(
detail
.
goodsOrder
,
'sellerMerchantName'
)
}}
</td>
<td
class=
"lb"
>
转化员
</td>
<td>
{{
$$
(
detail
.
goodsOrder
,
'sellerName'
)
}}
</td>
<td>
{{
$$
(
detail
.
goodsOrder
,
'sellerName'
)
}}
</td>
</tr>
</table>
<table
class=
"finnance_table"
>
<tr>
<td
colspan=
"4"
...
...
@@ -182,12 +186,12 @@
<td
class=
"lb"
>
支付金额
</td>
<td
class=
"sb"
>
{{
detail
.
totalPrice
?(
'¥ '
+
detail
.
totalPrice
):
'¥0'
}}
</td>
<td
class=
"sb"
>
{{
detail
.
totalPrice
?
'¥ '
+
detail
.
totalPrice
:
'¥0'
}}
</td>
<td
class=
"lb"
>
入账手续费
</td>
<td
class=
"sb"
>
{{
detail
.
serviceCharge
?(
'¥ '
+
detail
.
serviceCharge
):
'¥0'
}}
{{
detail
.
serviceCharge
?
'¥ '
+
detail
.
serviceCharge
:
'¥0'
}}
</td>
</tr>
<tr>
...
...
@@ -195,33 +199,43 @@
实收金额
</td>
<td>
{{
detail
.
actualIncomeMoney
?(
'¥ '
+
detail
.
actualIncomeMoney
):
'¥0'
}}
{{
detail
.
actualIncomeMoney
?
'¥ '
+
detail
.
actualIncomeMoney
:
'¥0'
}}
</td>
<td
class=
"lb"
>
总分账金额
</td>
<td>
{{
detail
.
actualIncomeMoney
?(
'¥ '
+
detail
.
actualIncomeMoney
):
'¥0'
}}
</td>
<td>
{{
detail
.
actualIncomeMoney
?
'¥ '
+
detail
.
actualIncomeMoney
:
'¥0'
}}
</td>
</tr>
<tr>
<td
class=
"lb"
>
商品成本
</td>
<td>
{{
detail
.
goodsCost
?(
'¥ '
+
detail
.
goodsCost
):
'¥0'
}}
</td>
<td>
{{
detail
.
goodsCost
?
'¥ '
+
detail
.
goodsCost
:
'¥0'
}}
</td>
<td
class=
"lb"
>
回收成本
</td>
<td>
{{
detail
.
recoveryCost
?(
'¥ '
+
detail
.
recoveryCost
):
'¥0'
}}
</td>
<td>
{{
detail
.
recoveryCost
?
'¥ '
+
detail
.
recoveryCost
:
'¥0'
}}
</td>
</tr>
<tr>
<td
class=
"lb"
>
虚拟对账成本
</td>
<td>
{{
detail
.
virtualAccountCost
?(
'¥ '
+
detail
.
virtualAccountCost
):
'¥0'
}}
</td>
<td>
{{
detail
.
virtualAccountCost
?
'¥ '
+
detail
.
virtualAccountCost
:
'¥0'
}}
</td>
<td
class=
"lb"
>
嘀加成本
</td>
<td>
{{
detail
.
djCost
?
'¥ '
+
detail
.
djCost
:
'¥0'
}}
</td>
</tr>
<tr>
<td
class=
"lb"
>
第三方成本
</td>
<td>
{{
detail
.
thirdPartyCost
?
'¥ '
+
detail
.
thirdPartyCost
:
'¥0'
}}
</td>
<td
class=
"lb"
></td>
<td></td>
</tr>
</table>
<table
class=
"finnance_table"
v-if=
"ledgerData.length"
>
<tr>
...
...
@@ -247,23 +261,24 @@
分账金额
</td>
</tr>
<tr
v-for=
"(item,index) in ledgerData"
<tr
v-for=
"(item,
index) in ledgerData"
:key=
"index"
>
<td>
{{
item
.
expenseCategoryName
}}
</td>
<td>
{{
targetTypeOpts
[
item
.
targetType
]
}}
:
{{
item
.
targetMerchantName
?(
item
.
targetType
==
2
?
'-'
:
item
.
targetMerchantName
):
'-'
}}
{{
targetTypeOpts
[
item
.
targetType
]
}}
:
{{
item
.
targetMerchantName
?
(
item
.
targetType
==
2
?
'-'
:
item
.
targetMerchantName
)
:
'-'
}}
</td>
<td>
{{
item
.
targetMerchantId
?(
item
.
targetType
==
2
?
'-'
:
item
.
targetMerchantId
):
'-'
}}
{{
item
.
targetMerchantId
?
(
item
.
targetType
==
2
?
'-'
:
item
.
targetMerchantId
)
:
'-'
}}
</td>
<td>
{{
proportionTypeOpts
[
item
.
expenseCategoryCalculateType
]
?(
proportionTypeOpts
[
item
.
expenseCategoryCalculateType
]
+
item
.
expenseCategoryValue
+
'%'
):
'-'
}}
{{
proportionTypeOpts
[
item
.
expenseCategoryCalculateType
]
?
proportionTypeOpts
[
item
.
expenseCategoryCalculateType
]
+
item
.
expenseCategoryValue
+
'%'
:
'-'
}}
</td>
<td>
{{
item
.
expenseCategoryResult
?(
'¥ '
+
item
.
expenseCategoryResult
):
'¥0'
}}
</td>
<td>
{{
item
.
expenseCategoryResult
?
'¥ '
+
item
.
expenseCategoryResult
:
'¥0'
}}
</td>
</tr>
</table>
<!-- 审计需求先屏蔽 -->
<!--
<table
class=
"finnance_table"
v-if=
"reconciliationData.length"
>
...
...
@@ -342,7 +357,6 @@ export default {
},
methods
:
{
getDetail
(
row
)
{
if
(
this
.
isSubOrder
)
{
this
.
$apis
.
finance
.
subOrderDetail
({
subOrderCode
:
row
.
orderCode
}).
then
(
res
=>
{
...
...
@@ -381,17 +395,18 @@ export default {
calculateds
.
forEach
(
item
=>
{
// if (item.ruleType == 1) { // 分账
// 审计需求先加过滤
if
(
item
.
ruleType
==
1
&&
item
.
expenseCategoryId
==
1
)
{
// 分账
if
(
item
.
ruleType
==
1
&&
item
.
expenseCategoryId
==
1
)
{
// 分账
this
.
ledgerData
.
push
(
item
)
}
else
if
(
item
.
ruleType
==
3
)
{
// 对账
}
else
if
(
item
.
ruleType
==
3
)
{
// 对账
this
.
reconciliationData
.
push
(
item
)
}
})
}
}
,
}
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
.finnance_detail
{
...
...
src/views/financeManage/index.vue
View file @
1453105
This diff is collapsed.
Click to expand it.
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