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 51e1ec26
authored
Jan 20, 2025
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
commit 修改录单记录参数
1 parent
ffe5edc9
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
pages/equity/detail/components/History.vue
pages/equity/detail/components/History.vue
View file @
51e1ec2
...
@@ -149,7 +149,6 @@ export default {
...
@@ -149,7 +149,6 @@ export default {
},
},
data
()
{
data
()
{
return
{
return
{
shopMerchantId
:
''
,
scrollTop
:
0
,
scrollTop
:
0
,
formObject
:
[
formObject
:
[
{
{
...
@@ -189,6 +188,9 @@ export default {
...
@@ -189,6 +188,9 @@ export default {
watchCustomerInfo
()
{
watchCustomerInfo
()
{
return
this
.
$store
.
state
.
user
.
customerInfo
return
this
.
$store
.
state
.
user
.
customerInfo
},
},
shopMerchantId
(){
return
uni
.
$storage
.
get
(
'userInfo'
).
shopMerchantId
}
},
},
mounted
()
{
mounted
()
{
if
(
this
.
show
)
this
.
init
()
if
(
this
.
show
)
this
.
init
()
...
@@ -201,8 +203,6 @@ export default {
...
@@ -201,8 +203,6 @@ export default {
else
this
.
search
()
else
this
.
search
()
},
},
search
()
{
search
()
{
const
{
shopMerchantId
}
=
uni
.
$storage
.
get
(
'userInfo'
)
this
.
shopMerchantId
=
shopMerchantId
if
(
this
.
list
.
length
==
0
)
{
if
(
this
.
list
.
length
==
0
)
{
this
.
list
=
uni
.
getStorageSync
(
`
${
this
.
shopMerchantId
}
-historyList`
)
this
.
list
=
uni
.
getStorageSync
(
`
${
this
.
shopMerchantId
}
-historyList`
)
this
.
isEnd
=
true
this
.
isEnd
=
true
...
@@ -211,7 +211,7 @@ export default {
...
@@ -211,7 +211,7 @@ export default {
},
},
async
getQuotationList
()
{
async
getQuotationList
()
{
const
{
shopMerchantId
,
pageNum
,
pageSize
}
=
this
,
const
{
shopMerchantId
,
pageNum
,
pageSize
}
=
this
,
goodsName
=
this
.
customerInfo
.
carModel
carModel
=
this
.
customerInfo
.
carModel
try
{
try
{
uni
.
showLoading
({
uni
.
showLoading
({
mask
:
true
mask
:
true
...
@@ -220,7 +220,7 @@ export default {
...
@@ -220,7 +220,7 @@ export default {
merchantId
:
shopMerchantId
,
merchantId
:
shopMerchantId
,
pageNum
,
pageNum
,
pageSize
,
pageSize
,
goodsName
,
carModel
,
orderStatus
:
3
orderStatus
:
3
});
});
uni
.
hideLoading
();
uni
.
hideLoading
();
...
@@ -247,12 +247,12 @@ export default {
...
@@ -247,12 +247,12 @@ export default {
this
.
formatList
=
_list
this
.
formatList
=
_list
this
.
flag
=
true
;
this
.
flag
=
true
;
this
.
total
=
total
;
this
.
total
=
total
;
if
(
!
goodsName
&&
this
.
pageNum
==
1
&&
this
.
list
.
length
)
uni
.
setStorageSync
(
`
${
shopMerchantId
}
-historyList`
,
this
.
list
)
if
(
!
carModel
&&
this
.
pageNum
==
1
&&
this
.
list
.
length
)
uni
.
setStorageSync
(
`
${
shopMerchantId
}
-historyList`
,
this
.
list
)
}
catch
(
error
)
{
}
catch
(
error
)
{
uni
.
hideLoading
()
uni
.
hideLoading
()
this
.
flag
=
true
;
this
.
flag
=
true
;
this
.
isEnd
=
true
this
.
isEnd
=
true
if
(
!
goodsName
&&
this
.
pageNum
==
1
)
this
.
list
=
uni
.
getStorageSync
(
`
${
this
.
shopMerchantId
}
-historyList`
)
if
(
!
carModel
&&
this
.
pageNum
==
1
)
this
.
list
=
uni
.
getStorageSync
(
`
${
this
.
shopMerchantId
}
-historyList`
)
}
}
},
},
pageonReachBottom
()
{
pageonReachBottom
()
{
...
...
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