Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
A
admin-base
Project
Project
Details
Activity
Releases
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
new-sing
admin-base
Commits
e14b38c2
Commit
e14b38c2
authored
Sep 17, 2019
by
chenjundi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
赠品领取数量跳转领取记录
parent
fa4f0d9a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
1 deletion
+16
-1
index.vue
src/components/gitConfig/index.vue
+10
-1
index.vue
src/components/gitDeliverRecord/index.vue
+6
-0
No files found.
src/components/gitConfig/index.vue
View file @
e14b38c2
...
@@ -39,7 +39,13 @@
...
@@ -39,7 +39,13 @@
<el-table-column
prop=
"gift_num"
label=
"赠品总数"
>
<el-table-column
prop=
"gift_num"
label=
"赠品总数"
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"stock_num"
label=
"库存数量"
></el-table-column>
<el-table-column
prop=
"stock_num"
label=
"库存数量"
></el-table-column>
<el-table-column
prop=
"get_num"
label=
"领取数量"
></el-table-column>
<el-table-column
prop=
"get_num"
label=
"领取数量"
>
<
template
slot-scope=
"scope"
>
<router-link
class=
"get_num"
:to=
"
{name:'gitDeliverRecord', query: { id: scope.row.id}}" >
{{
scope
.
row
.
get_num
}}
</router-link>
</
template
>
</el-table-column>
<el-table-column
prop=
"status"
label=
"状态"
>
<el-table-column
prop=
"status"
label=
"状态"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<div
v-if=
"scope.row.status == 1"
>
上架
</div>
<div
v-if=
"scope.row.status == 1"
>
上架
</div>
...
@@ -181,4 +187,7 @@
...
@@ -181,4 +187,7 @@
.container
{
.container
{
padding
:
20px
;
padding
:
20px
;
}
}
.get_num
{
color
:
#409EFF
;
}
</
style
>
</
style
>
src/components/gitDeliverRecord/index.vue
View file @
e14b38c2
...
@@ -82,6 +82,7 @@
...
@@ -82,6 +82,7 @@
data
()
{
data
()
{
return
{
return
{
searchFrom
:
{
searchFrom
:
{
gift_id
:
''
,
gift_name
:
''
,
gift_name
:
''
,
gift_type
:
''
,
gift_type
:
''
,
periods_title
:
''
,
periods_title
:
''
,
...
@@ -98,6 +99,7 @@
...
@@ -98,6 +99,7 @@
methods
:
{
methods
:
{
getRecordList
()
{
getRecordList
()
{
let
json
=
{
let
json
=
{
gift_id
:
this
.
searchFrom
.
gift_id
,
gift_name
:
this
.
searchFrom
.
gift_name
,
gift_name
:
this
.
searchFrom
.
gift_name
,
gift_type
:
this
.
searchFrom
.
gift_type
,
gift_type
:
this
.
searchFrom
.
gift_type
,
periods_title
:
this
.
searchFrom
.
periods_title
,
periods_title
:
this
.
searchFrom
.
periods_title
,
...
@@ -136,6 +138,10 @@
...
@@ -136,6 +138,10 @@
},
},
},
},
created
()
{
created
()
{
let
_query
=
this
.
$route
.
query
;
if
(
_query
&&
_query
.
id
)
{
this
.
searchFrom
.
gift_id
=
_query
.
id
;
}
this
.
getRecordList
();
this
.
getRecordList
();
}
}
}
}
...
...
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