Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
rbc-demo
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
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
王衍超
rbc-demo
Commits
b2bc6f6f
Commit
b2bc6f6f
authored
Mar 11, 2022
by
qiaoyanqi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
单据里面的删除接口也改变
parent
31a2d696
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
deleteBill.js
develop/@gms/gms-plugin-billexpand/src/actions/deleteBill.js
+3
-2
No files found.
develop/@gms/gms-plugin-billexpand/src/actions/deleteBill.js
View file @
b2bc6f6f
...
...
@@ -15,8 +15,9 @@ export default {
data
:
bill
.
getBuillData
()
};
let
id
=
bill
.
getMasterData
().
getValue
(
'id'
);
let
url
=
`/rbc/bill/action/executed/
${
bill
.
getBillDefine
()}
/bill.Basic.delete?currentDataId=
${
id
}
`
;
GMS
.
$http
.
post
(
url
,
JSON
.
stringify
(
postData
)).
then
((
data
)
=>
{
let
url
=
`/rbc/bill/action/deleted/
${
bill
.
getBillDefine
()}
/
${
id
}
`
//let url = `/rbc/bill/action/executed/${bill.getBillDefine()}/bill.Basic.delete?currentDataId=${id}`;
GMS
.
$http
.
post
(
url
).
then
((
data
)
=>
{
if
(
data
.
status
==
200
&&
data
.
data
.
code
==
0
)
{
GMS
.
$hideContainer
.
$Modal
.
remove
();
GMS
.
$hideContainer
.
$Message
.
success
(
'删除成功'
);
...
...
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