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
2113ca89
Commit
2113ca89
authored
Feb 08, 2022
by
fengjiansheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(@gms/gms-plugin-billexpand): 增加保存失败提示信息 YBXCP-515
parent
5137c026
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
saveAction.js
develop/@gms/gms-plugin-billexpand/src/actions/saveAction.js
+6
-2
No files found.
develop/@gms/gms-plugin-billexpand/src/actions/saveAction.js
View file @
2113ca89
...
...
@@ -28,7 +28,7 @@ export default {
// }
bill
.
runFormulaCheckData
(
param
,
function
(
msg
)
{
if
(
msg
.
length
==
0
)
{
if
(
msg
.
length
==
=
0
)
{
let
postData
=
{
actions
:
"bill.Basic.save"
}
...
...
@@ -40,8 +40,12 @@ export default {
console
.
log
(
'data'
,
data
)
if
(
code
===
200
)
{
const
id
=
data
.
content
.
billData
.
id
GMS
.
vbus
.
$emit
(
'change-form-state'
,
{
state
:
'readOnly'
,
billId
:
id
})
if
(
data
.
code
!==
0
)
{
GMS
.
vbus
.
$Message
.
error
(
"保存失败,详细信息:"
+
data
.
message
);
}
else
{
GMS
.
vbus
.
$emit
(
'change-form-state'
,
{
state
:
'readOnly'
,
billId
:
id
});
GMS
.
vbus
.
$Message
.
success
(
"保存成功"
);
}
}
else
if
(
code
===
201
)
{
GMS
.
vbus
.
$Message
.
error
(
data
.
message
);
}
else
if
(
code
===
202
)
{
...
...
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