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
4cdbabf7
Commit
4cdbabf7
authored
Apr 16, 2026
by
qinjianhui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 播种墙配货修改
parent
2d81d3ce
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
1 deletions
+19
-1
src/views/order/podUs/PodMakeOrder.vue
+19
-1
No files found.
src/views/order/podUs/PodMakeOrder.vue
View file @
4cdbabf7
...
...
@@ -328,6 +328,24 @@ const sheetPrinter = ref<string>('')
const
productionOrder
=
ref
<
string
>
(
''
)
const
podOrderDetailsData
=
ref
<
OrderData
>
()
const
operationStatusMap
:
Record
<
string
,
string
>
=
{
PENDING_PACKING
:
'待配货'
,
PENDING_SCHEDULE
:
'待排单'
,
PENDING_REPLENISH
:
'待补胚'
,
PENDING_PICK
:
'待拣胚'
,
IN_PRODUCTION
:
'生产中'
,
PACKING_COMPLETED
:
'配货完成'
,
COMPLETED
:
'已完成'
,
CANCELLED
:
'已取消'
,
ARCHIVE
:
'已归档'
,
}
const
formatOperationNo
=
(
operationNoWithStatus
:
string
)
=>
{
const
match
=
operationNoWithStatus
.
match
(
/^
([^
_
]
+
)
_
(
.+
)
$/
)
if
(
!
match
)
return
operationNoWithStatus
const
[,
operationNo
,
status
]
=
match
const
statusText
=
operationStatusMap
[
status
]
||
status
return
statusText
?
`
${
operationNo
}
(
${
statusText
}
)`
:
operationNo
}
const
podOrderDetailsColumns
=
computed
(()
=>
[
{
label
:
'图片'
,
...
...
@@ -346,7 +364,7 @@ const podOrderDetailsColumns = computed(() => [
<
div
>
{
props
.
isNewOrder
&&
row
.
operationNos
?.
split
(
','
).
map
((
item
)
=>
{
return
<
div
>
{
item
}
<
/div
>
return
<
div
>
{
formatOperationNo
(
item
)
}
<
/div
>
})}
{
!
props
.
isNewOrder
&&
row
.
podJomallUsNo
}
<
/div
>
...
...
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