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
ba597542
Commit
ba597542
authored
Aug 18, 2026
by
wusiyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 配货分拣点击配齐箱子不提示状态流转 #1002072
parent
9af2f98c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
46 deletions
+6
-46
src/views/order/factoryOrderNew/component/InventorySorting.vue
+6
-46
No files found.
src/views/order/factoryOrderNew/component/InventorySorting.vue
View file @
ba597542
...
...
@@ -1165,59 +1165,19 @@ const renderPrintResult = (printResult: string) => {
const
handleOpened
=
()
=>
{
productionOrderRef
.
value
.
focus
()
}
const
handleClose
=
(
done
:
()
=>
void
)
=>
{
nextStep
(()
=>
{
done
()
})
}
const
onClose
=
()
=>
{
emit
(
'refresh'
)
}
// 下一步
const
nextStep
=
async
(
callback
:
()
=>
void
)
=>
{
const
everyPicked
=
podOrderDetailsData
.
value
?.
productList
?.
every
(
(
item
)
=>
item
.
count
===
item
.
purchaseNumber
,
)
if
(
everyPicked
&&
isAutoPrint
.
value
&&
(
podOrderDetailsData
.
value
?.
printResult
===
'printSuccess'
||
podOrderDetailsData
.
value
?.
printResult
===
'notPrintSuccess'
)
)
{
try
{
await
ElMessageBox
.
alert
(
'当前订单验货完成并打印面单成功,是否转至待发货'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
},
)
submitInspection
(()
=>
{
callback
&&
callback
()
})
}
catch
(
error
)
{
// 取消打单完成时仍允许切换箱子 / 关闭弹窗
callback
&&
callback
()
console
.
error
(
error
)
}
}
else
{
callback
&&
callback
()
}
}
const
handleBoxClick
=
(
item
:
PodMakeOrderData
)
=>
{
const
{
box
,
data
}
=
item
if
(
box
==
0
)
return
isBillLading
.
value
=
!
data
?.
filePath
nextStep
(()
=>
{
if
(
!
data
)
{
ElMessage
.
warning
(
'暂无数据'
)
return
}
boxIndex
.
value
=
box
||
null
boxChange
.
value
=
true
productionOrderRef
.
value
.
focus
()
})
boxIndex
.
value
=
box
||
null
boxChange
.
value
=
true
productionOrderRef
.
value
.
focus
()
}
const
handleClearBox
=
async
()
=>
{
try
{
...
...
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