Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
factory_front
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
qinjianhui
factory_front
Commits
77d5bdf1
Commit
77d5bdf1
authored
Jun 13, 2026
by
wusiyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 工厂订单new添加配货分拣功能 #1005762
parent
013ab342
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
16 deletions
+14
-16
src/views/order/podUs/PodMakeOrder.vue
+14
-16
No files found.
src/views/order/podUs/PodMakeOrder.vue
View file @
77d5bdf1
...
...
@@ -844,6 +844,10 @@ const handleSearch = () => {
const
everyPower
=
podOrderDetailsData
.
value
?.
productList
?.
every
(
(
item
)
=>
item
.
power
,
)
if
(
props
.
wallType
===
'sort'
&&
!
isAutoPrint
.
value
)
{
getPackingData
(
code
)
return
}
if
(
everyPower
)
{
/**
* printSuccess 打印成功
...
...
@@ -851,11 +855,11 @@ const handleSearch = () => {
* printIng 打印中
* notPrintSuccess 未能获取打印状态
*/
// 配货分拣 自动打单(无需校验是否打单成功)
// 非配货分拣 打印成功提示;配货分拣:开启自动打单且打印成功,提交;配货分拣:不开启自动打单,不提示
if
(
props
.
wallType
!==
'sort'
&&
podOrderDetailsData
.
value
?.
printResult
===
'printSuccess'
podOrderDetailsData
.
value
?.
printResult
===
'printSuccess'
&&
(
props
.
wallType
!==
'sort'
||
(
props
.
wallType
===
'sort'
&&
isAutoPrint
.
value
))
)
{
submitInspection
(()
=>
{
getPackingData
(
code
)
...
...
@@ -1123,9 +1127,7 @@ const initOrderDetailBox = async () => {
})
const
boxs
=
pickFinished
.
map
((
item
)
=>
item
.
box
)
if
(
boxs
.
length
>
0
)
{
if
(
props
.
wallType
===
'sort'
)
{
console
.
log
(
podOrderDetailsData
,
'boxspodOrderDetailsData'
)
if
(
props
.
wallType
===
'sort'
&&
!
isAutoPrint
.
value
)
{
return
}
nextTick
(
async
()
=>
{
...
...
@@ -1187,9 +1189,10 @@ const nextStep = async (callback: () => void) => {
)
if
(
everyPicked
&&
((
props
.
wallType
===
'sort'
&&
isAutoPrint
.
value
)
||
props
.
wallType
!==
'sort'
)
&&
(
podOrderDetailsData
.
value
?.
printResult
===
'printSuccess'
||
podOrderDetailsData
.
value
?.
printResult
===
'notPrintSuccess'
)
&&
props
.
wallType
!==
'sort'
podOrderDetailsData
.
value
?.
printResult
===
'notPrintSuccess'
)
)
{
try
{
await
ElMessageBox
.
alert
(
...
...
@@ -1407,12 +1410,7 @@ const syncSortingArea = (
)
=>
{
const
currentArea
=
sortingAreaList
.
value
.
find
((
item
)
=>
item
.
id
==
packingId
)
if
(
!
currentArea
)
return
if
(
sortingAreaId
.
value
==
packingId
&&
warehouseId
.
value
==
currentArea
.
warehouseId
)
{
return
}
warehouseId
.
value
=
currentArea
.
warehouseId
sortingAreaId
.
value
=
packingId
isAutoPrint
.
value
=
currentArea
.
autoPrint
...
...
@@ -1513,7 +1511,7 @@ const getSortingAreaList = async () => {
sortingAreaList
.
value
=
res
.
data
.
records
sortingAreaId
.
value
=
res
.
data
.
records
[
0
].
id
warehouseId
.
value
=
res
.
data
.
records
[
0
].
warehouseId
isAutoPrint
.
value
=
res
.
data
.
records
[
0
].
autoPrint
isAutoPrint
.
value
=
res
.
data
.
records
[
0
].
autoPrint
||
false
}
</
script
>
...
...
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