Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-services
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 f466f11b
authored
Dec 06, 2021
by
杨北旺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修复bug
1 parent
208d9014
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
108 additions
and
79 deletions
src/components/service-echart/pie.vue
src/util/util.js
src/views/inSale/accountRules.vue
src/views/inSale/couponsOrder.vue
src/views/inSale/guestComments.vue
src/views/inSale/myFashionableOrder.vue
src/views/inSale/open.vue
src/views/inSale/upgradeOrder.vue
src/components/service-echart/pie.vue
View file @
f466f11
...
@@ -29,7 +29,11 @@ export default {
...
@@ -29,7 +29,11 @@ export default {
var
myChart
=
echarts
.
init
(
chartDom
)
var
myChart
=
echarts
.
init
(
chartDom
)
var
option
=
{
var
option
=
{
tooltip
:
{
tooltip
:
{
trigger
:
'item'
trigger
:
'item'
,
formatter
:(
params
)
=>
{
let
str
=
params
.
data
[
"name"
]
+
':'
+
this
.
priceFormat
(
params
.
data
[
'value'
])
return
str
}
},
},
series
:
[
series
:
[
{
{
...
...
src/util/util.js
View file @
f466f11
...
@@ -69,45 +69,4 @@ util.getExplorer = function() {
...
@@ -69,45 +69,4 @@ util.getExplorer = function() {
}
}
return
browserType
return
browserType
}
}
util
.
priceFormat
=
function
(
value
)
{
let
newValue
=
[
''
,
''
,
''
]
let
fr
=
1000
const
ad
=
1
let
num
=
3
const
fm
=
1
while
(
value
/
fr
>=
1
)
{
fr
*=
10
num
+=
1
}
if
(
num
<=
4
)
{
newValue
[
1
]
=
'千'
newValue
[
0
]
=
parseInt
(
value
/
1000
)
+
''
}
else
if
(
num
<=
8
)
{
const
text1
=
parseInt
(
num
-
4
)
/
3
>
1
?
'千万'
:
'万'
const
fm
=
'万'
===
text1
?
10000
:
10000000
newValue
[
1
]
=
text1
;
newValue
[
0
]
=
(
value
/
fm
)
+
''
;
}
else
if
(
num
<=
16
)
{
let
text1
=
(
num
-
8
)
/
3
>
1
?
'千亿'
:
'亿'
;
text1
=
(
num
-
8
)
/
4
>
1
?
'万亿'
:
text1
;
text1
=
(
num
-
8
)
/
7
>
1
?
'千万亿'
:
text1
;
let
fm
=
1
;
if
(
'亿'
===
text1
)
{
fm
=
100000000
;
}
else
if
(
'千亿'
===
text1
)
{
fm
=
100000000000
;
}
else
if
(
'万亿'
===
text1
)
{
fm
=
1000000000000
;
}
else
if
(
'千万亿'
===
text1
)
{
fm
=
1000000000000000
;
}
newValue
[
1
]
=
text1
;
newValue
[
0
]
=
parseInt
(
value
/
fm
)
+
''
;
}
if
(
value
<
1000
)
{
newValue
[
1
]
=
''
;
newValue
[
0
]
=
value
+
''
;
}
return
newValue
.
join
(
''
);
}
export
default
util
export
default
util
\ No newline at end of file
\ No newline at end of file
src/views/inSale/accountRules.vue
View file @
f466f11
...
@@ -18,11 +18,11 @@
...
@@ -18,11 +18,11 @@
<div
v-if=
"nodata == 1"
class=
"list_wrapper"
>
<div
v-if=
"nodata == 1"
class=
"list_wrapper"
>
<div
class=
"find_wrap"
>
<div
class=
"find_wrap"
>
<div
class=
"date_wrap"
>
<div
class=
"date_wrap"
>
<el-date-picker
style=
"width: 160px"
size=
"mini"
v-model=
"startDate"
type=
"date"
placeholder=
"选择日期"
></el-date-picker>
<el-date-picker
:picker-options=
"pickerOptions"
style=
"width: 160px"
size=
"mini"
v-model=
"startDate"
type=
"date"
placeholder=
"选择日期"
></el-date-picker>
</div>
</div>
<div
style=
"width: 10px; height: 1px"
></div>
<div
style=
"width: 10px; height: 1px"
></div>
<div
class=
"date_wrap"
>
<div
class=
"date_wrap"
>
<el-date-picker
style=
"width: 160px"
size=
"mini"
v-model=
"endDate"
type=
"date"
placeholder=
"选择日期"
></el-date-picker>
<el-date-picker
:picker-options=
"pickerOptions"
style=
"width: 160px"
size=
"mini"
v-model=
"endDate"
type=
"date"
placeholder=
"选择日期"
></el-date-picker>
</div>
</div>
<el-button
size=
"mini"
type=
"primary"
@
click=
"toFindNote"
>
查询
</el-button>
<el-button
size=
"mini"
type=
"primary"
@
click=
"toFindNote"
>
查询
</el-button>
<span
class=
"tip_text"
@
click=
"computeShow = true"
>
查看分润计算说明
</span>
<span
class=
"tip_text"
@
click=
"computeShow = true"
>
查看分润计算说明
</span>
...
@@ -112,7 +112,7 @@
...
@@ -112,7 +112,7 @@
<p
class=
"h17_title"
>
平台方分润为=¥1.67
</p>
<p
class=
"h17_title"
>
平台方分润为=¥1.67
</p>
</div>
</div>
<div
class=
"content1 flex_scb"
>
<div
class=
"content1 flex_scb"
>
<img
class=
"arrow_icon"
src=
"../../assets/scrm_arrow_icon.png"
>
<img
class=
"arrow_icon"
src=
"../../assets/scrm_arrow_icon.png"
/
>
<div
class=
"con_box"
>
<div
class=
"con_box"
>
<p
class=
"title1"
>
假设分账设置:
</p>
<p
class=
"title1"
>
假设分账设置:
</p>
<p
class=
"title2"
>
导流方分:商品成本+导流方分润
</p>
<p
class=
"title2"
>
导流方分:商品成本+导流方分润
</p>
...
@@ -160,9 +160,13 @@ export default {
...
@@ -160,9 +160,13 @@ export default {
nodata
:
2
,
nodata
:
2
,
noList
:
2
,
noList
:
2
,
nodataHeight
:
460
,
nodataHeight
:
460
,
stepHeight
:
288
stepHeight
:
288
,
pickerOptions
:{}
}
}
},
},
created
(){
// this.pickerOptions = this.setDateLimit()
},
mounted
()
{
mounted
()
{
const
{
session
}
=
this
.
$globalState
const
{
session
}
=
this
.
$globalState
let
merchantId
=
session
.
merchantId
let
merchantId
=
session
.
merchantId
...
@@ -177,6 +181,17 @@ export default {
...
@@ -177,6 +181,17 @@ export default {
this
.
stepHeight
=
clientHeight
-
clientHeight
*
0.5
-
133
this
.
stepHeight
=
clientHeight
-
clientHeight
*
0.5
-
133
},
},
methods
:
{
methods
:
{
// 设置日期组件时间范围
setDateLimit
()
{
let
openInfo
=
JSON
.
parse
(
localStorage
.
getItem
(
'openInfo'
))
let
startdate
=
utils
.
dateFormat
(
openInfo
.
openDate
)
let
obj
=
{
disabledDate
(
time
)
{
return
time
.
getTime
()
>
Date
.
now
()
||
time
.
getTime
()
<
new
Date
(
startdate
).
getTime
()
}
}
return
obj
},
// 获取分账规则
// 获取分账规则
getRulesDataList
(
merchantId
)
{
getRulesDataList
(
merchantId
)
{
let
method
=
getRulesData
()
let
method
=
getRulesData
()
...
@@ -213,12 +228,11 @@ export default {
...
@@ -213,12 +228,11 @@ export default {
this
.
effectTime
=
utils
.
dateFormat
(
temp
)
this
.
effectTime
=
utils
.
dateFormat
(
temp
)
}
}
this
.
divisionRuleData
=
this
.
handleMoneyShow
(
this
.
divisionRuleData
)
this
.
divisionRuleData
=
this
.
handleMoneyShow
(
this
.
divisionRuleData
)
})
})
},
},
// 处理分账金额显示
// 处理分账金额显示
handleMoneyShow
(
division
)
{
handleMoneyShow
(
division
)
{
if
(
!
division
)
{
if
(
!
division
)
{
return
division
return
division
}
}
let
newArr
=
[]
let
newArr
=
[]
...
@@ -475,7 +489,7 @@ export default {
...
@@ -475,7 +489,7 @@ export default {
box-sizing
:
border-box
;
box-sizing
:
border-box
;
padding
:
0px
25px
;
padding
:
0px
25px
;
position
:
relative
;
position
:
relative
;
>
p
{
>
p
{
line-height
:
20px
;
line-height
:
20px
;
}
}
.con_box
{
.con_box
{
...
@@ -500,11 +514,11 @@ export default {
...
@@ -500,11 +514,11 @@ export default {
line-height
:
17px
;
line-height
:
17px
;
}
}
}
}
.arrow_icon
{
.arrow_icon
{
position
:
absolute
;
position
:
absolute
;
left
:
50%
;
left
:
50%
;
top
:
50%
;
top
:
50%
;
transform
:
translate
(
-50%
,
-50%
);
transform
:
translate
(
-50%
,
-50%
);
width
:
14px
;
width
:
14px
;
height
:
14px
;
height
:
14px
;
}
}
...
...
src/views/inSale/couponsOrder.vue
View file @
f466f11
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
</div>
</div>
<div
class=
"cell_wrapper flex_sc"
style=
"width: 30%"
>
<div
class=
"cell_wrapper flex_sc"
style=
"width: 30%"
>
<div
class=
"cell_label h13_title"
>
领用时间
</div>
<div
class=
"cell_label h13_title"
>
领用时间
</div>
<el-date-picker
class=
"myfindWidth"
clearable
size=
"mini"
v-model=
"dateBetween"
type=
"daterange"
range-separator=
"至"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
></el-date-picker>
<el-date-picker
:picker-options=
"pickerOptions"
class=
"myfindWidth"
clearable
size=
"mini"
v-model=
"dateBetween"
type=
"daterange"
range-separator=
"至"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
></el-date-picker>
</div>
</div>
<div
class=
"cell_wrapper flex_sc"
style=
"width: 20%"
>
<div
class=
"cell_wrapper flex_sc"
style=
"width: 20%"
>
<el-button
size=
"mini"
@
click=
"toshowDialog"
>
查看礼券
</el-button>
<el-button
size=
"mini"
@
click=
"toshowDialog"
>
查看礼券
</el-button>
...
@@ -37,7 +37,7 @@
...
@@ -37,7 +37,7 @@
</div>
</div>
<div
class=
"cell_wrapper flex_sc"
style=
"width: 30%"
>
<div
class=
"cell_wrapper flex_sc"
style=
"width: 30%"
>
<div
class=
"cell_label h13_title"
>
核销时间
</div>
<div
class=
"cell_label h13_title"
>
核销时间
</div>
<el-date-picker
clearable
size=
"mini"
v-model=
"hxdateBetween"
type=
"daterange"
range-separator=
"至"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
></el-date-picker>
<el-date-picker
:picker-options=
"pickerOptions"
clearable
size=
"mini"
v-model=
"hxdateBetween"
type=
"daterange"
range-separator=
"至"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
></el-date-picker>
</div>
</div>
<div
class=
"cell_wrapper flex_sc"
style=
"width: 20%"
>
<div
class=
"cell_wrapper flex_sc"
style=
"width: 20%"
>
<el-button
class=
"cell_btn"
size=
"mini"
@
click=
"clearFind"
>
重置
</el-button>
<el-button
class=
"cell_btn"
size=
"mini"
@
click=
"clearFind"
>
重置
</el-button>
...
@@ -189,14 +189,30 @@ export default {
...
@@ -189,14 +189,30 @@ export default {
columType
:
0
,
columType
:
0
,
hxdateBetween
:
''
,
hxdateBetween
:
''
,
phoneNum
:
''
,
phoneNum
:
''
,
employeeName
:
''
employeeName
:
''
,
// 日期限制
pickerOptions
:{}
}
}
},
},
created
(){
// this.pickerOptions = this.setDateLimit()
},
mounted
()
{
mounted
()
{
this
.
toGetCouponsList
()
this
.
toGetCouponsList
()
this
.
toOpenCoupons
()
this
.
toOpenCoupons
()
},
},
methods
:
{
methods
:
{
// 设置日期组件时间范围
setDateLimit
()
{
let
openInfo
=
JSON
.
parse
(
localStorage
.
getItem
(
'openInfo'
))
let
startdate
=
utils
.
dateFormat
(
openInfo
.
openDate
)
let
obj
=
{
disabledDate
(
time
)
{
return
time
.
getTime
()
>
Date
.
now
()
||
time
.
getTime
()
<
new
Date
(
startdate
).
getTime
()
}
}
return
obj
},
// 发券人切换
// 发券人切换
changeEmploy
(
e
)
{
changeEmploy
(
e
)
{
this
.
columType
=
e
this
.
columType
=
e
...
...
src/views/inSale/guestComments.vue
View file @
f466f11
<
template
>
<
template
>
<div
v-if=
"accountLevel == 4"
class=
"guest-container"
>
<div
v-if=
"accountLevel == 4"
class=
"guest-container"
>
<div
class=
"top_tip_title"
>
<div
class=
"top_tip_title"
>
<span
class=
"h6_title"
>
客户评价使用场景
</span>
<span
class=
"h6_title
fw
"
>
客户评价使用场景
</span>
<!--
<div
class=
"toNext_widget"
>
<!--
<div
class=
"toNext_widget"
>
<span
class=
"h7_title"
>
查看效果演示
</span>
<span
class=
"h7_title"
>
查看效果演示
</span>
<i
class=
"el-icon-d-arrow-right"
></i>
<i
class=
"el-icon-d-arrow-right"
></i>
...
@@ -45,7 +45,7 @@
...
@@ -45,7 +45,7 @@
</div>
</div>
</div>
</div>
<div
class=
"tip_title"
>
<div
class=
"tip_title"
>
<span
class=
"h6_title"
>
客评效果预览
</span>
<span
class=
"h6_title
fw
"
>
客评效果预览
</span>
</div>
</div>
<div
class=
"image_show"
>
<div
class=
"image_show"
>
<div
class=
"image_wrap"
>
<div
class=
"image_wrap"
>
...
@@ -108,9 +108,9 @@ export default {
...
@@ -108,9 +108,9 @@ export default {
align-items
:
center
;
align-items
:
center
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
padding
:
20px
19px
15px
21px
;
padding
:
20px
19px
15px
21px
;
>
span
{
//
>
span
{
font-weight
:
500
;
//
font-weight
:
500
;
}
//
}
.toNext_widget
{
.toNext_widget
{
cursor
:
pointer
;
cursor
:
pointer
;
display
:
flex
;
display
:
flex
;
...
@@ -192,7 +192,7 @@ export default {
...
@@ -192,7 +192,7 @@ export default {
}
}
}
}
}
}
.fw
{
.fw
{
font-weight
:
500
;
font-weight
:
bold
;
}
}
</
style
>
</
style
>
\ No newline at end of file
\ No newline at end of file
src/views/inSale/myFashionableOrder.vue
View file @
f466f11
...
@@ -16,11 +16,11 @@
...
@@ -16,11 +16,11 @@
<div
class=
"find_line"
>
<div
class=
"find_line"
>
<div
class=
"cell_wrapper flex_sc"
style=
"width: 30%"
>
<div
class=
"cell_wrapper flex_sc"
style=
"width: 30%"
>
<div
class=
"cell_label h13_title"
>
分账时间
</div>
<div
class=
"cell_label h13_title"
>
分账时间
</div>
<el-date-picker
size=
"mini"
clearable
v-model=
"divisionTime"
type=
"daterange"
range-separator=
"至"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
></el-date-picker>
<el-date-picker
:picker-options=
"pickerOptions"
size=
"mini"
clearable
v-model=
"divisionTime"
type=
"daterange"
range-separator=
"至"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
></el-date-picker>
</div>
</div>
<div
class=
"cell_wrapper flex_sc"
style=
"width: 30%"
>
<div
class=
"cell_wrapper flex_sc"
style=
"width: 30%"
>
<div
class=
"cell_label h13_title"
>
支付时间
</div>
<div
class=
"cell_label h13_title"
>
支付时间
</div>
<el-date-picker
size=
"mini"
clearable
v-model=
"payTime"
type=
"daterange"
range-separator=
"至"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
></el-date-picker>
<el-date-picker
:picker-options=
"pickerOptions"
size=
"mini"
clearable
v-model=
"payTime"
type=
"daterange"
range-separator=
"至"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
></el-date-picker>
</div>
</div>
<div
v-if=
"accountLevel == 4 && curDivisionType == 2"
class=
"cell_wrapper flex_sc"
>
<div
v-if=
"accountLevel == 4 && curDivisionType == 2"
class=
"cell_wrapper flex_sc"
>
<div
class=
"cell_label h13_title"
>
分账状态
</div>
<div
class=
"cell_label h13_title"
>
分账状态
</div>
...
@@ -67,7 +67,7 @@
...
@@ -67,7 +67,7 @@
<el-button
class=
"cell_btn"
size=
"mini"
type=
"primary"
@
click=
"handlerParams"
>
查询
</el-button>
<el-button
class=
"cell_btn"
size=
"mini"
type=
"primary"
@
click=
"handlerParams"
>
查询
</el-button>
</div>
</div>
</div>
</div>
<selectSearch
ref=
"myNewSelect"
:show=
"curMerchantNo
?true:
false"
@
getId=
"getCurStoreId"
></selectSearch>
<selectSearch
ref=
"myNewSelect"
:show=
"curMerchantNo
? true :
false"
@
getId=
"getCurStoreId"
></selectSearch>
</div>
</div>
<div
class=
"tipper flex_scb"
>
<div
class=
"tipper flex_scb"
>
...
@@ -326,8 +326,9 @@ export default {
...
@@ -326,8 +326,9 @@ export default {
mytotalNumData
:
{
mytotalNumData
:
{
subOrderCount
:
0
subOrderCount
:
0
},
},
curMerchantNo
:
''
,
curMerchantNo
:
''
,
isAdmin
:
false
isAdmin
:
false
,
pickerOptions
:{}
}
}
},
},
created
()
{
created
()
{
...
@@ -335,15 +336,27 @@ export default {
...
@@ -335,15 +336,27 @@ export default {
const
{
session
}
=
this
.
$globalState
const
{
session
}
=
this
.
$globalState
this
.
accountLevel
=
session
.
accountLevel
this
.
accountLevel
=
session
.
accountLevel
this
.
isAdmin
=
session
.
admin
this
.
isAdmin
=
session
.
admin
// this.pickerOptions = this.setDateLimit()
},
},
mounted
()
{
mounted
()
{
this
.
toGetMyDivision
()
this
.
toGetMyDivision
()
},
},
methods
:
{
methods
:
{
getCurStoreId
(
e
){
// 设置日期组件时间范围
setDateLimit
()
{
let
openInfo
=
JSON
.
parse
(
localStorage
.
getItem
(
'openInfo'
))
let
startdate
=
utils
.
dateFormat
(
openInfo
.
openDate
)
let
obj
=
{
disabledDate
(
time
)
{
return
time
.
getTime
()
>
Date
.
now
()
||
time
.
getTime
()
<
new
Date
(
startdate
).
getTime
()
}
}
return
obj
},
getCurStoreId
(
e
)
{
this
.
storeId
=
e
this
.
storeId
=
e
},
},
selectCurMechant
(
e
){
selectCurMechant
(
e
)
{
this
.
$refs
.
myNewSelect
.
selectCurMechant
(
e
)
this
.
$refs
.
myNewSelect
.
selectCurMechant
(
e
)
},
},
changeNOFind
(
e
)
{
changeNOFind
(
e
)
{
...
@@ -417,7 +430,8 @@ export default {
...
@@ -417,7 +430,8 @@ export default {
changDivisionType
(
type
)
{
changDivisionType
(
type
)
{
this
.
curDivisionType
=
type
this
.
curDivisionType
=
type
this
.
tableParams
=
type
==
1
?
this
.
tableParams1
:
this
.
tableParams2
this
.
tableParams
=
type
==
1
?
this
.
tableParams1
:
this
.
tableParams2
this
.
toGetMyDivision
()
this
.
clearFind
()
// this.toGetMyDivision()
},
},
toGetMyDivision
(
params
=
{})
{
toGetMyDivision
(
params
=
{})
{
// const { session } = this.$globalState
// const { session } = this.$globalState
...
...
src/views/inSale/open.vue
View file @
f466f11
...
@@ -27,7 +27,7 @@
...
@@ -27,7 +27,7 @@
<span
class=
"h8_title"
>
¥
{{
productValueInfo
.
divisionMoney
||
'---'
}}
</span>
<span
class=
"h8_title"
>
¥
{{
productValueInfo
.
divisionMoney
||
'---'
}}
</span>
</div>
</div>
<template
v-if=
"accountLevel == 4"
>
<template
v-if=
"accountLevel == 4"
>
<span
class=
"text_tip h12_title"
>
{{
showMoneyLineTitle
}}
</span>
<span
class=
"text_tip h12_title"
>
{{
showMoneyLineTitle
}}
</span>
<span
class=
"text_tip_price h13_title"
>
昨日产值:
{{
productValueInfo
.
yesterdayDivisionMoney
?
'¥'
:
''
}}{{
productValueInfo
.
yesterdayDivisionMoney
||
'---'
}}
</span>
<span
class=
"text_tip_price h13_title"
>
昨日产值:
{{
productValueInfo
.
yesterdayDivisionMoney
?
'¥'
:
''
}}{{
productValueInfo
.
yesterdayDivisionMoney
||
'---'
}}
</span>
<span
class=
"text_tip_price1 h13_title"
>
今日产值:
{{
productValueInfo
.
todayDivisionMoney
?
'¥'
:
''
}}{{
productValueInfo
.
todayDivisionMoney
||
'---'
}}
</span>
<span
class=
"text_tip_price1 h13_title"
>
今日产值:
{{
productValueInfo
.
todayDivisionMoney
?
'¥'
:
''
}}{{
productValueInfo
.
todayDivisionMoney
||
'---'
}}
</span>
<span
class=
"text_tip_price2 h13_title"
>
行业均值(单店):
{{
productValueInfo
.
totalDivisionMoney
?
'¥'
:
''
}}{{
productValueInfo
.
totalDivisionMoney
||
'---'
}}
</span>
<span
class=
"text_tip_price2 h13_title"
>
行业均值(单店):
{{
productValueInfo
.
totalDivisionMoney
?
'¥'
:
''
}}{{
productValueInfo
.
totalDivisionMoney
||
'---'
}}
</span>
...
@@ -137,6 +137,7 @@ import ranking from './ranking.vue'
...
@@ -137,6 +137,7 @@ import ranking from './ranking.vue'
import
{
orderTotal
,
orderTotalOfJT
,
get4SList
}
from
'../../api/modules/rules'
import
{
orderTotal
,
orderTotalOfJT
,
get4SList
}
from
'../../api/modules/rules'
import
{
converterApi
}
from
'../../api/modules/converter'
import
{
converterApi
}
from
'../../api/modules/converter'
import
utils
from
'../../util/util'
import
utils
from
'../../util/util'
import
util
from
'../../util/util'
// const openDdate = JSON.parse(localStorage.getItem('openInfo'))
// const openDdate = JSON.parse(localStorage.getItem('openInfo'))
export
default
{
export
default
{
name
:
''
,
name
:
''
,
...
@@ -167,7 +168,7 @@ export default {
...
@@ -167,7 +168,7 @@ export default {
hxdateBetween
:
''
,
hxdateBetween
:
''
,
phoneNum
:
''
,
phoneNum
:
''
,
productValueInfo
:
{},
productValueInfo
:
{},
showMoneyLineTitle
:
''
,
showMoneyLineTitle
:
''
,
//图表时间
//图表时间
chartStartDate
:
''
,
chartStartDate
:
''
,
chartEndDate
:
''
,
chartEndDate
:
''
,
...
@@ -176,11 +177,7 @@ export default {
...
@@ -176,11 +177,7 @@ export default {
firsStore
:
null
,
firsStore
:
null
,
persent
:
0
,
persent
:
0
,
storeList
:
[],
storeList
:
[],
pickerOptions1
:
{
pickerOptions1
:{}
disabledDate
(
time
)
{
return
time
.
getTime
()
>
Date
.
now
()
||
time
.
getTime
()
<
new
Date
(
'2021-07-01'
).
getTime
()
}
}
}
}
},
},
created
()
{
created
()
{
...
@@ -198,11 +195,23 @@ export default {
...
@@ -198,11 +195,23 @@ export default {
this
.
showMore
=
data
.
status
this
.
showMore
=
data
.
status
}
}
}
}
this
.
pickerOptions1
=
this
.
setDateLimit
()
},
},
mounted
()
{
mounted
()
{
this
.
judgeOpen
()
this
.
judgeOpen
()
},
},
methods
:
{
methods
:
{
// 设置日期组件时间范围
setDateLimit
()
{
let
openInfo
=
JSON
.
parse
(
localStorage
.
getItem
(
'openInfo'
))
let
startdate
=
util
.
dateFormat
(
openInfo
.
openDate
)
let
obj
=
{
disabledDate
(
time
)
{
return
time
.
getTime
()
>
Date
.
now
()
||
time
.
getTime
()
<
new
Date
(
startdate
).
getTime
()
}
}
return
obj
},
toOpenRanking
(
e
)
{
toOpenRanking
(
e
)
{
this
.
openRankFlag
=
e
this
.
openRankFlag
=
e
},
},
...
@@ -297,7 +306,7 @@ export default {
...
@@ -297,7 +306,7 @@ export default {
converterApi
(
para
).
then
(
res
=>
{
converterApi
(
para
).
then
(
res
=>
{
this
.
productValueInfo
=
res
this
.
productValueInfo
=
res
// 判断累计产值跟行业平均产值
// 判断累计产值跟行业平均产值
this
.
showMoneyLineTitle
=
res
.
divisionMoney
>
res
.
totalDivisionMoney
?
'高于基准线'
:
'低于基准线'
this
.
showMoneyLineTitle
=
res
.
divisionMoney
>
res
.
totalDivisionMoney
?
'高于基准线'
:
'低于基准线'
this
.
orderAll
()
this
.
orderAll
()
})
})
},
},
...
...
src/views/inSale/upgradeOrder.vue
View file @
f466f11
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
<div
class=
"find_line"
>
<div
class=
"find_line"
>
<div
class=
"cell_wrapper flex_sc"
style=
"width: 30%"
>
<div
class=
"cell_wrapper flex_sc"
style=
"width: 30%"
>
<div
class=
"cell_label h13_title"
>
支付时间
</div>
<div
class=
"cell_label h13_title"
>
支付时间
</div>
<el-date-picker
style=
"width: 95%"
size=
"mini"
v-model=
"dateBetween"
type=
"daterange"
range-separator=
"至"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
></el-date-picker>
<el-date-picker
:picker-options=
"pickerOptions"
style=
"width: 95%"
size=
"mini"
v-model=
"dateBetween"
type=
"daterange"
range-separator=
"至"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
></el-date-picker>
</div>
</div>
<div
class=
"cell_wrapper flex_sc"
>
<div
class=
"cell_wrapper flex_sc"
>
<div
class=
"cell_label h13_title"
>
支付方式
</div>
<div
class=
"cell_label h13_title"
>
支付方式
</div>
...
@@ -540,7 +540,8 @@ export default {
...
@@ -540,7 +540,8 @@ export default {
isAdmin
:
false
,
isAdmin
:
false
,
curMerchantNo
:
''
,
curMerchantNo
:
''
,
detailImage
:
''
,
detailImage
:
''
,
detailImageList
:
[]
detailImageList
:
[],
pickerOptions
:{}
}
}
},
},
created
()
{
created
()
{
...
@@ -554,6 +555,7 @@ export default {
...
@@ -554,6 +555,7 @@ export default {
}
else
{
}
else
{
this
.
tableCoulumList
=
this
.
fieldList
this
.
tableCoulumList
=
this
.
fieldList
}
}
// this.pickerOptions = this.setDateLimit()
},
},
mounted
()
{
mounted
()
{
let
openInfo
=
JSON
.
parse
(
localStorage
.
getItem
(
'openInfo'
))
let
openInfo
=
JSON
.
parse
(
localStorage
.
getItem
(
'openInfo'
))
...
@@ -570,6 +572,17 @@ export default {
...
@@ -570,6 +572,17 @@ export default {
this
.
toGetCouponsList
(
params
)
this
.
toGetCouponsList
(
params
)
},
},
methods
:
{
methods
:
{
// 设置日期组件时间范围
setDateLimit
()
{
let
openInfo
=
JSON
.
parse
(
localStorage
.
getItem
(
'openInfo'
))
let
startdate
=
utils
.
dateFormat
(
openInfo
.
openDate
)
let
obj
=
{
disabledDate
(
time
)
{
return
time
.
getTime
()
>
Date
.
now
()
||
time
.
getTime
()
<
new
Date
(
startdate
).
getTime
()
}
}
return
obj
},
reloadImg
(
item
)
{
reloadImg
(
item
)
{
let
index
=
0
let
index
=
0
if
(
/^err/
.
test
(
this
.
detailImageList
[
index
]))
{
if
(
/^err/
.
test
(
this
.
detailImageList
[
index
]))
{
...
...
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