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
dd9ce07a
Commit
dd9ce07a
authored
Aug 20, 2021
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
ce27d61f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
2 deletions
+18
-2
goodsList.vue
src/components/CommodityMan/goodsList.vue
+18
-2
No files found.
src/components/CommodityMan/goodsList.vue
View file @
dd9ce07a
...
...
@@ -377,7 +377,7 @@
</el-table-column>
<el-table-column
prop=
"address"
width=
"250"
label=
"操作"
>
<
template
slot-scope=
"scope"
>
<img
<
!--
<
img
@
click=
"goGoodsEdit(scope.row.Id)"
style=
"width: 32px; height: 32px; margin: 0 10px"
v-if=
"
...
...
@@ -404,7 +404,21 @@
style=
"width: 32px; height: 32px; margin: 0 10px"
src=
"../../assets/img/userman/del.png"
alt=
""
/>
/>
-->
<span
v-if=
"currentUserInfo.TenantId == 1 && currentUserInfo.MallBaseId ==1 && (currentUserInfo.EmpId == 0 || currentUserInfo.IsOtherUpdateGoods ==1 || currentUserInfo.EmpId==scope.row.CreateBy)"
>
<img
@
click=
"goGoodsEdit(scope.row.Id)"
style=
"width:32px;height:32px;margin:0 10px"
src=
"../../assets/img/userman/edit.png"
alt=
""
>
<img
@
click=
"Delete(scope.row)"
style=
"width:32px;height:32px;margin:0 10px"
src=
"../../assets/img/userman/del.png"
alt=
""
>
</span>
<span
v-if=
"currentUserInfo.TenantId != 1 && currentUserInfo.MallBaseId !=1"
>
<img
@
click=
"goGoodsEdit(scope.row.Id)"
style=
"width:32px;height:32px;margin:0 10px"
src=
"../../assets/img/userman/edit.png"
alt=
""
>
<img
@
click=
"Delete(scope.row)"
style=
"width:32px;height:32px;margin:0 10px"
src=
"../../assets/img/userman/del.png"
alt=
""
>
</span>
<el-tooltip
effect=
"dark"
content=
"提交分销"
...
...
@@ -1242,6 +1256,8 @@ export default {
if
(
msg
.
Id
==
""
)
{
msg
.
Id
=
0
;
}
msg
.
EmpId
=
this
.
currentUserInfo
.
EmpId
msg
.
IsOtherUpdateGoods
=
this
.
currentUserInfo
.
IsOtherUpdateGoods
this
.
loading
=
true
;
this
.
apipost
(
"/api/product/GetProductGoodsPageList"
,
msg
,
(
res
)
=>
{
this
.
loading
=
false
;
...
...
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