Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
template_vue
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
胡宝山
template_vue
Commits
8addde87
Commit
8addde87
authored
Aug 02, 2023
by
刘宇扬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
太长显示全部
parent
e018720b
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
58 additions
and
54 deletions
+58
-54
boundManagement.vue
src/views/equipment/boundManagement.vue
+5
-5
income.vue
src/views/equipment/income.vue
+37
-37
management.vue
src/views/equipment/management.vue
+11
-7
index.vue
src/views/processManagement/basicProcessManagement/index.vue
+5
-5
No files found.
src/views/equipment/boundManagement.vue
View file @
8addde87
...
@@ -44,27 +44,27 @@
...
@@ -44,27 +44,27 @@
<div
class=
"mb12 font-small-bold"
>
库存管理列表
</div>
<div
class=
"mb12 font-small-bold"
>
库存管理列表
</div>
<el-table
v-loading=
"loading"
border
:data=
"equipmentList"
@
selection-change=
"handleSelectionChange"
>
<el-table
v-loading=
"loading"
border
:data=
"equipmentList"
@
selection-change=
"handleSelectionChange"
>
<el-table-column
type=
"index"
label=
"序号"
width=
"80"
/>
<el-table-column
type=
"index"
label=
"序号"
width=
"80"
/>
<el-table-column
label=
"pn"
prop=
"businessId"
>
<el-table-column
label=
"pn"
prop=
"businessId"
:show-overflow-tooltip=
"true"
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
{{
scope
.
row
.
pn
||
'-'
}}
{{
scope
.
row
.
pn
||
'-'
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"lot"
prop=
"lot"
>
<el-table-column
label=
"lot"
prop=
"lot"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
lot
||
'-'
}}
{{
scope
.
row
.
lot
||
'-'
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"plocation"
prop=
"plocation"
>
<el-table-column
label=
"plocation"
prop=
"plocation"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
plocation
||
'-'
}}
{{
scope
.
row
.
plocation
||
'-'
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"厚度"
prop=
"厚度"
>
<el-table-column
label=
"厚度"
prop=
"厚度"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
phd
||
'-'
}}
{{
scope
.
row
.
phd
||
'-'
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"操作员"
prop=
"createName"
>
<el-table-column
label=
"操作员"
prop=
"createName"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
createName
||
'-'
}}
{{
scope
.
row
.
createName
||
'-'
}}
</
template
>
</
template
>
...
...
src/views/equipment/income.vue
View file @
8addde87
...
@@ -27,40 +27,43 @@
...
@@ -27,40 +27,43 @@
</el-col>
</el-col>
</el-row>
</el-row>
</el-form>
</el-form>
<el-table
border
:data=
"tableData"
:gutter=
"40"
style=
"width: 85%; margin-left: 80px; padding-left: 8.6%;"
>
<div
style=
"width: 82%; margin-left: 80px; padding-left: 8.6%;"
>
<el-table-column
type=
"index"
label=
"序号"
width=
"50px"
/>
<el-table
border
:data=
"tableData"
:gutter=
"40"
>
<el-table-column
label=
"pn"
prop=
"businessId"
>
<el-table-column
type=
"index"
label=
"序号"
width=
"50px"
/>
<template
slot-scope=
"scope"
>
<el-table-column
label=
"pn"
prop=
"businessId"
>
{{
scope
.
row
.
pn
||
'-'
}}
<template
slot-scope=
"scope"
>
</
template
>
{{
scope
.
row
.
pn
||
'-'
}}
</el-table-column>
</
template
>
<el-table-column
label=
"lot"
prop=
"lot"
>
</el-table-column>
<
template
slot-scope=
"scope"
>
<el-table-column
label=
"lot"
prop=
"lot"
>
{{
scope
.
row
.
lot
||
'-'
}}
<
template
slot-scope=
"scope"
>
</
template
>
{{
scope
.
row
.
lot
||
'-'
}}
</el-table-column>
</
template
>
<el-table-column
label=
"厚度"
prop=
"phd"
>
</el-table-column>
<
template
slot-scope=
"scope"
>
<el-table-column
label=
"厚度"
prop=
"phd"
>
{{
scope
.
row
.
phd
||
'-'
}}
<
template
slot-scope=
"scope"
>
</
template
>
{{
scope
.
row
.
phd
||
'-'
}}
</el-table-column>
</
template
>
<el-table-column
label=
"操作"
class-name=
"small-padding fixed-width"
>
</el-table-column>
<
template
slot-scope=
"scope"
>
<el-table-column
label=
"操作"
class-name=
"small-padding fixed-width"
>
<el-button
<
template
slot-scope=
"scope"
>
size=
"mini"
<el-button
type=
"text"
size=
"mini"
style=
"color: #49cec9"
type=
"text"
@
click=
"handleUpdate(scope.row)"
style=
"color: #49cec9"
>
修改
</el-button>
@
click=
"handleUpdate(scope.row)"
<el-button
>
修改
</el-button>
size=
"mini"
<el-button
type=
"text"
size=
"mini"
icon=
"el-icon-delete"
type=
"text"
@
click=
"handleDelete(scope.row)"
icon=
"el-icon-delete"
>
删除
</el-button>
@
click=
"handleDelete(scope.row)"
</
template
>
>
删除
</el-button>
</el-table-column>
</
template
>
</el-table>
</el-table-column>
</el-table>
</div>
<el-form
ref=
"form"
:model=
"form"
:rules=
"rule"
label-width=
"80px"
>
<el-form
ref=
"form"
:model=
"form"
:rules=
"rule"
label-width=
"80px"
>
<el-row
style=
"padding-left: 8.6%; padding-top: 1.5%"
>
<el-row
style=
"padding-left: 8.6%; padding-top: 1.5%"
>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
...
@@ -257,9 +260,6 @@ export default {
...
@@ -257,9 +260,6 @@ export default {
},
},
// 提交时要调的接口
// 提交时要调的接口
submitForm
()
{
submitForm
()
{
const
{
plocation
}
=
this
.
form
if
(
this
.
tableData
.
length
===
0
)
{
if
(
this
.
tableData
.
length
===
0
)
{
this
.
$message
.
warning
(
'请先确定表格数据'
)
this
.
$message
.
warning
(
'请先确定表格数据'
)
return
return
...
...
src/views/equipment/management.vue
View file @
8addde87
...
@@ -53,34 +53,34 @@
...
@@ -53,34 +53,34 @@
<div
class=
"placeholder"
/>
<div
class=
"placeholder"
/>
<div
style=
"padding:5px 10px"
>
<div
style=
"padding:5px 10px"
>
<div
class=
"mb12 font-small-bold"
>
设备管理列表
</div>
<div
class=
"mb12 font-small-bold"
>
设备管理列表
</div>
<el-table
v-loading=
"loading"
border
:data=
"equipmentList"
@
selection-change=
"handleSelectionChange"
>
<el-table
v-loading=
"loading"
border
:data=
"equipmentList"
@
selection-change=
"handleSelectionChange"
>
<el-table-column
type=
"index"
label=
"序号"
width=
"80"
/>
<el-table-column
type=
"index"
label=
"序号"
width=
"80"
/>
<el-table-column
label=
"pn"
prop=
"businessId"
>
<el-table-column
label=
"pn"
prop=
"businessId"
:show-overflow-tooltip=
"true"
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
{{
scope
.
row
.
pn
||
'-'
}}
{{
scope
.
row
.
pn
||
'-'
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"lot"
prop=
"lot"
>
<el-table-column
label=
"lot"
prop=
"lot"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
lot
||
'-'
}}
{{
scope
.
row
.
lot
||
'-'
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"plocation"
prop=
"plocation"
>
<el-table-column
label=
"plocation"
prop=
"plocation"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
plocation
||
'-'
}}
{{
scope
.
row
.
plocation
||
'-'
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"厚度"
prop=
"厚度"
>
<el-table-column
label=
"厚度"
prop=
"厚度"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
phd
||
'-'
}}
{{
scope
.
row
.
phd
||
'-'
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"操作员"
prop=
"createName"
>
<el-table-column
label=
"操作员"
prop=
"createName"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
createName
||
'-'
}}
{{
scope
.
row
.
createName
||
'-'
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"操作时间"
:show-overflow-tooltip=
"true"
align=
"center"
prop=
"updateDate"
>
<el-table-column
label=
"操作时间"
:show-overflow-tooltip=
"true"
align=
"center"
prop=
"updateDate"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
updateDate
|
transformDateByFormat
(
'YYYY-MM-DD HH:mm'
)
}}
</span>
<span>
{{
scope
.
row
.
updateDate
|
transformDateByFormat
(
'YYYY-MM-DD HH:mm'
)
}}
</span>
</
template
>
</
template
>
...
@@ -370,6 +370,10 @@ export default {
...
@@ -370,6 +370,10 @@ export default {
// });
// });
},
},
methods
:
{
methods
:
{
getTooltipContent
(
row
)
{
// 根据行数据动态生成tooltip的内容
return
`pn:
${
row
.
pn
}
\nlot:
${
row
.
lot
}
\n厚度:
${
row
.
phd
}
`
},
// TODO: 获取所选行详情信息操作
// TODO: 获取所选行详情信息操作
handleDetail
(
row
)
{
handleDetail
(
row
)
{
this
.
singleDetails
=
this
.
formReset
this
.
singleDetails
=
this
.
formReset
...
...
src/views/processManagement/basicProcessManagement/index.vue
View file @
8addde87
...
@@ -53,27 +53,27 @@
...
@@ -53,27 +53,27 @@
<div
class=
"mb12 font-small-bold"
>
设备管理列表
</div>
<div
class=
"mb12 font-small-bold"
>
设备管理列表
</div>
<el-table
v-loading=
"loading"
border
:data=
"equipmentList"
@
selection-change=
"handleSelectionChange"
>
<el-table
v-loading=
"loading"
border
:data=
"equipmentList"
@
selection-change=
"handleSelectionChange"
>
<el-table-column
type=
"index"
label=
"序号"
width=
"80"
/>
<el-table-column
type=
"index"
label=
"序号"
width=
"80"
/>
<el-table-column
label=
"pn"
prop=
"
businessId
"
>
<el-table-column
label=
"pn"
prop=
"
pn"
:show-overflow-tooltip=
"true
"
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
{{
scope
.
row
.
pn
||
'-'
}}
{{
scope
.
row
.
pn
||
'-'
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"lot"
prop=
"lot"
>
<el-table-column
label=
"lot"
prop=
"lot"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
lot
||
'-'
}}
{{
scope
.
row
.
lot
||
'-'
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"plocation"
prop=
"plocation"
>
<el-table-column
label=
"plocation"
prop=
"plocation"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
plocation
||
'-'
}}
{{
scope
.
row
.
plocation
||
'-'
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"厚度"
prop=
"厚度"
>
<el-table-column
label=
"厚度"
prop=
"厚度"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
phd
||
'-'
}}
{{
scope
.
row
.
phd
||
'-'
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"操作员"
prop=
"createName"
>
<el-table-column
label=
"操作员"
prop=
"createName"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
createName
||
'-'
}}
{{
scope
.
row
.
createName
||
'-'
}}
</
template
>
</
template
>
...
...
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