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
b15a9088
Commit
b15a9088
authored
Jun 14, 2022
by
11528
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
55613,55619,55624,
parent
7b7090f0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
4 deletions
+24
-4
ProductionModel.vue
src/views/productionInfo/ProductionModel.vue
+24
-4
No files found.
src/views/productionInfo/ProductionModel.vue
View file @
b15a9088
...
...
@@ -64,13 +64,22 @@
{{
scope
.
row
.
materCode
||
'-'
}}
</
template
>
</el-table-column>
<el-table-column
align=
"center"
prop=
"modelType"
:show-overflow-tooltip=
"true"
>
<el-table-column
align=
"center"
prop=
"contract"
:show-overflow-tooltip=
"true"
>
<
template
slot=
"header"
>
<div>
工厂
</div>
<div>
Factory
</div>
</
template
>
<
template
slot-scope=
"scope"
>
{{
getContract
(
scope
.
row
.
contract
)
||
'-'
}}
</
template
>
</el-table-column>
<el-table-column
align=
"center"
prop=
"modelCode"
:show-overflow-tooltip=
"true"
>
<
template
slot=
"header"
>
<div>
模型类型
</div>
<div>
Model Type
</div>
</
template
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
model
Typ
e
||
'-'
}}
{{
scope
.
row
.
model
Cod
e
||
'-'
}}
</
template
>
</el-table-column>
<el-table-column
align=
"center"
width=
"200"
prop=
"createDate"
:show-overflow-tooltip=
"true"
>
...
...
@@ -118,7 +127,7 @@
<
template
slot-scope=
"scope"
>
<el-link
size=
"mini"
type=
"
primary
"
type=
"
success
"
style=
"margin-left: 10px"
@
click=
"handleUpdate(scope.row)"
>
修改
</el-link>
...
...
@@ -130,7 +139,7 @@
>
删除
</el-link>
<el-link
size=
"mini"
type=
"
success
"
type=
"
danger
"
style=
"margin-left: 10px"
@
click=
"handleCopy(scope.row)"
>
复制
</el-link>
...
...
@@ -413,6 +422,17 @@ export default {
this
.
queryParam
.
rows
=
10
this
.
partNum
()
},
// 工厂名称转换
getContract
(
contract
)
{
switch
(
contract
)
{
case
'NB'
:
return
'北京'
case
'NOSZ'
:
return
'苏州'
default
:
return
'北京,苏州'
}
}
}
}
</
script
>
...
...
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