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
2f9e7868
Commit
2f9e7868
authored
Jan 30, 2026
by
qinjianhui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 添加全局loading
parent
2b0719ea
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletions
+8
-1
src/views/supply/stockingOrder/index.vue
+8
-1
No files found.
src/views/supply/stockingOrder/index.vue
View file @
2f9e7868
...
@@ -711,6 +711,11 @@ const handleCancelOrder = async () => {
...
@@ -711,6 +711,11 @@ const handleCancelOrder = async () => {
inputPattern
:
/.+/
,
inputPattern
:
/.+/
,
inputErrorMessage
:
'取消原因不能为空'
,
inputErrorMessage
:
'取消原因不能为空'
,
}
).
then
(
async
({
value
}
:
{
value
:
string
}
)
=>
{
}
).
then
(
async
({
value
}
:
{
value
:
string
}
)
=>
{
const
loading
=
ElLoading
.
service
({
fullscreen
:
true
,
text
:
'操作中...'
,
background
:
'rgba(0, 0, 0, 0.3)'
,
}
)
try
{
try
{
const
res
=
await
cancelStockingOrderApi
(
selection
.
value
[
0
].
id
,
value
)
const
res
=
await
cancelStockingOrderApi
(
selection
.
value
[
0
].
id
,
value
)
if
(
res
.
code
!==
200
)
return
if
(
res
.
code
!==
200
)
return
...
@@ -718,7 +723,9 @@ const handleCancelOrder = async () => {
...
@@ -718,7 +723,9 @@ const handleCancelOrder = async () => {
onRefresh
()
onRefresh
()
}
catch
(
e
)
{
}
catch
(
e
)
{
console
.
error
(
e
)
console
.
error
(
e
)
}
}
finally
{
loading
.
close
()
}
}
)
}
)
}
}
const
addInternalTag
=
async
()
=>
{
const
addInternalTag
=
async
()
=>
{
...
...
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