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
408fcb95
Commit
408fcb95
authored
Feb 23, 2022
by
Joey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 凭证中心联查支持两种打开方式
parent
bc00c078
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
27 additions
and
4 deletions
+27
-4
voucherQueryTYAction.js
...ugin-billexpand/src/query-actions/voucherQueryTYAction.js
+2
-4
app.config.json
develop/@rbc/voucher-center/app.config.json
+10
-0
package-lock.json
develop/@rbc/voucher-center/package-lock.json
+0
-0
voucher-center.vue
develop/@rbc/voucher-center/src/views/voucher-center.vue
+15
-0
No files found.
develop/@gms/gms-plugin-billexpand/src/query-actions/voucherQueryTYAction.js
View file @
408fcb95
...
@@ -34,10 +34,8 @@ export default {
...
@@ -34,10 +34,8 @@ export default {
data
:
obj
data
:
obj
}).
then
(
res
=>
{
}).
then
(
res
=>
{
if
(
res
.
status
===
200
)
{
if
(
res
.
status
===
200
)
{
if
(
res
.
data
.
data
.
showVoucher
){
//展示凭证
if
(
res
.
data
.
data
){
//展示凭证
let
resObj
=
res
.
data
.
data
;
GMS
.
vbus
.
$emit
(
'previewVoucherTY'
,
res
.
data
.
data
);
resObj
.
previewState
=
'readonly'
;
GMS
.
vbus
.
$emit
(
'previewVoucher'
,
res
.
data
.
data
);
}
else
{
}
else
{
context
.
dom
.
$Modal
.
warning
({
context
.
dom
.
$Modal
.
warning
({
title
:
'信息提示'
,
title
:
'信息提示'
,
...
...
develop/@rbc/voucher-center/app.config.json
View file @
408fcb95
...
@@ -32,6 +32,16 @@
...
@@ -32,6 +32,16 @@
"titleColumn"
:
"title"
,
"titleColumn"
:
"title"
,
"valueColumn"
:
"name"
"valueColumn"
:
"name"
}
}
},
{
"title"
:
"凭证打开方式"
,
"key"
:
"voucherShowType"
,
"type"
:
"array"
,
"dataSource"
:
{
"api"
:
"/mechanismVchr/configOptions"
,
"titleColumn"
:
"title"
,
"valueColumn"
:
"name"
}
}
}
]
]
},
},
...
...
develop/@rbc/voucher-center/package-lock.json
View file @
408fcb95
This source diff could not be displayed because it is too large. You can
view the blob
instead.
develop/@rbc/voucher-center/src/views/voucher-center.vue
View file @
408fcb95
...
@@ -148,11 +148,26 @@ export default {
...
@@ -148,11 +148,26 @@ export default {
this
.
jumpToVoucher
(
param
.
voucher
.
id
,
param
.
voucher
.
acctYear
,
param
.
previewState
);
this
.
jumpToVoucher
(
param
.
voucher
.
id
,
param
.
voucher
.
acctYear
,
param
.
previewState
);
})
})
})
})
window
.
GMS
.
vbus
.
$on
(
'previewVoucherTY'
,
(
param
)
=>
{
if
(
this
.
config
.
voucherShowType
==
'modal'
)
{
this
.
showVoucher
=
true
;
this
.
$nextTick
(()
=>
{
let
iframe0
=
document
.
getElementById
(
"iframe0"
);
if
(
iframe0
)
{
iframe0
.
src
=
param
}
})
}
else
{
window
.
open
(
param
,
'_blank'
);
}
})
this
.
getCerSerName
();
this
.
getCerSerName
();
this
.
searchAllQueryAsync
();
this
.
searchAllQueryAsync
();
},
},
beforeDestroy
()
{
beforeDestroy
()
{
window
.
GMS
.
vbus
.
$off
(
"previewVoucher"
);
window
.
GMS
.
vbus
.
$off
(
"previewVoucher"
);
window
.
GMS
.
vbus
.
$off
(
"previewVoucherTY"
);
},
},
};
};
</
script
>
</
script
>
...
...
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