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
495a80b5
Commit
495a80b5
authored
Jul 14, 2020
by
黄媛媛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改文件名
parent
ffbae918
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
3 deletions
+30
-3
procurementMange.vue
src/components/empower/procurementMange.vue
+27
-0
index.js
src/router/index.js
+3
-3
No files found.
src/components/empower/procurementMa
a
ge.vue
→
src/components/empower/procurementMa
n
ge.vue
View file @
495a80b5
...
...
@@ -242,6 +242,14 @@
<!-- 商品列表 -->
<el-dialog
custom-class=
"app-add-cat"
title=
"商品选择"
:visible
.
sync=
"goodsDig"
width=
"1100px"
>
<div
class=
"temp_content attr"
>
<div>
<el-tabs
v-model=
"activeName"
@
tab-click=
"handleClick"
>
<el-tab-pane
:dataId=
"0"
label=
"全部"
name=
"first"
></el-tab-pane>
<el-tab-pane
:dataId=
"1"
label=
"上架中"
name=
"second"
></el-tab-pane>
<el-tab-pane
:dataId=
"2"
label=
"下架中"
name=
"third"
></el-tab-pane>
<el-tab-pane
:dataId=
"3"
label=
"售罄"
name=
"fourth"
></el-tab-pane>
</el-tabs>
</div>
<div>
<div
class=
"searchInput"
style=
"width:250px;margin-right: 0px;"
>
<el-input
@
keyup
.
enter
.
native=
"goodsMsg.pageIndex=1,getgoodslist()"
...
...
@@ -254,6 +262,7 @@
</div>
<el-table
:data=
"goodList"
border
style=
"width: 100%;margin-Top:10px"
v-loading=
"loading"
>
<el-table-column
label=
"选择"
width=
"55"
>
<
template
slot-scope=
"scope"
>
<el-radio
v-model=
"goodsId"
:label=
"scope.row.Id"
><i></i></el-radio>
...
...
@@ -345,6 +354,7 @@
DetailDig
:
false
,
Detaildata
:{},
AttrArray
:[],
activeName
:
'first'
,
msg
:
{
pageIndex
:
1
,
pageSize
:
15
,
...
...
@@ -535,6 +545,23 @@
}
});
},
handleClick
(
val
){
let
dataId
=
val
.
$attrs
.
dataId
;
if
(
dataId
==
0
){
this
.
goodsMsg
.
GoodsStatus
=
0
;
}
if
(
dataId
==
1
){
this
.
goodsMsg
.
GoodsStatus
=
1
;
}
if
(
dataId
==
2
){
this
.
goodsMsg
.
GoodsStatus
=
2
;
}
if
(
dataId
==
3
){
this
.
goodsMsg
.
GoodsStatus
=
3
;
}
this
.
goodsMsg
.
pageIndex
=
1
this
.
getgoodslist
();
},
chooseAttr
(
row
){
this
.
selectGoods
[
0
].
SpecificationList
[
row
].
IScheck
=
!
this
.
selectGoods
[
0
].
SpecificationList
[
row
].
IScheck
this
.
$forceUpdate
()
...
...
src/router/index.js
View file @
495a80b5
...
...
@@ -136,9 +136,9 @@ export default new Router({
},
//授权中心 采购管理
{
path
:
'/procurementMa
a
ge'
,
name
:
'procurementMa
a
ge'
,
component
:
resolve
=>
require
([
'@/components/empower/procurementMa
a
ge'
],
resolve
),
path
:
'/procurementMa
n
ge'
,
name
:
'procurementMa
n
ge'
,
component
:
resolve
=>
require
([
'@/components/empower/procurementMa
n
ge'
],
resolve
),
},
//授权中心 物料仓库
{
...
...
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