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
0b860666
Commit
0b860666
authored
Aug 02, 2023
by
吴志坤
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
基础信息和两个设备领用
parent
8addde87
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
29 additions
and
20 deletions
+29
-20
basicInfo.vue
src/views/equipment/basicInfo.vue
+4
-4
draw.vue
src/views/equipment/draw.vue
+11
-3
draw.vue
src/views/processManagement/draw.vue
+14
-13
No files found.
src/views/equipment/basicInfo.vue
View file @
0b860666
...
...
@@ -62,7 +62,7 @@
<div
class=
"mb12 font-small-bold"
>
基本信息
</div>
<el-table
v-loading=
"loading"
border
:data=
"basicInfoList"
@
selection-change=
"handleSelectionChange"
>
<el-table-column
type=
"index"
label=
"序号"
width=
"50"
/>
<el-table-column
label=
"pn"
prop=
"pn"
>
<el-table-column
label=
"pn"
prop=
"pn"
:show-overflow-tooltip=
"true"
>
<template
slot-scope=
"scope"
>
{{
scope
.
row
.
pn
||
'-'
}}
</
template
>
...
...
@@ -78,7 +78,7 @@
{{
scope
.
row
.
ptype
||
'-'
}}
</
template
>
</el-table-column>
<el-table-column
label=
"prank"
prop=
"prank"
>
<el-table-column
label=
"prank"
prop=
"prank"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
prank
||
'-'
}}
</
template
>
...
...
@@ -89,12 +89,12 @@
<span
v-else
>
是
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"psm"
prop=
"psm"
>
<el-table-column
label=
"psm"
prop=
"psm"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
prank
||
'-'
}}
</
template
>
</el-table-column>
<el-table-column
label=
"psy"
prop=
"psy"
>
<el-table-column
label=
"psy"
prop=
"psy"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
prank
||
'-'
}}
</
template
>
...
...
src/views/equipment/draw.vue
View file @
0b860666
...
...
@@ -58,7 +58,7 @@
<div
class=
"mb12 font-small-bold"
>
设备领用
</div>
<el-table
v-loading=
"loading"
border
:data=
"equipmentapplyList"
@
selection-change=
"handleSelectionChange"
>
<el-table-column
type=
"index"
label=
"序号"
width=
"50"
/>
<el-table-column
label=
"pn"
prop=
"pn"
>
<el-table-column
label=
"pn"
prop=
"pn"
:show-overflow-tooltip=
"true"
>
<template
slot-scope=
"scope"
>
{{
scope
.
row
.
pn
||
'-'
}}
</
template
>
...
...
@@ -68,7 +68,7 @@
{{
scope
.
row
.
phd
||
'-'
}}
</
template
>
</el-table-column>
<el-table-column
label=
"prank"
prop=
"prank"
>
<el-table-column
label=
"prank"
prop=
"prank"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
prank
||
'-'
}}
</
template
>
...
...
@@ -459,6 +459,7 @@ export default {
next
()
},
created
()
{
this
.
resetQuery
()
if
(
this
.
$store
.
getters
.
searchParams
[
this
.
$route
.
path
])
{
const
{
searchParams
}
=
this
.
$store
.
getters
;
const
{
path
}
=
this
.
$route
const
param
=
JSON
.
parse
(
searchParams
[
path
])
// 保留着的查询条件
...
...
@@ -598,8 +599,15 @@ export default {
},
/** 重置按钮操作 */
resetQuery
()
{
this
.
queryParams
=
{
page
:
1
,
rows
:
10
,
pn
:
''
,
phd
:
''
,
prank
:
''
,
pstatus
:
''
}
// this.dateRange = []
this
.
resetForm
(
'queryForm'
)
this
.
handleQuery
()
},
// warehouse的重置按钮
...
...
src/views/processManagement/draw.vue
View file @
0b860666
...
...
@@ -58,7 +58,7 @@
<div
class=
"mb12 font-small-bold"
>
设备领用
</div>
<el-table
v-loading=
"loading"
border
:data=
"equipmentapplyList"
@
selection-change=
"handleSelectionChange"
>
<el-table-column
type=
"index"
label=
"序号"
width=
"50"
/>
<el-table-column
label=
"pn"
prop=
"pn"
>
<el-table-column
label=
"pn"
prop=
"pn"
:show-overflow-tooltip=
"true"
>
<template
slot-scope=
"scope"
>
{{
scope
.
row
.
pn
||
'-'
}}
</
template
>
...
...
@@ -68,7 +68,7 @@
{{
scope
.
row
.
phd
||
'-'
}}
</
template
>
</el-table-column>
<el-table-column
label=
"prank"
prop=
"prank"
>
<el-table-column
label=
"prank"
prop=
"prank"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
prank
||
'-'
}}
</
template
>
...
...
@@ -235,13 +235,6 @@
</
template
>
</el-table-column>
</el-table>
<!-- <pagination-->
<!-- v-show="totalDetail>0"-->
<!-- :total="totalDetail"-->
<!-- :page.sync="queryParams.page"-->
<!-- :limit.sync="queryParams.rows"-->
<!-- @pagination="getDeviceList"-->
<!-- />-->
</el-dialog>
<!-- TODO: 处理 -->
...
...
@@ -348,7 +341,7 @@
import
{
listWbApply
,
deleteLogical
,
detailList
,
batchAddition
,
detail
}
from
'@/api/equipment/draw'
import
{
parseTime
}
from
'@/utils'
export
default
{
name
:
'
Role
'
,
name
:
'
Draw
'
,
data
()
{
return
{
totalApplyDetail
:
0
,
...
...
@@ -431,7 +424,7 @@ export default {
pn
:
undefined
,
lot
:
undefined
,
plocation
:
undefined
,
ptype
:
2
,
ptype
:
1
,
delFlag
:
0
},
// 查询warehouse的参数
...
...
@@ -441,7 +434,7 @@ export default {
pn
:
undefined
,
lot
:
undefined
,
plocation
:
undefined
,
ptype
:
1
,
ptype
:
2
,
delFlag
:
0
},
// 表单参数
...
...
@@ -466,6 +459,7 @@ export default {
next
()
},
created
()
{
this
.
resetQuery
()
if
(
this
.
$store
.
getters
.
searchParams
[
this
.
$route
.
path
])
{
const
{
searchParams
}
=
this
.
$store
.
getters
;
const
{
path
}
=
this
.
$route
const
param
=
JSON
.
parse
(
searchParams
[
path
])
// 保留着的查询条件
...
...
@@ -605,8 +599,15 @@ export default {
},
/** 重置按钮操作 */
resetQuery
()
{
this
.
queryParams
=
{
page
:
1
,
rows
:
10
,
pn
:
''
,
phd
:
''
,
prank
:
''
,
pstatus
:
''
}
// this.dateRange = []
this
.
resetForm
(
'queryForm'
)
this
.
handleQuery
()
},
// warehouse的重置按钮
...
...
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