Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
T
topsun-bpm
Project
Project
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
鲁鑫
topsun-bpm
Commits
49107545
Commit
49107545
authored
Mar 18, 2024
by
刘学辉
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
固定资产报废调整
parent
59acd04e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
7 deletions
+6
-7
sapFixedRetirementDetail.js
...ixedAssets/sapFixedRetirement/sapFixedRetirementDetail.js
+6
-7
No files found.
topsun-xt/src/main/webapp/biz/topsun/sap/fixedAssets/sapFixedRetirement/sapFixedRetirementDetail.js
View file @
49107545
...
...
@@ -95,6 +95,7 @@ function loadGrid() {
{
display
:
"资产起息日"
,
name
:
"bzdat"
,
width
:
120
,
minWidth
:
60
,
type
:
"date"
,
align
:
"left"
,
editor
:
{
required
:
false
,
type
:
"date"
},
render
:
function
(
record
)
{
//alert(record.budat);
return
record
.
bzdat
=
record
.
budat
;
}
},
...
...
@@ -105,9 +106,6 @@ function loadGrid() {
{
display
:
"报废金额"
,
name
:
"anbtr"
,
width
:
100
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
,
editor
:
{
required
:
false
,
mask
:
'nnnnnnnn.nn'
,
type
:
"text"
}
,
render
:
function
(
record
,
rowindex
,
value
,
column
)
{
return
value
.
toFixed
(
2
);
}
},
{
display
:
"百分比(%)"
,
name
:
"prozs"
,
width
:
100
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
,
...
...
@@ -130,12 +128,13 @@ function loadGrid() {
var
c
=
editParm
.
column
,
data
=
editParm
.
record
;
// if (c.name == 'anbtr') {//
//elementGridManager.reRender({ rowdata: data });
if
(
Public
.
isNotBlank
(
data
.
anbtr
)
&&
c
.
name
==
'prozs'
){
if
(
Public
.
isNotBlank
(
data
.
anbtr
)
&&
c
.
name
==
'prozs'
)
{
return
false
;
}
if
(
Public
.
isNotBlank
(
data
.
prozs
)
&&
c
.
name
==
'anbtr'
)
{
return
false
;
}
if
(
Public
.
isNotBlank
(
data
.
prozs
)
&&
c
.
name
==
'anbtr'
){
return
false
;
}
// }
},
width
:
"100%"
,
height
:
"80%"
,
...
...
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