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
f13a0f82
Commit
f13a0f82
authored
Jun 05, 2025
by
qinjianhui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 转至待确认修改
parent
aea9635c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
10 deletions
+10
-10
src/api/podUsOrder.ts
+2
-2
src/views/order/podUs/index.vue
+8
-8
No files found.
src/api/podUsOrder.ts
View file @
f13a0f82
...
...
@@ -154,9 +154,9 @@ export function stockOutCheckApi(orderIds: number[]) {
`factory/podJomallOrderUs/replenishVerify?ids=
${
orderIds
.
join
(
','
)}
`
,
)
}
export
function
toBe
Confirmed
Api
(
orderIds
:
number
[])
{
export
function
toBe
Picking
Api
(
orderIds
:
number
[])
{
return
axios
.
get
<
never
,
BaseRespData
<
never
>>
(
`factory/podJomallOrderUs/updateStockOutOrderTo
WaitConfirmed
?ids=
${
orderIds
.
join
(
`factory/podJomallOrderUs/updateStockOutOrderTo
Picking
?ids=
${
orderIds
.
join
(
','
,
)}
`
,
)
...
...
src/views/order/podUs/index.vue
View file @
f13a0f82
...
...
@@ -130,7 +130,7 @@
<
ElButton
type
=
"success"
@
click
=
"confirmOrder"
>
确认
<
/ElButton
>
<
/span
>
<
span
v
-
if
=
"status === 'EXCEPTION_ORDER'"
class
=
"item"
>
<
ElButton
type
=
"success"
@
click
=
"updateOrder"
>
更新
<
/ElButton
>
<
ElButton
type
=
"success"
@
click
=
"updateOrder"
>
转至待确认
<
/ElButton
>
<
/span
>
<
span
v
-
if
=
"status === 'PICKING'"
class
=
"item"
>
<
ElButton
type
=
"primary"
@
click
=
"printProductionOrder"
>
...
...
@@ -175,8 +175,8 @@
<
ElButton
type
=
"warning"
@
click
=
"stockOutCheck"
>
补货校验
<
/ElButton
>
<
/span
>
<
span
v
-
if
=
"status === 'STOCK_OUT'"
class
=
"item"
>
<
ElButton
type
=
"success"
@
click
=
"toBe
Confirmed
"
>
转至待
确认
<
ElButton
type
=
"success"
@
click
=
"toBe
Picking
"
>
转至待
拣胚
<
/ElButton
>
<
/span
>
...
...
@@ -891,7 +891,7 @@ import {
printPickingOrderApi
,
printPrintOrderApi
,
stockOutCheckApi
,
toBe
Confirmed
Api
,
toBe
Picking
Api
,
loadWarehouseListApi
,
getLogisticsCalculation
,
refreshMaterialApi
,
...
...
@@ -1279,7 +1279,7 @@ const updateOrder = async () => {
return
ElMessage
.
warning
(
'请选择数据'
)
}
try
{
await
showConfirm
(
'确定
更新
吗?'
,
{
await
showConfirm
(
'确定
转至待确认
吗?'
,
{
confirmButtonText
:
'确认'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
,
...
...
@@ -1550,12 +1550,12 @@ const stockOutCheck = async () => {
console
.
error
(
'补货校验失败:'
,
error
)
}
}
const
toBe
Confirmed
=
async
()
=>
{
const
toBe
Picking
=
async
()
=>
{
if
(
selection
.
value
.
length
===
0
)
{
return
ElMessage
.
warning
(
'请选择数据'
)
}
try
{
await
ElMessageBox
.
confirm
(
'确定转至待
确认
吗?'
,
'提示'
,
{
await
ElMessageBox
.
confirm
(
'确定转至待
拣胚
吗?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
,
...
...
@@ -1564,7 +1564,7 @@ const toBeConfirmed = async () => {
return
}
try
{
const
res
=
await
toBe
Confirmed
Api
(
selection
.
value
.
map
((
item
)
=>
item
.
id
))
const
res
=
await
toBe
Picking
Api
(
selection
.
value
.
map
((
item
)
=>
item
.
id
))
if
(
res
.
code
!==
200
)
return
ElMessage
.
success
(
'操作成功'
)
search
()
...
...
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