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
d7bfb968
Commit
d7bfb968
authored
Jul 02, 2026
by
qinjianhui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 页面加载添加loading
parent
5d561315
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
src/views/warehouse/warehouseRuleSetting/index.vue
+4
-2
No files found.
src/views/warehouse/warehouseRuleSetting/index.vue
View file @
d7bfb968
...
@@ -70,7 +70,7 @@
...
@@ -70,7 +70,7 @@
</ElFormItem>
</ElFormItem>
</ElForm>
</ElForm>
</div>
</div>
<div
class=
"table-wrapper"
>
<div
v-loading=
"loading"
class=
"table-wrapper"
>
<TableView
<TableView
serial-numberable
serial-numberable
:selectionable=
"true"
:selectionable=
"true"
...
@@ -140,6 +140,7 @@ const handleStatusClick = (status: string) => {
...
@@ -140,6 +140,7 @@ const handleStatusClick = (status: string) => {
}
}
const
{
const
{
loading
,
currentPage
,
currentPage
,
pageSize
,
pageSize
,
total
,
total
,
...
@@ -176,6 +177,7 @@ const handleEdit = async (row?: WarehouseRuleSettingData) => {
...
@@ -176,6 +177,7 @@ const handleEdit = async (row?: WarehouseRuleSettingData) => {
const
res
=
await
getWarehouseRuleSettingDetailApi
(
row
.
id
)
const
res
=
await
getWarehouseRuleSettingDetailApi
(
row
.
id
)
if
(
res
.
code
!==
200
)
return
if
(
res
.
code
!==
200
)
return
editFormRef
.
value
.
resetFields
(
res
.
data
)
editFormRef
.
value
.
resetFields
(
res
.
data
)
editDialogVisible
.
value
=
true
}
catch
(
error
)
{
}
catch
(
error
)
{
console
.
error
(
error
)
console
.
error
(
error
)
}
finally
{
}
finally
{
...
@@ -183,8 +185,8 @@ const handleEdit = async (row?: WarehouseRuleSettingData) => {
...
@@ -183,8 +185,8 @@ const handleEdit = async (row?: WarehouseRuleSettingData) => {
}
}
}
else
{
}
else
{
await
editFormRef
.
value
.
resetFields
()
await
editFormRef
.
value
.
resetFields
()
editDialogVisible
.
value
=
true
}
}
editDialogVisible
.
value
=
true
}
}
const
getSharedSpuText
=
(
rows
:
WarehouseRuleSettingData
[])
=>
const
getSharedSpuText
=
(
rows
:
WarehouseRuleSettingData
[])
=>
[
[
...
...
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