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
6a11175e
Commit
6a11175e
authored
Feb 09, 2026
by
wuqian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ts修复
parent
d5ac8e57
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
src/views/order/podCN/index.vue
+3
-2
src/views/order/podUs/index.vue
+3
-2
No files found.
src/views/order/podCN/index.vue
View file @
6a11175e
...
@@ -3626,7 +3626,7 @@ const rejectOrder = async (type: string) => {
...
@@ -3626,7 +3626,7 @@ const rejectOrder = async (type: string) => {
if
(
!
targets
.
length
)
return
ElMessage
.
warning
(
'请选择数据'
)
if
(
!
targets
.
length
)
return
ElMessage
.
warning
(
'请选择数据'
)
let
reason
=
''
let
reason
=
''
try
{
try
{
const
{
value
}
=
await
ElMessageBox
.
prompt
<
string
>
(
'驳回确认'
,
{
const
{
value
}
=
await
ElMessageBox
.
prompt
(
'驳回确认'
,
{
confirmButtonText
:
'确认'
,
confirmButtonText
:
'确认'
,
cancelButtonText
:
'取消'
,
cancelButtonText
:
'取消'
,
inputType
:
'textarea'
,
inputType
:
'textarea'
,
...
@@ -3652,7 +3652,8 @@ const rejectOrder = async (type: string) => {
...
@@ -3652,7 +3652,8 @@ const rejectOrder = async (type: string) => {
}
)
}
)
if
(
res
.
code
!==
200
)
return
if
(
res
.
code
!==
200
)
return
resultInfo
.
value
=
(
res
.
data
||
[]).
filter
((
item
)
=>
!
item
.
status
)
resultInfo
.
value
=
res
.
data
resultInfo
.
value
=
resultInfo
.
value
.
filter
((
item
)
=>
!
item
.
status
)
if
(
!
resultInfo
.
value
.
length
)
{
if
(
!
resultInfo
.
value
.
length
)
{
ElMessage
.
success
(
'操作成功'
)
ElMessage
.
success
(
'操作成功'
)
search
()
search
()
...
...
src/views/order/podUs/index.vue
View file @
6a11175e
...
@@ -5600,7 +5600,7 @@ const rejectOrder = async (type: string) => {
...
@@ -5600,7 +5600,7 @@ const rejectOrder = async (type: string) => {
if
(
!
targets
.
length
)
return
ElMessage
.
warning
(
'请选择数据'
)
if
(
!
targets
.
length
)
return
ElMessage
.
warning
(
'请选择数据'
)
let
reason
=
''
let
reason
=
''
try
{
try
{
const
{
value
}
=
await
ElMessageBox
.
prompt
<
string
>
(
'驳回确认'
,
{
const
{
value
}
=
await
ElMessageBox
.
prompt
(
'驳回确认'
,
{
confirmButtonText
:
'确认'
,
confirmButtonText
:
'确认'
,
cancelButtonText
:
'取消'
,
cancelButtonText
:
'取消'
,
inputType
:
'textarea'
,
inputType
:
'textarea'
,
...
@@ -5625,7 +5625,8 @@ const rejectOrder = async (type: string) => {
...
@@ -5625,7 +5625,8 @@ const rejectOrder = async (type: string) => {
reasonStr
:
reason
,
reasonStr
:
reason
,
}
)
}
)
if
(
res
.
code
!==
200
)
return
if
(
res
.
code
!==
200
)
return
resultInfo
.
value
=
(
res
.
data
||
[]).
filter
((
item
)
=>
!
item
.
status
)
resultInfo
.
value
=
res
.
data
resultInfo
.
value
=
resultInfo
.
value
.
filter
((
item
)
=>
!
item
.
status
)
if
(
!
resultInfo
.
value
.
length
)
{
if
(
!
resultInfo
.
value
.
length
)
{
ElMessage
.
success
(
'操作成功'
)
ElMessage
.
success
(
'操作成功'
)
search
()
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