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
fed10f37
Commit
fed10f37
authored
May 28, 2025
by
zhuzhequan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
确认
parent
68964eb2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
2 deletions
+17
-2
src/api/podUsOrder.ts
+17
-2
src/views/order/podUs/index.vue
+0
-0
No files found.
src/api/podUsOrder.ts
View file @
fed10f37
...
@@ -10,7 +10,13 @@ import {
...
@@ -10,7 +10,13 @@ import {
}
from
'@/types/api/podUsOrder'
}
from
'@/types/api/podUsOrder'
import
axios
from
'./axios'
import
axios
from
'./axios'
import
{
PodMakeOrderData
}
from
'@/types/api/podMakeOrder'
import
{
PodMakeOrderData
}
from
'@/types/api/podMakeOrder'
export
interface
LogisticsData
{
logisticsWayName
:
string
;
// 物流名称
warehouseName
:
string
;
// 发货仓库
status
:
boolean
;
logisticsWayCode
:
string
;
// 物流编码
partition
:
string
;
// 所在分区
}
export
function
getOrderTabData
()
{
export
function
getOrderTabData
()
{
return
axios
.
get
<
never
,
BaseRespData
<
Tab
[]
>>
(
return
axios
.
get
<
never
,
BaseRespData
<
Tab
[]
>>
(
'/factory/podJomallOrderUs/findStateGroupList'
,
'/factory/podJomallOrderUs/findStateGroupList'
,
...
@@ -44,11 +50,13 @@ export function getCardOrderList(
...
@@ -44,11 +50,13 @@ export function getCardOrderList(
},
},
)
)
}
}
export
function
confirmOrderApi
(
data
:
number
[],
productionClient
:
string
)
{
export
function
confirmOrderApi
(
data
:
number
[],
productionClient
:
string
,
type
:
string
,
logisticsTrialCalculation
?:
LogisticsData
)
{
return
axios
.
post
<
never
,
BaseRespData
<
never
>>
(
return
axios
.
post
<
never
,
BaseRespData
<
never
>>
(
'factory/podJomallOrderUs/confirmOrders'
,
'factory/podJomallOrderUs/confirmOrders'
,
{
{
ids
:
data
.
join
(
','
),
ids
:
data
.
join
(
','
),
type
,
logisticsTrialCalculation
,
productionClient
,
productionClient
,
},
},
)
)
...
@@ -226,6 +234,13 @@ export function updateRemarkApi(id: number, content: string) {
...
@@ -226,6 +234,13 @@ export function updateRemarkApi(id: number, content: string) {
{
id
,
content
},
{
id
,
content
},
)
)
}
}
export
function
getLogisticsCalculation
(
id
:
number
)
{
return
axios
.
get
<
never
,
BaseRespData
<
never
>>
(
'factory/podJomallOrderUs/getLogisticsCalculation'
,
{
params
:{
id
}
},
)
}
export
function
loadWarehouseListApi
()
{
export
function
loadWarehouseListApi
()
{
return
axios
.
get
<
never
,
BaseRespData
<
WarehouseListData
[]
>>
(
return
axios
.
get
<
never
,
BaseRespData
<
WarehouseListData
[]
>>
(
'factoryWarehouseInfo/getAll'
,
'factoryWarehouseInfo/getAll'
,
...
...
src/views/order/podUs/index.vue
View file @
fed10f37
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