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
a2ac499e
Commit
a2ac499e
authored
Mar 02, 2022
by
乔延琦
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop-yuancheng' into 'develop'
change-form-state See merge request GFP/RBC/rbc-frontend!73
parents
fba853a0
37a8f2c4
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
saveAction.js
develop/@gms/gms-plugin-billexpand/src/actions/saveAction.js
+5
-1
buttonGrouop.vue
...p/@gms/gms-plugin-billexpand/src/control/buttonGrouop.vue
+2
-2
No files found.
develop/@gms/gms-plugin-billexpand/src/actions/saveAction.js
View file @
a2ac499e
...
...
@@ -114,8 +114,12 @@ export default {
GMS
.
queryObject
.
index
=
0
;
}
GMS
.
vbus
.
$Message
.
success
(
"保存成功"
);
if
(
param
.
param
&&
param
.
param
.
isApprove
)
{
GMS
.
vbus
.
$emit
(
'change-form-state'
,
{
state
:
''
})
}
else
{
GMS
.
vbus
.
$emit
(
'change-form-state'
,
{
state
:
'readOnly'
,
billId
:
id
})
GMS
.
vbus
.
$emit
(
"saveSuccess"
,
buidData
,
param
);
}
// GMS.vbus.$emit("saveSuccess", buidData, param);
}
else
{
response
.
data
.
message
&&
GMS
.
vbus
.
$Message
.
error
({
content
:
errorMessageUtil
.
saveAction
.
getErrorMessage
(
response
.
data
.
message
),
...
...
develop/@gms/gms-plugin-billexpand/src/control/buttonGrouop.vue
View file @
a2ac499e
...
...
@@ -138,9 +138,9 @@ export default {
let
disableState
=
val
.
split
(
';'
)
// 配置工作流已提交未审批90, billReadOnly状态下可用
// 主要用于保存在审批状态下可用,审批还能修改··
if
(
btnItem
&&
btnItem
.
isApprove
)
{
if
(
this
.
define
.
btnGroupAction
&&
this
.
define
.
btnGroupAction
[
btnItem
]
&&
this
.
define
.
btnGroupAction
[
btnItem
]
.
isApprove
)
{
disableState
=
disableState
.
filter
(
item
=>
{
if
(
item
===
'90'
||
item
===
'billReadOnly'
)
{
if
(
item
===
'90'
)
{
return
false
}
else
{
return
true
...
...
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