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
3ea071f0
Commit
3ea071f0
authored
Oct 23, 2025
by
qinjianhui
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev'
parents
b7f24f11
f7da650f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
73 additions
and
25 deletions
+73
-25
src/types/api/podCnOrder.ts
+7
-7
src/views/order/podCN/index.vue
+40
-0
src/views/order/podUs/index.vue
+26
-18
No files found.
src/types/api/podCnOrder.ts
View file @
3ea071f0
...
...
@@ -44,6 +44,7 @@ export interface SearchForm {
interceptStatus
?:
number
|
string
sizeType
?:
number
|
null
tagsId
?:
string
source
?:
string
tagsIdArr
?:
(
number
|
null
)[]
}
export
interface
PodCnOrderListData
{
...
...
@@ -222,9 +223,9 @@ export interface CraftListData {
craftCode
:
string
}
export
interface
PackingData
{
podProductionNo
?:
string
;
// 生产单号(PSCD 开头)
jomallCustomNo
?:
string
;
// 一件定制号(16 位数字 或 S- 开头)
jomallPsdCustomNo
?:
string
;
// 满印定制号(JMSC/GCSC 开头)
podJomallNo
?:
string
;
// POD 平台号(JMPSC/GCPS 经过正则提取)
sku
?:
string
;
// 普通 SKU(兜底)
}
\ No newline at end of file
podProductionNo
?:
string
// 生产单号(PSCD 开头)
jomallCustomNo
?:
string
// 一件定制号(16 位数字 或 S- 开头)
jomallPsdCustomNo
?:
string
// 满印定制号(JMSC/GCSC 开头)
podJomallNo
?:
string
// POD 平台号(JMPSC/GCPS 经过正则提取)
sku
?:
string
// 普通 SKU(兜底)
}
src/views/order/podCN/index.vue
View file @
3ea071f0
...
...
@@ -353,6 +353,22 @@
></ElOption>
</ElSelect>
</ElFormItem>
<ElFormItem
label=
"订单来源"
>
<ElSelect
v-model=
"searchForm.source"
placeholder=
"请选择"
clearable
:teleported=
"false"
style=
"width: 150px"
>
<ElOption
v-for=
"(item, index) in sourceList"
:key=
"index"
:value=
"item.id"
:label=
"item.name"
></ElOption>
</ElSelect>
</ElFormItem>
</ElForm>
<template
#
reference
>
<el-button
type=
"warning"
@
click=
"searchVisible = !searchVisible"
>
...
...
@@ -1327,6 +1343,19 @@
</el-icon>
</div>
<div
class=
"order-detail-item"
>
<span
class=
"order-detail-item-label"
>
订单来源:
</span>
<span
class=
"order-detail-item-value"
>
{{
row
.
source
?
{
'jomall-erp'
:
'erp推送'
,
'third-party'
:
'第三方推送'
,
}
[
row
.
source
as
'jomall-erp'
|
'third-party'
]
:
''
}}
<
/span
>
<
/div
>
<
div
class
=
"order-detail-item"
>
<
span
class
=
"order-detail-item-label"
>
总克重
:
<
/span
>
<
span
v
-
if
=
"row.weight"
class
=
"order-detail-item-value"
>
{{
row
.
weight
}}
g
...
...
@@ -2620,6 +2649,17 @@ const exportForm = ref({
resource
:
''
,
}
)
const
sourceList
=
[
{
name
:
'erp推送'
,
id
:
'jomall-erp'
,
}
,
{
name
:
'第三方推送'
,
id
:
'third-party'
,
}
,
]
const
exportData
=
()
=>
{
exportVisible
.
value
=
true
}
...
...
src/views/order/podUs/index.vue
View file @
3ea071f0
<
template
>
<div
class=
"card flex-column h-100 overflow-hidden"
>
<div
class=
"header-filter-form"
>
<ElForm
class=
"search-form"
label-position=
"right"
label-width=
"70px"
:model=
"searchForm"
size=
"default"
inline
>
<ElForm
class=
"search-form"
label-position=
"right"
label-width=
"70px"
:model=
"searchForm"
size=
"default"
inline
>
<!--
<div>
-->
<ElFormItem
label=
"仓库"
>
<ElSelect
...
...
@@ -338,7 +345,7 @@
style=
"width: 150px"
>
<ElOption
v-for=
"(item, index) in sourceList
"
v-for=
"(item, index) in sourceList"
:key=
"index"
:value=
"item.id"
:label=
"item.name"
...
...
@@ -1508,9 +1515,10 @@
<span
class=
"order-detail-item-value"
>
{{
row
.
source
?
{
'jomall-erp'
:
'erp'
,
'third-party'
:
'第三方推送'
}
[
row
.
source
as
'jomall-erp'
|
'third-party'
]
?
{
'jomall-erp'
:
'erp推送'
,
'third-party'
:
'第三方推送'
,
}
[
row
.
source
as
'jomall-erp'
|
'third-party'
]
:
''
}}
<
/span
>
...
...
@@ -2899,7 +2907,8 @@ import {
changeToFinished
,
updateTrackingNumberAndRegister
,
countTrackRegisterApi
,
getCustomTagListApi
,
getLogisticsWayApi
,
getCustomTagListApi
,
getLogisticsWayApi
,
}
from
'@/api/podUsOrder'
import
{
BaseRespData
}
from
'@/types/api'
...
...
@@ -2971,18 +2980,18 @@ declare global {
}
const
sourceList
=
[
{
name
:
'erp推送'
,
id
:
'jomall-erp'
name
:
'erp推送'
,
id
:
'jomall-erp'
,
}
,
{
name
:
'第三方推送'
,
id
:
'third-party'
}
name
:
'第三方推送'
,
id
:
'third-party'
,
}
,
]
const
tabsNav
=
ref
<
Tab
[]
>
()
const
isAuto
=
ref
(
true
)
const
countryList
=
ref
([])
const
logisticsWayList
=
ref
<
{
name
:
string
,
id
:
number
}
[]
>
([])
const
logisticsWayList
=
ref
<
{
name
:
string
;
id
:
number
}
[]
>
([])
const
currentRow
=
ref
<
AddressInfo
>
({
receiverName
:
''
,
receiverPhone
:
''
,
...
...
@@ -6169,8 +6178,8 @@ const getTagName = (row: ProductList) => {
:
''
}
const
getLogisticsWay
=
async
()
=>
{
const
{
data
}
=
await
getLogisticsWayApi
()
const
getLogisticsWay
=
async
()
=>
{
const
{
data
}
=
await
getLogisticsWayApi
()
logisticsWayList
.
value
=
data
}
...
...
@@ -6525,15 +6534,14 @@ useRouter().beforeEach((to, from, next) => {
color
:
white
;
font
-
weight
:
bold
;
}
.
search
-
form
{
::
v
-
deep
.
el
-
radio
-
button
{
.
search
-
form
{
::
v
-
deep
.
el
-
radio
-
button
{
width
:
75
px
;
.
el
-
radio
-
button__inner
{
.
el
-
radio
-
button__inner
{
width
:
100
%
;
}
}
}
<
/style
>
<
style
lang
=
"scss"
>
.
customize
-
select
-
style
{
...
...
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