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
90185ba0
Commit
90185ba0
authored
Aug 03, 2026
by
qinjianhui
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' into 'master'
Dev See merge request
!293
parents
f2798f7f
08060a26
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
6 deletions
+16
-6
src/views/order/cancelOrderProcess/index.vue
+15
-5
src/views/order/components/FastProduction.vue
+1
-1
No files found.
src/views/order/cancelOrderProcess/index.vue
View file @
90185ba0
...
@@ -710,17 +710,27 @@ const handleEmbryoInStockByCard = async (
...
@@ -710,17 +710,27 @@ const handleEmbryoInStockByCard = async (
background
:
'rgba(0, 0, 0, 0.3)'
,
background
:
'rgba(0, 0, 0, 0.3)'
,
})
})
try
{
try
{
const
skus
=
operationList
.
map
((
r
)
=>
r
.
thirdSkuCode
as
string
)
otherPurchaseData
.
value
=
[]
const
res
=
if
(
type
!==
'embryoInStock'
){
type
===
'embryoInStock'
const
res
=
await
getBySkuAndUserMarkAndInboundTypeApi
(
?
await
getBySkuAndUserMarkApi
(
firstWid
,
skus
.
join
(
','
),
null
)
:
await
getBySkuAndUserMarkAndInboundTypeApi
(
operationList
.
map
((
r
)
=>
r
.
operationNo
as
string
),
operationList
.
map
((
r
)
=>
r
.
operationNo
as
string
),
)
)
if
(
res
.
code
!==
200
)
return
if
(
res
.
code
!==
200
)
return
otherPurchaseData
.
value
=
res
.
data
.
map
((
item
:
InterskuList
)
=>
otherPurchaseData
.
value
=
res
.
data
.
map
((
item
:
InterskuList
)
=>
mapInterskuToProduct
(
item
,
type
),
mapInterskuToProduct
(
item
,
type
),
)
)
}
else
{
for
(
const
item
of
operationList
){
if
(
!
item
.
thirdSkuCode
)
return
const
userMark
=
item
.
thirdSkuCode
.
includes
(
'JM'
)?
null
:
item
.
thirdSkuCode
.
slice
(
0
,
4
)
const
res
=
await
getBySkuAndUserMarkApi
(
firstWid
,
item
.
thirdSkuCode
,
userMark
)
otherPurchaseData
.
value
=
otherPurchaseData
.
value
.
concat
(
res
.
data
.
map
((
it
:
InterskuList
)
=>
mapInterskuToProduct
(
it
,
type
)
)
)
}
}
await
fetchReceiptLocationList
(
''
)
await
fetchReceiptLocationList
(
''
)
const
listRes
=
await
warehouseInfoGetAll
()
const
listRes
=
await
warehouseInfoGetAll
()
warehouseList
.
value
=
listRes
.
data
||
[]
warehouseList
.
value
=
listRes
.
data
||
[]
...
...
src/views/order/components/FastProduction.vue
View file @
90185ba0
...
@@ -512,7 +512,7 @@ const normalizeDetail = (value: unknown): FastProductionDetail => {
...
@@ -512,7 +512,7 @@ const normalizeDetail = (value: unknown): FastProductionDetail => {
}
}
}
}
if
(
!
Array
.
isArray
(
d
.
note
))
d
.
note
=
[]
if
(
!
Array
.
isArray
(
d
.
note
))
d
.
note
=
[]
const
imageSource
=
d
.
imageAry
||
d
.
designImages
||
d
.
imgList
const
imageSource
=
d
.
imageAry
||
d
.
designImages
||
d
.
imgList
||
d
.
variantImage
d
.
imgList
=
parseImages
(
imageSource
)
d
.
imgList
=
parseImages
(
imageSource
)
return
d
as
unknown
as
FastProductionDetail
return
d
as
unknown
as
FastProductionDetail
}
}
...
...
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