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
3bb3ab07
Commit
3bb3ab07
authored
Jun 18, 2026
by
wusiyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 订单状态在“挂起、取消”的异常状态,没有在第一次查询操作单时提示抛错 #1001688
parent
4d3037f7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
1 deletions
+14
-1
src/views/order/components/FastProduction.vue
+14
-1
No files found.
src/views/order/components/FastProduction.vue
View file @
3bb3ab07
...
@@ -350,6 +350,8 @@ export type FastProductionDetail = PodOrderRes & {
...
@@ -350,6 +350,8 @@ export type FastProductionDetail = PodOrderRes & {
podOrderProductId
?:
number
|
null
podOrderProductId
?:
number
|
null
statusName
?:
string
|
null
statusName
?:
string
|
null
productMark
?:
string
|
null
productMark
?:
string
|
null
pause
?:
0
|
1
status
?:
string
|
null
}
}
const
trackingNumberRef
=
ref
()
const
trackingNumberRef
=
ref
()
const
historyData
=
ref
<
HistoryDataItem
[]
>
([])
const
historyData
=
ref
<
HistoryDataItem
[]
>
([])
...
@@ -808,7 +810,18 @@ const trackCodeInput = async () => {
...
@@ -808,7 +810,18 @@ const trackCodeInput = async () => {
return
ElMessage
.
error
(
props
.
notFoundMessage
)
return
ElMessage
.
error
(
props
.
notFoundMessage
)
}
}
detail
.
value
=
normalizeDetail
(
res
.
data
)
detail
.
value
=
normalizeDetail
(
res
.
data
)
if
(
detail
.
value
.
pause
||
detail
.
value
.
status
==
'CANCEL'
)
{
detail
.
value
=
{
id
:
-
1
,
podJomallOrderCnId
:
-
1
,
imgList
:
[]
as
cardImages
[],
}
const
err
=
new
Error
(
`订单:
${
TrackingNumber
.
value
}
已挂起或者已取消,无法生产`
,
)
as
Error
&
{
data
:
string
}
err
.
data
=
`订单:
${
TrackingNumber
.
value
}
已挂起或者已取消,无法生产`
throw
err
}
// 扫码后限制
// 扫码后限制
if
(
props
.
isLimitScan
)
{
if
(
props
.
isLimitScan
)
{
if
(
if
(
...
...
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