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
dd4dc916
Commit
dd4dc916
authored
Jul 18, 2025
by
zhuzhequan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pod 扫码参数情况特殊处理
parent
dd6fb12d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletions
+6
-1
src/views/order/pod/fastProduction.vue
+6
-1
No files found.
src/views/order/pod/fastProduction.vue
View file @
dd4dc916
...
@@ -579,7 +579,7 @@ const trackcodeInput = async () => {
...
@@ -579,7 +579,7 @@ const trackcodeInput = async () => {
localStorage
.
setItem
(
'historyData'
,
JSON
.
stringify
(
historyData
.
value
))
localStorage
.
setItem
(
'historyData'
,
JSON
.
stringify
(
historyData
.
value
))
}
}
cons
t
orderNumber
=
TrackingNumber
.
value
le
t
orderNumber
=
TrackingNumber
.
value
TrackingNumber
.
value
=
''
TrackingNumber
.
value
=
''
if
(
props
.
type
===
1
)
{
if
(
props
.
type
===
1
)
{
if
(
isAutoSure
.
value
)
{
if
(
isAutoSure
.
value
)
{
...
@@ -588,6 +588,11 @@ const trackcodeInput = async () => {
...
@@ -588,6 +588,11 @@ const trackcodeInput = async () => {
}
else
{
}
else
{
await
setData
(
orderNumber
)
await
setData
(
orderNumber
)
}
}
// AAAB_60527128-9_1_JMSC250121017 新版示例
const
regex
=
/^
[
A-Z
]{4}
_/
//是否以四个大写字母加下划线开头
if
(
regex
.
test
(
orderNumber
))
{
orderNumber
=
orderNumber
.
split
(
'_'
)[
0
]
+
"-"
+
orderNumber
.
split
(
'_'
)[
orderNumber
.
split
(
'_'
).
length
-
1
]
}
try
{
try
{
const
res
=
await
getSubOrderBySubOrderNumber
(
orderNumber
)
const
res
=
await
getSubOrderBySubOrderNumber
(
orderNumber
)
if
(
!
res
.
data
)
{
if
(
!
res
.
data
)
{
...
...
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