Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-life-system
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 1589b835
authored
Jun 22, 2022
by
wangql
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
4.7.1代码提交
1 parent
257e7b71
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
64 additions
and
57 deletions
src/views/financeManage/account/serviceAccount/serviceOnlineList.vue
src/views/financeManage/financeDetail.vue
src/views/financeManage/financeList.vue
src/views/financeManage/serviceFinanceList.vue
src/views/financeManage/account/serviceAccount/serviceOnlineList.vue
View file @
1589b83
...
@@ -62,9 +62,9 @@
...
@@ -62,9 +62,9 @@
:beforeSearchFn=
"beforeSearchFn"
>
:beforeSearchFn=
"beforeSearchFn"
>
<template
slot=
"divisionStatus"
<template
slot=
"divisionStatus"
slot-scope=
"scope"
>
slot-scope=
"scope"
>
<span
v-if=
"scope.scope.
orderDivision
"
>
<span
v-if=
"scope.scope.
divisionStatus
"
>
<span
<span
:style=
"
{ 'color': [4, 5].includes(+scope.scope.
orderDivision.divisionStatus) ? 'red' : '#606266' }">
{{
baseData
.
divisionStatusList
.
find
(
item
=>
+
item
.
confId
===
scope
.
scope
.
orderDivision
.
divisionStatus
).
confLabel
}}
</span>
:style=
"
{ 'color': [4, 5].includes(+scope.scope.
divisionStatus) ? 'red' : '#606266' }">
{{
baseData
.
divisionStatusList
.
find
(
item
=>
+
item
.
confId
===
scope
.
scope
.
divisionStatus
).
confLabel
}}
</span>
</span>
</span>
<span
v-else
>
-
</span>
<span
v-else
>
-
</span>
</
template
>
</
template
>
...
@@ -210,7 +210,7 @@ export default {
...
@@ -210,7 +210,7 @@ export default {
label
:
'分账时间'
,
label
:
'分账时间'
,
prop
:
'divisionDate'
,
prop
:
'divisionDate'
,
formatter
:
(
cellValue
)
=>
{
formatter
:
(
cellValue
)
=>
{
return
cellValue
.
orderDivision
?
(
cellValue
.
orderDivision
.
divisionDate
?
Util
.
dateFormate
(
cellValue
.
orderDivision
.
divisionDate
,
'YYYY-MM-DD HH:mm:ss'
)
:
'
'
)
:
''
return
cellValue
.
divisionDate
?
Util
.
dateFormate
(
cellValue
.
divisionDate
,
'YYYY-MM-DD HH:mm:ss
'
)
:
''
}
}
},
{
},
{
label
:
'订单支付时间'
,
label
:
'订单支付时间'
,
...
...
src/views/financeManage/financeDetail.vue
View file @
1589b83
...
@@ -159,50 +159,66 @@
...
@@ -159,50 +159,66 @@
<td
class=
"blue"
>
{{
detail
.
yqProfitMoney
}}
</td>
<td
class=
"blue"
>
{{
detail
.
yqProfitMoney
}}
</td>
</tr>
</tr>
<tr>
<tr>
<td
class=
"grey p-l-45"
>
平台方:
{{
detail
.
glName
}}
</td>
<td
class=
"grey p-l-45"
>
<td
class=
"grey"
></td>
平台方:
{{
(
detail
.
platformMerchantName
||
(
detail
.
platformMerchantId
&&
detail
.
platformMerchantId
!=
'-1'
))
?
detail
.
platformMerchantName
:
'嘀加智慧云'
}}
</td>
<td
class=
"grey"
>
{{
detail
.
platformMerchantId
}}
</td>
<td
class=
"grey blue"
>
{{
detail
.
glProfitPer
?
(
detail
.
glProfitPer
+
'%'
)
:
'-'
}}
</td>
<td
class=
"grey blue"
>
{{
detail
.
glProfitPer
?
(
detail
.
glProfitPer
+
'%'
)
:
'-'
}}
</td>
<td
class=
"grey blue"
>
{{
detail
.
glProfitMoney
}}
</td>
<td
class=
"grey blue"
>
{{
detail
.
glProfitMoney
}}
</td>
</tr>
</tr>
<tr
v-
show=
"isSubOrder
"
>
<tr
v-
if=
"detail.partnerSettleAccountModel == '1'
"
>
<td
class=
"grey p-l-45"
>
服务商:
{{
detail
.
franchisee
MerchantName
}}
</td>
<td
class=
"grey p-l-45"
>
服务商:
{{
detail
.
singlePartner
MerchantName
}}
</td>
<td
class=
"grey"
>
{{
detail
.
franchisee
MerchantId
}}
</td>
<td
class=
"grey"
>
{{
detail
.
singlePartner
MerchantId
}}
</td>
<td
class=
"grey blue"
>
<td
class=
"grey blue"
>
{{
detail
.
franchiseeProfitPer
?
(
detail
.
franchiseeProfitPer
+
'%'
)
:
'-'
}}
</td>
{{
detail
.
franchiseeProfitPer
?
(
detail
.
franchiseeProfitPer
+
'%'
)
:
'-'
}}
</td>
<td
class=
"grey blue"
>
<td
class=
"grey blue"
>
{{
detail
.
franchiseeMerchantName
?
detail
.
franchiseeProfitMoney
:
'-'
}}
</td>
{{
detail
.
franchiseeMerchantName
?
detail
.
franchiseeProfitMoney
:
'-'
}}
</td>
</tr>
</tr>
<tr
v-show=
"!isSubOrder"
>
<div
v-if=
"detail.partnerSettleAccountModel == '2'"
>
<div
v-if=
"isSubOrder"
>
<tr>
<td
class=
"grey p-l-45"
>
服务商总分润
</td>
<td
class=
"grey p-l-45"
>
服务商总分润
</td>
<td
class=
"grey"
>
-
</td>
<td
class=
"grey"
>
-
</td>
<td
class=
"grey blue"
>
-
</td>
<td
class=
"grey blue"
>
{{
detail
.
franchiseeMerchantName
?
detail
.
franchiseeProfitMoney
:
'-'
}}
</td>
</tr>
<tr
v-show=
"!isSubOrder"
>
<td
class=
"grey p-l-55"
>
安装费-服务商:
{{
detail
.
franchiseeMerchantName
}}
</td>
<td
class=
"grey"
>
{{
detail
.
franchiseeMerchantId
}}
</td>
<td
class=
"grey blue"
>
<td
class=
"grey blue"
>
{{
detail
.
franchiseeProfitPer
?
(
detail
.
franchiseeProfitPer
+
'%'
)
:
'-'
}}
</td>
{{
detail
.
franchiseeProfitPer
?
(
detail
.
franchiseeProfitPer
+
'%'
)
:
'-'
}}
</td>
<td
class=
"grey blue"
>
<td
class=
"grey blue"
>
{{
detail
.
franchiseeMerchantName
?
detail
.
franchiseeProfitMoney
:
'-'
}}
</td>
{{
detail
.
franchiseeMerchantName
?
detail
.
franchiseeProfitMoney
:
'-'
}}
</td>
</tr>
</tr>
<tr
v-show=
"!isSubOrder"
>
</div>
<td
class=
"grey p-l-55"
>
营销费-服务商:
{{
detail
.
franchiseeMerchantName
}}
</td>
<div
v-else
>
<td
class=
"grey"
>
{{
detail
.
franchiseeMerchantId
}}
</td>
<tr>
<td
class=
"grey p-l-45"
>
服务商总分润
</td>
<td
class=
"grey"
>
-
</td>
<td
class=
"grey blue"
>
-
</td>
<td
class=
"grey blue"
>
<td
class=
"grey blue"
>
{{
detail
.
franchiseeProfitPer
?
(
detail
.
franchiseeProfitPer
+
'%'
)
:
'-'
}}
</td>
{{
detail
.
franchiseeProfitMoney
?
detail
.
franchiseeProfitMoney
:
'-'
}}
</td>
</tr>
<tr>
<td
class=
"grey p-l-55"
>
安装费-服务商:
{{
detail
.
installCostMerchantName
}}
</td>
<td
class=
"grey"
>
{{
detail
.
installCostMerchantId
}}
</td>
<td
class=
"grey blue"
>
-
</td>
<td
class=
"grey blue"
>
<td
class=
"grey blue"
>
{{
detail
.
franchiseeMerchantName
?
detail
.
franchiseeProfitMoney
:
'-'
}}
</td>
{{
(
!
detail
.
installCost
||
detail
.
installCost
===
'¥0'
)
?
'-'
:
detail
.
installCost
}}
</td>
</tr>
</tr>
<tr
v-show=
"!isSubOrder"
>
<tr>
<td
class=
"grey p-l-55"
>
奖惩费-服务商:
{{
detail
.
franchiseeMerchantName
}}
</td>
<td
class=
"grey p-l-55"
>
营销费-服务商:
{{
detail
.
marketingCostMerchantName
}}
</td>
<td
class=
"grey"
>
{{
detail
.
franchiseeMerchantId
}}
</td>
<td
class=
"grey"
>
{{
detail
.
marketingCostMerchantId
}}
</td>
<td
class=
"grey blue"
>
-
</td>
<td
class=
"grey blue"
>
<td
class=
"grey blue"
>
{{
detail
.
franchiseeProfitPer
?
(
detail
.
franchiseeProfitPer
+
'%'
)
:
'-'
}}
</td>
{{
(
!
detail
.
marketingCost
||
detail
.
marketingCost
===
'¥0'
)
?
'-'
:
detail
.
marketingCost
}}
</td>
</tr>
<tr>
<td
class=
"grey p-l-55"
>
奖惩费-服务商:
{{
detail
.
marketingCostMerchantName
}}
</td>
<td
class=
"grey"
>
{{
detail
.
marketingCostMerchantId
}}
</td>
<td
class=
"grey blue"
>
-
</td>
<td
class=
"grey blue"
>
<td
class=
"grey blue"
>
{{
detail
.
franchiseeMerchantName
?
detail
.
franchiseeProfitMoney
:
'-'
}}
</td>
{{
(
!
detail
.
rewardAndPenaltyCost
||
detail
.
rewardAndPenaltyCost
===
'¥0'
)
?
'-'
:
detail
.
rewardAndPenaltyCost
}}
</td>
</tr>
</tr>
</div>
</div>
<!--
<tr>
<!--
<tr>
<td
class=
"lb"
colspan=
"4"
>
分账总计
</td>
<td
class=
"lb"
colspan=
"4"
>
分账总计
</td>
<td>
{{
detail
.
distributeMoney
}}
</td>
<td>
{{
detail
.
distributeMoney
}}
</td>
...
...
src/views/financeManage/financeList.vue
View file @
1589b83
...
@@ -336,7 +336,7 @@
...
@@ -336,7 +336,7 @@
align=
"center"
>
align=
"center"
>
</el-table-column>
</el-table-column>
</el-table-column>
</el-table-column>
<el-table-column
label=
"服务商分账"
<
!-- <
el-table-column label="服务商分账"
align="center"
align="center"
v-show="userInfo.beSuper">
v-show="userInfo.beSuper">
<el-table-column prop="franchiseeMerchantName"
<el-table-column prop="franchiseeMerchantName"
...
@@ -368,8 +368,8 @@
...
@@ -368,8 +368,8 @@
}}</span>
}}</span>
</template>
</template>
</el-table-column>
</el-table-column>
</el-table-column>
</el-table-column>
-->
<
!-- <
el-table-column label="服务商"
<el-table-column
label=
"服务商"
align=
"center"
align=
"center"
v-show=
"userInfo.beSuper"
>
v-show=
"userInfo.beSuper"
>
<el-table-column
prop=
"franchiseeProfitPer"
<el-table-column
prop=
"franchiseeProfitPer"
...
@@ -447,8 +447,8 @@
...
@@ -447,8 +447,8 @@
width=
"100"
width=
"100"
align=
"center"
>
align=
"center"
>
</el-table-column>
</el-table-column>
</el-table-column>
-->
</el-table-column>
<
!-- <
el-table-column label="平台方"
<el-table-column
label=
"平台方"
align=
"center"
>
align=
"center"
>
<el-table-column
prop=
"glProfitMoney"
<el-table-column
prop=
"glProfitMoney"
label=
"平台方金额"
label=
"平台方金额"
...
@@ -463,16 +463,16 @@
...
@@ -463,16 +463,16 @@
width=
"100"
width=
"100"
align=
"center"
>
align=
"center"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span>{{
scope.row.platformMerchantName
? scope.row.platformMerchantName : '嘀加智慧云'}}</span>
<span>
{{
(
scope
.
row
.
platformMerchantName
||
(
scope
.
row
.
platformMerchantId
&&
scope
.
row
.
platformMerchantId
!=
'-1'
))
?
scope
.
row
.
platformMerchantName
:
'嘀加智慧云'
}}
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table-column>
-->
</el-table-column>
<el-table-column
v-show=
"userInfo.beSuper"
<
!-- <
el-table-column v-show="userInfo.beSuper"
label="嘀加智慧云"
label="嘀加智慧云"
align="center"
align="center"
width="100"
width="100"
prop="glProfitMoney">
prop="glProfitMoney">
</el-table-column>
</el-table-column>
-->
<el-table-column
label=
"订单类型"
<el-table-column
label=
"订单类型"
align=
"center"
align=
"center"
prop=
"orderType"
>
prop=
"orderType"
>
...
@@ -543,7 +543,7 @@ export default {
...
@@ -543,7 +543,7 @@ export default {
merchantId
:
''
,
merchantId
:
''
,
orderCode
:
''
,
orderCode
:
''
,
divisionType
:
''
,
divisionType
:
''
,
realityP
latformMerchantId
:
''
p
latformMerchantId
:
''
},
},
searchSelectObj
:
{
searchSelectObj
:
{
orderOrTrade
:
{
orderOrTrade
:
{
...
@@ -645,7 +645,7 @@ export default {
...
@@ -645,7 +645,7 @@ export default {
}
}
},
{
},
{
label
:
'平台方'
,
label
:
'平台方'
,
name
:
'
realityP
latformMerchantId'
,
name
:
'
p
latformMerchantId'
,
type
:
'select'
,
type
:
'select'
,
optionList
:
[],
optionList
:
[],
optionId
:
'merchantId'
,
optionId
:
'merchantId'
,
...
@@ -736,7 +736,7 @@ export default {
...
@@ -736,7 +736,7 @@ export default {
merchantId
:
''
,
merchantId
:
''
,
orderCode
:
''
,
orderCode
:
''
,
divisionType
:
''
,
divisionType
:
''
,
realityP
latformMerchantId
:
''
p
latformMerchantId
:
''
}
}
this
.
searchSelectObj
=
{
this
.
searchSelectObj
=
{
orderOrTrade
:
{
orderOrTrade
:
{
...
...
src/views/financeManage/serviceFinanceList.vue
View file @
1589b83
...
@@ -107,7 +107,7 @@
...
@@ -107,7 +107,7 @@
</d2-search>
</d2-search>
</div>
</div>
<div
class=
"d2-container-content"
>
<div
class=
"d2-container-content"
>
<d2-table-header
leftSpan=
"23"
>
<d2-table-header
:
leftSpan=
"23"
>
<span
class=
"table-header-left"
<span
class=
"table-header-left"
slot=
"left"
>
slot=
"left"
>
<p>
共
{{
totalObj
.
nums
}}
笔订单,累计订单分账金额:
{{
totalObj
.
totalFranchiseeProfitMoney
}}
元
</p>
<p>
共
{{
totalObj
.
nums
}}
笔订单,累计订单分账金额:
{{
totalObj
.
totalFranchiseeProfitMoney
}}
元
</p>
...
@@ -253,7 +253,7 @@
...
@@ -253,7 +253,7 @@
align=
"center"
>
align=
"center"
>
</el-table-column>
</el-table-column>
</el-table-column>
</el-table-column>
<el-table-column
label=
"服务商分账"
<
!-- <
el-table-column label="服务商分账"
align="center">
align="center">
<el-table-column prop="franchiseeMerchantName"
<el-table-column prop="franchiseeMerchantName"
label="分账对象"
label="分账对象"
...
@@ -281,8 +281,8 @@
...
@@ -281,8 +281,8 @@
<span>{{scope.row.divisionType ? baseData.divisionTypeList.find(item => +item.confId === scope.row.divisionType).confLabel : '-'}}</span>
<span>{{scope.row.divisionType ? baseData.divisionTypeList.find(item => +item.confId === scope.row.divisionType).confLabel : '-'}}</span>
</template>
</template>
</el-table-column>
</el-table-column>
</el-table-column>
</el-table-column>
-->
<
!-- <
el-table-column label="服务商"
<el-table-column
label=
"服务商"
align=
"center"
align=
"center"
v-show=
"userInfo.beSuper"
>
v-show=
"userInfo.beSuper"
>
<el-table-column
prop=
"franchiseeProfitPer"
<el-table-column
prop=
"franchiseeProfitPer"
...
@@ -313,9 +313,6 @@
...
@@ -313,9 +313,6 @@
label=
"服务商对象1"
label=
"服务商对象1"
width=
"100"
width=
"100"
align=
"center"
>
align=
"center"
>
<template slot-scope="scope">
<span></span>
</template>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"installCost"
<el-table-column
prop=
"installCost"
label=
"安装费金额"
label=
"安装费金额"
...
@@ -333,9 +330,6 @@
...
@@ -333,9 +330,6 @@
label=
"服务商对象2"
label=
"服务商对象2"
width=
"100"
width=
"100"
align=
"center"
>
align=
"center"
>
<template slot-scope="scope">
<span></span>
</template>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"marketingCost"
<el-table-column
prop=
"marketingCost"
label=
"营销费金额"
label=
"营销费金额"
...
@@ -365,9 +359,6 @@
...
@@ -365,9 +359,6 @@
label=
"服务商对象3"
label=
"服务商对象3"
width=
"100"
width=
"100"
align=
"center"
>
align=
"center"
>
<template slot-scope="scope">
<span></span>
</template>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"divisionType"
<el-table-column
prop=
"divisionType"
label=
"分账类型"
label=
"分账类型"
...
@@ -376,8 +367,8 @@
...
@@ -376,8 +367,8 @@
<span>
{{
scope
.
row
.
divisionType
?
baseData
.
divisionTypeList
.
find
(
item
=>
+
item
.
confId
===
scope
.
row
.
divisionType
).
confLabel
:
'-'
}}
</span>
<span>
{{
scope
.
row
.
divisionType
?
baseData
.
divisionTypeList
.
find
(
item
=>
+
item
.
confId
===
scope
.
row
.
divisionType
).
confLabel
:
'-'
}}
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table-column>
-->
</el-table-column>
<
!-- <
el-table-column label="平台方"
<el-table-column
label=
"平台方"
align=
"center"
>
align=
"center"
>
<el-table-column
prop=
"glProfitMoney"
<el-table-column
prop=
"glProfitMoney"
label=
"平台方金额"
label=
"平台方金额"
...
@@ -392,10 +383,10 @@
...
@@ -392,10 +383,10 @@
width=
"100"
width=
"100"
align=
"center"
>
align=
"center"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span>
scope.row.platformMerchantName ? scope.row.platformMerchantName : '嘀加智慧云'
</span>
<span>
{{
scope
.
row
.
platformMerchantName
?
scope
.
row
.
platformMerchantName
:
'嘀加智慧云'
}}
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table-column>
-->
</el-table-column>
<el-table-column
prop=
"yqMerchantName"
<el-table-column
prop=
"yqMerchantName"
label=
"园区店名称"
label=
"园区店名称"
...
@@ -429,7 +420,7 @@
...
@@ -429,7 +420,7 @@
<
script
>
<
script
>
import
moment
from
'moment'
import
moment
from
'moment'
import
serviceDetailDialog
from
'./serviceDetailDialog'
import
serviceDetailDialog
from
'./serviceDetailDialog'
import
{
getServiceListApi
,
exportFile
,
getListTotal
,
getServicerefApi
,
getServiceSummaryApi
}
from
'@api/finance'
import
{
getServiceListApi
,
exportFile
,
getListTotal
,
getServicerefApi
,
getServiceSummaryApi
,
getList
}
from
'@api/finance'
import
{
getPartnerYqListApi
}
from
'@/api/account'
import
{
getPartnerYqListApi
}
from
'@/api/account'
import
{
getServiceStore
}
from
'@api/editCustomer'
import
{
getServiceStore
}
from
'@api/editCustomer'
import
{
mapActions
}
from
'vuex'
import
{
mapActions
}
from
'vuex'
...
@@ -724,7 +715,7 @@ export default {
...
@@ -724,7 +715,7 @@ export default {
}
}
// console.log(params)
// console.log(params)
get
ServiceListApi
(
params
).
then
(
res
=>
{
get
List
(
params
).
then
(
res
=>
{
let
temp
=
1
let
temp
=
1
this
.
tableData
=
res
.
list
.
map
((
item
,
index
)
=>
{
this
.
tableData
=
res
.
list
.
map
((
item
,
index
)
=>
{
item
[
'uniqueKey'
]
=
temp
++
item
[
'uniqueKey'
]
=
temp
++
...
...
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