Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
mes-ui
Project
Project
Details
Activity
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
mes
mes-ui
Commits
55629e09
Commit
55629e09
authored
Oct 30, 2024
by
沈翠玲
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
过程检验
parent
a4085fd6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
index.vue
src/views/mes/qc/ipqc/index.vue
+5
-3
No files found.
src/views/mes/qc/ipqc/index.vue
View file @
55629e09
...
@@ -329,7 +329,7 @@ export default {
...
@@ -329,7 +329,7 @@ export default {
multiple
:
true
,
multiple
:
true
,
// 显示搜索条件
// 显示搜索条件
showSearch
:
true
,
showSearch
:
true
,
selectedRows
:
[],
daterangePurchaseDate
:
[],
daterangePurchaseDate
:
[],
// 总条数
// 总条数
total
:
0
,
total
:
0
,
...
@@ -500,6 +500,7 @@ export default {
...
@@ -500,6 +500,7 @@ export default {
// 多选框选中数据
// 多选框选中数据
handleSelectionChange
(
selection
)
{
handleSelectionChange
(
selection
)
{
this
.
ids
=
selection
.
map
(
item
=>
item
.
ipqcId
)
this
.
ids
=
selection
.
map
(
item
=>
item
.
ipqcId
)
this
.
selectedRows
=
selection
this
.
single
=
selection
.
length
!==
1
this
.
single
=
selection
.
length
!==
1
this
.
multiple
=
!
selection
.
length
this
.
multiple
=
!
selection
.
length
}
,
}
,
...
@@ -513,9 +514,10 @@ export default {
...
@@ -513,9 +514,10 @@ export default {
/** 修改按钮操作 */
/** 修改按钮操作 */
handleUpdate
(
row
)
{
handleUpdate
(
row
)
{
this
.
reset
();
this
.
reset
();
row
=
row
||
this
.
selectedRows
[
0
]
const
ipqcId
=
row
.
ipqcId
||
this
.
ids
const
ipqcId
=
row
.
ipqcId
||
this
.
ids
getIpqc
(
ipqcId
).
then
(
response
=>
{
getIpqc
(
ipqcId
).
then
(
response
=>
{
this
.
form
=
response
.
data
;
this
.
form
=
{...
row
,
...
response
.
data
}
;
this
.
open
=
true
;
this
.
open
=
true
;
this
.
title
=
"修改过程检验单"
;
this
.
title
=
"修改过程检验单"
;
this
.
optType
=
"edit"
;
this
.
optType
=
"edit"
;
...
@@ -526,7 +528,7 @@ export default {
...
@@ -526,7 +528,7 @@ export default {
this
.
reset
();
this
.
reset
();
const
ipqcIds
=
row
.
ipqcId
const
ipqcIds
=
row
.
ipqcId
getIpqc
(
ipqcIds
).
then
(
response
=>
{
getIpqc
(
ipqcIds
).
then
(
response
=>
{
this
.
form
=
response
.
data
;
this
.
form
=
{...
row
,
...
response
.
data
}
;
this
.
open
=
true
;
this
.
open
=
true
;
this
.
title
=
"查看检验单信息"
;
this
.
title
=
"查看检验单信息"
;
this
.
optType
=
"view"
;
this
.
optType
=
"view"
;
...
...
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