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
444a9c92
Commit
444a9c92
authored
Jan 11, 2024
by
jingnan
👀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
退库入库不合格及不合格数不可以编辑
parent
98450db6
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
6 deletions
+12
-6
equipmenCheckNo.vue
...ts/JobResponseInTestProcess/component/equipmenCheckNo.vue
+4
-2
materialCheckNo.vue
...ts/JobResponseInTestProcess/component/materialCheckNo.vue
+4
-2
outSourceCheckNo.vue
...s/JobResponseInTestProcess/component/outSourceCheckNo.vue
+4
-2
No files found.
applications/dee-mes/src/privateComponents/components/JobResponseInTestProcess/component/equipmenCheckNo.vue
View file @
444a9c92
...
@@ -113,7 +113,7 @@
...
@@ -113,7 +113,7 @@
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<el-form-item
label-width=
"100px"
label=
"是否合格"
prop=
"isPass"
>
<el-form-item
label-width=
"100px"
label=
"是否合格"
prop=
"isPass"
>
<el-select
v-model=
"form.isPass"
:disabled=
"allDisabled"
clearable
placeholder=
"请选择"
>
<el-select
v-model=
"form.isPass"
:disabled=
"allDisabled
||passDisabled
"
clearable
placeholder=
"请选择"
>
<el-option
label=
"合格"
value=
"Y"
/>
<el-option
label=
"合格"
value=
"Y"
/>
<el-option
label=
"不合格"
value=
"N"
/>
<el-option
label=
"不合格"
value=
"N"
/>
</el-select>
</el-select>
...
@@ -127,7 +127,7 @@
...
@@ -127,7 +127,7 @@
:min=
"0"
:min=
"0"
:max=
"basicData.reqAmount"
:max=
"basicData.reqAmount"
placeholder=
"不合格数"
placeholder=
"不合格数"
:disabled=
"form.isPass === 'N'||allDisabled"
:disabled=
"form.isPass === 'N'||allDisabled
||passDisabled
"
/>
/>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
...
@@ -230,6 +230,7 @@ export default {
...
@@ -230,6 +230,7 @@ export default {
return
{
return
{
allDisabled
:
that
.
basicData
.
allDisabled
,
allDisabled
:
that
.
basicData
.
allDisabled
,
disabled
:
false
,
disabled
:
false
,
passDisabled
:
false
,
// 验收单号是否禁用
// 验收单号是否禁用
subTypeNameDisabled
:
false
,
subTypeNameDisabled
:
false
,
// form表单数据
// form表单数据
...
@@ -336,6 +337,7 @@ export default {
...
@@ -336,6 +337,7 @@ export default {
// 退库入库检验的验收单号使用原物料的验收单号不允许修改
// 退库入库检验的验收单号使用原物料的验收单号不允许修改
if
(
this
.
jobResponseInTestData
&&
this
.
jobResponseInTestData
.
testNo
&&
this
.
jobResponseInTestData
.
subTypeName
!==
'JobResponseInTest'
||
(
this
.
jobResponseInTestData
.
subTypeName
===
'JobResponseInTest'
&&
this
.
basicData
.
subTypeName
.
includes
(
'BackItem'
)))
{
if
(
this
.
jobResponseInTestData
&&
this
.
jobResponseInTestData
.
testNo
&&
this
.
jobResponseInTestData
.
subTypeName
!==
'JobResponseInTest'
||
(
this
.
jobResponseInTestData
.
subTypeName
===
'JobResponseInTest'
&&
this
.
basicData
.
subTypeName
.
includes
(
'BackItem'
)))
{
this
.
subTypeNameDisabled
=
true
this
.
subTypeNameDisabled
=
true
this
.
passDisabled
=
true
}
}
},
},
methods
:
{
methods
:
{
...
...
applications/dee-mes/src/privateComponents/components/JobResponseInTestProcess/component/materialCheckNo.vue
View file @
444a9c92
...
@@ -181,7 +181,7 @@
...
@@ -181,7 +181,7 @@
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<el-form-item
label=
"是否合格"
prop=
"isPass"
label-width=
"130px"
>
<el-form-item
label=
"是否合格"
prop=
"isPass"
label-width=
"130px"
>
<el-select
v-model=
"form.isPass"
:disabled=
"allDisabled"
clearable
placeholder=
"请选择"
>
<el-select
v-model=
"form.isPass"
:disabled=
"allDisabled
||passDisabled
"
clearable
placeholder=
"请选择"
>
<el-option
label=
"合格"
value=
"Y"
/>
<el-option
label=
"合格"
value=
"Y"
/>
<el-option
label=
"不合格"
value=
"N"
/>
<el-option
label=
"不合格"
value=
"N"
/>
</el-select>
</el-select>
...
@@ -196,7 +196,7 @@
...
@@ -196,7 +196,7 @@
:min=
"0"
:min=
"0"
:max=
"basicData.reqAmount"
:max=
"basicData.reqAmount"
placeholder=
"不合格数"
placeholder=
"不合格数"
:disabled=
"form.isPass === 'N'||allDisabled"
:disabled=
"form.isPass === 'N'||allDisabled
||passDisabled
"
/>
/>
</el-form-item>
</el-form-item>
</div>
</div>
...
@@ -526,6 +526,7 @@ export default {
...
@@ -526,6 +526,7 @@ export default {
const
that
=
this
const
that
=
this
return
{
return
{
allDisabled
:
that
.
basicData
.
allDisabled
,
allDisabled
:
that
.
basicData
.
allDisabled
,
passDisabled
:
false
,
// pRowData: '',
// pRowData: '',
loading
:
false
,
loading
:
false
,
// 验收单编号
// 验收单编号
...
@@ -837,6 +838,7 @@ export default {
...
@@ -837,6 +838,7 @@ export default {
// 退库入库检验的验收单号使用原物料的验收单号不允许修改
// 退库入库检验的验收单号使用原物料的验收单号不允许修改
if
(
this
.
jobResponseInTestData
&&
this
.
jobResponseInTestData
.
testNo
&&
this
.
jobResponseInTestData
.
subTypeName
!==
'JobResponseInTest'
||
(
this
.
jobResponseInTestData
.
subTypeName
===
'JobResponseInTest'
&&
this
.
basicData
.
subTypeName
.
includes
(
'BackItem'
)))
{
if
(
this
.
jobResponseInTestData
&&
this
.
jobResponseInTestData
.
testNo
&&
this
.
jobResponseInTestData
.
subTypeName
!==
'JobResponseInTest'
||
(
this
.
jobResponseInTestData
.
subTypeName
===
'JobResponseInTest'
&&
this
.
basicData
.
subTypeName
.
includes
(
'BackItem'
)))
{
this
.
subTypeNameDisabled
=
true
this
.
subTypeNameDisabled
=
true
this
.
passDisabled
=
true
}
}
},
},
methods
:
{
methods
:
{
...
...
applications/dee-mes/src/privateComponents/components/JobResponseInTestProcess/component/outSourceCheckNo.vue
View file @
444a9c92
...
@@ -95,7 +95,7 @@
...
@@ -95,7 +95,7 @@
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<el-form-item
label=
"是否合格"
prop=
"isPass"
label-width=
"100px"
>
<el-form-item
label=
"是否合格"
prop=
"isPass"
label-width=
"100px"
>
<el-select
v-model=
"form.isPass"
clearable
:disabled=
"allDisabled"
placeholder=
"请选择"
>
<el-select
v-model=
"form.isPass"
clearable
:disabled=
"allDisabled
||passDisabled
"
placeholder=
"请选择"
>
<el-option
label=
"合格"
value=
"Y"
/>
<el-option
label=
"合格"
value=
"Y"
/>
<el-option
label=
"不合格"
value=
"N"
/>
<el-option
label=
"不合格"
value=
"N"
/>
</el-select>
</el-select>
...
@@ -109,7 +109,7 @@
...
@@ -109,7 +109,7 @@
:min=
"0"
:min=
"0"
:max=
"basicData.reqAmount"
:max=
"basicData.reqAmount"
placeholder=
"不合格数"
placeholder=
"不合格数"
:disabled=
"form.isPass==='N'||allDisabled"
:disabled=
"form.isPass==='N'||allDisabled
||passDisabled
"
/>
/>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
...
@@ -200,6 +200,7 @@ export default {
...
@@ -200,6 +200,7 @@ export default {
return
{
return
{
allDisabled
:
that
.
basicData
.
allDisabled
,
allDisabled
:
that
.
basicData
.
allDisabled
,
disabled
:
false
,
disabled
:
false
,
passDisabled
:
false
,
// 验收单号是否禁用
// 验收单号是否禁用
subTypeNameDisabled
:
false
,
subTypeNameDisabled
:
false
,
// form表单数据
// form表单数据
...
@@ -306,6 +307,7 @@ export default {
...
@@ -306,6 +307,7 @@ export default {
// 退库入库检验的验收单号使用原物料的验收单号不允许修改
// 退库入库检验的验收单号使用原物料的验收单号不允许修改
if
(
this
.
jobResponseInTestData
&&
this
.
jobResponseInTestData
.
testNo
&&
this
.
jobResponseInTestData
.
subTypeName
!==
'JobResponseInTest'
||
(
this
.
jobResponseInTestData
.
subTypeName
===
'JobResponseInTest'
&&
this
.
basicData
.
subTypeName
.
includes
(
'BackItem'
)))
{
if
(
this
.
jobResponseInTestData
&&
this
.
jobResponseInTestData
.
testNo
&&
this
.
jobResponseInTestData
.
subTypeName
!==
'JobResponseInTest'
||
(
this
.
jobResponseInTestData
.
subTypeName
===
'JobResponseInTest'
&&
this
.
basicData
.
subTypeName
.
includes
(
'BackItem'
)))
{
this
.
subTypeNameDisabled
=
true
this
.
subTypeNameDisabled
=
true
this
.
passDisabled
=
true
}
}
},
},
methods
:
{
methods
:
{
...
...
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