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 d03bb9ad
authored
Apr 24, 2021
by
cwq0219
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
财务列表
1 parent
6c81b83d
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
6 deletions
src/views/financeManage/financeDetail.vue
src/views/financeManage/financeList.vue
src/views/systemConfig/merchant/viewDetail.vue
src/views/financeManage/financeDetail.vue
View file @
d03bb9a
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
<d2-container
class=
"finnance_detail"
>
<d2-container
class=
"finnance_detail"
>
<div
class=
"finnance_table_wrap d2-container-content"
>
<div
class=
"finnance_table_wrap d2-container-content"
>
<p
class=
"finnance_title"
>
对账详情
</p>
<p
class=
"finnance_title"
>
对账详情
</p>
<table
class=
"finnance_table"
>
<table
v-if=
"!detail.hasOwnProperty('subOrderProfitAllocations')"
class=
"finnance_table"
>
<tr>
<tr>
<td
rowspan=
"3"
class=
"product_td"
><img
class=
"product_img"
:src=
"detail.goodsThumbUrl"
/></td>
<td
rowspan=
"3"
class=
"product_td"
><img
class=
"product_img"
:src=
"detail.goodsThumbUrl"
/></td>
<td
class=
"lb"
>
商品名称
</td>
<td
class=
"lb"
>
商品名称
</td>
...
...
src/views/financeManage/financeList.vue
View file @
d03bb9a
This diff is collapsed.
Click to expand it.
src/views/systemConfig/merchant/viewDetail.vue
View file @
d03bb9a
...
@@ -3,7 +3,13 @@
...
@@ -3,7 +3,13 @@
<div
class=
"view-detail"
>
<div
class=
"view-detail"
>
<el-row>
<el-row>
<el-col
:span=
"12"
>
自动打款:
{{
form
.
autoFlag
===
'N'
?
'否'
:
'是'
}}
</el-col>
<el-col
:span=
"12"
>
自动打款:
{{
form
.
autoFlag
===
'N'
?
'否'
:
'是'
}}
</el-col>
<el-col
v-show=
"form.settleTimeType"
:span=
"12"
>
分账周期:n+
{{
form
.
settleTime
}}
</el-col>
<el-col
v-show=
"form.settleTimeType"
:span=
"12"
>
分账周期:
<span
v-if=
"form.settleTimeType === 1"
>
n+
{{
form
.
settleTime
}}
</span>
<span
v-else
>
每月
{{
form
.
settleTime
}}
号
</span>
</el-col>
</el-row>
</el-row>
<p>
金额分配设置:
</p>
<p>
金额分配设置:
</p>
<p
class=
"edit-sub-title"
>
导流方(4S店)基础信息
</p>
<p
class=
"edit-sub-title"
>
导流方(4S店)基础信息
</p>
...
@@ -108,7 +114,7 @@
...
@@ -108,7 +114,7 @@
<
script
>
<
script
>
import
{
Util
}
from
'@/common/util'
import
{
Util
}
from
'@/common/util'
import
{
getAccountRule
}
from
'@api/merchant'
import
{
getAccountRule
,
getDivisionRuleApi
}
from
'@api/merchant'
import
{
userType
,
ghUserType
,
merchantClassifyList
}
from
'@/common/constants'
import
{
userType
,
ghUserType
,
merchantClassifyList
}
from
'@/common/constants'
export
default
{
export
default
{
name
:
'viewDetail'
,
name
:
'viewDetail'
,
...
@@ -125,6 +131,11 @@ export default {
...
@@ -125,6 +131,11 @@ export default {
parentAddr
:
''
,
parentAddr
:
''
,
parentCreatedDate
:
''
parentCreatedDate
:
''
},
},
DivisionFlagToTxt
:
{
1
:
'嘀加智慧云'
,
2
:
'服务商'
,
3
:
'4S店'
},
// 分账列表
// 分账列表
settleRuleList
:
[],
settleRuleList
:
[],
baseData
:
{
baseData
:
{
...
@@ -174,12 +185,12 @@ export default {
...
@@ -174,12 +185,12 @@ export default {
parentAddr
:
this
.
viewDetailData
.
partnerMerchant
?
((
this
.
viewDetailData
.
partnerMerchant
.
provinceName
||
''
)
+
(
this
.
viewDetailData
.
partnerMerchant
.
cityName
||
''
)
+
(
this
.
viewDetailData
.
partnerMerchant
.
areaName
||
''
)
+
(
this
.
viewDetailData
.
partnerMerchant
.
address
||
''
))
:
''
,
parentAddr
:
this
.
viewDetailData
.
partnerMerchant
?
((
this
.
viewDetailData
.
partnerMerchant
.
provinceName
||
''
)
+
(
this
.
viewDetailData
.
partnerMerchant
.
cityName
||
''
)
+
(
this
.
viewDetailData
.
partnerMerchant
.
areaName
||
''
)
+
(
this
.
viewDetailData
.
partnerMerchant
.
address
||
''
))
:
''
,
parentCreatedDate
:
this
.
viewDetailData
.
partnerMerchant
?
(
this
.
viewDetailData
.
partnerMerchant
.
createdDate
?
Util
.
dateFormate
(
this
.
viewDetailData
.
partnerMerchant
.
createdDate
,
'YYYY-MM-DD HH:mm:ss'
)
:
''
)
:
''
parentCreatedDate
:
this
.
viewDetailData
.
partnerMerchant
?
(
this
.
viewDetailData
.
partnerMerchant
.
createdDate
?
Util
.
dateFormate
(
this
.
viewDetailData
.
partnerMerchant
.
createdDate
,
'YYYY-MM-DD HH:mm:ss'
)
:
''
)
:
''
}
}
getDivisionRuleApi
({
merchantId
:
this
.
viewDetailData
.
merchantId
}).
then
(
res
=>
{
Object
.
assign
(
this
.
form
,
res
)
})
getAccountRule
({
'merchantId'
:
this
.
viewDetailData
.
merchantId
}).
then
(
res
=>
{
getAccountRule
({
'merchantId'
:
this
.
viewDetailData
.
merchantId
}).
then
(
res
=>
{
console
.
log
(
res
)
console
.
log
(
res
)
if
(
res
)
{
if
(
res
)
{
this
.
form
.
autoFlag
=
res
.
autoFlag
this
.
form
.
settleTimeType
=
res
.
settleTimeType
this
.
form
.
settleTime
=
res
.
settleTime
this
.
settleRuleList
=
res
.
goodsTypeSettleRuleList
this
.
settleRuleList
=
res
.
goodsTypeSettleRuleList
this
.
settleRuleList
.
unshift
({
this
.
settleRuleList
.
unshift
({
goodsTypeName
:
'全部'
,
goodsTypeName
:
'全部'
,
...
...
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