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
6a561044
Commit
6a561044
authored
Jul 08, 2025
by
linjinhong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改物流方式添加问题
parent
c14583b0
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
136 additions
and
124 deletions
+136
-124
src/router/index.ts
+7
-78
src/router/menu.ts
+5
-0
src/views/logistics/logisticsMethod.vue
+30
-13
src/views/order/orderTracking/index.vue
+0
-0
src/views/order/podUs/index.vue
+94
-33
No files found.
src/router/index.ts
View file @
6a561044
...
...
@@ -74,6 +74,13 @@ const router = createRouter({
component
:
PodUsOrderList
,
},
{
path
:
'/pod-us-order/orderTracking'
,
meta
:
{
title
:
'POD(US)订单跟踪'
,
},
component
:
()
=>
import
(
'@/views/order/orderTracking/index.vue'
),
},
{
path
:
'/pod-delivery-note/list'
,
meta
:
{
title
:
'POD发货单'
,
...
...
@@ -227,84 +234,6 @@ const router = createRouter({
},
component
:
WarehousePosition
,
},
{
path
:
'/logistics/logisticsMethod'
,
meta
:
{
title
:
'物流方式'
,
},
component
:
()
=>
import
(
'@/views/logistics/logisticsMethod.vue'
),
},
{
path
:
'/logistics/shippingAddress'
,
meta
:
{
title
:
'发货地址'
,
},
component
:
()
=>
import
(
'@/views/logistics/shippingAddress.vue'
),
},
{
path
:
'/logistics/logisticsQuotation'
,
meta
:
{
title
:
'物流报价'
,
},
component
:
()
=>
import
(
'@/views/logistics/logisticsQuotation.vue'
),
},
{
path
:
'/logistics/declarationRule'
,
meta
:
{
title
:
'申报规则'
,
},
component
:
()
=>
import
(
'@/views/logistics/declarationRule.vue'
),
},
{
path
:
'/logistics/logisticsPartition'
,
meta
:
{
title
:
'物流分区'
,
},
component
:
()
=>
import
(
'@/views/logistics/logisticsPartition.vue'
),
},
{
path
:
'/logistics/logisticsCalculate'
,
meta
:
{
title
:
'运费试算'
,
},
component
:
()
=>
import
(
'@/views/logistics/logisticsCalculate.vue'
),
},
{
path
:
'/warehouse/manage'
,
meta
:
{
title
:
'仓库管理'
,
},
component
:
WarehouseManage
,
},
{
path
:
'/warehouse/receipt-doc'
,
meta
:
{
title
:
'入库单'
,
},
component
:
receiptDoc
,
},
// {
// path: '/warehouse/issue-doc',
// meta: {
// title: '出库单',
// },
// component: issueDoc,
// },
{
path
:
'/warehouse/warning'
,
meta
:
{
title
:
'仓库预警'
,
},
component
:
WarehouseWarning
,
},
{
path
:
'/warehouse/position'
,
meta
:
{
title
:
'库位管理'
,
},
component
:
WarehousePosition
,
},
],
},
// 登录
...
...
src/router/menu.ts
View file @
6a561044
...
...
@@ -117,6 +117,11 @@ const menu: MenuItem[] = [
id
:
8
,
label
:
'POD订单(US)'
,
},
// {
// index: '/pod-us-order/orderTracking',
// id: 8,
// label: 'POD(US)订单跟踪',
// },
],
},
...
...
src/views/logistics/logisticsMethod.vue
View file @
6a561044
...
...
@@ -76,16 +76,17 @@ import {
updateLogisticsWay
,
updateStatusLogisticsWay
,
deleteLogisticsWay
,
getWarehouseList
,
getRuleList
,
getPlatformList
,
getLogisticsLog
,
getLogisticsCompanyList
,
getUniuniList
,
}
from
'@/api/logistics'
import
{
WarehouseListData
}
from
'@/types/api/podUsOrder'
import
{
ISeachFormConfig
}
from
'@/types/searchType'
import
{
TableColumn
}
from
'@/components/VxeTable'
// import type { PromiseSettledResult } from 'types
'
import
{
loadWarehouseListApi
}
from
'@/api/podUsOrder
'
import
type
{
LogisticsMethod
,
platformObj
,
...
...
@@ -103,7 +104,9 @@ import { debounce } from 'lodash-es'
import
UPARCELImage
from
'@/assets/images/UPARCEL物流编码.png'
const
[
searchForm
]
=
useValue
({})
const
[
editForm
,
resetEditForm
]
=
useValue
<
LogisticsMethod
>
({
platformList
:
[{
platform
:
''
,
logisticsName
:
''
,
showPlatform
:
[]
}],
platformList
:
[
{
platform
:
''
,
logisticsName
:
''
,
showPlatform
:
[
'default'
]
},
],
ruleRef
:
{
ruleId
:
''
,
ruleName
:
''
},
status
:
1
,
})
...
...
@@ -131,6 +134,7 @@ const dialogVisible = ref(false)
const
logDialogVisible
=
ref
(
false
)
const
editFormRef
=
ref
<
InstanceType
<
typeof
CustomizeForm
>
|
null
>
(
null
)
const
selection
=
ref
([])
const
warehouseList
=
ref
<
WarehouseListData
[]
>
([])
interface
ImageList
{
[
key
:
string
]:
string
...
...
@@ -173,7 +177,7 @@ const searchConfig = ref<ISeachFormConfig[]>([
},
])
const
platformList
=
ref
([])
const
warehouseList
=
ref
([])
const
ruleNameList
=
ref
([])
const
uniuniList
=
ref
([])
const
logisticsCompanyList
=
ref
([])
...
...
@@ -323,11 +327,17 @@ const formConfig = computed<IFormConfig[]>(() => [
},
{
prop
:
'warehouseId'
,
type
:
'
inpu
t'
,
type
:
'
selec
t'
,
label
:
'仓库名称'
,
fixed
:
'last'
,
attrs
:
{
placeholder
:
'请输入仓库名称'
,
placeholder
:
'请选择仓库名称'
,
label
:
'name'
,
value
:
'id'
,
options
:
[...(
warehouseList
.
value
||
[])],
onChange
:
(
item
:
WarehouseListData
)
=>
{
editForm
.
value
.
warehouseName
=
item
.
name
},
},
},
...
...
@@ -384,6 +394,7 @@ const formConfig = computed<IFormConfig[]>(() => [
collapse
-
tags
collapse
-
tags
-
tooltip
v
-
model
=
{
item
[
'showPlatform'
]}
disabled
=
{
index
===
0
}
>
{
platformList
.
value
?.
map
((
el
,
idx
)
=>
(
<
el
-
option
label
=
{
el
}
value
=
{
el
}
key
=
{
idx
}
><
/el-option
>
...
...
@@ -707,7 +718,7 @@ const save = debounce(async () => {
return
}
}
},
4
00
)
},
2
00
)
/**
* @description: 新增按钮打开弹窗
...
...
@@ -784,14 +795,20 @@ function deleteCol(index: number) {
async
function
getAllList
()
{
try
{
const
res
=
await
Promise
.
allSettled
([
getWarehouseList
(),
loadWarehouseListApi
(),
getRuleList
(),
getPlatformList
(),
getLogisticsCompanyList
(),
getUniuniList
(),
])
res
.
forEach
(
(
item
:
PromiseSettledResult
<
{
code
:
number
;
data
:
never
[]
}
>
,
index
)
=>
{
(
item
:
PromiseSettledResult
<
{
code
:
number
data
:
WarehouseListData
[]
|
never
[]
}
>
,
index
,
)
=>
{
if
(
item
.
status
===
'fulfilled'
)
{
if
(
item
.
value
.
code
===
200
)
{
if
(
index
==
0
)
{
...
...
@@ -799,13 +816,13 @@ async function getAllList() {
}
else
if
(
index
==
1
)
{
console
.
log
(
758
,
item
.
value
.
data
)
ruleNameList
.
value
=
item
.
value
.
data
||
[]
ruleNameList
.
value
=
(
item
.
value
.
data
as
never
[])
||
[]
}
else
if
(
index
==
2
)
{
platformList
.
value
=
item
.
value
.
data
||
[]
platformList
.
value
=
(
item
.
value
.
data
as
never
[])
||
[]
}
else
if
(
index
==
3
)
{
logisticsCompanyList
.
value
=
item
.
value
.
data
||
[]
logisticsCompanyList
.
value
=
(
item
.
value
.
data
as
never
[])
||
[]
}
else
if
(
index
==
4
)
{
uniuniList
.
value
=
item
.
value
.
data
||
[]
uniuniList
.
value
=
(
item
.
value
.
data
as
never
[])
||
[]
}
}
}
...
...
src/views/order/orderTracking/index.vue
0 → 100644
View file @
6a561044
This diff is collapsed.
Click to expand it.
src/views/order/podUs/index.vue
View file @
6a561044
...
...
@@ -93,6 +93,14 @@
style=
"width: 150px"
/>
</ElFormItem>
<ElFormItem
label=
"店铺单号"
>
<ElInput
v-model=
"searchForm.shopNumber"
placeholder=
"店铺单号"
clearable
style=
"width: 150px"
/>
</ElFormItem>
</div>
<ElFormItem
label=
"类型"
>
<el-radio-group
v-model=
"searchForm.customizedQuantity"
>
...
...
@@ -155,14 +163,6 @@
/>
</ElFormItem>
<ElFormItem
label=
"店铺单号"
>
<ElInput
v-model=
"searchForm.shopNumber"
placeholder=
"店铺单号"
clearable
style=
"width: 150px"
/>
</ElFormItem>
<ElFormItem
label=
"客户"
>
<el-select
v-model=
"searchForm.userMark"
...
...
@@ -1190,7 +1190,7 @@
<
template
#
bottom_left
>
<
span
v
-
if
=
"cardItem?.factorySubOrderNumber"
title
=
"生产单号
"
:
title
=
"`生产单号:${cardItem?.factorySubOrderNumber || ''
}
`
"
class
=
"factory-sub-order-number"
@
click
.
stop
=
"
copy(String(cardItem?.factorySubOrderNumber || ''))
...
...
@@ -1198,6 +1198,14 @@
>
{{
cardItem
?.
factorySubOrderNumber
}}
<
/span
>
<
el
-
icon
class
=
"icon"
style
=
"margin-left: 3px"
size
=
"14"
@
click
=
"copy(cardItem?.factorySubOrderNumber || '')"
>
<
DocumentCopy
/>
<
/el-icon
>
<
/template
>
<
template
#
operations
>
<
div
...
...
@@ -1243,7 +1251,10 @@
<
/template
>
<
template
#
info
>
<
div
class
=
"grid-container"
>
<
div
class
=
"grid-item"
title
=
"商品名称"
>
<
div
class
=
"grid-item"
:
title
=
"`商品名称:${cardItem?.productName || ''
}
`"
>
<
span
class
=
"grid-item-value"
>
{{
cardItem
?.
productName
}}
<
/span
>
...
...
@@ -1270,9 +1281,20 @@
<
/span
>
<
/div
>
<
div
class
=
"grid-item"
>
<
span
title
=
"Base SKU"
class
=
"grid-item-value"
>
<
div
:
title
=
"`Base SKU:${cardItem?.baseSku || ''
}
`"
class
=
"grid-item-value orderNumber"
>
{{
cardItem
?.
baseSku
}}
<
/span
>
<
el
-
icon
class
=
"icon"
style
=
"margin-left: 3px"
size
=
"14"
@
click
=
"copy(cardItem?.baseSku || '')"
>
<
DocumentCopy
/>
<
/el-icon
>
<
/div
>
<
/div
>
<
div
v
-
if
=
"status !== 'TO_BE_ARRANGE'"
class
=
"grid-item"
>
<
span
class
=
"grid-item-label"
>
补胚数量:
<
/span
>
...
...
@@ -1286,16 +1308,30 @@
{{
cardItem
?.
variantSku
}}
<
/span
>
<
/div> --
>
<
div
class
=
"grid-item"
title
=
"工艺"
>
<
div
class
=
"grid-item"
:
title
=
"`工艺:${cardItem?.craftName || ''
}
`"
>
<
span
class
=
"grid-item-label"
>
工艺:
<
/span
>
<
span
class
=
"grid-item-value"
>
{{
cardItem
?.
craftName
}}
<
/span
>
<
/div
>
<
div
class
=
"grid-item"
>
<
span
title
=
"库存SKU"
class
=
"grid-item-value"
>
<
div
:
title
=
"`库存SKU:${cardItem?.thirdSkuCode || ''
}
`"
class
=
"grid-item-value orderNumber"
>
{{
cardItem
?.
thirdSkuCode
}}
<
/span
>
<
el
-
icon
class
=
"icon"
style
=
"margin-left: 3px"
size
=
"14"
@
click
=
"copy(cardItem?.thirdSkuCode || '')"
>
<
DocumentCopy
/>
<
/el-icon
>
<
/div
>
<
/div
>
<
div
class
=
"grid-item"
>
<
span
class
=
"grid-item-label"
>
款号:
<
/span
>
...
...
@@ -1307,13 +1343,21 @@
<
/span
>
<
/div
>
<
div
class
=
"grid-item"
title
=
"店铺单号"
>
<
span
class
=
"grid-item-value
"
@
click
=
"copy(cardItem?.shopNumber || '')"
>
<
div
class
=
"grid-item"
:
title
=
"`店铺单号:${cardItem?.shopNumber || ''
}
`
"
>
<
div
class
=
"grid-item-value orderNumber"
>
{{
cardItem
?.
shopNumber
}}
<
/span
>
<
el
-
icon
class
=
"icon"
style
=
"margin-left: 3px"
size
=
"14"
@
click
=
"copy(cardItem?.shopNumber || '')"
>
<
DocumentCopy
/>
<
/el-icon
>
<
/div
>
<
/div
>
<!--
<
div
class
=
"grid-item"
title
=
"订单号"
>
<
span
...
...
@@ -1325,27 +1369,39 @@
<
/div> --
>
<
div
class
=
"grid-item"
>
<
span
<
div
:
title
=
"`第三方生产单号:${cardItem?.thirdSubOrderNumber
}
`"
class
=
"grid-item-value"
@
click
.
stop
=
"
copy(String(cardItem?.thirdSubOrderNumber || ''))
"
class
=
"grid-item-value orderNumber"
>
{{
cardItem
?.
thirdSubOrderNumber
}}
<
/span
>
<
el
-
icon
class
=
"icon"
style
=
"margin-left: 3px"
size
=
"14"
@
click
.
stop
=
"
copy(String(cardItem?.thirdSubOrderNumber || ''))
"
>
<
DocumentCopy
/>
<
/el-icon
>
<
/div
>
<
/div
>
<
div
v
-
if
=
"cardItem.batchArrangeNumber"
class
=
"grid-item"
title
=
"批次号
"
:
title
=
"`批次号:${cardItem?.batchArrangeNumber || ''
}
`
"
>
<
span
class
=
"grid-item-value"
@
click
=
"copy(cardItem?.batchArrangeNumber || '')"
>
<
div
class
=
"grid-item-value orderNumber"
>
{{
cardItem
?.
batchArrangeNumber
}}
<
/span
>
<
el
-
icon
class
=
"icon"
style
=
"margin-left: 3px"
size
=
"14"
@
click
=
"copy(cardItem?.batchArrangeNumber || '')"
>
<
DocumentCopy
/>
<
/el-icon
>
<
/div
>
<
/div
>
<
div
v
-
if
=
"cardItem.isReplenishment"
class
=
"grid-item"
>
<
el
-
tag
size
=
"small"
type
=
"danger"
effect
=
"dark"
...
...
@@ -4177,6 +4233,11 @@ function getPlatformImg(code: string) {
font
-
size
:
15
px
;
}
}
.
orderNumber
{
display
:
flex
;
align
-
items
:
center
;
justify
-
content
:
flex
-
start
;
}
<
/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