Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
P
pda-ui
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
pda
pda-ui
Commits
6903c971
Commit
6903c971
authored
Feb 01, 2024
by
李驰骋
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
打样申请BOM删除问题关联删除工序关联值
parent
3026920b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
3 deletions
+14
-3
ProogingBom.vue
src/views/mes/proofing/components/ProogingBom.vue
+3
-2
proofingInfo.vue
src/views/mes/proofing/proofingInfo.vue
+11
-1
No files found.
src/views/mes/proofing/components/ProogingBom.vue
View file @
6903c971
...
...
@@ -66,7 +66,7 @@
type=
"text"
icon=
"el-icon-delete"
size=
"small"
@
click=
"deleteRow($index)"
@
click=
"deleteRow(
row,
$index)"
>
删除
</el-button
>
</
template
>
...
...
@@ -241,8 +241,9 @@ export default {
this
.
showFlag
=
true
;
},
/**删除行 */
deleteRow
(
index
)
{
deleteRow
(
row
,
index
)
{
this
.
tableData
.
splice
(
index
,
1
);
this
.
$emit
(
'onDeleteRow'
,
row
);
},
onItemBomSelect
(
row
)
{
// if (row != undefined && row != null) {
...
...
src/views/mes/proofing/proofingInfo.vue
View file @
6903c971
...
...
@@ -202,7 +202,7 @@
<el-tabs
type=
"border-card"
@
tab-click=
"tabClick"
>
<el-tab-pane
label=
"BOM"
>
<ProogingBom
ref=
"ProogingBomRef"
/>
<ProogingBom
ref=
"ProogingBomRef"
@
onDeleteRow=
"onItemDeleteRow"
/>
</el-tab-pane>
<el-tab-pane
label=
"工艺"
>
<ProogingProcess
ref=
"ProogingProcessRef"
:bomList=
"bomList"
/>
...
...
@@ -321,6 +321,16 @@ export default {
this
.
form
.
unit
=
row
.
unitOfMeasure
;
}
},
onItemDeleteRow
(
row
)
{
const
tempArr
=
this
.
$refs
[
"ProogingProcessRef"
].
tableData
;
for
(
let
i
=
0
;
i
<
tempArr
.
length
;
i
++
){
for
(
let
j
=
0
;
j
<
tempArr
[
i
].
processItemList
.
length
;
j
++
){
if
(
tempArr
[
i
].
processItemList
[
j
].
itemId
==
row
.
itemId
){
tempArr
[
i
].
processItemList
.
splice
(
j
--
,
1
);
}
}
}
},
onRoutesProcessSelect
(
row
)
{
if
(
row
!=
undefined
&&
row
!=
null
)
{
this
.
form
.
routeId
=
row
.
routeId
;
...
...
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