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
7d7ae901
Commit
7d7ae901
authored
Jan 06, 2026
by
zhuzhequan
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' into 'master'
Dev See merge request
!137
parents
6fcddd41
283a7dcf
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
14 deletions
+12
-14
src/api/podUsOrder.ts
+2
-2
src/views/order/podUs/PodMakeOrder.vue
+10
-12
No files found.
src/api/podUsOrder.ts
View file @
7d7ae901
...
@@ -263,14 +263,14 @@ export function getPodBoxListApi(
...
@@ -263,14 +263,14 @@ export function getPodBoxListApi(
}
}
export
function
submitInspectionApi
(
export
function
submitInspectionApi
(
data
:
{
id
:
number
;
version
?:
number
}[]
,
orderId
:
number
|
undefined
,
boxIndex
:
number
|
null
,
boxIndex
:
number
|
null
,
warehouseId
:
number
|
string
,
warehouseId
:
number
|
string
,
)
{
)
{
return
axios
.
post
<
never
,
BaseRespData
<
never
>>
(
return
axios
.
post
<
never
,
BaseRespData
<
never
>>
(
`factory/podJomallOrderUs/podPrintOrderComplete?box=
${
boxIndex
}
&warehouseId=
${
warehouseId
}
`
,
`factory/podJomallOrderUs/podPrintOrderComplete?box=
${
boxIndex
}
&warehouseId=
${
warehouseId
}
`
,
{
{
order
ParamList
:
data
,
order
Id
,
},
},
)
)
}
}
...
...
src/views/order/podUs/PodMakeOrder.vue
View file @
7d7ae901
...
@@ -146,13 +146,14 @@
...
@@ -146,13 +146,14 @@
<span
class=
"box-top-item-box-index-text"
>
号箱
</span>
<span
class=
"box-top-item-box-index-text"
>
号箱
</span>
<span
style=
"font-size: 30px"
>
放入第
</span>
<span
style=
"font-size: 30px"
>
放入第
</span>
<div
class=
"box-top-item-box-index-number"
>
<div
class=
"box-top-item-box-index-number"
:style=
"{color:podOrderDetailsData?.pickingNumber ===
podOrderDetailsData?.purchaseNumber ? 'rgb(0, 255, 0)' : ''}"
>
{{ podOrderDetailsData?.pickingNumber }}
{{ podOrderDetailsData?.pickingNumber }}
</div>
</div>
<span
style=
"font-size: 30px"
>
件商品
</span>
<span
style=
"font-size: 30px"
>
件商品
</span>
</div>
</div>
<div
v-else
class=
"box-top-item-box-index-text"
>
<div
v-else
class=
"box-top-item-box-index-text"
>
单件商品
订单
,不占用播种墙
单件商品
<span
style=
"color: rgb(0, 255, 0)"
>
(配齐)
</span>
,不占用播种墙
</div>
</div>
<div
class=
"box-top-item-status"
>
<div
class=
"box-top-item-status"
>
<span
<span
...
@@ -180,7 +181,7 @@
...
@@ -180,7 +181,7 @@
<ElButton
type=
"success"
@
click=
"handlePrintFinish"
<ElButton
type=
"success"
@
click=
"handlePrintFinish"
>
打单完成
</ElButton
>
打单完成
</ElButton
>
>
<ElButton
type=
"danger"
@
click=
"handleClearBox"
>
清空箱子
</ElButton>
<ElButton
:disabled=
"boxIndex === 0"
type=
"danger"
@
click=
"handleClearBox"
>
清空箱子
</ElButton>
</div>
</div>
<div
<div
v-if=
"
v-if=
"
...
@@ -705,17 +706,9 @@ const submitInspection = async (callback: () => void) => {
...
@@ -705,17 +706,9 @@ const submitInspection = async (callback: () => void) => {
if
(
!
factoryNo
)
{
if
(
!
factoryNo
)
{
return
return
}
}
const
data
=
podOrderDetailsData
.
value
?.
id
?
[
{
id
:
podOrderDetailsData
.
value
.
id
,
version
:
podOrderDetailsData
.
value
?.
version
,
},
]
:
[]
try
{
try
{
const
res
=
await
submitInspectionApi
(
const
res
=
await
submitInspectionApi
(
data
,
podOrderDetailsData
.
value
?.
id
,
boxIndex
.
value
,
boxIndex
.
value
,
warehouseId
.
value
,
warehouseId
.
value
,
)
)
...
@@ -906,6 +899,10 @@ const handleBoxClick = (item: PodMakeOrderData) => {
...
@@ -906,6 +899,10 @@ const handleBoxClick = (item: PodMakeOrderData) => {
}
}
const
handleClearBox
=
async
()
=>
{
const
handleClearBox
=
async
()
=>
{
try
{
try
{
if
(
!
boxIndex
.
value
){
ElMessage
.
warning
(
'请选择箱子'
)
return
}
await
ElMessageBox
.
alert
(
'确定清空当前箱子吗?'
,
'提示'
,
{
await
ElMessageBox
.
alert
(
'确定清空当前箱子吗?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
cancelButtonText
:
'取消'
,
...
@@ -917,6 +914,7 @@ const handleClearBox = async () => {
...
@@ -917,6 +914,7 @@ const handleClearBox = async () => {
if
(
!
factoryNo
)
{
if
(
!
factoryNo
)
{
return
return
}
}
try
{
try
{
const
res
=
await
clearBoxApi
(
const
res
=
await
clearBoxApi
(
factoryNo
,
factoryNo
,
...
...
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