Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
T
TF-MOM-WEB
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
TFMOM
TF-MOM-WEB
Commits
214012c5
Commit
214012c5
authored
Dec 30, 2023
by
jingnan
👀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
打印标签获取AO号取值修改
parent
247efbb5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
index.vue
.../privateComponents/components/printTagForConfig/index.vue
+7
-5
No files found.
applications/dee-mes/src/privateComponents/components/printTagForConfig/index.vue
View file @
214012c5
...
...
@@ -192,8 +192,8 @@ export default {
this
.
config
.
prints
.
push
({
text
:
item
.
inJobResponseId
||
''
,
propertys
:
[
{
label
:
'编码'
,
value
:
item
.
material
Nam
e
||
''
},
{
label
:
'名称'
,
value
:
item
.
material
Cod
e
||
''
},
{
label
:
'编码'
,
value
:
item
.
material
Cod
e
||
''
},
{
label
:
'名称'
,
value
:
item
.
material
Nam
e
||
''
},
{
label
:
'型号/牌号/件号'
,
value
:
item
.
modelNo
||
''
...
...
@@ -217,7 +217,7 @@ export default {
label
:
'计量单位'
,
value
:
item
.
unit
||
''
},
{
label
:
'AO号'
,
value
:
item
.
seqNo
&&
item
.
seqNo
.
split
(
'-P'
)
&&
item
.
seqNo
.
split
(
'-P'
)[
0
]
||
''
},
{
label
:
'AO号'
,
value
:
item
.
flowType
===
'MatchOut'
?
item
.
seqNo
&&
item
.
seqNo
.
split
(
'-P'
)
&&
item
.
seqNo
.
split
(
'-P'
)[
0
]
||
''
:
item
.
inJobResponse
&&
item
.
inJobResponse
.
jobOrder
&&
item
.
inJobResponse
.
jobOrder
.
outStorageRequest
&&
item
.
inJobResponse
.
jobOrder
.
outStorageRequest
.
aoNo
},
{
label
:
'备注'
,
value
:
item
.
remark
||
''
}
]
})
...
...
@@ -316,10 +316,12 @@ export default {
label
:
'计量单位'
,
value
:
jobOrderData
.
extMaterial
.
extUnit
.
unitName
||
''
},
{
label
:
'AO号'
,
value
:
row
.
jobOrder
&&
row
.
jobOrder
.
extSupportingItemVO
&&
value
:
row
.
subTypeName
===
'JobResponseOutStorageMatch'
?
row
.
jobOrder
&&
row
.
jobOrder
.
extSupportingItemVO
&&
row
.
jobOrder
.
extSupportingItemVO
.
extSupporting
&&
row
.
jobOrder
.
extSupportingItemVO
.
extSupporting
.
extProcessPlan
&&
row
.
jobOrder
.
extSupportingItemVO
.
extSupporting
.
extProcessPlan
.
serialNumber
:
row
.
jobOrder
.
outStorageRequest
&&
row
.
jobOrder
.
outStorageRequest
.
aoNo
},
// {
// label: '领用依据',
...
...
@@ -339,7 +341,7 @@ export default {
printOutStorageLabel
(
selection
)
{
this
.
config
.
prints
=
[]
selection
.
forEach
((
row
)
=>
{
const
targetJobResponses
=
row
.
inventoryJobResponses
.
filter
(
item
=>
item
.
subTypeName
.
includes
(
'JobResponseOutStorage'
))
||
[]
const
targetJobResponses
=
row
.
inventoryJobResponses
&&
row
.
inventoryJobResponses
.
filter
(
item
=>
item
.
subTypeName
.
includes
(
'JobResponseOutStorage'
))
||
[]
targetJobResponses
.
forEach
((
response
)
=>
{
this
.
config
=
Object
.
assign
({},
this
.
config
,
{
visible
:
true
...
...
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