Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-inventory
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 07f089f5
authored
Dec 16, 2025
by
chenwq
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix(sendBack): 修复取消退款时错误删除数据的问题
使用filter替代splice来确保正确删除指定ID的数据项,并添加console.log调试信息
1 parent
a836c565
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
src/views/sendBack/add.vue
src/views/sendBack/add.vue
View file @
07f089f
...
@@ -532,7 +532,8 @@ export default {
...
@@ -532,7 +532,8 @@ export default {
// 取消
// 取消
cancelRefund
(
row
,
index
)
{
cancelRefund
(
row
,
index
)
{
this
.
chooseDataList
.
splice
(
index
,
1
)
console
.
log
(
row
,
index
)
this
.
chooseDataList
=
this
.
chooseDataList
.
filter
(
item
=>
item
.
id
!=
row
.
id
)
},
},
/** 保存/作废/提交申请之前,表单校验等
/** 保存/作废/提交申请之前,表单校验等
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment