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
a7c53064
Commit
a7c53064
authored
Aug 05, 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
3b4b818b
07643510
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
43 additions
and
1 deletions
+43
-1
src/api/podUsOrder.ts
+30
-0
src/types/api/podUsOrder.ts
+12
-1
src/views/order/podUs/PodMakeOrder.vue
+1
-0
src/views/order/podUs/index.vue
+0
-0
No files found.
src/api/podUsOrder.ts
View file @
a7c53064
...
...
@@ -9,6 +9,7 @@ import {
WarehouseListData
,
LogisticsData
,
ExportParams
,
InterceptStateGroupData
,
}
from
'@/types/api/podUsOrder'
import
axios
from
'./axios'
import
{
PodMakeOrderData
}
from
'@/types/api/podMakeOrder'
...
...
@@ -43,6 +44,13 @@ export function getOrderTabData() {
'/factory/podJomallOrderUs/findStateGroupList'
,
)
}
// 拦截状态数量
export
function
getgetInterceptStateGroupList
()
{
return
axios
.
get
<
never
,
BaseRespData
<
InterceptStateGroupData
>>
(
'factory/podJomallOrderUs/findInterceptStateGroupList'
,
)
}
export
function
getOrderList
(
params
:
SearchForm
,
currentPage
:
number
,
...
...
@@ -505,3 +513,25 @@ export function updateToWaitShipmentApi(params: {
params
,
)
}
// 拦截状态改变
export
function
interceptUpdateApi
(
params
:
{
orderIds
:
(
string
|
number
)[]
interceptStatus
:
number
})
{
return
axios
.
post
<
never
,
BaseRespData
<
never
>>
(
`factory/podJomallOrderUs/updateInterceptStatus`
,
params
,
)
}
// 驳回
export
function
rejectToApi
(
params
:
{
orderStatus
:
string
productList
:
ProductList
[]
reasonStr
:
string
})
{
return
axios
.
post
<
never
,
BaseRespData
<
never
>>
(
`factory/podJomallOrderUs/rejectTo`
,
params
,
)
}
src/types/api/podUsOrder.ts
View file @
a7c53064
...
...
@@ -6,7 +6,7 @@ export interface Tab {
export
interface
ExportParams
extends
SearchForm
{
idList
?:
number
[]
exportAll
:
boolean
status
?:
string
status
?:
string
}
export
interface
SearchForm
{
...
...
@@ -34,6 +34,7 @@ export interface SearchForm {
batchArrangeNumber
?:
string
craftCode
?:
string
thirdStockSku
?:
string
interceptStatus
?:
number
|
string
}
export
interface
PodUsOrderListData
{
id
:
number
...
...
@@ -127,6 +128,7 @@ export interface ProductList {
supplierProductNo
?:
string
|
null
replenishmentSumNum
?:
number
|
null
batchArrangeNumber
?:
string
|
null
interceptStatus
?:
number
|
null
}
export
interface
cardImages
{
title
:
string
...
...
@@ -201,3 +203,12 @@ export interface CraftListData {
craftName
:
string
craftCode
:
string
}
export
interface
InterceptStateGroupData
{
shipment
:
{
[
key
:
string
]:
number
}
production
:
{
[
key
:
string
]:
number
}
}
src/views/order/podUs/PodMakeOrder.vue
View file @
a7c53064
...
...
@@ -422,6 +422,7 @@ const renderItemBox = (bool: boolean) => {
if
(
renderLock
)
return
renderLock
=
true
let
boxItem
=
podBoxList
.
value
.
find
((
item
)
=>
item
.
box
===
boxIndex
.
value
)
if
(
!
boxItem
)
boxItem
=
{
data
:
{
productList
:
[]
}
}
const
{
data
}
=
boxItem
data
?.
productList
?.
forEach
((
el
)
=>
{
...
...
src/views/order/podUs/index.vue
View file @
a7c53064
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