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
b86669c3
Commit
b86669c3
authored
Sep 03, 2025
by
wusiyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 新增超级播种墙配货
parent
7b2e3b5e
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
93 additions
and
1 deletions
+93
-1
src/api/podCnOrder.ts
+62
-0
src/types/api/auth.ts
+1
-0
src/views/order/podCN/SuperPodMakeOrder.vue
+0
-0
src/views/order/podCN/index.vue
+30
-1
No files found.
src/api/podCnOrder.ts
View file @
b86669c3
...
...
@@ -33,6 +33,8 @@ export function syncReceiverAddress(data: number[]) {
data
,
)
}
// 播种墙配货 扫码放入箱子
export
function
getPackingCnDataApi
(
code
:
string
,
factoryNo
:
number
,
...
...
@@ -51,6 +53,25 @@ export function getPackingCnDataApi(
},
)
}
// 超级播种墙配货 扫码放入箱子
export
function
getSuperPackingCnDataApi
(
code
:
string
,
factoryNo
:
number
,
box
:
number
|
null
,
)
{
return
axios
.
get
<
never
,
BaseRespData
<
PodMakeOrderData
>>
(
'super/factory/podJomallOrderCn/getPodBoxDetailsBySkuOrNo'
,
{
params
:
{
podJomallCnNo
:
code
,
box
,
factoryNo
,
},
},
)
}
export
function
refreshAddressApi
(
idList
:
number
[])
{
return
axios
.
post
<
never
,
BaseRespData
<
never
>>
(
'factory/podJomallOrderCn/syncReceiverAddress'
,
...
...
@@ -237,6 +258,7 @@ export function getPackingDataApi(
},
)
}
// 播种墙配货 获取pod订单拣货箱子详情
export
function
getPodBoxListApi
(
factoryNo
:
number
|
string
,
warehouseId
:
number
|
string
,
...
...
@@ -249,6 +271,15 @@ export function getPodBoxListApi(
)
}
// 超级播种墙配货 获取pod订单拣货箱子详情
export
function
getSuperPodBoxListApi
(
factoryNo
:
number
|
string
)
{
return
axios
.
get
<
never
,
BaseRespData
<
PodMakeOrderData
[]
>>
(
'super/factory/podJomallOrderCn/getSuperPodBoxOrderDetails'
,
{
params
:
{
factoryNo
}
},
)
}
// 播种墙配货 打单完成
export
function
submitInspectionApi
(
data
:
{
id
:
number
;
version
?:
number
}[],
boxIndex
:
number
|
null
,
...
...
@@ -261,6 +292,20 @@ export function submitInspectionApi(
},
)
}
// 超级播种墙配货 打单完成
export
function
submitSuperInspectionApi
(
data
:
{
id
:
number
;
version
?:
number
}[],
boxIndex
:
number
|
null
,
)
{
return
axios
.
post
<
never
,
BaseRespData
<
never
>>
(
`super/factory/podJomallOrderCn/podPrintOrderComplete?box=
${
boxIndex
}
`
,
{
orderParamList
:
data
,
},
)
}
// 播种墙配货 根据箱子删除pod订单拣货箱子详情
export
function
clearBoxApi
(
factoryNo
:
number
,
box
:
number
|
null
,
...
...
@@ -273,11 +318,28 @@ export function clearBoxApi(
},
)
}
// 超级播种墙配货 根据箱子删除pod订单拣货箱子详情
export
function
clearSuperBoxApi
(
factoryNo
:
number
,
box
:
number
|
null
)
{
return
axios
.
get
<
never
,
BaseRespData
<
never
>>
(
'super/factory/podJomallOrderCn/delPodBoxOrderDetailsByBox'
,
{
params
:
{
factoryNo
,
box
},
},
)
}
// 播种墙配货 删除pod订单拣货箱子详情
export
function
clearAllBoxApi
()
{
return
axios
.
get
<
never
,
BaseRespData
<
never
>>
(
'factory/podJomallOrderCn/delPodBoxOrderDetails'
,
)
}
// 超级播种墙配货 删除pod订单拣货箱子详情
export
function
clearSuperAllBoxApi
()
{
return
axios
.
get
<
never
,
BaseRespData
<
never
>>
(
'super/factory/podJomallOrderCn/delPodBoxOrderDetails'
,
)
}
export
function
updateRemarkApi
(
id
:
number
,
content
:
string
)
{
return
axios
.
post
<
never
,
BaseRespData
<
never
>>
(
'factory/podJomallOrderCn/addRemark'
,
...
...
src/types/api/auth.ts
View file @
b86669c3
...
...
@@ -37,4 +37,5 @@ export interface Factory {
goodsNumber
:
number
authorizeNumber
:
number
status
:
number
dropshipping
?:
boolean
}
src/views/order/podCN/SuperPodMakeOrder.vue
0 → 100644
View file @
b86669c3
This diff is collapsed.
Click to expand it.
src/views/order/podCN/index.vue
View file @
b86669c3
...
...
@@ -456,6 +456,14 @@
播种墙配货
</ElButton>
</span>
<span
v-if=
"status === 'WAIT_SHIPMENT' && isSuperFactory"
class=
"item"
>
<ElButton
type=
"danger"
@
click=
"printSuperPodOrder"
>
超级播种墙配货
</ElButton>
</span>
<span
v-if=
"status === 'CREATE_LOGISTICS'"
class=
"item"
>
<ElButton
type=
"warning"
@
click=
"logisticsToPicking"
>
转至待排单
...
...
@@ -1992,7 +2000,14 @@
:
print
-
order
=
"printOrder"
:
warehouse
-
list
=
"warehouseList"
@
set
-
printer
=
"handlePrinterChange"
@
set
-
warehouseId
=
"handleWarehouseIdChange"
@
set
-
warehouse
-
id
=
"handleWarehouseIdChange"
@
refresh
=
"onFastRefresh"
/>
<
SuperPodMakeOrder
v
-
model
=
"superPodOrderVisible"
:
print
-
order
=
"printOrder"
:
warehouse
-
list
=
"warehouseList"
@
set
-
printer
=
"handlePrinterChange"
@
refresh
=
"onFastRefresh"
/>
<
ElDialog
...
...
@@ -2328,6 +2343,7 @@ import { computed, onMounted, ref, nextTick, reactive } from 'vue'
import
FastProduction
from
'./FastProduction.vue'
import
{
filePath
}
from
'@/api/axios'
import
PodMakeOrder
from
'./PodMakeOrder.vue'
import
SuperPodMakeOrder
from
'./SuperPodMakeOrder.vue'
import
{
OrderData
}
from
'@/types/api/podMakeOrder'
import
useLodop
,
{
LODOPObject
}
from
'@/utils/hooks/useLodop'
import
dayjs
from
'dayjs'
...
...
@@ -2355,6 +2371,10 @@ declare global {
responseBody
?:
unknown
}
}
const
isSuperFactory
:
boolean
=
JSON
.
parse
(
localStorage
.
getItem
(
'user'
)
||
'{
}
'
)
.
factory
.
dropShipping
const
tabsNav
=
ref
<
Tab
[]
>
()
const
isAuto
=
ref
(
true
)
...
...
@@ -4139,6 +4159,15 @@ const printPodOrder = async () => {
podOrderVisible
.
value
=
true
}
const
superPodOrderVisible
=
ref
(
false
)
const
printSuperPodOrder
=
async
()
=>
{
const
lodop
=
getCLodop
(
null
,
null
)
if
(
!
lodop
)
return
sheetPrinter
.
value
=
lodop
.
GET_PRINTER_NAME
(
0
)
superPodOrderVisible
.
value
=
true
}
/**
* @description: 创建物流、获取跟踪号、获取打印面单、更改物流、取消物流订单
*/
...
...
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