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 3b757048
authored
Jun 28, 2023
by
杨北旺
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
合并v3.11.3
2 parents
8f75de80
6a9974b3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
8 deletions
src/views/inSale/myFashionableOrder.vue
src/views/inSale/upgradeOrder.vue
src/views/inSale/myFashionableOrder.vue
View file @
3b75704
...
...
@@ -65,6 +65,7 @@ const SERCH_GOODSNAME = {
type
:
'input'
,
isClear
:
true
}
const
DISABLE_MERCHANTID
=
[
44191564
,
44191528
,
44191536
,
44184606
,
44209510
]
export
default
{
name
:
''
,
props
:
{
...
...
@@ -315,6 +316,7 @@ export default {
created
()
{
this
.
tableParams
=
this
.
tableParams2
const
{
session
}
=
this
.
$globalState
this
.
merchantId
=
session
.
merchantId
this
.
accountLevel
=
session
.
accountLevel
this
.
isAdmin
=
session
.
admin
// 1.工厂 2省代 3市代 4门店
...
...
@@ -440,8 +442,11 @@ export default {
let
openInfo
=
JSON
.
parse
(
localStorage
.
getItem
(
'openInfo'
))
let
startdate
=
utils
.
dateFormat
(
openInfo
.
openDate
,
'YYYY-MM-DD 00:00:00'
)
let
endDate
=
utils
.
dateFormat
(
new
Date
(),
'YYYY-MM-DD 23:59:59'
)
params
.
paySuccessDateStartDate
=
startdate
params
.
paySuccessDateEndDate
=
endDate
const
ISEXIT
=
DISABLE_MERCHANTID
.
includes
(
Number
(
this
.
merchantId
))
if
(
!
ISEXIT
){
params
.
paySuccessDateStartDate
=
startdate
params
.
paySuccessDateEndDate
=
endDate
}
return
params
},
getCurStoreId
(
e
)
{
...
...
src/views/inSale/upgradeOrder.vue
View file @
3b75704
...
...
@@ -14,7 +14,7 @@
<span>
,累计订单支付金额:
</span>
<span
style=
"color: #5850ff"
>
¥
{{
tableCountInfo
.
totalPrice
||
0
}}
</span>
<span>
元,累计导流方利润:
</span>
<span
style=
"color: #5850ff"
>
{{
tableCountInfo
.
totalShop
GrossProfit
||
0
}}
</span>
<span
style=
"color: #5850ff"
>
{{
tableCountInfo
.
totalShop
ProfitMoney
||
0
}}
</span>
<span>
元
</span>
</div>
<div
class=
"right_select"
>
...
...
@@ -209,6 +209,8 @@ const PAYTYPEOBJ = {
4
:
"支付宝支付"
,
5
:
"嘀加收款"
}
const
DISABLE_MERCHANTID
=
[
44191564
,
44191528
,
44191536
,
44184606
,
44209510
]
export
default
{
name
:
''
,
props
:
{
...
...
@@ -719,13 +721,17 @@ export default {
}
},
mounted
()
{
console
.
log
(
this
.
merchantId
);
let
openInfo
=
JSON
.
parse
(
localStorage
.
getItem
(
'openInfo'
))
let
startDate
=
utils
.
dateFormat
(
openInfo
.
openDate
)
let
endDate
=
utils
.
dateFormat
(
new
Date
())
this
.
openCount
=
openInfo
.
openCount
||
0
let
params
=
{
payStartDateStr
:
utils
.
dateFormat
(
startDate
,
'YYYY-MM-DD 00:00:00'
),
payEndDateStr
:
utils
.
dateFormat
(
endDate
,
'YYYY-MM-DD 23:59:59'
)
let
params
=
{}
// 2023.6.28 特殊门店不需要默认传支付时间
const
ISEXIT
=
DISABLE_MERCHANTID
.
includes
(
Number
(
this
.
merchantId
))
if
(
!
ISEXIT
){
params
.
payStartDateStr
=
utils
.
dateFormat
(
startDate
,
'YYYY-MM-DD 00:00:00'
)
params
.
payEndDateStr
=
utils
.
dateFormat
(
endDate
,
'YYYY-MM-DD 23:59:59'
)
}
this
.
defaultStart
=
utils
.
dateFormat
(
startDate
,
'YYYY-MM-DD 00:00:00'
)
this
.
defaultEnd
=
utils
.
dateFormat
(
endDate
,
'YYYY-MM-DD 23:59:59'
)
...
...
@@ -903,8 +909,11 @@ export default {
params
.
payStartDateStr
=
startDate
params
.
payEndDateStr
=
endDate
}
else
{
params
.
payStartDateStr
=
this
.
defaultStart
params
.
payEndDateStr
=
this
.
defaultEnd
const
ISEXIT
=
DISABLE_MERCHANTID
.
includes
(
Number
(
this
.
merchantId
))
if
(
!
ISEXIT
){
params
.
payStartDateStr
=
this
.
defaultStart
params
.
payEndDateStr
=
this
.
defaultEnd
}
}
if
(
this
.
searchForm
.
payType
||
this
.
searchForm
.
payType
===
0
)
{
//支付方式
...
...
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