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
9e905692
Commit
9e905692
authored
Sep 10, 2024
by
沈翠玲
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
车间异常单
parent
abe7a162
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
7 deletions
+14
-7
index.vue
src/views/mes/qc/report/index.vue
+14
-7
No files found.
src/views/mes/qc/report/index.vue
View file @
9e905692
...
@@ -183,7 +183,7 @@
...
@@ -183,7 +183,7 @@
<
el
-
row
>
<
el
-
row
>
<
el
-
col
:
span
=
"12"
>
<
el
-
col
:
span
=
"12"
>
<
el
-
form
-
item
label
=
"编排单号"
prop
=
"batchNumber"
>
<
el
-
form
-
item
label
=
"编排单号"
prop
=
"batchNumber"
>
<
el
-
input
v
-
model
=
"form.batchNumber"
placeholder
=
"请输入编排单号"
/>
<
el
-
input
v
-
model
=
"form.batchNumber"
placeholder
=
"请输入编排单号"
disabled
/>
<
/el-form-item
>
<
/el-form-item
>
<
/el-col
>
<
/el-col
>
<
el
-
col
:
span
=
"12"
>
<
el
-
col
:
span
=
"12"
>
...
@@ -212,7 +212,7 @@
...
@@ -212,7 +212,7 @@
<
/el-col
>
<
/el-col
>
<
el
-
col
:
span
=
"12"
>
<
el
-
col
:
span
=
"12"
>
<
el
-
form
-
item
label
=
"异常类型"
prop
=
"abnormalType"
>
<
el
-
form
-
item
label
=
"异常类型"
prop
=
"abnormalType"
>
<
el
-
select
v
-
model
=
"form.abnormalType"
placeholder
=
"请选择异常类型"
>
<
el
-
select
v
-
model
=
"form.abnormalType"
placeholder
=
"请选择异常类型"
disabled
>
<
el
-
option
<
el
-
option
v
-
for
=
"dict in dict.type.pc_abnormal_type"
v
-
for
=
"dict in dict.type.pc_abnormal_type"
:
key
=
"dict.value"
:
key
=
"dict.value"
...
@@ -389,7 +389,9 @@ export default {
...
@@ -389,7 +389,9 @@ export default {
}
,
}
,
methods
:
{
methods
:
{
handleSubmit
(
row
){
handleSubmit
(
row
){
submit
(
row
.
abnormalReportCode
).
then
(
res
=>
{
this
.
$modal
.
confirm
(
'是否提交车间异常单号为"'
+
row
.
abnormalReportCode
+
'"的数据?'
).
then
(
function
()
{
return
submit
(
row
.
abnormalReportCode
);
}
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
if
(
res
.
code
===
200
)
{
this
.
getList
()
this
.
getList
()
}
}
...
@@ -409,7 +411,7 @@ export default {
...
@@ -409,7 +411,7 @@ export default {
//查询工序信息
//查询工序信息
getoldProcess
(){
getoldProcess
(){
getAllProcess
(
this
.
form
.
batchNumber
).
then
(
response
=>
{
getAllProcess
(
this
.
form
.
batchNumber
).
then
(
response
=>
{
this
.
oldprocessOptions
=
response
.
data
;
this
.
oldprocessOptions
=
response
.
rows
;
}
);
}
);
}
,
}
,
/** 查询车间异常单列表 */
/** 查询车间异常单列表 */
...
@@ -525,9 +527,14 @@ export default {
...
@@ -525,9 +527,14 @@ export default {
getReport
(
abnormalReportId
).
then
(
response
=>
{
getReport
(
abnormalReportId
).
then
(
response
=>
{
this
.
form
=
response
.
data
;
this
.
form
=
response
.
data
;
this
.
open
=
true
;
this
.
open
=
true
;
this
.
getoldProcess
()
this
.
$nextTick
(()
=>
{
this
.
getProcess
()
if
(
this
.
form
.
abnormalType
===
'PROCESS'
)
{
this
.
getAllBomMaterial
()
this
.
getoldProcess
()
this
.
getProcess
()
}
else
if
(
this
.
form
.
abnormalType
===
'MATERIAL'
)
{
this
.
getAllBomMaterial
()
}
}
)
this
.
title
=
"修改车间异常单"
;
this
.
title
=
"修改车间异常单"
;
}
);
}
);
}
,
}
,
...
...
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