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
0907f5c4
Commit
0907f5c4
authored
Aug 24, 2022
by
qiaoyanqi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
查看详情
parent
67dccdcc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletions
+3
-1
showDetailAction.js
...gms/gms-plugin-billexpand/src/actions/showDetailAction.js
+2
-1
showDetailSPAction.js
...s/gms-plugin-billexpand/src/actions/showDetailSPAction.js
+1
-0
No files found.
develop/@gms/gms-plugin-billexpand/src/actions/showDetailAction.js
View file @
0907f5c4
//此动作为查看详情单据,用于详情和编辑是两张独立的单据情况,并且详情单据以_R结尾
import
addInfoModal
from
'../components-control/add-info-modal.vue'
;
export
default
{
execute
:
function
(
bill
,
param
)
{
...
...
@@ -26,7 +27,7 @@ export default {
return
}
c
.
showDetail
=
true
;
c
.
selectBill
=
BILLEDITNAME
?
obj
[
BILLEDITNAME
]:
obj
[
'BILLEDITNAME'
].
replace
(
/_E/ig
,
"_R"
);
//后续创建了_R的单子再说吧
c
.
selectBill
=
obj
[
BILLEDITNAME
].
replace
(
/_E/ig
,
"_R"
);
c
.
billId
=
obj
[
BILLID
];
c
.
subBillData
=
obj
.
BILLDETAILOBJ
;
c
.
modal_visible
=
true
;
...
...
develop/@gms/gms-plugin-billexpand/src/actions/showDetailSPAction.js
View file @
0907f5c4
//此动作为查看报销单从子表操作列点击的【详情】按钮查看只读单据,单据的名称为BILLEDITNAME动态获取(场景:1.详情和编辑是同一张、2.详情编辑命名不是严格以_E或者_R命名 3.查看审批的单据)
import
addInfoModal
from
'../components-control/add-info-modal.vue'
;
export
default
{
execute
:
function
(
bill
,
param
)
{
...
...
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