Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-operator-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
lanbaoming
jiedao-app-operator-master
Commits
33d9f012
Commit
33d9f012
authored
Mar 28, 2023
by
dragondean@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
订单日志的权限配置
parent
1cbba058
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
detail.vue
src/views/ecw/order/detail.vue
+4
-2
No files found.
src/views/ecw/order/detail.vue
View file @
33d9f012
...
@@ -282,7 +282,8 @@
...
@@ -282,7 +282,8 @@
</el-table-column>
</el-table-column>
</el-table>
</el-table>
</el-tab-pane>
</el-tab-pane>
<el-tab-pane
:label=
"$t('操作日志')"
name=
"five"
>
<!-- 这个地方v-hasPermi不生效,所以换checkPermi函数检查 -->
<el-tab-pane
:label=
"$t('操作日志')"
name=
"five"
v-if=
"checkPermi(['ecw:order:logs'])"
>
<el-table
:data=
"logs"
>
<el-table
:data=
"logs"
>
<el-table-column
:label=
"$t('时间')"
width=
"150"
>
<el-table-column
:label=
"$t('时间')"
width=
"150"
>
<
template
slot-scope=
"{row}"
>
{{
parseTime
(
row
.
createTime
)
}}
</
template
>
<
template
slot-scope=
"{row}"
>
{{
parseTime
(
row
.
createTime
)
}}
</
template
>
...
@@ -390,7 +391,7 @@ import WarehouseDetail from './components/WarehouseDetail';
...
@@ -390,7 +391,7 @@ import WarehouseDetail from './components/WarehouseDetail';
import
{
getProductBrank
}
from
'
@/api/ecw/productBrank
'
import
{
getProductBrank
}
from
'
@/api/ecw/productBrank
'
import
{
parseTime
}
from
'
@/utils/ruoyi
'
;
import
{
parseTime
}
from
'
@/utils/ruoyi
'
;
import
WarehouseAreaSelect
from
"
@/components/WarehouseAreaSelect
"
import
WarehouseAreaSelect
from
"
@/components/WarehouseAreaSelect
"
import
{
checkPermi
}
from
'
@/utils/permission
'
export
default
{
export
default
{
name
:
"
detail
"
,
name
:
"
detail
"
,
components
:
{
components
:
{
...
@@ -500,6 +501,7 @@ export default {
...
@@ -500,6 +501,7 @@ export default {
console
.
log
(
'
2023-01-14 23:23 看到此消息则表示代码最新
'
)
console
.
log
(
'
2023-01-14 23:23 看到此消息则表示代码最新
'
)
}
,
}
,
methods
:
{
methods
:
{
checkPermi
,
// 检查权限
// 获取储位名称
// 获取储位名称
getLocationName
(
locationArr
){
getLocationName
(
locationArr
){
if
(
!
locationArr
||
!
locationArr
.
length
)
return
''
if
(
!
locationArr
||
!
locationArr
.
length
)
return
''
...
...
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