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
ab3c7d24
Commit
ab3c7d24
authored
Feb 18, 2022
by
qiaoyanqi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
安全检查问题修改
parent
8ac5cbad
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
20 additions
and
26 deletions
+20
-26
draftTable.vue
...lop/@gms/gms-plugin-billexpand/src/control/draftTable.vue
+0
-1
MoneyToUppercase.js
...gms/gms-plugin-billexpand/src/formula/MoneyToUppercase.js
+4
-5
leafletGenerationAction.js
...n-billexpand/src/query-actions/leafletGenerationAction.js
+3
-4
leafletGenerationTYAction.js
...billexpand/src/query-actions/leafletGenerationTYAction.js
+3
-4
summaryGenerationAction.js
...n-billexpand/src/query-actions/summaryGenerationAction.js
+3
-4
summaryGenerationTYAction.js
...billexpand/src/query-actions/summaryGenerationTYAction.js
+3
-4
voucherQueryAction.js
...plugin-billexpand/src/query-actions/voucherQueryAction.js
+2
-2
voucherQueryTYAction.js
...ugin-billexpand/src/query-actions/voucherQueryTYAction.js
+2
-2
No files found.
develop/@gms/gms-plugin-billexpand/src/control/draftTable.vue
View file @
ab3c7d24
...
...
@@ -8,7 +8,6 @@
class-name=
"yc"
>
<Table
width=
"100%"
:height=
"maxHeight"
border
:columns=
"columns"
...
...
develop/@gms/gms-plugin-billexpand/src/formula/MoneyToUppercase.js
View file @
ab3c7d24
...
...
@@ -63,7 +63,6 @@ export default {
var
decimalNum
;
//金额小数部分
//输出的中文金额字符串
var
chineseStr
=
''
;
var
parts
;
//分离金额后用的数组,预定义
if
(
money
==
''
)
{
return
''
;
}
money
=
parseFloat
(
money
);
...
...
@@ -85,8 +84,8 @@ export default {
if
(
parseInt
(
integerNum
,
10
)
>
0
)
{
var
zeroCount
=
0
;
var
IntLen
=
integerNum
.
length
;
for
(
var
i
=
0
;
i
<
IntLen
;
i
++
)
{
var
n
=
integerNum
.
substr
(
i
,
1
);
for
(
let
i
=
0
;
i
<
IntLen
;
i
++
)
{
let
n
=
integerNum
.
substr
(
i
,
1
);
var
p
=
IntLen
-
i
-
1
;
var
q
=
p
/
4
;
var
m
=
p
%
4
;
...
...
@@ -109,8 +108,8 @@ export default {
//小数部分
if
(
decimalNum
!=
''
)
{
var
decLen
=
decimalNum
.
length
;
for
(
var
i
=
0
;
i
<
decLen
;
i
++
)
{
var
n
=
decimalNum
.
substr
(
i
,
1
);
for
(
let
i
=
0
;
i
<
decLen
;
i
++
)
{
let
n
=
decimalNum
.
substr
(
i
,
1
);
if
(
n
!=
'0'
)
{
if
(
decLen
==
1
){
chineseStr
+=
cnNums
[
Number
(
n
)]
+
cnDecUnits
[
i
+
1
];
...
...
develop/@gms/gms-plugin-billexpand/src/query-actions/leafletGenerationAction.js
View file @
ab3c7d24
...
...
@@ -23,12 +23,11 @@ export default {
let
arr
=
[];
let
arrApi
=
[];
Promise
.
all
(
arrApi1
).
then
((
list
)
=>
{
list
.
forEach
((
v
,
i
)
=>
{
let
res
=
v
;
list
.
forEach
((
res
,
i
)
=>
{
if
(
res
&&
res
[
subTable
]){
res
[
subTable
].
forEach
(
v
=>
{
let
billDefine
=
v
.
BILLNAME
&&
v
.
BILLNAME
.
replace
(
/_E/ig
,
""
).
replace
(
/_R/ig
,
""
).
replace
(
/_A/ig
,
""
);
arrApi
.
push
(
that
.
searchBillObj
(
billDefine
,
v
.
BILLID
,
i
))
let
billDefine
1
=
v
.
BILLNAME
&&
v
.
BILLNAME
.
replace
(
/_E/ig
,
""
).
replace
(
/_R/ig
,
""
).
replace
(
/_A/ig
,
""
);
arrApi
.
push
(
that
.
searchBillObj
(
billDefine
1
,
v
.
BILLID
,
i
))
})
}
arr
.
push
({
//直接生成
...
...
develop/@gms/gms-plugin-billexpand/src/query-actions/leafletGenerationTYAction.js
View file @
ab3c7d24
...
...
@@ -23,12 +23,11 @@ export default {
let
arr
=
[];
let
arrApi
=
[];
Promise
.
all
(
arrApi1
).
then
((
list
)
=>
{
list
.
forEach
((
v
,
i
)
=>
{
let
res
=
v
;
list
.
forEach
((
res
,
i
)
=>
{
if
(
res
&&
res
[
subTable
]){
res
[
subTable
].
forEach
(
v
=>
{
let
billDefine
=
v
.
BILLNAME
&&
v
.
BILLNAME
.
replace
(
/_E/ig
,
""
).
replace
(
/_R/ig
,
""
).
replace
(
/_A/ig
,
""
);
arrApi
.
push
(
that
.
searchBillObj
(
billDefine
,
v
.
BILLID
,
i
))
let
billDefine
1
=
v
.
BILLNAME
&&
v
.
BILLNAME
.
replace
(
/_E/ig
,
""
).
replace
(
/_R/ig
,
""
).
replace
(
/_A/ig
,
""
);
arrApi
.
push
(
that
.
searchBillObj
(
billDefine
1
,
v
.
BILLID
,
i
))
})
}
arr
.
push
({
//直接生成
...
...
develop/@gms/gms-plugin-billexpand/src/query-actions/summaryGenerationAction.js
View file @
ab3c7d24
...
...
@@ -23,12 +23,11 @@ export default {
let
arr
=
[];
let
arrApi
=
[];
Promise
.
all
(
arrApi1
).
then
((
list
)
=>
{
list
.
forEach
((
v
,
i
)
=>
{
let
res
=
v
;
list
.
forEach
((
res
,
i
)
=>
{
if
(
res
&&
res
[
subTable
]){
res
[
subTable
].
forEach
(
v
=>
{
let
billDefine
=
v
.
BILLNAME
&&
v
.
BILLNAME
.
replace
(
/_E/ig
,
""
).
replace
(
/_R/ig
,
""
).
replace
(
/_A/ig
,
""
);
arrApi
.
push
(
that
.
searchBillObj
(
billDefine
,
v
.
BILLID
,
i
))
let
billDefine
1
=
v
.
BILLNAME
&&
v
.
BILLNAME
.
replace
(
/_E/ig
,
""
).
replace
(
/_R/ig
,
""
).
replace
(
/_A/ig
,
""
);
arrApi
.
push
(
that
.
searchBillObj
(
billDefine
1
,
v
.
BILLID
,
i
))
})
}
arr
.
push
({
//直接生成
...
...
develop/@gms/gms-plugin-billexpand/src/query-actions/summaryGenerationTYAction.js
View file @
ab3c7d24
...
...
@@ -23,12 +23,11 @@ export default {
let
arr
=
[];
let
arrApi
=
[];
Promise
.
all
(
arrApi1
).
then
((
list
)
=>
{
list
.
forEach
((
v
,
i
)
=>
{
let
res
=
v
;
list
.
forEach
((
res
,
i
)
=>
{
if
(
res
&&
res
[
subTable
]){
res
[
subTable
].
forEach
(
v
=>
{
let
billDefine
=
v
.
BILLNAME
&&
v
.
BILLNAME
.
replace
(
/_E/ig
,
""
).
replace
(
/_R/ig
,
""
).
replace
(
/_A/ig
,
""
);
arrApi
.
push
(
that
.
searchBillObj
(
billDefine
,
v
.
BILLID
,
i
))
let
billDefine
1
=
v
.
BILLNAME
&&
v
.
BILLNAME
.
replace
(
/_E/ig
,
""
).
replace
(
/_R/ig
,
""
).
replace
(
/_A/ig
,
""
);
arrApi
.
push
(
that
.
searchBillObj
(
billDefine
1
,
v
.
BILLID
,
i
))
})
}
arr
.
push
({
//直接生成
...
...
develop/@gms/gms-plugin-billexpand/src/query-actions/voucherQueryAction.js
View file @
ab3c7d24
...
...
@@ -41,8 +41,8 @@ export default {
}).
then
(
res
=>
{
if
(
res
.
status
===
200
)
{
if
(
res
.
data
.
data
.
showVoucher
){
//展示凭证
let
o
bj
=
res
.
data
.
data
;
o
bj
.
previewState
=
'readonly'
;
let
resO
bj
=
res
.
data
.
data
;
resO
bj
.
previewState
=
'readonly'
;
GMS
.
vbus
.
$emit
(
'previewVoucher'
,
res
.
data
.
data
);
}
else
{
context
.
dom
.
$Modal
.
warning
({
...
...
develop/@gms/gms-plugin-billexpand/src/query-actions/voucherQueryTYAction.js
View file @
ab3c7d24
...
...
@@ -41,8 +41,8 @@ export default {
}).
then
(
res
=>
{
if
(
res
.
status
===
200
)
{
if
(
res
.
data
.
data
.
showVoucher
){
//展示凭证
let
o
bj
=
res
.
data
.
data
;
o
bj
.
previewState
=
'readonly'
;
let
resO
bj
=
res
.
data
.
data
;
resO
bj
.
previewState
=
'readonly'
;
GMS
.
vbus
.
$emit
(
'previewVoucher'
,
res
.
data
.
data
);
}
else
{
context
.
dom
.
$Modal
.
warning
({
...
...
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