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
a9948cea
Commit
a9948cea
authored
Mar 22, 2022
by
乔延琦
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop-yuancheng' into 'develop'
fix: 详情只读和按钮默认图标 See merge request GFP/RBC/rbc-frontend!120
parents
70e427e1
cf411cd2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
1 deletions
+18
-1
showDetailAction.js
...gms/gms-plugin-billexpand/src/actions/showDetailAction.js
+1
-0
buttonGrouop.vue
...p/@gms/gms-plugin-billexpand/src/control/buttonGrouop.vue
+17
-1
No files found.
develop/@gms/gms-plugin-billexpand/src/actions/showDetailAction.js
View file @
a9948cea
...
...
@@ -31,6 +31,7 @@ export default {
c
.
subBillData
=
obj
.
BILLDETAILOBJ
;
c
.
modal_visible
=
true
;
c
.
state
=
'readOnly'
c
.
hideButtonGroup
=
true
c
.
$nextTick
(()
=>
{
component
.
addListener
({
close
:
function
()
{
...
...
develop/@gms/gms-plugin-billexpand/src/control/buttonGrouop.vue
View file @
a9948cea
...
...
@@ -10,6 +10,22 @@
</
template
>
<
script
>
const
ACTIONS
=
GMS
.
getContext
().
getEmconCollector
().
getElements
(
'billAction'
)
const
iconMap
=
{
'CW_createBill'
:
'#icon-16_GJ_A_NW_xinzeng'
,
'CW_editBill'
:
'#icon-18_T_A_NW_bianji'
,
'CW_deleteBill'
:
'#icon-16_GJ_A_NW_shanchu'
,
'CW_tempSave'
:
''
,
'CW_saveAction'
:
'#icon-16_GJ_A_NW_baocun'
,
'CW_submitAction'
:
''
,
'first'
:
'#icon-shouzhang'
,
'upward'
:
'#icon-shangyizhang'
,
'down'
:
'#icon-xiayizhang'
,
'last'
:
'#icon-mozhang'
,
'CW_printAction'
:
'#icon-16_DH_A_NR_piliangdayin'
,
'CW_rejectAction'
:
'#icon-_GJZquhui'
,
'CW_agreeAction'
:
'#icon-_GJZtongyi'
,
'CW_closeAction'
:
''
}
export
default
{
inject
:
[
'tmpBill'
],
props
:
[
'define'
,
'context'
],
...
...
@@ -124,7 +140,7 @@ export default {
btnConfg
.
buttonDefine
.
config
.
leftIcon
=
this
.
define
.
btnGroupAction
&&
this
.
define
.
btnGroupAction
[
item
]
&&
this
.
define
.
btnGroupAction
[
item
].
btnIcon
?
this
.
define
.
btnGroupAction
[
item
].
btnIcon
:
''
this
.
define
.
btnGroupAction
[
item
].
btnIcon
?
this
.
define
.
btnGroupAction
[
item
].
btnIcon
:
iconMap
[
item
]
btnConfg
.
billStateDisable
=
this
.
getBillStateDisable
(
ACTIONS
[
item
].
btnDisable
,
item
)
...
...
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