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
dcca9a6e
Commit
dcca9a6e
authored
Jun 06, 2025
by
wuqian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
分拣配置
parent
4d24ae1e
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
68 additions
and
1 deletions
+68
-1
src/api/logistics.ts
+35
-1
src/router/index.ts
+7
-0
src/router/menu.ts
+5
-0
src/types/api/logistics.ts
+21
-0
src/views/logistics/sortingConfiguration.vue
+0
-0
No files found.
src/api/logistics.ts
View file @
dcca9a6e
...
@@ -9,7 +9,7 @@ import { AddDeclarationRuleObj } from '@/views/logistics/types/declarationRule'
...
@@ -9,7 +9,7 @@ import { AddDeclarationRuleObj } from '@/views/logistics/types/declarationRule'
import
{
LogisticsQuotation
}
from
'@/views/logistics/types/logisticsQuotation'
import
{
LogisticsQuotation
}
from
'@/views/logistics/types/logisticsQuotation'
import
{
LogisticsPartitionObj
}
from
'@/views/logistics/types/logisticsPartition'
import
{
LogisticsPartitionObj
}
from
'@/views/logistics/types/logisticsPartition'
import
{
ShippingAddressObj
}
from
'@/views/logistics/types/shippingAddress'
import
{
ShippingAddressObj
}
from
'@/views/logistics/types/shippingAddress'
import
{
IsortingInfo
}
from
'@/types/api/logistics'
export
interface
ILogisticsList
{
export
interface
ILogisticsList
{
code
:
string
code
:
string
basicsName
:
string
basicsName
:
string
...
@@ -433,3 +433,37 @@ export function logisticsCompanyAllCodelist() {
...
@@ -433,3 +433,37 @@ export function logisticsCompanyAllCodelist() {
'/logisticsCompany/allCodelist'
,
'/logisticsCompany/allCodelist'
,
)
)
}
}
export
function
getsortingConfigListApi
(
data
:
IsortingInfo
,
currentPage
:
number
,
pageSize
:
number
,
)
{
return
axios
.
post
<
never
,
BasePaginationData
<
IsortingInfo
>>
(
'logistics/sortingConfig/list_page'
,
{
...
data
,
currentPage
,
pageSize
,
},
)
}
export
function
createSortingApi
(
data
:
IsortingInfo
)
{
return
axios
.
post
<
never
,
BaseRespData
<
never
>>
(
'logistics/sortingConfig/add'
,
data
,
)
}
export
function
updateSortingApi
(
data
:
IsortingInfo
)
{
return
axios
.
post
<
never
,
BaseRespData
<
never
>>
(
'logistics/sortingConfig/update'
,
data
,
)
}
export
function
deleteSortingApi
(
ids
:
string
)
{
return
axios
.
get
<
never
,
BaseRespData
<
never
>>
(
'logistics/sortingConfig/delete'
,
{
params
:
{
ids
},
},
)
}
src/router/index.ts
View file @
dcca9a6e
...
@@ -176,6 +176,13 @@ const router = createRouter({
...
@@ -176,6 +176,13 @@ const router = createRouter({
},
},
component
:
()
=>
import
(
'@/views/logistics/logisticsCalculate.vue'
),
component
:
()
=>
import
(
'@/views/logistics/logisticsCalculate.vue'
),
},
},
{
path
:
'/logistics/sortingConfiguration'
,
meta
:
{
title
:
'分拣配置'
,
},
component
:
()
=>
import
(
'@/views/logistics/sortingConfiguration.vue'
),
},
{
{
path
:
'/warehouse/manage'
,
path
:
'/warehouse/manage'
,
meta
:
{
meta
:
{
...
...
src/router/menu.ts
View file @
dcca9a6e
...
@@ -56,6 +56,11 @@ const menu: MenuItem[] = [
...
@@ -56,6 +56,11 @@ const menu: MenuItem[] = [
id
:
6
,
id
:
6
,
label
:
'运费试算'
,
label
:
'运费试算'
,
},
},
{
index
:
'/logistics/sortingConfiguration'
,
id
:
7
,
label
:
'分拣配置'
,
},
],
],
},
},
{
{
...
...
src/types/api/logistics.ts
0 → 100644
View file @
dcca9a6e
export
interface
Ilogistics
{
id
:
number
name
:
string
warehouseId
:
number
warehouseName
:
string
uinuinWarehouseId
:
number
|
null
companyId
:
number
|
null
company
:
string
|
null
serviceCode
:
string
siteUrl
:
string
status
:
number
factoryId
:
number
createTime
:
string
updateTime
:
string
|
null
}
export
interface
IsortingInfo
{
id
?:
number
sortingArea
:
number
|
null
sortingAreaName
?:
string
|
null
serviceCode
:
string
|
null
}
src/views/logistics/sortingConfiguration.vue
0 → 100644
View file @
dcca9a6e
This diff is collapsed.
Click to expand it.
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