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
75523cb1
Commit
75523cb1
authored
Feb 09, 2022
by
乔延琦
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop-zhouyi' into 'develop'
Develop zhouyi See merge request GFP/RBC/rbc-frontend!24
parents
d87ac7b3
aee2af66
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
25 additions
and
8 deletions
+25
-8
typesBill.vue
...ms-plugin-billexpand/src/components-control/typesBill.vue
+8
-0
buttonGrouop.vue
...p/@gms/gms-plugin-billexpand/src/control/buttonGrouop.vue
+7
-6
emcon.js
develop/@gms/gms-plugin-billexpand/src/emcon.js
+2
-2
bill-form-runner.vue
develop/@rbc/runner-bill-form/src/views/bill-form-runner.vue
+8
-0
No files found.
develop/@gms/gms-plugin-billexpand/src/components-control/typesBill.vue
View file @
75523cb1
...
...
@@ -142,6 +142,13 @@ export default {
this
.
init
=
true
;
});
});
GMS
.
vbus
.
$on
(
"workflow-state-change"
,
(
val
)
=>
{
console
.
log
(
'refresh'
,
val
)
this
.
init
=
false
;
this
.
$nextTick
(()
=>
{
this
.
init
=
true
;
})
})
GMS
.
vbus
.
$on
(
"submitSuccess"
,
(
res
,
param
)
=>
{
GMS
.
vbus
.
$emit
(
"custom-query-refresh"
);
GMS
.
vbus
.
$emit
(
"tab-count-refresh"
);
...
...
@@ -169,6 +176,7 @@ export default {
GMS
.
vbus
.
$off
(
"saveSuccess"
);
GMS
.
vbus
.
$off
(
"submitSuccess"
);
GMS
.
vbus
.
$off
(
"change-form-state"
);
GMS
.
vbus
.
$off
(
"workflow-state-change"
)
},
};
</
script
>
...
...
develop/@gms/gms-plugin-billexpand/src/control/buttonGrouop.vue
View file @
75523cb1
...
...
@@ -55,15 +55,16 @@ export default {
}
}
// 监听工作流状态改变
GMS
.
vbus
.
$on
(
"workflow-state-change"
,
(
val
)
=>
{
this
.
workflowState
=
val
this
.
getBtnGroup
()
})
GMS
.
vbus
.
$on
(
"workflow-state-change"
,
this
.
handleWorkflowStateChange
)
},
beforeDestroy
()
{
GMS
.
vbus
.
$off
(
"workflow-state-change"
);
GMS
.
vbus
.
$off
(
"workflow-state-change"
,
this
.
handleWorkflowStateChange
);
},
methods
:
{
handleWorkflowStateChange
(
val
)
{
this
.
workflowState
=
val
this
.
getBtnGroup
()
},
checkParent
()
{
let
curNode
=
this
.
$refs
.
btnGroup
while
(
curNode
)
{
...
...
@@ -130,7 +131,7 @@ export default {
case
90
:
return
disableState
.
includes
(
'90'
)
case
91
:
return
disableState
.
includes
(
'91'
)
return
disableState
.
includes
(
'91'
)
||
getBillState
()
case
92
:
return
disableState
.
includes
(
'92'
)
case
1
:
...
...
develop/@gms/gms-plugin-billexpand/src/emcon.js
View file @
75523cb1
...
...
@@ -1372,7 +1372,7 @@ export default {
"description"
:
""
,
"title"
:
"财务_保存[CW_saveAction]"
,
"value"
:
"CW_saveAction"
,
"btnDisable"
:
"billReadOnly;90;9
1;9
2"
"btnDisable"
:
"billReadOnly;90;92"
},
{
"discard"
:
false
,
...
...
@@ -1482,7 +1482,7 @@ export default {
"description"
:
""
,
"title"
:
"财务_提交[CW_submitAction]"
,
"value"
:
"CW_submitAction"
,
"btnDisable"
:
"billEdit;90;9
1;9
2"
"btnDisable"
:
"billEdit;90;92"
},
{
"discard"
:
false
,
...
...
develop/@rbc/runner-bill-form/src/views/bill-form-runner.vue
View file @
75523cb1
...
...
@@ -56,8 +56,16 @@ export default {
// this.type = 'load'
});
});
GMS
.
vbus
.
$on
(
"workflow-state-change"
,
(
val
)
=>
{
console
.
log
(
'refresh'
,
val
)
this
.
init
=
false
;
this
.
$nextTick
(()
=>
{
this
.
init
=
true
;
})
})
},
beforeDestroy
()
{
GMS
.
vbus
.
$off
(
"workflow-state-change"
)
GMS
.
vbus
.
$off
(
"change-form-state"
);
this
.
$portalAPI
.
off
(
'on-close-tag'
,
this
.
checkBillChange
)
},
...
...
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