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
06151650
Commit
06151650
authored
Sep 29, 2025
by
wuqian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
打单完成修复
parent
5f70d31f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
10 deletions
+21
-10
src/types/api/podMakeOrder.ts
+5
-1
src/views/order/podCN/PodMakeOrder.vue
+16
-9
No files found.
src/types/api/podMakeOrder.ts
View file @
06151650
...
...
@@ -28,8 +28,12 @@ export interface OrderData {
remark
?:
string
version
?:
number
factoryOrderNumber
?:
number
|
string
orderParamList
?:
IorderItem
[]
}
export
interface
IorderItem
{
id
:
number
dataVersion
:
number
}
export
interface
ProductList
{
warehouseSkuImage
:
string
warehouseSku
:
string
...
...
src/views/order/podCN/PodMakeOrder.vue
View file @
06151650
...
...
@@ -241,6 +241,7 @@ import {
OrderData
,
PodMakeOrderData
,
ProductList
,
IorderItem
,
}
from
'@/types/api/podMakeOrder'
import
useOrderStore
from
'@/store/cnOrder'
...
...
@@ -630,14 +631,20 @@ const submitInspection = async (callback: () => void) => {
if
(
!
factoryNo
)
{
return
}
const
data
=
podOrderDetailsData
.
value
?.
id
?
[
{
id
:
podOrderDetailsData
.
value
.
id
,
version
:
podOrderDetailsData
.
value
?.
version
,
},
]
:
[]
// const data = podOrderDetailsData.value?.id
// ? [
// {
// id: podOrderDetailsData.value.id,
// version: podOrderDetailsData.value?.version,
// },
// ]
// : []
const
data
=
(
podOrderDetailsData
.
value
?.
orderParamList
??
[]).
map
(
(
item
:
IorderItem
)
=>
({
id
:
item
.
id
,
version
:
item
.
dataVersion
,
}),
)
try
{
const
res
=
await
submitInspectionApi
(
data
,
...
...
@@ -1006,7 +1013,7 @@ const handleWarehouseChange = (value: string | number) => {
display
:
flex
;
flex-direction
:
column
;
gap
:
5px
;
}
}
.right-content
{
width
:
400px
;
overflow-y
:
auto
;
...
...
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