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
7e6587ac
Commit
7e6587ac
authored
Feb 10, 2022
by
袁成
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:按钮禁用状态
parent
09ca1dca
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
4 deletions
+13
-4
buttonGrouop.vue
...p/@gms/gms-plugin-billexpand/src/control/buttonGrouop.vue
+11
-2
emcon.js
develop/@gms/gms-plugin-billexpand/src/emcon.js
+2
-2
No files found.
develop/@gms/gms-plugin-billexpand/src/control/buttonGrouop.vue
View file @
7e6587ac
<
template
>
<div
ref=
"btnGroup"
class=
"btngroup-container"
:style=
"btnContainerStyle"
>
<ButtonGroup
class=
"button-group"
>
<ButtonGroup
v-if=
"buttonShow"
class=
"button-group"
>
<div
v-for=
"(item, index) in btnGroup"
:key=
"index"
>
<gms-button
:define=
"item.buttonDefine"
:context=
"context"
:billStateDisable=
"item.billStateDisable"
></gms-button>
<Divider
type=
"vertical"
/>
...
...
@@ -21,7 +21,8 @@ export default {
bottom
:
''
},
btnGroup
:
[],
workflowState
:
0
workflowState
:
0
,
buttonShow
:
true
}
},
watch
:
{
...
...
@@ -31,6 +32,14 @@ export default {
},
immediate
:
true
,
},
'tmpBill.type'
:
{
handler
(
nv
)
{
if
(
nv
===
'draftLoad'
)
{
this
.
buttonShow
=
false
}
},
immediate
:
true
},
},
mounted
()
{
...
...
develop/@gms/gms-plugin-billexpand/src/emcon.js
View file @
7e6587ac
...
...
@@ -1328,7 +1328,7 @@ export default {
"description"
:
""
,
"title"
:
"财务_编辑[CW_editBill]"
,
"value"
:
"CW_editBill"
,
"btnDisable"
:
"billEdit;90;9
1;9
2"
"btnDisable"
:
"billEdit;90;92"
},
{
"discard"
:
false
,
...
...
@@ -1341,7 +1341,7 @@ export default {
"description"
:
""
,
"title"
:
"财务_删除[CW_deleteBill]"
,
"value"
:
"CW_deleteBill"
,
"btnDisable"
:
"billEdit;90;9
1;9
2"
"btnDisable"
:
"billEdit;90;92"
},
{
"discard"
:
false
,
...
...
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