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
080263e6
Commit
080263e6
authored
Jun 09, 2026
by
wusiyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: bug
parent
1ca9e0f5
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
8 deletions
+9
-8
src/components/PodMakeOrder/index.vue
+9
-8
No files found.
src/components/PodMakeOrder/index.vue
View file @
080263e6
...
@@ -605,19 +605,18 @@ const matchProductByCode = (product: ProductList, code: string) => {
...
@@ -605,19 +605,18 @@ const matchProductByCode = (product: ProductList, code: string) => {
// 单件商品 不进播种墙
// 单件商品 不进播种墙
const
handleUsSingleItemPacking
=
(
data
?:
OrderData
|
null
)
=>
{
const
handleUsSingleItemPacking
=
(
data
?:
OrderData
|
null
)
=>
{
if
(
!
data
)
return
podOrderDetailsData
.
value
=
data
as
OrderData
podOrderDetailsData
.
value
=
data
podOrderDetailsData
.
value
.
fromUser
=
userStore
.
user
?.
id
podOrderDetailsData
.
value
.
fromUser
=
userStore
.
user
?.
id
const
list
=
podOrderDetailsData
.
value
.
productList
||
[]
if
(
podOrderDetailsData
.
value
.
productList
?.
length
)
{
const
list
=
podOrderDetailsData
.
value
.
productList
for
(
const
product
of
list
)
{
for
(
const
product
of
list
)
{
if
(
product
.
count
===
product
.
purchaseNumber
)
{
if
(
product
.
count
===
product
.
purchaseNumber
)
{
product
.
power
=
true
product
.
power
=
true
print
(
d
ata
,
false
,
()
=>
{
print
(
data
as
OrderD
ata
,
false
,
()
=>
{
renderLock
=
false
renderLock
=
false
})
})
}
}
}
}
if
(
list
.
length
)
{
nextTick
(()
=>
{
nextTick
(()
=>
{
tableRef
.
value
?.
setCurrentRow
(
list
[
0
])
tableRef
.
value
?.
setCurrentRow
(
list
[
0
])
})
})
...
@@ -916,9 +915,11 @@ const getPackingData = async (code: string) => {
...
@@ -916,9 +915,11 @@ const getPackingData = async (code: string) => {
boxIndex
.
value
=
box
boxIndex
.
value
=
box
}
}
}
else
if
(
props
.
type
===
'us'
||
props
.
type
===
'new'
)
{
}
else
if
(
props
.
type
===
'us'
||
props
.
type
===
'new'
)
{
boxIndex
.
value
=
res
.
data
?.
box
as
number
const
{
box
,
data
}
=
res
.
data
if
(
boxIndex
.
value
===
0
)
{
handleUsSingleItemPacking
(
res
.
data
?.
data
)
boxIndex
.
value
=
box
as
number
if
(
boxIndex
.
value
==
0
)
{
handleUsSingleItemPacking
(
data
)
}
}
}
}
}
catch
(
error
)
{
}
catch
(
error
)
{
...
...
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