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
ccece561
Commit
ccece561
authored
Sep 09, 2025
by
zhuzhequan
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' into 'master'
Dev See merge request
!81
parents
9130dab9
92946f6f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
src/views/order/pod/fastProduction.vue
+7
-7
No files found.
src/views/order/pod/fastProduction.vue
View file @
ccece561
...
...
@@ -616,13 +616,13 @@ const trackcodeInput = async () => {
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
]
}
//
const regex = /^[A-Z]{4}_/ //是否以四个大写字母加下划线开头
//
if (regex.test(orderNumber)) {
//
orderNumber =
//
orderNumber.split('_')[0] +
//
'-' +
//
orderNumber.split('_')[orderNumber.split('_').length - 1]
//
}
try
{
const
res
=
await
getSubOrderBySubOrderNumber
(
orderNumber
)
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