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
ef1d7fbf
Commit
ef1d7fbf
authored
Sep 19, 2023
by
jingnan
👀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
打印标签二维码修改
parent
05f0ad4a
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
3 deletions
+13
-3
index.vue
...nents/components/WarehousingConfirmationConfirm/index.vue
+6
-2
index.vue
.../privateComponents/components/printTagForConfig/index.vue
+7
-1
No files found.
applications/dee-mes/src/privateComponents/components/WarehousingConfirmationConfirm/index.vue
View file @
ef1d7fbf
...
@@ -420,12 +420,16 @@ export default {
...
@@ -420,12 +420,16 @@ export default {
this
.
$utils
.
showMessageWarning
(
'打印标签需要先选择库位'
)
this
.
$utils
.
showMessageWarning
(
'打印标签需要先选择库位'
)
return
return
}
}
JobResponseInStorageEntryId
=
row
.
extWorkUnit
.
extcode
// 打印标签二维码扫描结果展示入库响应的id
if
(
row
.
inventoryJobResponses
&&
row
.
inventoryJobResponses
.
length
)
{
const
entryResponse
=
row
.
inventoryJobResponses
.
find
(
el
=>
el
.
subTypeName
===
'JobResponseInEntry'
||
el
.
subTypeName
.
includes
(
'JobResponseOutStorage'
))
entryResponse
&&
(
JobResponseInStorageEntryId
=
entryResponse
.
id
)
}
this
.
printConfig
=
Object
.
assign
({},
this
.
printConfig
,
{
this
.
printConfig
=
Object
.
assign
({},
this
.
printConfig
,
{
visible
:
true
visible
:
true
})
})
this
.
printConfig
.
prints
.
push
({
this
.
printConfig
.
prints
.
push
({
text
:
JobResponseInStorageEntryId
,
text
:
JobResponseInStorageEntryId
||
row
.
id
,
propertys
:
[
propertys
:
[
{
label
:
'编码'
,
value
:
row
.
extMaterial
.
resCode
},
{
label
:
'编码'
,
value
:
row
.
extMaterial
.
resCode
},
{
label
:
'名称'
,
value
:
row
.
extMaterial
.
resName
},
{
label
:
'名称'
,
value
:
row
.
extMaterial
.
resName
},
...
...
applications/dee-mes/src/privateComponents/components/printTagForConfig/index.vue
View file @
ef1d7fbf
...
@@ -100,8 +100,14 @@ export default {
...
@@ -100,8 +100,14 @@ export default {
this
.
config
=
Object
.
assign
({},
this
.
config
,
{
this
.
config
=
Object
.
assign
({},
this
.
config
,
{
visible
:
true
visible
:
true
})
})
let
JobResponseInStorageEntryId
=
''
// 打印标签二维码扫描结果展示入库响应的id
if
(
row
.
inventoryJobResponses
&&
row
.
inventoryJobResponses
.
length
)
{
const
entryResponse
=
row
.
inventoryJobResponses
.
find
(
el
=>
el
.
subTypeName
===
'JobResponseInEntry'
||
el
.
subTypeName
.
includes
(
'JobResponseOutStorage'
))
entryResponse
&&
(
JobResponseInStorageEntryId
=
entryResponse
.
id
)
}
this
.
config
.
prints
.
push
({
this
.
config
.
prints
.
push
({
text
:
row
.
id
,
text
:
JobResponseInStorageEntryId
||
row
.
id
,
propertys
:
[
propertys
:
[
{
label
:
'编码'
,
value
:
row
.
extMaterial
.
resCode
},
{
label
:
'编码'
,
value
:
row
.
extMaterial
.
resCode
},
{
label
:
'名称'
,
value
:
row
.
extMaterial
.
resName
},
{
label
:
'名称'
,
value
:
row
.
extMaterial
.
resName
},
...
...
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