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
27425159
Commit
27425159
authored
Aug 17, 2026
by
wusiyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 快捷生产提示bug修复 #1002069
parent
a3972075
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
15 deletions
+19
-15
src/views/order/components/FastProduction.vue
+13
-14
src/views/order/factoryOrderNew/index.vue
+6
-1
No files found.
src/views/order/components/FastProduction.vue
View file @
27425159
...
...
@@ -643,15 +643,15 @@ watch(
if
(
newVal
)
{
const
history
=
localStorage
.
getItem
(
props
.
historyStorageKey
)
historyData
.
value
=
history
?
JSON
.
parse
(
history
)
:
[]
const
len
=
historyData
.
value
// 防止消息提示数量不全
const
historyList
=
[...
historyData
.
value
]
if
(
len
.
length
>
0
&&
historyList
.
length
>
0
&&
[
'fastProduction'
,
'fastReceipt'
,
'productionScan'
].
includes
(
props
.
fastKey
,
)
)
{
confirmQuery
(
len
,
0
)
confirmQuery
(
historyList
,
0
)
}
placeholderText
.
value
=
props
.
trackingPlaceholder
...
...
@@ -844,16 +844,15 @@ const setData = async (
}
playAudio
(
'weight_success'
)
if
(
trigger
===
'auto'
)
{
// new 快捷生产:扫码后直接将订单流转至生产中
localStorage
.
setItem
(
props
.
historyStorageKey
,
JSON
.
stringify
([]))
}
else
{
detail
.
value
=
{
id
:
-
1
,
podJomallOrderCnId
:
-
1
,
imgList
:
[]
as
cardImages
[],
}
}
// if (trigger === 'auto') {
// } else {
// detail.value = {
// id: -1,
// podJomallOrderCnId: -1,
// imgList: [] as cardImages[],
// }
// }
TrackingNumber
.
value
=
''
isDownloadImage
.
value
=
false
trackingNumberRef
.
value
&&
trackingNumberRef
.
value
.
focus
()
...
...
src/views/order/factoryOrderNew/index.vue
View file @
27425159
...
...
@@ -1158,7 +1158,7 @@
pending
-
order
-
label
=
"操作单号"
please
-
scan
-
tip
=
"请扫码操作单号"
search
-
input
-
audio
-
tip
=
"请录入操作单号"
history
-
storage
-
key
=
"historyFactoryOrderNewData
"
:
history
-
storage
-
key
=
"fastHistoryStorageKey
"
tracking
-
placeholder
=
"扫描枪输入操作单号"
:
query
-
api
=
"getOperationByNo"
:
complete
-
api
=
"completeOperationById"
...
...
@@ -2661,6 +2661,11 @@ const updateCustomsDialogVisible = ref(false)
const
weightDialogRef
=
ref
()
const
detailVisible
=
ref
(
false
)
const
fastKey
=
ref
(
''
)
const
fastHistoryStorageKey
=
computed
(()
=>
fastKey
.
value
===
'qualityScan'
?
'historyFactoryOrderNewQualityData'
:
'historyFactoryOrderNewData'
,
)
const
detailData
=
ref
<
Record
<
string
,
unknown
>>
({
}
)
const
{
ensureSelection
,
executeBatchAction
}
=
useOrderBatchActions
({
getIds
:
getSelectedIds
,
...
...
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