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
c9475286
Commit
c9475286
authored
Jun 13, 2022
by
zhangyichen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug修改
parent
05ff6b30
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
ModelDetails.vue
src/views/productionInfo/ModelDetails.vue
+8
-8
No files found.
src/views/productionInfo/ModelDetails.vue
View file @
c9475286
<
template
>
<
template
>
<div
class=
"model_details"
>
<div
class=
"model_details"
>
<div
class=
"detailsSearch"
style=
"border-bottom: 14px solid #f4f4f4"
>
<div
class=
"detailsSearch"
style=
"border-bottom: 14px solid #f4f4f4"
>
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
style=
"padding: 0 0 0 20px"
class=
"formClass"
:inline=
"true"
label-width=
"auto"
>
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
style=
"padding: 0 0 0 20px"
class=
"formClass"
:inline=
"true"
>
<el-form-item
class=
"labelHeight"
label=
"模型类型"
prop=
"modelType"
>
<el-form-item
class=
"labelHeight"
label=
"模型类型"
prop=
"modelType"
>
<div
slot=
"label"
class=
"labelClassRequired"
>
<div
slot=
"label"
class=
"labelClassRequired"
>
<div
class=
"labelName"
>
模型类型
</div>
<div
class=
"labelName"
>
模型类型
</div>
...
@@ -120,7 +120,7 @@
...
@@ -120,7 +120,7 @@
</el-row>
</el-row>
<!-- 添加工站-->
<!-- 添加工站-->
<el-dialog
:close-on-click-modal=
"false"
class=
"modelDialog"
:title=
"title"
:visible
.
sync=
"openPosition"
width=
"70%"
:append-to-body=
"false"
>
<el-dialog
:close-on-click-modal=
"false"
class=
"modelDialog"
:title=
"title"
:visible
.
sync=
"openPosition"
width=
"70%"
:append-to-body=
"false"
>
<el-form
ref=
"form1"
:model=
"queryParams"
label-width=
"auto"
:inline=
"true"
>
<el-form
ref=
"form1"
:model=
"queryParams"
:inline=
"true"
>
<el-form-item
label=
"工站名称"
prop=
"staName"
>
<el-form-item
label=
"工站名称"
prop=
"staName"
>
<div
slot=
"label"
>
<div
slot=
"label"
>
<div
class=
"labelName"
>
工站名称
</div>
<div
class=
"labelName"
>
工站名称
</div>
...
@@ -199,7 +199,7 @@
...
@@ -199,7 +199,7 @@
</el-dialog>
</el-dialog>
<!-- 选择成品料号 物料料号-->
<!-- 选择成品料号 物料料号-->
<el-dialog
:close-on-click-modal=
"false"
class=
"modelDialog"
:title=
"title"
:visible
.
sync=
"openPartNo"
width=
"70%"
:append-to-body=
"false"
>
<el-dialog
:close-on-click-modal=
"false"
class=
"modelDialog"
:title=
"title"
:visible
.
sync=
"openPartNo"
width=
"70%"
:append-to-body=
"false"
>
<el-form
ref=
"form2"
:model=
"queryParams"
label-width=
"auto"
:inline=
"true"
>
<el-form
ref=
"form2"
:model=
"queryParams"
:inline=
"true"
>
<el-form-item
label=
"成品料号"
prop=
"materCode"
>
<el-form-item
label=
"成品料号"
prop=
"materCode"
>
<div
slot=
"label"
>
<div
slot=
"label"
>
<div
class=
"labelName"
>
成品料号
</div>
<div
class=
"labelName"
>
成品料号
</div>
...
@@ -457,7 +457,7 @@ export default {
...
@@ -457,7 +457,7 @@ export default {
// 替换物料时 禁用自己的id判断
// 替换物料时 禁用自己的id判断
disabledId
:
''
,
disabledId
:
''
,
// 物料已被选中但是可编辑多选且提前查的id组 用于回显替换物料 状态1的时候传值
// 物料已被选中但是可编辑多选且提前查的id组 用于回显替换物料 状态1的时候传值
selectMaterI
dStr
:
''
selectMaterI
List
:
[]
}
}
},
},
watch
:
{
watch
:
{
...
@@ -594,7 +594,7 @@ export default {
...
@@ -594,7 +594,7 @@ export default {
this
.
queryParams
.
materCode
=
''
this
.
queryParams
.
materCode
=
''
this
.
queryParams
.
page
=
1
this
.
queryParams
.
page
=
1
this
.
queryParams
.
rows
=
10
this
.
queryParams
.
rows
=
10
this
.
selectMaterI
dStr
=
''
this
.
selectMaterI
List
=
[]
this
.
openPartNo
=
true
this
.
openPartNo
=
true
this
.
title
=
'选择成品料号'
this
.
title
=
'选择成品料号'
this
.
type
=
'3'
this
.
type
=
'3'
...
@@ -607,7 +607,7 @@ export default {
...
@@ -607,7 +607,7 @@ export default {
this
.
queryParams
.
page
=
1
this
.
queryParams
.
page
=
1
this
.
queryParams
.
rows
=
10
this
.
queryParams
.
rows
=
10
this
.
materQueryType
=
''
this
.
materQueryType
=
''
this
.
selectMaterI
dStr
=
''
this
.
selectMaterI
List
=
[]
if
(
row
)
{
if
(
row
)
{
this
.
type
=
'1'
this
.
type
=
'1'
this
.
materQueryType
=
(
row
.
configureOrNot
===
null
||
row
.
configureOrNot
===
undefined
||
row
.
configureOrNot
===
''
)
?
'0'
:
'1'
this
.
materQueryType
=
(
row
.
configureOrNot
===
null
||
row
.
configureOrNot
===
undefined
||
row
.
configureOrNot
===
''
)
?
'0'
:
'1'
...
@@ -625,7 +625,7 @@ export default {
...
@@ -625,7 +625,7 @@ export default {
this
.
disabledId
=
row
.
businessId
this
.
disabledId
=
row
.
businessId
this
.
replaceMaterialList
.
forEach
(
item
=>
{
this
.
replaceMaterialList
.
forEach
(
item
=>
{
this
.
materIdList
.
push
(
item
.
businessId
)
this
.
materIdList
.
push
(
item
.
businessId
)
this
.
selectMaterI
dStr
+=
item
.
businessId
this
.
selectMaterI
List
.
push
(
item
.
businessId
)
})
})
}
else
{
}
else
{
this
.
materIdList
=
[]
this
.
materIdList
=
[]
...
@@ -665,7 +665,7 @@ export default {
...
@@ -665,7 +665,7 @@ export default {
businessIdList
:
str
,
businessIdList
:
str
,
totalType
:
this
.
materQueryType
,
totalType
:
this
.
materQueryType
,
type
:
''
,
type
:
''
,
selectMaterIdStr
:
this
.
selectMaterI
dStr
selectMaterIdStr
:
this
.
selectMaterI
List
.
join
(
','
)
}
}
if
(
this
.
type
===
'3'
)
{
if
(
this
.
type
===
'3'
)
{
params
.
type
=
'3'
params
.
type
=
'3'
...
...
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