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
3fab8331
Commit
3fab8331
authored
Sep 09, 2025
by
zhuzhequan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
快捷生产参数处理修改
parent
8f7681c5
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 @
3fab8331
...
...
@@ -601,13 +601,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