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
391d037b
Commit
391d037b
authored
Aug 15, 2024
by
jingnan
👀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ERP相关_线边库台账流水增加打印标签
parent
ed46c1fc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
1 deletion
+30
-1
index.vue
.../privateComponents/components/printTagForConfig/index.vue
+30
-1
No files found.
applications/dee-mes/src/privateComponents/components/printTagForConfig/index.vue
View file @
391d037b
...
@@ -105,6 +105,8 @@ export default {
...
@@ -105,6 +105,8 @@ export default {
this
.
printMoveLibraryLabel
(
selection
)
this
.
printMoveLibraryLabel
(
selection
)
}
else
if
(
selectSubTypeName
===
'JobResponseOutStorageMaterialUse'
)
{
// 打印材料领用出库标签
}
else
if
(
selectSubTypeName
===
'JobResponseOutStorageMaterialUse'
)
{
// 打印材料领用出库标签
this
.
printJobResMaterialUseLabel
(
selection
)
this
.
printJobResMaterialUseLabel
(
selection
)
}
else
if
(
selectSubTypeName
===
'ErpInventoryFlow'
)
{
// 打印线边库台账流水标签
this
.
printErpInventoryFlowLabel
(
selection
)
}
else
if
(
selectSubTypeName
===
'JobResponseOutStorageMatch'
||
selectSubTypeName
===
'JobResponseOutStorageOut'
||
selectSubTypeName
===
'JobResponseOutStorageUse'
)
{
// 批量签审_配套出库响应打印标签||批量签审_供外出库响应打印标签||批量签审_领用出库响应打印标签
}
else
if
(
selectSubTypeName
===
'JobResponseOutStorageMatch'
||
selectSubTypeName
===
'JobResponseOutStorageOut'
||
selectSubTypeName
===
'JobResponseOutStorageUse'
)
{
// 批量签审_配套出库响应打印标签||批量签审_供外出库响应打印标签||批量签审_领用出库响应打印标签
this
.
printBatchSignMatchJob
(
selection
)
this
.
printBatchSignMatchJob
(
selection
)
}
else
if
(
selectSubTypeName
.
includes
(
'OutStorage'
))
{
// 打印出库标签
}
else
if
(
selectSubTypeName
.
includes
(
'OutStorage'
))
{
// 打印出库标签
...
@@ -422,7 +424,7 @@ export default {
...
@@ -422,7 +424,7 @@ export default {
{
label
:
'出库数量'
,
value
:
row
.
allocatedAmount
||
''
},
{
label
:
'出库数量'
,
value
:
row
.
allocatedAmount
||
''
},
{
label
:
'验收单号'
,
value
:
responseInventory
.
testNo
},
{
label
:
'验收单号'
,
value
:
responseInventory
.
testNo
},
{
label
:
'贮存期'
,
value
:
responseInventory
.
qualityPeriod
&&
responseInventory
.
qualityPeriod
.
replace
(
' 00:00:00'
,
''
)
},
{
label
:
'贮存期'
,
value
:
responseInventory
.
qualityPeriod
&&
responseInventory
.
qualityPeriod
.
replace
(
' 00:00:00'
,
''
)
},
{
label
:
'库位号'
,
value
:
responseInventory
.
work
u
nit
||
''
},
{
label
:
'库位号'
,
value
:
responseInventory
.
work
erU
nit
||
''
},
{
label
:
'AO号'
,
value
:
responseInventory
.
erpOutRequest
&&
responseInventory
.
erpOutRequest
.
aoPlan
||
''
},
{
label
:
'AO号'
,
value
:
responseInventory
.
erpOutRequest
&&
responseInventory
.
erpOutRequest
.
aoPlan
||
''
},
{
label
:
'备注'
,
value
:
row
.
remark
||
''
}
{
label
:
'备注'
,
value
:
row
.
remark
||
''
}
]
]
...
@@ -430,6 +432,33 @@ export default {
...
@@ -430,6 +432,33 @@ export default {
})
})
this
.
print
()
this
.
print
()
},
},
printErpInventoryFlowLabel
(
selection
)
{
this
.
config
.
prints
=
[]
selection
.
forEach
((
row
)
=>
{
this
.
config
=
Object
.
assign
({},
this
.
config
,
{
visible
:
true
})
this
.
config
.
prints
.
push
({
text
:
row
.
id
||
row
.
id
,
propertys
:
[
{
label
:
'编码'
,
value
:
row
.
extMaterial
.
resCode
},
{
label
:
'名称'
,
value
:
row
.
extMaterial
.
resName
},
{
label
:
'型号/牌号/件号'
,
value
:
row
.
extMaterial
.
modelNo
},
{
label
:
'规格'
,
value
:
row
.
extMaterial
.
spec
},
{
label
:
'批号'
,
value
:
row
.
batchNumber
},
{
label
:
'系列号/序列号'
,
value
:
row
.
serialNo
},
{
label
:
'机型'
,
value
:
row
.
airModel
},
{
label
:
'出库数量'
,
value
:
row
.
amount
||
''
},
{
label
:
'验收单号'
,
value
:
row
.
testNo
},
{
label
:
'贮存期'
,
value
:
row
.
qualityPeriod
&&
row
.
qualityPeriod
.
replace
(
' 00:00:00'
,
''
)
},
{
label
:
'库位号'
,
value
:
row
.
workerUnit
||
''
},
{
label
:
'AO号'
,
value
:
row
.
aoPlan
||
''
},
{
label
:
'备注'
,
value
:
row
.
remark
||
''
}
]
})
})
this
.
print
()
},
printOutStorageLabel
(
selection
)
{
printOutStorageLabel
(
selection
)
{
this
.
config
.
prints
=
[]
this
.
config
.
prints
=
[]
selection
.
forEach
((
row
)
=>
{
selection
.
forEach
((
row
)
=>
{
...
...
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