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
2fa8cf1f
Commit
2fa8cf1f
authored
Jun 19, 2025
by
qinjianhui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 申请补胚
parent
6534b1b8
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
39 additions
and
20 deletions
+39
-20
components.d.ts
+0
-1
src/api/podUsOrder.ts
+36
-18
src/types/api/podUsOrder.ts
+3
-1
src/views/order/podUs/index.vue
+0
-0
No files found.
components.d.ts
View file @
2fa8cf1f
...
@@ -64,7 +64,6 @@ declare module 'vue' {
...
@@ -64,7 +64,6 @@ declare module 'vue' {
ShipmentOrderDetail
:
typeof
import
(
'./src/components/ShipmentOrderDetail.vue'
)[
'default'
]
ShipmentOrderDetail
:
typeof
import
(
'./src/components/ShipmentOrderDetail.vue'
)[
'default'
]
SplitDiv
:
typeof
import
(
'./src/components/splitDiv/splitDiv.vue'
)[
'default'
]
SplitDiv
:
typeof
import
(
'./src/components/splitDiv/splitDiv.vue'
)[
'default'
]
'Switch '
:
typeof
import
(
'./src/components/Form/Switch .vue'
)[
'default'
]
'Switch '
:
typeof
import
(
'./src/components/Form/Switch .vue'
)[
'default'
]
TableRightClickMenu
:
typeof
import
(
'./src/components/TableRightClickMenu.vue'
)[
'default'
]
TableView
:
typeof
import
(
'./src/components/TableView.vue'
)[
'default'
]
TableView
:
typeof
import
(
'./src/components/TableView.vue'
)[
'default'
]
UploadExcel
:
typeof
import
(
'./src/components/UploadExcel.vue'
)[
'default'
]
UploadExcel
:
typeof
import
(
'./src/components/UploadExcel.vue'
)[
'default'
]
UploadImage
:
typeof
import
(
'./src/components/UploadImage.vue'
)[
'default'
]
UploadImage
:
typeof
import
(
'./src/components/UploadImage.vue'
)[
'default'
]
...
...
src/api/podUsOrder.ts
View file @
2fa8cf1f
...
@@ -12,18 +12,6 @@ import {
...
@@ -12,18 +12,6 @@ import {
import
axios
from
'./axios'
import
axios
from
'./axios'
import
{
PodMakeOrderData
}
from
'@/types/api/podMakeOrder'
import
{
PodMakeOrderData
}
from
'@/types/api/podMakeOrder'
export
interface
AddressInfo
{
id
?:
string
receiverName
:
string
receiverPhone
:
string
receiverCountry
:
string
receiverProvince
:
string
receiverCity
:
string
receiverDistrict
:
string
receiverAddress1
:
string
receiverAddress2
:
string
receiverPostCode
:
string
}
// 同步收货地址
// 同步收货地址
export
function
syncReceiverAddress
(
data
:
number
[])
{
export
function
syncReceiverAddress
(
data
:
number
[])
{
return
axios
.
post
<
never
,
BaseRespData
<
never
>>
(
return
axios
.
post
<
never
,
BaseRespData
<
never
>>
(
...
@@ -112,7 +100,6 @@ export function updateExceptionOrderApi(data: number[]) {
...
@@ -112,7 +100,6 @@ export function updateExceptionOrderApi(data: number[]) {
},
},
)
)
}
}
export
function
changeExceptionOrderApi
(
export
function
changeExceptionOrderApi
(
url
:
string
,
url
:
string
,
ids
:
number
[],
ids
:
number
[],
...
@@ -166,13 +153,13 @@ export function productionQueryApi(id: number, podJomallOrderUsId: number) {
...
@@ -166,13 +153,13 @@ export function productionQueryApi(id: number, podJomallOrderUsId: number) {
}
}
export
function
printProductionOrderApi
(
orderIds
:
number
[])
{
export
function
printProductionOrderApi
(
orderIds
:
number
[])
{
return
axios
.
post
<
never
,
BaseRespData
<
string
>>
(
return
axios
.
post
<
never
,
BaseRespData
<
string
>>
(
'factory/podJomallOrderUs/printProducePdf'
,
'factory/podJomallOrder
Product
Us/printProducePdf'
,
orderIds
,
orderIds
,
)
)
}
}
export
function
printPrintOrderApi
(
orderIds
:
number
[])
{
export
function
printPrintOrderApi
(
orderIds
:
number
[])
{
return
axios
.
post
<
never
,
BaseRespData
<
string
>>
(
return
axios
.
post
<
never
,
BaseRespData
<
string
>>
(
'factory/podJomallOrderUs/printPickPdf'
,
'factory/podJomallOrder
Product
Us/printPickPdf'
,
{
{
ids
:
orderIds
.
join
(
','
),
ids
:
orderIds
.
join
(
','
),
},
},
...
@@ -180,7 +167,7 @@ export function printPrintOrderApi(orderIds: number[]) {
...
@@ -180,7 +167,7 @@ export function printPrintOrderApi(orderIds: number[]) {
}
}
export
function
printPickingOrderApi
(
orderIds
:
number
[])
{
export
function
printPickingOrderApi
(
orderIds
:
number
[])
{
return
axios
.
post
<
never
,
BaseRespData
<
string
>>
(
return
axios
.
post
<
never
,
BaseRespData
<
string
>>
(
'factory/podJomallOrderUs/pickingComplete'
,
'factory/podJomallOrder
Product
Us/pickingComplete'
,
{
{
ids
:
orderIds
.
join
(
','
),
ids
:
orderIds
.
join
(
','
),
},
},
...
@@ -280,10 +267,13 @@ export function loadWarehouseListApi() {
...
@@ -280,10 +267,13 @@ export function loadWarehouseListApi() {
'factoryWarehouseInfo/getAll'
,
'factoryWarehouseInfo/getAll'
,
)
)
}
}
export
function
refreshMaterialApi
(
orderIds
:
string
)
{
export
function
refreshMaterialApi
(
data
:
{
orderIds
?:
string
productIds
?:
string
})
{
return
axios
.
post
<
never
,
BaseRespData
<
never
>>
(
return
axios
.
post
<
never
,
BaseRespData
<
never
>>
(
'factory/podJomallOrderProductUs/refreshDesignImages '
,
'factory/podJomallOrderProductUs/refreshDesignImages '
,
{
orderIds
}
,
data
,
)
)
}
}
// 获取跟踪号
// 获取跟踪号
...
@@ -357,6 +347,28 @@ export function createLogisticsOrdersApi(orderIds: (string | number)[]) {
...
@@ -357,6 +347,28 @@ export function createLogisticsOrdersApi(orderIds: (string | number)[]) {
orderIds
,
orderIds
,
)
)
}
}
export
function
applyForReplenishmentApi
(
data
:
{
id
:
number
productId
:
number
factorySubOrderNumber
:
string
replenishmentNum
:
string
podJomallOrderUsStatus
:
string
}[],
)
{
return
axios
.
post
<
never
,
BaseRespData
<
never
>>
(
`factory/podJomallOrderProductUs/applyForReplenishment`
,
data
,
)
}
export
function
replenishmentSuccessApi
(
data
:
number
[])
{
return
axios
.
post
<
never
,
BaseRespData
<
never
>>
(
`factory/podJomallOrderProductUs/replenishmentComplete`
,
data
,
)
}
//确认生产
//确认生产
export
function
confirmProductApi
(
orderIds
:
(
string
|
number
)[])
{
export
function
confirmProductApi
(
orderIds
:
(
string
|
number
)[])
{
return
axios
.
post
<
never
,
BaseRespData
<
never
>>
(
return
axios
.
post
<
never
,
BaseRespData
<
never
>>
(
...
@@ -371,3 +383,9 @@ export function confirmProductToRiinApi(orderIds: (string | number)[]) {
...
@@ -371,3 +383,9 @@ export function confirmProductToRiinApi(orderIds: (string | number)[]) {
orderIds
,
orderIds
,
)
)
}
}
export
function
toOutOfStockApi
(
ids
:
number
[])
{
return
axios
.
post
<
never
,
BaseRespData
<
never
>>
(
`factory/podJomallOrderUs/pickingToStockOut`
,
ids
,
)
}
src/types/api/podUsOrder.ts
View file @
2fa8cf1f
...
@@ -19,7 +19,9 @@ export interface SearchForm {
...
@@ -19,7 +19,9 @@ export interface SearchForm {
endTime
:
string
|
null
endTime
:
string
|
null
exceptionHandling
:
number
|
undefined
exceptionHandling
:
number
|
undefined
platform
:
string
platform
:
string
productionClient
:
string
productionClient
:
string
warehouseId
:
string
|
number
thirdSkuCode
:
string
}
}
export
interface
PodUsOrderListData
{
export
interface
PodUsOrderListData
{
id
:
number
id
:
number
...
...
src/views/order/podUs/index.vue
View file @
2fa8cf1f
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