Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
Tia-dev
Project
Project
Details
Activity
Releases
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
Dida Adams Arizona
Tia-dev
Commits
429aa60a
Commit
429aa60a
authored
Oct 05, 2020
by
EKSAD
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
formula sum md report items
parent
1b74fbec
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
1 deletion
+12
-1
CreateReportItems.js
...container/MasterData/formReportItems/CreateReportItems.js
+11
-0
EditReportItems.js
src/container/MasterData/formReportItems/EditReportItems.js
+1
-1
No files found.
src/container/MasterData/formReportItems/CreateReportItems.js
View file @
429aa60a
...
...
@@ -27,6 +27,7 @@ export default class CreateReportItems extends Component {
uom
:
''
,
weight
:
''
,
formula
:
''
,
formulasum
:
''
,
realVal
:
''
,
condition
:
null
,
date
:
new
Date
(),
...
...
@@ -57,6 +58,7 @@ export default class CreateReportItems extends Component {
msgErrorSD
:
''
,
msgErrorED
:
''
,
disabledFormula
:
true
,
disabledFormulaSum
:
true
,
disabledCondt
:
true
,
disabledValue
:
true
,
options
:
[
'WARNING'
,
'STOPPER'
],
...
...
@@ -761,6 +763,15 @@ export default class CreateReportItems extends Component {
condition
:
''
,
realVal
:
''
},
()
=>
this
.
clearMessage
())
:
newInputValue
.
type_item_report_name
===
'Formula - Summary'
?
this
.
setState
({
disabledFormula
:
false
,
disabledCondt
:
true
,
disabledValue
:
true
,
formula
:
''
,
condition
:
''
,
realVal
:
''
},
()
=>
this
.
clearMessage
())
:
this
.
setState
({
disabledFormula
:
true
,
disabledCondt
:
true
,
...
...
src/container/MasterData/formReportItems/EditReportItems.js
View file @
429aa60a
...
...
@@ -783,7 +783,7 @@ export default class EditReportItems extends Component {
style
=
{{
width
:
'100%'
}}
id
=
"formula"
label
=
"Formula"
disabled
=
{
this
.
state
.
InputType
==
null
?
true
:
(
this
.
state
.
InputType
.
type_item_report_name
===
'Formula'
||
this
.
state
.
InputType
.
type_item_report_name
===
'Validation'
?
false
:
true
)}
disabled
=
{
this
.
state
.
InputType
==
null
?
true
:
(
this
.
state
.
InputType
.
type_item_report_name
===
'Formula'
||
this
.
state
.
InputType
.
type_item_report_name
===
'Validation'
||
this
.
state
.
InputType
.
type_item_report_name
===
'Formula - Summary'
?
false
:
true
)}
name
=
"formula"
error
=
{
this
.
state
.
errorFormula
}
helperText
=
{
this
.
state
.
msgErrorFormula
}
...
...
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