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
abf185df
Commit
abf185df
authored
Jul 29, 2025
by
wuqian
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
http://47.122.114.111:9999/qinjianhui/factory_front
into dev
parents
e8ccbd0f
f87ebd18
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
49 additions
and
6 deletions
+49
-6
src/views/order/pod/fastProduction.vue
+32
-4
src/views/order/pod/index.vue
+17
-2
No files found.
src/views/order/pod/fastProduction.vue
View file @
abf185df
...
@@ -392,8 +392,20 @@ watch(
...
@@ -392,8 +392,20 @@ watch(
{
url
:
d
.
negativeImage
,
title
:
'反面'
,
id
:
d
.
negativeDesignId
},
{
url
:
d
.
negativeImage
,
title
:
'反面'
,
id
:
d
.
negativeDesignId
},
].
filter
((
el
)
=>
el
.
url
)
].
filter
((
el
)
=>
el
.
url
)
}
else
{
}
else
{
arr
=
arr
=
Array
.
isArray
(
d
.
imageAry
)
typeof
d
.
imageAry
==
'string'
?
JSON
.
parse
(
d
.
imageAry
)
:
d
.
imageAry
?
d
.
imageAry
:
typeof
d
.
imageAry
===
'string'
?
(()
=>
{
try
{
const
parsed
=
JSON
.
parse
(
d
.
imageAry
)
return
parsed
}
catch
{
return
[{
url
:
d
.
imageAry
}]
}
})()
:
[
d
.
imageAry
]?.
filter
?.((
v
)
=>
v
!=
null
)
||
[]
// arr =
// typeof d.imageAry == 'string' ? JSON.parse(d.imageAry) : d.imageAry
arr
=
arr
.
concat
([
arr
=
arr
.
concat
([
{
url
:
d
.
negativeImage
,
title
:
'反面'
,
id
:
d
.
negativeDesignId
},
{
url
:
d
.
negativeImage
,
title
:
'反面'
,
id
:
d
.
negativeDesignId
},
])
])
...
@@ -591,7 +603,10 @@ const trackcodeInput = async () => {
...
@@ -591,7 +603,10 @@ const trackcodeInput = async () => {
// AAAB_60527128-9_1_JMSC250121017 新版示例
// AAAB_60527128-9_1_JMSC250121017 新版示例
const
regex
=
/^
[
A-Z
]{4}
_/
//是否以四个大写字母加下划线开头
const
regex
=
/^
[
A-Z
]{4}
_/
//是否以四个大写字母加下划线开头
if
(
regex
.
test
(
orderNumber
))
{
if
(
regex
.
test
(
orderNumber
))
{
orderNumber
=
orderNumber
.
split
(
'_'
)[
0
]
+
"-"
+
orderNumber
.
split
(
'_'
)[
orderNumber
.
split
(
'_'
).
length
-
1
]
orderNumber
=
orderNumber
.
split
(
'_'
)[
0
]
+
'-'
+
orderNumber
.
split
(
'_'
)[
orderNumber
.
split
(
'_'
).
length
-
1
]
}
}
try
{
try
{
const
res
=
await
getSubOrderBySubOrderNumber
(
orderNumber
)
const
res
=
await
getSubOrderBySubOrderNumber
(
orderNumber
)
...
@@ -612,7 +627,20 @@ const trackcodeInput = async () => {
...
@@ -612,7 +627,20 @@ const trackcodeInput = async () => {
{
url
:
d
.
negativeImage
,
title
:
'反面'
,
id
:
d
.
negativeDesignId
},
{
url
:
d
.
negativeImage
,
title
:
'反面'
,
id
:
d
.
negativeDesignId
},
].
filter
((
el
)
=>
el
.
url
)
].
filter
((
el
)
=>
el
.
url
)
}
else
{
}
else
{
arr
=
typeof
d
.
imageAry
==
'string'
?
JSON
.
parse
(
d
.
imageAry
)
:
d
.
imageAry
arr
=
Array
.
isArray
(
d
.
imageAry
)
?
d
.
imageAry
:
typeof
d
.
imageAry
===
'string'
?
(()
=>
{
try
{
const
parsed
=
JSON
.
parse
(
d
.
imageAry
)
return
parsed
}
catch
{
return
[{
url
:
d
.
imageAry
}]
}
})()
:
[
d
.
imageAry
]?.
filter
?.((
v
)
=>
v
!=
null
)
||
[]
// arr = typeof d.imageAry == 'string' ? JSON.parse(d.imageAry) : d.imageAry
arr
=
arr
.
concat
([
arr
=
arr
.
concat
([
{
url
:
d
.
negativeImage
,
title
:
'反面'
,
id
:
d
.
negativeDesignId
},
{
url
:
d
.
negativeImage
,
title
:
'反面'
,
id
:
d
.
negativeDesignId
},
])
])
...
...
src/views/order/pod/index.vue
View file @
abf185df
...
@@ -1449,7 +1449,20 @@ const openDetail = async (id: number) => {
...
@@ -1449,7 +1449,20 @@ const openDetail = async (id: number) => {
const
res
=
await
getOrderDetail
(
id
)
const
res
=
await
getOrderDetail
(
id
)
if
(
res
.
code
==
200
)
{
if
(
res
.
code
==
200
)
{
if
(
res
.
data
.
imageAry
)
{
if
(
res
.
data
.
imageAry
)
{
res
.
data
.
imageAry
=
JSON
.
parse
(
res
.
data
.
imageAry
as
string
)
const
newarr
=
res
.
data
.
imageAry
res
.
data
.
imageAry
=
Array
.
isArray
(
newarr
)
?
newarr
:
typeof
newarr
===
'string'
?
(()
=>
{
try
{
const
parsed
=
JSON
.
parse
(
newarr
)
return
parsed
}
catch
{
return
[{
url
:
newarr
}
]
}
}
)()
:
[
newarr
]?.
filter
?.((
v
)
=>
v
!=
null
)
||
[]
// res.data.imageAry = JSON.parse(res.data.imageAry as string)
}
}
detailData
.
value
=
res
.
data
||
{
}
detailData
.
value
=
res
.
data
||
{
}
detailVisible
.
value
=
true
detailVisible
.
value
=
true
...
@@ -1457,6 +1470,8 @@ const openDetail = async (id: number) => {
...
@@ -1457,6 +1470,8 @@ const openDetail = async (id: number) => {
fastType
.
value
=
0
fastType
.
value
=
0
}
}
}
catch
(
e
)
{
}
catch
(
e
)
{
console
.
log
(
e
)
//showError(e)
//showError(e)
}
}
}
}
...
@@ -1691,7 +1706,7 @@ const [searchForm] = useValue<SearchForm>({
...
@@ -1691,7 +1706,7 @@ const [searchForm] = useValue<SearchForm>({
userMark
:
''
,
userMark
:
''
,
customizedQuantity
:
''
,
customizedQuantity
:
''
,
order
:
'desc'
,
order
:
'desc'
,
platform
:
''
platform
:
''
,
}
)
}
)
const
tableColumns
=
computed
<
CustomColumn
<
CardOrderData
[]
>>
(()
=>
{
const
tableColumns
=
computed
<
CustomColumn
<
CardOrderData
[]
>>
(()
=>
{
return
[
return
[
...
...
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