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
cfdabd67
Commit
cfdabd67
authored
Mar 27, 2026
by
qinjianhui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 申请补胚功能
parent
8fd0e150
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
5 deletions
+10
-5
src/api/factoryOrderNew.ts
+2
-2
src/views/order/factoryOrderNew/index.vue
+8
-3
No files found.
src/api/factoryOrderNew.ts
View file @
cfdabd67
...
...
@@ -173,8 +173,8 @@ export function printPickOrderApi(ids: (number | string)[]) {
export
function
applyReplenishApi
(
ids
:
(
number
|
string
)[])
{
return
axios
.
post
<
never
,
BaseRespData
<
void
>>
(
'factory/
orderNew/applyReplenish
'
,
{
ids
}
,
'factory/
podOrderOperation/applyForReplenishment
'
,
ids
,
)
}
...
...
src/views/order/factoryOrderNew/index.vue
View file @
cfdabd67
...
...
@@ -660,7 +660,6 @@
>
<
/span
>
<
/div
>
<!--
======
挂起状态
Tab
======
-->
<
div
v
-
if
=
"status === 'SUSPEND'"
class
=
"status-subtabs"
>
<
div
v
-
for
=
"tab in suspendedTabs"
...
...
@@ -1709,6 +1708,11 @@ const handleCancelOrder = () => {
}
const
handleRefreshProductInfo
=
async
()
=>
{
if
(
!
ensureSelection
())
return
try
{
await
ElMessageBox
.
confirm
(
'确定刷新商品信息吗?'
,
'提示'
,
{
type
:
'warning'
}
)
}
catch
{
return
}
const
loading
=
ElLoading
.
service
({
fullscreen
:
true
,
text
:
'操作中...'
,
...
...
@@ -2090,7 +2094,8 @@ const handleApplyReplenish = async () => {
background
:
'rgba(0, 0, 0, 0.3)'
,
}
)
try
{
await
applyReplenishApi
(
getSelectedIds
())
const
res
=
await
applyReplenishApi
(
getSelectedIds
())
if
(
res
.
code
!==
200
)
return
ElMessage
.
success
(
'申请补胚成功'
)
refreshCurrentView
({
isRefreshTree
:
true
}
)
}
catch
(
e
)
{
...
...
@@ -2186,7 +2191,7 @@ const handleSyncAddress = async () => {
}
const
handleReplenishComplete
=
()
=>
{
if
(
!
ensureSelection
())
return
ElMessage
.
info
(
'补胚完成功能待集成'
)
pickCompleteDialogRef
.
value
?.
open
(
getSelectedIds
()
)
}
const
handleReplenishFail
=
()
=>
{
if
(
!
ensureSelection
())
return
...
...
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