Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
marketing
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
marketing-web
marketing
Commits
ac3130b6
Commit
ac3130b6
authored
Sep 09, 2022
by
huaying
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: bug-核销记录明细
parent
378a6ecd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
23 deletions
+24
-23
card.js
src/router/modules/card.js
+2
-1
writeOffStoreDetail.vue
src/views/card/writeOffStoreDetail.vue
+22
-22
No files found.
src/router/modules/card.js
View file @
ac3130b6
...
...
@@ -271,7 +271,8 @@ export default {
name
:
'核销记录'
,
component
:
()
=>
import
(
/* webpackChunkName: "card" */
'../../views/card/hhrecord-list.vue'
),
meta
:
{
path
:
'/card/hhrecord'
path
:
'/card/hhrecord'
,
keepAlive
:
true
},
children
:
[]
},
...
...
src/views/card/writeOffStoreDetail.vue
View file @
ac3130b6
...
...
@@ -26,11 +26,15 @@
<
script
>
import
{
getCardDetailPage
}
from
'@/service/api/cardApi.js'
;
import
writeOff
from
'./writeOff.js'
;
import
sticky
from
'@/mixins/table-sticky.js'
;
export
default
{
name
:
'writeOffDetail'
,
mixins
:
[
writeOff
],
mixins
:
[
writeOff
,
sticky
],
data
()
{
return
{
headerTop
:
'80px'
,
parent
:
'content'
,
scrollClass
:
'dm-layout-page'
,
params
:
{
writeOffBeginTime
:
''
,
writeOffEndTime
:
''
,
...
...
@@ -46,27 +50,23 @@ export default {
},
methods
:
{
async
getList
()
{
this
.
loading
=
true
;
this
.
dataTimeFormat
();
this
.
params
=
{
...
this
.
params
,
storeId
:
this
.
$route
.
query
.
id
};
await
getCardDetailPage
(
this
.
params
)
.
then
(
res
=>
{
if
(
res
.
errorCode
==
0
)
{
this
.
tableData
=
res
.
result
.
result
||
[];
this
.
total
=
res
.
result
.
totalCount
;
}
else
{
this
.
loading
=
false
;
this
.
$tips
({
type
:
'error'
,
message
:
res
.
message
});
}
this
.
loading
=
false
;
})
.
catch
(
err
=>
{
this
.
$tips
({
type
:
'error'
,
message
:
'加载列表失败'
});
this
.
loading
=
false
;
});
try
{
this
.
loading
=
true
;
this
.
dataTimeFormat
();
this
.
params
=
{
...
this
.
params
,
storeId
:
this
.
$route
.
query
.
id
};
let
res
=
await
getCardDetailPage
(
this
.
params
);
if
(
res
.
errorCode
==
0
&&
res
.
result
)
{
this
.
tableData
=
res
.
result
.
result
||
[];
this
.
total
=
res
.
result
.
totalCount
;
}
else
{
this
.
tableData
=
[];
this
.
total
=
0
;
}
}
catch
(
err
)
{}
this
.
loading
=
false
;
}
}
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment