Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
Z
zxtb_to_ssfwpt
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Bugzilla
Bugzilla
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
卢世豪
zxtb_to_ssfwpt
Commits
97725c21
Commit
97725c21
authored
May 18, 2020
by
yangyuxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
年报公式还原
parent
05eb4ec0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
8 deletions
+3
-8
fomula.js
static/js/year/fomula.js
+3
-8
No files found.
static/js/year/fomula.js
View file @
97725c21
...
@@ -317,17 +317,12 @@ function regist_CF_GET_BBSJ_STR() {
...
@@ -317,17 +317,12 @@ function regist_CF_GET_BBSJ_STR() {
CF_GET_BBSJ_STR
.
prototype
.
evaluateAsync
=
function
(
context
)
{
CF_GET_BBSJ_STR
.
prototype
.
evaluateAsync
=
function
(
context
)
{
var
result
;
var
result
;
var
args
=
Array
.
prototype
.
slice
.
call
(
arguments
).
slice
(
1
);
var
args
=
Array
.
prototype
.
slice
.
call
(
arguments
).
slice
(
1
);
var
argLength
=
args
.
length
;
try
{
try
{
var
sheetName
=
context
.
ctx
.
source
.
getName
();
var
sheetName
=
context
.
ctx
.
source
.
getName
();
var
sheetIndex
=
spread
.
getSheetIndex
(
sheetName
);
var
sheetIndex
=
spread
.
getSheetIndex
(
sheetName
);
if
(
argLength
==
2
)
{
var
sheet
=
args
[
0
].
getSource
();
var
sheet
=
args
[
0
].
getSource
();
var
_value
=
(
sheet
&&
sheet
.
getValue
(
args
[
0
].
getRow
(),
args
[
0
].
getColumn
()))
||
0
;
var
_value
=
(
sheet
&&
sheet
.
getValue
(
args
[
0
].
getRow
(),
args
[
0
].
getColumn
()))
||
0
;
return
_value
;
return
_value
;
}
else
{
return
0
;
}
}
catch
(
error
)
{
}
catch
(
error
)
{
// 此处是负责例外处理的语句
// 此处是负责例外处理的语句
console
.
log
(
error
);
console
.
log
(
error
);
...
...
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