Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
JSH ERP
Commits
15ee7455
Commit
15ee7455
authored
Nov 09, 2021
by
季圣华
Browse files
优化商品类别和机构的删除操作
parent
dbee4a26
Changes
2
Hide whitespace changes
Inline
Side-by-side
jshERP-web/src/views/material/MaterialCategoryList.vue
View file @
15ee7455
...
...
@@ -244,7 +244,7 @@ export default {
var
that
=
this
this
.
$confirm
({
title
:
'
确认删除
'
,
content
:
'
确定要删除所选中的
'
+
this
.
checkedKeys
.
length
+
'
条数据
,以及子节点数据
吗?
'
,
content
:
'
确定要删除所选中的
'
+
this
.
checkedKeys
.
length
+
'
条数据吗?
'
,
onOk
:
function
()
{
deleteAction
(
that
.
url
.
deleteBatch
,
{
ids
:
ids
}).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
...
...
jshERP-web/src/views/system/OrganizationList.vue
View file @
15ee7455
...
...
@@ -244,7 +244,7 @@ export default {
var
that
=
this
this
.
$confirm
({
title
:
'
确认删除
'
,
content
:
'
确定要删除所选中的
'
+
this
.
checkedKeys
.
length
+
'
条数据
,以及子节点数据吗
?
'
,
content
:
'
确定要删除所选中的
'
+
this
.
checkedKeys
.
length
+
'
条数据?
'
,
onOk
:
function
()
{
deleteAction
(
that
.
url
.
deleteBatch
,
{
ids
:
ids
}).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
...
...
@@ -389,7 +389,7 @@ export default {
var
that
=
this
this
.
$confirm
({
title
:
'
确认删除
'
,
content
:
'
确定要删除此机构
以及子节点数据
吗?
'
,
content
:
'
确定要删除此机构吗?
'
,
onOk
:
function
()
{
deleteByDepartId
({
id
:
that
.
rightClickSelectedKey
}).
then
((
resp
)
=>
{
if
(
resp
.
success
)
{
...
...
Write
Preview
Supports
Markdown
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