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
9dbc859f
Commit
9dbc859f
authored
Jan 20, 2022
by
Joey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(@gms/gms-plugin-billexpand): 提交按钮在弹窗模式下报错
parent
65078ea6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
3 deletions
+11
-3
submitAction.js
...op/@gms/gms-plugin-billexpand/src/actions/submitAction.js
+11
-3
No files found.
develop/@gms/gms-plugin-billexpand/src/actions/submitAction.js
View file @
9dbc859f
import
Bridge
from
'../components-control/util/bridge'
import
typesBill
from
'../components-control/typesBill.vue'
;
import
{
getUUID
}
from
"../query-actions/util/lib"
;
import
{
getUUID
}
from
"../query-actions/util/lib"
;
export
default
{
export
default
{
execute
:
function
(
bill
,
param
)
{
execute
:
function
(
bill
,
param
)
{
...
@@ -13,7 +16,7 @@ export default {
...
@@ -13,7 +16,7 @@ export default {
if
(
code
===
200
)
{
if
(
code
===
200
)
{
// GMS.$hideContainer.$Spin.hide();
// GMS.$hideContainer.$Spin.hide();
const
id
=
data
.
content
.
billData
.
id
const
id
=
data
.
content
.
billData
.
id
GMS
.
vbus
.
$emit
(
'change-form-state'
,
{
state
:
'readOnly'
,
billId
:
id
})
//
GMS.vbus.$emit('change-form-state', { state: 'readOnly', billId: id})
GMS
.
$hideContainer
.
$Message
.
success
(
'提交成功'
);
GMS
.
$hideContainer
.
$Message
.
success
(
'提交成功'
);
if
(
if
(
...
@@ -37,8 +40,13 @@ export default {
...
@@ -37,8 +40,13 @@ export default {
);
);
}
}
else
{
else
{
GMS
.
$hideContainer
.
$router
.
push
({
Bridge
.
vm
.
modal_visible
=
false
path
:
"/showInnerBillForm/"
+
param
.
param
.
viewName
+
"/"
+
billId
GMS
.
$hideContainer
.
addComponent
(
typesBill
,
{},
function
(
c
)
{
c
.
templateName
=
param
.
param
.
viewName
;
c
.
billId
=
id
;
c
.
init
=
true
;
c
.
modal_visible
=
true
;
c
.
isReadOnly
=
true
})
})
}
}
}
else
if
(
code
===
201
)
{
}
else
if
(
code
===
201
)
{
...
...
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