Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
NLT-e-cigarette
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
张伯涛
NLT-e-cigarette
Commits
ad6de0e8
Commit
ad6de0e8
authored
Sep 20, 2022
by
张伯涛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
限制首页packing类型的单子不可以点击SN编码查看SN编码关联
parent
43bef3fc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
homePageTable.vue
src/views/homePageTable.vue
+8
-1
No files found.
src/views/homePageTable.vue
View file @
ad6de0e8
...
@@ -107,7 +107,8 @@
...
@@ -107,7 +107,8 @@
<div>
SN
</div>
<div>
SN
</div>
</
template
>
</
template
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span
style=
"cursor: pointer; color: #D20A10;"
@
click=
"getRelationSnTable(scope.row)"
>
{{
scope
.
row
.
materSn
||
'-'
}}
</span>
<span
v-if=
"showType === true"
style=
"cursor: pointer; color: #D20A10;"
@
click=
"getRelationSnTable(scope.row)"
>
{{
scope
.
row
.
materSn
||
'-'
}}
</span>
<span
v-else
>
{{
scope
.
row
.
materSn
||
'-'
}}
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
align=
"center"
prop=
"createDate"
min-width=
"45%"
:show-overflow-tooltip=
"true"
>
<el-table-column
align=
"center"
prop=
"createDate"
min-width=
"45%"
:show-overflow-tooltip=
"true"
>
...
@@ -629,6 +630,7 @@ export default {
...
@@ -629,6 +630,7 @@ export default {
name
:
'HomePageTable'
,
name
:
'HomePageTable'
,
data
()
{
data
()
{
return
{
return
{
showType
:
true
,
intercal
:
undefined
,
intercal
:
undefined
,
intercalType
:
false
,
intercalType
:
false
,
queryParams1
:
{
queryParams1
:
{
...
@@ -902,6 +904,11 @@ export default {
...
@@ -902,6 +904,11 @@ export default {
})
})
},
},
openModel
(
row
,
item
,
data
)
{
openModel
(
row
,
item
,
data
)
{
if
(
row
.
modelType
===
'3'
)
{
this
.
showType
=
false
}
else
{
this
.
showType
=
true
}
if
(
item
.
label
===
'Scan0'
)
{
if
(
item
.
label
===
'Scan0'
)
{
this
.
queryParams
.
type
=
'scan0'
this
.
queryParams
.
type
=
'scan0'
}
else
{
}
else
{
...
...
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