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
f1a11709
Commit
f1a11709
authored
Jul 21, 2022
by
zhangyichen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改bug
parent
a6c44cb4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
5 deletions
+9
-5
ModelDetails.vue
src/views/productionInfo/ModelDetails.vue
+3
-1
ProductionModel.vue
src/views/productionInfo/ProductionModel.vue
+6
-4
No files found.
src/views/productionInfo/ModelDetails.vue
View file @
f1a11709
...
...
@@ -819,7 +819,6 @@ export default {
this
.
endMaterialList
.
forEach
(
item
=>
{
this
.
addMaterialMap
[
item
.
businessId
]
=
item
})
this
.
endMaterialList
=
[]
this
.
selectPartNum
.
forEach
(
item
=>
{
if
(
this
.
addMaterialMap
[
item
.
businessId
])
{
this
.
$nextTick
(()
=>
{
...
...
@@ -1189,6 +1188,9 @@ export default {
}
else
if
(
this
.
htmlType
===
'3'
)
{
nltmodelAdd
(
params
).
then
(
res
=>
{
this
.
$message
.
success
(
'新增成功'
)
this
.
queryParams
=
this
.
$options
.
data
().
queryParams
this
.
positionList
=
this
.
$options
.
data
().
positionList
this
.
form
=
this
.
$options
.
data
().
form
this
.
$router
.
push
({
name
:
'/productionInfo/ProductionModel'
})
...
...
src/views/productionInfo/ProductionModel.vue
View file @
f1a11709
...
...
@@ -234,7 +234,7 @@
:total=
"totalMater"
:page
.
sync=
"queryParam.page"
:limit
.
sync=
"queryParam.rows"
@
pagination=
"partNum"
@
pagination=
"partNum
(1)
"
/>
</el-col>
</el-row>
...
...
@@ -413,9 +413,9 @@ export default {
this
.
queryParam
.
page
=
1
this
.
queryParam
.
rows
=
10
this
.
openPartNo
=
true
this
.
partNum
()
this
.
partNum
(
1
)
},
partNum
()
{
partNum
(
flag
)
{
this
.
loadingCode
=
true
const
params
=
{
...
this
.
queryParam
...
...
@@ -425,7 +425,9 @@ export default {
this
.
selectPartNum
=
res
.
rows
this
.
totalMater
=
res
.
total
this
.
loadingCode
=
false
this
.
getList
()
if
(
flag
!==
1
)
{
this
.
getList
()
}
})
},
// 删除生产模型
...
...
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