Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
gl_tape
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
3
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 08862720
authored
May 14, 2025
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
- 调整录单页面的查询逻辑
1 parent
9384dd47
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
7 deletions
pages/equity/detail/components/History.vue
pages/equity/detail/components/History.vue
View file @
0886272
...
@@ -175,7 +175,7 @@ export default {
...
@@ -175,7 +175,7 @@ export default {
focusIndex
:
-
1
,
focusIndex
:
-
1
,
showphoto
:
false
,
showphoto
:
false
,
formatList
:
[],
formatList
:
[],
merchantOrder
:
tru
e
,
//门店订单
merchantOrder
:
fals
e
,
//门店订单
}
}
},
},
watch
:
{
watch
:
{
...
@@ -189,6 +189,8 @@ export default {
...
@@ -189,6 +189,8 @@ export default {
this
.
pageNum
=
1
this
.
pageNum
=
1
this
.
scrollTop
=
1000
this
.
scrollTop
=
1000
this
.
list
=
[]
this
.
list
=
[]
this
.
customerInfo
=
{}
if
(
this
.
channelType
==
1
)
this
.
merchantOrder
=
true
setTimeout
(()
=>
{
setTimeout
(()
=>
{
this
.
scrollTop
=
0
this
.
scrollTop
=
0
},
100
)
},
100
)
...
@@ -216,7 +218,11 @@ export default {
...
@@ -216,7 +218,11 @@ export default {
},
},
shopMerchantId
()
{
shopMerchantId
()
{
return
uni
.
$storage
.
get
(
'userInfo'
).
shopMerchantId
return
uni
.
$storage
.
get
(
'userInfo'
).
shopMerchantId
}
},
channelType
()
{
const
{
channelType
}
=
uni
.
$storage
.
get
(
'userInfo'
)
return
channelType
},
},
},
mounted
()
{
mounted
()
{
if
(
this
.
show
)
this
.
init
()
if
(
this
.
show
)
this
.
init
()
...
@@ -224,9 +230,10 @@ export default {
...
@@ -224,9 +230,10 @@ export default {
methods
:
{
methods
:
{
init
()
{
init
()
{
this
.
customerInfo
=
this
.
watchCustomerInfo
// this.customerInfo = this.watchCustomerInfo
if
(
!
this
.
customerInfo
.
carModel
&&
!
this
.
isByd
)
this
.
$refs
.
carBrandListVisible
.
autoSelect
()
// if (!this.customerInfo.carModel && !this.isByd) this.$refs.carBrandListVisible.autoSelect()
else
this
.
search
()
// else
this
.
search
()
},
},
search
()
{
search
()
{
if
(
this
.
list
.
length
==
0
)
{
if
(
this
.
list
.
length
==
0
)
{
...
@@ -243,10 +250,10 @@ export default {
...
@@ -243,10 +250,10 @@ export default {
mask
:
true
mask
:
true
});
});
let
params
=
{
let
params
=
{
merchantId
:
shopMerchantId
,
merchantId
:
shopMerchantId
,
pageNum
,
pageNum
,
pageSize
,
pageSize
,
carModel
,
carModel
:
carModel
||
''
,
orderStatus
:
3
,
orderStatus
:
3
,
merchantOrder
merchantOrder
}
}
...
...
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