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
3db67f9c
Commit
3db67f9c
authored
Mar 13, 2025
by
qinjianhui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 问题修改
parent
f58abe8d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
12 deletions
+16
-12
src/views/order/hook/usePodShipment.ts
+16
-12
No files found.
src/views/order/hook/usePodShipment.ts
View file @
3db67f9c
...
@@ -73,12 +73,14 @@ export default function useShipment(callback?: () => void) {
...
@@ -73,12 +73,14 @@ export default function useShipment(callback?: () => void) {
})
})
}
}
}
else
{
}
else
{
playAudio
(
'picking_beyond'
)
if
(
rowData
.
num
!==
rowData
.
shipmentNum
)
{
ElMessage
({
playAudio
(
'picking_beyond'
)
message
:
`单号:
${
rowData
.
factorySubOrderNumber
}
未生产,请生产后再发货`
,
ElMessage
({
type
:
'error'
,
message
:
`单号:
${
rowData
.
factorySubOrderNumber
}
未生产,请生产后再发货`
,
offset
:
window
.
innerHeight
/
2
,
type
:
'error'
,
})
offset
:
window
.
innerHeight
/
2
,
})
}
}
}
inputRef
.
value
.
focus
()
inputRef
.
value
.
focus
()
productionOrderNumber
.
value
=
''
productionOrderNumber
.
value
=
''
...
@@ -137,12 +139,14 @@ export default function useShipment(callback?: () => void) {
...
@@ -137,12 +139,14 @@ export default function useShipment(callback?: () => void) {
if
(
item
.
isProduction
)
{
if
(
item
.
isProduction
)
{
item
.
count
=
1
item
.
count
=
1
}
else
{
}
else
{
playAudio
(
'picking_beyond'
)
if
(
item
.
num
!==
item
.
shipmentNum
)
{
ElMessage
({
playAudio
(
'picking_beyond'
)
message
:
`单号:
${
item
.
factorySubOrderNumber
}
未生产,请生产后再发货`
,
ElMessage
({
type
:
'error'
,
message
:
`单号:
${
item
.
factorySubOrderNumber
}
未生产,请生产后再发货`
,
offset
:
window
.
innerHeight
/
2
,
type
:
'error'
,
})
offset
:
window
.
innerHeight
/
2
,
})
}
}
}
currentRow
.
value
=
item
currentRow
.
value
=
item
if
(
currentRow
.
value
)
{
if
(
currentRow
.
value
)
{
...
...
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