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
2570195c
Commit
2570195c
authored
Aug 14, 2020
by
EKSAD
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update edit item laporan
parent
7da0e2e3
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
611 additions
and
4 deletions
+611
-4
ItemLaporan.js
src/container/MasterData/ItemLaporan.js
+8
-1
CreateItemLaporan.js
...container/MasterData/formItemLaporan/CreateItemLaporan.js
+3
-3
EditItemLaporan.js
src/container/MasterData/formItemLaporan/EditItemLaporan.js
+600
-0
No files found.
src/container/MasterData/ItemLaporan.js
View file @
2570195c
...
...
@@ -7,6 +7,7 @@ import MUIDataTable from "mui-datatables";
import
{
TextField
,
InputBase
}
from
"@material-ui/core"
;
import
{
ExcelRenderer
}
from
'react-excel-renderer'
;
import
CreateItemLaporan
from
"./formItemLaporan/CreateItemLaporan"
;
import
EditItemLaporan
from
"./formItemLaporan/EditItemLaporan"
;
var
ct
=
require
(
"../../library/CustomTable"
);
const
getMuiTheme
=
()
=>
createMuiTheme
(
ct
.
customTable
());
...
...
@@ -46,7 +47,7 @@ export default class ItemLaporan extends Component {
cursor
:
'pointer'
,
borderColor
:
'transparent'
}}
onClick
=
{()
=>
null
}
onClick
=
{()
=>
this
.
setState
({
edit
:
true
})
}
>
<
img
src
=
{
Images
.
editCopy
}
/
>
<
/button
>
...
...
@@ -144,6 +145,12 @@ export default class ItemLaporan extends Component {
data
=
{
this
.
state
.
indexData
}
/
>
)}
{
this
.
state
.
edit
&&
(
<
EditItemLaporan
onClickClose
=
{
this
.
closeEdit
.
bind
(
this
)}
data
=
{
this
.
state
.
indexData
}
/
>
)}
<
/div
>
);
}
...
...
src/container/MasterData/formItemLaporan/CreateItemLaporan.js
View file @
2570195c
...
...
@@ -405,7 +405,7 @@ export default class CreateItemLaporan extends Component {
style
=
{{
width
:
'100%'
}}
id
=
"order"
label
=
"Order"
value
=
"1
"
// value="
"
inputProps
=
{{
style
:
{
fontSize
:
11
,
...
...
@@ -467,7 +467,7 @@ export default class CreateItemLaporan extends Component {
style
=
{{
width
:
'100%'
}}
id
=
"weight"
label
=
"Weight"
value
=
"1
"
// value="
"
inputProps
=
{{
style
:
{
fontSize
:
11
,
...
...
@@ -493,7 +493,7 @@ export default class CreateItemLaporan extends Component {
style
=
{{
width
:
'100%'
}}
id
=
"formula"
label
=
"Formula"
value
=
"1
"
// value="
"
inputProps
=
{{
style
:
{
fontSize
:
11
,
...
...
src/container/MasterData/formItemLaporan/EditItemLaporan.js
0 → 100644
View file @
2570195c
This diff is collapsed.
Click to expand it.
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