Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
NLT-e-cigarette
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
张伯涛
NLT-e-cigarette
Commits
8caca8bf
Commit
8caca8bf
authored
Jun 24, 2022
by
zhangyichen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改bug
parent
950801b4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
1 deletion
+12
-1
ModelDetails.vue
src/views/productionInfo/ModelDetails.vue
+12
-1
No files found.
src/views/productionInfo/ModelDetails.vue
View file @
8caca8bf
...
...
@@ -295,6 +295,7 @@
<el-col
:span=
"24"
:xs=
"24"
>
<div
style=
"float: right;margin: 10px"
v-show=
"materType === '1'"
>
<el-button
:disabled=
"addMaterDisabled"
class=
"redBtn"
type=
"danger"
size=
"small"
...
...
@@ -497,6 +498,16 @@ export default {
})
})
return
num
},
addMaterDisabled
()
{
console
.
log
(
this
.
form
.
modelType
,
'this.form.modelType'
)
console
.
log
(
this
.
configuringList
,
'this.configuringList'
)
if
(
this
.
form
.
modelType
===
'2'
)
{
if
(
this
.
configuringList
.
length
>
0
)
{
return
true
}
}
return
false
}
},
watch
:
{
...
...
@@ -879,7 +890,7 @@ export default {
},
// 禁用
handleSelectionMaterial
(
selection
,
row
)
{
if
(
this
.
type
!==
'3'
&&
this
.
form
.
modelType
===
'1'
)
{
if
(
this
.
type
!==
'3'
&&
(
this
.
form
.
modelType
===
'1'
||
this
.
form
.
modelType
===
''
||
this
.
form
.
modelType
===
null
)
)
{
if
(
!
selection
.
some
(
item
=>
item
.
businessId
===
row
.
businessId
))
{
delete
this
.
addMaterialMap
[
row
.
businessId
]
}
...
...
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