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
375c9135
Commit
375c9135
authored
Dec 21, 2023
by
jingnan
👀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
打印标签相关代码修改
parent
c18a3b0d
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
310 additions
and
161 deletions
+310
-161
index.vue
...ponents/components/InStorageMoveWarehouseSelect/index.vue
+14
-3
index.vue
...rc/privateComponents/components/MoveLibraryList/index.vue
+2
-1
index.vue
.../privateComponents/components/printTagForConfig/index.vue
+294
-157
No files found.
applications/dee-mes/src/privateComponents/components/InStorageMoveWarehouseSelect/index.vue
View file @
375c9135
...
@@ -70,6 +70,14 @@ export default {
...
@@ -70,6 +70,14 @@ export default {
value
:
{
value
:
{
type
:
[
Number
,
String
,
Object
],
type
:
[
Number
,
String
,
Object
],
default
:
()
=>
''
default
:
()
=>
''
},
formAttrs
:
{
type
:
Object
,
default
:
()
=>
{}
},
scope
:
{
type
:
Object
,
default
:
()
=>
{}
}
}
},
},
data
()
{
data
()
{
...
@@ -189,7 +197,8 @@ export default {
...
@@ -189,7 +197,8 @@ export default {
this
.
$api
.
searchApi
(
'ExtDxProductWorkUnit'
,
querys
).
then
(
res
=>
{
this
.
$api
.
searchApi
(
'ExtDxProductWorkUnit'
,
querys
).
then
(
res
=>
{
this
.
options
=
res
.
items
.
content
.
map
(
row
=>
{
this
.
options
=
res
.
items
.
content
.
map
(
row
=>
{
return
{
return
{
value
:
row
.
id
,
// 批量移库打印标签需要使用到code
value
:
this
.
scope
&&
this
.
scope
.
column
&&
this
.
scope
.
column
.
property
===
'currExtWorkUnitId'
?
`
${
row
.
id
}
/
${
row
.
extcode
}
`
:
row
.
id
,
label
:
row
.
extcode
label
:
row
.
extcode
}
}
})
})
...
@@ -214,14 +223,16 @@ export default {
...
@@ -214,14 +223,16 @@ export default {
if
(
querys
.
pageNumber
===
1
)
{
if
(
querys
.
pageNumber
===
1
)
{
options
=
arr
.
map
(
row
=>
{
options
=
arr
.
map
(
row
=>
{
return
{
return
{
value
:
row
.
id
,
// 批量移库打印标签需要使用到code
value
:
this
.
scope
&&
this
.
scope
.
column
&&
this
.
scope
.
column
.
property
===
'currExtWorkUnitId'
?
`
${
row
.
id
}
/
${
row
.
extcode
}
`
:
row
.
id
,
label
:
row
.
extcode
label
:
row
.
extcode
}
}
})
})
}
else
{
}
else
{
options
=
[...
this
.
options
,
...
arr
.
map
(
row
=>
{
options
=
[...
this
.
options
,
...
arr
.
map
(
row
=>
{
return
{
return
{
value
:
row
.
id
,
// 批量移库打印标签需要使用到code
value
:
this
.
scope
&&
this
.
scope
.
column
&&
this
.
scope
.
column
.
property
===
'currExtWorkUnitId'
?
`
${
row
.
id
}
/
${
row
.
extcode
}
`
:
row
.
id
,
label
:
row
.
extcode
label
:
row
.
extcode
}
}
})]
})]
...
...
applications/dee-mes/src/privateComponents/components/MoveLibraryList/index.vue
View file @
375c9135
...
@@ -59,7 +59,7 @@ export default {
...
@@ -59,7 +59,7 @@ export default {
return
{
return
{
inventoryId
:
item
.
id
,
inventoryId
:
item
.
id
,
extWorkCenterId
:
extWorkCenterId
,
extWorkCenterId
:
extWorkCenterId
,
extWorkUnitId
:
item
.
currExtWorkUnitId
,
extWorkUnitId
:
item
.
currExtWorkUnitId
&&
item
.
currExtWorkUnitId
.
split
(
'/'
)
&&
Number
(
item
.
currExtWorkUnitId
.
split
(
'/'
)[
0
])
,
outsideAmount
:
item
.
currOutsideAmount
,
outsideAmount
:
item
.
currOutsideAmount
,
disposeDes
:
item
.
currDisposeDes
||
''
disposeDes
:
item
.
currDisposeDes
||
''
}
}
...
@@ -69,6 +69,7 @@ export default {
...
@@ -69,6 +69,7 @@ export default {
}
}
const
reponse
=
await
post
(
'InventoryRequest/moveApplication/createMoveStorage'
,
params
)
const
reponse
=
await
post
(
'InventoryRequest/moveApplication/createMoveStorage'
,
params
)
this
.
$utils
.
showMessageSuccess
(
reponse
.
items
)
this
.
$utils
.
showMessageSuccess
(
reponse
.
items
)
this
.
$bus
.
$emit
(
'refreshMoveWarehouse'
)
this
.
$emit
(
'cancel'
)
this
.
$emit
(
'cancel'
)
},
},
cancelEvent
()
{
cancelEvent
()
{
...
...
applications/dee-mes/src/privateComponents/components/printTagForConfig/index.vue
View file @
375c9135
This diff is collapsed.
Click to expand it.
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