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
e22d350f
Commit
e22d350f
authored
Jun 09, 2025
by
linjinhong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加loading
parent
c1efd740
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
3 deletions
+10
-3
src/views/logistics/declarationRule.vue
+2
-1
src/views/logistics/logisticsQuotation.vue
+8
-2
No files found.
src/views/logistics/declarationRule.vue
View file @
e22d350f
...
...
@@ -101,6 +101,7 @@ const [editForm, resetEditForm] = useValue<AddDeclarationRuleObj>({
currency
:
'USD'
,
})
const
{
loading
,
currentPage
,
pageSize
,
total
,
...
...
@@ -466,7 +467,7 @@ const tableConfig = ref<TableColumn[]>([
},
])
const
loading
=
ref
(
false
)
//
const loading = ref(false)
/**
* @description: 取消按钮
...
...
src/views/logistics/logisticsQuotation.vue
View file @
e22d350f
...
...
@@ -436,7 +436,7 @@ onMounted(() => {
})
async
function
search
()
{
loading
.
value
=
true
//
loading.value = true
const
isEqual
=
JSON
.
stringify
(
searchForm
.
value
)
===
JSON
.
stringify
({
logisticsIdList
:
[]
})
try
{
...
...
@@ -448,7 +448,7 @@ async function search() {
}
catch
(
e
)
{
console
.
log
(
e
)
}
finally
{
loading
.
value
=
false
//
loading.value = false
}
}
...
...
@@ -729,6 +729,7 @@ function handleSizeChange(val: number) {
}
async
function
getList
()
{
loading
.
value
=
true
try
{
const
{
data
}
=
await
getlogisticsQuotationPage
({
...
searchForm
.
value
,
...
...
@@ -741,10 +742,13 @@ async function getList() {
mergeCells
.
value
=
[]
}
catch
(
error
)
{
console
.
log
(
error
)
}
finally
{
loading
.
value
=
false
}
}
const
templeData
=
ref
<
LogisticsQuotation
[]
>
([])
async
function
getSearchList
()
{
loading
.
value
=
true
try
{
const
{
data
}
=
await
getlogisticsQuotationList
({
...
searchForm
.
value
,
...
...
@@ -784,6 +788,8 @@ async function getSearchList() {
mergeCells
.
value
=
newMergeCells
}
catch
(
error
)
{
console
.
log
(
error
)
}
finally
{
loading
.
value
=
false
}
}
...
...
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