Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
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
罗超
SuperMan
Commits
4884d05c
Commit
4884d05c
authored
Nov 01, 2019
by
华国豪
🙄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
9f05babd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
BuyingList.vue
src/components/Buying/BuyingList.vue
+5
-3
No files found.
src/components/Buying/BuyingList.vue
View file @
4884d05c
...
...
@@ -74,6 +74,7 @@
<th>
公司返佣
</th>
<th>
同行返佣
</th>
<th>
微途返佣
</th>
<th>
状态
</th>
<th>
操作人
</th>
<th>
操作时间
</th>
<th>
{{
$t
(
'system.table_operation'
)
}}
</th>
...
...
@@ -89,6 +90,7 @@
<td>
{{
item
.
CompanyRebate
}}
</td>
<td>
{{
item
.
ClientRebate
}}
</td>
<td>
{{
item
.
WeiTuRebate
}}
</td>
<td>
{{
item
.
StatusName
}}
</td>
<td>
{{
item
.
UpdateBy
}}
</td>
<td>
{{
item
.
UpdateDate
}}
</td>
<td
class=
"BuyingList"
>
...
...
@@ -97,10 +99,10 @@
<el-button
type=
"primary"
size=
"mini"
class=
"iconfont icon-xiugai"
@
click=
"addIntegralMall('BuyingAdd', item.Id, '修改商品')"
></el-button>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"上架"
placement=
"top"
>
<el-button
type=
"success"
size=
"mini"
class=
"iconfont icon-shangjia1"
@
click=
"setProS(
2, item.Id)"
v-if=
"
item.Status === 1"
></el-button>
<el-button
type=
"success"
size=
"mini"
class=
"iconfont icon-shangjia1"
@
click=
"setProS(
3, item.Id)"
v-if=
"item.Status === 2 ||
item.Status === 1"
></el-button>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"下架"
placement=
"top"
>
<el-button
type=
"warning"
size=
"mini"
class=
"iconfont icon-xiajia1"
@
click=
"setProS(
3, item.Id)"
v-if=
"item.Status === 2
"
></el-button>
<el-button
type=
"warning"
size=
"mini"
class=
"iconfont icon-xiajia1"
@
click=
"setProS(
2, item.Id)"
v-if=
"item.Status === 3
"
></el-button>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"取消"
placement=
"top"
>
<el-button
type=
"danger"
size=
"mini"
class=
"iconfont icon-quxiao1"
@
click=
"setProS(4, item.Id)"
></el-button>
...
...
@@ -150,7 +152,7 @@ export default {
methods
:
{
setProS
(
t
,
id
){
this
.
apipost
(
"Shop_post_
GetCommodityCategoryList
"
,{
CommodityId
:
id
,
Status
:
t
},
res
=>
{
this
.
apipost
(
"Shop_post_
SetCommodityStatus
"
,{
CommodityId
:
id
,
Status
:
t
},
res
=>
{
if
(
res
.
data
.
resultCode
===
1
)
{
this
.
$message
.
success
(
res
.
data
.
message
);
this
.
getList
()
...
...
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