Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
ElectricitySheep
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
黄媛媛
ElectricitySheep
Commits
ada6ffd1
Commit
ada6ffd1
authored
Jul 23, 2020
by
黄媛媛
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/huangyuanyuan/electricitysheep
parents
5f92c758
f0a46fc6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
48 additions
and
7 deletions
+48
-7
goodsListEdit.vue
src/components/CommodityMan/goodsListEdit.vue
+1
-2
buyRecords.vue
src/components/UserMan/buyRecords.vue
+47
-5
No files found.
src/components/CommodityMan/goodsListEdit.vue
View file @
ada6ffd1
...
...
@@ -1065,7 +1065,7 @@
GoodsDetails
:
""
,
SeparateDistribution
:
2
,
SeparateDistributionType
:
1
,
SeparateDistributionMoneyType
:
1
,
SeparateDistributionMoneyType
:
2
,
//默认显示固定金额
EnjoyMember
:
1
,
SeparateSetMember
:
2
,
IsQuickBuy
:
1
,
...
...
@@ -1964,7 +1964,6 @@
res
=>
{
if
(
res
.
data
.
resultCode
==
1
){
this
.
addMsg
=
res
.
data
.
data
;
console
.
log
(
res
,
'resss'
);
if
(
this
.
addMsg
.
SupplierId
!=
0
)
{
this
.
SupplierId
=
this
.
addMsg
.
SupplierId
;
...
...
src/components/UserMan/buyRecords.vue
View file @
ada6ffd1
...
...
@@ -4,19 +4,30 @@
会员购买记录
</div>
<div
class=
"content"
>
<div>
<div
class=
"searchInput"
style=
"width:230px"
>
<el-input
style=
"display:inline-block;width:205px;height:30px"
placeholder=
"请输入用户ID"
v-model=
"msg.UserId"
size=
"small"
@
keyup
.
enter
.
native=
"msg.pageIndex=1,getList()"
@
clear=
"msg.pageIndex=1,getList()"
clearable
>
</el-input>
<span
@
click=
"msg.pageIndex=1,getList()"
class=
"el-icon-search"
style=
"color:#979dad;font-size:14px;position:relative;top:1px"
></span>
</div>
</div>
<el-table
:data=
"dataList"
v-loading=
"loading"
border
style=
"width: 100%;margin:20px 0;color:#303133"
>
<el-table-column
prop=
"UserName"
label=
"会员名称"
>
</el-table-column>
<el-table-column
prop=
"Money"
label=
"支付金额"
>
<el-table-column
prop=
"OrderNo"
label=
"订单号"
>
</el-table-column>
<el-table-column
prop=
"Money"
label=
"支付金额"
width=
"120"
>
</el-table-column>
<el-table-column
prop=
"ExpiryDateStr"
label=
"过期时间"
>
</el-table-column>
<el-table-column
prop=
"GradeName"
label=
"等级名称"
>
<el-table-column
prop=
"GradeName"
label=
"等级名称"
width=
"120"
>
</el-table-column>
<el-table-column
prop=
"PayState"
label=
"支付状态"
>
<el-table-column
prop=
"PayState"
label=
"支付状态"
width=
"120"
>
<template
slot-scope=
"scope"
>
<span
v-if=
"scope.row.PayState==0"
>
未支付
</span>
<span
v-if=
"scope.row.PayState==1"
>
已支付
</span>
<span
v-if=
"scope.row.PayState==0"
style=
"color:red"
>
未支付
</span>
<span
v-if=
"scope.row.PayState==1"
style=
"color:green"
>
已支付
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"PayTimeStr"
label=
"支付时间"
>
...
...
@@ -39,6 +50,7 @@
msg
:
{
pageIndex
:
1
,
pageSize
:
15
,
UserId
:
0
},
total
:
0
,
};
...
...
@@ -54,6 +66,9 @@
},
getList
()
{
this
.
loading
=
true
;
if
(
this
.
msg
.
UserId
==
''
){
this
.
msg
.
UserId
=
0
;
}
this
.
apipost
(
"/api/UserVip/GetVipBuyPageList"
,
this
.
msg
,
res
=>
{
this
.
loading
=
false
;
if
(
res
.
data
.
resultCode
==
1
)
{
...
...
@@ -72,5 +87,32 @@
</
script
>
<
style
>
.buyRecords
.content
{
background
:
#fff
;
margin-top
:
10px
;
padding
:
20px
;
box-sizing
:
border-box
;
}
.buyRecords
.content
.searchInput
{
border
:
1px
solid
#DCDFE6
;
border-radius
:
4px
;
}
.buyRecords
.content
.searchInput
.el-input__inner
{
border
:
none
;
outline
:
none
;
height
:
30px
;
line-height
:
30px
;
}
.buyRecords
.content
.searchInput
{
line-height
:
normal
;
display
:
inline-table
;
width
:
100%
;
border-collapse
:
separate
;
border-spacing
:
0
;
width
:
250px
;
margin-right
:
20px
;
}
</
style
>
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