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
d92e9f08
Commit
d92e9f08
authored
Oct 28, 2020
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
4fbb39a2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
34 deletions
+8
-34
serviceProductList.vue
src/components/offlineService/serviceProductList.vue
+1
-27
index.js
src/router/index.js
+7
-7
No files found.
src/components/offlineService/serviceProductList.vue
View file @
d92e9f08
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
<span>
<span>
分类筛选
分类筛选
</span>
</span>
<el-select
v-model=
"showCategoryName"
placeholder=
"请选择"
multiple
clearable
collapse-tags
@
change=
"selectChange"
>
<el-select
v-model=
"showCategoryName"
placeholder=
"请选择"
size=
"small"
multiple
clearable
collapse-tags
@
change=
"selectChange"
>
<el-option
:value=
"chooseCategroyArray"
style=
"height: auto"
>
<el-option
:value=
"chooseCategroyArray"
style=
"height: auto"
>
<el-tree
:data=
"categoryTreeData"
show-checkbox
node-key=
"Id"
ref=
"tree"
highlight-current
<el-tree
:data=
"categoryTreeData"
show-checkbox
node-key=
"Id"
ref=
"tree"
highlight-current
:props=
"defaultProps"
@
check-change=
"categoryCheckChange"
></el-tree>
:props=
"defaultProps"
@
check-change=
"categoryCheckChange"
></el-tree>
...
@@ -59,21 +59,6 @@
...
@@ -59,21 +59,6 @@
</el-table-column>
</el-table-column>
<el-table-column
prop=
"Id"
width=
"80"
sortable
label=
"ID"
>
<el-table-column
prop=
"Id"
width=
"80"
sortable
label=
"ID"
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"address"
sortable
label=
"排序"
>
<template
slot-scope=
"scope"
>
<template
v-if=
"!scope.row.editsort"
>
<span>
{{
scope
.
row
.
Sort
}}
</span>
<img
@
click=
"scope.row.editsort=true,scope.row.SortNew=scope.row.Sort"
style=
"width:15px;height:15px;margin-left:7px"
src=
"../../assets/img/userman/edit1.png"
alt=
""
>
</
template
>
<
template
v-else
>
<el-input
v-model=
"scope.row.SortNew"
type=
"number"
min=
"1"
size=
"small"
style=
"display:inline-block;width:70px"
></el-input>
<span
@
click=
"scope.row.editsort=false"
class=
"el-icon-error"
style=
"color: rgb(245, 108, 108);"
></span>
<span
@
click=
"Edit(scope.row,1)"
class=
"el-icon-success"
style=
"color:#67c23a"
></span>
</
template
>
</template>
</el-table-column>
<el-table-column
prop=
"Remark"
label=
"分类"
>
<el-table-column
prop=
"Remark"
label=
"分类"
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
<el-tag
size=
"mini"
v-if=
"scope.row.CategoryList && scope.row.CategoryList.length>0"
>
<el-tag
size=
"mini"
v-if=
"scope.row.CategoryList && scope.row.CategoryList.length>0"
>
...
@@ -133,17 +118,6 @@
...
@@ -133,17 +118,6 @@
<span
v-else
>
{{
scope
.
row
.
InventoryNum
}}
</span>
<span
v-else
>
{{
scope
.
row
.
InventoryNum
}}
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
width=
"120"
>
<
template
slot=
"header"
>
已出售量
<el-tooltip
effect=
"dark"
content=
"已出售量=实际销量+虚拟销量,按实际销量排序"
placement=
"top"
>
<i
class=
"el-icon-info"
></i>
</el-tooltip>
</
template
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
GoodsBuyNum
}}
+
{{
scope
.
row
.
SalesNum
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"UpdateDate"
width=
"110"
label=
"是否加入快速购买"
>
<el-table-column
prop=
"UpdateDate"
width=
"110"
label=
"是否加入快速购买"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-switch
@
change=
"Edit(scope.row,10)"
v-model=
"scope.row.IsQuickBuy"
active-color=
"#409EFF"
<el-switch
@
change=
"Edit(scope.row,10)"
v-model=
"scope.row.IsQuickBuy"
active-color=
"#409EFF"
...
...
src/router/index.js
View file @
d92e9f08
...
@@ -391,7 +391,13 @@ export default new Router({
...
@@ -391,7 +391,13 @@ export default new Router({
path
:
'/ServiceMannage'
,
path
:
'/ServiceMannage'
,
name
:
'ServiceMannage'
,
name
:
'ServiceMannage'
,
component
:
resolve
=>
require
([
'@/components/offlineService/ServiceMannage'
],
resolve
)
component
:
resolve
=>
require
([
'@/components/offlineService/ServiceMannage'
],
resolve
)
}
},
//店铺管理 内容管理 门店管理
{
path
:
'/storesManage'
,
name
:
'storesManage'
,
component
:
resolve
=>
require
([
'@/components/offlineService/storesManage'
],
resolve
),
},
]
]
},
},
...
@@ -851,12 +857,6 @@ export default new Router({
...
@@ -851,12 +857,6 @@ export default new Router({
name
:
'videoManage'
,
name
:
'videoManage'
,
component
:
resolve
=>
require
([
'@/components/StoreDesign/videoManage'
],
resolve
),
component
:
resolve
=>
require
([
'@/components/StoreDesign/videoManage'
],
resolve
),
},
},
//店铺管理 内容管理 门店管理
{
path
:
'/storesManage'
,
name
:
'storesManage'
,
component
:
resolve
=>
require
([
'@/components/offlineService/storesManage'
],
resolve
),
},
//店铺管理 内容管理 直播管理
//店铺管理 内容管理 直播管理
{
{
path
:
'/liveManage'
,
path
:
'/liveManage'
,
...
...
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