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
4bfa131e
Commit
4bfa131e
authored
Aug 14, 2026
by
wusiyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:质检bug修复
parent
4e94662b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
4 deletions
+17
-4
src/views/order/components/FastProduction.vue
+8
-2
src/views/order/factoryOrderNew/index.vue
+9
-2
No files found.
src/views/order/components/FastProduction.vue
View file @
4bfa131e
...
@@ -514,7 +514,10 @@ const props = withDefaults(
...
@@ -514,7 +514,10 @@ const props = withDefaults(
downloadApi
?:
(
downloadApi
?:
(
ids
:
number
[],
ids
:
number
[],
)
=>
Promise
<
{
code
?:
number
;
message
?:
string
}
>
)
=>
Promise
<
{
code
?:
number
;
message
?:
string
}
>
printApi
?:
(
ids
:
number
[])
=>
Promise
<
{
code
?:
number
;
message
?:
string
}
>
printApi
?:
(
ids
:
number
[],
detail
?:
Record
<
string
,
unknown
>
,
)
=>
Promise
<
{
code
?:
number
;
message
?:
string
}
>
defaultAutoSure
?:
boolean
defaultAutoSure
?:
boolean
showOperationNoRow
?:
boolean
showOperationNoRow
?:
boolean
notFoundMessage
?:
string
notFoundMessage
?:
string
...
@@ -708,7 +711,10 @@ const initPrintDevice = () => {
...
@@ -708,7 +711,10 @@ const initPrintDevice = () => {
const
getPrintData
=
async
()
=>
{
const
getPrintData
=
async
()
=>
{
if
(
!
detail
.
value
||
detail
.
value
.
id
===
-
1
||
!
props
.
printApi
)
return
if
(
!
detail
.
value
||
detail
.
value
.
id
===
-
1
||
!
props
.
printApi
)
return
const
res
=
await
props
.
printApi
([
detail
.
value
.
id
])
const
res
=
await
props
.
printApi
(
[
detail
.
value
.
id
],
detail
.
value
as
unknown
as
Record
<
string
,
unknown
>
,
)
if
(
!
res
.
message
)
return
if
(
!
res
.
message
)
return
print
(
filePath
+
res
.
message
,
printDevice
.
value
)
print
(
filePath
+
res
.
message
,
printDevice
.
value
)
}
}
...
...
src/views/order/factoryOrderNew/index.vue
View file @
4bfa131e
...
@@ -1396,6 +1396,7 @@ import {
...
@@ -1396,6 +1396,7 @@ import {
remanufactureApi
,
remanufactureApi
,
}
from
'@/api/factoryOrderNew'
}
from
'@/api/factoryOrderNew'
import
{
getConfigApi
}
from
'@/api/order'
import
{
getConfigApi
}
from
'@/api/order'
import
{
printProductionQrCode
}
from
'@/api/podOrder'
import
{
getLogisticsWayApi
}
from
'@/api/podUsOrder'
import
{
getLogisticsWayApi
}
from
'@/api/podUsOrder'
import
BigNumber
from
'bignumber.js'
import
BigNumber
from
'bignumber.js'
import
{
filePath
}
from
'@/api/axios'
import
{
filePath
}
from
'@/api/axios'
...
@@ -3540,11 +3541,17 @@ const completeOperationById = (
...
@@ -3540,11 +3541,17 @@ const completeOperationById = (
const
downloadOperationById
=
(
ids
:
number
[])
=>
const
downloadOperationById
=
(
ids
:
number
[])
=>
downloadOperationMaterialApi
(
ids
)
downloadOperationMaterialApi
(
ids
)
const
printOperationById
=
(
ids
:
number
[])
=>
printNewPodOrderProductionOrderApi
(
ids
)
as
Promise
<
{
const
printOperationById
=
(
ids
:
number
[],
detail
?:
Record
<
string
,
unknown
>
,
)
=>
{
const
id
=
Number
(
detail
?.
podOrderProductId
??
ids
[
0
])
return
printProductionQrCode
(
id
,
'NEWP'
)
as
Promise
<
{
code
?:
number
code
?:
number
message
?:
string
message
?:
string
}
>
}
>
}
const
handleFastProductionSuccess
=
(
data
:
ResultInfoDataItem
[])
=>
{
const
handleFastProductionSuccess
=
(
data
:
ResultInfoDataItem
[])
=>
{
if
(
fastKey
.
value
===
'productionScan'
||
fastKey
.
value
===
'qualityScan'
)
{
if
(
fastKey
.
value
===
'productionScan'
||
fastKey
.
value
===
'qualityScan'
)
{
ElMessage
.
success
(
'操作成功'
)
ElMessage
.
success
(
'操作成功'
)
...
...
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