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
06246c16
Commit
06246c16
authored
Feb 06, 2026
by
wuqian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
订单驳回去掉Loading
parent
70fa47ef
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
39 additions
and
24 deletions
+39
-24
src/views/order/podCN/index.vue
+31
-17
src/views/order/podUs/index.vue
+8
-7
No files found.
src/views/order/podCN/index.vue
View file @
06246c16
...
@@ -1487,13 +1487,15 @@
...
@@ -1487,13 +1487,15 @@
</div>
</div>
</div>
</div>
<div
class=
"goods-item-info"
>
<div
class=
"goods-item-info"
>
<div
class=
"goods-item-info-item"
>
<div
class=
"goods-item-info-item"
>
<span
class=
"goods-item-info-item-label"
<span
class=
"goods-item-info-item-label"
>
英文报关名称:
</span
>
英文报关名称:
</span
>
>
<span
:title=
"item.customsNameEnglish"
class=
"goods-item-info-item-value"
>
<span
:title=
"item.customsNameEnglish"
class=
"goods-item-info-item-value"
>
{{ item.customsNameEnglish }}
{{ item.customsNameEnglish }}
</span>
</span>
</div>
</div>
...
@@ -1501,7 +1503,10 @@
...
@@ -1501,7 +1503,10 @@
<span
class=
"goods-item-info-item-label"
<span
class=
"goods-item-info-item-label"
>
中文报关名称:
</span
>
中文报关名称:
</span
>
>
<span
:title=
"item.customsNameChinese"
class=
"goods-item-info-item-value"
>
<span
:title=
"item.customsNameChinese"
class=
"goods-item-info-item-value"
>
{{ item.customsNameChinese }}
{{ item.customsNameChinese }}
</span>
</span>
</div>
</div>
...
@@ -1509,7 +1514,10 @@
...
@@ -1509,7 +1514,10 @@
<span
class=
"goods-item-info-item-label"
<span
class=
"goods-item-info-item-label"
>
申报重量(g):
</span
>
申报重量(g):
</span
>
>
<span
:title=
"item.customsWeight"
class=
"goods-item-info-item-value"
>
<span
:title=
"item.customsWeight"
class=
"goods-item-info-item-value"
>
{{ item.customsWeight }}
{{ item.customsWeight }}
</span>
</span>
</div>
</div>
...
@@ -1517,12 +1525,14 @@
...
@@ -1517,12 +1525,14 @@
<span
class=
"goods-item-info-item-label"
<span
class=
"goods-item-info-item-label"
>
申报价值($):
</span
>
申报价值($):
</span
>
>
<span
:title=
"item.customsValue"
class=
"goods-item-info-item-value"
>
<span
:title=
"item.customsValue"
class=
"goods-item-info-item-value"
>
{{ item.customsValue }}
{{ item.customsValue }}
</span>
</span>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -3619,11 +3629,11 @@ const rejectOrder = async (type: string) => {
...
@@ -3619,11 +3629,11 @@ const rejectOrder = async (type: string) => {
if
(
selection
.
value
.
length
===
0
&&
cardSelection
.
value
.
length
===
0
)
{
if
(
selection
.
value
.
length
===
0
&&
cardSelection
.
value
.
length
===
0
)
{
return
ElMessage
.
warning
(
'请选择数据'
)
return
ElMessage
.
warning
(
'请选择数据'
)
}
}
const
loading
=
ElLoading
.
service
({
//
const loading = ElLoading.service(
{
fullscreen
:
true
,
//
fullscreen: true,
text
:
'操作中...'
,
//
text: '操作中...',
background
:
'rgba(0, 0, 0, 0.3)'
,
//
background: 'rgba(0, 0, 0, 0.3)',
}
)
//
}
)
try
{
try
{
const
{
value
}
=
await
ElMessageBox
.
prompt
(
'驳回确认'
,
{
const
{
value
}
=
await
ElMessageBox
.
prompt
(
'驳回确认'
,
{
...
@@ -3657,9 +3667,10 @@ const rejectOrder = async (type: string) => {
...
@@ -3657,9 +3667,10 @@ const rejectOrder = async (type: string) => {
}
}
}
catch
(
e
)
{
}
catch
(
e
)
{
console
.
log
(
e
)
console
.
log
(
e
)
}
finally
{
loading
.
close
()
}
}
// finally
{
// loading.close()
//
}
}
}
// 拦截分页
// 拦截分页
const
handleInterceptionCommand
=
(
current
:
number
,
command
:
number
)
=>
{
const
handleInterceptionCommand
=
(
current
:
number
,
command
:
number
)
=>
{
...
@@ -5117,7 +5128,6 @@ const getOrderByIdApi = async (type: string) => {
...
@@ -5117,7 +5128,6 @@ const getOrderByIdApi = async (type: string) => {
Fn
:
(
orderIds
:
(
string
|
number
)[])
=>
Promise
<
BaseRespData
<
never
>>
Fn
:
(
orderIds
:
(
string
|
number
)[])
=>
Promise
<
BaseRespData
<
never
>>
}
}
}
=
{
}
=
{
getTrackingNumber
:
{
getTrackingNumber
:
{
message
:
'获取跟踪号'
,
message
:
'获取跟踪号'
,
Fn
:
getTrackingNumberApi
,
Fn
:
getTrackingNumberApi
,
...
@@ -5578,7 +5588,9 @@ const getRowStyle = ({ row }: { row: PodCnOrderListData }) => {
...
@@ -5578,7 +5588,9 @@ const getRowStyle = ({ row }: { row: PodCnOrderListData }) => {
// 获取行类名方法
// 获取行类名方法
const
getRowClassName
=
({
row
}
:
{
row
:
PodCnOrderListData
}
)
=>
{
const
getRowClassName
=
({
row
}
:
{
row
:
PodCnOrderListData
}
)
=>
{
return
selection
.
value
.
some
((
item
)
=>
item
.
id
===
row
.
id
)
?
'row-selected'
:
''
return
selection
.
value
.
some
((
item
)
=>
item
.
id
===
row
.
id
)
?
'row-selected'
:
''
}
}
const
warehouseList
=
ref
<
WarehouseListData
[]
>
([])
const
warehouseList
=
ref
<
WarehouseListData
[]
>
([])
const
loadWarehouseList
=
async
()
=>
{
const
loadWarehouseList
=
async
()
=>
{
...
@@ -6082,12 +6094,14 @@ const handleCreateLogistic = () => {
...
@@ -6082,12 +6094,14 @@ const handleCreateLogistic = () => {
}
)
}
)
}
}
const
handleShowResult
=
(
data
:
Array
<
{
const
handleShowResult
=
(
data
:
Array
<
{
id
:
string
|
number
id
:
string
|
number
status
:
boolean
status
:
boolean
factoryOrderNumber
?:
string
factoryOrderNumber
?:
string
message
:
string
message
:
string
}
>
)
=>
{
}
>
,
)
=>
{
resultInfo
.
value
=
data
||
[]
resultInfo
.
value
=
data
||
[]
if
(
resultInfo
.
value
.
length
>
0
)
{
if
(
resultInfo
.
value
.
length
>
0
)
{
resultRefs
.
value
?.
showDialog
()
resultRefs
.
value
?.
showDialog
()
...
...
src/views/order/podUs/index.vue
View file @
06246c16
...
@@ -5596,11 +5596,11 @@ const rejectOrder = async (type: string) => {
...
@@ -5596,11 +5596,11 @@ const rejectOrder = async (type: string) => {
if
(
selection
.
value
.
length
===
0
&&
cardSelection
.
value
.
length
===
0
)
{
if
(
selection
.
value
.
length
===
0
&&
cardSelection
.
value
.
length
===
0
)
{
return
ElMessage
.
warning
(
'请选择数据'
)
return
ElMessage
.
warning
(
'请选择数据'
)
}
}
const
loading
=
ElLoading
.
service
({
//
const loading = ElLoading.service(
{
fullscreen
:
true
,
//
fullscreen: true,
text
:
'操作中...'
,
//
text: '操作中...',
background
:
'rgba(0, 0, 0, 0.3)'
,
//
background: 'rgba(0, 0, 0, 0.3)',
}
)
//
}
)
try
{
try
{
const
{
value
}
=
await
ElMessageBox
.
prompt
(
'驳回确认'
,
{
const
{
value
}
=
await
ElMessageBox
.
prompt
(
'驳回确认'
,
{
...
@@ -5634,9 +5634,10 @@ const rejectOrder = async (type: string) => {
...
@@ -5634,9 +5634,10 @@ const rejectOrder = async (type: string) => {
}
}
}
catch
(
e
)
{
}
catch
(
e
)
{
console
.
log
(
e
)
console
.
log
(
e
)
}
finally
{
loading
.
close
()
}
}
// finally
{
// loading.close()
//
}
}
}
const
handleStockOut
=
async
(
row
:
PodUsOrderListData
)
=>
{
const
handleStockOut
=
async
(
row
:
PodUsOrderListData
)
=>
{
...
...
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