Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
electron-printer
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
0
Merge Requests
0
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
zhuzhequan
electron-printer
Commits
60d15d96
Commit
60d15d96
authored
Sep 09, 2025
by
zhuzhequan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
生产单搜索优化
parent
ff8f1dee
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
10 deletions
+1
-10
src/views/design/head/index.vue
+1
-10
No files found.
src/views/design/head/index.vue
View file @
60d15d96
...
...
@@ -459,21 +459,12 @@ export default {
}
if (this.productionNo.includes("
_
")) {
let code;
let processed;
const parts = this.productionNo.split("
_
");
const prefix = parts[0];
// 查找第一个包含"
PSC
"的片段
const pscPart = parts.find((part) => part.includes("
PSC
"));
if (pscPart) {
processed = `${prefix}-${pscPart}`;
if (pscPart.includes("
JMPSC
")) {
this.productionNo = processed;
}
code = processed;
this.$store.commit("
setOrderType
", this.classifyField(code));
this.$store.commit("
setOrderType
", this.classifyField(this.productionNo));
} else {
this.$store.commit(
"
setOrderType
",
...
...
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