Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mes-ui
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
周远喜
mes-ui
Commits
7f817c52
Commit
7f817c52
authored
Nov 03, 2020
by
仇晓婷
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'product' of
http://git.mes123.com/zhouyx/mes-ui
into product
parents
387b7609
b3548bf5
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
34 additions
and
50 deletions
+34
-50
index.vue
pages/produce/execute/judgment/index.vue
+34
-50
No files found.
pages/produce/execute/judgment/index.vue
View file @
7f817c52
...
@@ -64,17 +64,10 @@
...
@@ -64,17 +64,10 @@
<div
class=
"fei_right"
v-if=
"feilist.length>0"
>
<div
class=
"fei_right"
v-if=
"feilist.length>0"
>
<Form
:model=
"orderForm"
:label-width=
"110"
:rules=
"rules"
ref=
"formValidate"
>
<Form
:model=
"orderForm"
:label-width=
"110"
:rules=
"rules"
ref=
"formValidate"
>
<FormItem
label=
"问题原因:"
prop=
"question"
style=
"width:100%"
>
<FormItem
label=
"问题原因:"
prop=
"question"
style=
"width:100%"
>
<Select
v-model=
"orderForm.question"
style=
"width:80%"
>
<dictionary
style=
"width:240px"
code=
"orderList.UnqualifiedReasons"
v-model=
"orderForm.question"
></dictionary>
<Option
value
class=
"option-text"
>
请选择
</Option>
<!-- :disabled="feilist.length == 0 ? true:false" placeholder="选择问题原因" -->
<Option
v-for=
"item in problemList"
:value=
"item.problem"
:key=
"item.index"
>
{{
item
.
problem
}}
</Option>
</Select>
</FormItem>
</FormItem>
<FormItem
label=
"责任归属:"
prop=
"useroption"
style=
"width:100%"
>
<FormItem
label=
"责任归属:"
prop=
"useroption"
style=
"width:100%"
>
<Select
v-model=
"orderForm.useroption"
style=
"width:80%"
>
<UserSelect
ref=
"userSelected"
v-model=
"orderForm.useroption"
/>
<Option
value
class=
"option-text"
>
请选择
</Option>
<Option
v-for=
"item in blameList"
:value=
"item.user"
:key=
"item.index"
>
{{
item
.
user
}}
</Option>
</Select>
</FormItem>
</FormItem>
</Form>
</Form>
</div>
</div>
...
@@ -121,12 +114,14 @@ export default {
...
@@ -121,12 +114,14 @@ export default {
question
:
[{
question
:
[{
required
:
true
,
required
:
true
,
message
:
"请选择问题原因"
,
message
:
"请选择问题原因"
,
trigger
:
"change"
trigger
:
"change"
,
type
:
'number'
}],
}],
useroption
:
[{
useroption
:
[{
required
:
true
,
required
:
true
,
message
:
"请选择责任人"
,
message
:
"请选择责任人"
,
trigger
:
"change"
trigger
:
"change"
,
type
:
'number'
}]
}]
},
},
orderForm
:
{
orderForm
:
{
...
@@ -300,18 +295,14 @@ export default {
...
@@ -300,18 +295,14 @@ export default {
},
},
// 让步关闭
// 让步关闭
handleClose
(
event
,
name
)
{
handleClose
(
event
,
name
)
{
let
rangold
=
this
.
ranglist
;
let
rangold
=
this
.
$u
.
clone
(
this
.
ranglist
)
;
let
ind
ex
=
this
.
ranglist
.
findIndex
(
item
=>
{
let
ind
=
this
.
ranglist
.
findIndex
(
item
=>
{
return
item
.
id
===
name
;
return
item
.
id
===
name
;
});
});
let
itemlist
=
rangold
.
filter
(
item
=>
{
rangold
[
ind
].
productStatus
=
0
if
(
item
.
id
===
name
)
{
rangold
[
ind
].
checked
=
false
item
.
productStatus
=
0
this
.
cardlist
.
push
(
rangold
[
ind
]);
return
item
;
this
.
ranglist
.
splice
(
ind
,
1
);
}
});
this
.
ranglist
.
splice
(
index
,
1
);
this
.
cardlist
.
splice
(
0
,
0
,
itemlist
[
0
]);
},
},
consoleFun
(
u
)
{
consoleFun
(
u
)
{
this
.
suModal
=
true
;
this
.
suModal
=
true
;
...
@@ -345,18 +336,14 @@ export default {
...
@@ -345,18 +336,14 @@ export default {
this
.
hegelist
=
[];
this
.
hegelist
=
[];
},
},
hegeClose
(
event
,
name
)
{
hegeClose
(
event
,
name
)
{
let
hegeold
=
this
.
hegelist
;
let
hegeold
=
this
.
$u
.
clone
(
this
.
hegelist
)
;
let
ind
=
this
.
hegelist
.
findIndex
(
hgitem
=>
{
let
ind
=
this
.
hegelist
.
findIndex
(
hgitem
=>
{
return
hgitem
.
id
===
name
;
return
hgitem
.
id
===
name
;
});
});
let
hgtemlist
=
hegeold
.
filter
(
hgtem
=>
{
hegeold
[
ind
].
productStatus
=
0
if
(
hgtem
.
id
==
name
)
{
hegeold
[
ind
].
checked
=
false
hgtem
.
productStatus
=
0
this
.
cardlist
.
push
(
hegeold
[
ind
]);
return
hgtem
;
}
});
this
.
hegelist
.
splice
(
ind
,
1
);
this
.
hegelist
.
splice
(
ind
,
1
);
this
.
cardlist
.
splice
(
0
,
0
,
hgtemlist
[
0
]);
},
},
cansolRang
()
{
cansolRang
()
{
let
rangblist
=
this
.
ranglist
;
let
rangblist
=
this
.
ranglist
;
...
@@ -367,18 +354,15 @@ export default {
...
@@ -367,18 +354,15 @@ export default {
this
.
ranglist
=
[];
this
.
ranglist
=
[];
},
},
fanClose
(
event
,
name
)
{
fanClose
(
event
,
name
)
{
let
fanold
=
this
.
fanlist
;
let
fanold
=
this
.
$u
.
clone
(
this
.
fanlist
)
;
let
ind
e
=
this
.
fanlist
.
findIndex
(
item
=>
{
let
ind
=
this
.
fanlist
.
findIndex
(
item
=>
{
return
item
.
id
===
name
;
return
item
.
id
===
name
;
});
});
let
utemlist
=
fanold
.
filter
(
utem
=>
{
fanold
[
ind
].
productStatus
=
0
if
(
utem
.
id
==
name
)
{
fanold
[
ind
].
checked
=
false
utem
.
productStatus
=
0
this
.
cardlist
.
push
(
fanold
[
ind
]);
return
utem
;
this
.
fanlist
.
splice
(
ind
,
1
);
}
});
this
.
fanlist
.
splice
(
inde
,
1
);
this
.
cardlist
.
splice
(
0
,
0
,
utemlist
[
0
]);
},
},
cansolfan
()
{
cansolfan
()
{
let
fanglist
=
this
.
fanlist
;
let
fanglist
=
this
.
fanlist
;
...
@@ -389,18 +373,15 @@ export default {
...
@@ -389,18 +373,15 @@ export default {
this
.
fanlist
=
[];
this
.
fanlist
=
[];
},
},
feiClose
(
event
,
name
)
{
feiClose
(
event
,
name
)
{
let
feiold
=
this
.
feilist
;
let
feiold
=
this
.
$u
.
clone
(
this
.
feilist
)
;
let
ind
exed
=
this
.
feilist
.
findIndex
(
item
=>
{
let
ind
=
this
.
feilist
.
findIndex
(
item
=>
{
return
item
.
id
===
name
;
return
item
.
id
===
name
;
});
});
let
rtemlist
=
feiold
.
filter
(
rtem
=>
{
feiold
[
ind
].
productStatus
=
0
if
(
rtem
.
id
==
name
)
{
feiold
[
ind
].
checked
=
false
rtem
.
productStatus
=
0
this
.
cardlist
.
push
(
feiold
[
ind
]);
return
rtem
;
this
.
feilist
.
splice
(
ind
,
1
);
}
});
this
.
feilist
.
splice
(
indexed
,
1
);
this
.
cardlist
.
splice
(
0
,
0
,
rtemlist
[
0
]);
},
},
cansolfei
()
{
cansolfei
()
{
let
feipinlist
=
this
.
feilist
;
let
feipinlist
=
this
.
feilist
;
...
@@ -453,10 +434,12 @@ export default {
...
@@ -453,10 +434,12 @@ export default {
})
})
}
}
if
(
pass05
)
{
if
(
pass05
)
{
cardseops
=
{
cardseops
=
{
prodcutIds
:
[],
prodcutIds
:
[],
productStatus
:
this
.
cardlist
[
0
].
productStatus
productStatus
:
this
.
cardlist
[
0
].
productStatus
}
}
this
.
cardlist
.
map
(
ch
=>
{
this
.
cardlist
.
map
(
ch
=>
{
cardseops
.
prodcutIds
.
push
(
ch
.
id
)
cardseops
.
prodcutIds
.
push
(
ch
.
id
)
})
})
...
@@ -472,7 +455,8 @@ export default {
...
@@ -472,7 +455,8 @@ export default {
feipops
.
prodcutIds
.
push
(
un
.
id
)
feipops
.
prodcutIds
.
push
(
un
.
id
)
})
})
}
}
if
(
cardseops
.
productStatus
)
{
if
(
cardseops
.
productStatus
==
0
)
{
lists
.
push
(
cardseops
)
lists
.
push
(
cardseops
)
}
}
if
(
hegeops
.
productStatus
)
{
if
(
hegeops
.
productStatus
)
{
...
...
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