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
becd60ea
Commit
becd60ea
authored
Feb 28, 2022
by
qiaoyanqi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
审批详情
parent
0f44c1a1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
49 additions
and
0 deletions
+49
-0
showDetailSPAction.js
...s/gms-plugin-billexpand/src/actions/showDetailSPAction.js
+36
-0
emcon.js
develop/@gms/gms-plugin-billexpand/src/emcon.js
+11
-0
mcon.js
develop/@gms/gms-plugin-billexpand/src/mcon.js
+2
-0
No files found.
develop/@gms/gms-plugin-billexpand/src/actions/showDetailSPAction.js
0 → 100644
View file @
becd60ea
import
addInfoModal
from
'../components-control/add-info-modal.vue'
;
export
default
{
execute
:
function
(
bill
,
param
)
{
if
(
param
)
{
let
component
=
null
;
let
name
=
GMS
.
$hideContainer
.
addComponent
(
addInfoModal
,
{},
function
(
c
)
{
GMS
.
showDetailAction
=
true
;
//详情,点击确定按钮。记录此参数
component
=
c
;
c
.
bill
=
bill
;
c
.
isReadOnly
=
true
let
tableName
=
null
;
if
(
param
.
param
&&
param
.
param
.
tableName
){
tableName
=
param
.
param
.
tableName
}
let
obj
=
c
.
getCurrentRowData
(
tableName
);
if
(
!
obj
[
'BILLNAME'
]
&&
tableName
==
'SRMXZB'
){
GAMS
.
Common
.
messagePrompt
(
'此条数据没有详情信息'
);
return
}
if
(
!
obj
[
'BILLNAME'
]){
GAMS
.
Common
.
messagePrompt
(
'无详情参数'
);
return
}
c
.
showDetail
=
true
;
c
.
selectBill
=
obj
[
'BILLEDITNAME'
];
c
.
billId
=
obj
[
'BILLID'
];
c
.
subBillData
=
obj
.
BILLDETAILOBJ
;
c
.
modal_visible
=
true
;
console
.
log
(
'param'
,
param
,
obj
);
});
}
else
{
GAMS
.
Common
.
messagePrompt
(
'无详情参数'
);
}
}
}
\ No newline at end of file
develop/@gms/gms-plugin-billexpand/src/emcon.js
View file @
becd60ea
...
@@ -1313,6 +1313,17 @@ export default {
...
@@ -1313,6 +1313,17 @@ export default {
"param"
:
[]
"param"
:
[]
},
},
"description"
:
""
,
"description"
:
""
,
"title"
:
"审批查看详情[showDetailSPAction]"
,
"value"
:
"showDetailSPAction"
,
"alwaysUse"
:
true
},
{
"discard"
:
false
,
"path"
:
"资产/通用"
,
"extends"
:
{
"param"
:
[]
},
"description"
:
""
,
"title"
:
"编辑[editAction]"
,
"title"
:
"编辑[editAction]"
,
"value"
:
"editAction"
"value"
:
"editAction"
},
{
},
{
...
...
develop/@gms/gms-plugin-billexpand/src/mcon.js
View file @
becd60ea
...
@@ -6,6 +6,7 @@ import copyAction from './actions/copyAction';
...
@@ -6,6 +6,7 @@ import copyAction from './actions/copyAction';
import
printAction
from
'./actions/printAction'
import
printAction
from
'./actions/printAction'
import
printMultiAction
from
'./actions/printMultiAction'
import
printMultiAction
from
'./actions/printMultiAction'
import
showDetailAction
from
'./actions/showDetailAction'
import
showDetailAction
from
'./actions/showDetailAction'
import
showDetailSPAction
from
'./actions/showDetailSPAction'
import
editAction
from
'./actions/editAction'
;
import
editAction
from
'./actions/editAction'
;
import
updatebillStateAction
from
'./actions/updatebillStateAction'
;
import
updatebillStateAction
from
'./actions/updatebillStateAction'
;
import
updateStateLincaoAction
from
'./actions/updateStateLincaoAction'
;
import
updateStateLincaoAction
from
'./actions/updateStateLincaoAction'
;
...
@@ -221,6 +222,7 @@ export default {
...
@@ -221,6 +222,7 @@ export default {
copyAction
,
copyAction
,
printAction
,
printAction
,
showDetailAction
,
showDetailAction
,
showDetailSPAction
,
editAction
,
editAction
,
updatebillStateAction
,
updatebillStateAction
,
updateStateLincaoAction
,
updateStateLincaoAction
,
...
...
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