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
e9b6b6eb
Commit
e9b6b6eb
authored
Jan 23, 2024
by
赵汉亭
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
制作单BUG修改
parent
1f8c59e3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
13 deletions
+22
-13
prototypeMakeApply.vue
src/views/mes/pro/prototypeMake/prototypeMakeApply.vue
+4
-2
prototypeMakeInfo.vue
src/views/mes/pro/prototypeMake/prototypeMakeInfo.vue
+18
-11
No files found.
src/views/mes/pro/prototypeMake/prototypeMakeApply.vue
View file @
e9b6b6eb
...
...
@@ -207,13 +207,13 @@
label=
"印刷正面颜色"
width=
"120"
align=
"center"
prop=
"front
_color_id
"
prop=
"front
ColorName
"
/>
<el-table-column
label=
"印刷反面颜色"
width=
"120"
align=
"center"
prop=
"opposite
_color_id
"
prop=
"opposite
ColorName
"
/>
<el-table-column
label=
"分配方式"
...
...
@@ -437,7 +437,9 @@ export default {
printingPaperlenth
:
null
,
printPaperwidth
:
null
,
frontColorId
:
null
,
frontColorName
:
null
,
oppositeColorId
:
null
,
oppositeColorName
:
null
,
ngReason
:
null
,
remark
:
null
,
prototypeMakeStatus
:
null
,
...
...
src/views/mes/pro/prototypeMake/prototypeMakeInfo.vue
View file @
e9b6b6eb
...
...
@@ -443,6 +443,7 @@ export default {
.
then
(({
data
})
=>
{
Object
.
assign
(
this
.
form
,
data
);
this
.
bomList
=
data
.
bomList
;
this
.
itemId
=
data
.
itemId
;
// 设置组件数据
this
.
$refs
[
"ProogingBomRef"
].
tableData
=
data
.
bomList
;
this
.
$refs
[
"ProogingProcessRef"
].
tableData
=
data
.
processList
;
...
...
@@ -459,7 +460,13 @@ export default {
this
.
bomList
=
data
.
bomList
;
// 设置组件数据
this
.
$refs
[
"ProogingBomRef"
].
tableData
=
data
.
bomList
;
this
.
$refs
[
"ProogingProcess"
].
tableData
=
data
.
processList
;
this
.
$refs
[
"ProogingProcessRef"
].
tableData
=
data
.
processList
;
this
.
prototypeRequestId
=
data
.
prototypeRequestId
;
getPrototypeRequest
(
id
).
then
(({
data
})
=>
{
Object
.
assign
(
this
.
form
,
data
);
// this.bomList = data.bomList;
// this.itemId = data.itemId;
});
})
.
finally
(()
=>
{
this
.
loading
=
false
;
...
...
@@ -584,11 +591,11 @@ export default {
//this.form.itemId = element.itemId;
this
.
form
.
frontColorId
=
element
.
colorId
;
this
.
form
.
frontColorName
=
element
.
colorName
;
this
.
form
.
face
=
"front"
;
var
retFlag
=
false
;
const
idx
=
this
.
faceColorList
.
findIndex
(
(
itm
)
=>
itm
.
colorId
==
element
.
colorId
);
//
this.form.face = "front";
//
var retFlag = false;
//
const idx = this.faceColorList.findIndex(
//
(itm) => itm.colorId == element.colorId
//
);
});
}
},
...
...
@@ -599,11 +606,11 @@ export default {
//this.form.itemId = element.itemId;
this
.
form
.
oppositeColorId
=
element
.
colorId
;
this
.
form
.
oppositeColorName
=
element
.
colorName
;
this
.
form
.
face
=
"front"
;
var
retFlag
=
false
;
const
idx
=
this
.
faceColorList
.
findIndex
(
(
itm
)
=>
itm
.
colorId
==
element
.
colorId
);
//
this.form.face = "front";
//
var retFlag = false;
//
const idx = this.faceColorList.findIndex(
//
(itm) => itm.colorId == element.colorId
//
);
});
}
},
...
...
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