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
0e64c95c
Commit
0e64c95c
authored
Jun 24, 2026
by
wusiyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 修改快捷生产扫码接口传参
parent
98720be4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
src/api/factoryOrderNew.ts
+6
-2
src/views/order/factoryOrderNew/index.vue
+1
-1
No files found.
src/api/factoryOrderNew.ts
View file @
0e64c95c
...
@@ -537,10 +537,14 @@ export function completeDeliveryApi(ids: (number | string)[]) {
...
@@ -537,10 +537,14 @@ export function completeDeliveryApi(ids: (number | string)[]) {
}
}
// 生产扫码
// 生产扫码
export
function
productionScanApi
(
id
:
number
|
string
,
status
:
string
)
{
export
function
productionScanApi
(
id
:
number
|
string
,
status
:
string
,
type
:
string
,
)
{
return
axios
.
get
<
never
,
BaseRespData
<
never
>>
(
return
axios
.
get
<
never
,
BaseRespData
<
never
>>
(
'factory/podOrderOperation/scan-produce'
,
'factory/podOrderOperation/scan-produce'
,
{
params
:
{
id
,
status
}
},
{
params
:
{
id
,
status
,
type
}
},
)
)
}
}
...
...
src/views/order/factoryOrderNew/index.vue
View file @
0e64c95c
...
@@ -2998,7 +2998,7 @@ const completeOperationById = (
...
@@ -2998,7 +2998,7 @@ const completeOperationById = (
)
=>
{
)
=>
{
if
(
trigger
===
'auto'
)
{
if
(
trigger
===
'auto'
)
{
const
detailStatus
=
String
(
detailData
?.
status
??
''
)
const
detailStatus
=
String
(
detailData
?.
status
??
''
)
return
productionScanApi
(
ids
[
0
],
detailStatus
)
return
productionScanApi
(
ids
[
0
],
detailStatus
,
'web'
)
}
}
return
completeDeliveryApi
(
ids
)
return
completeDeliveryApi
(
ids
)
}
}
...
...
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