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 f56f6b38
authored
Jan 19, 2021
by
吴娟华
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
'修复总览订单bug'
1 parent
ea1b04c6
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
98 additions
and
39 deletions
src/router/routes.js
src/views/financeManage/financeDetail.vue
src/views/financeManage/financeList.vue
src/views/index/incomeProductOption.js
src/views/index/index.vue
src/views/index/orderProductOption.js
src/views/index/storeFlowOption.js
src/views/orderManage/orderDetail.vue
src/views/systemConfig/merchantDetail.vue
src/router/routes.js
View file @
f56f6b3
...
@@ -292,7 +292,7 @@ export const resources = {
...
@@ -292,7 +292,7 @@ export const resources = {
},
{
},
{
authId
:
'9040102'
,
authId
:
'9040102'
,
parentId
:
'90401'
,
parentId
:
'90401'
,
label
:
'查看
订单
'
,
label
:
'查看
详情
'
,
handle
:
'handleDetail'
handle
:
'handleDetail'
}],
}],
component
:
_import
(
'orderManage/orderList'
)
component
:
_import
(
'orderManage/orderList'
)
...
...
src/views/financeManage/financeDetail.vue
View file @
f56f6b3
...
@@ -98,7 +98,7 @@
...
@@ -98,7 +98,7 @@
</tr>
</tr>
<tr>
<tr>
<td
class=
"lb"
>
成本费用
</td>
<td
class=
"lb"
>
成本费用
</td>
<td>
{{
detail
.
shop
Cost
}}
</td>
<td>
{{
detail
.
yq
Cost
}}
</td>
<td
class=
"lb"
>
参与分账金额
</td>
<td
class=
"lb"
>
参与分账金额
</td>
<td
colspan=
"3"
>
{{
detail
.
allocationMoney
}}
</td>
<td
colspan=
"3"
>
{{
detail
.
allocationMoney
}}
</td>
</tr>
</tr>
...
...
src/views/financeManage/financeList.vue
View file @
f56f6b3
...
@@ -34,7 +34,7 @@
...
@@ -34,7 +34,7 @@
</div>
</div>
<div
class=
"summary_total"
>
<div
class=
"summary_total"
>
<span
class=
"summary_total_label"
>
总订单收入
</span>
<span
class=
"summary_total_label"
>
总订单收入
</span>
<span
class=
"summary_total_value"
>
{{
summayData
.
totalIn
C
omeMoney
}}
</span>
<span
class=
"summary_total_value"
>
{{
summayData
.
totalIn
c
omeMoney
}}
</span>
</div>
</div>
<div
class=
"summary_list"
>
<div
class=
"summary_list"
>
<div
class=
"summary_item"
>
<div
class=
"summary_item"
>
...
...
src/views/index/incomeProductOption.js
View file @
f56f6b3
...
@@ -13,15 +13,29 @@ const incomeProductOption = {
...
@@ -13,15 +13,29 @@ const incomeProductOption = {
},
},
tooltip
:
{
tooltip
:
{
trigger
:
'item'
,
trigger
:
'item'
,
formatter
:
'{a} <br/>{b} : {c} ({d}%)'
formatter
:
(
params
)
=>
{
return
`
${
insertBr
(
params
.
name
)}
:
${
params
.
value
}
(
${
params
.
percent
}
%)`
},
position
:
[
10
,
10
]
},
},
series
:
[
series
:
[
{
{
name
:
'毛利'
,
name
:
'毛利'
,
type
:
'pie'
,
type
:
'pie'
,
radius
:
[
'
50%'
,
'7
0%'
],
radius
:
[
'
40%'
,
'6
0%'
],
center
:
[
'50%'
,
'60%'
],
center
:
[
'50%'
,
'60%'
],
label
:{
align
:
'left'
,
normal
:{
formatter
(
v
)
{
let
text
=
v
.
name
return
insertBr
(
text
)
},
textStyle
:
{
fontSize
:
10
}
}
},
data
:
[
data
:
[
{
value
:
335
,
name
:
'直接访问'
},
{
value
:
335
,
name
:
'直接访问'
},
{
value
:
310
,
name
:
'邮件营销'
},
{
value
:
310
,
name
:
'邮件营销'
},
...
@@ -39,5 +53,17 @@ const incomeProductOption = {
...
@@ -39,5 +53,17 @@ const incomeProductOption = {
}
}
]
]
}
}
function
insertBr
(
text
)
{
if
(
text
.
length
<=
8
){
return
text
;
}
else
if
(
text
.
length
>
8
&&
text
.
length
<=
16
){
return
text
=
`
${
text
.
slice
(
0
,
8
)}
\n
${
text
.
slice
(
8
)}
\n`
}
else
if
(
text
.
length
>
16
&&
text
.
length
<=
24
){
return
text
=
`
${
text
.
slice
(
0
,
8
)}
\n
${
text
.
slice
(
8
,
16
)}
\n
${
text
.
slice
(
16
)}
\n`
}
else
if
(
text
.
length
>
24
&&
text
.
length
<=
30
){
return
text
=
`
${
text
.
slice
(
0
,
8
)}
\n
${
text
.
slice
(
8
,
16
)}
\n
${
text
.
slice
(
16
,
24
)}
\n
${
text
.
slice
(
24
)}
\n`
}
else
if
(
text
.
length
>
30
){
return
text
=
`
${
text
.
slice
(
0
,
8
)}
\n
${
text
.
slice
(
8
,
16
)}
\n
${
text
.
slice
(
16
,
24
)}
\n
${
text
.
slice
(
24
,
30
)}
\n
${
text
.
slice
(
30
)}
\n`
}
}
export
default
incomeProductOption
export
default
incomeProductOption
src/views/index/index.vue
View file @
f56f6b3
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
</div>
</div>
<div
style=
"text-align: right;"
>
<div
style=
"text-align: right;"
>
<el-radio-group
v-model=
"totalType"
type=
"info"
size=
"mini"
>
<el-radio-group
v-model=
"totalType"
type=
"info"
size=
"mini"
>
<el-radio-button
label=
"
yesterday"
>
昨
日
</el-radio-button>
<el-radio-button
label=
"
today"
>
今
日
</el-radio-button>
<el-radio-button
label=
"thisWeek"
>
本周
</el-radio-button>
<el-radio-button
label=
"thisWeek"
>
本周
</el-radio-button>
<el-radio-button
label=
"thisMonth"
>
本月
</el-radio-button>
<el-radio-button
label=
"thisMonth"
>
本月
</el-radio-button>
</el-radio-group>
</el-radio-group>
...
@@ -97,7 +97,7 @@
...
@@ -97,7 +97,7 @@
</div>
</div>
<div>
<div>
<el-radio-group
v-model=
"customerType"
type=
"info"
size=
"mini"
>
<el-radio-group
v-model=
"customerType"
type=
"info"
size=
"mini"
>
<el-radio-button
label=
"
yesterday"
>
昨
日
</el-radio-button>
<el-radio-button
label=
"
today"
>
今
日
</el-radio-button>
<el-radio-button
label=
"thisWeek"
>
本周
</el-radio-button>
<el-radio-button
label=
"thisWeek"
>
本周
</el-radio-button>
<el-radio-button
label=
"thisMonth"
>
本月
</el-radio-button>
<el-radio-button
label=
"thisMonth"
>
本月
</el-radio-button>
</el-radio-group>
</el-radio-group>
...
@@ -113,7 +113,7 @@
...
@@ -113,7 +113,7 @@
<div
class=
"top_card_md"
>
<div
class=
"top_card_md"
>
<span
class=
"top_card_md_right top_card_primary"
>
{{
customerData
.
totalCustomerNums
}}
</span>
<span
class=
"top_card_md_right top_card_primary"
>
{{
customerData
.
totalCustomerNums
}}
</span>
</div>
</div>
<div
class=
"top_card_bm"
v-show=
"customerType==='
yester
day'"
>
<div
class=
"top_card_bm"
v-show=
"customerType==='
to
day'"
>
<span
class=
"top_card_bm_left"
>
周同比:
{{
customerData
.
onWeekCustomerNums
}}
%
</span>
<span
class=
"top_card_bm_left"
>
周同比:
{{
customerData
.
onWeekCustomerNums
}}
%
</span>
<span
class=
"top_card_bm_right customer"
>
日环比:
{{
customerData
.
onDayCustomerNums
}}
%
</span>
<span
class=
"top_card_bm_right customer"
>
日环比:
{{
customerData
.
onDayCustomerNums
}}
%
</span>
</div>
</div>
...
@@ -131,7 +131,7 @@
...
@@ -131,7 +131,7 @@
<div
class=
"top_card_md"
>
<div
class=
"top_card_md"
>
<span
class=
"top_card_md_right top_card_second"
>
{{
customerData
.
totalToShop
}}
</span>
<span
class=
"top_card_md_right top_card_second"
>
{{
customerData
.
totalToShop
}}
</span>
</div>
</div>
<div
class=
"top_card_bm"
v-show=
"customerType==='
yester
day'"
>
<div
class=
"top_card_bm"
v-show=
"customerType==='
to
day'"
>
<span
class=
"top_card_bm_left"
>
周同比:
{{
customerData
.
onWeekToShop
}}
%
</span>
<span
class=
"top_card_bm_left"
>
周同比:
{{
customerData
.
onWeekToShop
}}
%
</span>
<span
class=
"top_card_bm_right customer"
>
日环比:
{{
customerData
.
onDayToShop
}}
%
</span>
<span
class=
"top_card_bm_right customer"
>
日环比:
{{
customerData
.
onDayToShop
}}
%
</span>
</div>
</div>
...
@@ -149,13 +149,13 @@
...
@@ -149,13 +149,13 @@
<div
class=
"top_card_md"
>
<div
class=
"top_card_md"
>
<span
class=
"top_card_md_right top_card_third"
>
{{
customerData
.
upgradeTransfer
}}
%
</span>
<span
class=
"top_card_md_right top_card_third"
>
{{
customerData
.
upgradeTransfer
}}
%
</span>
</div>
</div>
<div
class=
"top_card_bm"
v-show=
"customerType==='
yester
day'"
>
<div
class=
"top_card_bm"
v-show=
"customerType==='
to
day'"
>
<span
class=
"top_card_bm_left"
>
周同比:
{{
customerData
.
onWeekUpgradeTransfer
}}
%
</span>
<span
class=
"top_card_bm_left"
>
周同比:
{{
customerData
.
onWeekUpgradeTransfer
}}
%
</span>
<span
class=
"top_card_bm_right customer"
>
日环比:
{{
customerData
.
onDayUpgradeTransfer
}}
%
</span>
<span
class=
"top_card_bm_right customer"
>
日环比:
{{
customerData
.
onDayUpgradeTransfer
}}
%
</span>
</div>
</div>
<div
class=
"top_card_bm"
>
<div
class=
"top_card_bm"
>
<span
class=
"top_card_bm_left"
>
日均转化率(比)
</span>
<span
class=
"top_card_bm_left"
>
日均转化率(比)
</span>
<span
class=
"top_card_bm_right"
>
{{
customerData
.
perDayUpgradeTransfer
}}
</span>
<span
class=
"top_card_bm_right"
>
{{
customerData
.
perDayUpgradeTransfer
}}
%
</span>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -279,7 +279,7 @@ export default {
...
@@ -279,7 +279,7 @@ export default {
userInfo
:
this
.
$store
.
state
.
d2admin
.
user
.
info
,
userInfo
:
this
.
$store
.
state
.
d2admin
.
user
.
info
,
customTransChart
:
null
,
customTransChart
:
null
,
todayInviteCount
:
''
,
todayInviteCount
:
''
,
totalType
:
'
yester
day'
,
totalType
:
'
to
day'
,
totalData
:
{
totalData
:
{
totalCustomerNums
:
''
,
totalCustomerNums
:
''
,
customerTransfer
:
''
,
customerTransfer
:
''
,
...
@@ -288,7 +288,7 @@ export default {
...
@@ -288,7 +288,7 @@ export default {
totalFlowsMoney
:
''
,
totalFlowsMoney
:
''
,
totalGrossProfit
:
''
totalGrossProfit
:
''
},
},
customerType
:
'
yester
day'
,
customerType
:
'
to
day'
,
customerData
:
{
customerData
:
{
totalCustomerNums
:
''
,
totalCustomerNums
:
''
,
onDayCustomerNums
:
''
,
onDayCustomerNums
:
''
,
...
@@ -481,23 +481,25 @@ export default {
...
@@ -481,23 +481,25 @@ export default {
this
.
showChartLoading
(
this
.
orderProductChart
)
this
.
showChartLoading
(
this
.
orderProductChart
)
const
params
=
{
const
params
=
{
yqMerchantId
:
this
.
id
,
yqMerchantId
:
this
.
id
,
/*
beginDateStr: '2020-12-07',
beginDateStr
:
'2020-12-07'
,
endDateStr: '2020-12-13',
*/
endDateStr
:
'2020-12-13'
,
...(
this
.
getDateFormatByType
(
'thisWeek'
))
//
...(this.getDateFormatByType('thisWeek'))
}
}
getOrderProductData
(
params
).
then
((
res
)
=>
{
getOrderProductData
(
params
).
then
((
res
)
=>
{
const
data
=
res
const
data
=
res
const
colors
=
[
'rgba(9,71,198,0.8)'
,
'rgba(9,71,198,0.4)'
,
'rgba(9,71,198,1)'
]
let
idObj
=
{}
let
idObj
=
{}
for
(
let
key
in
data
)
{
for
(
let
key
in
data
)
{
let
index
=
moment
(
key
).
day
()
-
1
let
index
=
moment
(
key
).
format
(
'E'
)
-
1
console
.
log
(
index
)
let
list
=
data
[
key
]
let
list
=
data
[
key
]
list
.
forEach
((
item
)
=>
{
list
.
forEach
((
item
,
i
)
=>
{
if
(
!
(
item
.
id
in
idObj
))
{
if
(
!
(
item
.
id
in
idObj
))
{
idObj
[
item
.
id
]
=
{
idObj
[
item
.
id
]
=
{
data
:
[],
data
:
[],
name
:
item
.
goodsName
name
:
item
.
goodsName
,
color
:
colors
[
i
]
}
}
}
}
idObj
[
item
.
id
].
data
.
push
([
index
,
item
.
goodsTotal
])
idObj
[
item
.
id
].
data
.
push
([
index
,
item
.
goodsTotal
])
...
@@ -510,14 +512,19 @@ export default {
...
@@ -510,14 +512,19 @@ export default {
name
:
idObj
[
key
].
name
,
name
:
idObj
[
key
].
name
,
type
:
'bar'
,
type
:
'bar'
,
stack
:
'总量'
,
stack
:
'总量'
,
//barGap: '-100%',
label
:
{
label
:
{
show
:
false
,
show
:
false
,
formatter
:
'{a}'
,
formatter
:
'{a}'
,
position
:
'insideRight'
position
:
'insideRight'
},
},
itemStyle
:
{
color
:
idObj
[
key
].
color
},
data
:
idObj
[
key
].
data
data
:
idObj
[
key
].
data
})
})
}
}
orderProductOption
.
series
=
seriesArr
orderProductOption
.
series
=
seriesArr
this
.
orderProductChart
.
setOption
(
orderProductOption
)
this
.
orderProductChart
.
setOption
(
orderProductOption
)
this
.
hideChartLoading
(
this
.
orderProductChart
)
this
.
hideChartLoading
(
this
.
orderProductChart
)
...
@@ -581,6 +588,10 @@ export default {
...
@@ -581,6 +588,10 @@ export default {
let
endDateStr
=
''
let
endDateStr
=
''
switch
(
type
)
{
switch
(
type
)
{
case
'today'
:
beginDateStr
=
moment
().
startOf
(
'day'
).
format
(
'YYYY-MM-DD'
)
endDateStr
=
moment
().
endOf
(
'day'
).
format
(
'YYYY-MM-DD'
)
break
case
'yesterday'
:
case
'yesterday'
:
beginDateStr
=
moment
().
subtract
(
1
,
'day'
).
startOf
(
'day'
).
format
(
'YYYY-MM-DD'
)
beginDateStr
=
moment
().
subtract
(
1
,
'day'
).
startOf
(
'day'
).
format
(
'YYYY-MM-DD'
)
endDateStr
=
moment
().
subtract
(
1
,
'day'
).
endOf
(
'day'
).
format
(
'YYYY-MM-DD'
)
endDateStr
=
moment
().
subtract
(
1
,
'day'
).
endOf
(
'day'
).
format
(
'YYYY-MM-DD'
)
...
@@ -621,8 +632,8 @@ export default {
...
@@ -621,8 +632,8 @@ export default {
...
this
.
getDateFormatByType
(
this
.
customerType
),
...
this
.
getDateFormatByType
(
this
.
customerType
),
yqMerchantId
:
this
.
id
yqMerchantId
:
this
.
id
}
}
if
(
this
.
customerType
===
'
yester
day'
)
{
if
(
this
.
customerType
===
'
to
day'
)
{
params
.
needCompareDateStr
=
moment
().
s
ubtract
(
1
,
'day'
).
s
tartOf
(
'day'
).
format
(
'YYYY-MM-DD'
)
params
.
needCompareDateStr
=
moment
().
startOf
(
'day'
).
format
(
'YYYY-MM-DD'
)
}
}
getCustomerData
(
params
).
then
((
res
)
=>
{
getCustomerData
(
params
).
then
((
res
)
=>
{
console
.
log
(
res
)
console
.
log
(
res
)
...
...
src/views/index/orderProductOption.js
View file @
f56f6b3
const
orderProductOption
=
{
const
orderProductOption
=
{
color
:
[
'rgba(9,71,198,
0.8)'
,
'rgba(0,157,255,1)'
,
'rgba(255,178,25,1)'
],
color
:
[
'rgba(9,71,198,
1)'
,
'rgba(9,71,198,0.8)'
,
'rgba(9,71,198,0.6)'
,
],
tooltip
:
{
tooltip
:
{
trigger
:
'axis'
,
trigger
:
'axis'
,
axisPointer
:
{
axisPointer
:
{
...
...
src/views/index/storeFlowOption.js
View file @
f56f6b3
const
storeFlowOption
=
{
const
storeFlowOption
=
{
color
:
[
'rgba(9,71,198,1)'
,
'rgba(9,71,198,0.8)'
,
'rgba(9,71,198,0.6)'
,
'rgba(9,71,198,0.4)'
,
'rgba(9,71,198,0.3)'
],
color
:
[
'rgba(9,71,198,1)'
,
'rgba(9,71,198,0.8)'
,
'rgba(9,71,198,0.6)'
,
'rgba(9,71,198,0.4)'
,
'rgba(9,71,198,0.3)'
],
tooltip
:
{
tooltip
:
{
trigger
:
'item'
,
trigger
:
'item'
,
formatter
:
'{a} <br/>{b} : {c} ({d}%)'
,
//formatter: '{a} <br/>{b} : {c} ({d}%)',
formatter
:
(
params
)
=>
{
console
.
log
(
params
)
return
`
${
insertBr
(
params
.
name
)}
:
${
params
.
value
}
(
${
params
.
percent
}
%)`
},
position
:
[
10
,
10
]
position
:
[
10
,
10
]
},
},
legend
:
{
legend
:
{
...
@@ -17,30 +22,23 @@ const storeFlowOption = {
...
@@ -17,30 +22,23 @@ const storeFlowOption = {
},
},
tooltip
:
{
tooltip
:
{
show
:
true
show
:
true
},
textStyle
:
{
fontSize
:
'11'
}
}
},
},
series
:
[
series
:
[
{
{
name
:
'4s门店客流量'
,
name
:
'4s门店客流量'
,
type
:
'pie'
,
type
:
'pie'
,
radius
:
'5
5
%'
,
radius
:
'5
0
%'
,
center
:
[
'40%'
,
'65%'
],
center
:
[
'40%'
,
'65%'
],
label
:{
label
:{
align
:
'left'
,
align
:
'left'
,
normal
:{
normal
:{
formatter
(
v
)
{
formatter
(
v
)
{
let
text
=
v
.
name
let
text
=
v
.
name
if
(
text
.
length
<=
8
){
return
insertBr
(
text
)
return
text
;
}
else
if
(
text
.
length
>
8
&&
text
.
length
<=
16
){
return
text
=
`
${
text
.
slice
(
0
,
8
)}
\n
${
text
.
slice
(
8
)}
\n`
}
else
if
(
text
.
length
>
16
&&
text
.
length
<=
24
){
return
text
=
`
${
text
.
slice
(
0
,
8
)}
\n
${
text
.
slice
(
8
,
16
)}
\n
${
text
.
slice
(
16
)}
\n`
}
else
if
(
text
.
length
>
24
&&
text
.
length
<=
30
){
return
text
=
`
${
text
.
slice
(
0
,
8
)}
\n
${
text
.
slice
(
8
,
16
)}
\n
${
text
.
slice
(
16
,
24
)}
\n
${
text
.
slice
(
24
)}
\n`
}
else
if
(
text
.
length
>
30
){
return
text
=
`
${
text
.
slice
(
0
,
8
)}
\n
${
text
.
slice
(
8
,
16
)}
\n
${
text
.
slice
(
16
,
24
)}
\n
${
text
.
slice
(
24
,
30
)}
\n
${
text
.
slice
(
30
)}
\n`
}
},
},
textStyle
:
{
textStyle
:
{
fontSize
:
10
fontSize
:
10
...
@@ -77,4 +75,18 @@ const storeFlowOption = {
...
@@ -77,4 +75,18 @@ const storeFlowOption = {
]
]
}
}
function
insertBr
(
text
)
{
if
(
text
.
length
<=
8
){
return
text
;
}
else
if
(
text
.
length
>
8
&&
text
.
length
<=
16
){
return
text
=
`
${
text
.
slice
(
0
,
8
)}
\n
${
text
.
slice
(
8
)}
\n`
}
else
if
(
text
.
length
>
16
&&
text
.
length
<=
24
){
return
text
=
`
${
text
.
slice
(
0
,
8
)}
\n
${
text
.
slice
(
8
,
16
)}
\n
${
text
.
slice
(
16
)}
\n`
}
else
if
(
text
.
length
>
24
&&
text
.
length
<=
30
){
return
text
=
`
${
text
.
slice
(
0
,
8
)}
\n
${
text
.
slice
(
8
,
16
)}
\n
${
text
.
slice
(
16
,
24
)}
\n
${
text
.
slice
(
24
)}
\n`
}
else
if
(
text
.
length
>
30
){
return
text
=
`
${
text
.
slice
(
0
,
8
)}
\n
${
text
.
slice
(
8
,
16
)}
\n
${
text
.
slice
(
16
,
24
)}
\n
${
text
.
slice
(
24
,
30
)}
\n
${
text
.
slice
(
30
)}
\n`
}
}
export
default
storeFlowOption
export
default
storeFlowOption
src/views/orderManage/orderDetail.vue
View file @
f56f6b3
...
@@ -95,7 +95,7 @@
...
@@ -95,7 +95,7 @@
header-cell-style=
"text-align:center; background-color:#fafafa"
header-cell-style=
"text-align:center; background-color:#fafafa"
style=
"width: 100%"
>
style=
"width: 100%"
>
<el-table-column
<el-table-column
prop=
"createdDate"
prop=
"createdDate
Str
"
align=
"center"
align=
"center"
label=
"时间"
>
label=
"时间"
>
</el-table-column>
</el-table-column>
...
@@ -114,11 +114,16 @@
...
@@ -114,11 +114,16 @@
</el-table-column>
</el-table-column>
</el-table>
</el-table>
</div>
</div>
</div>
</div>
<p
style=
"text-align:center;"
>
<el-button
type=
"primary"
@
click=
"close({ tagName: '/orderDetail' })"
>
关闭
</el-button>
</p>
</d2-container>
</d2-container>
</template>
</template>
<
script
>
<
script
>
import
{
mapActions
}
from
'vuex'
import
{
getOrderDetail
}
from
'@api/order'
import
{
getOrderDetail
}
from
'@api/order'
export
default
{
export
default
{
name
:
'orderDetail'
,
name
:
'orderDetail'
,
...
@@ -163,6 +168,7 @@ export default {
...
@@ -163,6 +168,7 @@ export default {
},
},
methods
:
{
methods
:
{
...
mapActions
({
close
:
'd2admin/page/close'
}),
arraySpanMethod
({
row
,
column
,
rowIndex
,
columnIndex
})
{
arraySpanMethod
({
row
,
column
,
rowIndex
,
columnIndex
})
{
if
(
rowIndex
===
1
)
{
if
(
rowIndex
===
1
)
{
if
(
columnIndex
===
0
)
{
if
(
columnIndex
===
0
)
{
...
...
src/views/systemConfig/merchantDetail.vue
View file @
f56f6b3
...
@@ -205,11 +205,15 @@ export default {
...
@@ -205,11 +205,15 @@ export default {
if
(
this
.
form
.
merchantProfitValue
==
'-1'
)
{
if
(
this
.
form
.
merchantProfitValue
==
'-1'
)
{
this
.
form
.
merchantProfitType
=
2
this
.
form
.
merchantProfitType
=
2
this
.
form
.
merchantProfitValue
=
''
this
.
form
.
merchantProfitValue
=
''
}
else
{
this
.
form
.
merchantProfitType
=
1
}
}
if
(
this
.
form
.
partnerProfitPer
==
'-1'
)
{
if
(
this
.
form
.
partnerProfitPer
==
'-1'
)
{
this
.
form
.
partnerProfitType
=
2
this
.
form
.
partnerProfitType
=
2
this
.
form
.
partnerProfitPer
=
''
this
.
form
.
partnerProfitPer
=
''
}
else
{
this
.
form
.
partnerProfitType
=
1
}
}
}
}
},
},
...
...
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