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
c1d3bc2e
Commit
c1d3bc2e
authored
Sep 08, 2020
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
8acd324f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
36 additions
and
4 deletions
+36
-4
enrollTotal.vue
src/components/SalesModule/enrollTotal.vue
+6
-1
goodlist.vue
src/components/mall/goodlist.vue
+30
-3
No files found.
src/components/SalesModule/enrollTotal.vue
View file @
c1d3bc2e
...
...
@@ -49,7 +49,12 @@
<span><em>
{{
$t
(
'fnc.ryxuanze'
)
}}
</em></span>
<el-select
class=
'w200'
v-model=
"msg.CreateBy"
filterable
:placeholder=
"$t('pub.pleaseSel')"
>
<el-option
:label=
"$t('pub.unlimitedSel')"
value=
'-1'
></el-option>
<el-option
v-for=
'item in employeeList'
:label=
'item.name'
:value=
'item.empId'
:key=
'item.empId'
>
<el-option
v-for=
"item in employeeList"
:key=
"item.empId"
:label=
"item.name"
:value=
"item.empId"
>
<span
style=
"float: left"
>
{{
item
.
name
}}
<template
v-if=
"item.isLeave==1"
>
<span
style=
"color: red;"
>
(已离职)
</span>
</
template
>
</span>
</el-option>
</el-select>
</li>
...
...
src/components/mall/goodlist.vue
View file @
c1d3bc2e
...
...
@@ -77,16 +77,25 @@
<el-pagination
background
@
current-change=
"handleCurrentChange"
:current-page
.
sync=
"msg.currentPage"
layout=
"total,prev, pager, next, jumper"
:page-size=
"msg.pageSize"
:total=
"msg.total"
>
</el-pagination>
<table>
<table
v-loading=
"loading"
>
<thead>
<tr>
<th
style=
"width:100px;"
>
编号
</th>
<th
style=
"width:250px;"
>
商品名称
</th>
<th
style=
"width:150px;"
>
库存
</th>
<th
style=
"width:150px;"
>
售价
</th>
<th>
分享赚
</th>
<th>
购买省
</th>
<th
style=
"width:200px;"
>
操作
</th>
...
...
@@ -100,9 +109,23 @@
<td>
{{
item
.
name
}}
</td>
<td>
{{
item
.
goods_stock
}}
</td>
<td>
{{
item
.
price
}}
起
</td>
<td>
<template
v-if=
"item.erpgoodobj&&item.erpgoodobj.goods"
>
{{
item
.
erpgoodobj
.
goods
.
share
}}
</
template
>
</td>
<td>
<
template
v-if=
"item.erpgoodobj&&item.erpgoodobj.goods"
>
{{
item
.
erpgoodobj
.
goods
.
myBuyCommission
}}
</
template
>
</td>
<td>
<a>
下单
...
...
@@ -123,6 +146,7 @@
statusValue
:
0
,
//请选择
//数据列表
DataList
:
[],
loading
:
false
,
//查询参数
msg
:
{
currentPage
:
1
,
...
...
@@ -132,19 +156,22 @@
pageSize
:
10
,
Name
:
""
,
//商品名称
CategoryIds
:
""
,
//商品分类
IsGetShare
:
1
,
//获取分销
IsGetShare
:
1
,
//获取分销
ERPUserId
:
"19992"
},
};
},
methods
:
{
//获取商品列表
getGoodList
()
{
this
.
loading
=
true
;
this
.
DataList
=
[];
this
.
mallapipost
(
"/api/AppletGoods/GetAppletGoodsPageListForZY"
,
this
.
msg
,
res
=>
{
console
.
log
(
"res.data.data"
,
res
.
data
);
this
.
loading
=
false
;
console
.
log
(
"res.data.data"
,
res
.
data
.
data
);
if
(
res
.
data
.
resultCode
==
1
)
{
var
tempArray
=
res
.
data
.
data
.
pageData
;
this
.
DataList
=
tempArray
;
...
...
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