Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
T
TF-MOM-WEB
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
TFMOM
TF-MOM-WEB
Commits
f2cbd534
Commit
f2cbd534
authored
Oct 30, 2023
by
jingnan
👀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
检验单不合格数量逻辑修改
parent
3cfe107b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
3 deletions
+6
-3
equipmenCheckNo.vue
...ts/JobResponseInTestProcess/component/equipmenCheckNo.vue
+2
-1
materialCheckNo.vue
...ts/JobResponseInTestProcess/component/materialCheckNo.vue
+2
-1
outSourceCheckNo.vue
...s/JobResponseInTestProcess/component/outSourceCheckNo.vue
+2
-1
No files found.
applications/dee-mes/src/privateComponents/components/JobResponseInTestProcess/component/equipmenCheckNo.vue
View file @
f2cbd534
...
@@ -126,7 +126,7 @@
...
@@ -126,7 +126,7 @@
clearable
clearable
:min=
"0"
:min=
"0"
placeholder=
"不合格数"
placeholder=
"不合格数"
:disabled=
"form.isPass
!
== 'N'||allDisabled"
:disabled=
"form.isPass
=
== 'N'||allDisabled"
/>
/>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
...
@@ -317,6 +317,7 @@ export default {
...
@@ -317,6 +317,7 @@ export default {
'form.isPass'
:
{
'form.isPass'
:
{
handler
:
function
(
v
)
{
handler
:
function
(
v
)
{
if
(
v
===
'N'
)
{
if
(
v
===
'N'
)
{
this
.
$set
(
this
.
form
,
'noPassAmount'
,
this
.
basicData
.
reqAmount
)
this
.
$set
(
this
.
formRules
,
'noPassAmount'
,
[{
required
:
true
,
message
:
'请输入不合格数'
,
trigger
:
'change'
}])
this
.
$set
(
this
.
formRules
,
'noPassAmount'
,
[{
required
:
true
,
message
:
'请输入不合格数'
,
trigger
:
'change'
}])
}
else
{
}
else
{
this
.
$delete
(
this
.
formRules
,
'noPassAmount'
)
this
.
$delete
(
this
.
formRules
,
'noPassAmount'
)
...
...
applications/dee-mes/src/privateComponents/components/JobResponseInTestProcess/component/materialCheckNo.vue
View file @
f2cbd534
...
@@ -195,7 +195,7 @@
...
@@ -195,7 +195,7 @@
clearable
clearable
:min=
"0"
:min=
"0"
placeholder=
"不合格数"
placeholder=
"不合格数"
:disabled=
"form.isPass
!
== 'N'||allDisabled"
:disabled=
"form.isPass
=
== 'N'||allDisabled"
/>
/>
</el-form-item>
</el-form-item>
</div>
</div>
...
@@ -789,6 +789,7 @@ export default {
...
@@ -789,6 +789,7 @@ export default {
'form.isPass'
:
{
'form.isPass'
:
{
handler
:
function
(
v
)
{
handler
:
function
(
v
)
{
if
(
v
===
'N'
)
{
if
(
v
===
'N'
)
{
this
.
$set
(
this
.
form
,
'noPassAmount'
,
this
.
basicData
.
reqAmount
)
this
.
$set
(
this
.
formRules
,
'noPassAmount'
,
[{
required
:
true
,
message
:
'请输入不合格数'
,
trigger
:
'change'
}])
this
.
$set
(
this
.
formRules
,
'noPassAmount'
,
[{
required
:
true
,
message
:
'请输入不合格数'
,
trigger
:
'change'
}])
}
else
{
}
else
{
this
.
$delete
(
this
.
formRules
,
'noPassAmount'
)
this
.
$delete
(
this
.
formRules
,
'noPassAmount'
)
...
...
applications/dee-mes/src/privateComponents/components/JobResponseInTestProcess/component/outSourceCheckNo.vue
View file @
f2cbd534
...
@@ -108,7 +108,7 @@
...
@@ -108,7 +108,7 @@
clearable
clearable
:min=
"0"
:min=
"0"
placeholder=
"不合格数"
placeholder=
"不合格数"
:disabled=
"form.isPass
!
=='N'||allDisabled"
:disabled=
"form.isPass
=
=='N'||allDisabled"
/>
/>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
...
@@ -287,6 +287,7 @@ export default {
...
@@ -287,6 +287,7 @@ export default {
'form.isPass'
:
{
'form.isPass'
:
{
handler
:
function
(
v
)
{
handler
:
function
(
v
)
{
if
(
v
===
'N'
)
{
if
(
v
===
'N'
)
{
this
.
$set
(
this
.
form
,
'noPassAmount'
,
this
.
basicData
.
reqAmount
)
this
.
$set
(
this
.
formRules
,
'noPassAmount'
,
[{
required
:
true
,
message
:
'请输入不合格数'
,
trigger
:
'change'
}])
this
.
$set
(
this
.
formRules
,
'noPassAmount'
,
[{
required
:
true
,
message
:
'请输入不合格数'
,
trigger
:
'change'
}])
}
else
{
}
else
{
this
.
$delete
(
this
.
formRules
,
'noPassAmount'
)
this
.
$delete
(
this
.
formRules
,
'noPassAmount'
)
...
...
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