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
74bf2582
Commit
74bf2582
authored
Aug 25, 2022
by
huaying
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 核销记录
parent
2aefd7f1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
49 additions
and
41 deletions
+49
-41
writeOffCard.vue
src/views/card/writeOffCard.vue
+13
-9
writeOffStore.vue
src/views/card/writeOffStore.vue
+36
-32
No files found.
src/views/card/writeOffCard.vue
View file @
74bf2582
...
...
@@ -77,15 +77,19 @@ export default {
async
getList
()
{
this
.
dataTimeFormat
();
this
.
loading
=
true
;
await
getCardLogPage
(
this
.
params
).
then
(
res
=>
{
if
(
res
.
errorCode
==
0
)
{
this
.
tableData
=
res
.
result
.
result
||
[];
this
.
total
=
res
.
result
.
totalCount
;
}
else
{
this
.
$tips
({
type
:
'error'
,
message
:
'加载列表失败'
});
}
this
.
loading
=
false
;
});
await
getCardLogPage
(
this
.
params
)
.
then
(
res
=>
{
if
(
res
.
errorCode
==
0
)
{
this
.
tableData
=
res
.
result
.
result
||
[];
this
.
total
=
res
.
result
.
totalCount
;
}
else
{
this
.
$tips
({
type
:
'error'
,
message
:
'加载列表失败'
});
}
this
.
loading
=
false
;
})
.
catch
(()
=>
{
this
.
loading
=
false
;
});
}
}
};
...
...
src/views/card/writeOffStore.vue
View file @
74bf2582
...
...
@@ -52,38 +52,42 @@ export default {
async
getList
()
{
this
.
loading
=
true
;
this
.
dataTimeFormat
();
await
getCardStorePage
(
this
.
params
).
then
(
res
=>
{
if
(
res
.
errorCode
==
0
)
{
this
.
tableData
=
res
.
result
.
result
||
[];
this
.
total
=
res
.
result
.
totalCount
;
this
.
tableData
=
[
{
storeId
:
1
,
storeName
:
'cehsai'
,
writeOffPrice
:
'23'
,
writeOffCount
:
'66'
,
costValue
:
'66'
},
{
storeId
:
2
,
storeName
:
'daf'
,
writeOffPrice
:
'25'
,
writeOffCount
:
'55'
,
costValue
:
'33'
},
{
storeId
:
3
,
storeName
:
'cehsdfasai'
,
writeOffPrice
:
'21'
,
writeOffCount
:
'88'
,
costValue
:
'44'
}
];
}
else
{
this
.
$tips
({
type
:
'error'
,
message
:
'加载列表失败'
});
}
this
.
loading
=
false
;
});
await
getCardStorePage
(
this
.
params
)
.
then
(
res
=>
{
if
(
res
.
errorCode
==
0
)
{
this
.
tableData
=
res
.
result
.
result
||
[];
this
.
total
=
res
.
result
.
totalCount
;
// this.tableData = [
// {
// storeId: 1,
// storeName: 'cehsai',
// writeOffPrice: '23',
// writeOffCount: '66',
// costValue: '66'
// },
// {
// storeId: 2,
// storeName: 'daf',
// writeOffPrice: '25',
// writeOffCount: '55',
// costValue: '33'
// },
// {
// storeId: 3,
// storeName: 'cehsdfasai',
// writeOffPrice: '21',
// writeOffCount: '88',
// costValue: '44'
// }
// ];
}
else
{
this
.
$tips
({
type
:
'error'
,
message
:
'加载列表失败'
});
}
this
.
loading
=
false
;
})
.
catch
(()
=>
{
this
.
loading
=
false
;
});
},
// 明细
details
(
row
)
{
...
...
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